:root {
  color-scheme: light dark;
  --bg: #f3f0e9;
  --bg-raised: #fffdf8;
  --surface: #e8e2d7;
  --ink: #191815;
  --ink-muted: #646057;
  --line: rgba(25, 24, 21, 0.14);
  --accent: #eea52f;
  --accent-strong: #c87800;
  --blue: #6fa5e8;
  --header-bg: rgba(243, 240, 233, 0.86);
  --shadow: 0 30px 80px rgba(55, 39, 17, 0.18);
  --radius-small: 12px;
  --radius-medium: 24px;
  --radius-large: 40px;
  --page: min(1180px, calc(100vw - 40px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11110f;
    --bg-raised: #191916;
    --surface: #22211d;
    --ink: #f5f0e6;
    --ink-muted: #aaa49a;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #ffb43f;
    --accent-strong: #ffc564;
    --blue: #7fb2ee;
    --header-bg: rgba(17, 17, 15, 0.86);
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.18);
}

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

.site-header nav a,
.site-footer nav a {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}

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

.site-header .nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.hero {
  display: grid;
  width: var(--page);
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 0 72px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 8vw, 116px);
}

.hero-copy {
  padding-bottom: 28px;
}

.eyebrow,
.feature-label {
  margin: 0 0 20px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 7.4vw, 104px);
  font-weight: 760;
  line-height: 0.94;
}

h2 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 740;
  line-height: 1;
}

h3 {
  font-size: 25px;
  font-weight: 710;
  line-height: 1.1;
}

.hero-lede {
  max-width: 620px;
  margin: 32px 0 0;
  color: var(--ink-muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

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

.store-status {
  display: inline-flex;
  min-height: 58px;
  padding: 8px 17px 8px 11px;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--ink);
  color: var(--bg);
  font-size: 18px;
  font-weight: 680;
  line-height: 1.05;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.store-status small {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 560;
  letter-spacing: 0.03em;
}

.store-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 10px;
  font-family: Georgia, serif;
  font-size: 21px;
}

.text-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link span {
  color: var(--accent-strong);
}

.hero-facts {
  display: grid;
  max-width: 620px;
  margin: 58px 0 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-facts div {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 18px;
  font-weight: 730;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  justify-self: center;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: 14%;
  right: -18%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: 50%;
  content: "";
}

.phone-shell {
  width: min(380px, 38vw);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 48px;
  background: #070706;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-shell img {
  width: 100%;
  height: auto;
  border-radius: 39px;
}

.visual-note {
  position: absolute;
  right: -78px;
  bottom: 13%;
  display: flex;
  max-width: 180px;
  margin: 0;
  padding: 12px 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--bg-raised);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.visual-note span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent);
}

.proof-strip {
  display: flex;
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0.03em;
}

.proof-strip span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(96px, 13vw, 176px) 0;
}

.section-heading {
  display: grid;
  margin-bottom: clamp(56px, 7vw, 96px);
  grid-template-columns: 0.65fr 1.35fr;
  gap: 48px;
}

.section-heading h2 {
  max-width: 800px;
}

.step-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  list-style: none;
}

.step-list li {
  min-height: 300px;
  padding: 26px 0;
  border-top: 2px solid var(--ink);
}

.step-number {
  display: block;
  margin-bottom: 82px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.step-list p {
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: 15px;
}

.preset-story {
  display: grid;
  padding-top: 30px;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(48px, 9vw, 126px);
}

.preset-copy {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 92px;
}

.preset-copy h2 {
  max-width: 500px;
}

.preset-copy > p:not(.eyebrow) {
  margin: 28px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
}

.check-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 670;
}

.check-list li::before {
  margin-right: 12px;
  color: var(--accent-strong);
  content: "●";
  font-size: 8px;
  vertical-align: 2px;
}

.preset-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.preset-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.preset-card-tall {
  grid-row: span 2;
}

.preset-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.preset-card:hover img {
  transform: scale(1.025);
}

.preset-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-small);
  background: rgba(12, 12, 11, 0.7);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px;
  font-weight: 680;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 420px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--bg-raised);
}

.feature-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.45fr 1.1fr 0.9fr;
  align-items: center;
  gap: 52px;
}

.feature-card h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.feature-card > p:not(.feature-label) {
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: 16px;
}

.feature-card-wide > p:not(.feature-label) {
  margin: 0;
}

.match-meter {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--bg);
}

.match-meter > span {
  display: block;
  color: var(--accent-strong);
  font-size: 52px;
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 1;
}

.match-meter div {
  height: 8px;
  margin: 22px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface);
}

.match-meter i {
  display: block;
  width: 91%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}

.match-meter small {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 660;
}

.privacy-band {
  display: grid;
  margin-top: 40px;
  padding: clamp(58px, 8vw, 94px);
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 72px;
  border-radius: var(--radius-large);
  background: var(--ink);
  color: var(--bg);
}

.privacy-band h2 {
  max-width: 720px;
}

.privacy-band > div:last-child > p {
  margin: 0 0 28px;
  color: color-mix(in srgb, var(--bg) 72%, transparent);
  font-size: 16px;
}

.privacy-band .text-link {
  color: var(--bg);
}

.closing {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.closing img {
  margin-bottom: 30px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.closing h2 {
  max-width: 820px;
}

.closing > p:last-child {
  margin: 26px 0 0;
  color: var(--ink-muted);
}

.site-footer {
  display: grid;
  width: var(--page);
  min-height: 190px;
  margin: 0 auto;
  padding: 42px 0;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 12px;
}

.site-footer > p {
  grid-column: 1 / -1;
  margin: 0;
}

.brand-footer {
  margin-bottom: 12px;
}

.site-footer div > p {
  margin: 0;
}

.legal-page {
  min-height: 100vh;
}

.legal-header {
  width: min(820px, calc(100vw - 40px));
}

.legal-main {
  width: min(820px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 0 120px;
}

.legal-main h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 78px);
}

.legal-lede {
  max-width: 720px;
  margin: 28px 0 56px;
  color: var(--ink-muted);
  font-size: 20px;
}

.legal-meta {
  display: inline-flex;
  margin-bottom: 54px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 650;
}

.legal-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: 27px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.legal-section h3 {
  margin: 25px 0 10px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.legal-section p,
.legal-section li {
  color: var(--ink-muted);
  font-size: 16px;
}

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

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

.legal-section a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.support-grid {
  display: grid;
  margin: 52px 0 72px;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--bg-raised);
}

.support-card h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

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

.support-card a {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

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

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

.faq summary {
  position: relative;
  padding: 24px 42px 24px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 690;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  right: 4px;
  color: var(--accent-strong);
  content: "+";
  font-size: 24px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 690px;
  margin: 0;
  padding: 0 0 24px;
  color: var(--ink-muted);
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    margin-top: 8px;
  }

  .phone-shell {
    width: min(420px, 76vw);
  }

  .visual-note {
    right: -16px;
  }

  .section-heading,
  .preset-story,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .preset-copy {
    position: static;
    padding-top: 0;
  }

  .feature-card-wide {
    grid-template-columns: 1fr;
  }

  .feature-card-wide > p:not(.feature-label) {
    margin: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --page: min(100% - 28px, 1180px);
    --radius-large: 28px;
  }

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

  .site-header nav {
    gap: 10px;
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    overflow: clip;
  }

  h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .hero-lede {
    font-size: 19px;
  }

  .hero-facts {
    gap: 7px;
  }

  .hero-facts dt {
    font-size: 15px;
  }

  .hero-facts dd {
    font-size: 11px;
  }

  .phone-shell {
    width: min(350px, 84vw);
    border-radius: 42px;
  }

  .phone-shell img {
    border-radius: 34px;
  }

  .visual-note {
    right: -8px;
    bottom: 10%;
  }

  .proof-strip {
    gap: 12px;
    text-align: center;
  }

  .proof-strip p {
    font-size: 11px;
  }

  .section-heading {
    gap: 22px;
  }

  .step-list,
  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .step-list li {
    min-height: 240px;
  }

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

  .preset-collage {
    gap: 10px;
  }

  .preset-card {
    border-radius: 17px;
  }

  .preset-card img {
    min-height: 260px;
  }

  .preset-card figcaption {
    display: none;
  }

  .feature-card {
    min-height: 340px;
  }

  .privacy-band {
    gap: 36px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }

  .site-footer > p {
    grid-column: auto;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
