/* Fastlane website. Palette: Cream #F3EEE3, Ink Black #111111, Burnt Orange #D9541E (the only orange), written in OKLCH so equal lightness looks equal.
   Cream bands with ink text alternate with ink bands with cream text; orange marks only what matters (buttons, prices, highlights).
   Each band sets its own colour tokens (--bg, --fg, --card…), so cards adapt to whichever band they sit in.
   Everything you can touch moves as a whole: cards, phones and the price card tilt in 3D toward the pointer (site.js sets --rx/--ry),
   lift, and squash when pressed. Sizes are fluid (clamp, dvh) so each screen gets its own layout. */
:root {
  --cream: oklch(95% 0.016 86.4);        /* #F3EEE3 */
  --cream-2: oklch(91.7% 0.021 85.9);    /* #EAE3D4 */
  --paper: oklch(99.4% 0.007 88.6);      /* #FFFDF8 */
  --ink: oklch(17.8% 0 0);               /* #111111 */
  --ink-2: oklch(26.9% 0 0);             /* #262626 */
  --ink-3: oklch(31% 0 0);
  --orange: oklch(61.5% 0.178 39.8);     /* #D9541E */
  --edge: var(--ink);                    /* the 3D ledge under orange buttons and lifted cards */
  --ok: oklch(65% 0.17 150);
  /* band tokens: cream band by default */
  --bg: var(--cream); --fg: var(--ink); --fg-soft: oklch(45.9% 0.016 82.4); --accent-text: var(--orange);
  --card: var(--paper); --card-hi: oklch(100% 0 0); --line: oklch(17.8% 0 0 / .12); --line-hi: oklch(17.8% 0 0 / .25);
  --lift: 0 30px 60px -24px oklch(30% 0.05 50 / .35);
  --display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif; --serif: 'Instrument Serif', Georgia, serif;
  --body: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px); --wrap: 1240px;
  --r: clamp(18px, 1.8vw, 26px);
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.8, .64, 1); --bounce: cubic-bezier(.5, 2.2, .4, .8);
  color-scheme: light;
}
/* Ink bands: depth from lighter surfaces, because shadows barely show on black */
.ink, .contact-pop {
  --bg: var(--ink); --fg: var(--cream); --fg-soft: oklch(78% 0.015 85); --accent-text: var(--orange);
  --card: var(--ink-2); --card-hi: var(--ink-3); --line: oklch(95% 0.016 86.4 / .12); --line-hi: oklch(95% 0.016 86.4 / .25);
  --lift: 0 0 0 transparent; color-scheme: dark;
}
.alt { --bg: var(--cream-2); }
@media (min-width: 1700px) { :root { --wrap: 1440px; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 clamp(15.5px, .35vw + 14px, 18px)/1.6 var(--body); color: var(--fg); background: var(--bg); overflow-x: clip; }
/* The tilted ticker pokes past the screen edge: clip it so the page never scrolls sideways. On html "hidden" goes to the window itself (keeps the sticky nav working); main gets "clip". */
html { overflow-x: hidden; } main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; box-shadow: 0 0 0 7px var(--ink); border-radius: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .96; }
h1 { font-size: clamp(3rem, 7.6vw, 6.8rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin-bottom: clamp(10px, 1.4vw, 16px); }
/* the emphasised words switch to an italic serif in orange, like an editorial headline */
h1 em, h2 em { display: inline-block; font: italic 400 1.08em/0.9 var(--serif); letter-spacing: -.01em; color: var(--orange); padding-right: .06em; }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
/* Icon stroke follows the weight of the text beside it: thin next to body text, heavy next to bold labels and buttons */
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.btn .i, .nav .i, .logo .i, .eyebrow .i, .ic .i, .ticks .i, .included .i, .nfc-tag .i, .pop-ic .i, .pop-x .i { stroke-width: 2.5; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--orange); color: var(--ink); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow .i { width: 17px; height: 17px; }
.lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); color: var(--fg-soft); max-width: 56ch; }

/* Buttons: big and bouncy, they press down like a real key. Labels are bold 19px so white on orange counts as large text (4:1).
   The arrow swaps out with a blur and flies back in. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--orange); color: oklch(100% 0 0); font: 750 1.18rem var(--body); letter-spacing: -.01em; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 6px 0 var(--edge), 0 18px 40px -12px oklch(61.5% 0.178 39.8 / .65);
  transition: transform .35s var(--bounce), box-shadow .25s var(--ease), background .2s; }
.btn:hover { background: var(--orange); transform: translateY(-5px) scale(1.07) rotate(-1.5deg); box-shadow: 0 11px 0 var(--edge), 0 28px 50px -12px oklch(61.5% 0.178 39.8 / .75); }
.btn:active { transform: translateY(5px) scale(.94); box-shadow: 0 1px 0 var(--edge); transition-duration: .07s; }
.btn .i { width: 20px; height: 20px; }
.btn:hover .i { animation: swap .5s var(--ease); }
@keyframes swap {
  45% { transform: translateX(16px); filter: blur(4px); opacity: 0; }
  46% { transform: translateX(-16px); filter: blur(4px); opacity: 0; }
}
.btn.ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); box-shadow: inset 0 0 0 2px var(--fg), 0 11px 0 var(--line-hi); }
.btn.ghost:active { box-shadow: inset 0 0 0 2px var(--fg); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn.big { min-height: 68px; padding: 0 38px; font-size: 1.25rem; }
/* the nav button is secondary (ink), so the hero's orange button is the one main action on the first screen */
.nav .btn.small { background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 oklch(0% 0 0); }
.nav .btn.small:hover { background: var(--orange); color: oklch(100% 0 0); box-shadow: 0 7px 0 var(--edge); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: oklch(95% 0.016 86.4 / .85); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 66px; width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.logo { display: inline-flex; align-items: center; gap: 7px; font: 800 1.65rem/1 var(--display); letter-spacing: -.05em; text-decoration: none; transition: transform .4s var(--bounce); }
.logo img { width: auto; height: 1.9em; margin: -.15em -2px -.15em 0; }
.logo:hover { transform: scale(1.08) rotate(-3deg); }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--fg-soft); transition: background .2s, color .2s, transform .35s var(--bounce); }
.nav nav a:hover { background: var(--cream-2); color: var(--fg); transform: translateY(-3px) scale(1.06); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 360px) { .nav .btn.small { padding: 0 14px; font-size: .85rem; } .logo { font-size: 1.4rem; } }

/* Hero: fills the first screen (100dvh, not vh, which breaks in Safari); the phone sizes itself to the screen height */
.hero { position: relative; overflow: hidden; display: grid; align-items: center; min-height: min(calc(100vh - 66px), 980px); min-height: min(calc(100dvh - 66px), 980px); padding: clamp(28px, 5vw, 64px) 0;
  background:
    radial-gradient(45% 60% at 80% 45% in oklch, oklch(61.5% 0.178 39.8 / .28), transparent 70%),
    linear-gradient(oklch(17.8% 0 0 / .05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, oklch(17.8% 0 0 / .05) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--cream); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy .lead { margin: clamp(16px, 2vw, 24px) 0 clamp(22px, 2.6vw, 32px); }
.hero h1 em { animation: jelly 1.1s .6s var(--ease) both; transform-origin: 50% 90%; }
@keyframes jelly { 0% { transform: scale(.4, 1.6); opacity: 0; } 30% { transform: scale(1.25, .8); opacity: 1; } 50% { transform: scale(.9, 1.12); } 70% { transform: scale(1.05, .96); } 100% { transform: none; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.ticks { list-style: none; padding: 0; margin: clamp(22px, 2.6vw, 32px) 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--fg-soft); font-weight: 600; font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .i, .included .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--orange); color: oklch(100% 0 0); }
.hero-art { position: relative; display: grid; place-items: center; padding: clamp(20px, 4dvh, 48px) 0; }
/* an orange block behind the phone, offset, like a print layout */
.hero-art::before { content: ''; position: absolute; width: min(78%, 360px); aspect-ratio: 4 / 5; border-radius: 32px; background: var(--orange); rotate: 7deg; translate: 8% 4%; animation: drift 7s -2s ease-in-out infinite; }
@keyframes drift { 50% { translate: 8% calc(4% - 22px); rotate: 9deg; } }
.phone { --w: 270px; position: relative; width: var(--w); aspect-ratio: 390 / 844; border-radius: calc(var(--w) * .155); padding: calc(var(--w) * .033); background: var(--ink);
  box-shadow: 0 0 0 2px oklch(100% 0 0 / .08), 0 40px 80px -24px oklch(20% 0.04 50 / .55);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rot, 0deg)) scale(var(--s, 1));
  transition: transform var(--td, .5s) var(--spring); animation: float 6s ease-in-out infinite; }
/* nested radius: the screen's corner is the frame's corner minus the frame's padding */
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(var(--w) * (.155 - .033)); }
.hero .phone { --w: clamp(200px, min(30dvh, 26vw), 300px); }
.phone.tilt { --rot: -5deg; }
.phone.tilt-r { --rot: 5deg; justify-self: center; }
.phone:hover { --rot: 0deg; --s: 1.07; --td: .25s; }
@keyframes float { 50% { translate: 0 -18px; } }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 18px; background: var(--paper); color: var(--ink); border: 1px solid oklch(17.8% 0 0 / .08);
  box-shadow: 0 24px 50px -18px oklch(20% 0.04 50 / .45); font-size: .9rem; line-height: 1.25; animation: bob 4s ease-in-out infinite; transition: transform .4s var(--bounce); }
.float:hover { transform: scale(1.12) rotate(-3deg); }
.float b { display: block; font-size: 1rem; }
.float small { color: oklch(45.9% 0.016 82.4); }
.float .i { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--orange); color: oklch(100% 0 0); stroke-width: 2.25; }
.float .dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); }
.float .dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 1.4s ease-out infinite; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }
.f1 { top: 12%; left: 0; }
.f2 { bottom: 16%; right: 0; animation-delay: -2s; }
.nfc-tag { position: absolute; bottom: 4%; left: 8%; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--cream);
  font-weight: 750; font-size: .88rem; rotate: -7deg; box-shadow: 0 6px 0 oklch(0% 0 0); animation: wiggle 3s ease-in-out infinite; }
.nfc-tag .i { color: var(--orange); }
@keyframes bob { 50% { translate: 0 -16px; } }
@keyframes wiggle { 0%, 80%, 100% { transform: none; } 85% { transform: rotate(-6deg) scale(1.08); } 90% { transform: rotate(6deg) scale(1.08); } 95% { transform: rotate(-3deg); } }

/* Ticker strip: ink with cream words and orange bolts; the edges fade out with a mask instead of a hard cut */
.ticker { overflow: hidden; background: var(--ink); color: var(--cream); rotate: -1.5deg; scale: 1.03; margin: -10px 0; position: relative; z-index: 2;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15% 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15% 85%, transparent); }
.ticker-in { display: flex; align-items: center; gap: 28px; width: max-content; padding: 15px 0; font: 800 clamp(1rem, 1.7vw, 1.4rem)/1 var(--display); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; animation: tick 22s linear infinite; }
.ticker .i { fill: var(--orange); stroke: var(--orange); width: 20px; height: 20px; }
.ticker:hover .ticker-in { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; background: var(--bg); color: var(--fg); }

/* Cards: the whole box moves — lifts, tilts in 3D toward the pointer, grows, and squashes when pressed */
.card { --pad: clamp(16px, 2vw, 26px); position: relative; isolation: isolate; border-radius: var(--r); padding: var(--pad); background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 2px 0 var(--line); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)) scale(var(--s, 1)) rotate(var(--rot, 0deg));
  transition: transform var(--td, .55s) var(--spring), background .25s, border-color .25s, box-shadow .35s var(--ease); }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%) in oklch, oklch(61.5% 0.178 39.8 / .22), transparent 70%); }
.card:hover { --ty: -14px; --s: 1.05; --rot: -1.2deg; background: var(--card-hi); border-color: var(--orange);
  box-shadow: 0 14px 0 var(--orange), var(--lift); --td: .3s; z-index: 2; }
.card:hover::before { opacity: 1; }
.card:active { --ty: 2px; --s: .94; --rot: 0deg; box-shadow: 0 2px 0 var(--orange); --td: .08s; }
/* nested radius: the icon tile's corner is the card's corner minus the card's padding (never below 10px) */
.card .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: max(10px, calc(var(--r) - var(--pad))); background: var(--ink); color: var(--orange); margin-bottom: 14px;
  transition: transform .5s var(--bounce), background .25s, color .25s; }
.ink .card .ic { background: var(--orange); color: oklch(100% 0 0); }
.card .ic .i { width: 26px; height: 26px; }
.card:hover .ic { transform: rotate(-12deg) scale(1.22); background: var(--orange); color: oklch(100% 0 0); }

/* Problem */
.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); margin-top: clamp(20px, 2.6vw, 32px); counter-reset: p; }
.pain { counter-increment: p; }
.pain::after { content: '0' counter(p); position: absolute; top: 12px; right: 16px; font: italic 400 3rem/1 var(--serif); color: oklch(17.8% 0 0 / .14); transition: color .3s, transform .5s var(--bounce); }
.pain:hover::after { color: var(--orange); transform: scale(1.35) rotate(8deg); }
.pain h3 { margin-bottom: 6px; }
.pain p { color: var(--fg-soft); font-size: .96rem; }

/* How it works */
.flow { list-style: none; padding: 0; margin: clamp(22px, 2.6vw, 32px) 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.flow-n { position: absolute; top: 10px; right: 18px; font: italic 400 3.6rem/1 var(--serif); color: oklch(61.5% 0.178 39.8 / .45); transition: color .3s, transform .5s var(--bounce); }
.flow li:hover .flow-n { color: var(--orange); transform: scale(1.35) rotate(-8deg); }
.flow b { display: block; font: 800 1.45rem/1.1 var(--display); margin-bottom: 6px; }
.flow p { color: var(--fg-soft); }
.note { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; transition: transform .4s var(--bounce); }
.note:hover { transform: scale(1.05) rotate(-1deg); }
.note .i { color: var(--accent-text); stroke-width: 2.25; }

/* Live demo */
.demo-box { margin-top: clamp(22px, 2.6vw, 30px); height: clamp(600px, calc(100vh - 120px), 900px); height: clamp(600px, calc(100dvh - 120px), 900px); border-radius: 26px; overflow: hidden; background: var(--ink);
  box-shadow: 0 0 0 6px var(--ink), 14px 14px 0 6px var(--orange), 0 50px 90px -30px oklch(20% 0.04 50 / .5); }
.demo-box iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-launch { display: none; margin-top: 28px; align-items: center; gap: clamp(14px, 4vw, 22px); padding: clamp(14px, 4vw, 20px); border-radius: 24px; background: var(--ink); color: var(--cream); text-decoration: none;
  box-shadow: 8px 8px 0 var(--orange); transition: transform .45s var(--spring), box-shadow .3s; }
.demo-launch:hover { transform: translate(-4px, -8px) scale(1.03) rotate(-1deg); box-shadow: 14px 16px 0 var(--orange); }
.demo-launch:active { transform: scale(.96); box-shadow: 2px 2px 0 var(--orange); }
.phone.mini { --w: clamp(84px, 26vw, 120px); flex: none; animation: none; }
.demo-launch-txt { display: grid; gap: 4px; min-width: 0; }
.demo-launch-txt b { font: 800 clamp(1.5rem, 6vw, 2rem)/1 var(--display); letter-spacing: -.03em; }
.demo-launch-txt small { color: oklch(78% 0.015 85); margin-bottom: 10px; }
.demo-launch-txt .btn { justify-self: start; }
@media (max-width: 899px) { .demo-box { display: none; } .demo-launch { display: flex; } }

/* Waiter */
.split { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split > .phone { --w: clamp(220px, 24vw, 300px); box-shadow: 0 0 0 2px var(--line-hi), 16px 16px 0 var(--orange); }
.features { list-style: none; padding: 0; margin: clamp(18px, 2.4vw, 28px) 0 0; display: grid; gap: 12px; }
.features li { --pad: 14px; display: flex; gap: 16px; align-items: center; }
.features li:hover { --rot: 0deg; --ty: -6px; translate: 10px 0; }
.features .ic { margin: 0; flex: none; width: 48px; height: 48px; }
.features p { color: var(--fg-soft); }

/* Owner gains */
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); margin-top: clamp(20px, 2.6vw, 32px); }
.gains h3 { font: 800 1.45rem/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 4px; }
.gains p { color: var(--fg-soft); }
.gains article:first-child { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gains article:first-child p { color: oklch(78% 0.015 85); }
.gains article:first-child .ic { background: var(--orange); color: oklch(100% 0 0); }

/* Price */
.price-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.included { list-style: none; padding: 0; margin: clamp(20px, 2.4vw, 28px) 0 0; display: grid; gap: 12px; }
.included li { display: flex; align-items: center; gap: 12px; font-weight: 600; transition: transform .35s var(--bounce); }
.included li:hover { transform: translateX(10px) scale(1.04); }
.price-card { --pc: 30px; --pp: clamp(18px, 2.6vw, 30px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: var(--pp); border-radius: var(--pc); background: var(--ink); color: var(--cream);
  box-shadow: 16px 16px 0 var(--orange), 0 50px 100px -30px oklch(20% 0.04 50 / .5);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rot, 1.5deg)) scale(var(--s, 1)); transition: transform .55s var(--spring), box-shadow .4s var(--ease); }
.price-card:hover { --rot: 0deg; --s: 1.03; box-shadow: 24px 24px 0 var(--orange), 0 60px 110px -30px oklch(20% 0.04 50 / .55); transition-duration: .3s, .4s; }
/* nested radius: inner boxes = card corner minus card padding */
.price { padding: clamp(16px, 2vw, 22px); border-radius: max(12px, calc(var(--pc) - var(--pp))); background: var(--ink-2); transition: transform .45s var(--bounce); }
.price:hover { transform: scale(1.06) rotate(-1.5deg); }
.price small { font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: oklch(78% 0.015 85); }
.price b { display: block; font: 800 clamp(3rem, 5.4vw, 4.4rem)/1 var(--display); letter-spacing: -.045em; margin: 8px 0 4px; color: var(--orange); }
.price b span { font: 700 1.05rem var(--body); letter-spacing: 0; color: var(--cream); }
.price p { color: oklch(78% 0.015 85); font-size: .93rem; }
.example { grid-column: 1 / -1; padding: 14px 16px; border-radius: max(10px, calc(var(--pc) - var(--pp))); border: 2px dashed oklch(95% 0.016 86.4 / .25); font-weight: 650; }
.example span { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: .76rem; font-weight: 750; }
.price-card .btn, .price.wide { grid-column: 1 / -1; }
.setup-line { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--card); color: var(--fg-soft); border: 1px solid var(--line); border-left: 4px solid var(--orange); }
.setup-line b { color: var(--fg); }
.setup-line .i { color: var(--accent-text); margin-top: 2px; }

/* Contact pop-up: the page blurs behind it */
.contact-pop { --pc: 30px; --pp: clamp(24px, 5vw, 36px); width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: var(--pp); border: 0; border-radius: var(--pc);
  background: var(--ink); color: var(--fg); box-shadow: 14px 14px 0 var(--orange), 0 50px 100px -20px oklch(0% 0 0 / .6); overscroll-behavior: contain; }
.contact-pop::backdrop { background: oklch(17.8% 0 0 / .35); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.contact-pop[open] { animation: popin .6s var(--bounce); }
.contact-pop[open]::backdrop { animation: fadein .3s ease; }
.contact-pop.closing { animation: popout .22s ease-in forwards; }
.contact-pop.closing::backdrop { animation: fadein .22s ease-in reverse forwards; }
@keyframes popin { from { opacity: 0; transform: translateY(60px) scale(.7) rotate(-4deg); } }
.contact-pop.shake { animation: shake .5s ease-in-out; } /* after a successful send, just before it closes */
@keyframes shake { 20% { transform: translateX(-10px) rotate(-1deg); } 40% { transform: translateX(9px) rotate(1deg); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
@keyframes popout { to { opacity: 0; transform: translateY(30px) scale(.85) rotate(2deg); } }
@keyframes fadein { from { opacity: 0; } }
.contact-pop h2 { font-size: clamp(1.9rem, 6vw, 2.6rem); padding-right: 36px; }
.pop-lead { color: var(--fg-soft); margin-bottom: 20px; }
.pop-x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--card); color: var(--fg); cursor: pointer;
  transition: transform .4s var(--bounce), background .2s; }
.pop-x:hover { background: var(--orange); color: oklch(100% 0 0); transform: rotate(180deg) scale(1.15); }
.pop-x:active { transform: rotate(180deg) scale(.9); }
.pop-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.pop-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line);
  transition: transform .4s var(--bounce), border-color .2s, background .2s; animation: popin .6s var(--bounce) both; }
.pop-list li:nth-child(2) { animation-delay: .08s; } .pop-list li:nth-child(3) { animation-delay: .16s; }
.pop-list li:hover { border-color: var(--orange); background: var(--card-hi); transform: translateX(8px) scale(1.04) rotate(-1deg); }
/* nested radius: the icon tile's corner is the row's corner minus the row's padding */
.pop-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: calc(18px - 12px); background: var(--orange); color: oklch(100% 0 0); }
.pop-list small, .pop-label { display: block; font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.pop-list b a { color: inherit; text-decoration: none; }
.pop-list b { font-size: clamp(1.05rem, 3.6vw, 1.25rem); overflow-wrap: anywhere; }
.pop-actions { display: flex; gap: 12px; }
.pop-actions > .btn { flex: 1; min-width: 0; padding-inline: clamp(12px, 4vw, 28px); }
.pop-actions > .btn[hidden] { display: none; }
.pop-actions > .btn:disabled { opacity: .55; cursor: wait; }
/* Questionnaire: the inputs sit inside the same list rows, in the row's own type */
.pop-list[hidden] { display: none; }
.pop-list li > div { flex: 1; min-width: 0; }
.pop-list input:not([type=radio]) { display: block; width: 100%; padding: 2px 0; border: 0; background: none; color: var(--fg); font: inherit; outline: 0; box-shadow: none; }
.pop-list input::placeholder { color: var(--fg-soft); opacity: .6; }
.pop-list li:focus-within { border-color: var(--orange); background: var(--card-hi); }
.pop-list li:has(:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
html:has(.contact-pop[open]) { overflow: hidden; }


/* Scroll reveal: big springy pop-in. Uses translate/scale/rotate (not transform) so hover transforms still work afterwards.
   Only with JS (site.js adds .js), so everything stays visible without it. Cards in a grid come in one by one. */
/* the list also carries the hover transitions (transform, colours), because this rule replaces the element's own transition list */
.js .reveal { opacity: 0; translate: 0 80px; scale: .82; rotate: 3deg;
  transition: opacity .6s var(--ease) var(--d, 0s), translate .9s var(--spring) var(--d, 0s), scale .9s var(--spring) var(--d, 0s), rotate .9s var(--spring) var(--d, 0s),
    transform var(--td, .5s) var(--spring), background .25s, border-color .25s, box-shadow .35s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }

/* Layout changes by width */
@media (max-width: 1020px) { .pains, .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-in, .split, .price-in { grid-template-columns: 1fr; }
  .hero .phone { --w: clamp(200px, 56vw, 270px); }
  .split > .phone { justify-self: center; }
  .flow { grid-template-columns: 1fr; }
  .price-card { --rot: 0deg; box-shadow: 10px 10px 0 var(--orange); }
}
@media (max-width: 560px) {
  .pain, .gains article { --pad: 14px; } .pain h3 { font-size: .98rem; } .gains h3 { font-size: 1.15rem; } .pain p, .gains p { font-size: .88rem; }
  .card .ic { width: 42px; height: 42px; margin-bottom: 10px; } .card .ic .i { width: 22px; height: 22px; }
  .pain::after { font-size: 2rem; top: 8px; right: 12px; }
  .f1 { top: 4%; } .float { padding: 10px 14px 10px 10px; font-size: .82rem; }
  .price-card { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 auto; }
  .demo-box, .split > .phone { box-shadow: 0 0 0 2px var(--line-hi), 10px 10px 0 var(--orange); }
}
@media (max-width: 340px) { .pains, .gains { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-height: 720px) { h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); } .hero-art { padding: 8px 0; } }
/* Call bar: phones only. Ink pill pinned to the bottom with a ringing orange "Kontaktirajte nas". */
.callbar { display: none; }
@keyframes ring { 0%, 60%, 100% { transform: none; } 65%, 75%, 85% { transform: rotate(-18deg) scale(1.15); } 70%, 80%, 90% { transform: rotate(18deg) scale(1.15); } }
@keyframes halo { 0% { box-shadow: 0 5px 0 var(--edge), 0 0 0 0 oklch(61.5% 0.178 39.8 / .6); } 70%, 100% { box-shadow: 0 5px 0 var(--edge), 0 0 0 16px oklch(61.5% 0.178 39.8 / 0); } }
@keyframes cardflash { 30% { border-color: var(--orange); box-shadow: 0 8px 0 var(--orange); } }

/* Phones: lighter to draw (no backdrop blur, no grid, fewer endless animations, small shadows), quicker pop-ins,
   and more colour since there's no hover — icons and numbers are orange from the start and each card flashes orange as it lands. */
@media (max-width: 760px) {
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: oklch(95% 0.016 86.4 / .97); }
  .hero { background: radial-gradient(70% 50% at 70% 75% in oklch, oklch(61.5% 0.178 39.8 / .35), transparent 70%), var(--cream); }
  .hero-art::before { animation: none; }
  .phone { animation: none; box-shadow: 0 0 0 2px oklch(100% 0 0 / .08), 0 18px 30px -14px oklch(20% 0.04 50 / .5); }
  .split > .phone { box-shadow: 10px 10px 0 var(--orange); }
  .btn { box-shadow: 0 5px 0 var(--edge); }
  .btn.ghost { box-shadow: inset 0 0 0 2px var(--fg); }
  .demo-box { box-shadow: none; }
  .js .reveal { translate: 0 36px; scale: .94; rotate: 0deg;
    transition: opacity .35s var(--ease) var(--d, 0s), translate .5s var(--spring) var(--d, 0s), scale .5s var(--spring) var(--d, 0s), rotate .5s var(--spring) var(--d, 0s),
      transform .2s var(--spring), background .2s, border-color .2s, box-shadow .2s; }
  .js .card.reveal.in { animation: cardflash .9s var(--d, 0s) ease-out; }
  .card .ic { background: var(--orange); color: oklch(100% 0 0); }
  .pain::after { color: oklch(61.5% 0.178 39.8 / .55); }
  .flow-n { color: var(--orange); }
  .eyebrow { background: var(--orange); border-color: var(--orange); color: var(--ink); }
  .ticker { background: var(--orange); color: var(--ink); }
  .ticker .i { fill: var(--ink); stroke: var(--ink); }
  .ticker-in { animation-duration: 14s; }
  h1 em, h2 em { text-decoration: underline 3px var(--orange); text-underline-offset: .12em; }
  .callbar { display: flex; gap: 8px; position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 8px; border-radius: 999px;
    background: var(--ink); border: 2px solid var(--orange); box-shadow: 0 14px 30px -10px oklch(0% 0 0 / .5); translate: 0 140%; transition: translate .45s var(--spring); }
  .callbar.on { translate: 0 0; }
  .callbar .btn { min-height: 52px; font-size: 1.05rem; }
  .callbar .btn.ghost { flex: 0 0 auto; padding: 0 20px; color: var(--cream); box-shadow: inset 0 0 0 2px oklch(95% 0.016 86.4 / .35); }
  .callbar .btn:not(.ghost) { flex: 1; animation: halo 1.8s ease-out infinite; }
  .callbar .ring { animation: ring 2.4s ease-in-out infinite; }
  html:has(.contact-pop[open]) .callbar { translate: 0 140%; }
  main > .section:last-child { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
}
/* Touch screens have no hover: a tap gives the squash, and cards don't stay lifted */
@media (hover: none) { .card:hover { --ty: 0px; --s: 1; --rot: 0deg; box-shadow: 0 2px 0 var(--line); } .card:active { --s: .94; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; scale: none; rotate: none; }
  .card, .phone, .price-card { transform: none !important; }
}
