:root {
  color-scheme: dark light;
  --bg: #0C0C0D;
  --surface: #171718;
  --text: #F2F1ED;
  --secondary: #AAA59C;
  --quiet: #8A857D;
  --accent: #B8A47C;
  --button-bg: #F0EEE7;
  --button-text: #101011;
  --hairline: rgba(242, 241, 237, 0.12);
  --hairline-strong: rgba(242, 241, 237, 0.2);
  --header-bg: rgba(12, 12, 13, 0.88);
  --max-width: 1120px;
  --reading-width: 720px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F5F3EF;
    --surface: #ECE8E1;
    --text: #181715;
    --secondary: #625E57;
    --quiet: #756F66;
    --accent: #756244;
    --button-bg: #181715;
    --button-text: #F5F3EF;
    --hairline: rgba(24, 23, 21, 0.12);
    --hairline-strong: rgba(24, 23, 21, 0.2);
    --header-bg: rgba(245, 243, 239, 0.9);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 72px;
  margin-inline: auto;
  background: var(--header-bg);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.6px solid var(--secondary);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.brand-mark span {
  width: 3px;
  height: 11px;
  border-radius: 99px;
  background: var(--text);
  transform: rotate(20deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: min(780px, calc(100vh - 72px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 96px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.legal h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  font-weight: 530;
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 720px;
  margin: 34px 0 0;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.hero-note {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--secondary);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 620;
  line-height: 1.25;
  text-align: center;
  transition: transform 140ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--button-bg);
  color: var(--button-text);
}

.button-secondary {
  border-color: var(--hairline-strong);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--surface);
}

.section {
  padding-block: clamp(88px, 12vw, 160px);
  border-top: 1px solid var(--hairline);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 70px;
}

.section h2,
.support h2,
.legal h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 540;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.step {
  min-height: 280px;
  padding: 28px 30px 34px 0;
  border-bottom: 1px solid var(--hairline);
}

.step:nth-child(3n + 2),
.step:nth-child(3n + 3) {
  padding-left: 30px;
  border-left: 1px solid var(--hairline);
}

.step-number {
  display: block;
  margin-bottom: 48px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.step h3 {
  max-width: 300px;
  margin: 0;
  font-size: 1.28rem;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.step p,
.prose-list p,
.privacy-callout > p:not(.eyebrow),
.closing > p:not(.eyebrow) {
  color: var(--secondary);
  line-height: 1.65;
}

.step p {
  max-width: 310px;
  margin: 14px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.split-section h2 {
  max-width: 650px;
}

.prose-list {
  padding-top: 40px;
}

.prose-list p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.08rem;
}

.prose-list strong {
  color: var(--text);
  font-weight: 600;
}

.privacy-callout,
.closing {
  max-width: var(--max-width);
}

.privacy-callout h2,
.closing h2 {
  max-width: 760px;
}

.privacy-callout > p:not(.eyebrow),
.closing > p:not(.eyebrow) {
  max-width: 690px;
  margin: 28px 0 0;
  font-size: 1.12rem;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--text);
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 4px;
}

.text-link:hover {
  text-decoration-color: var(--accent);
}

.closing .button {
  margin-top: 30px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: end;
  padding-block: 52px;
  border-top: 1px solid var(--hairline);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--quiet);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--text);
}

.footer-meta {
  white-space: nowrap;
}

.legal,
.support {
  max-width: var(--reading-width);
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: 120px;
}

.legal-header {
  padding-bottom: 70px;
  border-bottom: 1px solid var(--hairline);
}

.legal h1,
.support h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-date {
  margin: 28px 0 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

.legal-lead {
  margin: 28px 0 0;
  color: var(--secondary);
  font-size: 1.22rem;
  line-height: 1.65;
}

.legal > section,
.support-group,
.support-contact {
  padding-block: 46px;
  border-bottom: 1px solid var(--hairline);
}

.legal h2,
.support h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  margin-bottom: 20px;
}

.legal section p,
.support p,
details p {
  color: var(--secondary);
  font-size: 1.04rem;
  line-height: 1.72;
}

.legal section p + p {
  margin-top: 18px;
}

.legal strong,
.support strong {
  color: var(--text);
}

.legal-note {
  margin-top: 48px;
  padding: 24px 0;
  color: var(--secondary);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  line-height: 1.65;
}

.legal-note strong {
  color: var(--text);
}

.support-header {
  padding-bottom: 70px;
}

.support-group h2 {
  margin-bottom: 10px;
}

details {
  border-top: 1px solid var(--hairline);
}

details:last-child {
  border-bottom: 1px solid var(--hairline);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 18px 42px 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--quiet);
  font-size: 1.35rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  max-width: 650px;
  margin: -2px 0 24px;
}

.support-contact {
  padding-top: 64px;
}

.support-contact p:not(.eyebrow) {
  max-width: 650px;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step:nth-child(3n + 2),
  .step:nth-child(3n + 3) {
    padding-left: 0;
    border-left: 0;
  }

  .step:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--hairline);
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prose-list {
    padding-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .shell,
  .site-header {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 0 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
  }

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

  .site-nav a {
    padding: 8px 4px;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 92px 104px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .hero-copy {
    font-size: 1.55rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding-block: 90px;
  }

  .section-intro {
    margin-bottom: 44px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(even),
  .step:nth-child(3n + 2),
  .step:nth-child(3n + 3) {
    min-height: 0;
    padding: 28px 0 36px;
    border-left: 0;
  }

  .step-number {
    margin-bottom: 30px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .footer-meta {
    grid-column: auto;
  }

  .legal,
  .support {
    padding-top: 72px;
  }

  .legal h1,
  .support h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
