/* Xarlon marketing site — minimalist design system (v3)
   Aesthetic: bright, airy, premium. Near-black ink, generous whitespace,
   the blue -> cyan brand gradient reserved for accents and primary actions.
   Type: Poppins (self-hosted, geometric) to match the geometric logo. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); }

:root {
  --ink: #0a0f2c;          /* headings / near-black navy */
  --ink-soft: #414a6b;     /* body */
  --muted: #7b839c;        /* secondary text */
  --line: #e7ebf5;         /* hairlines */
  --line-soft: #eef1f8;
  --surface: #f6f8fd;      /* tinted section background */
  --surface-2: #fbfcfe;
  --panel: #ffffff;
  --blue: #1f6ef0;
  --blue-ink: #1550c7;
  --cyan: #34c6ef;
  --green: #12996f;
  --amber: #a9720a;
  --red: #d24a6a;
  --gradient: linear-gradient(120deg, #2ec5ee 0%, #1f6ef0 62%);
  --gradient-soft: linear-gradient(120deg, #eaf8fe 0%, #eef4ff 70%);
  --shadow-lg: 0 34px 90px -32px rgba(16, 34, 92, .35);
  --shadow: 0 20px 48px -22px rgba(16, 34, 92, .28);
  --shadow-sm: 0 8px 26px -14px rgba(16, 34, 92, .22);
  --radius: 18px;
  --font-head: "Poppins", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Poppins", "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink-soft); background: #fff; font-family: var(--font-body); font-size: .98rem; line-height: 1.62; letter-spacing: -.006em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(31,110,240,.16); }
.skip-link { position: absolute; left: 18px; top: -90px; z-index: 100; padding: 11px 15px; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 18px; }
.container, .header-inner { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: rgba(255,255,255,.9); transition: border-color .3s ease, background .3s ease, box-shadow .3s ease; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.97); box-shadow: 0 6px 24px -18px rgba(16,34,92,.5); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .95rem; font-weight: 500; }
.nav a { color: var(--ink-soft); text-decoration: none; transition: color .2s ease; }
.nav a:not(.button):hover, .nav a:not(.button):focus { color: var(--blue); }
.nav-toggle { display: none; min-width: 50px; min-height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); font-weight: 700; }

/* ---------- Buttons ---------- */
.button, button.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; font-family: var(--font-body); font-weight: 600; font-size: .96rem; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.button:hover, .button:focus { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--gradient); box-shadow: 0 14px 30px -10px rgba(31,110,240,.55); }
.button.primary:hover { box-shadow: 0 18px 38px -10px rgba(31,110,240,.65); }
.button.secondary { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.button.secondary:hover { border-color: #cfd8ee; }
.button.light { color: var(--ink); background: #fff; box-shadow: 0 12px 30px -12px rgba(0,0,0,.3); }
.button.ghost-light { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.button.accent { color: #fff; background: var(--gradient); }
.button.whatsapp { color: #fff; background: #1f9d63; }
.button.whatsapp:hover { background: #178a55; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin-top: 0; letter-spacing: -.025em; font-weight: 600; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin-bottom: 0; font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
h2 { margin-bottom: 0; font-size: clamp(1.95rem, 3.7vw, 3.05rem); line-height: 1.1; font-weight: 600; }
h3 { margin-bottom: 10px; font-size: 1.18rem; line-height: 1.3; font-weight: 600; }
.grad { background: linear-gradient(110deg, #34c6ef 0%, #1f6ef0 55%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 span:not(.status-dot):not(.grad) { background: linear-gradient(110deg, #34c6ef 0%, #1f6ef0 55%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.27rem); line-height: 1.62; }
.eyebrow { display: inline-flex; align-items: center; margin: 0 0 18px; color: var(--blue); font-family: var(--font-body); font-size: .73rem; line-height: 1.3; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(52,198,239,.16); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 0; background:
  radial-gradient(70% 55% at 50% 2%, rgba(52,198,239,.14), transparent 70%),
  radial-gradient(120% 90% at 50% -20%, #eef5ff 0%, #f8fafe 42%, #ffffff 78%); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-x { position: absolute; height: auto; will-change: transform; }
.hero-x.one { width: min(50vw, 560px); right: -5%; top: 6%; opacity: .05; animation: heroFloatA 22s ease-in-out infinite; }
.hero-x.two { width: min(28vw, 280px); left: -4%; bottom: 4%; opacity: .045; animation: heroFloatB 27s ease-in-out infinite; }
@keyframes heroFloatA { 0%, 100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(0,-24px,0) rotate(7deg); } }
@keyframes heroFloatB { 0%, 100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(0,20px,0) rotate(-6deg); } }
.hero-copy { position: relative; z-index: 1; max-width: 960px; margin-inline: auto; text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.05rem); letter-spacing: -.04em; text-wrap: balance; }
.hero h1 .grad { white-space: nowrap; }
.hero .lead { max-width: 640px; margin: 22px auto 0; font-size: clamp(1rem, 1.15vw, 1.08rem); }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-copy .hero-actions { justify-content: center; }
.hero-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; color: var(--ink-soft); font-size: .92rem; font-weight: 500; }
.hero-proof span { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof span svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* ---------- Product screenshot frame ---------- */
.product-window { position: relative; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-window { position: relative; z-index: 2; margin: 60px auto 0; max-width: 1060px; transform: translateY(46px); }
.product-window > a { display: block; overflow: hidden; }
.product-window img { display: block; width: 100%; height: auto; background: var(--surface); }
.hero-window img { width: 100%; height: auto; }
.window-bar { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.window-bar div { display: flex; gap: 6px; }
.window-bar i { width: 9px; height: 9px; display: block; border-radius: 50%; background: #dbe1ef; }
.window-bar i:first-child { background: #ff6f61; }
.window-bar i:nth-child(2) { background: #ffcf5c; }
.window-bar i:nth-child(3) { background: #2fc27a; }
.window-bar span { font-weight: 600; }
.window-bar a { color: var(--blue); text-decoration: none; font-weight: 700; }

/* Fallback CSS mock UI (kept for any page still using it) */
.marketing-ui { padding: 26px; background: linear-gradient(150deg, #f8faff, #eef4fc); }
.marketing-ui.compact-ui { padding: 20px; }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.ui-stat, .ui-panel { border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.ui-stat { display: grid; gap: 4px; padding: 16px; }
.ui-stat strong { font-size: 1rem; color: var(--ink); }
.ui-stat span, .ui-panel-head span { color: var(--muted); font-size: .78rem; }
.ui-panel { padding: 6px 16px; }
.ui-panel-head, .ui-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: center; padding: 13px 4px; }
.ui-panel-head { border-bottom: 1px solid var(--line); }
.ui-panel-head strong { color: var(--ink); }
.ui-row { color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: .85rem; }
.ui-row:last-child { border-bottom: 0; }
.ui-pill { padding: 5px 10px; border-radius: 999px; color: var(--green); background: #e5f6ef; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.ui-pill.blue { color: var(--blue); background: #e9f1ff; }

.float-card { position: absolute; z-index: 3; display: flex; background: rgba(255,255,255,.97); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.float-score { right: -22px; top: 16%; width: 156px; flex-direction: column; padding: 16px; border-radius: 15px; }
.float-score small { color: var(--muted); }
.float-score strong { color: var(--blue); font-size: 2rem; line-height: 1.1; }
.float-score span { width: fit-content; margin-top: 7px; padding: 4px 9px; border-radius: 999px; color: var(--green); background: #e5f6ef; font-size: .72rem; font-weight: 700; }
.float-review { left: -22px; bottom: 12%; align-items: center; gap: 11px; padding: 13px 15px; border-radius: 15px; }
.float-review .check { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--gradient); border-radius: 50%; font-weight: 800; }
.float-review div { display: grid; }
.float-review strong { font-size: .84rem; color: var(--ink); }
.float-review small { color: var(--muted); font-size: .7rem; }

/* ---------- Logo / trust strip ---------- */
.signal-strip { padding: 92px 0 30px; background: #fff; }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.signal-grid div { padding: 26px 28px; border-right: 1px solid var(--line); }
.signal-grid div:last-child { border-right: 0; }
.signal-grid strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.signal-grid strong.big { font-size: 2rem; letter-spacing: -.03em; background: linear-gradient(110deg,#34c6ef,#1f6ef0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signal-grid span { display: block; margin-top: 8px; color: var(--muted); font-size: .85rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.soft { background: var(--surface); }
.section.tight { padding: 72px 0; }
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 46px; }
.section-header > div { max-width: 720px; }
.section-header > p { max-width: 420px; margin: 0; color: var(--muted); }
.section-header.centered { max-width: 780px; margin: 0 auto 52px; display: block; text-align: center; }
.section-header.centered p { max-width: 660px; margin: 18px auto 0; }

/* ---------- Problem cards ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.problem-card .p-ico { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; color: var(--blue); background: #eef4ff; }
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .card, .form-panel, .mockup, .timeline-step { position: relative; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.feature-card { min-height: 320px; }
.feature-card.featured { border-color: #cfe9f6; background: linear-gradient(160deg, #f4fcff, #fff 60%); }
.feature-num { position: absolute; right: 24px; top: 22px; color: #cdd6ea; font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.feature-icon, .icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 40px; border-radius: 13px; color: var(--blue); background: #eef4ff; font-size: 1.2rem; font-weight: 800; }
.feature-icon svg, .problem-card .p-ico svg, .icon svg { width: 24px; height: 24px; }
.feature-icon.cyan { color: #0f9bc4; background: #e7f8ff; }
.feature-icon.green, .icon.green { color: var(--green); background: #e5f6ef; }
.feature-card p, .card p, .timeline-step p, .mockup p { margin: 0; color: var(--muted); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card a, .text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--blue); font-weight: 700; text-decoration: none; }
.feature-card a:hover, .text-link:hover { gap: 12px; }

/* ---------- Showcase (copy + screenshot) ---------- */
.showcase-section { overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.showcase-copy .lead { margin: 20px 0 0; }
.check-list { display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none; color: var(--ink-soft); }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.check-list li span { margin-top: 2px; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--green); background: #e5f6ef; font-size: .7rem; font-weight: 800; }
.compact-window { box-shadow: var(--shadow-lg); }
.compact-window img { width: 100%; height: auto; }

/* ---------- Pillars / 3-up process ---------- */
.process-line { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.process-line::before { content: ""; position: absolute; top: 19px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); opacity: .5; }
.process-line article { position: relative; padding-top: 56px; }
.process-line article > span { position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #c7e6f4; border-radius: 50%; color: var(--blue); background: #fff; font-size: .74rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.process-line h3 { font-size: 1.04rem; }
.process-line p { margin: 0; color: var(--muted); font-size: .9rem; }
.process-line em { display: block; margin-top: 4px; color: var(--blue); font-style: normal; font-size: .78rem; font-weight: 600; }

/* ---------- Dark accent section (used sparingly) ---------- */
.dark-section { color: #fff; background: linear-gradient(160deg, #0a1030 0%, #111a44 100%); }
.dark-section h1, .dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .eyebrow { color: var(--cyan); }
.dark-section .lead { color: #b9c1db; }
.review-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.review-panel { padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.06); box-shadow: 0 30px 70px rgba(0,0,0,.3); }
.review-head { display: flex; justify-content: space-between; padding: 8px 8px 16px; color: #dbe1f1; }
.review-head strong { color: var(--cyan); font-size: .82rem; }
.review-row { display: grid; grid-template-columns: 74px 1fr; gap: 13px; align-items: center; margin-top: 10px; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.05); }
.review-row div { display: grid; }
.review-row strong { color: #fff; font-size: .92rem; }
.review-row small { color: #aeb6cf; }
.risk { width: fit-content; padding: 6px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.risk.medium { color: #ffd977; background: rgba(255,208,83,.14); }
.risk.high { color: #ff9bb1; background: rgba(255,92,131,.16); }
.risk.low { color: #7ff0c0; background: rgba(46,194,122,.16); }

/* ---------- Audience grid ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-grid article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.audience-grid article > span { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 34px; border-radius: 12px; color: var(--blue); background: #eef4ff; font-size: .78rem; font-weight: 800; }
.audience-grid h3 { margin-bottom: 10px; }
.audience-grid p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-grid .lead { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 0; color: var(--ink); background: transparent; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; cursor: pointer; }
.faq-button span { color: var(--blue); font-size: 1.35rem; line-height: 1; transition: transform .2s ease; }
.faq-item.open .faq-button span { transform: rotate(45deg); }
.faq-panel { display: none; padding: 0 22px 22px; color: var(--muted); }
.faq-item.open .faq-panel { display: block; }

/* ---------- Final CTA ---------- */
.final-cta-section { padding-top: 40px; }
.final-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 60px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, #1550c7, #1f6ef0 52%, #34c6ef); box-shadow: 0 30px 70px -24px rgba(31,110,240,.6); }
.final-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.12); }
.final-cta > div, .final-cta .actions { position: relative; z-index: 1; }
.final-cta .eyebrow { color: #d9f6ff; }
.final-cta h2 { color: #fff; max-width: 700px; }
.final-cta p:not(.eyebrow) { max-width: 640px; margin-bottom: 0; color: #e6f0ff; }
.final-cta .actions { justify-content: flex-end; margin-top: 0; }

/* ---------- Pilot band ---------- */
.pilot-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; padding: 42px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #0a1030, #16225a); }
.pilot-band h2 { color: #fff; }
.pilot-band p { margin-bottom: 0; color: #c2cbe4; }

/* ---------- Inner-page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 96px 0 76px; background: radial-gradient(120% 100% at 50% -30%, #eef5ff 0%, #f7fafe 55%, #fff 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 940px; font-size: clamp(2.5rem, 5vw, 4rem); }
.page-hero .lead { max-width: 780px; margin: 22px 0 0; }
.page-hero.centered .container { text-align: center; }
.page-hero.centered h1, .page-hero.centered .lead { margin-inline: auto; }

/* ---------- Product page modules ---------- */
.module { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; padding: 66px 0; border-bottom: 1px solid var(--line); }
.module:last-child { border-bottom: 0; }
.module:nth-child(even) > div:first-child { order: 2; }
.mockup { padding: 26px; box-shadow: var(--shadow); }
.mockup-top { display: flex; gap: 6px; margin-bottom: 18px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #dce2ee; }
.badge { display: inline-flex; align-items: center; width: fit-content; padding: 6px 11px; border-radius: 999px; color: var(--blue); background: #eaf1ff; font-family: var(--font-body); font-size: .74rem; font-weight: 800; letter-spacing: .02em; }
.badge.roadmap { color: var(--amber); background: #fdf3da; }
.badge.green { color: var(--green); background: #e5f6ef; }
.standard-list { display: grid; gap: 6px; }
.score-row, .candidate-row, .standard-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.score-row:last-child, .candidate-row:last-child, .standard-row:last-child { border: 0; }
.score { color: var(--blue); font-weight: 800; }
.bar { height: 8px; margin: 10px 0 18px; border-radius: 999px; background: #e9edf5; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--gradient); }

/* ---------- Workflow cards ---------- */
.workflow { display: grid; grid-template-columns: repeat(6, minmax(150px,1fr)); gap: 12px; overflow-x: auto; }
.workflow-card { min-height: 200px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.workflow-card .w-ico { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 11px; color: var(--blue); background: #eef4ff; }
.workflow-card .w-ico svg { width: 22px; height: 22px; }
.workflow-card.hr .w-ico { color: #0f9bc4; background: #e7f8ff; }
.workflow-card .badge { margin-bottom: 12px; gap: 5px; }
.workflow-card .badge svg { width: 14px; height: 14px; }
.workflow-card.ai { border-top: 3px solid var(--blue); }
.workflow-card.hr { border-top: 3px solid var(--cyan); }
.workflow-card h3 { font-size: 1.02rem; }
.workflow-card p { color: var(--muted); font-size: .9rem; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 16px; }
.timeline-step { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; }
.step-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--gradient); font-family: var(--font-head); font-weight: 800; }
.timeline-step h2 { font-size: 1.5rem; }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2,1fr); }
.grid.three { grid-template-columns: repeat(3,1fr); }
.grid.four { grid-template-columns: repeat(4,1fr); }
.journey { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.journey div { padding: 20px; border-right: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.journey div:last-child { border-right: 0; }
.journey span { display: block; margin-bottom: 6px; color: var(--blue); font-size: .74rem; font-weight: 800; }

/* ---------- Forms ---------- */
.form-grid, .pricing-panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.form-single { max-width: 600px; margin-inline: auto; }
.form-reassure { margin-top: 16px; text-align: center; color: var(--muted); font-size: .86rem; }
.opt { color: var(--muted); font-weight: 500; }
.form-panel { padding: 32px; box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field.full { grid-column: 1/-1; }
label { color: var(--ink); font-size: .88rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,110,240,.14); }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note, .form-status { color: var(--muted); font-size: .88rem; }
.turnstile-slot { margin: 4px 0 14px; min-height: 0; }
.form-status { min-height: 1.2em; margin-top: 6px; }

/* ---------- Legal ---------- */
.legal-meta { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0,760px); gap: 64px; align-items: start; }
.legal-nav { position: sticky; top: 102px; padding-left: 16px; border-left: 2px solid var(--line); }
.legal-nav strong { display: block; margin-bottom: 10px; color: var(--ink); }
.legal-nav a { display: block; padding: 5px 0; color: var(--muted); font-size: .88rem; text-decoration: none; }
.legal-nav a:hover { color: var(--blue); }
.legal-copy > section { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.legal-copy > section:last-child { border: 0; }
.legal-copy h2 { margin-bottom: 12px; font-size: 1.6rem; }
.legal-copy h3 { margin: 20px 0 8px; }
.legal-copy p, .legal-copy li { color: var(--ink-soft); }
.legal-notice { margin-bottom: 30px; padding: 18px 20px; border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; color: var(--ink-soft); background: var(--surface); }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.legal-table, .comparison table { width: 100%; min-width: 680px; border-collapse: collapse; }
.legal-table th, .legal-table td, .comparison th, .comparison td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th, .comparison th { background: var(--surface); color: var(--ink); }
.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.comparison td .yes { color: var(--green); font-weight: 800; }
.comparison td .no { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding: 72px 0 26px; color: #c7cee1; background: #080d24; }
.footer-top { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 54px; padding-bottom: 46px; }
.site-footer .brand-logo { filter: brightness(0) invert(1); }
.footer-brand p { max-width: 320px; margin-top: 18px; color: #97a0bd; }
.footer-col { display: grid; align-content: start; gap: 11px; }
.footer-col strong { margin-bottom: 4px; color: #fff; font-family: var(--font-head); }
.footer-col a, .footer-links a { color: #aeb7cf; text-decoration: none; font-size: .95rem; }
.footer-col a:hover, .footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #8b95b3; font-size: .84rem; }
.footer-bottom a { color: #c7cee1; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.trust-line { color: var(--muted); }

/* ---------- Candidate page (no marketing) ---------- */
.candidate-page .site-header { position: static; background: #fff; border-bottom: 1px solid var(--line); }
.candidate-page .candidate-header { justify-content: center; }
.candidate-page .nav { display: none; }

/* ---------- Cookie + thank-you ---------- */
.cookie-banner { position: fixed; z-index: 80; left: 20px; right: 20px; bottom: 20px; display: none; max-width: 720px; margin: auto; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.cookie-banner.show { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .9rem; }
.cookie-banner .actions { flex-wrap: nowrap; margin: 0; }
.thank-you { min-height: 74vh; display: grid; place-items: center; text-align: center; background: radial-gradient(120% 90% at 50% -10%, #eef5ff, #fff 60%); }
.thank-you .container { max-width: 720px; }
.thank-you .badge { margin-bottom: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero h1 .grad { white-space: normal; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 24px; right: 24px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px; }
  .feature-grid, .audience-grid, .problem-grid { grid-template-columns: repeat(2,1fr); }
  .showcase-grid, .review-grid, .faq-grid, .module, .form-grid, .pricing-panel { grid-template-columns: 1fr; }
  .showcase-grid { gap: 44px; }
  .module:nth-child(even) > div:first-child { order: 0; }
  .process-line { grid-template-columns: repeat(3,1fr); gap: 30px; }
  .process-line::before { display: none; }
  .signal-grid { grid-template-columns: repeat(2,1fr); }
  .signal-grid div:nth-child(2) { border-right: 0; }
  .signal-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid.four, .grid.three { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 2fr repeat(2,1fr); }
  .footer-brand { grid-row: span 2; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-nav { position: static; columns: 2; padding: 0 0 18px; border-left: 0; border-bottom: 1px solid var(--line); }
  .legal-nav strong { column-span: all; }
}

@media (max-width: 680px) {
  .container, .header-inner { width: min(var(--max), calc(100% - 32px)); }
  .header-inner { min-height: 66px; }
  .nav { top: 66px; left: 16px; right: 16px; }
  .hero { padding-top: 56px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-window { margin-top: 40px; transform: translateY(30px); }
  .window-bar span { display: none; }
  .float-card { display: none; }
  .ui-stats { grid-template-columns: 1fr; }
  .ui-panel-head, .ui-row { grid-template-columns: 1fr auto; }
  .ui-panel-head span, .ui-row > span:nth-child(2) { display: none; }
  .signal-strip { padding-top: 56px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-grid div:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .section-header { display: grid; align-items: start; gap: 18px; margin-bottom: 34px; }
  .feature-grid, .audience-grid, .problem-grid, .grid.two, .grid.three, .grid.four, .field-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-icon { margin-bottom: 28px; }
  .process-line { grid-template-columns: 1fr; }
  .process-line article { min-height: 84px; padding: 0 0 0 56px; }
  .process-line article > span { top: 2px; }
  .review-grid { gap: 40px; }
  .review-row { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; padding: 36px 26px; }
  .final-cta .actions { justify-content: flex-start; }
  .final-cta .button, .pilot-band .button { width: 100%; }
  .pilot-band { grid-template-columns: 1fr; padding: 30px; }
  .page-hero { padding: 66px 0 54px; }
  .timeline-step { grid-template-columns: 1fr; gap: 12px; }
  .journey { grid-template-columns: 1fr; }
  .journey div { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: repeat(2,1fr); gap: 36px 24px; }
  .footer-brand { grid-column: 1/-1; grid-row: auto; }
  .footer-bottom, .footer-grid { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .legal-nav { columns: 1; }
  .cookie-banner.show { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
