:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --line: #d2d2d7;
  --night: #000000;
  --night-2: #161617;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a6;
  --brand: #ffc107;
  --brand-2: #ffb300;
  --link: #b26a00;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: 48px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav .wrap { display: flex; align-items: center; height: 100%; gap: 28px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand img { width: 22px; height: 22px; border-radius: 6px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 12px; letter-spacing: -0.01em; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 12px; font-weight: 500; padding: 4px 12px; border-radius: 980px;
  background: var(--ink); color: #fff;
}
.nav-cta:hover { background: #333336; }

/* type */
.eyebrow { font-size: 21px; font-weight: 600; letter-spacing: 0.004em; color: var(--brand-2); }
.headline { font-size: clamp(48px, 8vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.title { font-size: clamp(36px, 5.6vw, 64px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.subhead { font-size: clamp(19px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.center { text-align: center; }

.links { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; font-size: 19px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 980px;
  background: var(--ink); color: #fff; font-weight: 500; font-size: 17px; letter-spacing: -0.01em;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: #333336; }
.btn:active { transform: scale(0.98); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8e8ed; }
.more { color: var(--link); font-weight: 400; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }
.dark .more { color: var(--brand); }

/* sections */
section { position: relative; }
.hero { padding: 96px 0 0; overflow: hidden; text-align: center; background: var(--paper); }
.hero .app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 12px 30px rgba(255, 179, 0, 0.35); }
.hero .headline { margin-top: 8px; }
.hero .subhead { margin: 20px auto 0; max-width: 30ch; }
.hero-stage { position: relative; margin: 72px auto 0; height: clamp(420px, 62vw, 640px); max-width: 920px; }
.hero-stage::before {
  content: ""; position: absolute; left: 50%; bottom: -220px; width: 820px; height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 193, 7, 0.55), rgba(255, 193, 7, 0) 70%);
  filter: blur(10px); pointer-events: none;
}

.block { padding: 140px 0; }
.block-tight { padding: 110px 0; }
.alt { background: var(--paper-2); }
.dark { background: var(--night); color: var(--night-ink); }
.dark .subhead, .dark .muted { color: var(--night-ink-2); }

/* phone */
.phone {
  position: absolute; left: 50%; bottom: -60px; transform: translateX(-50%);
  width: clamp(250px, 32vw, 330px);
  border-radius: 54px; padding: 11px; background: #1d1d1f;
  box-shadow: 0 0 0 2px #3a3a3c inset, 0 50px 100px -20px rgba(0, 0, 0, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.4);
}
.phone .screen { position: relative; aspect-ratio: 598 / 1300; border-radius: 44px; overflow: hidden; background: #f6f9fc; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .island { position: absolute; top: 3.1%; left: 50%; transform: translate(-50%, -50%); width: 28.4%; height: 3.9%; background: #000; border-radius: 999px; }
.phone.side { width: clamp(200px, 25vw, 270px); bottom: -30px; opacity: 0.98; }
.phone.left { left: 18%; transform: translateX(-50%) rotate(-8deg); }
.phone.right { left: 82%; transform: translateX(-50%) rotate(8deg); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .stage { position: relative; height: 680px; }
.split .stage .phone { bottom: auto; top: 0; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; }
.tile { grid-column: span 2; background: #fff; border-radius: 28px; padding: 34px 32px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.alt .tile { background: #fff; }
.tile.wide { grid-column: span 3; }
.tile.full { grid-column: span 6; min-height: 0; }
.tile .big { font-size: clamp(44px, 5.4vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.tile .big.brand { background: linear-gradient(180deg, #ffc107, #ff9500); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.tile p { color: var(--ink-2); margin-top: 10px; font-size: 17px; }
.tile.ink { background: var(--night-2); color: var(--night-ink); }
.tile.ink p { color: var(--night-ink-2); }
.tile.sun { background: linear-gradient(160deg, #ffd54f 0%, #ffc107 45%, #ffa000 100%); color: #1d1d1f; }
.tile.sun p { color: rgba(29, 29, 31, 0.75); }
.tile.ink .big { color: var(--night-ink); }
.tile.sun .big { color: #1d1d1f; }
.lines-stack { display: grid; gap: 8px; justify-items: start; }
.lines { display: flex; flex-wrap: nowrap; gap: 6px; }
.lines span { font-weight: 600; font-size: 15px; padding: 8px 14px; white-space: nowrap; border-radius: 980px; background: var(--paper-2); color: var(--ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--brand-2); margin-bottom: 18px; }
.steps h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.steps p { color: var(--night-ink-2); margin-top: 8px; }

/* faq */
.faq { max-width: 760px; margin: 56px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 28px; line-height: 0.9; color: var(--ink-3); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 40px 26px 0; font-size: 17px; }

/* finale */
.finale { padding: 150px 0 160px; text-align: center; background: var(--paper); overflow: hidden; }
.finale .app-icon { width: 120px; height: 120px; border-radius: 27px; margin: 0 auto 36px; box-shadow: 0 18px 44px rgba(255, 179, 0, 0.4); }

/* footer */
.footer { background: var(--paper); color: var(--ink-3); font-size: 12px; padding: 22px 0 30px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* document pages */
.doc { max-width: 720px; padding-top: 72px; padding-bottom: 110px; }
.doc h1 { font-size: clamp(40px, 6vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.doc .meta { color: var(--ink-3); margin-top: 12px; font-size: 15px; }
.doc .lede { font-size: 21px; color: var(--ink-2); margin-top: 28px; letter-spacing: -0.015em; }
.doc h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin-top: 56px; }
.doc h3 { font-size: 19px; font-weight: 600; margin-top: 28px; }
.doc p, .doc li { color: #424245; }
.doc p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0 0; }
.doc li { margin-top: 6px; }
.doc a { color: var(--link); }
.doc a:hover { text-decoration: underline; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .split .stage { height: 600px; }
  .split.reverse .stage { order: 2; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.full { grid-column: span 2; }
  .phone.side { display: none; }
}
@media (max-width: 734px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { padding-top: 64px; }
  .hero .app-icon { width: 80px; height: 80px; border-radius: 18px; }
  .hero-stage { margin-top: 56px; height: 470px; }
  .block { padding: 96px 0; }
  .block-tight { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .tile, .tile.wide, .tile.full { grid-column: span 1; min-height: 220px; padding: 28px 26px; }
  .steps { grid-template-columns: 1fr; gap: 40px; margin-top: 52px; }
  .faq summary { font-size: 19px; }
  .finale { padding: 110px 0 120px; }
  .links { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
