:root {
  --paper: #f4efe5;
  --paper-bright: #fffbf3;
  --paper-muted: #eae1d2;
  --ink: #151310;
  --ink-soft: #28231d;
  --muted: #746a5d;
  --line: #d8ccba;
  --line-strong: #bfae98;
  --rust: #a35512;
  --rust-dark: #81400d;
  --amber: #e49a4a;
  --moss: #526c53;
  --danger: #a74738;
  --display: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --content: min(1180px, calc(100vw - 40px));
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shadow: 0 26px 70px rgba(42, 30, 18, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink-soft);
  background:
    linear-gradient(rgba(116, 106, 93, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 106, 93, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--rust-dark);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  width: var(--content);
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line-strong);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 680;
}

.site-header nav a,
.nav-cta {
  text-decoration: none;
}

.site-header nav a {
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--ink);
}

.nav-cta {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  color: var(--paper-bright);
  background: var(--ink);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rust);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  width: var(--content);
  min-height: 720px;
  margin: 0 auto;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}

.hero h1,
.section-heading,
.legal-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(62px, 7vw, 105px);
}

.hero h1 em {
  color: var(--rust);
  font-style: italic;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
}

.button--primary {
  color: var(--paper-bright);
  background: var(--ink);
}

.button--primary:hover {
  color: white;
  background: var(--rust-dark);
}

.button--ghost:hover {
  color: var(--ink);
  background: var(--paper-bright);
}

.proof-row {
  margin: 42px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.proof-row li::before {
  content: '✦';
  margin-right: 8px;
  color: var(--rust);
}

.phone-stage {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.orbit {
  position: absolute;
  width: min(580px, 125%);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: '';
  position: absolute;
  inset: 13%;
  border: 1px dashed var(--line-strong);
  border-radius: inherit;
}

.orbit::after {
  inset: 32%;
  border-style: solid;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(340px, 84vw);
  padding: 12px;
  transform: rotate(2.5deg);
  border: 2px solid var(--ink);
  border-radius: 46px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 575px;
  padding: 40px 22px 24px;
  overflow: hidden;
  border-radius: 34px;
  color: #f4ebdd;
  background: #201d19;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: #b9aa97;
  font-family: var(--mono);
  font-size: 10px;
}

.phone-kicker {
  margin: 54px 0 6px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone h2 {
  margin: 0;
  color: #fff3df;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.02;
}

.choice-label {
  margin: 28px 0 9px;
  color: #b9aa97;
  font-size: 12px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.choice {
  padding: 8px 11px;
  border: 1px solid #655646;
  border-radius: 999px;
  color: #d8c5ab;
  font-size: 11px;
}

.choice--active {
  border-color: var(--amber);
  color: #20150b;
  background: var(--amber);
}

.phone-button {
  width: 100%;
  margin-top: 28px;
  padding: 14px;
  border-radius: 999px;
  color: #20150b;
  background: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.floating-note {
  position: absolute;
  z-index: 3;
  max-width: 190px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper-bright);
  box-shadow: 0 16px 35px rgba(42, 30, 18, 0.1);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
}

.floating-note--top {
  top: 66px;
  right: -20px;
  transform: rotate(4deg);
}

.floating-note--bottom {
  bottom: 52px;
  left: -32px;
  transform: rotate(-4deg);
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 110px 0;
  border-top: 1px solid var(--line-strong);
}

.section-heading {
  max-width: 850px;
  font-size: clamp(48px, 6vw, 80px);
}

.section-heading em {
  color: var(--rust);
  font-style: italic;
}

.section-lead {
  max-width: 710px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.principles {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.principle {
  min-height: 310px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 251, 243, 0.72);
}

.principle:nth-child(2) {
  transform: translateY(24px);
  background: var(--ink);
  color: #f4ebdd;
}

.principle-number {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 12px;
}

.principle:nth-child(2) .principle-number {
  color: var(--amber);
}

.principle h3 {
  margin: auto 0 12px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.principle:nth-child(2) p {
  color: #b9aa97;
}

.steps {
  margin-top: 60px;
  counter-reset: steps;
}

.step {
  display: grid;
  grid-template-columns: 84px minmax(180px, 0.75fr) 1fr;
  gap: 32px;
  padding: 31px 0;
  border-top: 1px solid var(--line);
  counter-increment: steps;
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step::before {
  content: '0' counter(steps);
  color: var(--rust);
  font-family: var(--mono);
  font-size: 13px;
}

.step h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.privacy-panel {
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  border-radius: var(--radius-lg);
  color: #f4ebdd;
  background: var(--ink);
}

.privacy-panel .section-heading {
  color: #fff3df;
}

.privacy-panel .section-lead {
  color: #b9aa97;
}

.privacy-list {
  margin: 0;
  padding: 0;
  display: grid;
  align-content: center;
  list-style: none;
}

.privacy-list li {
  padding: 20px 0;
  display: flex;
  gap: 14px;
  border-top: 1px solid #40382f;
}

.privacy-list li:last-child {
  border-bottom: 1px solid #40382f;
}

.privacy-list li::before {
  content: '✦';
  color: var(--amber);
}

.beta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.beta-strip .section-heading {
  max-width: 720px;
}

.site-footer {
  width: var(--content);
  margin: 0 auto;
  padding: 56px 0 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  border-top: 1px solid var(--line-strong);
}

.brand--footer {
  font-size: 22px;
}

.footer-intro p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 7px 28px;
  font-size: 14px;
}

.footer-meta {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.legal-hero {
  width: var(--content);
  margin: 0 auto;
  padding: 88px 0 64px;
  border-bottom: 1px solid var(--line-strong);
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(52px, 7vw, 88px);
}

.legal-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.legal-layout {
  width: var(--content);
  margin: 0 auto;
  padding: 64px 0 110px;
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: clamp(40px, 8vw, 110px);
}

.legal-aside {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(255, 251, 243, 0.82);
  font-size: 13px;
}

.legal-content {
  min-width: 0;
}

.legal-aside strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.legal-content h2 {
  margin: 58px 0 16px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: #514a41;
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

.placeholder {
  padding: 1px 5px;
  border: 1px dashed var(--danger);
  border-radius: 5px;
  color: var(--danger);
  background: rgba(167, 71, 56, 0.07);
  font-family: var(--mono);
  font-size: 0.86em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.notice {
  margin: 0 0 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--paper-muted);
}

.notice strong {
  color: var(--ink);
}

.contact-cards {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-card {
  min-height: 190px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--paper-bright);
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.contact-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.contact-card a {
  margin-top: auto;
  color: var(--rust-dark);
  font-weight: 750;
}

.faq {
  margin-top: 58px;
}

.faq details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 760;
}

.faq details p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .phone-stage {
    min-height: 650px;
  }

  .principles,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .principle:nth-child(2) {
    transform: none;
  }

  .step {
    grid-template-columns: 56px 1fr;
  }

  .step p {
    grid-column: 2;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --content: min(1180px, calc(100vw - 28px));
  }

  body {
    font-size: 16px;
    background-size: 36px 36px;
  }

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

  .nav-cta {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 50px 0 70px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .phone-stage {
    min-height: 600px;
  }

  .floating-note {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .principles {
    margin-top: 42px;
  }

  .principle {
    min-height: 240px;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .privacy-panel {
    padding: 30px 22px;
    gap: 32px;
  }

  .beta-strip,
  .site-footer,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .beta-strip {
    align-items: start;
  }

  .site-footer {
    gap: 32px;
  }

  .legal-hero {
    padding: 64px 0 48px;
  }

  .legal-layout {
    padding: 42px 0 80px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
