/* AppFactory site. Values follow a fixed system: Tailwind type scale, spacing tokens, Tailwind radii. */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-raised: #181818;
  --bg-card: #1f1f1f;
  --bg-hover: #272727;
  --line: #313131;
  --text: #ffffff;
  --text-muted: #9b9b9b;
  --text-dim: #6b6b6b;
  --accent: #ff7a1a;
  --accent-ink: #1a0d00;
  --ok: #4ade80;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 600; }
p, li { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; line-height: 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--s-200); top: -64px; z-index: 100;
  background: var(--text); color: var(--bg); padding: var(--s-75) var(--s-100); border-radius: 8px;
  font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--s-200); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s-300); }
.icon { width: 20px; height: 20px; flex: none; }
.icon-lg { width: 24px; height: 24px; }

/* ---------- island nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  margin-top: var(--s-300);
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: 9999px;
  background: rgba(24, 24, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.brand { display: flex; align-items: center; gap: var(--s-75); font-weight: 600; text-decoration: none; font-size: 14px; line-height: 20px; }
.brand-mark { width: 24px; height: 24px; }
.nav-links { display: flex; gap: var(--s-300); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14px; line-height: 20px; color: var(--text-muted); text-decoration: none;
  transition: color 700ms var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: 9999px; border: 1px solid transparent;
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: transform 700ms var(--ease), background-color 700ms var(--ease), border-color 700ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #e6e6e6; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: rgba(255, 255, 255, 0.12); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { font-size: 14px; line-height: 20px; padding: var(--s-75) var(--s-200); }
.btn-lg { padding: var(--s-100) var(--s-300); }

.burger {
  display: none; position: relative; width: 40px; height: 40px; border-radius: 9999px;
  background: transparent; border: 0; color: var(--text); cursor: pointer;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 700ms var(--ease), top 700ms var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.nav-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px);
  display: flex; flex-direction: column; justify-content: center; gap: var(--s-300);
  padding: var(--s-900) var(--s-400);
  opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
.menu a { font-size: 36px; line-height: 40px; font-weight: 600; text-decoration: none;
  transform: translateY(48px); opacity: 0; transition: transform 700ms var(--ease), opacity 700ms var(--ease); }
.nav-open .menu { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease); }
.nav-open .menu a { transform: none; opacity: 1; }
.nav-open .menu a:nth-child(1) { transition-delay: 100ms; }
.nav-open .menu a:nth-child(2) { transition-delay: 150ms; }
.nav-open .menu a:nth-child(3) { transition-delay: 200ms; }
.nav-open .menu a:nth-child(4) { transition-delay: 250ms; }

@media (max-width: 760px) {
  .nav-links, .nav-pill .btn { display: none; }
  .burger { display: block; }
  .nav-pill { gap: var(--s-200); }
}

/* ---------- hero (flat background, gradient on the heading text only) ---------- */
.hero { padding: 160px 0 var(--s-900); }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-300); }
.badge {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100); border-radius: 9999px;
  border: 1px solid var(--line); background: var(--bg-raised);
  font-size: 14px; line-height: 20px; color: var(--text-muted);
}
.badge b { color: var(--accent); font-weight: 600; }
.hero h1 {
  max-width: 680px; font-size: 60px; line-height: 1; letter-spacing: -0.035em;
  background: linear-gradient(90deg, #ffffff, #9b9b9b); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { max-width: 680px; margin: 0; font-size: 18px; line-height: 28px; color: var(--text-muted); }
.cta-row { display: flex; gap: var(--s-100); flex-wrap: wrap; justify-content: center; }
.proof { display: flex; gap: var(--s-300); flex-wrap: wrap; justify-content: center; font-size: 14px; line-height: 20px; color: var(--text-dim); }
.proof b { color: var(--text); font-weight: 600; }

/* ---------- hero visual: an example run that plays while it is on screen ---------- */
.studio { margin-top: var(--s-800); display: grid; grid-template-columns: 1fr 300px 1fr; gap: var(--s-600); align-items: center;
  padding: var(--s-600); border-radius: 24px; background: var(--bg-raised); border: 1px solid var(--bg-card); }
.studio > * { min-width: 0; }
.studio .rail-wrap { justify-self: end; }

.panel {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: var(--s-200);
}
.term { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; line-height: 16px; min-height: 236px; }
.term-bar { display: flex; gap: var(--s-75); margin-bottom: var(--s-200); }
.term-bar i { width: 8px; height: 8px; border-radius: 9999px; background: var(--line); }
.term-line { display: flex; gap: var(--s-75); white-space: nowrap; overflow: hidden; color: var(--text-muted);
  opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); margin-bottom: var(--s-75); }
.term-line.on { opacity: 1; transform: none; }
.term-line .ok { color: var(--ok); }
.term-line .wait { color: var(--accent); }
.term-line .cmd { color: var(--text); }

.rail-wrap { display: flex; gap: var(--s-200); align-items: stretch; }
.rail { display: flex; flex-direction: column; gap: var(--s-75); }
.rail-item { display: flex; align-items: center; gap: var(--s-100); padding: var(--s-75) var(--s-100); border-radius: 12px;
  color: var(--text-dim); font-size: 14px; line-height: 20px; transition: background-color 500ms var(--ease), color 500ms var(--ease); }
.rail-item .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--line); transition: background-color 500ms var(--ease), box-shadow 500ms var(--ease); }
.rail-item.done { color: var(--text-muted); }
.rail-item.done .dot { background: var(--ok); }
.rail-item.now { color: var(--text); background: var(--bg-hover); }
.rail-item.now .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.2); }
.progress { width: 2px; border-radius: 9999px; background: var(--line); overflow: hidden; }
.progress i { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--sp, 0)); transition: transform 900ms var(--ease); }

/* The phone: a light iOS screen laid out in real points (393 x 852) and scaled to fit the frame. */
.phone {
  --k: 0.7125; position: relative; width: 298px; height: 623px; margin: 0 auto; padding: 8px;
  border-radius: 54px; background: #0b0b0c; border: 1px solid #4a4a4e;
  box-shadow: 0 0 0 3px #1d1d20, 0 0 0 4px #5a5a60, 0 40px 80px -24px rgba(0, 0, 0, 0.7);
}
.phone::before, .phone::after { content: ""; position: absolute; left: -6px; width: 3px; border-radius: 2px; background: #3c3c40; }
.phone::before { top: 120px; height: 28px; }
.phone::after { top: 168px; height: 52px; box-shadow: 0 64px 0 #3c3c40; }
.phone-screen { position: relative; width: 280px; height: 607px; border-radius: 46px; overflow: hidden; background: #f2f2f7; }
.ios { position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform: scale(var(--k)); transform-origin: 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Geist", system-ui, sans-serif; color: #000;
  -webkit-font-smoothing: antialiased; letter-spacing: -0.01em; --blue: #0a84ff; --brand: #1677ff; --sec: rgba(60, 60, 67, 0.6); --sep: rgba(60, 60, 67, 0.18); }
.ios svg { width: 1em; height: 1em; flex: none; }
.sb { position: absolute; top: 0; left: 0; right: 0; height: 54px; padding: 0 30px 0 50px; display: flex; align-items: center; justify-content: space-between; z-index: 4; font-size: 17px; }
.sb b { font-weight: 600; }
.sb-r { display: flex; align-items: center; gap: 6px; }
.sig { display: flex; align-items: flex-end; gap: 1.5px; height: 12px; }
.sig i { width: 3px; border-radius: 1px; background: #000; }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; } .sig i:nth-child(3) { height: 9px; } .sig i:nth-child(4) { height: 12px; }
.wifi { width: 16px; height: 12px; background: #000; clip-path: path("M8 12 L0.6 4.2 A11 11 0 0 1 15.4 4.2 Z"); border-radius: 2px; }
.batt { position: relative; width: 25px; height: 12px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.35); padding: 1.5px; }
.batt i { display: block; width: 80%; height: 100%; border-radius: 2px; background: #000; }
.batt::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(0, 0, 0, 0.4); }
.island { position: absolute; top: 11px; left: 50%; width: 126px; height: 37px; margin-left: -63px; border-radius: 9999px; background: #000; z-index: 5; }
.home-ind { position: absolute; bottom: 8px; left: 50%; width: 140px; height: 5px; margin-left: -70px; border-radius: 9999px; background: #000; z-index: 5; }
.scr { position: absolute; inset: 0; padding: 62px 16px 34px; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(20px) scale(0.985); filter: blur(10px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease); }
.scr.on { opacity: 1; transform: none; filter: none; }
.ai { width: 64px; height: 64px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-size: 34px; flex: none;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.ai-blue { background: linear-gradient(160deg, #6cc4ff 0%, #1677ff 70%, #0b5bdb 100%); }
.ai-teal { background: linear-gradient(160deg, #6ee7d8, #14a89a); }
.ai-violet { background: linear-gradient(160deg, #c4a6ff, #7b4dff); }
.ai.mid { width: 60px; height: 60px; border-radius: 14px; font-size: 32px; }
.ai.big { width: 84px; height: 84px; border-radius: 20px; font-size: 46px; margin: 8px auto 0; }
.ai.huge { width: 118px; height: 118px; border-radius: 27px; font-size: 64px; }
.get { padding: 6px 20px; border-radius: 9999px; background: #eef0f4; color: var(--blue); font-weight: 600; font-size: 15px; align-self: center; }
.get.solid { background: var(--blue); color: #fff; }
.stars { display: inline-flex; align-items: center; gap: 1px; color: #8e8e93; font-size: 11px; }
.stars .dim { opacity: 0.35; }
/* 0: App Store search */
.search-field { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; margin-top: 6px; border-radius: 12px; background: rgba(118, 118, 128, 0.12); font-size: 17px; }
.search-field svg { color: #8e8e93; font-size: 18px; }
.caret { width: 2px; height: 20px; background: var(--blue); margin-left: -6px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.result { padding: 16px 0; border-bottom: 0.5px solid var(--sep); }
.r-head { display: flex; gap: 12px; align-items: center; }
.r-name { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.r-name b { font-weight: 500; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-name > span:not(.stars) { color: var(--sec); font-size: 14px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.shots i { position: relative; height: 196px; border-radius: 14px; overflow: hidden; padding: 10px 8px; font-style: normal; font-size: 11px; line-height: 13px; font-weight: 700; color: #0b5c53; }
.sh-teal { background: linear-gradient(180deg, #e3faf6 0%, #a8ebe1 100%); }
.shots i::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 96px; border-radius: 10px; background: #fff;
  background-image: linear-gradient(#bdeee6 0 0), linear-gradient(#bdeee6 0 0), linear-gradient(#bdeee6 0 0); background-size: 60% 7px; background-repeat: no-repeat; background-position: 8px 14px, 8px 40px, 8px 66px; }
.shots i.sh-bottle::after { left: 50%; width: 40px; margin-left: -20px; right: auto; height: 104px; border-radius: 12px 12px 14px 14px; background: linear-gradient(180deg, rgba(255,255,255,0.6) 0 38%, #14a89a 38% 100%); }
.verdict { margin-top: auto; margin-bottom: 18px; border-radius: 22px; background: #111114; color: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45); }
.v-row { display: flex; justify-content: space-between; } .v-row span { color: rgba(255, 255, 255, 0.65); }
.v-bar { height: 6px; border-radius: 9999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.v-bar i { display: block; height: 100%; width: 0; border-radius: 9999px; background: #ff7a1a; transition: width 1200ms var(--ease) 300ms; }
.scr.on .v-bar i { width: var(--w); }
.v-total { padding-top: 6px; border-top: 0.5px solid rgba(255, 255, 255, 0.14); font-size: 17px; }
.v-total b { color: #ff9a4d; }
/* 1: the app's home screen */
.lt-sub { margin-top: 10px; color: var(--sec); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.lt { font-size: 34px; line-height: 41px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.ring-card { position: relative; height: 230px; border-radius: 26px; background: #fff; display: grid; place-items: center; }
.ios .ring { width: 180px; height: 180px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 16; stroke-linecap: round; }
.ring .track { stroke: #e3eeff; }
.ring .fill { stroke: var(--brand); stroke-dasharray: 0 100; transition: stroke-dasharray 1400ms var(--ease) 200ms; }
.scr.on .ring .fill { stroke-dasharray: 67 100; }
.ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-num b { line-height: 50px; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ring-num span { color: var(--sec); font-size: 15px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 0; }
.quick span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 16px; background: #fff; color: var(--brand); font-weight: 600; font-size: 15px; }
.group-title { margin: 20px 16px 8px; color: var(--sec); font-size: 13px; text-transform: uppercase; }
.group { border-radius: 22px; background: #fff; overflow: hidden; }
.cell { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; font-size: 17px; position: relative; }
.cell + .cell::before { content: ""; position: absolute; top: 0; left: 56px; right: 0; border-top: 0.5px solid var(--sep); }
.cell span:nth-child(2) { flex: 1; }
.cell em { font-style: normal; color: var(--sec); font-size: 15px; }
.c-ico { width: 28px; height: 28px; border-radius: 8px; background: #e3eeff; color: var(--brand); display: grid; place-items: center; font-size: 16px; }
.tabbar { position: absolute; left: 22px; right: 22px; bottom: 26px; height: 62px; border-radius: 9999px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), inset 0 0 0 0.5px rgba(0, 0, 0, 0.06); }
.tabbar span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; font-weight: 600; color: #3a3a3c; border-radius: 9999px; }
.tabbar svg { font-size: 22px; }
.tabbar .on { color: var(--brand); background: rgba(22, 119, 255, 0.1); }
/* 2: onboarding */
.onb-top { display: flex; align-items: center; gap: 16px; height: 44px; }
.onb-top .back { font-size: 22px; color: var(--brand); }
.steps { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-right: 38px; }
.steps i { height: 4px; border-radius: 9999px; background: #dfe1e6; } .steps i.on { background: var(--brand); }
.onb-title { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.02em; margin: 26px 4px 8px; }
.onb-sub { margin: 0 4px 24px; color: var(--sec); font-size: 17px; }
.opt { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 20px; margin-bottom: 10px; border-radius: 18px; background: #fff; font-size: 17px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px transparent; }
.opt.pick { box-shadow: inset 0 0 0 2px var(--brand); background: #f3f8ff; }
.opt svg { color: var(--brand); font-size: 20px; }
.cta { margin-top: auto; margin-bottom: 12px; height: 56px; border-radius: 9999px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 600; }
/* 3: paywall */
.s-pay { background: #fff; }
.close { position: absolute; top: 66px; right: 20px; width: 30px; height: 30px; border-radius: 9999px; background: #eeeef0; color: #8e8e93; display: grid; place-items: center; font-size: 14px; }
.pay-title { text-align: center; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 20px; }
.feats { display: flex; flex-direction: column; gap: 14px; margin: 0 12px 26px; font-size: 17px; }
.feats div { display: flex; align-items: center; gap: 14px; }
.feats svg { color: var(--brand); font-size: 22px; }
.plan2 { display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 18px; margin-bottom: 10px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px #e3e3e8; }
.plan2 span { display: flex; flex-direction: column; } .plan2 b { font-size: 17px; font-weight: 600; } .plan2 small { color: var(--sec); font-size: 14px; }
.plan2 em { font-style: normal; font-weight: 600; font-size: 16px; }
.plan2.pick { box-shadow: inset 0 0 0 2px var(--brand); background: #f3f8ff; }
.s-pay .cta { margin-bottom: 8px; }
.fine { text-align: center; color: var(--sec); font-size: 12px; margin-bottom: 4px; }
/* 4: App Store product page */
.s-store { background: #fff; }
.nav-back { display: flex; align-items: center; gap: 4px; height: 44px; color: var(--blue); font-size: 17px; margin-left: -6px; }
.nav-back svg { font-size: 22px; }
.pp-head { display: flex; gap: 16px; margin-top: 6px; }
.pp-name { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.pp-name b { font-size: 21px; line-height: 25px; font-weight: 700; letter-spacing: -0.01em; }
.pp-name > span { color: var(--sec); font-size: 15px; }
.pp-get { margin-top: auto; display: flex; align-items: center; gap: 10px; } .pp-get .get { padding: 6px 22px; }
.pp-get small { color: var(--sec); font-size: 10px; line-height: 12px; width: 60px; }
.pp-info { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 18px; padding: 12px 0; border-top: 0.5px solid var(--sep); border-bottom: 0.5px solid var(--sep); text-align: center; }
.pp-info div { display: flex; flex-direction: column; align-items: center; gap: 2px; } .pp-info div + div { border-left: 0.5px solid var(--sep); }
.pp-info small { color: #8e8e93; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; }
.pp-info b { color: #6e6e73; font-size: 20px; font-weight: 700; }
.pp-info span:not(.stars) { color: #8e8e93; font-size: 12px; }
.pp-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pshot { height: 400px; border-radius: 22px; padding: 18px 16px; background: linear-gradient(180deg, #2f8cff 0%, #1458d6 100%); color: #fff; position: relative; overflow: hidden; }
.pshot.alt { background: linear-gradient(180deg, #e9f3ff 0%, #cfe3ff 100%); color: #0b3b8f; }
.pshot b { font-size: 19px; line-height: 23px; font-weight: 700; letter-spacing: -0.01em; display: block; }
.mini-ring { position: absolute; left: 50%; bottom: 60px; width: 104px; height: 104px; margin-left: -52px; border-radius: 9999px; border: 12px solid rgba(255, 255, 255, 0.25); border-top-color: #fff; border-right-color: #fff; transform: rotate(-20deg); }
.mini-list { position: absolute; left: 16px; right: 16px; bottom: 40px; height: 150px; border-radius: 16px; background: #fff;
  background-image: linear-gradient(#e3eeff 0 0), linear-gradient(#e3eeff 0 0), linear-gradient(#e3eeff 0 0); background-size: 70% 12px; background-repeat: no-repeat; background-position: 16px 26px, 16px 68px, 16px 110px; }
/* 5: TestFlight */
.tf-lt { margin-top: 18px; }
.tf-app { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.tf-name { flex: 1; display: flex; flex-direction: column; }
.tf-name b { font-size: 17px; font-weight: 600; } .tf-name span { font-size: 15px; color: #3a3a3c; } .tf-name small { color: var(--sec); font-size: 13px; }
.tf-note { margin: 0; padding: 14px 16px; font-size: 15px; line-height: 21px; color: #3a3a3c; }
.tf-done { margin-top: auto; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #e8f8ee; color: #1a7f3c; font-size: 15px; font-weight: 500; }
.tf-done svg { font-size: 22px; }
.scr.on .tf-done { animation: pop 900ms var(--ease) both 300ms; }
@keyframes pop { from { transform: scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 960px) {
  .studio { grid-template-columns: 1fr; padding: var(--s-300) var(--s-200) 0; justify-items: center; overflow: hidden; }
  .studio .term, .studio .rail-wrap { display: none; }
  .phone { margin-bottom: -96px; }
}
@media (max-width: 760px) {
  .hero { padding: 128px 0 var(--s-800); }
  .hero h1 { font-size: 36px; line-height: 40px; }
  .hero h1 br { display: none; }
  .badge b { display: none; }
}

/* ---------- track record ---------- */
.stat { background: var(--bg-raised); border: 1px solid var(--bg-card); border-radius: 24px; padding: var(--s-400); display: flex; flex-direction: column; gap: var(--s-75); }
.stat b { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.stat h3 { font-size: 18px; line-height: 28px; color: var(--accent); }
.stat p { margin: 0; color: var(--text-muted); }
.record-note { margin: var(--s-400) 0 0; color: var(--text-dim); max-width: 680px; }

/* ---------- sections ---------- */
section { padding: var(--s-900) 0; }
.eyebrow { font-size: 14px; line-height: 20px; color: var(--accent); font-weight: 600; margin-bottom: var(--s-200); }
.section-title { font-size: 48px; line-height: 1; letter-spacing: -0.02em; max-width: 680px; }
.section-lede { max-width: 680px; color: var(--text-muted); font-size: 18px; line-height: 28px; margin: var(--s-300) 0 0; }
@media (max-width: 760px) { .section-title { font-size: 30px; line-height: 36px; } section { padding: var(--s-800) 0; } }

.agents { padding: var(--s-400) 0; border-top: 1px solid var(--bg-card); border-bottom: 1px solid var(--bg-card); }
.agents .wrap { display: flex; align-items: center; justify-content: center; gap: var(--s-600); flex-wrap: wrap;
  color: var(--text-dim); font-size: 14px; line-height: 20px; }
.agents b { color: var(--text-muted); font-weight: 600; font-size: 18px; line-height: 28px; }

.demo-frame { margin-top: var(--s-600); padding: var(--s-75); border-radius: 24px; background: var(--bg-raised); border: 1px solid var(--line); }
.demo-frame img { border-radius: 16px; width: 100%; height: auto; }
.demo-caption { margin-top: var(--s-200); color: var(--text-dim); font-size: 14px; line-height: 20px; }

.tagline { padding: 160px 0; }
.tagline p { margin: 0 auto; max-width: 880px; text-align: center; font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.tagline .w { color: rgba(255, 255, 255, 0.28); transition: color 700ms var(--ease); }
.tagline .w.lit { color: var(--text); }
@media (max-width: 760px) { .tagline p { font-size: 36px; line-height: 40px; } .tagline { padding: var(--s-900) 0; } }

.grid { display: grid; gap: var(--s-200); margin-top: var(--s-600); }
.grid > *, .studio > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.feature { background: var(--bg-raised); border: 1px solid var(--bg-card); border-radius: 24px; padding: var(--s-400);
  display: flex; flex-direction: column; gap: var(--s-200); transition: background-color 700ms var(--ease), transform 700ms var(--ease); }
.feature:hover { background: var(--bg-card); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-hover); display: grid; place-items: center; color: var(--accent); }
.feature h3 { font-size: 20px; line-height: 28px; }
.feature p { margin: 0; color: var(--text-muted); }
.feature.wide { grid-column: span 2; }
@media (max-width: 960px) { .feature.wide { grid-column: auto; } }

.steps { counter-reset: step; }
.step { position: relative; padding: var(--s-400); border-radius: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-200); }
.step-n { font-size: 14px; line-height: 20px; color: var(--text-dim); font-weight: 600; }
.step h3 { font-size: 20px; line-height: 28px; }
.step p { margin: 0; color: var(--text-muted); }
.step code { display: block; background: var(--bg-raised); border-radius: 12px; padding: var(--s-100); color: var(--text); overflow-x: auto; white-space: pre; }

.stages { margin-top: var(--s-600); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.stage { display: grid; grid-template-columns: 200px 1fr; gap: var(--s-300); padding: var(--s-300) var(--s-400); border-top: 1px solid var(--line); }
.stage:first-child { border-top: 0; }
.stage dt { display: flex; align-items: center; gap: var(--s-100); font-weight: 600; }
.stage dt .icon { color: var(--accent); }
.stage dd { margin: 0; color: var(--text-muted); }
.stages.js-motion .stage dt, .stages.js-motion .stage dd { transition: color 500ms var(--ease); }
.stages.js-motion .stage dt { color: var(--text-dim); }
.stages.js-motion .stage dt .icon { color: var(--text-dim); transition: color 500ms var(--ease); }
.stages.js-motion .stage dd { color: var(--text-dim); }
.stages.js-motion .stage.lit dt { color: var(--text); }
.stages.js-motion .stage.lit dt .icon { color: var(--accent); }
.stages.js-motion .stage.lit dd { color: var(--text-muted); }
@media (max-width: 760px) { .stage { grid-template-columns: 1fr; gap: var(--s-75); padding: var(--s-300); } }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-600); align-items: start; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; } }
.price-card { border-radius: 24px; padding: var(--s-75); background: var(--bg-raised); border: 1px solid var(--line); }
.price-inner { border-radius: 16px; background: var(--bg-card); padding: var(--s-400); display: flex; flex-direction: column; gap: var(--s-300); }
.price { display: flex; align-items: baseline; gap: var(--s-75); }
.price b { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.price span { color: var(--text-muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-100); }
.ticks li { display: flex; gap: var(--s-100); }
.ticks .icon { color: var(--ok); margin-top: 2px; }
.fine { color: var(--text-dim); font-size: 14px; line-height: 20px; margin: 0; }

.faq { margin-top: var(--s-600); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s-300) 0; font-weight: 600; font-size: 18px; line-height: 28px;
  display: flex; justify-content: space-between; gap: var(--s-300); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-dim); font-weight: 400; transition: transform 700ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 var(--s-300); color: var(--text-muted); max-width: 760px; }

.final { text-align: center; }
.final .section-title, .final .section-lede { margin-left: auto; margin-right: auto; }
.final .cta-row { margin-top: var(--s-500); }

/* ---------- legal pages ---------- */
.doc { padding: 160px 0 var(--s-900); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; margin-bottom: var(--s-200); }
.doc h2 { font-size: 24px; line-height: 32px; margin: var(--s-600) 0 var(--s-200); }
.doc p, .doc li { color: var(--text-muted); }
.doc ul { padding-left: var(--s-300); }
.doc .meta { color: var(--text-dim); font-size: 14px; line-height: 20px; }
.back { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--text-muted); text-decoration: none; font-size: 14px; line-height: 20px; margin-bottom: var(--s-400); }
.back:hover { color: var(--text); }
.back .icon { transform: rotate(180deg); width: 16px; height: 16px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--bg-card); padding: var(--s-600) 0; color: var(--text-dim); font-size: 14px; line-height: 20px; }
.foot .wrap { display: flex; justify-content: space-between; gap: var(--s-300); flex-wrap: wrap; }
.foot nav { display: flex; gap: var(--s-300); flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(64px); filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.group .stagger { opacity: 0; transform: translateY(64px); filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease), background-color 700ms var(--ease); }
.group.in .stagger { opacity: 1; transform: none; filter: none; }
.group.in .feature.stagger:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .group .stagger { opacity: 1; transform: none; filter: none; }
  .tagline .w { color: var(--text); }
}

/* The example run, right after the scroll story. */
.run { padding: var(--s-900) 0; }
.run .studio { margin-top: 0; }
@media (max-width: 760px) { .run { padding: var(--s-800) 0; } }
