/* ============ Tokens ============ */
:root {
  --bg: #FAFAF7;
  --bg-soft: #F2F1EC;
  --surface: #FFFFFF;
  --text: #151513;
  --muted: #5A5954;
  --muted-2: #8C8A82;
  --border: #E6E4DC;
  --accent: #FF5C2A;
  --accent-hover: #FF7247;
  --accent-soft: #FFE9E0;
  --accent-deep: #8A2E0E;
  --dark: #17171A;
  --dark-2: #232327;
  --on-dark: #F4F3EE;
  --on-dark-muted: #B3B1A8;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1120px;
  --font: 'Manrope', -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(var(--container), 100% - 4rem); } }

.hl { background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 94%, transparent 94%); padding-inline: .05em; margin-inline: -.05em; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 1rem; }
.showcase .eyebrow { color: var(--accent); }
.section-accent .eyebrow { color: rgba(21,21,19,.7); }
.lead, .section-lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 46ch; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.actions.center { justify-content: center; }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.6rem; border-radius: 999px; font-weight: 800; font-size: 1rem; line-height: 1; white-space: nowrap; transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255,92,42,.28); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--bg-soft); color: var(--text); }
.btn-ghost:hover { background: #E8E6DF; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2B2B30; }
.btn-sm { padding: .7rem 1.2rem; font-size: .92rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; margin-top: 1.25rem; color: var(--accent-deep); }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ============ Header ============ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.035em; }
.logo-mark { width: 34px; height: 34px; transition: transform .25s ease; }
.logo:hover .logo-mark { transform: rotate(-6deg); }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; font-weight: 700; font-size: .95rem; color: var(--muted); }
.nav-menu a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; }
@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; margin-right: -8px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin-inline: auto; transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-menu { position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: .5rem 1rem 1rem; display: none; }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: .85rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-menu .btn { margin-top: 1rem; }
}

/* ============ Hero ============ */
.hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0 0; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.4rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.hero h1 { max-width: 16ch; }
.hero-note { color: var(--muted-2); font-size: .9rem; max-width: 44ch; }


.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-radius: 14px; padding: .65rem .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: .85rem; line-height: 1.25; }
.chip div { display: grid; }
.chip b { font-weight: 800; }
.chip span { color: var(--muted); font-size: .78rem; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.chip-1 { left: 6%; top: 12%; }
.chip-2 { right: 6%; top: 30%; }
.chip-3 { left: 10%; bottom: 14%; }
@media (max-width: 640px) { .chip-1 { left: 4%; top: 6%; } .chip-2 { right: 4%; top: 40%; } .chip-3 { left: 4%; bottom: 8%; } }


/* ============ Strip ============ */
.strip { padding: 3rem 0 2rem; }
.strip-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.4rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--muted-2); }
.strip-logos a { padding: .4rem .2rem; transition: color .15s ease; }
.strip-logos a:hover { color: var(--text); }

/* ============ Sections ============ */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head h2 { margin-bottom: 1.1rem; }
.section-soft { background: var(--bg-soft); }

/* ============ Showcase (dark) ============ */
.showcase { background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg); margin: 2rem .5rem 0; padding: clamp(4rem, 9vw, 7.5rem) 0 0; overflow: hidden; }
@media (min-width: 768px) { .showcase { margin-inline: 1rem; } }
.showcase .section-lead { color: var(--on-dark-muted); }


/* ============ Product cards ============ */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(21,21,19,.10); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-media > .app-shot { width: 100%; height: 100%; }

.badge { position: absolute; left: 1rem; top: 1rem; background: var(--c); color: var(--text); font-size: .74rem; font-weight: 800; letter-spacing: .04em; padding: .35rem .7rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.card-body { padding: 1.75rem; }
.card-body h3 { font-size: 1.6rem; margin-bottom: .7rem; }
.card-desc { color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 40ch; text-wrap: pretty; }
.card-featured { margin-bottom: 1.25rem; }
@media (min-width: 900px) {
  .card-featured { display: grid; grid-template-columns: 1.1fr 1fr; }
  .card-featured .card-media { aspect-ratio: auto; min-height: 560px; }
  .card-featured .app-shot { position: absolute; inset: 0; }
  .card-featured .card-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
  .card-featured .card-body h3 { font-size: clamp(2rem, 4vw, 2.6rem); }
  .card-featured .card-desc { font-size: 1.12rem; }
}
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .card-grid { grid-template-columns: 1fr 1fr; } }

/* ============ Services ============ */
.miniapp-callout { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 1rem; padding: clamp(1.75rem, 4vw, 3rem); background: var(--dark); color: var(--on-dark); border-radius: var(--radius); }
@media (min-width: 760px) { .miniapp-callout { grid-template-columns: 1.5fr .8fr; } }
.miniapp-callout .eyebrow { color: var(--accent); margin-bottom: .75rem; }
.miniapp-callout h3 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin-bottom: .65rem; }
.miniapp-callout p:not(.eyebrow) { color: var(--on-dark-muted); max-width: 62ch; }
.miniapp-price { display: grid; gap: .35rem; align-content: center; justify-items: start; }
.miniapp-price strong { color: var(--accent); font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.03em; }
.miniapp-price span { color: var(--on-dark-muted); font-size: .9rem; margin-bottom: .85rem; }
.services { display: grid; gap: 1rem; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; }
.service-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 1.1rem; }
.service-icon svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--muted); font-size: .98rem; }

/* ============ Accent / manifesto ============ */
.section-accent { background: var(--accent); color: var(--text); }
.section-accent .section-lead { color: rgba(21,21,19,.78); }
.manifesto { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; max-width: 760px; }
.manifesto .btn { margin-top: .5rem; }

/* ============ Team ============ */
.team-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.team-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 70px rgba(21,21,19,.14); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-text h2 { margin-bottom: 1rem; }
.numbers { display: grid; grid-template-columns: repeat(3, auto); gap: 2rem; margin-top: 2rem; justify-content: start; }
.numbers div { display: grid; gap: .15rem; }
.numbers strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.numbers span { color: var(--muted); font-weight: 700; font-size: .9rem; }

/* ============ Process ============ */
.process { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .process { grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; } }
.process-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .process-photo { aspect-ratio: 16 / 9; } }
.process-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% top; }
.steps { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.steps li { border-top: 2px solid var(--text); padding-top: 1.1rem; }
.step-num { display: block; font-weight: 800; color: var(--accent-deep); font-size: .85rem; letter-spacing: .1em; margin-bottom: .6rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* ============ FAQ ============ */
.faq-wrap { max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin-bottom: .75rem; padding: 0 1.4rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); font-weight: 700; transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { color: var(--muted); padding: 0 3rem 1.4rem 0; max-width: 62ch; }

/* ============ CTA ============ */
.cta { padding-top: 0; }
.cta-box { background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.cta-box h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
.cta-box .section-lead { color: var(--on-dark-muted); }
.cta-box .btn-ghost { background: var(--dark-2); color: var(--on-dark); }
.cta-box .btn-ghost:hover { background: #2E2E33; }

/* ============ Footer ============ */
.site-footer { padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 30ch; }
.site-footer h4 { font-size: .95rem; margin-bottom: .9rem; }
.site-footer a:not(.logo) { display: block; color: var(--muted); padding: .25rem 0; }
.site-footer a:not(.logo):hover { color: var(--text); }
.footer-bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: var(--muted-2); font-size: .85rem; }

/* ============ Reveal ============ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}




/* ============================================================
   DEVICE FRAMES — real product screenshots, framed
   ============================================================ */
.ic { display: inline-grid; place-items: center; width: 1em; height: 1em; flex: none; }
.ic svg { width: 100%; height: 100%; display: block; }

/* mac-style browser window */
.dev-browser { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 60px 120px -25px rgba(21,21,19,.4), 0 20px 40px -20px rgba(21,21,19,.25), 0 0 0 1px rgba(21,21,19,.08); }
.dev-bar { display: flex; align-items: center; gap: .7rem; padding: .55rem .9rem; background: linear-gradient(#F8F7F2, #EFEDE6); border-bottom: 1px solid #E2DFD5; }
.dev-bar .tl { display: inline-flex; gap: .42rem; }
.dev-bar .tl i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.dev-bar .tl i:nth-child(2) { background: #FEBC2E; } .dev-bar .tl i:nth-child(3) { background: #28C840; }
.dev-tab { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border-radius: 8px 8px 0 0; padding: .4rem .85rem .55rem; margin-bottom: -.55rem; font-size: .78rem; font-weight: 700; box-shadow: 0 0 0 1px #E2DFD5; }
.dev-tab u { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dev-url { display: inline-flex; align-items: center; gap: .4rem; flex: 1; max-width: 300px; background: #fff; border-radius: 999px; padding: .3rem .9rem; font-size: .78rem; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1px #E2DFD5; }
.dev-url .ic { color: #1F8A4C; font-size: .8em; }
.dev-body { position: relative; aspect-ratio: 1200 / 750; background: #EEF0EA; }
.dev-body img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (max-width: 560px) { .dev-tab, .dev-url { display: none; } .dev-bar { padding: .5rem .8rem; } }

/* phone */
.dev-phone { container-type: inline-size; position: relative; background: linear-gradient(155deg, #5A5A63 0%, #23232A 30%, #0B0B0E 100%); border-radius: 2.4rem; padding: .4rem; box-shadow: 0 50px 90px -22px rgba(0,0,0,.6), 0 18px 30px -14px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.16); }
.dev-phone::after { content: ""; position: absolute; inset: .4rem; border-radius: 2rem; box-shadow: inset 0 0 0 .14rem #050506; pointer-events: none; z-index: 2; }
.dev-screen { position: relative; border-radius: 2rem; overflow: hidden; background: var(--sb, #fff); aspect-ratio: 390 / 844; display: flex; flex-direction: column; }
.dev-screen img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top center; }

/* iOS-style status bar so the dynamic island never covers app content */
.dev-statusbar { flex: none; height: 8%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.2cqw 7.5% 0; background: var(--sb, #fff); color: #151513; font-size: 5.1cqw; font-weight: 700; letter-spacing: -.01em; }
.dev-time { font-variant-numeric: tabular-nums; }
.dev-meta { display: inline-flex; align-items: center; gap: .38em; }
.dev-sig { display: inline-flex; align-items: flex-end; gap: .12em; }
.dev-sig i { width: .17em; background: currentColor; border-radius: .06em; height: .26em; }
.dev-sig i:nth-child(2) { height: .38em; } .dev-sig i:nth-child(3) { height: .5em; } .dev-sig i:nth-child(4) { height: .62em; }
.dev-wifi { width: .78em; height: .6em; fill: currentColor; }
.dev-bat { width: 1.1em; height: .56em; border: .08em solid currentColor; border-radius: .18em; padding: .07em; position: relative; }
.dev-bat i { display: block; width: 78%; height: 100%; background: currentColor; border-radius: .08em; }
.dev-bat::after { content: ""; position: absolute; right: -.16em; top: 50%; transform: translateY(-50%); width: .08em; height: .22em; background: currentColor; border-radius: 0 .06em .06em 0; }

.dev-notch { position: absolute; left: 50%; top: calc(.4rem + 3.2cqw); transform: translateX(-50%); width: 31cqw; height: 9cqw; background: #050506; border-radius: 999px; z-index: 3; }

/* hero composition */
.hero-stage { position: relative; padding-bottom: 4.5rem; }
.stage-glow { position: absolute; inset: -12% -6% -4%; z-index: -1; pointer-events: none; filter: blur(34px);
  background: radial-gradient(38% 48% at 28% 42%, rgba(255,92,42,.20), transparent 70%),
              radial-gradient(34% 44% at 86% 78%, rgba(255,197,61,.26), transparent 70%),
              radial-gradient(30% 40% at 68% 8%, rgba(217,59,43,.12), transparent 70%); }
@media (min-width: 721px) { .hero-stage .dev-browser { width: 86%; margin-right: auto; } }
.stage-phone { position: absolute; right: 0; bottom: 0; width: 24%; max-width: 250px; }
@media (max-width: 720px) { .hero-stage { padding-bottom: 0; } .stage-phone { display: none; } }

/* showcase phones */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 1.6rem; padding-top: 1rem; }
.phones .dev-phone { width: 268px; flex: none; transform: translateY(30px); }
.phones .dev-phone--main { width: 302px; transform: translateY(0); }
@media (max-width: 900px) { .phones .dev-phone:not(.dev-phone--main) { display: none; } .phones .dev-phone--main { transform: translateY(16px); } }

/* product cards */
.card-media > .shot-img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s ease; }
.card:hover .card-media > .shot-img { transform: scale(1.03); }
.shot-phone-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 2rem 1rem 0; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 10%, var(--g1), var(--g2) 70%); }
.dev-phone--card { width: min(58%, 230px); align-self: end; margin-bottom: -6%; }
@media (max-width: 899px) { .shot-phone-stage { padding-top: 1.4rem; } .dev-phone--card { width: min(46%, 190px); } }

/* card kind pill */
.card-kind { display: inline-block; background: var(--c); color: var(--fg); font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem; }
.card-note { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-size: .92rem; font-weight: 700; color: var(--muted); }
.card-note::before { content: "🔒"; font-size: .9em; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
