:root {
  --parchment: #fefefc;
  --graphite: #0a0a0a;
  --smoke: #6b6b6b;
  --iron: #444444;
  --sage: #ebf5ed;
  --slate: #bdd4f0;
  --line: #0a0a0a;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--graphite);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  background: var(--parchment);
}

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

a {
  color: var(--graphite);
  text-underline-offset: 0.18em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--graphite);
  color: var(--parchment);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.shell {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--smoke);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

h1,
h2,
.display,
.page-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--graphite);
}

/* Header — flat, no pill, no glass */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--parchment);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  color: var(--graphite);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.logo:hover {
  color: var(--graphite);
}

.site-nav {
  display: none;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--graphite);
  text-decoration: none;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--smoke);
}

.header-cta {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--graphite);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 1.25rem 1.5rem;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.85rem 0;
  color: var(--graphite);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  font-size: 15px;
}

@media (min-width: 880px) {
  .site-nav,
  .header-cta {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons — 2px radius, black fill */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid var(--graphite);
  border-radius: 2px;
  color: var(--parchment);
  background: var(--graphite);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.btn:hover {
  color: var(--parchment);
  opacity: 0.82;
}

.btn--ghost {
  background: transparent;
  color: var(--graphite);
}

.btn--ghost:hover {
  color: var(--graphite);
  opacity: 0.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hero */
.hero {
  padding: 4.5rem 0 2rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  max-width: 11ch;
}

.hero .lede {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  color: var(--smoke);
  font-size: 16px;
  line-height: 1.55;
}

@media (min-width: 860px) {
  .hero {
    padding: 5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 5.5vw, 5.25rem);
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section + .section {
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.section__head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section__head h2 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}

.section__head p {
  margin: 0.85rem 0 0;
  color: var(--smoke);
}

.section--sage {
  background: var(--sage);
  border-top: 0;
}

.steps {
  display: grid;
  gap: 2.5rem 3rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps span {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--smoke);
  font-size: 13px;
}

.steps h3 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.steps p,
.feature-list p,
.account-copy p {
  margin: 0;
  color: var(--smoke);
  font-size: 15px;
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 0;
}

.feature-list article {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.feature-list article:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

@media (min-width: 800px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
  }

  .feature-list article:nth-child(1),
  .feature-list article:nth-child(2) {
    padding-top: 0;
    border-top: 0;
  }
}

.feature-list h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.account-copy {
  max-width: 38rem;
}

.account-copy h2 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 1rem;
}

.account-copy p + p {
  margin-top: 0.85rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}

.legal-links a {
  text-decoration: none;
  font-size: 15px;
}

.legal-links a::after {
  content: " ↳";
}

.note {
  margin: 0;
  max-width: 40rem;
  color: var(--smoke);
  font-size: 13px;
  line-height: 1.55;
}

.note a {
  color: var(--smoke);
}

/* Legal pages */
.page {
  padding: 3.5rem 0 5rem;
  max-width: 40rem;
}

.page-title {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
}

.meta,
.page-lead {
  color: var(--smoke);
}

.meta {
  margin: 0.75rem 0 0;
  font-size: 13px;
}

.page-lead {
  margin: 1.25rem 0 0;
}

.prose {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.prose h2 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.75rem;
}

.prose h3 {
  margin: 1.5rem 0 0.4rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
}

.prose p,
.prose ul {
  margin: 0 0 1rem;
  color: var(--iron);
  font-size: 15px;
  line-height: 1.6;
}

.prose ul {
  padding-left: 1.15rem;
}

.faq details {
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  padding: 1.1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.faq details p {
  margin: 0.7rem 0 0;
  color: var(--smoke);
  font-size: 15px;
}

.source-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.source-list li {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.source-list li:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.source-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
}

.source-list span {
  color: var(--smoke);
  font-size: 15px;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.colophon-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .colophon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.colophon-grid h3 {
  margin: 0 0 0.55rem;
  color: var(--smoke);
  font-size: 13px;
  font-weight: 400;
}

.colophon-grid p,
.colophon-grid a {
  margin: 0;
  color: var(--graphite);
  font-size: 14px;
  text-decoration: none;
  line-height: 1.7;
}

.colophon-grid a:hover {
  color: var(--smoke);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  color: var(--smoke);
  font-size: 13px;
}

.site-footer__bottom a {
  color: var(--smoke);
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
