@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 800; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Graphite: soft mid-tone between dark and light */
:root {
  --bg: #34363b; --bg-2: #3d4046; --surface: #484b52; --text: #eceae6; --muted: #b5b2ab;
  --line: #575a61; --accent: #d9c4a0; --accent-ink: #27282c; --deep: #2c2e32;
  --sage: #a9bfa2; --rose: #d3a7a3;
}
:root {
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --hatch: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--text) 13%, transparent) 0 1px, transparent 1px 7px);
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 1.0625rem; line-height: 1.55; overflow-x: clip; }
img, svg, canvas { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Logo */
.logo-disc { fill: #111; }
.logo-ring { fill: none; stroke: #fff; stroke-opacity: .35; stroke-width: 3; }
.logo-a { fill: none; stroke: url(#ak-grad); stroke-width: 42; stroke-linecap: round; stroke-linejoin: round; }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg-2); pointer-events: none; }
.intro-logo { width: clamp(84px, 12vw, 132px); height: auto; }
.no-intro .intro { display: none; }
.intro { animation: intro-failsafe 0s linear 4s forwards; }
@keyframes intro-failsafe { to { visibility: hidden; } }

/* Scroll progress + cursor */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1.5px solid var(--text); background: var(--text); pointer-events: none; opacity: 0; transition: background-color .25s, border-color .25s; }
.cursor.is-hover { background: color-mix(in srgb, var(--text) 8%, transparent); border-color: var(--accent); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 20px;
  padding: 12px var(--gutter);
  transition: background-color .35s, box-shadow .35s;
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hatch); opacity: 0; transition: opacity .5s; -webkit-mask: linear-gradient(90deg, #000 0 14%, transparent 30% 70%, #000 86%); mask: linear-gradient(90deg, #000 0 14%, transparent 30% 70%, #000 86%); }
.nav[data-scrolled="true"] { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav[data-scrolled="true"]::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.2rem; font-variation-settings: "wdth" 118; letter-spacing: .01em; }
.brand .logo { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { position: relative; text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-current { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.lang { position: relative; display: flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 4px 11px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.lang button[aria-pressed="true"] { color: var(--accent-ink); }
.lang-pill { position: absolute; top: 2px; bottom: 2px; left: 2px; border-radius: 999px; background: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: none; cursor: pointer; place-items: center; }
.menu-lines { position: relative; width: 18px; height: 10px; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--text); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-lines i:first-child { top: 0; }
.menu-lines i:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 25; background: var(--bg-2); padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 700; font-variation-settings: "wdth" 115; text-decoration: none; line-height: 1.15; letter-spacing: -.02em; }
.menu-mail { color: var(--muted); margin: 0; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: 110px var(--gutter) 90px;
  background:
    radial-gradient(60% 70% at 75% 45%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 70%),
    var(--bg);
  touch-action: pan-y;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.hero-canvas.is-dragging { cursor: grabbing; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; pointer-events: none; }
.hero-inner a { pointer-events: auto; }
.hero-title {
  margin: 0 0 28px; font-weight: 700; line-height: 1.02; letter-spacing: -.02em;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  font-variation-settings: "wdth" 112;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line-in { display: inline-block; }
.word-line { min-height: 1.08em; }
.word { display: inline-flex; white-space: nowrap; color: var(--accent); font-variation-settings: "wdth" 125; }
.word .ch { display: inline-block; }
.hero-lede { max-width: 34rem; margin: 0 0 36px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint { position: absolute; z-index: 2; left: var(--gutter); bottom: 28px; margin: 0; font-size: .85rem; color: var(--muted); opacity: .8; }
.shape-index { position: absolute; z-index: 2; right: var(--gutter); bottom: 32px; margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; }
.shape-index li { width: 28px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.shape-index li span { display: block; height: 100%; background: var(--text); transform-origin: left; transform: scaleX(0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--text); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.chip-btn { border: 1.5px solid var(--line); background: var(--bg); color: var(--text); border-radius: 999px; padding: 8px 16px; font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .25s, background-color .25s; }
.chip-btn:hover { border-color: var(--text); }

/* Tools */
.tools { padding: 34px 0 30px; background: var(--bg); }
.tools-inner { display: flex; align-items: center; gap: 18px 40px; flex-wrap: wrap; justify-content: center; }
.tools-title { margin: 0; color: var(--muted); font-size: .92rem; }
.tool-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.tool-list li { font-weight: 650; font-size: 1.05rem; font-variation-settings: "wdth" 110; color: var(--text); opacity: .85; transition: opacity .3s, color .3s; }
.tool-list:hover li { opacity: .4; }
.tool-list li:hover { opacity: 1; color: var(--accent); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 600; font-variation-settings: "wdth" 118; color: var(--muted); }
.marquee-item .logo { width: .9em; height: .9em; flex: none; }

/* Section shared */
.services, .why, .faq, .start { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2, .gallery-head h2, .faq-head h2, .process-copy h2, .start-title {
  margin: 0; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.02em;
  font-weight: 700; font-variation-settings: "wdth" 112;
}
.section-head p, .gallery-head p, .faq-head p { margin: 0; max-width: 32rem; color: var(--muted); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .wi { display: inline-block; }

/* Feature blocks */
.feature { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.feature-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.feature-head h3 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; font-weight: 680; letter-spacing: -.015em; font-variation-settings: "wdth" 115; }
.feature-icon { width: 46px; height: 46px; flex: none; }
.feature-icon * , .start-icon * { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stage {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(80% 90% at 50% 40%, var(--bg-2), var(--deep));
  border: 1px solid var(--line);
  min-height: clamp(380px, 52vw, 520px);
}
.stage-hint { margin: 0; font-size: .88rem; color: var(--muted); }
.stage-ui { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; z-index: 5; }
.feature-body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px 64px; margin-top: 32px; align-items: start; }
.feature-text { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 30rem; }

/* Spec tabs */
.spec { border-radius: var(--radius-md); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.spec-tabs { position: relative; display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); }
.spec-tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .3s; }
.spec-tabs button[aria-selected="true"] { color: var(--accent-ink); }
.spec-pill { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--accent); }
.spec-panel { padding: 18px 22px 22px; min-height: 196px; }
.spec-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spec-panel li { display: flex; gap: 12px; align-items: baseline; }
.spec-panel li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); translate: 0 -1px; }

/* Demo: gesture deck */
.stage-gesture { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 64px 22px 18px; }
.stage-gesture .stage-ui { position: static; width: 100%; margin-top: auto; }
.deck { position: relative; width: 230px; height: 400px; margin-top: auto; flex: none; }
.app-card {
  position: absolute; inset: 0; border-radius: 34px; padding: 22px 18px;
  background: var(--bg); border: 3px solid var(--text);
  display: flex; flex-direction: column; gap: 12px; cursor: grab; user-select: none; touch-action: pan-y;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
  transform-origin: 50% 90%;
}
.app-card.is-dragging { cursor: grabbing; }
.ac-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ac-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); flex: none; }
.ac-line { display: block; height: 9px; border-radius: 5px; background: var(--muted); opacity: .7; }
.ac-line.dim { opacity: .35; }
.ac-line.ink { background: var(--accent-ink); opacity: .6; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.ac-map { height: 130px; border-radius: 16px; background: var(--surface); overflow: hidden; }
.ac-map svg { width: 100%; height: 100%; }
.ac-map .route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 8; }
.ac-map .pin { fill: var(--text); }
.ac-map .me { fill: var(--accent); }
.ac-steps { display: flex; gap: 6px; }
.ac-steps span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.ac-steps span.on { background: var(--accent); }
.ac-btn { margin-top: auto; height: 40px; border-radius: 14px; background: var(--accent); }
.ring { width: 150px; height: 150px; margin: 6px auto; rotate: -90deg; }
.ring circle { fill: none; stroke: var(--surface); stroke-width: 12; }
.ring .ring-a { stroke: var(--accent); stroke-dasharray: 302; stroke-dashoffset: 80; stroke-linecap: round; }
.ring .ring-b { stroke: var(--sage); stroke-dasharray: 201; stroke-dashoffset: 90; stroke-linecap: round; }
.ac-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ac-stats span { display: grid; gap: 6px; padding: 10px 8px; border-radius: 12px; background: var(--surface); }
.ac-stats b { height: 12px; width: 70%; border-radius: 4px; background: var(--text); }
.ac-stats i { height: 7px; width: 50%; border-radius: 4px; background: var(--muted); opacity: .6; }
.bub { display: block; height: 34px; border-radius: 16px; background: var(--surface); }
.bub.r { align-self: flex-end; background: var(--accent); border-bottom-right-radius: 4px; }
.bub.l { border-bottom-left-radius: 4px; }
.ac-input { margin-top: auto; height: 40px; border-radius: 20px; border: 1.5px solid var(--line); }
.ac-cc { height: 120px; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, var(--accent), var(--rose)); }
.ac-cc .chip { width: 34px; height: 24px; border-radius: 6px; background: color-mix(in srgb, var(--accent-ink) 30%, transparent); }
.ac-rows { display: grid; gap: 10px; }
.ac-rows span { height: 42px; border-radius: 12px; background: var(--surface); }

/* Demo: layout */
.stage-layout { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 18px 22px; }
.seg { position: relative; display: inline-flex; justify-self: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); z-index: 2; }
.seg button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 7px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.seg button[aria-pressed="true"] { color: var(--accent-ink); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--accent); }
.lay-area { position: relative; min-height: 360px; }
.lay-frame { position: absolute; inset: 0; background: var(--bg); border-radius: 16px; clip-path: inset(0 round 16px); }
.lay-dots { position: absolute; display: flex; gap: 5px; left: 14px; top: 10px; }
.lay-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.lay-content { position: absolute; display: grid; gap: 9px; align-content: start; }
.lb { display: block; border-radius: 8px; background: var(--surface); transform-origin: 0 0; }
.lb-nav { grid-area: nav; height: 12px; background: var(--line); }
.lb-title { grid-area: title; height: 22px; background: var(--text); }
.lb-sub { grid-area: sub; height: 11px; background: var(--muted); opacity: .7; }
.lb-btn { grid-area: btn; height: 26px; width: 110px; border-radius: 13px; background: var(--accent); }
.lb-img { grid-area: img; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, var(--surface)), var(--surface)); border-radius: 12px; }
.lb-c1 { grid-area: c1; } .lb-c2 { grid-area: c2; } .lb-c3 { grid-area: c3; }
.lay-content[data-mode="desktop"] { grid-template-columns: 1fr 1fr 1.15fr; grid-template-rows: 12px 22px 11px 26px 80px; grid-template-areas: "nav nav nav" "title title img" "sub sub img" "btn . img" "c1 c2 c3"; row-gap: 14px; }
.lay-content[data-mode="desktop"] .lb-img { min-height: 100px; }
.lay-content[data-mode="tablet"] { grid-template-columns: 1fr 1fr; grid-template-rows: 12px 22px 70px 26px 56px 40px; grid-template-areas: "nav nav" "title title" "sub img" "btn img" "c1 c2" "c3 c3"; }
.lay-content[data-mode="tablet"] .lb-sub { align-self: start; }
.lay-content[data-mode="phone"] { grid-template-columns: 1fr; grid-template-rows: 12px 22px 11px 84px 26px 36px 36px 36px; grid-template-areas: "nav" "title" "sub" "img" "btn" "c1" "c2" "c3"; }
.stage-layout .stage-hint { text-align: center; }

/* Demo: brand */
.stage-brand { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding: 30px; align-items: center;
  --b-radius: 18px; --b-wdth: 100; --b-wght: 700;
  --b-c1: var(--accent); --b-c2: var(--accent-ink); --b-c3: #eee6d6; }
.stage-brand[data-palette="1"] { --b-c1: var(--sage); --b-c2: #24302a; --b-c3: #e3eadf; }
.stage-brand[data-palette="2"] { --b-c1: var(--rose); --b-c2: #3a2629; --b-c3: #f1e3e0; }
.stage-brand[data-palette="3"] { --b-c1: #26282c; --b-c2: #eceae6; --b-c3: #8b8e94; }
.brand-preview { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: center; perspective: 900px; }
.bp-card { aspect-ratio: 1.6; border-radius: var(--b-radius); background: var(--b-c3); color: var(--b-c2); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: background-color .6s, color .6s; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform-style: preserve-3d; }
.bp-mark { position: relative; width: 52px; height: 52px; }
.bp-mark.sm { width: 46px; height: 46px; }
.bp-mark span { position: absolute; width: 64%; height: 64%; transition: background-color .6s; }
.bp-mark .m1 { left: 0; top: 0; border-radius: var(--b-radius); background: var(--b-c1); }
.bp-mark .m2 { right: 0; bottom: 0; border-radius: 50%; background: var(--b-c2); mix-blend-mode: multiply; }
.bp-word { margin: auto 0 4px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; font-variation-settings: "wdth" var(--b-wdth), "wght" var(--b-wght); font-weight: var(--b-wght); letter-spacing: -.02em; }
.bp-line { display: block; height: 7px; border-radius: 4px; background: currentColor; opacity: .35; }
.bp-side { display: grid; gap: 16px; }
.bp-icon { aspect-ratio: 1; width: 62%; border-radius: calc(var(--b-radius) * 1.2); background: var(--b-c2); display: grid; place-items: center; transition: background-color .6s; }
.bp-icon .m2 { background: var(--b-c3); mix-blend-mode: normal; }
.bp-post { aspect-ratio: 1; border-radius: var(--b-radius); background: var(--b-c1); color: var(--b-c2); padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; transition: background-color .6s, color .6s; }
.bp-post-word { margin: 0; font-size: 1.5rem; line-height: 1; font-variation-settings: "wdth" var(--b-wdth), "wght" var(--b-wght); font-weight: var(--b-wght); }
.brand-controls { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius-md); background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); }
.ctl { display: grid; grid-template-columns: 84px 1fr 40px; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.ctl output { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.ctl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--line); accent-color: var(--accent); cursor: pointer; }
.ctl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--accent); }
.ctl input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.palettes { display: flex; gap: 10px; }
.pal { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; transition: transform .3s var(--ease-out), border-color .3s; }
.pal[aria-pressed="true"] { border-color: var(--text); transform: scale(1.12); }
.pal-0 { background: linear-gradient(135deg, var(--accent) 50%, #eee6d6 50%); }
.pal-1 { background: linear-gradient(135deg, var(--sage) 50%, #e3eadf 50%); }
.pal-2 { background: linear-gradient(135deg, var(--rose) 50%, #f1e3e0 50%); }
.pal-3 { background: linear-gradient(135deg, #26282c 50%, #8b8e94 50%); }
.stage-brand .stage-hint { grid-column: 1 / -1; }

/* Demo: growth */
.stage-growth { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 24px 26px 26px; }
.g-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.g-pct { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 750; line-height: 1; font-variation-settings: "wdth" 120; font-variant-numeric: tabular-nums; color: var(--accent); }
.g-cap { font-size: .88rem; color: var(--muted); }
.g-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: end; }
.g-chart { width: 100%; height: 200px; overflow: visible; }
.g-chart line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-area { fill: color-mix(in srgb, var(--accent) 18%, transparent); }
.g-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.g-funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.g-funnel li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: .9rem; color: var(--muted); }
.g-funnel b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 650; }
.g-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.g-bar span { display: block; height: 100%; border-radius: 4px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.g-ads { overflow: hidden; margin: 0 -26px; -webkit-mask: linear-gradient(90deg, transparent, #000 8% 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8% 92%, transparent); }
.g-ads-track { display: flex; gap: 14px; width: max-content; padding: 0 26px; will-change: transform; }
.ad { width: 150px; height: 96px; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; flex: none; }
.ad i { width: 36%; height: 10px; border-radius: 5px; background: currentColor; opacity: .5; }
.ad b { width: 80%; height: 16px; border-radius: 6px; background: currentColor; }
.ad-a { background: var(--accent); color: var(--accent-ink); }
.ad-b { background: var(--surface); color: var(--text); }
.ad-c { background: var(--sage); color: #24302a; }

/* Why */
.why { background: var(--bg-2); }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.why-item { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.why-item:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.why-item svg { width: 40px; height: 40px; margin-bottom: 18px; }
.why-item svg * { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 650; font-variation-settings: "wdth" 110; }
.why-item p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Stats */
.stats { padding: clamp(60px, 8vw, 110px) 0; background: var(--bg-2); }
.stats-band { position: relative; border-radius: var(--radius-lg); background: var(--accent); color: var(--accent-ink); padding: clamp(28px, 4vw, 48px); overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--accent-ink) 12%, transparent) 0 1px, transparent 1px 7px); -webkit-mask: linear-gradient(90deg, #000, transparent 40%); mask: linear-gradient(90deg, #000, transparent 40%); pointer-events: none; }
.stat-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 6px 22px; }
.stat + .stat { border-left: 1px solid color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.stat:first-child { padding-left: 0; }
.odo { display: flex; align-items: flex-start; font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 750; line-height: 1; font-variation-settings: "wdth" 115; letter-spacing: -.02em; height: 1em; overflow: hidden; margin-bottom: 12px; }
.odo-col { display: flex; flex-direction: column; transition: transform 1.6s cubic-bezier(.2, 1.2, .35, 1); }
.odo-col span { height: 1em; }
.stat p { margin: 0; font-size: .98rem; font-weight: 500; max-width: 15rem; }

/* Process timeline */
.process { position: relative; height: 420vh; background: var(--bg); }
.process-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: 80px 0 40px; overflow: hidden; }
.process-grid { width: 100%; display: grid; grid-template-columns: 1fr 1.45fr; gap: 40px 64px; align-items: center; }
.process-lede { margin: 18px 0 32px; color: var(--muted); max-width: 26rem; }
.phase-detail { border-left: 2px solid var(--accent); padding-left: 20px; min-height: 190px; }
.pd-step { margin: 0 0 6px; font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pd-title { margin: 0 0 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; font-weight: 680; font-variation-settings: "wdth" 115; }
.pd-text { margin: 0 0 14px; color: var(--muted); max-width: 28rem; }
.pd-out { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .95rem; }
.pd-out span { color: var(--muted); }
.pd-out b { font-weight: 650; color: var(--accent); }
.editor { border-radius: var(--radius-md); background: var(--deep); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.ed-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.ed-dots { display: flex; gap: 6px; }
.ed-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.ed-name { flex: 1; }
.ed-read b { color: var(--text); font-variant-numeric: tabular-nums; display: inline-block; min-width: 3.2em; text-align: right; }
.ed-grid { --lw: 150px; --pr: 18px; position: relative; display: grid; grid-template-columns: var(--lw) 1fr; padding: 0 var(--pr) 16px 0; }
.ed-corner { border-right: 1px solid var(--line); }
.ed-ruler { position: relative; height: 34px; border-bottom: 1px solid var(--line); }
.ed-ruler span { position: absolute; bottom: 0; width: 1px; height: 6px; background: var(--line); }
.ed-ruler span.major { height: 12px; background: var(--muted); }
.ed-ruler em { position: absolute; top: 6px; font-style: normal; font-size: .72rem; color: var(--muted); translate: -50% 0; font-variant-numeric: tabular-nums; }
.tr-label { all: unset; box-sizing: border-box; display: flex; align-items: center; height: 46px; padding: 0 16px 0 18px; border-right: 1px solid var(--line); font-size: .92rem; font-weight: 550; color: var(--muted); cursor: pointer; transition: color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-label:hover, .tr-label.is-active { color: var(--text); }
.tr-label:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.tr-lane { position: relative; height: 46px; border-bottom: 1px dashed color-mix(in srgb, var(--line) 70%, transparent); }
.tr-bar { position: absolute; top: 12px; bottom: 12px; border-radius: 6px; background: var(--surface); overflow: hidden; }
.tr-bar::before, .tr-bar::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--muted); z-index: 1; }
.tr-bar::before { left: 6px; } .tr-bar::after { right: 6px; }
.tr-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.ed-head-col { position: absolute; top: 0; bottom: 0; left: var(--lw); right: var(--pr); pointer-events: none; }
.ed-playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--accent); }
.ed-playhead::before { content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; translate: -50% 0; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* Gallery */
.gallery { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 100px); background: var(--bg-2); overflow: hidden; }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 28px 48px; flex-wrap: wrap; }
.gallery-head p { margin-top: 16px; }
.seg-gallery { justify-self: auto; }
.g3d { position: relative; height: clamp(440px, 62vw, 640px); perspective: 1400px; touch-action: pan-y; cursor: grab; user-select: none; }
.g3d.is-dragging { cursor: grabbing; }
.g3d-scene { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.g3d-rot { position: absolute; transform-style: preserve-3d; }
.gc { position: absolute; left: -70px; top: -92px; width: 140px; height: 184px; border-radius: 16px; overflow: hidden; backface-visibility: visible; background: var(--surface); border: 1px solid color-mix(in srgb, var(--text) 14%, transparent); display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.gc .x { display: block; border-radius: 5px; background: currentColor; opacity: .55; height: 8px; }
.gc .x.big { height: 18px; opacity: .9; }
.gc .x.w8 { width: 80%; } .gc .x.w5 { width: 50%; } .gc .x.w3 { width: 30%; }
.gc .blk { flex: 1; border-radius: 10px; background: currentColor; opacity: .25; }
.gc-app { background: var(--bg); color: var(--text); border-radius: 26px; border: 2px solid var(--text); }
.gc-app .blk { flex: none; height: 54px; background: var(--accent); opacity: 1; }
.gc-web { background: #eceae6; color: #34363b; }
.gc-web .bar { display: flex; gap: 4px; } .gc-web .bar i { width: 6px; height: 6px; border-radius: 50%; background: #b5b2ab; }
.gc-logo { background: var(--accent); color: var(--accent-ink); place-items: center; justify-content: center; align-items: center; }
.gc-logo .mk { width: 64px; height: 64px; position: relative; }
.gc-logo .mk::before { content: ""; position: absolute; left: 0; top: 0; width: 64%; height: 64%; border-radius: 12px; background: var(--accent-ink); }
.gc-logo .mk::after { content: ""; position: absolute; right: 0; bottom: 0; width: 64%; height: 64%; border-radius: 50%; background: #eceae6; mix-blend-mode: difference; }
.gc-post { background: var(--sage); color: #24302a; justify-content: flex-end; }
.gc-post .huge { font-size: 2.4rem; line-height: .9; font-weight: 800; font-variation-settings: "wdth" 70; letter-spacing: -.02em; }
.gc-chart { background: var(--deep); color: var(--accent); justify-content: flex-end; }
.gc-chart .cols { display: flex; align-items: flex-end; gap: 6px; height: 70%; }
.gc-chart .cols i { flex: 1; border-radius: 4px 4px 0 0; background: currentColor; }
.gc-chart .cols i:nth-child(1) { height: 30%; opacity: .5; } .gc-chart .cols i:nth-child(2) { height: 45%; opacity: .6; } .gc-chart .cols i:nth-child(3) { height: 40%; opacity: .7; } .gc-chart .cols i:nth-child(4) { height: 70%; opacity: .85; } .gc-chart .cols i:nth-child(5) { height: 95%; }
.gc-type { background: var(--rose); color: #3a2629; justify-content: space-between; }
.gc-type .huge { font-size: 3.6rem; line-height: .85; font-weight: 300; font-variation-settings: "wdth" 125; }
.gc.is-back > * { visibility: hidden; }
.gc.is-back { background: var(--surface); }
.g3d-note { position: relative; z-index: 2; text-align: center; margin: 12px 0 0; color: var(--muted); font-size: .88rem; }

/* FAQ */
.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px 72px; align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head p { margin-top: 18px; }
.faq-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--text); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 20px; padding: 24px 0; background: none; border: 0; text-align: left; cursor: pointer; font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 600; }
.faq-q span:first-child { transition: transform .45s var(--ease-out); }
.faq-q:hover span:first-child { transform: translateX(8px); }
.plus { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, border-color .3s, transform .45s var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--text); translate: -50% -50%; transition: background-color .3s; }
.plus::after { rotate: 90deg; transition: rotate .4s cubic-bezier(.3,1.5,.5,1), background-color .3s; }
.faq-q[aria-expanded="true"] .plus { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .plus::before, .faq-q[aria-expanded="true"] .plus::after { background: var(--accent-ink); }
.faq-q[aria-expanded="true"] .plus::after { rotate: 0deg; }
.faq-a { overflow: hidden; height: 0; }
.faq-a[hidden] { display: block; }
.faq-a p { margin: 0; padding: 0 60px 26px 0; color: var(--muted); }

/* Start */
.start { background: var(--bg-2); }
.start-title { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.start-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); text-decoration: none; isolation: isolate; transition: border-color .35s; }
.start-card:hover { border-color: var(--accent); }
.start-hatch { position: absolute; inset: 0; z-index: -1; background: var(--hatch); opacity: 0; transition: opacity .5s; }
.start-card:hover .start-hatch { opacity: 1; }
.start-icon { width: 44px; height: 44px; margin-bottom: 18px; }
.start-card h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; font-weight: 700; font-variation-settings: "wdth" 115; }
.start-card p { margin: 0 0 18px; color: var(--muted); max-width: 30rem; }
.start-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--accent); }
.start-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.start-card:hover .start-cta svg { transform: translateX(6px); }

/* Contact */
.contact { background: var(--bg); padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.contact h2 { margin: 0 0 18px; font-size: clamp(2.2rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 700; font-variation-settings: "wdth" 112; max-width: 14ch; }
.contact p { margin: 0 0 44px; max-width: 32rem; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.email-btn { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 20px 28px; border-radius: var(--radius-lg); background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer; text-align: left; }
.email-text { font-size: clamp(1.15rem, 3vw, 1.9rem); font-weight: 700; font-variation-settings: "wdth" 108; word-break: break-all; }
.email-hint { font-size: .85rem; font-weight: 500; opacity: .75; }
.badge { position: relative; width: clamp(150px, 18vw, 220px); aspect-ratio: 1; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge-ring text { fill: var(--muted); font-size: 14px; font-weight: 600; font-variation-settings: "wdth" 110; }
.badge-logo { position: absolute; inset: 27%; width: 46%; height: 46%; }

/* Footer */
.footer { background: var(--deep); color: var(--muted); padding: clamp(56px, 7vw, 90px) 0 28px; font-size: .95rem; overflow: hidden; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); }
.footer-brand .logo { width: 44px; height: 44px; margin-bottom: 16px; }
.footer-brand p { margin: 0; max-width: 20rem; }
.footer-h { margin: 0 0 14px; font-size: .9rem; font-weight: 650; color: var(--text); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { text-decoration: none; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.wordmark { margin: 0 0 28px; font-size: clamp(4.5rem, 21vw, 18rem); line-height: .82; font-weight: 800; letter-spacing: -.04em; font-variation-settings: "wdth" 125; color: var(--surface); white-space: nowrap; overflow: hidden; }
.wordmark .ch { display: inline-block; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: 18px; padding: 40px var(--gutter); max-width: 40rem; margin: 0 auto; }
.notfound h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.02; font-variation-settings: "wdth" 112; }
.notfound p { margin: 0 0 8px; color: var(--muted); }

/* Responsive */
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .lang { margin-left: auto; }
  .menu-btn { display: grid; }
}
@media (max-width: 900px) {
  .hero { align-items: flex-end; background: radial-gradient(90% 50% at 50% 30%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 70%), var(--bg); }
  .hero-hint { display: none; }
  .section-head, .feature-body, .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .stage-brand { grid-template-columns: 1fr; padding: 20px; }
  .g-body { grid-template-columns: 1fr; }
  .g-chart { height: 130px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item, .why-item:not(:nth-child(3n + 1)) { padding: 26px 20px 28px 0; border-left: 0; }
  .why-item:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat-list { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .process { height: 460vh; }
  .process-sticky { padding: 70px 0 20px; align-items: flex-start; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-copy { display: contents; }
  .process-copy h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); order: 1; }
  .process-lede { display: none; }
  .editor { order: 2; }
  .phase-detail { order: 3; min-height: 170px; }
  .pd-title { font-size: 1.4rem; }
  .pd-text { font-size: .95rem; margin-bottom: 8px; }
  .ed-grid { --lw: 104px; --pr: 12px; }
  .tr-label { height: 38px; padding: 0 10px 0 12px; font-size: .82rem; }
  .tr-lane { height: 38px; }
  .tr-bar { top: 10px; bottom: 10px; }
  .start-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .badge { justify-self: end; width: 140px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item:nth-child(2n) { padding-left: 0; border-left: 0; }
  .stage { min-height: 440px; }
  .deck { width: 196px; height: 350px; }
  .ac-map { height: 100px; }
  .ring { width: 120px; height: 120px; }
  .stage-layout { padding: 14px; }
  .seg button { padding: 7px 12px; font-size: .85rem; }
  .gallery-head .seg button { padding: 7px 10px; }
  .spec-tabs button { padding: 7px 10px; font-size: .82rem; }
  .ctl { grid-template-columns: 70px 1fr 36px; }
  .gc { left: -56px; top: -74px; width: 112px; height: 148px; padding: 10px; }
  .gc-post .huge { font-size: 1.9rem; } .gc-type .huge { font-size: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .intro, .cursor { display: none; }
}
