:root {
  color-scheme: light;

  /* Background */
  --page-bg: #edf2f7; /* soft cool grey-blue */

  /* Card */
  --card-bg: #ffffff;
  --card-border: #e2e8f0;

  /* Text */
  --text-main: #0f172a;
  --text-muted: #4b5563;
  --text-soft: #6b7280;

  /* Accent (teal-blue) */
  --accent: #0b7285;      /* for links, dot */
  --accent-soft: #e0f2fe; /* very light blue pill/background */

  /* Links */
  --link: #0b7285;

  /* Shadow */
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* make padding count inside height so 100vh doesn't overflow */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;       /* center vertically */
  padding: 2rem 1.5rem;      /* now included within 100vh */
  background: var(--page-bg);
  color: var(--text-main);
  font-size: 16px;
}

main {
  padding: 2.6rem 2.4rem;
  max-width: 720px;
  width: 100%;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
}

h1 {
  font-size: 2.5rem;
  margin: 0 0 0.3rem 0;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 1.8rem 0;
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.7;
  color: var(--text-muted);
}

a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

.links {
  margin: 2rem 0 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.links a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.7);
}

/* NOW pill */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
}

.section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

ul {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--text-muted);
}

li {
  margin-bottom: 0.4rem;
}

@media (max-width: 720px) {
  body {
    align-items: flex-start;
    padding: 1.5rem 0;
  }

  main {
    margin-top: 0;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
  }
}
