:root {
  --bg: #fff8ef;
  --surface: #ffffff;
  --ink: #17120d;
  --ink-2: #4a4036;
  --muted: #7a6e62;
  --line: #eadfce;
  --brand: #ff7a00;
  --brand-ink: #b34f00;
  --brand-soft: #ffe8cf;
  --dark: #17120d;
  --dark-2: #2a221b;
  --ok: #1f9d55;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(23, 18, 13, .06), 0 8px 24px rgba(23, 18, 13, .08);
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 112px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 40ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 700 1.05rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 0 var(--brand-ink);
  transition: transform .12s ease, box-shadow .12s ease, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--brand-ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-dark { background: var(--dark); box-shadow: 0 6px 0 #000; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; border: 2px solid var(--line); }
.btn-block { width: 100%; }
.btn-note { display: block; margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 239, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.1rem var(--font-display); text-decoration: none; letter-spacing: -.01em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--dark); color: var(--brand); display: grid; place-items: center; font-size: 1.1rem; }
.site-header .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; box-shadow: 0 4px 0 var(--brand-ink); }

/* Hero */
.hero { padding: clamp(40px, 8vw, 88px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--ink-2); font-size: .95rem; }
.icon-stack { display: flex; }
.icon-stack img { width: 36px; height: 36px; border-radius: 9px; border: 2px solid var(--bg); margin-left: -8px; }
.icon-stack img:first-child { margin-left: 0; }

.phone {
  position: relative; width: min(320px, 100%); aspect-ratio: 9 / 19; margin-inline: auto;
  background: var(--dark); border-radius: 46px; padding: 14px; box-shadow: 0 30px 60px rgba(23, 18, 13, .25);
}
.phone-screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(160deg, #ffb35c 0%, #ff7a00 45%, #c2410c 100%);
  padding: 54px 18px 18px; display: grid; grid-template-columns: repeat(4, 1fr); align-content: start; gap: 18px 12px;
}
.phone-screen img { width: 100%; aspect-ratio: 1; border-radius: 22%; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.phone-notch { position: absolute; top: 24px; left: 50%; translate: -50% 0; width: 96px; height: 28px; border-radius: 20px; background: var(--dark); }
.phone-badge {
  position: absolute; left: -28px; bottom: 70px; background: var(--surface); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3; max-width: 210px;
}
.phone-badge strong { display: block; font-size: 1.5rem; font-family: var(--font-display); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stat strong { display: block; font: 800 2.2rem/1 var(--font-display); margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.timeline li:last-child { padding-bottom: 0; }
.timeline b { display: block; font-family: var(--font-display); }
.timeline span { color: var(--muted); font-size: .95rem; }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.app {
  display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: 18px; padding: 14px;
  text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease;
}
a.app:hover { transform: translateY(-2px); }
.app img, .app .letter { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.app .letter { display: grid; place-items: center; background: var(--dark); color: var(--brand); font: 800 1.4rem var(--font-display); }
.app b { display: block; font-size: 1rem; line-height: 1.25; }
.app small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.tag { display: inline-block; margin-top: 4px; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tag-live { background: #dcf5e6; color: #15703d; }
.tag-built { background: var(--brand-soft); color: var(--brand-ink); }
.apps-sub { margin: 40px 0 16px; font-size: 1.1rem; }

/* Days */
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; counter-reset: day; }
.day { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.day .num { font: 800 .85rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.day h3 { margin: 6px 0 8px; }
.day p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.day.after { background: var(--dark); color: #fff; }
.day.after p { color: #d9cfc4; }
.day.after .num { color: var(--brand); }

/* Dark band */
.band { background: var(--dark); color: #fff; }
.band .lead, .band .muted { color: #d9cfc4; }
.includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.include { background: var(--dark-2); border-radius: var(--radius); padding: 24px; }
.include h3 { color: #fff; }
.include p { color: #d9cfc4; margin: 0; }
.include .ico { font-size: 1.6rem; margin-bottom: 10px; }

/* Fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.fit-card ul { margin: 0; padding: 0; list-style: none; }
.fit-card li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--line); }
.fit-card li:last-child { border-bottom: 0; }
.fit-card li::before { position: absolute; left: 0; top: 8px; font-weight: 800; }
.fit-yes li::before { content: "✓"; color: var(--ok); }
.fit-no li::before { content: "✕"; color: #c2410c; }

/* Founding */
.founding { background: linear-gradient(135deg, #ff9a2e, #ff7a00 50%, #e2560a); color: #fff; border-radius: 32px; padding: clamp(32px, 6vw, 64px); text-align: center; }
.founding .lead { color: #fff6ec; margin-inline: auto; }
.founding .btn { background: var(--dark); box-shadow: 0 6px 0 #000; }
.founding ul { list-style: none; padding: 0; margin: 24px auto 32px; display: grid; gap: 8px; max-width: 520px; text-align: left; }
.founding li { background: rgba(255, 255, 255, .14); border-radius: 12px; padding: 10px 14px; }

/* FAQ */
.faq details { background: var(--surface); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--brand-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }

.site-footer { padding: 40px 0 56px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

@media (max-width: 900px) {
  .hero-grid, .story { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone { width: 230px; }
  .phone-badge { left: auto; right: -12px; bottom: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .includes, .fit { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
