:root {
  --bg: #fbfbf8;
  --surface: #ffffff;
  --surface-muted: #eef2ef;
  --text: #1f2a24;
  --text-soft: #55645d;
  --line: #d7deda;
  --accent: #5c756c;
  --accent-deep: #455950;
  --accent-soft: #dfe8e2;
  --slate: #7b8f9a;
  --warning-bg: #f4efe5;
  --warning-line: #d5c4aa;
  --radius: 18px;
  --radius-soft: 14px;
  --shadow: 0 10px 30px rgba(27, 42, 35, 0.05);
  --shell: 46rem;
  --shell-wide: 70rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(223, 232, 226, 0.6), transparent 30%),
    linear-gradient(180deg, #fdfdfb 0%, var(--bg) 24%, var(--bg) 100%);
  color: var(--text);
  font: 400 1rem/1.72 "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent);
}

p,
ul,
ol {
  margin: 0 0 var(--space-3);
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-3);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.35rem);
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin: 0 auto;
}

.shell--wide {
  width: min(calc(100% - 3rem), var(--shell-wide));
}

.skip-link {
  position: fixed;
  left: 50%;
  top: 0.75rem;
  transform: translate(-50%, -140%);
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  z-index: 20;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(31, 42, 36, 0.16);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 222, 218, 0.85);
  background: rgba(251, 251, 248, 0.9);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4.6rem;
}

.brand {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.brand__text {
  display: grid;
  gap: 0.05rem;
}

.brand__text strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.brand__text span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font: inherit;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.site-nav__link {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-soft);
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-current {
  background: var(--surface-muted);
  color: var(--text);
}

.hero {
  padding: 1.7rem 0 1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: var(--space-4);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs__sep {
  color: #a2b0a9;
}

.hero__layout {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.9fr);
  align-items: start;
}

.eyebrow,
.answer-card__eyebrow,
.cta-panel__eyebrow {
  margin-bottom: var(--space-2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead {
  max-width: 42rem;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero__aside {
  position: sticky;
  top: 5.7rem;
}

.answer-card,
.stat-card,
.info-card,
.cta-panel,
.notice,
.trust-points,
.source-block,
.faq-item,
.site-footer__brand {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.answer-card {
  padding: var(--space-4);
}

.answer-card__list {
  margin: 0;
  padding-left: 1.2rem;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin: var(--space-4) 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.stat-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 1rem 1.1rem;
}

.stat-card__label {
  display: block;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.stat-card__value {
  display: block;
  margin: 0.25rem 0 0.4rem;
  font-size: 1.05rem;
}

.trust-points {
  margin-top: var(--space-4);
  padding: var(--space-4);
}

.trust-points ul {
  margin: 0;
  padding-left: 1.2rem;
}

.notice {
  margin-top: var(--space-4);
  padding: 1rem 1.15rem;
}

.notice--warning {
  background: var(--warning-bg);
  border-color: var(--warning-line);
  box-shadow: none;
}

.content-block {
  margin: var(--space-7) 0 0;
}

.section-intro {
  color: var(--text-soft);
}

.card-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  padding: 1.2rem 1.25rem;
}

.info-card--link {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.info-card--link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
}

.data-table th,
.data-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.data-table th {
  background: rgba(223, 232, 226, 0.55);
  font-size: 0.92rem;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.step-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list__item {
  position: relative;
  padding: 1.2rem 1.25rem 1.15rem 4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.step-list__item::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.95rem 1rem 0.95rem 3rem;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.88);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.22rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(92, 117, 108, 0.12);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.35rem 1.4rem;
  margin: var(--space-5) 0 0;
}

.cta-panel--compact {
  margin-top: var(--space-4);
}

.cta-panel--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 243, 240, 0.96));
}

.cta-panel h2 {
  margin-bottom: 0.4rem;
  font-size: 1.45rem;
}

.cta-panel p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.button--primary {
  background: var(--accent);
  color: #fff;
}

.button--primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.button--soft {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.button--soft:hover {
  border-color: var(--accent-soft);
  color: var(--accent-deep);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__content {
  padding: 0 1.15rem 1rem;
  color: var(--text-soft);
}

.source-list {
  margin: 0;
  padding-left: 1.15rem;
}

.eeat-grid {
  margin-bottom: var(--space-3);
}

.site-footer {
  margin-top: var(--space-7);
  padding: var(--space-6) 0 5rem;
  border-top: 1px solid rgba(215, 222, 218, 0.75);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-4);
}

.site-footer__brand {
  padding: 1.1rem 1.2rem;
}

.site-footer__brand p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.site-footer__nav a {
  text-decoration: none;
  color: var(--text-soft);
}

.sticky-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 15;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(69, 89, 80, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 35px rgba(31, 42, 36, 0.12);
  backdrop-filter: blur(12px);
}

.sticky-cta span {
  font-size: 0.92rem;
  font-weight: 700;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page--policy .hero__layout,
.page--support .hero__layout {
  grid-template-columns: minmax(0, 1fr);
}

.page--policy .hero__aside,
.page--support .hero__aside {
  position: static;
}

@media (max-width: 63rem) {
  .site-header__inner {
    min-height: 4.2rem;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: absolute;
    inset: calc(100% + 0.5rem) 1.25rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero__layout,
  .card-grid,
  .card-grid--links,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero__aside {
    position: static;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 51rem) {
  body {
    font-size: 0.98rem;
  }

  .shell,
  .shell--wide {
    width: min(calc(100% - 2rem), var(--shell-wide));
  }

  .hero {
    padding-top: 1.2rem;
  }

  .site-footer {
    padding-bottom: 7rem;
  }

  .sticky-cta[data-sticky-cta] {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
