/* Tahákuj web — layout on top of tokens.css + tahak-ds.css (copied from Tahák DS). */
:root {
  --font-display: "Bricolage Grotesque Variable", "Bricolage Grotesque", "Figtree Variable", system-ui, sans-serif;
  --font-sans: "Figtree Variable", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bezel: #16161b;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--paper); color: var(--ink); overflow-x: hidden; }
a { color: var(--link); }
a:hover { color: var(--ink); }
a.tk-btn { box-sizing: border-box; text-decoration: none; }
img, svg { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.tk-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: var(--radius-md); }
.skip:focus { top: 12px; color: var(--paper); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; box-sizing: border-box; }
.sec { padding-top: 128px; padding-bottom: 128px; }
.sunken { background: var(--paper-sunken); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0; font-size: 14px; line-height: 18px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.h1, .h2, .h3 { margin: 0; font-family: var(--font-display); font-weight: 800; }
.h1 { font-size: 84px; line-height: 82px; letter-spacing: -0.03em; }
.h2 { font-size: 58px; line-height: 58px; letter-spacing: -0.02em; }
.h3 { font-size: 36px; line-height: 40px; }
.lead { margin: 0; font-size: 20px; line-height: 30px; font-weight: 500; color: var(--ink-muted); }
.muted { margin: 0; font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.hand { margin: 0; font-family: var(--font-hand); font-weight: 600; font-size: 26px; line-height: 28px; color: var(--coral-text); align-self: flex-start; }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(2deg); }
.marker { background: var(--highlighter); color: var(--on-highlighter); padding: 0 10px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stack { display: flex; flex-direction: column; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.wordmark { display: inline-flex; align-items: center; gap: 0.2em; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; white-space: nowrap; }
.wordmark-mark { width: 0.82em; height: 1.1em; flex: none; }
.wordmark-hl { position: relative; display: inline-block; padding: 0 0.07em; }
.wordmark-hl::before { content: ""; position: absolute; left: 0; right: 0; top: 0.04em; bottom: 0.1em; background: var(--highlighter); border-radius: 0.05em; transform: rotate(-2deg); }
.wordmark-hl span { position: relative; color: var(--on-highlighter); }
.wordmark:hover, .foot a.wordmark:hover { color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; }
.nav a:hover { color: var(--link); }

/* ---------- store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px 0 16px; box-sizing: border-box; border-radius: var(--radius-md); background: var(--ink); color: var(--paper); text-decoration: none; box-shadow: 3px 3px 0 0 var(--highlighter); border: 2px solid var(--ink); transition: transform 120ms ease, box-shadow 120ms ease; }
.store:hover { color: var(--paper); transform: translate(1px, 1px); box-shadow: 2px 2px 0 0 var(--highlighter); }
.store-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.store-txt { display: flex; flex-direction: column; }
.store-pre { font-size: 12px; line-height: 14px; font-weight: 600; }
.store-big { font-family: var(--font-display); font-size: 21px; line-height: 24px; font-weight: 800; }
.store-small { min-height: 48px; padding: 0 16px; }
.store-small .store-big { font-size: 17px; }
.on-yellow .store { box-shadow: 3px 3px 0 0 var(--paper-raised); }
.ratings { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }
.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.rating .tk-icon { fill: var(--highlighter); stroke: var(--ink); stroke-width: 1.5; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-copy .hand { font-size: 30px; line-height: 32px; }
.hero-copy .lead { max-width: 520px; }
/* --k scales the whole composition (sešit + telefon) per breakpoint; the step buttons sit under it, unscaled. */
.hero-visual { --k: 1; }
.hero-art { position: relative; height: calc(640px * var(--k)); }
.hero-art-inner { position: absolute; left: 0; top: 0; width: 580px; height: 660px; transform-origin: top left; transform: scale(var(--k)); }
.notebook { position: absolute; box-sizing: border-box; background: var(--print-paper); border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-card); font-family: var(--font-hand); font-weight: 600; color: #2a55c9; }
.notebook::before { content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 1.5px; background: var(--coral); }
.notebook div { border-bottom: 1px solid #e3dac8; }
.notebook .nb-title { color: #1f2340; font-size: 25px; text-decoration: underline; text-decoration-thickness: 2px; border: 0; }
.notebook mark { background: #ffe76a; color: inherit; padding: 0 4px; }
.hero-notebook { left: 0; top: 56px; width: 300px; height: 390px; padding: 26px 18px 0 40px; font-size: 21px; line-height: 30px; transform: rotate(-6deg); }
.hero-phone { position: absolute; left: 286px; top: 0; transform: rotate(3deg); }
.hero-sheet { position: absolute; left: 70px; top: 384px; transform: rotate(7deg); }
.hero-note { position: absolute; left: 262px; top: 590px; display: flex; align-items: center; gap: 6px; font-family: var(--font-hand); font-size: 26px; line-height: 28px; font-weight: 600; color: var(--ink); transform: rotate(-3deg); }
.hero-note svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hero story: one 10 s loop (1 Vyfoť 0–25 %, 2 Vyber 25–60 %, 3 Vytiskni 60–100 %).
   Without motion (prefers-reduced-motion) everything stays in its final, static state. */
.hero-steps, .scan-frame { display: none; }
.hero-steps { width: calc(560px * var(--k)); max-width: 100%; margin-top: 36px; flex-direction: column; align-items: center; gap: 6px; }
.hs-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.hs { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 11px 0 4px; box-sizing: border-box; border-radius: 999px; background: var(--paper-raised); border: 1.5px solid var(--line); color: var(--ink-muted); font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.hs b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-sunken); color: var(--ink); font-size: 11px; }
.hs[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.hs-bar { width: min(100%, 240px); height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.hs-bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.scan-frame { position: absolute; left: -12px; top: 44px; width: 324px; height: 414px; z-index: 2; transform: rotate(-6deg); pointer-events: none; border-radius: 10px; }
.scan-frame i { position: absolute; width: 36px; height: 36px; border: 0 solid var(--mint); }
.scan-frame i:nth-child(1) { left: 0; top: 0; border-left-width: 4px; border-top-width: 4px; border-radius: 10px 0 0 0; }
.scan-frame i:nth-child(2) { right: 0; top: 0; border-right-width: 4px; border-top-width: 4px; border-radius: 0 10px 0 0; }
.scan-frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 4px; border-bottom-width: 4px; border-radius: 0 0 0 10px; }
.scan-frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 4px; border-bottom-width: 4px; border-radius: 0 0 10px 0; }
.scan-line { position: absolute; left: 12px; right: 12px; top: 12px; height: 3px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-steps { display: flex; }
  .scan-frame { display: block; }

  [data-hero-anim] { --loop: 10s; }
  [data-hero-anim] .hs-1, [data-hero-anim] .hs-2, [data-hero-anim] .hs-3,
  [data-hero-anim] .hs-bar i, [data-hero-anim] .scan-frame, [data-hero-anim] .scan-line,
  [data-hero-anim] .hero-notebook mark, [data-hero-anim] .found li, [data-hero-anim] .knob,
  [data-hero-anim] .hero-sheet, [data-hero-anim] .hero-note, [data-hero-anim] .hero-phone .scr-title {
    animation-duration: var(--loop); animation-iteration-count: infinite; animation-timing-function: ease-out;
  }

  .hs-1 { animation-name: hs1; }
  .hs-2 { animation-name: hs2; }
  .hs-3 { animation-name: hs3; }
  [data-hero-anim] .hs-bar i { animation-name: hsbar; animation-timing-function: linear; }
  [data-hero-anim] .scan-frame { animation-name: scanframe; }
  [data-hero-anim] .scan-line { animation-name: scanline; animation-timing-function: ease-in-out; }
  [data-hero-anim] .hero-notebook mark { animation-name: markdraw; }
  [data-hero-anim] .knob { animation-name: knobspin; animation-timing-function: linear; }
  [data-hero-anim] .found li:nth-child(1) { animation-name: pop1; }
  [data-hero-anim] .found li:nth-child(2) { animation-name: pop2; }
  [data-hero-anim] .found li:nth-child(3) { animation-name: pop3; }
  [data-hero-anim] .found li:nth-child(4) { animation-name: pop4; }
  [data-hero-anim] .found li:nth-child(5) { animation-name: pop5; }
  [data-hero-anim] .hero-sheet { animation-name: sheetfly; animation-timing-function: cubic-bezier(.3, 1.3, .5, 1); }
  [data-hero-anim] .hero-note { animation-name: notein; }
  [data-hero-anim] .hero-phone .scr-title { animation-name: titlein; }
}

@keyframes hs1 { 0%, 24% { background: var(--highlighter); color: var(--on-highlighter); border-color: var(--on-highlighter); } 26%, 100% { background: var(--paper-raised); color: var(--ink-muted); border-color: var(--line); } }
@keyframes hs2 { 0%, 24%, 61%, 100% { background: var(--paper-raised); color: var(--ink-muted); border-color: var(--line); } 26%, 59% { background: var(--highlighter); color: var(--on-highlighter); border-color: var(--on-highlighter); } }
@keyframes hs3 { 0%, 59% { background: var(--paper-raised); color: var(--ink-muted); border-color: var(--line); } 61%, 97% { background: var(--highlighter); color: var(--on-highlighter); border-color: var(--on-highlighter); } 100% { background: var(--paper-raised); color: var(--ink-muted); border-color: var(--line); } }
@keyframes hsbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scanframe { 0% { opacity: 0; transform: rotate(-6deg) scale(1.06); } 5%, 22% { opacity: 1; transform: rotate(-6deg) scale(1); } 21% { box-shadow: none; background: transparent; } 22.5% { background: rgba(255, 255, 255, 0.85); } 26% { background: transparent; opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes scanline { 0%, 6% { opacity: 0; top: 12px; } 8% { opacity: 1; } 19% { opacity: 1; top: 396px; } 21%, 100% { opacity: 0; top: 396px; } }
@keyframes markdraw { 0%, 30% { background: transparent; } 36%, 94% { background: #ffe76a; } 100% { background: transparent; } }
@keyframes knobspin { 0%, 26% { transform: rotate(0); } 58%, 100% { transform: rotate(360deg); } }
@keyframes titlein { 0%, 24% { opacity: 0.25; } 30%, 100% { opacity: 1; } }
@keyframes pop1 { 0%, 29% { opacity: 0; transform: translateY(10px) scale(.96); } 32%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pop2 { 0%, 34% { opacity: 0; transform: translateY(10px) scale(.96); } 37%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pop3 { 0%, 39% { opacity: 0; transform: translateY(10px) scale(.96); } 42%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pop4 { 0%, 44% { opacity: 0; transform: translateY(10px) scale(.96); } 47%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pop5 { 0%, 49% { opacity: 0; transform: translateY(10px) scale(.96); } 52%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes sheetfly {
  0%, 60% { opacity: 0; transform: translate(10px, -250px) scale(1.55) rotate(-6deg); box-shadow: none; }
  64% { opacity: 1; }
  72% { opacity: 1; transform: translate(0, 0) scale(1) rotate(7deg); box-shadow: 4px 4px 0 0 var(--ink); }
  95% { opacity: 1; transform: translate(0, 0) scale(1) rotate(7deg); box-shadow: 4px 4px 0 0 var(--ink); }
  100% { opacity: 0; transform: translate(0, 0) scale(1) rotate(7deg); box-shadow: 4px 4px 0 0 var(--ink); }
}
@keyframes notein { 0%, 72% { opacity: 0; transform: rotate(-3deg) translateX(-8px); } 77%, 95% { opacity: 1; transform: rotate(-3deg); } 100% { opacity: 0; transform: rotate(-3deg); } }

/* printed sheet scaled into a box: --w is the box width, the sheet is 280 × 395 */
.sheet-box { --k: 0.622; width: calc(280px * var(--k)); height: calc(395px * var(--k)); overflow: hidden; border-radius: 3px; }
.sheet-box > .tk-print { transform: scale(var(--k)); transform-origin: top left; box-shadow: none; }
.sheet-sticker { border: 2px solid var(--ink); box-shadow: 4px 4px 0 0 var(--ink); }
.sheet-soft { box-shadow: var(--shadow-card); }

/* ---------- phone frames ---------- */
.phone { --s: 0.6; flex: none; width: calc(393px * var(--s)); height: calc(852px * var(--s)); border: 9px solid var(--bezel); border-radius: 40px; overflow: hidden; background: var(--bezel); box-shadow: var(--shadow-card); }
.screen { position: relative; width: 393px; height: 852px; box-sizing: border-box; transform: scale(var(--s)); transform-origin: top left; background: var(--paper); color: var(--ink); font-family: var(--font-sans); overflow: hidden; }
.scr-pad { padding: 60px 16px 0; display: flex; flex-direction: column; gap: 18px; }
.scr-cap { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-muted); }
.scr-title { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 36px; font-weight: 800; letter-spacing: -0.015em; }
.scr-label { margin: 4px 0 0; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.scr-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 34px; display: flex; flex-direction: column; gap: 12px; background: var(--paper-raised); border-radius: 20px 20px 0 0; box-shadow: var(--shadow-sheet); }
.found { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.found li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 14px; background: var(--paper-raised); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.found li .tk-icon { color: var(--mint-text); }
.found li.wait { background: none; border: 1.5px dashed var(--line-strong); color: var(--ink-muted); }
.found li.wait .tk-icon { color: var(--ink-muted); }
.shrink-demo { position: relative; height: 170px; }
.shrink-demo .pg { position: absolute; width: 92px; height: 128px; box-sizing: border-box; background: var(--paper-raised); border: 1.5px solid var(--line); border-radius: 4px; box-shadow: var(--shadow-card); }
.shrink-demo .pg i { display: block; height: 2px; margin: 14px 10px 0; background: var(--line); }
.shrink-demo .knob { position: absolute; left: 156px; top: 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--highlighter); color: var(--on-highlighter); border: 2px solid var(--on-highlighter); box-shadow: var(--shadow-sticker); display: grid; place-items: center; box-sizing: border-box; }
.mini-sheet { position: absolute; left: 236px; top: 36px; width: 66px; height: 94px; box-sizing: border-box; padding: 7px 6px; background: var(--print-paper); border: 2px solid var(--on-highlighter); border-radius: 3px; transform: rotate(5deg); box-shadow: var(--shadow-sticker); display: flex; flex-direction: column; gap: 4px; }
.mini-sheet i { display: block; height: 3px; border-radius: 2px; background: #c9c9c9; }
.mini-sheet i.t { height: 4px; width: 70%; background: #555555; }
.mini-sheet i.s { height: 2px; background: var(--subj-dejepis); }
.mini-sheet i.h { background: var(--print-highlight); }
.cam { background: var(--paper-sunken); }
.cam-top { position: absolute; left: 0; right: 0; top: 56px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--paper-raised); font-size: 14px; font-weight: 700; }
.pill-yellow { background: var(--highlighter); color: var(--on-highlighter); font-weight: 800; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cam-photo { left: 50px; top: 150px; width: 293px; height: 410px; padding: 30px 18px 0 38px; font-size: 21px; line-height: 31px; background: #f4efe3; border: 0; transform: rotate(-3deg); }
.corners { position: absolute; left: 38px; top: 138px; width: 317px; height: 434px; transform: rotate(-3deg); }
.corners i { position: absolute; width: 34px; height: 34px; border: 0 solid var(--mint); }
.corners i:nth-child(1) { left: 0; top: 0; border-left-width: 4px; border-top-width: 4px; border-radius: 10px 0 0 0; }
.corners i:nth-child(2) { right: 0; top: 0; border-right-width: 4px; border-top-width: 4px; border-radius: 0 10px 0 0; }
.corners i:nth-child(3) { left: 0; bottom: 0; border-left-width: 4px; border-bottom-width: 4px; border-radius: 0 0 0 10px; }
.corners i:nth-child(4) { right: 0; bottom: 0; border-right-width: 4px; border-bottom-width: 4px; border-radius: 0 0 10px 0; }
.cam-hint { position: absolute; left: 0; right: 0; top: 596px; display: flex; justify-content: center; }
.cam-hint .tk-icon { color: var(--mint-text); }
.cam-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 24px 40px; display: flex; flex-direction: column; gap: 18px; background: var(--paper); }
.cam-modes { align-self: center; display: flex; gap: 4px; font-size: 13px; font-weight: 700; }
.cam-modes span { padding: 4px 12px; color: var(--ink-muted); }
.cam-modes span.on { border-radius: 999px; background: var(--paper-raised); color: var(--ink); }
.cam-row { display: flex; align-items: center; justify-content: space-between; }
.pages-stack { position: relative; width: 52px; height: 64px; }
.pages-stack i { position: absolute; width: 44px; height: 58px; border-radius: 6px; background: #f4efe3; }
.pages-stack i:first-child { left: 6px; top: 0; transform: rotate(8deg); }
.pages-stack i:nth-child(2) { left: 0; top: 4px; border: 2px solid var(--paper); }
.pages-stack b { position: absolute; right: -6px; top: -6px; min-width: 24px; height: 24px; border-radius: 12px; background: var(--highlighter); color: var(--on-highlighter); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.icon-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--paper-raised); color: var(--ink); }
.soon-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: var(--coral-soft); }
.soon-card .soon { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 800; color: var(--coral-text); }
.soon-card strong { font-size: 19px; line-height: 24px; }
.tabbar-slot { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 22px; background: var(--paper-raised); }
.preview-well { flex-grow: 1; min-height: 0; margin: 16px 16px 0; border-radius: 20px; background: var(--paper-sunken); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; box-sizing: border-box; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper-raised); font-size: 14px; font-weight: 700; }
.chip.on { border: 2px solid var(--ink); background: var(--highlighter-soft); }
.mint-note { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--mint-soft); color: var(--mint-text); font-size: 14px; line-height: 20px; font-weight: 700; }

/* ---------- positioning band ---------- */
.band { background: var(--ink); color: var(--paper); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; padding-top: 96px; padding-bottom: 96px; }
.band .hand { font-size: 28px; line-height: 30px; background: var(--highlighter); color: var(--on-highlighter); padding: 0 10px; border-radius: 4px; }
.band-copy { display: flex; flex-direction: column; gap: 18px; font-size: 19px; line-height: 29px; font-weight: 500; }
.band-copy p { margin: 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 72px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.s1 { grid-column: 1 / 7; flex-direction: row; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.s1-copy { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.s2 { grid-column: 8 / 13; margin-top: 160px; }
.s3 { grid-column: 3 / 13; }
.s3-row { display: flex; gap: 48px; align-items: center; }
.s3-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.num { align-self: flex-start; display: grid; place-items: center; width: 64px; height: 64px; box-sizing: border-box; border-radius: 18px; border: 2px solid var(--on-highlighter); font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--on-highlighter); }
.num-1 { background: var(--highlighter); box-shadow: var(--shadow-sticker); transform: rotate(-4deg); }
.num-2 { background: var(--paper-raised); color: var(--ink); border-color: var(--ink); transform: rotate(3deg); }
.num-3 { background: var(--mint); transform: rotate(-2deg); }
.demo-well { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 20px; border-radius: var(--radius-lg); background: var(--paper-sunken); border: 1px solid var(--line); }
.demo-well .tk-density, .demo-well .tk-block, .s3 .tk-meter { max-width: none; }
.demo-well .tk-block[hidden] { display: none; }
.sheets-pair { flex: none; position: relative; width: 340px; height: 300px; }
.sheets-pair .sheet-box { position: absolute; --k: 0.7; }
.sheets-pair .sheet-box:first-child { left: 0; top: 0; transform: rotate(-4deg); }
.sheets-pair .sheet-box:last-child { left: 132px; top: 22px; transform: rotate(5deg); }

/* ---------- screens showcase ---------- */
.showcase .wrap { padding-top: 112px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.phones { display: flex; gap: 36px; align-items: flex-start; justify-content: center; }
.phones figure { flex: none; margin: 0; display: flex; flex-direction: column; gap: 18px; width: 255px; }
.phones figure:nth-child(2) { margin-top: 72px; }
.phones figure:nth-child(3) { margin-top: 24px; }
.phones figure:nth-child(4) { margin-top: 112px; }
.phones figcaption { display: flex; flex-direction: column; gap: 4px; }
.phones figcaption .hand { font-size: 25px; line-height: 26px; }
.phones figcaption span:last-child { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }

/* ---------- print ---------- */
.print-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.a4-holder { height: 640px; }
.a4 { width: 436px; box-sizing: border-box; padding: 16px; background: var(--print-paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); transform-origin: top left; }
.a4 > div { width: 202px; height: 285px; box-sizing: border-box; padding: 4px; overflow: hidden; }
.a4 > div:nth-child(1) { border-right: 1px dashed #9a9a9a; border-bottom: 1px dashed #9a9a9a; }
.a4 > div:nth-child(2) { border-bottom: 1px dashed #9a9a9a; }
.a4 > div:nth-child(3) { border-right: 1px dashed #9a9a9a; }
.a4 .sheet-box { --k: 0.693; }
.formats { width: 100%; min-width: 340px; border-collapse: collapse; font-size: 15px; line-height: 20px; }
.formats th { padding: 0 12px 10px 0; text-align: left; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.formats td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); font-weight: 700; }
.formats td:first-child { font-weight: 500; }
.formats th:last-child, .formats td:last-child { text-align: right; padding-right: 0; }
.formats b { font-family: var(--font-display); font-size: 19px; }
.formats small { display: block; font-size: 13px; color: var(--ink-muted); }
.formats tr:last-child td { border-bottom: 1px solid var(--line); }
.formats tr.def td { background: var(--highlighter-soft); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.formats tr.def td:first-child { padding-left: 12px; }
.formats tr.def td:last-child { padding-right: 12px; }
.formats tr.def + tr td { border-top: 0; }
.tag-ink { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font-size: 11px; line-height: 20px; font-weight: 800; vertical-align: 2px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 22px; }
.checks li { display: flex; gap: 10px; }
.checks .tk-icon { color: var(--mint-text); flex: none; }

/* ---------- parents ---------- */
.parents { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; padding-top: 112px; padding-bottom: 112px; }
.note-sheet { position: relative; padding: 36px 40px 32px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-card); transform: rotate(0.8deg); }
.tape { position: absolute; left: 50%; top: -14px; width: 120px; height: 28px; margin-left: -60px; background: var(--highlighter-soft); border: 1px solid var(--line); transform: rotate(-3deg); opacity: 0.9; }
.note-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.note-head h3 { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 30px; font-weight: 800; }
.note-head span { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.note-list { margin: 0; padding: 0; list-style: none; }
.note-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.note-list li:last-child { border-bottom: 0; }
.note-list .tk-icon { flex: none; }
.note-list b { font-size: 17px; }
.note-list span { color: var(--ink-muted); }
.signature { display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.signature span:first-child { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink-muted); }
.signature span:last-child { flex: 1 1 auto; min-width: 120px; border-bottom: 1.5px solid var(--line-strong); font-family: var(--font-hand); font-size: 28px; line-height: 30px; font-weight: 600; color: var(--link); padding-left: 12px; }

/* ---------- pricing ---------- */
.price-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.price-note { padding: 4px 12px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); font-size: 13px; line-height: 20px; font-weight: 700; color: var(--ink-muted); }
.prices { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr) minmax(0, 0.95fr); gap: 32px; align-items: start; }
.plan { display: flex; flex-direction: column; gap: 18px; }
.plan h3 { margin: 0; font-size: 19px; line-height: 24px; font-weight: 800; }
.plan .amount { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.plan .amount b { font-family: var(--font-display); font-size: 48px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; }
.plan .amount span { font-size: 15px; font-weight: 700; color: var(--ink-muted); }
.plan ul { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 22px; }
.plan-free { padding: 28px 4px 0; border-top: 2px solid var(--ink); }
.plan-free ul { color: var(--ink-muted); }
.plan-premium { position: relative; padding: 32px; background: var(--paper-raised); border: 2px solid var(--ink); border-radius: var(--radius-xl); box-shadow: 6px 6px 0 0 var(--ink); transform: rotate(-1deg); }
.plan-premium .amount b { font-size: 64px; line-height: 64px; }
.plan-premium .amount span { font-size: 17px; }
.plan-premium .per-note { margin: -8px 0 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }
.plan-premium ul.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; padding: 0; }
.plan-premium .hand { font-size: 25px; }
.plan-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.period { display: flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--paper-sunken); border: 1px solid var(--line); }
.period button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.period button[aria-pressed="true"] { background: var(--highlighter); color: var(--on-highlighter); }
.plan-family { position: relative; padding: 36px 28px 28px; margin-top: 28px; background: var(--highlighter-soft); border-radius: 4px; box-shadow: var(--shadow-card); transform: rotate(1.5deg); }
.plan-family .tape { width: 96px; margin-left: -48px; top: -12px; height: 24px; background: var(--paper-raised); transform: rotate(4deg); opacity: 0.85; }
.fine { margin: 0; max-width: 760px; font-size: 14px; line-height: 21px; font-weight: 600; color: var(--ink-muted); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 72px; align-items: start; padding-top: 112px; padding-bottom: 112px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; font-size: 19px; line-height: 26px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin: 0 0 20px; max-width: 640px; font-size: 16px; line-height: 25px; color: var(--ink-muted); }
.faq-plus { flex: none; display: grid; transition: transform 200ms ease; }
details[open] .faq-plus { transform: rotate(45deg); }

/* ---------- final CTA ---------- */
.cta-sec { padding: 24px 0 120px; }
.cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 56px; background: var(--highlighter); color: var(--on-highlighter); border: 2px solid var(--on-highlighter); border-radius: var(--radius-xl); box-shadow: 8px 8px 0 0 var(--on-highlighter); transform: rotate(-0.6deg); }
.cta .hand { color: var(--on-highlighter); font-size: 30px; line-height: 32px; }
.cta .h2 { max-width: 720px; }
.cta .stack { gap: 24px; }
.cta-mascot { background: var(--paper-raised); padding: 14px 16px 14px 12px; border-radius: var(--radius-lg); border: 2px solid var(--on-highlighter); transform: rotate(2deg); color: var(--ink); }

/* ---------- waitlist form bits (used on /stahnout) ---------- */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 15px; font-weight: 700; }
.form-msg.err { color: var(--critical); }
.form-msg.ok { color: var(--mint-text); }

/* ---------- download page (/stahnout) ---------- */
[hidden] { display: none !important; }
.dl-hero { padding: 56px 0 40px; }
.dl-hero .wrap { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.dl-hero .hand { align-self: center; font-size: 28px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; margin-bottom: 56px; }
.dl-card { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 28px; background: var(--paper-raised); border: 1.5px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); scroll-margin-top: 24px; }
.dl-card:target, .dl-card.is-yours { border: 2px solid var(--ink); box-shadow: 6px 6px 0 0 var(--ink); }
.dl-yours { position: absolute; top: -13px; left: 28px; padding: 2px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; line-height: 20px; font-weight: 800; }
.dl-head { display: flex; align-items: center; gap: 18px; }
.app-icon { position: relative; flex: none; width: 88px; height: 88px; }
.app-icon img { display: block; width: 88px; height: 88px; border-radius: 20px; box-shadow: var(--shadow-card); }
.app-icon-android img { border-radius: 50%; }
.soon-tag { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%) rotate(-4deg); padding: 2px 10px; border-radius: 999px; background: var(--highlighter); color: var(--on-highlighter); border: 2px solid var(--on-highlighter); box-shadow: var(--shadow-sticker); font-size: 12px; line-height: 18px; font-weight: 800; white-space: nowrap; }
.dl-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-title h2 { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 36px; font-weight: 800; }
.dl-platform { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.dl-sub { font-size: 15px; color: var(--ink-muted); }
.dl-shots { display: flex; justify-content: safe center; gap: 12px; padding: 20px 8px 8px; border-radius: var(--radius-lg); background: var(--paper-sunken); overflow-x: auto; scroll-snap-type: x mandatory; }
.dl-shots .phone { --s: 0.33; position: relative; scroll-snap-align: center; box-shadow: var(--shadow-card); }
.phone-ios { border-width: 7px; border-radius: 30px; }
.phone-ios::after { content: ""; position: absolute; z-index: 2; top: 6px; left: 50%; width: 52px; height: 15px; margin-left: -26px; border-radius: 999px; background: var(--bezel); }
.phone-android { border-width: 6px; border-radius: 20px; }
.phone-android::after { content: ""; position: absolute; z-index: 2; top: 8px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--bezel); }
.dl-action { display: flex; flex-direction: column; gap: 12px; }
.dl-action .store { align-self: flex-start; }
.dl-form { display: flex; flex-direction: column; gap: 12px; }
.dl-label { font-size: 17px; font-weight: 800; }
.dl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-row input { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: var(--radius-md); border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.dl-row input:focus { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.dl-role { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.dl-role legend { float: left; margin-right: 6px; font-size: 14px; font-weight: 700; color: var(--ink-muted); }
.dl-role label { position: relative; }
.dl-role input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.dl-role span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 13px; font-weight: 700; }
.dl-role input:checked + span { border: 2px solid var(--ink); background: var(--highlighter-soft); }
.dl-role input:focus-visible + span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.dl-more { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: 8px; margin-bottom: 96px; }

/* ---------- footer ---------- */
.site-foot { background: var(--paper-sunken); border-top: 1px solid var(--line); }
.site-foot .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot nav { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot nav span { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.foot a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--link); text-decoration: underline; }
.foot a.store { color: var(--paper); text-decoration: none; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; }
.foot-brand p { margin: 0; max-width: 360px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding-top: 72px; padding-bottom: 120px; }
.legal h1 { margin: 0 0 32px; }
.legal h2 { font-family: var(--font-display); font-size: 26px; line-height: 32px; margin: 40px 0 12px; }
.legal p { font-size: 17px; line-height: 27px; margin: 0 0 16px; }

.hero { overflow-x: clip; }
@media (min-width: 981px) and (max-width: 1240px) {
  .hero-visual { --k: 0.8; }
  .h1 { font-size: 68px; line-height: 68px; }
  /* four phones (4 × 255 px) don't fit: two rows of two */
  .phones { flex-wrap: wrap; row-gap: 48px; }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .hero-visual { --k: 0.72; }
}

/* ---------- phone width ---------- */
@media (max-width: 980px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .dl-card { padding: 22px 16px; }
  .dl-card.is-yours { order: -1; }
  .dl-shots { justify-content: flex-start; }
  .dl-hero { padding: 32px 0 24px; }
  .wrap { padding: 0 16px; }
  .sec { padding-top: 80px; padding-bottom: 80px; }
  .nav { display: none; }
  .h1 { font-size: 46px; line-height: 48px; }
  .h2 { font-size: 36px; line-height: 40px; }
  .lead { font-size: 17px; line-height: 25px; }
  .hero { padding: 32px 0 64px; }
  .hero .wrap, .band .wrap, .print-grid, .parents, .prices, .faq, .cta { grid-template-columns: minmax(0, 1fr); }
  .band .wrap { gap: 28px; padding-top: 72px; padding-bottom: 72px; }
  .hero-visual { --k: 0.62; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .s1, .s2, .s3 { grid-column: auto; margin-top: 0; }
  .s3-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .showcase .wrap { padding-top: 80px; padding-bottom: 80px; }
  .phones { justify-content: flex-start; overflow-x: auto; padding: 8px 16px 24px; margin: 0 -16px; gap: 24px; scroll-snap-type: x mandatory; }
  .phones figure { scroll-snap-align: start; margin-top: 0 !important; }
  .print-grid { gap: 40px; }
  .a4-holder { height: 510px; }
  .a4 { transform: scale(0.82); }
  .parents, .faq { padding-top: 80px; padding-bottom: 80px; gap: 40px; }
  .note-sheet { padding: 32px 20px 24px; }
  .prices { gap: 40px; }
  .plan-premium { padding: 24px; }
  .plan-family { margin-top: 0; }
  .cta { padding: 32px 22px; }
  .cta-sec { padding-bottom: 80px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .hero-visual { --k: 0.56; }
}
