/* =========================================================
   AutoMakeIA — automakeia.com
   Design tokens from the Automakeia design system
   ========================================================= */

@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --surface-100: #0A0A0F;
  --surface-200: #14141C;
  --surface-300: #232330;
  --ink: #F4F3F8;
  --ink-muted: #ABA9BE;
  --accent: #FF8A3D;
  --accent-hover: #FF9D5C;
  --accent-secondary: #4DE8FF;
  --danger: #FF5C5C;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --space-2: 8px; --space-4: 16px; --space-8: 32px; --space-16: 64px;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 24px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--surface-100); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--accent); }
a:hover { color: #FFB27F; }
:focus-visible { outline: 2px solid var(--accent-secondary); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--surface-100); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; color: var(--surface-100); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.c-make { color: var(--accent); }
.c-ia { color: var(--accent-secondary); }
.c-mute { color: var(--ink-muted); }
.bg-make { background: var(--accent); color: var(--surface-100); }
.bg-ia { background: var(--accent-secondary); color: var(--surface-100); }
.bg-ink { background: var(--ink); color: var(--surface-100); }
.small { font-size: 14px; }
.center { text-align: center; }
.center .h2, .center .sub { margin-left: auto; margin-right: auto; }
.mt-64 { margin-top: 64px; } .mt-32 { margin-top: 32px; } .mt-28 { margin-top: 28px; }
.pt-40 { padding-top: 40px !important; } .pt-60 { padding-top: 60px !important; }

.eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin-top: 18px; max-width: 860px; }
.sub { color: var(--ink-muted); font-size: 18px; line-height: 28px; max-width: 600px; margin: 24px 0 0; }
.sub-lg { font-size: 20px; margin: 32px auto 0; }
.ico-check { color: var(--accent-secondary); stroke-width: 2.4; flex-shrink: 0; }
.ico-check-make { color: var(--accent); }
.ico-x { color: var(--ink-muted); stroke-width: 2.2; flex-shrink: 0; }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(.45em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes check-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes tick { from { background: var(--surface-300); color: transparent; } to { background: var(--accent-secondary); color: var(--surface-100); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(77,232,255,.55); } 50% { box-shadow: 0 0 0 7px rgba(77,232,255,0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nav-solid { from { background: rgba(10,10,15,0); border-color: rgba(35,35,48,0); padding-block: 22px; } to { background: rgba(10,10,15,.82); border-color: var(--surface-300); padding-block: 14px; } }
@keyframes par-slow { to { transform: translateY(-120px); } }
@keyframes par-fast { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-300px) rotate(5deg); } }
@keyframes fade-out { to { opacity: 0; transform: translateY(-60px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes reveal { from { opacity: 0; transform: translateY(80px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes from-l { from { opacity: 0; transform: translateX(-90px); } to { opacity: 1; transform: none; } }
@keyframes from-r { from { opacity: 0; transform: translateX(90px); } to { opacity: 1; transform: none; } }
@keyframes step-light { 0% { opacity: .22; } 35%, 65% { opacity: 1; } 100% { opacity: .22; } }
@keyframes bar-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes slide-x { to { transform: translateX(calc(-100% + 100vw)); } }
@keyframes light { to { color: var(--ink); } }
@keyframes light-a { to { color: var(--accent); } }
@keyframes light-c { to { color: var(--accent-secondary); } }
@keyframes zoom { from { transform: scale(.72); opacity: .2; letter-spacing: .08em; } to { transform: scale(1); opacity: 1; letter-spacing: -.03em; } }
@keyframes grow-small { from { transform: scaleX(0); } to { transform: scaleX(.22); } }
@keyframes ws-done { from { border-color: var(--surface-300); } to { border-color: var(--accent-secondary); } }
@keyframes ok-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

/* ---------- progress + nav ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 18px; background: rgba(10,10,15,.7); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-sm { font-size: 20px; }
.links { display: flex; gap: 30px; align-items: center; }
.links a:not(.btn) { color: var(--ink-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.links a:not(.btn):hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-md); font: 600 15px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--accent); color: var(--surface-100); }
.btn-primary:hover { color: var(--surface-100); background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(255,138,61,.7); }
.btn-primary[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--surface-300); }
.btn-ghost:hover { color: var(--ink); border-color: var(--accent-secondary); transform: translateY(-2px); }
.btn svg { transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 120px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--surface-300) 1.2px, transparent 1.2px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 6.6vw, 98px); line-height: .96; letter-spacing: -.035em; margin: 22px 0 28px; }
.h1 .w { display: inline-block; animation: rise .9s var(--ease) both; }
.h1 .w:nth-child(1) { animation-delay: .05s; } .h1 .w:nth-child(2) { animation-delay: .13s; } .h1 .w:nth-child(3) { animation-delay: .19s; }
.h1 .w:nth-child(4) { animation-delay: .25s; } .h1 .w:nth-child(5) { animation-delay: .31s; } .h1 .w:nth-child(6) { animation-delay: .37s; } .h1 .w:nth-child(7) { animation-delay: .43s; }
.hero-copy .eyebrow { animation: rise .8s var(--ease) both; }
.lead { font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 560px; margin: 0 0 40px; animation: rise .9s .55s var(--ease) both; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; animation: rise .9s .7s var(--ease) both; }
.trust { list-style: none; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; margin: 36px 0 0; color: var(--ink-muted); font-size: 14px; animation: rise .9s .85s var(--ease) both; }
.trust li { display: inline-flex; gap: 8px; align-items: center; }

.hero-visual { position: relative; }
.flow { position: relative; background: var(--surface-200); border: 1px solid var(--surface-300); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); animation: pop .9s .2s var(--ease) both; }
.flow-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--surface-300); }
.flow-title { font-weight: 600; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent-secondary); font-weight: 500; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-secondary); animation: pulse 1.8s infinite; }
.flow-in { display: flex; gap: 8px; flex-wrap: wrap; padding: 20px 0; }
.flow-in span { padding: 8px 12px; border-radius: 8px; background: var(--surface-100); border: 1px solid var(--surface-300); font-size: 13px; }
.core { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--accent); color: var(--surface-100); font-weight: 600; font-size: 15px; }
.core-dim { opacity: .7; }
.core-bar { flex-grow: 1; height: 6px; border-radius: 3px; background: rgba(10,10,15,.2); overflow: hidden; }
.core-bar i { display: block; height: 100%; background: var(--surface-100); transform-origin: 0 50%; animation: fill 2.4s .6s cubic-bezier(.4,0,.2,1) both; }
.tasks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tasks li { display: flex; align-items: center; gap: 12px; font-size: 14px; animation: check-in .5s var(--ease) both; }
.tick { width: 22px; height: 22px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; animation: tick .35s ease both; }
.tick svg { stroke-width: 3; }
.tasks li:nth-child(1), .tasks li:nth-child(1) .tick { animation-delay: 1s; }
.tasks li:nth-child(2), .tasks li:nth-child(2) .tick { animation-delay: 1.35s; }
.tasks li:nth-child(3), .tasks li:nth-child(3) .tick { animation-delay: 1.7s; }
.tasks li:nth-child(4), .tasks li:nth-child(4) .tick { animation-delay: 2.05s; }
.tasks li:nth-child(5), .tasks li:nth-child(5) .tick { animation-delay: 2.4s; }
.tasks em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-muted); }
.badge-pos { position: absolute; right: -16px; top: -26px; z-index: 3; }
.badge { background: var(--ink); color: var(--surface-100); border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0,0,0,.8); white-space: nowrap; animation: pop .8s 2.6s var(--ease) both; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--surface-300); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { font-family: var(--font-display); font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--ink-muted); padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.mq::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.mq:nth-child(even)::after { background: var(--accent-secondary); }

/* ---------- sections ---------- */
.section { padding: 140px 0; position: relative; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain { border: 1px solid var(--surface-300); border-radius: 20px; padding: 28px; }
.pain-ico { width: 44px; height: 44px; border-radius: var(--radius-md); border: 1px solid var(--surface-300); display: flex; align-items: center; justify-content: center; color: var(--ink-muted); }
.pain h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; margin: 22px 0 10px; }
.pain p { color: var(--ink-muted); margin: 0; line-height: 26px; }

/* statement */
.statement { position: relative; height: 240vh; }
.statement-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.statement-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.2vw, 96px); line-height: 1.02; letter-spacing: -.035em; margin: 0; }

/* benefits bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ben { background: var(--surface-200); border: 1px solid var(--surface-300); border-radius: var(--radius-lg); padding: 32px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; transition: transform .45s var(--ease), border-color .45s; }
.ben:hover { transform: translateY(-6px); border-color: var(--accent); }
.ben-big { grid-column: span 2; }
.ben h3 { font-family: var(--font-display); font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.ben p { color: var(--ink-muted); margin: 0; line-height: 26px; max-width: 520px; }
.ben-ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.cmp { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.cmp-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 16px; font-size: 13px; color: var(--ink-muted); }
.cmp-bar { height: 18px; border-radius: 6px; transform-origin: 0 50%; }
.cmp-manual { background: var(--surface-300); }
.cmp-auto { background: var(--accent); transform: scaleX(.22); }
.cal { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.cal span { aspect-ratio: 1; border-radius: 4px; background: var(--surface-300); }
.cal span.on { background: var(--accent-secondary); }

/* PC app */
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin-bottom: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.win { background: var(--surface-200); border: 1px solid var(--surface-300); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--surface-300); background: var(--surface-100); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-300); }
.win-bar span { margin-left: 10px; font-size: 13px; color: var(--ink-muted); }
.win-steps { list-style: none; margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ws { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--surface-300); border-radius: 14px; }
.ws div { display: flex; flex-direction: column; flex-grow: 1; }
.ws strong { font-family: var(--font-display); font-size: 18px; }
.ws div span { font-size: 14px; color: var(--ink-muted); }
.ws-n { width: 36px; height: 36px; border-radius: 10px; background: var(--surface-300); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }
.ws-1 .ws-n { background: var(--accent); color: var(--surface-100); }
.ws-2 .ws-n { background: var(--accent-secondary); color: var(--surface-100); }
.ws-3 .ws-n { background: var(--ink); color: var(--surface-100); }
.ws-ok { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-secondary); color: var(--surface-100); display: flex; align-items: center; justify-content: center; }
.ws-ok svg { stroke-width: 3; }
.win-progress { margin: 0 24px; height: 8px; border-radius: 4px; background: var(--surface-300); overflow: hidden; }
.win-progress-bar { height: 100%; background: var(--accent); transform-origin: 0 50%; }
.win-foot { margin: 14px 24px 24px; font-size: 13px; color: var(--accent-secondary); font-weight: 500; }

/* steps */
.steps { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; }
.steps-left { position: sticky; top: 140px; align-self: start; }
.steps-right { position: relative; }
.step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--surface-300); padding: 48px 0; }
.step-n { font-family: var(--font-display); font-weight: 700; font-size: clamp(72px, 9vw, 140px); line-height: .9; letter-spacing: -.05em; }
.step h3 { font-family: var(--font-display); font-size: 32px; letter-spacing: -.02em; margin: 20px 0 12px; }
.step p { color: var(--ink-muted); font-size: 18px; line-height: 28px; margin: 0; max-width: 460px; }
.rail { position: absolute; left: -40px; top: 0; bottom: 0; width: 2px; background: var(--surface-300); }
.rail-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 50% 0; }

/* catalog */
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--surface-300); background: transparent; color: var(--ink-muted); font: 500 14px var(--font-sans); cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--ink); border-color: var(--ink-muted); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--surface-100); border-color: var(--ink); }
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.card { position: relative; background: var(--surface-200); border: 1px solid var(--surface-300); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; min-height: 340px; transition: transform .45s var(--ease), border-color .45s; animation: pop .5s var(--ease) both; }
.card:hover { transform: translateY(-8px); border-color: var(--ink-muted); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.chip { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--surface-100); transition: transform .45s var(--ease); }
.chip-make { background: var(--accent); } .chip-ia { background: var(--accent-secondary); } .chip-ink { background: var(--ink); }
.card:hover .chip { transform: rotate(-8deg) scale(1.08); }
.tag { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--surface-300); border-radius: 999px; padding: 6px 12px; }
.card h3 { font-family: var(--font-display); font-size: 26px; line-height: 30px; letter-spacing: -.02em; }
.card p { color: var(--ink-muted); margin: 0; line-height: 26px; flex-grow: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; color: var(--ink); }
.card-link:hover { color: var(--accent); }
.card-link svg { transition: transform .25s; stroke-width: 2.2; }
.card-link:hover svg { transform: translateX(5px); }
.card-next { background: transparent; border-style: dashed; }
.card-next:hover { border-color: var(--accent-secondary); }
.card-next .card-link { color: var(--accent-secondary); }
.plus { width: 52px; height: 52px; border-radius: 14px; border: 1px dashed var(--accent-secondary); color: var(--accent-secondary); display: flex; align-items: center; justify-content: center; }

/* audience horizontal */
.hs { position: relative; height: 320vh; }
.hs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 56px; }
.hs-head { width: 100%; }
.hs-track { display: flex; gap: 20px; padding: 0 40px; width: max-content; }
.aud { width: 340px; height: 400px; border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface-200); border: 1px solid var(--surface-300); flex-shrink: 0; }
.aud h3 { font-family: var(--font-display); font-size: 32px; line-height: 1.02; letter-spacing: -.02em; margin: 0 0 14px; }
.aud p { margin: 0; line-height: 25px; opacity: .85; }
.aud-n { font-family: var(--font-display); font-size: 14px; font-weight: 500; }
.aud-a { background: var(--accent); color: var(--surface-100); border-color: var(--accent); }
.aud-c { background: var(--accent-secondary); color: var(--surface-100); border-color: var(--accent-secondary); }
.aud-i { background: var(--ink); color: var(--surface-100); border-color: var(--ink); }

/* before / after */
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ba-col { border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--surface-300); }
.ba-col h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 24px; letter-spacing: -.02em; }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ba-col li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 26px; }
.ba-col li svg { margin-top: 3px; }
.ba-old { color: var(--ink-muted); }
.ba-new { background: var(--surface-200); border-color: var(--accent); }

/* faq */
.faq { max-width: 860px; margin: 56px auto 0; }
.faq details { border-bottom: 1px solid var(--surface-300); }
.faq summary { list-style: none; cursor: pointer; min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-family: var(--font-display); font-size: 21px; font-weight: 500; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after { content: "+"; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--surface-300); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 22px; font-family: var(--font-sans); transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-muted); font-size: 17px; line-height: 28px; margin: 0; padding: 0 60px 28px 0; animation: check-in .35s ease both; }

/* final + form */
.final { padding: 160px 0 120px; text-align: center; border-top: 1px solid var(--surface-300); overflow: hidden; }
.giant { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 15vw, 240px); line-height: .9; letter-spacing: -.03em; margin: 28px 0 0; white-space: nowrap; }
.form { max-width: 560px; margin: 44px auto 0; }
.form-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.input { min-height: 52px; flex: 1 1 280px; padding: 0 18px; border-radius: var(--radius-md); background: var(--surface-200); border: 1px solid var(--surface-300); color: var(--ink); font: 15px var(--font-sans); transition: border-color .2s; }
.input::placeholder { color: var(--ink-muted); }
.input:focus { border-color: var(--accent-secondary); outline: none; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; justify-content: center; margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--ink-muted); text-align: left; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.form-msg { min-height: 24px; margin: 16px 0 0; font-weight: 600; font-size: 15px; }
.form-msg.ok { color: var(--accent-secondary); }
.form-msg.err { color: var(--danger); }

.footer { border-top: 1px solid var(--surface-300); padding: 40px 0; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--ink); }

/* ---------- scroll-driven effects (Chrome, Edge, Safari 26+) ---------- */
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  .nav { animation: nav-solid linear both; animation-timeline: scroll(root); animation-range: 0 220px; }
  .par-slow { animation: par-slow linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .par-fast { animation: par-fast linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  .hero-copy { animation: fade-out linear both; animation-timeline: scroll(root); animation-range: 30vh 95vh; }
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 32%; }
  .reveal-2 { animation-range: entry 15% cover 40%; }
  .reveal-3 { animation-range: entry 25% cover 48%; }
  .from-l { animation: from-l linear both; animation-timeline: view(); animation-range: entry 5% cover 35%; }
  .from-r { animation: from-r linear both; animation-timeline: view(); animation-range: entry 5% cover 35%; }
  .cmp-manual { animation: grow linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
  .cmp-auto { animation: grow-small linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
  .win { view-timeline-name: --win; }
  .win-progress-bar { animation: grow linear both; animation-timeline: --win; animation-range: cover 15% cover 55%; }
  .ws { animation: ws-done linear both; animation-timeline: --win; }
  .ws-ok { animation: ok-in linear both; animation-timeline: --win; }
  .ws-1, .ws-1 .ws-ok { animation-range: cover 15% cover 28%; }
  .ws-2, .ws-2 .ws-ok { animation-range: cover 28% cover 41%; }
  .ws-3, .ws-3 .ws-ok { animation-range: cover 41% cover 55%; }
  .step-n, .step h3, .step p { animation: step-light linear both; animation-timeline: view(); animation-range: cover 10% cover 90%; }
  .steps-right { view-timeline-name: --steps; }
  .rail-fill { animation: bar-y linear both; animation-timeline: --steps; animation-range: entry 40% exit 60%; }
  .hs { view-timeline-name: --hs; }
  .hs-track { animation: slide-x linear both; animation-timeline: --hs; animation-range: contain 0% contain 100%; }
  .statement { view-timeline-name: --st; }
  .statement-text .w { color: var(--surface-300); animation: light linear both; animation-timeline: --st; }
  .statement-text .wa { animation-name: light-a; }
  .statement-text .wc { animation-name: light-c; }
  .statement-text .w:nth-child(1) { animation-range: contain 0% contain 8%; }
  .statement-text .w:nth-child(2) { animation-range: contain 7% contain 15%; }
  .statement-text .w:nth-child(3) { animation-range: contain 14% contain 22%; }
  .statement-text .w:nth-child(4) { animation-range: contain 22% contain 30%; }
  .statement-text .w:nth-child(5) { animation-range: contain 29% contain 37%; }
  .statement-text .w:nth-child(6) { animation-range: contain 36% contain 44%; }
  .statement-text .w:nth-child(7) { animation-range: contain 43% contain 51%; }
  .statement-text .w:nth-child(8) { animation-range: contain 50% contain 58%; }
  .statement-text .w:nth-child(9) { animation-range: contain 57% contain 65%; }
  .statement-text .w:nth-child(10) { animation-range: contain 64% contain 72%; }
  .statement-text .w:nth-child(11) { animation-range: contain 71% contain 79%; }
  .statement-text .w:nth-child(12) { animation-range: contain 78% contain 86%; }
  .statement-text .w:nth-child(13) { animation-range: contain 85% contain 93%; }
  .giant { animation: zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
}

/* Fallback (Firefox): static layout, JS adds .in for simple reveals */
@supports not (animation-timeline: scroll()) {
  .hs, .statement { height: auto; }
  .hs-sticky { position: static; height: auto; padding: 120px 0; }
  .hs-track { overflow-x: auto; max-width: 100vw; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .aud { scroll-snap-align: start; }
  .statement-sticky { position: static; height: auto; padding: 140px 0; }
  .js .reveal, .js .from-l, .js .from-r { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in, .js .from-l.in, .js .from-r.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .links a.hide-m { display: none; }
  .hero { padding: 56px 0 80px; }
  .hero-grid, .steps, .ba, .pc-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .apps, .grid-3, .bento { grid-template-columns: minmax(0, 1fr); }
  .ben-big { grid-column: auto; }
  .card { min-height: 0; }
  .steps-left { position: static; }
  .rail { display: none; }
  .step { min-height: 44vh; }
  .section { padding: 96px 0; }
  .aud { width: 270px; height: 340px; }
  .hs-track { padding: 0 20px; }
  .faq details p { padding-right: 0; }
  .badge-pos { right: 12px; }
  .cat-head { align-items: flex-start; }
}
@media (max-width: 480px) {
  .btn-sm { padding: 0 14px; font-size: 13px; }
  .logo { font-size: 21px; }
  .flow { padding: 20px; }
  .tasks em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hs, .statement { height: auto; }
  .hs-sticky { position: static; height: auto; padding: 120px 0; }
  .hs-track { overflow-x: auto; max-width: 100vw; }
  .statement-sticky { position: static; height: auto; padding: 140px 0; }
  .statement-text .w { color: var(--ink); }
  .tick { background: var(--accent-secondary); color: var(--surface-100); }
  .js .reveal, .js .from-l, .js .from-r { opacity: 1; transform: none; }
}

/* ---------- legal pages ---------- */
.legal { padding: 80px 0 120px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; line-height: 1.05; margin: 18px 0 32px; }
.legal h2 { font-family: var(--font-display); font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-muted); font-size: 16px; line-height: 27px; }
.legal strong { color: var(--ink); }
.notfound { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.notfound .giant { font-size: clamp(96px, 20vw, 220px); }
.notfound-in { width: 100%; }

/* price */
.price { border: 1px solid var(--accent); border-radius: var(--radius-lg); background: var(--surface-200); padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.price .h2 { font-size: clamp(34px, 4vw, 56px); }
.ast { color: var(--ink-muted); text-decoration: none; font-size: .5em; vertical-align: super; margin-left: 4px; }
.ast:hover { color: var(--ink); }
.price-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-col { border-radius: 18px; padding: 24px; border: 1px solid var(--surface-300); }
.pc-col h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 18px; }
.pc-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pc-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.pc-col li svg { margin-top: 2px; }
.pc-old { color: var(--ink-muted); background: var(--surface-100); }
.pc-new { border-color: var(--accent); }
.fine { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--surface-300); font-size: 13px; line-height: 20px; color: var(--ink-muted); }
@media (max-width: 960px) {
  .price { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 32px; }
  .price-cmp { grid-template-columns: minmax(0, 1fr); }
}

/* WordPress */
.todo { background: rgba(255,138,61,.15); color: var(--accent); padding: 0 6px; border-radius: 4px; }
.legal-body ul { padding-left: 20px; }
.legal-body a { color: var(--accent); }
.card[hidden] { display: none; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
