/* Coolay corporate site.
   Layout: sticky light header; editorial sections in one 1200px column; the hero is a live
   "phone photo → catalogue" stage; lime is used only as fill, olive for accent text.
   Single light theme by design (brand: white, graphite, lime). */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/montserrat-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/montserrat-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/montserrat-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/montserrat-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; }

:root {
  --paper: #FFFFFF;
  --mist: #F5F6F1;
  --mist-2: #ECEEE6;
  --line: #E3E5DD;
  --ink: #0B0B0C;
  --graphite: #232427;
  --muted: #5D5F57;
  --lime: #E7FE17;
  --lime-deep: #CBE000;
  --lime-soft: #F4FFC4;
  --olive: #566300;
  --ok: #1D7A3C;
  --display: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 6px;
  --r-lg: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── header ───────── */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20,22,10,.05); }
.hdr .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.hdr .logo img { height: 22px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--mist); }
.hdr .sp { flex: 1; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; gap: 2px; }
.langs button { border: 0; background: transparent; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 99px; cursor: pointer; color: var(--muted); }
.langs button[aria-pressed="true"] { background: var(--graphite); color: #fff; }
.login { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); padding: 8px 6px; }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; border: 1px solid transparent; border-radius: 99px; font-weight: 700; font-size: 15px; padding: 14px 24px; cursor: pointer; transition: transform .25s var(--ease), background .2s, box-shadow .25s; will-change: transform; }
.btn-lime { background: var(--lime); color: var(--ink); border-color: var(--lime-deep); box-shadow: 0 8px 24px -10px rgba(140,160,0,.65); }
.btn-lime:hover { background: var(--lime-deep); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--mist); }
.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: #000; }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.burger { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 99px; width: 42px; height: 42px; cursor: pointer; }
.burger span { display: block; width: 16px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }
@media (max-width: 1180px) { .nav, .hdr .login { display: none; } .burger { display: block; } }
@media (max-width: 560px) { .hdr .btn.sm { display: none; } .hdr .wrap { gap: 10px; } }
.mnav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mnav.open { display: block; }
.mnav .wrap { display: grid; gap: 2px; padding-block: 10px 16px; }
.mnav a { text-decoration: none; font-weight: 600; padding: 10px 4px; border-bottom: 1px solid var(--mist-2); }

/* ───────── type ───────── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--lime-deep); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 8.4vw, 60px); line-height: 1; font-weight: 900; letter-spacing: -.035em; hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 961px) { h1 { font-size: clamp(40px, 4.3vw, 56px); } }
h1 .hl { position: relative; white-space: nowrap; }
h1 .hl::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .32em; background: var(--lime); z-index: -1; transform-origin: left; animation: swipe 1s .35s var(--ease) both; }
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
h2 { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.04; font-weight: 850; letter-spacing: -.03em; max-width: 18ch; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 58ch; }
section { padding-block: clamp(72px, 9vw, 128px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head.center h2 { max-width: 22ch; }

/* ───────── hero ───────── */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 420px at 82% 18%, rgba(231,254,23,.28), transparent 70%),
  radial-gradient(520px 380px at 8% 92%, rgba(231,254,23,.14), transparent 70%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 26px; align-content: start; min-width: 0; }
.hero-copy .lead { font-size: clamp(17px, 1.6vw, 20px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-soft); }

/* stage */
.stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; width: 100%; justify-self: center; }
.st-phone { position: absolute; left: 4%; top: 6%; width: 44%; aspect-ratio: 9 / 18.5; background: var(--graphite); border-radius: 30px; padding: 9px; box-shadow: 0 30px 60px -24px rgba(20,22,10,.45); z-index: 3; }
.st-phone .scr { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #ddd; }
.st-phone .scr img { width: 100%; height: 100%; object-fit: cover; }
.st-phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; background: var(--graphite); border-radius: 0 0 12px 12px; z-index: 2; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--lime); box-shadow: 0 0 18px 6px rgba(231,254,23,.75); opacity: 0; z-index: 2; }
.st-phone .cap { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(11,11,12,.72); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 7px 9px; z-index: 2; backdrop-filter: blur(6px); }
.tile { position: absolute; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 18px 40px -22px rgba(20,22,10,.35); z-index: 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .lbl { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 99px; }
.t1 { right: 2%; top: 0; width: 34%; aspect-ratio: 3 / 4; }
.t1 .lbl { top: 8px; bottom: auto; left: auto; right: 8px; }
.t2 { right: 26%; top: 34%; width: 36%; aspect-ratio: 3 / 4; z-index: 4; }
.t3 { right: 0; top: 46%; width: 28%; aspect-ratio: 1 / 1; }
.t4 { right: 6%; bottom: 0; width: 40%; aspect-ratio: 4 / 3; }
.chipf { position: absolute; z-index: 5; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; box-shadow: 0 10px 24px -14px rgba(20,22,10,.4); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.chipf b { color: var(--olive); font-weight: 700; }
.c1 { left: 40%; top: 4%; } .c2 { left: 44%; top: 15%; } .c3 { left: 0; bottom: 18%; } .c4 { left: 6%; bottom: 7%; }
.done-badge { position: absolute; z-index: 6; left: 30%; bottom: 30%; background: var(--lime); border: 1px solid var(--lime-deep); color: var(--ink); font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 99px; box-shadow: 0 14px 30px -12px rgba(140,160,0,.7); display: inline-flex; gap: 8px; align-items: center; }
.replay { position: absolute; right: 0; top: -6px; z-index: 7; border: 1px solid var(--line); background: var(--paper); border-radius: 99px; font-size: 12px; font-weight: 700; padding: 6px 12px; cursor: pointer; color: var(--muted); }
.replay:hover { color: var(--ink); }
@media (max-width: 560px) { .chipf { font-size: 11px; padding: 5px 9px; } .done-badge { font-size: 12px; padding: 7px 12px; } }

/* stage sequence (classes toggled by JS; at rest everything is visible) */
.stage.play .scanline { animation: scan 1.6s .5s var(--ease) both; }
@keyframes scan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.stage.play .chipf { animation: pop .5s var(--ease) both; }
.stage.play .c1 { animation-delay: 1.3s; } .stage.play .c2 { animation-delay: 1.55s; } .stage.play .c3 { animation-delay: 1.8s; } .stage.play .c4 { animation-delay: 2.05s; }
.stage.play .tile { animation: rise .8s var(--ease) both; }
.stage.play .t1 { animation-delay: 2.4s; } .stage.play .t2 { animation-delay: 2.7s; } .stage.play .t3 { animation-delay: 3s; } .stage.play .t4 { animation-delay: 3.3s; }
.stage.play .done-badge { animation: pop .6s 4s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.94) rotate(-1.5deg); } to { opacity: 1; transform: none; } }

/* ───────── marquee ───────── */
.models { padding-block: 26px; border-block: 1px solid var(--line); background: var(--mist); overflow: hidden; }
.models .ttl { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.marquee { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; padding-inline: 26px; white-space: nowrap; color: var(--graphite); display: inline-flex; align-items: center; gap: 26px; }
.marquee span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime-deep); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── pains ───────── */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pains { grid-template-columns: minmax(0, 1fr); } }
.pain { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; align-content: start; background: var(--paper); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; overflow: hidden; }
.pain:hover { transform: translateY(-4px); border-color: var(--lime-deep); box-shadow: 0 22px 44px -28px rgba(20,22,10,.35); }
.pain .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--lime-soft); display: grid; place-items: center; }
.pain .ico svg { width: 22px; height: 22px; stroke: var(--olive); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pain .was { font-size: 14.5px; color: var(--muted); }
.pain .now { font-size: 15.5px; font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.pain .now::before { content: "→"; color: var(--olive); }

/* ───────── compare ───────── */
.compare-sec { background: var(--graphite); color: #fff; }
.compare-sec .eyebrow { color: var(--lime); }
.compare-sec .eyebrow::before { background: var(--lime); }
.compare-sec .lead { color: #B9BBB2; }
.cmp-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .cmp-grid { grid-template-columns: minmax(0, 1fr); } }
.cmp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cmp-tabs button { border: 1px solid #3A3C40; background: transparent; color: #E9EAE3; border-radius: 99px; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cmp-tabs button[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.cmp { position: relative; aspect-ratio: 3 / 4; max-height: 760px; width: 100%; max-width: 600px; justify-self: center; border-radius: var(--r-lg); overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; background: #111; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .after { clip-path: inset(0 0 0 var(--pos, 50%)); transition: opacity .35s; }
.cmp .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--lime); transform: translateX(-1px); pointer-events: none; }
.cmp .knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 17px; box-shadow: 0 8px 22px rgba(0,0,0,.35); pointer-events: none; }
.cmp .tag { position: absolute; top: 14px; font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 99px; background: rgba(11,11,12,.7); color: #fff; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.cmp .tag.l { left: 14px; } .cmp .tag.r { right: 14px; background: var(--lime); color: var(--ink); }
.cmp input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ───────── steps ───────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: var(--line); }
.steps-wrap { position: relative; }
.steps-wrap .bar { position: absolute; left: 24px; top: 24px; height: 2px; width: calc((100% - 48px) * var(--p, 0)); background: var(--lime-deep); transition: width .2s linear; z-index: 1; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); display: grid; place-items: center; font-weight: 900; font-size: 18px; transition: background .4s, border-color .4s; z-index: 2; }
.steps li.on::before { background: var(--lime); border-color: var(--lime-deep); }
.steps li p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; } .steps::before { left: 24px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; } .steps-wrap .bar { display: none; } .steps li { grid-template-columns: 50px minmax(0, 1fr); column-gap: 18px; } .steps li::before { grid-row: span 2; } }

/* ───────── products ───────── */
.prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .prods { grid-template-columns: minmax(0, 1fr); } }
.prod { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 22px; align-content: start; background: var(--mist); min-width: 0; }
.prod .tagp { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--lime); }
.prod ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.prod li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; }
.prod li::before { content: "✓"; color: var(--olive); font-weight: 900; }
.mock { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 12px; box-shadow: 0 24px 48px -32px rgba(20,22,10,.4); min-width: 0; }
.mock-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; }
@media (max-width: 480px) { .mock-card { grid-template-columns: minmax(0, 1fr); } }
.mock-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.mlangs { display: flex; gap: 4px; flex-wrap: wrap; }
.mlangs button { border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: 3px 9px; font-size: 12px; font-weight: 800; cursor: pointer; }
.mlangs button[aria-pressed="true"] { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.mname { font-weight: 800; font-size: 16px; line-height: 1.3; }
.mdesc { font-size: 13.5px; color: var(--muted); }
.mkw { display: flex; flex-wrap: wrap; gap: 5px; }
.mkw span { font-size: 11.5px; font-weight: 600; background: var(--mist); border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; }
.mstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mstrip img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.mfade { transition: opacity .25s; }
.social-mock { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 480px) { .social-mock { grid-template-columns: minmax(0, 1fr); } }
.phone-mini { background: var(--graphite); border-radius: 26px; padding: 7px; aspect-ratio: 9/18; max-width: 220px; }
.phone-mini video, .phone-mini img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.post { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.post .ph { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12px; font-weight: 700; }
.post .ph i { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); display: inline-block; }
.post img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.cal span { aspect-ratio: 1; border-radius: 5px; background: var(--mist); font-size: 10px; font-weight: 700; display: grid; place-items: center; color: var(--muted); }
.cal span.p { background: var(--lime); color: var(--ink); }

/* ───────── templates ───────── */
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tpl { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--mist); transform-style: preserve-3d; transition: transform .4s var(--ease), box-shadow .4s; }
.tpl img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tpl:hover img { transform: scale(1.06); }
.tpl:hover { box-shadow: 0 26px 50px -30px rgba(20,22,10,.55); }
.tpl figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: rgba(255,255,255,.94); border-radius: 12px; padding: 9px 12px; font-weight: 800; font-size: 14px; }
.tpl figcaption small { font-weight: 700; color: var(--olive); font-size: 12px; }
.tpl-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 34px; }
.stat b { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 900; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; }

/* ───────── integrations ───────── */
.int-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .int-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.int { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 8px; align-content: start; background: var(--paper); transition: transform .3s var(--ease), border-color .3s; }
.int:hover { transform: translateY(-3px); border-color: var(--graphite); }
.int .nm { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.int p { font-size: 13.5px; color: var(--muted); }
.int .st { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--mist-2); color: var(--muted); }
.int .st.live { background: var(--lime); color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (max-width: 760px) { .principles { grid-template-columns: minmax(0, 1fr); } }
.principles div { display: flex; gap: 12px; align-items: flex-start; background: var(--mist); border-radius: var(--r-lg); padding: 16px 18px; font-weight: 600; font-size: 15px; }
.principles div::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--graphite); color: var(--lime); display: grid; place-items: center; font-size: 12px; font-weight: 900; }

/* ───────── pricing ───────── */
.price-sec { background: var(--mist); }
.bill { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); padding: 4px; gap: 4px; }
.bill button { border: 0; background: transparent; border-radius: 99px; padding: 9px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.bill button[aria-pressed="true"] { background: var(--graphite); color: #fff; }
.bill em { font-style: normal; color: var(--olive); font-weight: 800; }
.bill button[aria-pressed="true"] em { color: var(--lime); }
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -30px rgba(20,22,10,.4); }
.plan.pop { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.plan .badge { position: absolute; top: -11px; left: 22px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.plan .nm { font-weight: 800; font-size: 17px; }
.plan .pr { font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .pr small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan.pop .pr small, .plan.pop .dsc, .plan.pop li { color: #C9CBC2; }
.plan .cr { font-weight: 800; color: var(--olive); }
.plan.pop .cr { color: var(--lime); }
.plan .dsc { font-size: 13.5px; color: var(--muted); }
.plan ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; }
.plan li::before { content: "✓ "; color: var(--olive); font-weight: 900; }
.plan.pop li::before { color: var(--lime); }
.plan .btn { margin-top: 8px; }
.free-row { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; background: var(--paper); border: 1px dashed var(--line); border-radius: 18px; padding: 16px 22px; font-weight: 600; }
.costs { margin-top: 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .costs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cost { background: var(--paper); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 4px; }
.cost b { font-size: 26px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cost b small { font-size: 13px; color: var(--muted); font-weight: 700; }
.cost span { font-size: 13.5px; color: var(--muted); }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ───────── business ───────── */
.biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .biz { grid-template-columns: minmax(0, 1fr); } }
.biz-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 520px) { .biz-list { grid-template-columns: minmax(0, 1fr); } }
.biz-list li { display: grid; gap: 4px; padding-top: 12px; border-top: 2px solid var(--lime-deep); }
.biz-list b { font-size: 15.5px; }
.biz-list span { font-size: 14px; color: var(--muted); }
.form { background: var(--graphite); color: #fff; border-radius: 20px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; }
.form h3 { font-size: 22px; }
.form p { color: #B9BBB2; font-size: 14.5px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #D7D9D0; }
.form input, .form select { width: 100%; border: 1px solid #3A3C40; background: #2C2D31; color: #fff; border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.form input::placeholder { color: #8B8D85; }
.form .ok { display: none; background: var(--lime); color: var(--ink); border-radius: 10px; padding: 12px 14px; font-weight: 700; }
.form.sent .ok { display: block; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .form .row2 { grid-template-columns: minmax(0, 1fr); } }

/* ───────── faq ───────── */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: border-color .3s; }
.faq details[open] { border-color: var(--lime-deep); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-size: 18px; font-weight: 700; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15px; max-width: 68ch; }

/* ───────── final cta ───────── */
.final { padding-block: clamp(40px, 6vw, 80px); }
.final-box { position: relative; overflow: hidden; background: var(--lime); border-radius: 28px; padding: clamp(36px, 6vw, 80px); display: grid; gap: 22px; justify-items: start; }
.final-box::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(11,11,12,.06); }
.final-box h2 { max-width: 16ch; }
.final-box p { font-size: 18px; max-width: 46ch; color: #2B2D1A; }

/* ───────── footer ───────── */
footer { border-top: 1px solid var(--line); padding-block: 48px 36px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 820px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot img { height: 22px; width: auto; }
.foot p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 32ch; }
.foot h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot a { display: block; text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 4px 0; }
.foot a:hover { color: var(--olive); }
.copy { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }

/* ───────── cookie ───────── */
.cookie { position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-left: auto; background: var(--graphite); color: #fff; border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 40px -16px rgba(0,0,0,.45); font-size: 14px; }
.cookie a { color: var(--lime); }
.cookie .btn { padding: 10px 16px; font-size: 13.5px; flex: none; }

/* ───────── reveal (transform only, content stays readable at rest) ───────── */
.rv { transition: transform .9s var(--ease); }
.rv.pre { transform: translateY(28px); }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; } .rv.d5 { transition-delay: .4s; }

/* ───────── legal pages ───────── */
.legal { max-width: 820px; margin: 0 auto; padding-block: 56px 80px; }
.legal h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 14px; }
.legal h2 { font-size: 22px; letter-spacing: -.01em; margin: 34px 0 10px; max-width: none; }
.legal p, .legal li { color: #2F3129; font-size: 15.5px; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.draft { background: var(--lime-soft); border: 1px solid var(--lime-deep); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 14px; margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv.pre { transform: none; }
}
