/* Pre každého v2: readable, clear, warm. */
:root {
  --bg: #fbfaf6;
  --surface: #f2efe6;
  --card: #ffffff;
  --ink: #0f2219;        /* headings */
  --text: #1f3128;       /* body text, 13:1 on bg */
  --muted: #45564d;      /* secondary, 7.4:1 on bg */
  --green: #0f3d2e;
  --green-2: #164d3a;
  --on-green: #f4f1e8;
  --on-green-muted: #c8d6cd;
  --accent: #f5d90a;
  --accent-hover: #ffe633;
  --line: #e2ddcf;

  --f-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-small: 0.9375rem;
  --t-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --t-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  --t-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --t-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --t-h1: clamp(2.5rem, 1.5rem + 4.2vw, 5rem);

  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-text); font-size: var(--t-body); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-head); color: var(--ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.015em; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.center { text-align: center; margin-inline: auto; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--muted); max-width: 40rem; }
.lead.center { margin-top: 16px; }
.kicker { font-weight: 600; font-size: var(--t-small); color: var(--green-2); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.kicker-light { color: var(--accent); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--ink); font: 700 1.0625rem/1 var(--f-text);
  text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(15, 61, 46, .45); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost-light { background: transparent; color: var(--on-green); box-shadow: inset 0 0 0 2px var(--on-green); }
.btn-ghost-light:hover { background: var(--on-green); color: var(--green); }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 2px; margin-top: 20px; }
.link:hover { color: var(--ink); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.375rem/1 var(--f-head); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; margin-right: auto; }
.logo-dot { width: 22px; height: 22px; border-radius: 7px; background: var(--green); position: relative; }
.logo-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent); }
.logo-light { color: var(--on-green); }
.nav { display: flex; gap: 28px; }
.nav a { font-weight: 600; font-size: 1rem; color: var(--text); text-decoration: none; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 var(--section); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-text h1 { max-width: 11ch; }
.hero-text .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-weight: 600; color: var(--ink); font-size: 1rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico { color: var(--green-2); background: #dcebe1; border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }

.hero-visual { position: relative; padding: 0 9% 14% 0; }
.browser {
  background: var(--card); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(15,34,25,.06), 0 30px 60px -24px rgba(15, 34, 25, .35);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #eceae3; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3cfc3; }
.browser-bar i:first-child { background: #f0877a; } .browser-bar i:nth-child(2) { background: #f4c55b; } .browser-bar i:nth-child(3) { background: #79c47f; }
.browser-bar span { margin-left: 12px; flex: 1; max-width: 300px; padding: 5px 14px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 30%; padding: 8px; border-radius: 34px; background: #0d1a14;
  box-shadow: 0 30px 50px -20px rgba(15, 34, 25, .55);
}
.phone img { border-radius: 27px; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }

@keyframes float { 50% { transform: translateY(-12px); } }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 6s ease-in-out -2s infinite; }

/* ---------- demo ---------- */
.demo { background: var(--surface); padding: var(--section) 0; }
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.demo-text { display: grid; gap: 28px; }
.demo-text .lead { margin-top: -10px; }
.field { display: grid; gap: 8px; }
.field > span, .chips legend { font-weight: 700; color: var(--ink); font-size: 1rem; }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  font: 500 1.0625rem/1.4 var(--f-text); color: var(--ink); background: var(--card);
  border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #5f6b64; }
.field input:hover, .field textarea:hover { border-color: #c9c2b0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(15, 61, 46, .12); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 12px; }
.chips button {
  font: 600 0.9875rem/1 var(--f-text); min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line); background: var(--card); color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.chips button:hover { border-color: var(--green); }
.chips button:active { transform: scale(.96); }
.chips button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

.preview { position: sticky; top: 110px; }
.pv { background: var(--th-bg, #f4efe7); color: var(--th-ink, #3b2418); transition: background-color .4s var(--ease), color .4s var(--ease); }
.pv-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 26px; font-size: 14px; font-weight: 500; }
.pv-nav b { font-family: var(--f-head); font-size: 17px; font-weight: 700; }
.pv-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 330px; }
.pv-copy { padding: 28px 26px 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.pv-title { font: 800 clamp(1.75rem, 1.1rem + 1.8vw, 2.6rem)/1.02 var(--f-head); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.pv-tag { font-size: 1rem; line-height: 1.5; }
.pv-btn { align-self: start; padding: 11px 18px; border-radius: 999px; background: var(--th-ink, #3b2418); color: var(--th-bg, #f4efe7); font-size: 14px; font-weight: 700; }
.pv-hero img { width: 100%; height: 100%; object-fit: cover; }
.preview.is-swap .pv-title, .preview.is-swap .pv-tag, .preview.is-swap .pv-btn, .preview.is-swap .pv-hero img { animation: pv-in .5s var(--ease); }
@keyframes pv-in { from { opacity: 0; transform: translateY(10px); } }
.demo-note { font-size: 1rem; color: var(--muted); padding: 16px 20px; background: var(--card); border-radius: 14px; }

/* ---------- steps ---------- */
.steps { padding: var(--section) 0; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; counter-reset: s; position: relative; }
.step-list::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.step-list li { position: relative; text-align: center; padding: 0 12px; }
.step-n {
  display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--green); color: var(--accent); font: 800 1.5rem/1 var(--f-head); position: relative;
  box-shadow: 0 0 0 8px var(--bg);
}
.step-list p { margin-top: 12px; color: var(--muted); max-width: 22rem; margin-inline: auto; }

/* ---------- case study ---------- */
.case { background: var(--green); color: var(--on-green); padding: var(--section) 0; overflow: hidden; }
.case h2 { color: #fff; }
.case .lead { color: var(--on-green-muted); margin-top: 18px; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.case-visual { position: relative; display: flex; justify-content: center; gap: 0; min-height: 520px; }
.case-visual .phone { position: relative; width: 44%; max-width: 250px; right: auto; bottom: auto; background: #08140f; }
.phone-tilt-l { transform: rotate(-6deg) translateY(24px); z-index: 1; margin-right: -6%; }
.phone-tilt-r { transform: rotate(5deg) translateY(-12px); z-index: 2; }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ico { margin-top: .22em; color: var(--accent); }
.case-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- pricing ---------- */
.pricing { padding: var(--section) 0; }
.price-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; margin-top: 56px; align-items: start; }
.price-card {
  background: var(--card); border-radius: 26px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 0 0 2px var(--green), 0 30px 60px -30px rgba(15, 34, 25, .35);
}
.price-name { font: 700 var(--t-h3)/1.2 var(--f-head); color: var(--ink); }
.price { font: 800 clamp(4rem, 3rem + 4vw, 6.5rem)/1 var(--f-head); letter-spacing: -0.04em; color: var(--ink); margin-top: 10px; }
.price span { background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding: 0 .04em; }
.price-sub { color: var(--muted); font-weight: 500; margin-top: 4px; }
.checks-2 { grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 30px 0 32px; color: var(--ink); }
.checks-2 .ico { color: var(--green-2); }
.price-note { margin-top: 16px; font-size: 1rem; color: var(--muted); text-align: center; }
.extras { background: var(--surface); border-radius: 26px; padding: clamp(28px, 4vw, 44px); }
.extras h3 { margin-bottom: 18px; }
.extras dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.extras dl > div:last-child { border-bottom: 0; }
.extras dt { font-weight: 500; color: var(--text); }
.extras dd { font-weight: 800; color: var(--ink); white-space: nowrap; font-family: var(--f-head); font-size: 1.125rem; }

/* ---------- languages ---------- */
.langs { padding: 0 0 var(--section); }
.langs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.langs-grid > div { background: var(--surface); border-radius: 26px; padding: clamp(28px, 4vw, 48px); }
.langs-grid h2 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }
.langs-grid .lead { margin-top: 16px; font-size: var(--t-body); }
.lang-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lang-tags span { padding: 8px 16px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: .9375rem; }

/* ---------- faq ---------- */
.faq { padding: 0 0 var(--section); }
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .lead { margin-top: 18px; }
.faq-grid .lead a { color: var(--green); font-weight: 700; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: 0 0 0 2px var(--line); transition: box-shadow .2s; }
.faq details:hover, .faq details[open] { box-shadow: 0 0 0 2px var(--green); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font: 700 1.125rem/1.35 var(--f-text); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); color: var(--green); font: 700 1.375rem/1 var(--f-text); transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.faq details p { padding: 0 24px 22px; color: var(--text); max-width: 60ch; }

/* ---------- contact ---------- */
.contact { background: var(--green); color: var(--on-green); padding: var(--section) 0; }
.contact h2 { color: #fff; }
.contact .lead { color: var(--on-green-muted); margin-top: 18px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-links { display: grid; gap: 12px; margin-top: 36px; }
.contact-links a {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 16px; background: var(--green-2);
  text-decoration: none; font: 700 1.125rem/1.3 var(--f-text); color: #fff; transition: background-color .2s, transform .2s var(--ease);
}
.contact-links a span { font-size: .875rem; font-weight: 600; color: var(--accent); }
.contact-links a:hover { background: #1c5c45; transform: translateX(4px); }
.form { background: var(--card); color: var(--text); border-radius: 26px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.form-note { font-size: .9375rem; color: var(--muted); text-align: center; }
.form-note.ok { color: var(--green); font-weight: 700; font-size: 1.0625rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.footer { background: #0a2a1f; color: var(--on-green-muted); padding: 48px 0; font-size: .9375rem; }
.footer-in { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 32px; align-items: start; }
.footer .logo { margin-bottom: 10px; }
.footer a { color: #fff; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } }
.js .hero-text > * { animation: hero-in .9s var(--ease) both; }
.js .hero-text > :nth-child(2) { animation-delay: .08s; } .js .hero-text > :nth-child(3) { animation-delay: .16s; }
.js .hero-text > :nth-child(4) { animation-delay: .24s; } .js .hero-text > :nth-child(5) { animation-delay: .32s; }
.js .hero-visual { animation: hero-in 1.1s var(--ease) .2s both; }

/* ---------- tablet ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .demo-grid, .case-grid, .price-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-text h1 { max-width: 14ch; }
  .preview { position: relative; top: auto; }
  .case-visual { order: 2; min-height: 0; }
  .footer-in { grid-template-columns: 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .header-in { min-height: 64px; gap: 12px; }
  .logo { font-size: 1.1875rem; }
  .btn-sm { min-height: 42px; padding: 0 16px; font-size: .9375rem; }
  .hero-cta .btn { width: 100%; }
  .trust { flex-direction: column; gap: 10px; }
  .hero-visual { padding: 0 14% 20% 0; }
  .phone { width: 36%; border-radius: 26px; padding: 6px; }
  .phone img { border-radius: 21px; }
  .pv-hero { grid-template-columns: 1fr; min-height: 0; }
  .pv-hero img { aspect-ratio: 16 / 9; order: -1; }
  .pv-nav span { display: none; }
  .step-list { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
  .step-list::before { display: none; }
  .case-visual .phone { width: 46%; }
  .case-cta .btn { width: 100%; }
  .checks-2 { grid-template-columns: 1fr; }
  .langs-grid { grid-template-columns: 1fr; }
  .extras dl > div { flex-direction: column; gap: 4px; }
  .faq summary { padding: 18px 18px; font-size: 1.0625rem; }
  .faq details p { padding: 0 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-a, .float-b { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; }
}

/* ---------- v3: logo, 3D, scope, legal ---------- */
.logo img { height: 40px; width: auto; }
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer-links { margin-top: 10px; }
.footer-links a { color: #fff; }
.hero-visual { min-height: 420px; }
.hero-canvas { position: absolute; inset: -12% -10% -14% -8%; width: 118%; height: 126%; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.hero-visual.is-3d .hero-canvas { opacity: 1; }
.hero-visual.is-3d > figure { opacity: 0; visibility: hidden; transition: opacity .4s; }
.logo3d { height: 240px; margin-top: 28px; position: relative; }
.logo3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
[data-tilt] { transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }
.price-fine { margin-top: 18px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.scope { padding: 0 0 var(--section); }
.scope-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; margin-top: 56px; align-items: start; }
.scope-yes, .scope-no { border-radius: 26px; padding: clamp(28px, 4vw, 44px); }
.scope-yes { background: var(--card); box-shadow: 0 0 0 2px var(--line); }
.scope-no { background: var(--surface); }
.scope-yes h3, .scope-no h3 { margin-bottom: 6px; }
.scope-yes .checks { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.scope-yes .checks .ico { color: var(--green-2); }
.scope-yes b { color: var(--ink); }
.crosses { display: grid; gap: 14px; margin-top: 28px; }
.crosses li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.crosses .ico { margin-top: .22em; color: #b2462e; }
.scope-note { margin-top: 24px; font-weight: 600; color: var(--ink); }
.easy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.easy li { background: var(--card); border-radius: 18px; padding: 22px 24px; box-shadow: 0 0 0 2px var(--line); }
.easy b { display: block; font: 700 1.125rem/1.3 var(--f-head); color: var(--ink); margin-bottom: 6px; }
.easy p { color: var(--muted); font-size: 1rem; }
.easy-cta { text-align: center; margin-top: 28px; }
@media (max-width: 980px) {
  .scope-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; }
}
@media (max-width: 640px) {
  .scope-yes .checks, .easy { grid-template-columns: 1fr; }
  .logo img { height: 34px; }
  .logo3d { height: 200px; }
}
.contact .lead a { color: var(--accent); font-weight: 700; }

/* ---------- v4: scroll-driven 3D journeys ---------- */
.journey { position: relative; }
.journey .stage { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; overflow: hidden; }
.journey .stage canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s var(--ease); }
.journey .stage.is-ready canvas { opacity: 1; }
.stage-fallback { position: absolute; right: 5vw; top: 50%; transform: translateY(-46%); width: 44vw; transition: opacity .6s; }
.stage-fallback .phone { right: -2vw; bottom: -8%; width: 30%; }
.stage.is-ready .stage-fallback { opacity: 0; visibility: hidden; }
.j-steps { position: relative; margin-top: -100vh; margin-top: -100svh; z-index: 2; }
.step { min-height: 125vh; display: flex; align-items: center; width: min(100% - 2 * var(--pad), var(--wrap)); margin: 0 auto; }
.step.first { min-height: 112vh; align-items: flex-start; padding-top: max(15vh, 96px); }
.step .panel { max-width: 540px; will-change: opacity, transform; }
.step.first .panel { max-width: 600px; }
.step h1 { max-width: 12ch; }
.step .lead { margin-top: 22px; }
.step h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.step:not(.first) .panel p { margin-top: 14px; font-size: var(--t-lead); color: var(--text); }
.step:not(.first) .panel .btn { margin-top: 24px; }
.journey-devices .step:not(.first) .panel { background: rgba(251, 250, 246, .94); padding: 30px 34px; border-radius: 24px; box-shadow: 0 24px 60px -30px rgba(15, 34, 25, .45); }
.step .panel a:not(.btn) { color: var(--green); font-weight: 700; }
.step-no { display: inline-block; font-weight: 700; font-size: .9375rem; color: var(--green); background: #e3efe7; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.scroll-hint { margin-top: 34px; font-size: .9375rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.scroll-hint::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(5px) rotate(45deg); } }

.journey-dust { background: #0b2e22; color: var(--on-green); }
.journey-dust .step.short { min-height: 105vh; }
.journey-dust h2 { color: #fff; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); }
.journey-dust .step .panel p { color: var(--on-green-muted); }

@media (max-width: 899px) {
  .stage-fallback { left: 6vw; right: 6vw; width: auto; top: 18%; transform: none; }
  .step { min-height: 105vh; align-items: flex-end; padding-bottom: 5vh; }
  .step.first { min-height: 100vh; min-height: 100svh; align-items: flex-end; padding: 0 0 4vh; }
  .step.first .trust, .scroll-hint { display: none; }
  .step.first .lead { font-size: 1.0625rem; margin-top: 14px; }
  .step.first .hero-cta { margin-top: 20px; }
  .step.first .panel { background: rgba(251, 250, 246, .94); padding: 22px 20px; border-radius: 22px; box-shadow: 0 24px 60px -30px rgba(15, 34, 25, .45); }
  .journey-devices .step:not(.first) .panel { padding: 20px 22px; }
  .step h2 { font-size: 1.75rem; }
  .step:not(.first) .panel p { font-size: 1.0625rem; }
  .journey-dust .step.short { align-items: flex-end; padding-bottom: 9vh; }
  .journey-dust h2 { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint::after { animation: none; }
}

/* ---------- v5: slim devices hero + build section ---------- */
.hero-visual { min-height: 520px; padding: 0; }
.hero-visual .scene-canvas { position: absolute; left: -12%; top: -14%; width: 124%; height: 124%; opacity: 0; transition: opacity 1s var(--ease); }
.hero-visual.is-ready .scene-canvas { opacity: 1; }
.hero-visual > figure { transition: opacity .5s; }
.hero-visual > .browser { margin-top: 60px; width: 88%; }
.hero-visual.is-ready > figure { opacity: 0; visibility: hidden; }

.build { position: relative; height: 420vh; background: var(--surface); }
.build-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.build-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease); }
.build-stage.is-ready canvas { opacity: 1; }
.build-caps { position: absolute; z-index: 2; top: clamp(96px, 13vh, 150px); left: 0; right: 0; pointer-events: none; }
.cap { position: absolute; left: 0; right: 0; margin: 0 auto; width: min(100% - 2 * var(--pad), 760px); text-align: center; will-change: opacity, transform; }
.cap:not(:first-child) { opacity: 0; }
.cap h2, .cap .cap-h { font: 800 clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem)/1.05 var(--f-head); letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.cap p:not(.cap-h) { margin-top: 12px; font-size: var(--t-lead); color: var(--muted); }
.build-dots { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.7); }
.build-dots li { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--muted); transition: background-color .3s, color .3s; }
.build-dots li.on { background: var(--green); color: #fff; }
.no-webgl .build { display: none; }
@media (max-width: 980px) {
  .hero-visual { min-height: 380px; margin-top: 8px; }
  .hero-visual .scene-canvas { left: -6%; width: 112%; top: -8%; height: 116%; }
}
@media (max-width: 640px) {
  .hero-visual { min-height: 300px; }
  .build { height: 380vh; }
  .build-caps { top: 84px; }
  .build-dots { bottom: 18px; }
  .build-dots li { padding: 7px 12px; font-size: .875rem; }
}

/* ---------- v6: crisp canvases (drawn at their real size) ---------- */
@media (min-width: 981px) { .hero-grid { grid-template-columns: 0.92fr 1.08fr; } }
.hero-visual { min-height: 0; aspect-ratio: 1.12; margin: 0 -2vw 0 0; }
.hero-visual .scene-canvas { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; }
.cap { transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1); }
@media (max-width: 980px) {
  .hero-visual { aspect-ratio: 1.25; margin: 4px 0 0; }
  .hero-visual .scene-canvas { left: 0; width: 100%; top: 0; height: 100%; }
}
@media (max-width: 640px) {
  .hero-visual { aspect-ratio: 1.05; min-height: 0; margin: 4px -12px 0; }
}
@media (prefers-reduced-motion: reduce) { .cap { transition: none; } }

/* ---------- v7: crisp upright phones in the case study ---------- */
.case-visual { position: relative; display: flex; justify-content: center; align-items: flex-start; min-height: 0; padding: 10px 0 40px; }
.dev-phone { position: relative; margin: 0; width: min(46%, 250px); aspect-ratio: 9 / 19.5; padding: 9px; border-radius: 42px; background: #0b0d0c;
  box-shadow: inset 0 0 0 2px #2b302d, 0 0 0 1.5px #9aa19c, 0 40px 70px -30px rgba(0,0,0,.6); }
.dev-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; }
.dev-screen img { display: block; width: 100%; height: auto; }
.dev-island { position: absolute; top: 17px; left: 50%; width: 30%; height: 20px; margin-left: -15%; border-radius: 12px; background: #050605; }
.dev-front { z-index: 2; }
.dev-back { margin-left: -9%; margin-top: 64px; z-index: 1; }
.dev-scroll img { animation: devscroll 18s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes devscroll { 0%, 8% { transform: translateY(0); } 50%, 60% { transform: translateY(-47.5%); } 92%, 100% { transform: translateY(0); } }
@media (max-width: 640px) { .dev-phone { width: 47%; border-radius: 34px; padding: 7px; } .dev-screen { border-radius: 28px; } .dev-island { top: 13px; height: 15px; } }
@media (prefers-reduced-motion: reduce) { .dev-scroll img { animation: none; } }

/* ---------- v9: mobile fixes ---------- */
.easy-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-cta { gap: 12px; }
.case-cta { gap: 12px; }
@media (max-width: 640px) {
  .easy-cta .btn { width: 100%; }
  .case-visual { justify-content: center; gap: 4%; padding-bottom: 8px; }
  .dev-phone { width: 46%; }
  .dev-back { margin-left: 0; margin-top: 48px; }
}

.form-note.err { color: #9b2c1f; font-weight: 600; }

/* ---------- v10: "no needless fees" section ---------- */
.save { background: var(--green); color: var(--on-green); padding: var(--section) 0; }
.save-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.save h2 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); }
.save .lead { color: var(--on-green-muted); margin-top: 20px; }
.save-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.save-col { border-radius: 22px; padding: 24px 22px; }
.save-them { background: var(--green-2); }
.save-us { background: var(--bg); color: var(--text); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.save-label { font: 800 1.125rem/1.2 var(--f-head); margin-bottom: 14px; }
.save-them .save-label { color: var(--on-green-muted); }
.save-us .save-label { color: var(--ink); }
.save-col li { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .9375rem; }
.save-us li { border-top-color: var(--line); }
.save-col li:first-child { border-top: 0; padding-top: 0; }
.save-col li b { font: 800 1.1875rem/1.2 var(--f-head); }
.save-them li b { color: #fff; }
.save-us li b { color: var(--green); }
.save-note { grid-column: 1 / -1; color: var(--on-green-muted); font-size: 1rem; max-width: 62rem; }
@media (max-width: 980px) { .save-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .save-compare { grid-template-columns: 1fr; } }

/* ---------- v11: spacing + footer ---------- */
.scope { padding: var(--section) 0; }
.footer { padding: 64px 0 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand p { margin-top: 12px; }
.footer-logo { height: 44px; width: auto; margin: 0; display: block; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.social { display: flex; gap: 12px; }
.soc { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, color .2s, transform .2s; }
.soc:hover { background: var(--accent); color: var(--green); transform: translateY(-2px); }
.soc svg { width: 24px; height: 24px; }
.footer-mail { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-top: 24px; font-size: .875rem; }
.footer-bottom .footer-links { margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
  .footer-contact { align-items: center; }
  .footer-mail, .footer-bottom .footer-links { justify-content: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
}
.price-grid { align-items: stretch; }
.price-note { text-align: left; }
.extras { display: flex; flex-direction: column; }
.extras dl { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.extras dl > div { flex: 1; align-items: center; }
.scope-grid { align-items: stretch; }
@media (max-width: 980px) { .extras dl > div { flex: none; } }
.contact-links a { flex-direction: row; align-items: center; gap: 16px; }
.contact-links a b { display: flex; flex-direction: column; gap: 2px; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.contact-links .ci { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
.contact-links .ci svg { width: 22px; height: 22px; }
/* phone screens: a quiet status strip so nothing is cut by the rounded corners */
.dev-front .dev-screen { background: #0b1f3a; padding-top: 9%; }
.dev-back .dev-screen { padding-top: 6%; }

/* ---------- v12: trades + footer nav ---------- */
.trades { padding: 0 0 var(--section); text-align: center; }
.trades .lead { margin: 16px auto 0; max-width: 46ch; }
.trades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.trade { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; background: var(--surface); }
.trade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.trade::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8, 26, 19, .82)); }
.trade span { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; text-align: left; color: #fff; font: 700 1.25rem/1.2 var(--f-head); }
.trade:hover img { transform: scale(1.05); }
.trade:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.footer-nav { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; font-size: .9375rem; }
.footer-nav p { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-nav b { color: #fff; font-weight: 600; }
.footer-nav a { color: var(--on-green-muted); text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .trades-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .trade span { left: 14px; bottom: 12px; font-size: 1.0625rem; } .footer-nav p { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .trade img { transition: none; } }

/* ---------- v13: about ---------- */
.about { padding: 0 0 var(--section); }
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; background: var(--surface); border-radius: 32px; padding: clamp(24px, 4vw, 56px); }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 24px; display: block; }
.about-text .lead { margin-top: 18px; color: var(--ink); font-weight: 600; }
.about-text p:not(.lead) { margin-top: 16px; max-width: 58ch; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 340px; } }

/* ---------- v14: FAQ side column ---------- */
.faq-more { margin-top: 32px; display: grid; gap: 10px; max-width: 26rem; }
.faq-more-h { font: 700 1.125rem/1.3 var(--f-head); color: var(--ink); margin-bottom: 4px; }
.faq-more a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: 14px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.faq-more a:hover { background: #e3efe7; transform: translateX(4px); }
.faq-more .ico { flex: none; width: 20px; height: 20px; color: var(--green); }
.faq-fact { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 26rem; }
.faq-fact p { background: var(--green); color: var(--on-green-muted); border-radius: 14px; padding: 14px 12px; font-size: .875rem; line-height: 1.3; text-align: center; }
.faq-fact b { display: block; font: 800 1.5rem/1.1 var(--f-head); color: #fff; margin-bottom: 4px; }
@media (max-width: 980px) { .faq-more, .faq-fact { max-width: none; } }
