/* ============================================================================
   Kantoo — la facture vocale · Landing design system
   Light, friendly, blue. Sound-wave (voice) motif. No build, no deps.
   Brand derived from the Kantoo logo: bright blue + royal blue + deep navy.
   ============================================================================ */

/* Self-hosted Poppins + Inter (latin, latin-ext, cyrillic) */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/poppins-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/poppins-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/poppins-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/poppins-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/poppins-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/poppins-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}


/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--k-blue); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible, .langsel__btn:focus-visible, .nav__burger:focus-visible, .vframe__play:focus-visible { outline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

/* ---------- Tokens ---------- */
:root {
  --k-blue:        #2F6BFF;   /* primary bright blue (logo) */
  --k-blue-600:    #1E52E6;
  --k-blue-700:    #1740C4;
  --k-royal:       #2A2FBF;   /* darker royal blue in the K */
  --k-navy:        #0B1638;   /* deep navy (wordmark / dark K) */
  --k-ink:         #0E1A33;   /* headings */
  --k-slate:       #52617D;   /* body muted */
  --k-slate-2:     #7C8AA3;   /* softer muted */
  --k-line:        #E4EAF4;   /* hairlines */

  --k-bg:          #FFFFFF;
  --k-bg-soft:     #F4F8FF;   /* soft blue page tint */
  --k-bg-tint:     #EDF3FF;   /* card tint blue */

  /* App-card accent tints (match the Kantoo app screenshot) */
  --k-blue-tint:   #EAF1FF;
  --k-mint:        #16A97C;   --k-mint-tint:  #E6F7EF;
  --k-amber:       #E8890B;   --k-amber-tint: #FBEFDD;
  --k-cyan:        #1AA5BD;   --k-cyan-tint:  #E6F6F9;

  --k-grad:        linear-gradient(100deg, #2F6BFF 0%, #4C7DFF 45%, #2A2FBF 100%);
  --k-grad-soft:   linear-gradient(160deg, #F7FAFF 0%, #EDF3FF 100%);

  --k-shadow-sm:   0 1px 2px rgba(11,22,56,.06), 0 2px 8px rgba(11,22,56,.05);
  --k-shadow-md:   0 8px 24px rgba(20,44,110,.10), 0 2px 6px rgba(20,44,110,.06);
  --k-shadow-lg:   0 24px 60px rgba(20,44,110,.16), 0 6px 18px rgba(20,44,110,.08);
  --k-shadow-blue: 0 16px 40px rgba(47,107,255,.30);

  --k-radius:      18px;
  --k-radius-lg:   26px;
  --k-radius-sm:   12px;

  --k-container:   1140px;
  --k-pad:         clamp(20px, 5vw, 40px);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--k-ink);
  background: var(--k-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

.container { width: 100%; max-width: var(--k-container); margin-inline: auto; padding-inline: var(--k-pad); }

.section { padding-block: clamp(56px, 9vw, 108px); position: relative; }
.section--tint { background: var(--k-bg-soft); }
.section--navy { background: var(--k-navy); color: #EAF0FF; }

/* ---------- Typography helpers ---------- */
.kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--k-blue);
  margin: 0 0 14px;
}
.section--navy .kicker { color: #7FA5FF; }

.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--k-ink);
  max-width: 20ch;
}
.section--navy .section__title { color: #FFFFFF; }
.section__title--wide { max-width: 26ch; }

.section__intro {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--k-slate);
  max-width: 60ch;
  margin-top: 16px;
}
.section--navy .section__intro { color: #B9C6E6; }

.grad {
  background: var(--k-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-dim { color: var(--k-slate-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border: 1.5px solid transparent; border-radius: 999px;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--k-blue); color: #fff; box-shadow: var(--k-shadow-blue); }
.btn--primary:hover { background: var(--k-blue-600); transform: translateY(-2px); box-shadow: 0 20px 46px rgba(47,107,255,.38); }
.btn--ghost { background: #fff; color: var(--k-ink); border-color: var(--k-line); box-shadow: var(--k-shadow-sm); }
.btn--ghost:hover { border-color: var(--k-blue); color: var(--k-blue); transform: translateY(-2px); }
.section--navy .btn--ghost { background: transparent; color: #EAF0FF; border-color: rgba(255,255,255,.28); box-shadow: none; }
.section--navy .btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--xl { padding: 18px 38px; font-size: 1.12rem; }
.btn--block { width: 100%; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--k-blue); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ============================================================================
   NAV
   ============================================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.nav.is-scrolled { box-shadow: var(--k-shadow-sm); border-color: var(--k-line); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__word {
  font-family: var(--font-head); font-weight: 700; font-size: 1.32rem;
  letter-spacing: -.02em; color: var(--k-navy); line-height: 1;
}
.brand__word b { color: var(--k-blue); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__link {
  font-weight: 500; font-size: .95rem; color: var(--k-slate);
  padding: 8px 14px; border-radius: 10px; transition: color .18s, background .18s;
}
.nav__link:hover { color: var(--k-ink); background: var(--k-bg-tint); }
.nav__link.is-current { color: var(--k-blue); background: var(--k-blue-tint); }

.nav__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: 8px; }

/* language selector */
.langsel { position: relative; }
.langsel__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--k-line); border-radius: 999px;
  padding: 8px 12px; font-weight: 600; font-size: .9rem; color: var(--k-ink);
  transition: border-color .18s, box-shadow .18s;
}
.langsel__btn:hover { border-color: var(--k-blue); }
.langsel__btn svg { width: 17px; height: 17px; opacity: .8; }
.langsel__flag { font-size: 1.05rem; line-height: 1; }
.langsel__code { text-transform: uppercase; letter-spacing: .04em; }
.langsel__caret { width: 12px; height: 12px; transition: transform .2s; }
.langsel.is-open .langsel__caret { transform: rotate(180deg); }
.langsel__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--k-line); border-radius: 16px;
  box-shadow: var(--k-shadow-lg); padding: 8px; min-width: 200px; z-index: 120;
  display: none; max-height: 70vh; overflow: auto;
}
.langsel.is-open .langsel__menu { display: block; animation: pop .16s ease; }
.langsel__opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 10px; background: none; border: 0;
  font-weight: 500; font-size: .95rem; color: var(--k-ink); text-align: start;
}
.langsel__opt:hover { background: var(--k-bg-tint); }
.langsel__opt.is-active { background: var(--k-blue-tint); color: var(--k-blue-700); font-weight: 600; }
.langsel__opt .langsel__flag { font-size: 1.15rem; }
.langsel__opt small { margin-inline-start: auto; color: var(--k-slate-2); text-transform: uppercase; font-size: .72rem; letter-spacing: .05em; }

@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.nav__burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--k-line); position: relative;
}
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--k-ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 20px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 4px; padding: 12px var(--k-pad) 22px;
  border-top: 1px solid var(--k-line); background: #fff;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile .nav__link { padding: 12px 14px; font-size: 1.02rem; }
.nav__mobile .btn { margin-top: 8px; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; overflow: hidden; background: var(--k-grad-soft); padding-block: clamp(40px, 7vw, 84px) clamp(56px, 9vw, 104px); }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 55% at 82% 12%, rgba(47,107,255,.16), transparent 60%),
    radial-gradient(50% 50% at 8% 90%, rgba(42,47,191,.10), transparent 60%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center;
}
.hero__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.06; letter-spacing: -.03em;
  color: var(--k-ink); margin-top: 14px;
}
.hero__subtitle { font-size: clamp(1.06rem, 1.7vw, 1.24rem); color: var(--k-slate); max-width: 46ch; margin-top: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--k-slate); }
.hero__trust svg { width: 17px; height: 17px; color: var(--k-mint); flex: none; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--k-line); border-radius: 999px;
  padding: 7px 14px 7px 8px; font-size: .82rem; font-weight: 600; color: var(--k-blue-700);
  box-shadow: var(--k-shadow-sm);
}
.hero__badge .eq { --bar: var(--k-blue); }

/* ---------- Phone mockup ---------- */
.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 610;
  background: #0B1638; border-radius: 42px; padding: 11px;
  box-shadow: var(--k-shadow-lg), 0 0 0 2px rgba(255,255,255,.04) inset;
  z-index: 2;
}
.phone__screen {
  width: 100%; height: 100%; background: #F4F8FF; border-radius: 32px; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0B1638; border-radius: 0 0 14px 14px; z-index: 3; }
.phone__bar {
  display: flex; align-items: center; gap: 8px; padding: 16px 16px 12px; background: var(--k-navy); color: #fff;
}
.phone__bar .brand__word { color: #fff; font-size: .98rem; }
.phone__bar .brand__word b { color: #7FA5FF; }
.phone__dot { margin-inline-start: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--k-mint); box-shadow: 0 0 0 4px rgba(22,169,124,.2); }
.phone__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.mic-card {
  background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--k-shadow-sm); text-align: center;
}
.mic-btn {
  width: 60px; height: 60px; margin: 2px auto 12px; border-radius: 50%;
  background: var(--k-grad); display: grid; place-items: center; box-shadow: var(--k-shadow-blue);
  position: relative;
}
.mic-btn::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(47,107,255,.35); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.mic-btn svg { width: 26px; height: 26px; color: #fff; }
.mic-card__hint { font-size: .74rem; color: var(--k-slate); }
.mic-card__lang { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 600; color: var(--k-blue-700); background: var(--k-blue-tint); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }

/* equalizer / waveform */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i { width: 3px; background: var(--bar, var(--k-blue)); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 90%; animation-delay: .15s; }
.eq i:nth-child(3) { height: 60%; animation-delay: .3s; }
.eq i:nth-child(4) { height: 100%; animation-delay: .45s; }
.eq i:nth-child(5) { height: 50%; animation-delay: .6s; }
.eq--lg { height: 34px; gap: 5px; }
.eq--lg i { width: 5px; }
@keyframes eq { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .eq i, .mic-btn::after { animation: none; } .eq i { transform: none; } }

.doc-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--k-shadow-sm); }
.doc-card__top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.doc-card__pill { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--k-mint); background: var(--k-mint-tint); padding: 3px 8px; border-radius: 6px; }
.doc-card__amount { margin-inline-start: auto; font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--k-ink); }
.doc-line { height: 8px; border-radius: 4px; background: #EAF0FA; margin-bottom: 8px; }
.doc-line.w-70 { width: 70%; } .doc-line.w-90 { width: 90%; } .doc-line.w-50 { width: 50%; }
.doc-card__foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .68rem; font-weight: 600; color: var(--k-mint); }
.doc-card__foot svg { width: 14px; height: 14px; }

/* floating language chips around phone */
.hero__chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.langchip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--k-line); border-radius: 999px;
  padding: 6px 12px; font-size: .8rem; font-weight: 600; color: var(--k-ink);
  box-shadow: var(--k-shadow-md); animation: float 5s ease-in-out infinite;
}
.langchip span.flag { font-size: 1rem; }
.langchip--1 { top: 6%; inset-inline-start: -4%; animation-delay: 0s; }
.langchip--2 { top: 30%; inset-inline-end: -8%; animation-delay: .8s; }
.langchip--3 { bottom: 20%; inset-inline-start: -10%; animation-delay: 1.6s; }
.langchip--4 { bottom: 3%; inset-inline-end: -2%; animation-delay: 2.4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .langchip { animation: none; } }

/* ============================================================================
   PAIN → SOLUTION sections (rendered from JS)
   ============================================================================ */
.pains-intro { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pains-intro .kicker, .pains-intro .section__title, .pains-intro .section__intro { margin-inline: auto; }
.pains-intro .section__title { max-width: 18ch; }

.pains { display: flex; flex-direction: column; gap: clamp(40px, 7vw, 88px); margin-top: clamp(40px, 6vw, 72px); }
.pain {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.pain--reverse .pain__media { order: -1; }
.pain__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--k-blue-700); background: var(--k-blue-tint); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.pain__num { font-variant-numeric: tabular-nums; opacity: .7; }
.pain__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.7vw, 1.95rem); line-height: 1.16; letter-spacing: -.02em; color: var(--k-ink); }
.pain__body { color: var(--k-slate); font-size: 1.05rem; margin-top: 14px; max-width: 46ch; }
.pain__solution {
  display: flex; gap: 13px; margin-top: 22px; padding: 18px; border-radius: var(--k-radius);
  background: var(--k-mint-tint); border: 1px solid #CDEEDF;
}
.pain__solution-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--k-mint); display: grid; place-items: center; }
.pain__solution-icon svg { width: 19px; height: 19px; color: #fff; }
.pain__solution > span:last-child { display: block; }
.pain__solution-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: #0B3D2C; }
.pain__solution-body { display: block; color: #226B52; font-size: .96rem; margin-top: 5px; }

/* language-aware video slot */
.pain__media { position: relative; }
.vframe {
  position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--k-radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #EDF3FF, #DCE7FF); border: 1px solid var(--k-line);
  box-shadow: var(--k-shadow-md);
}
.vframe__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.vframe.has-video .vframe__media { opacity: 1; }
.vframe.has-video .vframe__ph { opacity: 0; pointer-events: none; }
.vframe.is-playing .vframe__play { opacity: 0; pointer-events: none; }
.vframe__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 24px; transition: opacity .3s; color: var(--k-blue-700);
}
.vframe__ph-mark {
  width: 66px; height: 66px; border-radius: 20px; background: #fff; box-shadow: var(--k-shadow-md);
  display: grid; place-items: center;
}
.vframe__ph-mark svg { width: 30px; height: 30px; color: var(--k-blue); }
.vframe__ph-text { font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--k-ink); max-width: 26ch; }
.vframe__ph-lang { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--k-slate); display: inline-flex; align-items: center; gap: 6px; }
.vframe__badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--k-ink);
  box-shadow: var(--k-shadow-sm);
}
.vframe__play {
  position: absolute; z-index: 4; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: var(--k-blue); color: #fff; display: grid; place-items: center; box-shadow: var(--k-shadow-blue);
  transition: opacity .2s, transform .18s; border: 0;
}
.vframe.has-video .vframe__play { opacity: 1; }
.vframe:not(.has-video) .vframe__play { opacity: 0; pointer-events: none; }
.vframe__play:hover { transform: scale(1.06); }
.vframe__play svg { width: 26px; height: 26px; margin-inline-start: 3px; }
.pain__caption { margin-top: 12px; font-size: .84rem; color: var(--k-slate-2); text-align: center; display: flex; align-items: center; justify-content: center; gap: 7px; }

/* product demo video (large, language-aware) */
.demo-video { max-width: 860px; margin: clamp(30px, 5vw, 48px) auto 0; }
.vframe--wide { aspect-ratio: 16 / 9; }
.vframe--wide .vframe__media { object-fit: contain; background: linear-gradient(160deg, #EDF3FF, #DCE7FF); }
/* playing state must win over .has-video (autoplay-in-view hides the play button) */
.vframe.is-playing .vframe__play { opacity: 0; pointer-events: none; }
.vframe--wide .vframe__play { width: 74px; height: 74px; }
.vframe--wide .vframe__play svg { width: 30px; height: 30px; }

/* ============================================================================
   INTERACTIVE "dictate your first invoice" widget
   ============================================================================ */
.try { max-width: 560px; margin: clamp(30px, 5vw, 48px) auto 0; }
.try__stage { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-radius-lg); box-shadow: var(--k-shadow-md); padding: 34px 28px; text-align: center; }
.try__panel { display: flex; flex-direction: column; align-items: center; }
.try__mic { position: relative; width: 84px; height: 84px; border-radius: 50%; background: var(--k-grad); color: #fff; display: grid; place-items: center; box-shadow: var(--k-shadow-blue); border: 0; transition: transform .18s ease; }
.try__mic:hover { transform: translateY(-2px); }
.try__mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(47,107,255,.35); opacity: 0; }
.try__stage.is-listening .try__mic::after { opacity: 1; animation: pulse 1.6s ease-out infinite; }
.try__mic-icon svg { width: 36px; height: 36px; }
.try__wave { display: none; align-items: flex-end; gap: 4px; height: 32px; }
.try__stage.is-listening .try__wave { display: inline-flex; }
.try__stage.is-listening .try__mic-icon { display: none; }
.try__wave i { width: 4px; background: #fff; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.try__wave i:nth-child(1) { height: 40%; animation-delay: 0s; }
.try__wave i:nth-child(2) { height: 90%; animation-delay: .15s; }
.try__wave i:nth-child(3) { height: 60%; animation-delay: .3s; }
.try__wave i:nth-child(4) { height: 100%; animation-delay: .45s; }
.try__wave i:nth-child(5) { height: 50%; animation-delay: .6s; }
.try__status { margin-top: 18px; font-family: var(--font-head); font-weight: 600; color: var(--k-slate); min-height: 1.4em; }
.try__stage.is-generating .try__status { color: var(--k-blue); }
.try__transcript { margin: 10px auto 0; font-size: 1.06rem; line-height: 1.5; color: var(--k-ink); max-width: 42ch; min-height: 1.5em; }
.try__transcript:not(:empty)::before { content: "« "; color: var(--k-slate-2); }
.try__transcript:not(:empty)::after { content: " »"; color: var(--k-slate-2); }
.try__doc { max-height: 0; overflow: hidden; opacity: 0; text-align: start; transition: max-height .5s ease, opacity .4s ease; }
.try__stage.is-done .try__doc { max-height: 560px; opacity: 1; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--k-line); }
.try-doc__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.try-doc__type { font-weight: 700; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--k-blue-700); background: var(--k-blue-tint); padding: 4px 10px; border-radius: 6px; }
.try-doc__num { font-size: .8rem; color: var(--k-slate-2); font-variant-numeric: tabular-nums; }
.try-doc__client { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--k-slate); padding: 9px 0; border-bottom: 1px dashed var(--k-line); }
.try-doc__client b { color: var(--k-ink); }
.try-doc__line { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; font-size: .96rem; color: var(--k-ink); }
.try-doc__line b { font-variant-numeric: tabular-nums; }
.try-doc__totals { border-top: 1px solid var(--k-line); padding-top: 11px; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; color: var(--k-slate); }
.try-doc__totals > div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.try-doc__total { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--k-ink); padding-top: 6px; }
.try-doc__foot { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.try-doc__chk { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--k-mint); }
.try-doc__chk svg { width: 15px; height: 15px; flex: none; }
.try__replay { margin-top: 20px; background: var(--k-bg-tint); color: var(--k-blue-700); border: 0; border-radius: 999px; padding: 10px 22px; font-family: var(--font-head); font-weight: 600; }
.try__replay:hover { background: var(--k-blue-tint); }

/* ============================================================================
   LANGUAGES showcase
   ============================================================================ */
.langs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(32px, 5vw, 52px);
}
.langcard {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--k-radius);
  background: #fff; border: 1px solid var(--k-line); box-shadow: var(--k-shadow-sm);
  transition: transform .18s, box-shadow .2s, border-color .2s; width: 100%; text-align: start;
}
.langcard:hover { transform: translateY(-3px); box-shadow: var(--k-shadow-md); border-color: var(--k-blue); }
.langcard.is-active { border-color: var(--k-blue); background: var(--k-blue-tint); }
.langcard__flag { font-size: 1.7rem; line-height: 1; flex: none; }
.langcard > span:last-child { display: block; }
.langcard__name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--k-ink); line-height: 1.2; }
.langcard__sub { display: block; font-size: .82rem; color: var(--k-slate-2); }
.langs-note { margin-top: 26px; font-size: .95rem; color: var(--k-slate); display: inline-flex; align-items: center; gap: 9px; }
.langs-note svg { width: 18px; height: 18px; color: var(--k-blue); flex: none; }

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(34px, 5vw, 56px); position: relative; }
.step { position: relative; padding: 30px 24px; border-radius: var(--k-radius-lg); background: #fff; border: 1px solid var(--k-line); box-shadow: var(--k-shadow-sm); }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: .9rem; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--k-grad); margin-bottom: 18px; }
.step__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.step__icon svg { width: 26px; height: 26px; }
.step:nth-child(1) .step__icon { background: var(--k-blue-tint); color: var(--k-blue); }
.step:nth-child(2) .step__icon { background: var(--k-mint-tint); color: var(--k-mint); }
.step:nth-child(3) .step__icon { background: var(--k-cyan-tint); color: var(--k-cyan); }
.step__title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--k-ink); }
.step__body { color: var(--k-slate); margin-top: 8px; font-size: .98rem; }

/* ============================================================================
   STATS band
   ============================================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; letter-spacing: -.02em; }
.stat__label { display: block; margin-top: 10px; font-size: .9rem; color: #B9C6E6; }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq { max-width: 780px; margin: clamp(32px, 5vw, 48px) auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-radius); box-shadow: var(--k-shadow-sm); overflow: hidden; }
.faq-item.is-open { border-color: var(--k-blue); }
.faq-item__btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 20px 22px; background: none; border: 0; text-align: start; }
.faq-item__q { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--k-ink); }
.faq-item__icon { margin-inline-start: auto; flex: none; width: 26px; height: 26px; position: relative; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; background: var(--k-blue); border-radius: 2px; transition: transform .25s; }
.faq-item__icon::before { top: 12px; left: 5px; right: 5px; height: 2px; }
.faq-item__icon::after { left: 12px; top: 5px; bottom: 5px; width: 2px; }
.faq-item.is-open .faq-item__icon::after { transform: scaleY(0); }
.faq-item__panel { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-item.is-open .faq-item__panel { padding: 0 22px 22px; max-height: 400px; }
.faq-item__a { color: var(--k-slate); }

/* ============================================================================
   TESTIMONIALS
   ============================================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(32px, 5vw, 52px); }
.testi { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-radius-lg); padding: 28px 26px; box-shadow: var(--k-shadow-sm); }
.testi__mark { display: block; margin-bottom: 6px; }
.testi__mark svg { width: 40px; height: 40px; color: #CBDBFF; }
.testi__quote { font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; line-height: 1.5; color: var(--k-ink); flex: 1; }
.testi__by { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--k-line); }
.testi__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--k-bg-tint); display: grid; place-items: center; font-size: 1.35rem; flex: none; }
.testi__by > span:last-child { display: block; }
.testi__author { display: block; font-family: var(--font-head); font-weight: 600; color: var(--k-ink); }
.testi__role { display: block; font-size: .85rem; color: var(--k-slate-2); }
.testi-disclaimer { text-align: center; margin-top: 28px; font-size: .85rem; }

/* ============================================================================
   CALCULATORS
   ============================================================================ */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(32px, 5vw, 52px); }
.calc-card { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-radius-lg); padding: 28px 26px; box-shadow: var(--k-shadow-sm); }
.calc-card--fine { border-color: #F3D9B8; background: linear-gradient(180deg, #FFF9F0, #fff); }
.calc-card__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--k-blue-tint); color: var(--k-blue); }
.calc-card__icon svg { width: 24px; height: 24px; }
.calc-card__icon--fine { background: var(--k-amber-tint); color: var(--k-amber); }
.calc-card__title { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; color: var(--k-ink); }
.calc-field { display: flex; flex-direction: column; gap: 9px; }
.calc-field__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .92rem; color: var(--k-slate); font-weight: 500; }
.calc-field__val { font-family: var(--font-head); font-weight: 700; color: var(--k-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--k-bg-tint); outline: none; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--k-blue); box-shadow: var(--k-shadow-blue); cursor: pointer; border: 3px solid #fff; }
.calc-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--k-blue); cursor: pointer; border: 3px solid #fff; }
.calc-card--fine .calc-range::-webkit-slider-thumb { background: var(--k-amber); box-shadow: 0 8px 20px rgba(232,137,11,.35); }
.calc-card--fine .calc-range::-moz-range-thumb { background: var(--k-amber); }
.calc-result { margin-top: auto; padding: 16px 18px; border-radius: var(--k-radius); background: var(--k-bg-soft); text-align: center; }
.calc-result--fine { background: var(--k-amber-tint); }
.calc-result__value { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; color: var(--k-ink); font-variant-numeric: tabular-nums; }
.calc-result--fine .calc-result__value { color: #B5670A; }
.calc-result__label { display: block; margin-top: 4px; font-size: .86rem; color: var(--k-slate); }
.calc-card__note { font-size: .86rem; color: var(--k-slate-2); }

/* ============================================================================
   LEAD FORM (in the navy CTA)
   ============================================================================ */
.lead { max-width: 460px; margin: 26px auto 0; text-align: center; }
.lead__title { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: #fff; margin-bottom: 14px; }
.lead__row { display: flex; gap: 10px; }
.lead__input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 1rem; margin-bottom: 10px; }
.lead__input::placeholder { color: #9FB0D0; }
.lead__input:focus { border-color: var(--k-blue); background: rgba(255,255,255,.1); outline: none; }
.lead__consent { font-size: .78rem; color: #8FA0C6; margin-top: 12px; }
.lead__msg { margin-top: 12px; font-size: .92rem; font-weight: 600; padding: 10px 14px; border-radius: 10px; }
.lead__msg.is-ok { background: rgba(22,169,124,.16); color: #7DE0B8; }
.lead__msg.is-err { background: rgba(239,68,68,.14); color: #FCA5A5; }
.cta__alt { display: inline-block; margin-top: 14px; color: #B9C6E6; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.cta__alt:hover { color: #fff; }
.lead__calendly { display: block; margin-top: 12px; color: #7FA5FF; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lead__calendly[hidden] { display: none; }
.lead__calendly:hover { color: #fff; }

/* ============================================================================
   WHATSAPP FLOATING BUTTON
   ============================================================================ */
.wa-fab { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.4); transition: transform .18s ease; }
.wa-fab[hidden] { display: none; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 30px; height: 30px; }
@media (max-width: 600px) { .wa-fab { bottom: 86px; } } /* clear the sticky CTA bar */

/* ============================================================================
   PRICING (Starter / Pro)
   ============================================================================ */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: clamp(32px, 5vw, 52px) auto 0; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%); border: 1px solid #e4e7eb; border-radius: var(--k-radius-lg); padding: 34px 30px; box-shadow: 0 12px 32px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.04); transition: transform .2s ease, box-shadow .2s ease; }
.plan--pro { border: 2px solid var(--k-blue); box-shadow: 0 20px 40px rgba(30,64,175,.14), 0 6px 16px rgba(30,64,175,.08); background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%); }
.plan__badge { position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--k-amber); color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px rgba(232,137,11,.3); }
[dir="rtl"] .plan__badge { transform: translateX(50%); }
.plan__name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; color: var(--k-ink); }
.plan__price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
.plan__amount { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3rem); letter-spacing: -.02em; color: var(--k-ink); }
.plan__period { font-size: .95rem; color: var(--k-slate); }
.plan__note { margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--k-mint); }
.plan__cadences { margin-top: 4px; font-size: .78rem; color: var(--k-slate-2); font-style: italic; }
.plan__features { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan__features li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--k-ink); }
.plan__features li::before { content: "✓"; color: var(--k-mint); font-weight: 800; flex: none; }
.plan__lead { font-weight: 700; }
.plan__all { color: var(--k-slate-2); font-style: italic; }
.plan__all::before { content: "" !important; margin: 0 !important; }
.plan .btn { margin-top: 24px; }
.pricing-trial { text-align: center; max-width: 46ch; margin: 26px auto 0; font-size: .9rem; }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; } .plan--pro { margin-top: 12px; } }

/* ============================================================================
   STICKY MOBILE CTA
   ============================================================================ */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; transform: translateY(130%); transition: transform .3s ease; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.sticky-cta.is-visible { transform: none; pointer-events: auto; }
.sticky-cta__inner { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--k-line); border-radius: 16px; box-shadow: var(--k-shadow-lg); padding: 9px 10px 9px 12px; }
.sticky-cta__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--k-navy); display: grid; place-items: center; flex: none; }
.sticky-cta__mark .eq { height: 15px; --bar: #7FA5FF; }
.sticky-cta__text { flex: 1; font-weight: 600; font-size: .88rem; color: var(--k-ink); line-height: 1.2; }
.sticky-cta .btn { padding: 11px 18px; font-size: .9rem; }
@media (min-width: 721px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ============================================================================
   CTA
   ============================================================================ */
.cta { position: relative; overflow: hidden; background: var(--k-navy); color: #fff; }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(47,107,255,.35), transparent 60%); pointer-events: none; }
.cta__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; }
.cta__subtitle { color: #B9C6E6; font-size: 1.12rem; margin-top: 16px; max-width: 50ch; }
.cta__actions { margin-top: 30px; }
.cta__reassure { margin-top: 18px; font-size: .88rem; color: #8FA0C6; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer { background: #071026; color: #9FB0D0; padding-block: 48px 34px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand__word { color: #fff; }
.footer .brand__word b { color: #7FA5FF; }
.footer__tagline { margin-top: 14px; font-size: .95rem; max-width: 36ch; color: #8395B8; }
.footer__col h4 { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer__col a, .footer__col p { display: block; font-size: .92rem; color: #9FB0D0; padding: 4px 0; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .84rem; color: #6C7EA3; }

/* ============================================================================
   Reveal animation
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================================
   RTL (Arabic)
   ============================================================================ */
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .pain__eyebrow, [dir="rtl"] .hero__badge, [dir="rtl"] .langsel__code { letter-spacing: 0; }
[dir="rtl"] .vframe__play svg { margin-inline-start: 0; margin-inline-end: 3px; transform: scaleX(-1); }
[dir="rtl"] .hero__subtitle, [dir="rtl"] .pain__body, [dir="rtl"] .section__title, [dir="rtl"] .section__intro { text-align: right; }
/* keep monetary amounts (digits + €) rendering as one clean LTR run, even in RTL */
.try-doc__num, .try-doc__line b, .try-doc__totals > div > span:last-child, .calc-result__value, .calc-field__val, .doc-card__amount { unicode-bidi: isolate; }
[dir="rtl"] .try-doc__num, [dir="rtl"] .try-doc__line b, [dir="rtl"] .try-doc__totals > div > span:last-child, [dir="rtl"] .calc-result__value, [dir="rtl"] .calc-field__val, [dir="rtl"] .doc-card__amount { direction: ltr; }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle, .hero__title { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { margin-top: 8px; }
  .pain, .pain--reverse .pain__media { grid-template-columns: 1fr; }
  .pain--reverse .pain__media { order: 0; }
  .pain__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .langs-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav__cta { display: none; }        /* covered by the mobile menu + sticky bar */
}
@media (max-width: 520px) {
  .langs-grid { grid-template-columns: 1fr; }
  .lead__row { flex-direction: column; gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; align-items: center; gap: 10px; }
}

.pricing-subtitle { margin: 8px auto 0; text-align: center; font-size: .88rem; color: var(--k-slate-2); }


/* ─── Nouvelle structure pricing avec 3 lignes de prix ─── */
.plan__prices { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.plan__price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; transition: transform .15s ease, box-shadow .15s ease; }
.plan__price-row--dual { padding: 0; background: transparent; border: none; gap: 10px; }
.plan__price-row--dual .plan__price-half { flex: 1; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; display: flex; flex-direction: column; gap: 6px; transition: transform .15s ease, box-shadow .15s ease; }
.plan__price-row--featured { border: 2px solid var(--k-blue); background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); box-shadow: 0 8px 24px rgba(30,64,175,.16), 0 2px 8px rgba(30,64,175,.08); position: relative; padding: 18px 20px; }
.plan__price-annual-badge { position: absolute; top: -11px; inset-inline-start: 14px; background: var(--k-navy); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; box-shadow: 0 4px 10px rgba(15,23,42,.18); }
.plan__price-cadence { font-size: .78rem; font-weight: 600; color: var(--k-slate-2); text-transform: uppercase; letter-spacing: .04em; }
.plan__price-info { display: flex; flex-direction: column; gap: 2px; }
.plan__price-value { display: flex; align-items: baseline; gap: 6px; }
.plan__price-info .plan__amount { font-size: 1.35rem; font-weight: 800; color: var(--k-navy); }
.plan__price-row--featured .plan__amount { font-size: 2rem; color: var(--k-navy); font-weight: 900; }
.plan__price-row--dual .plan__amount { font-size: 1.15rem; }
.plan__price-info .plan__period { font-size: .78rem; color: var(--k-slate-2); font-weight: 500; }
.plan__price-savings { font-size: .72rem; font-weight: 700; color: var(--k-mint); background: #e8f8f0; padding: 3px 8px; border-radius: 999px; display: inline-block; align-self: flex-start; }
.plan__price-savings--big { font-size: .85rem; padding: 5px 14px; background: var(--k-blue); color: #fff; font-weight: 800; box-shadow: 0 2px 6px rgba(30,64,175,.20); }
.plan__price-trial { font-size: .72rem; font-weight: 700; color: var(--k-blue); background: #e6f0ff; padding: 3px 10px; border-radius: 999px; display: inline-block; align-self: flex-start; }
.plan__price-cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 8px; font-size: .82rem; font-weight: 700; text-decoration: none; transition: all .15s ease; white-space: nowrap; }
.plan__price-row .plan__price-cta { background: var(--k-navy); color: #fff; }
.plan__price-row .plan__price-cta:hover { background: #14283e; }
.plan__price-row--featured .plan__price-cta { background: var(--k-blue); color: #fff; box-shadow: 0 4px 12px rgba(30,64,175,.20); }
.plan__price-row--featured .plan__price-cta:hover { background: var(--k-navy); box-shadow: 0 6px 16px rgba(30,64,175,.30); }
.plan__price-row--dual .plan__price-cta { width: 100%; padding: 8px 10px; font-size: .78rem; }

@media (max-width: 640px) {
  .plan__price-row { flex-direction: column; align-items: flex-start; }
  .plan__price-row--dual { flex-direction: column; }
  .plan__price-cta { width: 100%; }
}


.plan:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.06); }
.plan--pro:hover { box-shadow: 0 28px 56px rgba(30,64,175,.18), 0 8px 20px rgba(30,64,175,.10); }

.plan__price-row:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(15,23,42,.06); }
.plan__price-row--dual .plan__price-half:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(15,23,42,.06); }

/* ─── Sprint pricing toggle : 4 cadences + 2 cartes single price ─── */
.pricing__toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  margin: 0 auto 32px;
  background: #f1f5f9;
  border-radius: 999px;
  gap: 2px;
  border: 1px solid #e2e8f0;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing__toggle-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--k-slate-2);
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.pricing__toggle-btn:hover:not(.is-active) {
  color: var(--k-navy);
  background: rgba(255,255,255,.5);
}
.pricing__toggle-btn.is-active {
  background: var(--k-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30,64,175,.20);
}

/* Container centré pour le toggle */
.pricing__toggle-wrap { text-align: center; }

/* Bloc de prix single (remplace les 3 lignes précédentes) */
.plan__price-single {
  position: relative;
  padding: 28px 20px 24px;
  margin-top: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid var(--k-blue);
  border-radius: 14px;
  text-align: center;
  transition: background .25s ease, border-color .25s ease;
}
.plan--pro .plan__price-single {
  background: linear-gradient(135deg, #eef4ff 0%, #d6e4ff 100%);
}
.plan__price-single .plan__amount-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.plan__price-single .plan__amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--k-navy);
  line-height: 1;
}
.plan__price-single .plan__period {
  font-size: .95rem;
  font-weight: 500;
  color: var(--k-slate-2);
}
.plan__savings-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--k-navy);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(15,23,42,.20);
  letter-spacing: .02em;
}
.plan__billing {
  font-size: .82rem;
  color: var(--k-slate-2);
  margin: 4px 0 0;
  font-weight: 500;
}
.plan__trial-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: #16a34a;
  color: #fff;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(22,163,74,.25);
}

/* CTA unique en bas */
.plan__cta.btn--block {
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}

@media (max-width: 640px) {
  .pricing__toggle-btn { padding: 8px 14px; font-size: .85rem; }
  .plan__price-single .plan__amount { font-size: 2rem; }
}

/* Cacher l'ancienne structure 3 lignes si résiduelle */
.plan__prices { display: none; }

/* ─── Sprint pricing toggle : 4 cadences + 2 cartes single price ─── */
.pricing__toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  margin: 0 auto 32px;
  background: #f1f5f9;
  border-radius: 999px;
  gap: 2px;
  border: 1px solid #e2e8f0;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing__toggle-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--k-slate-2);
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.pricing__toggle-btn:hover:not(.is-active) {
  color: var(--k-navy);
  background: rgba(255,255,255,.5);
}
.pricing__toggle-btn.is-active {
  background: var(--k-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(30,64,175,.20);
}

/* Container centré pour le toggle */
.pricing__toggle-wrap { text-align: center; }

/* Bloc de prix single (remplace les 3 lignes précédentes) */
.plan__price-single {
  position: relative;
  padding: 28px 20px 24px;
  margin-top: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid var(--k-blue);
  border-radius: 14px;
  text-align: center;
  transition: background .25s ease, border-color .25s ease;
}
.plan--pro .plan__price-single {
  background: linear-gradient(135deg, #eef4ff 0%, #d6e4ff 100%);
}
.plan__price-single .plan__amount-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.plan__price-single .plan__amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--k-navy);
  line-height: 1;
}
.plan__price-single .plan__period {
  font-size: .95rem;
  font-weight: 500;
  color: var(--k-slate-2);
}
.plan__savings-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--k-navy);
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(15,23,42,.20);
  letter-spacing: .02em;
}
.plan__billing {
  font-size: .82rem;
  color: var(--k-slate-2);
  margin: 4px 0 0;
  font-weight: 500;
}
.plan__trial-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: #16a34a;
  color: #fff;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(22,163,74,.25);
}

/* CTA unique en bas */
.plan__cta.btn--block {
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}

@media (max-width: 640px) {
  .pricing__toggle-btn { padding: 8px 14px; font-size: .85rem; }
  .plan__price-single .plan__amount { font-size: 2rem; }
}

/* Cacher l'ancienne structure 3 lignes si résiduelle */
.plan__prices { display: none; }


/* Détail savings sous "Facturation X" (Sprint pricing savings) */
.plan__savings-detail {
  font-size: 0.72rem;
  color: var(--k-navy, #0f172a);
  font-style: italic;
  margin: 4px 0 0 0;
  line-height: 1.35;
}


/* Message "Contactez-nous..." affiché uniquement sur cadence annuelle */
.pricing-annual-contact {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--k-navy, #0f172a);
}
.pricing-annual-contact a {
  font-weight: 600;
  color: var(--k-primary, #2f6bff);
  text-decoration: underline;
}
.pricing-annual-contact a:hover {
  color: var(--k-primary-dark, #1e4bc7);
}
