/* Kapibara Works - one stylesheet for every page. Product pages are black; documents follow the OS light/dark.
   Scroll motion: site.js writes --p (0..1 progress through a [data-scene]) and toggles .in / .on; every effect has a static
   fallback (no JS, prefers-reduced-motion). Fonts are self-hosted subsets (build/fonts.py). */
@font-face { font-family: "Inter"; src: url(/assets/inter.76e25a8a.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+00D7; }
@font-face { font-family: "Noto Sans JP"; src: url(/assets/noto-400.76e25a8a.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url(/assets/noto-700.76e25a8a.woff2) format("woff2"); font-weight: 600 900; font-display: swap; }

:root {
  --bg: #000; --fg: #f5f5f7; --muted: #a1a1a6; --line: rgba(255,255,255,.14); --card: #111114; --card2: #1c1c1f;
  --accent: #2997ff; --accent-rgb: 41,151,255; --on-accent: #000;
  --ease: cubic-bezier(.2,.75,.2,1); --maxw: 1120px; --gutter: max(20px, calc((100vw - var(--maxw)) / 2));
  --pw: 330px;
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  color-scheme: dark;
}
.theme-auto { color-scheme: light dark; }
@media (prefers-color-scheme: light) {
  .theme-auto { --bg: #fff; --fg: #1d1d1f; --muted: #6e6e73; --line: rgba(0,0,0,.12); --card: #f5f5f7; --card2: #e8e8ed; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
:lang(ja) body, body:lang(ja) { line-height: 1.85; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-s { width: 1em; height: 1em; }
.ico-l { width: 32px; height: 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .9); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 var(--gutter); }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 15px; letter-spacing: -.01em; }
.logo { width: 26px; height: 26px; border-radius: 7px; }
.nav nav { display: flex; gap: 4px; }
.nav nav a { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; font-size: 14px; text-decoration: none; color: var(--muted); border-radius: 10px; }
.nav nav a:hover { color: var(--fg); }
@media (max-width: 480px) { .brand { font-size: 14px; gap: 8px; } .nav nav a { padding: 0 7px; font-size: 13px; } .nav nav a .ico { display: none; } }
@media (max-width: 350px) { .brand span { display: none; } }

/* ---------- shared bits ---------- */
.display { font-size: clamp(38px, 7vw, 92px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
:lang(ja) .display { letter-spacing: -.01em; line-height: 1.15; }
.eyebrow, .kicker { display: block; font-size: clamp(15px, 1.6vw, 19px); font-weight: 650; color: var(--accent); letter-spacing: .02em; margin-bottom: 14px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.section-title { font-size: clamp(30px, 4.8vw, 56px); letter-spacing: -.03em; text-align: center; margin-bottom: clamp(32px, 6vw, 64px); }
:lang(ja) .section-title { letter-spacing: 0; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 650; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .25s, opacity .25s; }
.btn:active { transform: scale(.96); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); color: var(--fg); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn-store { background: var(--fg); color: var(--bg); }
.btn-soon { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); cursor: default; }
.price { color: var(--muted); font-size: 15px; }
.app-icon { border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 30px -8px rgba(var(--accent-rgb), .5); }

/* phone frame: --pw sets the width; the screen keeps the iPhone screenshot ratio */
.phone { position: relative; width: var(--pw); padding: calc(var(--pw) * .032); border-radius: calc(var(--pw) * .165); background: linear-gradient(150deg, #3a3a3f, #121214 40%, #2a2a2e); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(var(--accent-rgb), .45); }
.phone-screen { position: relative; aspect-ratio: 1320 / 2868; border-radius: calc(var(--pw) * .135); overflow: hidden; background: #000; }
.phone-screen > img, .phone-screen > canvas, .phone-screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-island { position: absolute; top: calc(var(--pw) * .058); left: 50%; width: 29%; height: calc(var(--pw) * .085); transform: translateX(-50%); background: #000; border-radius: 999px; }
.shot { transition: opacity .55s var(--ease), transform .7s var(--ease); }
.phone-screen > .shot:not(:first-child) { opacity: 0; transform: scale(1.04); }
.phone-screen > .shot.on { opacity: 1; transform: none; }
.has-step .phone-screen > .shot:first-child:not(.on) { opacity: 0; }

/* reveal on enter (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform .9s var(--ease) calc(var(--d, 0) * 90ms); }
.js .words .w { display: inline-block; opacity: 0; transform: translateY(.35em); }
.js .words.in .w { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(var(--i) * 110ms), transform .9s var(--ease) calc(var(--i) * 110ms); }

/* ---------- top: hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 110px 20px 90px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg span { position: absolute; width: 70vmax; height: 70vmax; left: calc(var(--k) * 26% - 30%); top: calc(10% + var(--k) * 6%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 55%, transparent), transparent); opacity: .5; animation: drift 16s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -4s); }
@keyframes drift { to { transform: translate3d(6vmax, -5vmax, 0) scale(1.15); } }
.hero-in { position: relative; max-width: 980px; transform: translateY(calc(var(--p, 0) * -80px)) scale(calc(1 - var(--p, 0) * .08)); opacity: calc(1 - var(--p, 0) * 1.4); }
.hero .eyebrow { color: var(--fg); opacity: .8; }
.hero-title { font-size: clamp(42px, 8.6vw, 112px); }
.hero-lead { margin: 28px auto 0; max-width: 36em; font-size: clamp(16px, 1.8vw, 21px); color: var(--muted); }
.hero-icons { list-style: none; padding: 0; margin: 48px 0 0; display: flex; justify-content: center; gap: clamp(14px, 3vw, 34px); flex-wrap: wrap; }
.hero-icons a { display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: 13px; color: var(--muted); }
.hero-icons img { width: clamp(58px, 9vw, 84px); height: auto; transition: transform .35s var(--ease); }
.hero-icons a:hover img { transform: translateY(-4px) scale(1.04); }
.js .hero-icons li { opacity: 0; transform: translateY(40px) scale(.7) rotate(calc((var(--k) - (var(--n) - 1) / 2) * 8deg)); }
.js .hero-icons.in li { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(600ms + var(--k) * 110ms), transform 1.1s cubic-bezier(.3,1.5,.4,1) calc(600ms + var(--k) * 110ms); }
.scroll-cue { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; font-size: 12px; color: var(--muted); text-decoration: none; opacity: calc(1 - var(--p, 0) * 3); }
.scroll-cue .ico { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- scenes (sticky full-screen sections) ---------- */
.scene { position: relative; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.stage-glow { position: absolute; inset: -10%; pointer-events: none; background:
  radial-gradient(55% 45% at 72% 58%, rgba(var(--accent-rgb), calc(.08 + var(--glow, .25))) 0, transparent 70%),
  radial-gradient(40% 40% at 15% 30%, rgba(var(--accent-rgb), calc(var(--glow, .25) * .4)) 0, transparent 70%); }

.app-scene { height: 270vh; }
.app-scene .stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; padding: 52px var(--gutter) 0; --glow: calc(min(1, var(--p, 1) * 3) * .28); }
.app-scene.flip .stage-text { order: 2; }
.app-scene.flip .stage-glow { transform: scaleX(-1); }
.stage-text { position: relative; }
.stage-text .app-icon { width: 72px; height: 72px; margin-bottom: 26px; }
.app-scene .display { font-size: clamp(36px, 5.6vw, 76px); }
.app-scene .lead { margin-top: 22px; }
.app-scene .kicker { margin-bottom: 12px; }
.stage-phone { position: relative; display: grid; place-items: center; perspective: 1400px; }
.app-scene .phone { --e: min(1, calc(var(--p, 1) * 3.2)); transform: translateY(calc((1 - var(--e)) * 38%)) rotateX(calc((1 - var(--e)) * 32deg)) rotateZ(calc((1 - var(--e)) * -9deg)) scale(calc(.82 + var(--e) * .18 - max(0, var(--p, 0) - .85) * .6)); transform-origin: 50% 80%; will-change: transform; }

/* sequence: frames scrubbed with scroll */
.seq-scene { height: 420vh; }
.seq-scene .stage { display: grid; place-items: center; --glow: .22; }
.seq-phone { --pw: min(340px, 36svh); position: relative; transform: scale(calc(.9 + min(1, var(--p, 1) * 6) * .1)); }
.seq-phone canvas { opacity: 0; transition: opacity .3s; }
.seq-scene.ready .seq-phone canvas { opacity: 1; }
.seq-caps { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.seq-caps li { position: absolute; top: 50%; display: flex; align-items: center; gap: 12px; max-width: min(320px, 30vw); font-size: clamp(22px, 2.6vw, 34px); font-weight: 750; line-height: 1.25; letter-spacing: -.02em; opacity: 0; transform: translateY(-30%); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.seq-caps li .ico { color: var(--accent); width: 34px; height: 34px; }
.seq-caps li:nth-child(odd) { right: calc(50% + min(340px, 36svh) / 2 + 56px); flex-direction: row-reverse; text-align: right; }
.seq-caps li:nth-child(even) { left: calc(50% + min(340px, 36svh) / 2 + 56px); }
.seq-caps li.on { opacity: 1; transform: translateY(-50%); }

/* statement: words light up with scroll */
.statement { height: 200vh; }
.statement .stage { display: grid; place-items: center; padding: 0 var(--gutter); }
.lit { max-width: 980px; font-size: clamp(28px, 4.4vw, 56px); font-weight: 750; line-height: 1.3; letter-spacing: -.02em; }
:lang(ja) .lit { letter-spacing: 0; line-height: 1.45; }
.lit span { opacity: clamp(.16, calc(var(--p, 1) * 1.5 * var(--n) - var(--i)), 1); transition: opacity .15s linear; }

/* ---------- product page ---------- */
.product { position: relative; }
.p-hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 110px var(--gutter) 60px; overflow: hidden; --glow: .3; }
.p-hero-in { position: relative; }
.app-icon-xl { width: 120px; height: 120px; margin-bottom: 30px; }
.p-name { font-size: clamp(54px, 10vw, 128px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
:lang(ja) .p-name { letter-spacing: -.02em; }
.p-sub { margin-top: 20px; font-size: clamp(20px, 2.6vw, 32px); font-weight: 650; color: var(--fg); max-width: 22em; line-height: 1.35; }
.p-sub, .p-hero .ctas { --d: 3; }
.soon-note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.p-hero-phone { position: relative; --pw: min(330px, 34svh); }
/* transform only: the hero screenshot is the LCP image, so it stays opaque from the first paint */
.js .rise { transform: translateY(80px) rotateX(18deg); }
.js .rise.in { transform: none; transition: transform 1.4s var(--ease) .1s; }

.features { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.feat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.feat-phone { position: sticky; top: calc(50svh - var(--pw) * 1.1); align-self: start; display: grid; justify-items: center; }
.feat-list { list-style: none; margin: 0; padding: 0; }
.feat { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .35; transition: opacity .5s var(--ease); }
.feat.active { opacity: 1; }
.feat-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgba(var(--accent-rgb), .14); color: var(--accent); margin-bottom: 22px; }
.feat h3 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.02em; margin-bottom: 14px; }
:lang(ja) .feat h3 { letter-spacing: 0; }
.feat p { color: var(--muted); font-size: 18px; max-width: 30em; }
.feat-inline { display: none; }

.video-sec { padding: 40px var(--gutter) clamp(80px, 12vw, 150px); text-align: center; }
.video-wrap { position: relative; display: inline-block; --pw: min(330px, 70vw); }
.vbtn { position: absolute; right: -64px; bottom: 8px; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; color: var(--fg); }
.vbtn .i-pause, .vbtn[aria-pressed="true"] .i-play { display: none; }
.vbtn[aria-pressed="true"] .i-pause { display: block; }

.notice { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 0 auto clamp(60px, 9vw, 110px); padding: 20px 24px; border-radius: 20px; background: var(--card); box-shadow: inset 4px 0 0 var(--accent); color: var(--muted); font-size: 15px; }
.notice .ico { color: var(--accent); margin-top: 3px; }
.facts { padding: 0 var(--gutter) clamp(70px, 10vw, 130px); }
.chips { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 980px; }
.chip { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: 22px; background: var(--card); font-weight: 600; font-size: 16px; line-height: 1.45; }
.chip .ico { color: var(--accent); width: 28px; height: 28px; }
.specs { max-width: 980px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.specs div { padding: 16px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 600; }
.note-inline { margin-top: 4px; font-weight: 400; font-size: 14px; color: var(--muted); }
.cta { position: relative; text-align: center; padding: clamp(80px, 12vw, 150px) 20px; display: grid; justify-items: center; background: radial-gradient(50% 60% at 50% 100%, rgba(var(--accent-rgb), .22), transparent 70%); }
.cta .app-icon { width: 96px; height: 96px; margin-bottom: 22px; }
.cta-name { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.03em; }
.cta-sub { margin-top: 10px; color: var(--muted); font-size: 18px; }
.cta .ctas { justify-content: center; }
.cta-links { list-style: none; padding: 0; margin: 30px 0 0; display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; }
.cta-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); text-decoration: none; font-weight: 600; }
.cta-links a:hover { text-decoration: underline; }

/* ---------- top: principles, soon ---------- */
.principles { padding: clamp(90px, 13vw, 170px) var(--gutter); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 34px 30px; border-radius: 28px; background: var(--card); }
.card .ico { color: #f5b13d; margin-bottom: 22px; }
.card:nth-child(2) .ico { color: #5cc8f5; }
.card:nth-child(3) .ico { color: #8fa9e8; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.soon { padding: 0 var(--gutter) clamp(90px, 12vw, 150px); }
.soon-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.soon-list a, .app-rows a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 22px; background: var(--card); text-decoration: none; }
.soon-list .app-icon, .app-rows .app-icon { width: 56px; height: 56px; }
.soon-list span, .app-rows span { flex: 1; display: grid; }
.soon-list small, .app-rows small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.soon-list em { font-style: normal; font-size: 13px; font-weight: 650; color: var(--accent); }

/* ---------- documents ---------- */
.page-doc main { padding: 100px 20px 80px; }
.doc { max-width: 760px; margin: 0 auto; font-size: 16.5px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); letter-spacing: -.02em; margin-bottom: 10px; }
.doc h2 { font-size: 21px; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc p, .doc li { margin: 8px 0; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc a { color: var(--accent); }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.crumbs a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 650; text-decoration: none; color: var(--fg) !important; margin-bottom: 8px; }
.crumb-icon { border-radius: 22.5%; }
.doc .chips-doc { padding: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 8px 0 8px; }
.chips-doc .chip { padding: 16px; font-size: 14.5px; border-radius: 16px; }
.doc .notice { margin: 8px 0 24px; max-width: none; }
.steps li { padding-left: 4px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 0; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .3s var(--ease); color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.contact-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.app-rows { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.app-rows li { margin: 0 !important; }
.app-rows .ico { color: var(--muted); }
.doc .app-rows a { color: var(--fg); }
@media (prefers-color-scheme: light) {
  .theme-auto .doc a:not(.btn), .theme-auto .chip .ico, .theme-auto .notice .ico { color: color-mix(in srgb, var(--accent) 48%, #000); }
  .theme-auto .doc .app-rows a, .theme-auto .crumbs a { color: var(--fg); }
}
.nf { text-align: center; padding-top: 10vh; }
.nf h1 { font-size: 96px; }

/* contact form */
.contact { margin-top: 56px; padding: 28px; border-radius: 28px; background: var(--card); scroll-margin-top: 80px; }
.contact h2 { border: 0; margin: 0 0 6px; padding: 0; font-size: 26px; }
.contact > p { color: var(--muted); }
.form { display: grid; gap: 16px; margin: 22px 0 16px; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.f small { font-weight: 400; color: var(--muted); }
.f-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.f input, .f select, .f textarea { width: 100%; font-size: 16px; font-weight: 400; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); min-height: 48px; }
.f textarea { resize: vertical; min-height: 140px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .5; cursor: progress; }
.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: 14px; background: var(--card2); font-weight: 600; }
.form-status.ok { background: rgba(48,209,88,.16); }
.form-status.err { background: rgba(255,69,58,.16); }
.small { font-size: 13.5px; color: var(--muted); margin-top: 6px !important; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px var(--gutter) calc(32px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--fg); margin-bottom: 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot h2 { font-size: 13px; color: var(--fg); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; padding: 7px 0; text-decoration: none; }
.foot a:hover { color: var(--fg); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-bottom a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .app-scene { height: 230vh; }
  .app-scene .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 18px; padding: calc(64px + env(safe-area-inset-top)) 20px 0; }
  .app-scene.flip .stage-text { order: 0; }
  .stage-text .app-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .app-scene .display { font-size: clamp(28px, 8.4vw, 40px); }
  .app-scene .lead { font-size: 14.5px; margin-top: 10px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .app-scene .kicker { margin-bottom: 6px; font-size: 14px; }
  .app-scene .ctas { margin-top: 14px; gap: 8px; }
  .app-scene .btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
  .stage-phone { align-self: start; }
  .app-scene .phone { --pw: min(52vw, 21svh); }
  .p-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-top: 96px; gap: 36px; }
  .p-hero .ctas { justify-content: center; }
  .p-sub { margin-inline: auto; }
  .app-icon-xl { width: 96px; height: 96px; margin: 0 auto 22px; }
  .p-hero-phone { --pw: min(62vw, 300px); }
  .seq-phone { --pw: min(58vw, 30svh); }
  .seq-caps li { left: 20px !important; right: 20px !important; top: auto; bottom: calc(5svh + env(safe-area-inset-bottom)); max-width: none; justify-content: center; text-align: center !important; flex-direction: row !important; font-size: 21px; transform: translateY(20px); }
  .seq-caps li.on { transform: none; }
  .seq-scene .stage { place-items: start center; padding-top: calc(70px + env(safe-area-inset-top)); }
  .feat-grid { grid-template-columns: 1fr; gap: 0; }
  .feat-phone { display: none; }
  .feat { min-height: 0; opacity: 1; padding: 36px 0; }
  .feat-inline { display: grid; justify-items: center; margin-top: 28px; }
  .phone-s { --pw: min(64vw, 280px); }
  .vbtn { right: 50%; bottom: -64px; transform: translateX(50%); }
  .video-sec { padding-bottom: 130px; }
  .cards { grid-template-columns: 1fr; }
  .lit { font-size: 24px; }
  .f-row { grid-template-columns: 1fr; }
  .contact { padding: 22px 18px; margin-inline: -4px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .app-scene .lead { display: none; }
}

/* ---------- reduced motion: everything static and fully visible ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .words .w, .js .hero-icons li, .js .rise { opacity: 1 !important; transform: none !important; }
  .hero-in, .scroll-cue { transform: none !important; opacity: 1 !important; }
  .app-scene, .seq-scene, .statement { height: auto; }
  .stage { position: relative; height: auto; min-height: 0; padding-top: 72px !important; padding-bottom: 72px !important; }
  .app-scene .phone, .seq-phone { transform: none !important; }
  .seq-phone canvas { display: none; }
  .seq-caps { position: static; display: grid; gap: 14px; margin-top: 32px; }
  .seq-caps li { position: static; opacity: 1; transform: none !important; max-width: none; justify-content: center; flex-direction: row !important; text-align: left !important; }
  .seq-scene .stage { display: grid; justify-items: center; }
  .lit span { opacity: 1; }
  .feat { opacity: 1; }
}
