/* Credivo CRM marketing site. Brand: navy, green, gold (from the logo). */
:root {
  --navy: #24346e; --navy-2: #1a2655; --ink-dark: #0b1230; --green: #129252; --wa: #1fa855; --gold: #c9a24a; --gold-2: #e2c27a;
  --bg: #f6f7fb; --surface: #fff; --surface-2: #eef1f8; --text: #141a33; --text-2: #3f4766; --muted: #6b7290; --line: #e3e6ef;
  --radius: 20px; --shadow: 0 1px 2px rgba(20,26,51,.05), 0 10px 30px rgba(20,26,51,.07);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f22; --surface: #121a33; --surface-2: #19223f; --text: #e8ebf5; --text-2: #c0c6dc; --muted: #8e96b3; --line: #253052;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f22; --surface: #121a33; --surface-2: #19223f; --text: #e8ebf5; --text-2: #c0c6dc; --muted: #8e96b3; --line: #253052;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 700 15.5px var(--font); text-decoration: none; padding: 14px 24px; border-radius: 14px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn.block { width: 100%; }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1607; box-shadow: 0 8px 24px rgba(201,162,74,.35); }
.btn.ghost-light { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn.ghost-light:hover { background: rgba(255,255,255,.12); }
.btn.outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn.wa { background: var(--wa); color: #fff; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.solid { background: rgba(11,18,48,.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-weight: 800; letter-spacing: .08em; font-size: 13px; }
.brand img { height: 40px; width: auto; }
.brand span { border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 1px 6px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.links a:hover { color: #fff; }
@media (max-width: 760px) { .links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% 30%, #2b3f86 0%, rgba(43,63,134,0) 60%), linear-gradient(160deg, #101a42 0%, var(--ink-dark) 70%); color: #fff; padding: 120px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -160px; height: 260px; border-radius: 50%; border-top: 2px solid rgba(201,162,74,.55); z-index: -1; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 600px; }
@media (max-width: 920px) { .hero-in { grid-template-columns: 1fr; min-height: 0; } .hero { padding-top: 104px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: var(--gold-2); background: rgba(201,162,74,.1); border: 1px solid rgba(201,162,74,.3); padding: 6px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31,168,85,.25); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; margin: 22px 0 18px; }
.hl { background: linear-gradient(120deg, #4ade80, var(--wa)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16.5px, 1.6vw, 19px); color: rgba(255,255,255,.78); max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 14.5px; color: rgba(255,255,255,.8); }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points .i { color: #4ade80; width: 18px; height: 18px; }
.trial-cta { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; color: var(--gold-2); font-weight: 700; text-decoration: none; }
.trial-cta:hover { text-decoration: underline; }

/* Hero visual: two phones in CSS 3D, floating notification cards and SVG rings (no WebGL). */
.hero-visual { position: relative; height: min(600px, 118vw); max-height: 600px; min-height: 380px; perspective: 1400px; --px: 0; --py: 0; }
.hero-visual .rings { position: absolute; inset: 4% -4%; width: 108%; height: 92%; overflow: visible; pointer-events: none; }
.ring-a, .ring-b { transform-origin: 300px 300px; transform-box: view-box; }
.ring-a { animation: spin 26s linear infinite; }
.ring-b { animation: spin 38s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual .phone { position: absolute; margin: 0; will-change: transform; }
.hero-visual .hp1 { width: 44%; left: 14%; top: 7%; z-index: 2; transform: rotateY(calc(-16deg + var(--px) * 12deg)) rotateX(calc(6deg - var(--py) * 8deg)); animation: floatA 7s ease-in-out infinite; }
.hero-visual .hp2 { width: 38%; left: 54%; top: 15%; z-index: 1; transform: rotateY(calc(-24deg + var(--px) * 12deg)) rotateX(calc(6deg - var(--py) * 8deg)); animation: floatB 8s ease-in-out infinite; }
@keyframes floatA { 50% { translate: 0 -12px; } }
@keyframes floatB { 50% { translate: 0 10px; } }
.ncard { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); color: #141a33; border-radius: 16px; padding: 9px 14px 9px 9px; box-shadow: 0 14px 30px rgba(5,10,30,.35); max-width: 62%; animation: bob 6s ease-in-out infinite; }
.ncard small { display: block; color: #5b627f; font-size: 12px; font-weight: 600; line-height: 1.3; }
.ncard b { font-size: 14px; line-height: 1.25; }
.ncard span { display: flex; flex-direction: column; min-width: 0; }
.nd { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 15px !important; }
.nd.g { background: #1fa855; } .nd.n { background: #24346e; } .nd.y { background: #c9a24a; } .nd.g2 { background: #129252; }
.n1 { left: 0; top: 4%; }
.n2 { right: 0; bottom: 10%; animation-delay: -1.5s; }
.n3 { right: 2%; top: 0; animation-delay: -3s; }
.n4 { left: 2%; bottom: 4%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 560px) { .ncard { padding: 7px 10px 7px 7px; gap: 8px; border-radius: 13px; } .ncard b { font-size: 12.5px; } .ncard small { font-size: 11px; } .nd { width: 28px; height: 28px; font-size: 13px !important; } .n3, .n4 { display: none; } }
@media (prefers-reduced-motion: reduce) { .ring-a, .ring-b, .hero-visual .phone, .ncard { animation: none; } }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 30px 0 6px; color: rgba(255,255,255,.6); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; }
.trust span::before { content: "◆"; color: var(--gold); font-size: 9px; margin-right: 8px; vertical-align: 2px; }

/* phone frame (CSS) */
.phone { margin: 0; border-radius: 34px; padding: 9px; background: linear-gradient(145deg, #2a3358, #0c1229); box-shadow: 0 30px 60px rgba(5,10,30,.45), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 390/844; object-fit: cover; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
@media (max-width: 700px) { .section { padding: 68px 0; } }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.kicker.light { color: var(--gold-2); }
.section h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.sub { color: var(--muted); font-size: 17px; margin-top: 12px; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 820px) { .pain-grid { grid-template-columns: 1fr; } }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pain .num { font-weight: 800; color: var(--gold); font-size: 14px; letter-spacing: .1em; }
.pain h3 { font-size: 21px; margin: 10px 0 8px; }
.pain p { color: var(--text-2); }
.answer { margin-top: 30px; font-size: 18px; font-weight: 700; }
.answer a { color: var(--green); text-decoration: none; }

.features { background: var(--surface); border-block: 1px solid var(--line); }
.f-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 1020px) { .f-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }
.f { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; background: var(--bg); transition: transform .25s, box-shadow .25s, border-color .25s; transform-style: preserve-3d; }
.f:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.f h3 { font-size: 17.5px; margin: 16px 0 6px; }
.f p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.f-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.f-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.c-green { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.c-wa { background: color-mix(in srgb, var(--wa) 14%, transparent); color: var(--wa); }
.c-navy { background: color-mix(in srgb, #5b72d6 16%, transparent); color: #4a62c9; }
.c-gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: #a67f23; }

/* showcase */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.show + .show { border-top: 1px dashed var(--line); }
.show.rev .show-copy { order: 2; }
@media (max-width: 880px) { .show { grid-template-columns: 1fr; gap: 36px; } .show.rev .show-copy { order: 0; } }
.show-copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.show-copy > p { color: var(--text-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--green) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23129252' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 13px; }
.show-media { position: relative; height: 560px; perspective: 1400px; }
.showcase { overflow-x: clip; }
@media (max-width: 560px) { .show-media { height: 450px; } .show-media .phone { width: 200px; } }
.show-media .phone { position: absolute; width: 230px; left: 50%; top: 10px; transform: translateX(-60%) rotateY(var(--ry, -14deg)) rotateX(var(--rx, 4deg)); transition: transform .2s ease-out; z-index: 2; }
.show-media .phone.back { transform: translateX(-5%) translateY(36px) rotateY(calc(var(--ry, -14deg) - 8deg)) rotateX(var(--rx, 4deg)) scale(.86); z-index: 1; filter: saturate(.9) brightness(.96); }
.show.rev .show-media .phone { transform: translateX(-40%) rotateY(calc(var(--ry, -14deg) * -1)) rotateX(var(--rx, 4deg)); }
.show.rev .show-media .phone.back { transform: translateX(-95%) translateY(36px) rotateY(calc(var(--ry, -14deg) * -1 + 8deg)) rotateX(var(--rx, 4deg)) scale(.86); }
.show-media::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 28%, transparent), transparent 65%); filter: blur(20px); z-index: 0; }

/* industries */
.industries { background: linear-gradient(180deg, var(--bg), var(--surface)); }
.ind-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.ind-tab { border: 1.5px solid var(--line); background: var(--surface); color: var(--text-2); font: 700 14px var(--font); padding: 10px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .15s; }
.ind-tab svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ind-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(36,52,110,.3); }
.ind-panel { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; animation: rise .35s ease-out; }
@media (max-width: 820px) { .ind-panel { grid-template-columns: 1fr; padding: 24px; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.ind-panel h3 { font-size: 26px; margin-bottom: 10px; }
.ind-panel .pain-line { color: var(--muted); }
.ind-panel .ready { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.ind-panel .ready.soon { background: color-mix(in srgb, var(--gold) 18%, transparent); color: #a67f23; }
.ind-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ind-panel li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.ind-panel li b { display: block; }
.ind-panel li span { color: var(--text-2); font-size: 15px; }
.ind-panel li i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; background: color-mix(in srgb, var(--navy) 10%, transparent); color: var(--navy); }
:root[data-theme="dark"] .ind-panel li i { color: #a9b8ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ind-panel li i { color: #a9b8ff; } :root:not([data-theme="light"]) .c-navy { color: #91a3ff; } }

/* how */
.steps3 { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 820px) { .steps3 { grid-template-columns: 1fr; } }
.steps3 li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; box-shadow: var(--shadow); }
.steps3 span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.steps3 h3 { font-size: 20px; margin-bottom: 6px; }
.steps3 p { color: var(--text-2); }

/* pricing */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }
.plan { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 30px 28px; background: var(--bg); display: flex; flex-direction: column; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease; }
.plan.on { background: #1c2a63 linear-gradient(165deg, #1c2a63, var(--ink-dark)); color: #fff; border-color: transparent; box-shadow: 0 24px 50px rgba(20,30,80,.35); transform: translateY(-8px); }
.plan.on .for, .plan.on li { color: rgba(255,255,255,.8); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1607; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.price { margin: 20px 0; color: var(--muted); font-weight: 600; }
.price .amt { font-size: 42px; font-weight: 800; color: var(--text); letter-spacing: -.02em; margin-right: 4px; }
.plan.on .price { color: rgba(255,255,255,.75); }
.plan.on .price .amt { color: #fff; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; color: var(--text-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan.on li::before { color: #4ade80; }
.fine { color: var(--muted); font-size: 14px; margin-top: 26px; text-align: center; }

/* security */
.secure { background: linear-gradient(160deg, #101a42, var(--ink-dark)); color: #fff; }
.secure-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
@media (max-width: 880px) { .secure-in { grid-template-columns: 1fr; } }
.secure p { color: rgba(255,255,255,.75); font-size: 17px; margin-top: 14px; }
.secure-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .secure-list { grid-template-columns: 1fr; } }
.secure-list li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 20px; }
.secure-list b { display: block; margin-bottom: 4px; color: var(--gold-2); }
.secure-list span { color: rgba(255,255,255,.75); font-size: 14.5px; }

/* faq */
.faq h2 { margin-bottom: 30px; }
details { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 4px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--gold); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-2); padding-bottom: 18px; }

/* demo */
.demo { background: radial-gradient(800px 400px at 20% 20%, rgba(201,162,74,.18), transparent 60%), var(--bg); }
.demo-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .demo-in { grid-template-columns: 1fr; } }
.demo-copy p { color: var(--text-2); font-size: 17px; margin: 14px 0 24px; }
.demo-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.demo-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .demo-form .two { grid-template-columns: 1fr; } }
.demo-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; font: 500 15.5px var(--font); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--text); }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.18); }
.demo-form .hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 700; min-height: 1.4em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #d23c2f; }

/* footer */
.foot { background: var(--ink-dark); color: rgba(255,255,255,.7); padding: 48px 0 24px; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot img { height: 44px; width: auto; margin-bottom: 12px; }
.foot p { max-width: 360px; font-size: 14.5px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: #fff; }
.copy { margin-top: 30px; font-size: 13px; color: rgba(255,255,255,.45); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- legal pages ---------- */
.legal-page { background: var(--bg); }
.legal-page .nav { position: sticky; }
.legal-links a[aria-current="page"] { color: var(--gold-2); }
@media (max-width: 760px) { .legal-page .legal-links { display: flex; gap: 14px; margin-left: auto; } .legal-page .nav .btn { display: none; } }
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 8px; }
.legal .short { margin: 28px 0 10px; padding: 20px 22px; border-radius: 18px; background: color-mix(in srgb, var(--gold) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line)); }
.legal .short b { display: block; margin-bottom: 8px; }
.legal .short ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); }
.legal h2 { font-size: 21px; margin: 38px 0 10px; font-weight: 800; }
.legal h3 { font-size: 16.5px; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; margin: 10px 0; }
.legal a { color: var(--green); font-weight: 600; }
.legal .contact { list-style: none; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.legal .policy-nav { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.consent { font-size: 13px; color: var(--muted); margin: -4px 0 0; }
.consent a { color: var(--green); font-weight: 600; }

/* ---------- stats strip ---------- */
.stats-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 22px 0; text-align: center; }
.stat-item b { display: block; margin: 0 auto; font-variant-numeric: tabular-nums; font-size: clamp(22px, 5vw, 32px); font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.stat-item span { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* placeholders waiting for real content */
.ph { outline: 1.5px dashed color-mix(in srgb, var(--gold) 70%, transparent); outline-offset: 2px; border-radius: 6px; }

/* ---------- demo video ---------- */
.video-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; margin-top: 48px; padding: 24px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
@media (max-width: 820px) { .video-row { grid-template-columns: 1fr; padding: 18px; gap: 18px; } }
.video-copy h3 { font-size: 24px; margin-bottom: 6px; }
.video-copy p:not(.kicker) { color: var(--text-2); }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #1c2a63, var(--ink-dark)); cursor: pointer; color: #fff; font: inherit; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.video .play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #1b1607; }
.video-label { position: absolute; left: 14px; bottom: 12px; font-weight: 700; font-size: 14px; background: rgba(0,0,0,.55); padding: 4px 10px; border-radius: 8px; }
.video-empty { display: grid; place-items: center; cursor: default; }
.video-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.video-empty .play { position: relative; left: auto; top: auto; margin: 0; flex: none; }
.video-empty p { display: grid; gap: 6px; text-align: center; font-size: 14px; padding: 0 12px; }

/* ---------- testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 880px) { .t-grid { grid-template-columns: 1fr; } }
.t-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.t-card blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--text); position: relative; padding-top: 26px; }
.t-card blockquote::before { content: "\201C"; position: absolute; top: -14px; left: -2px; font-size: 60px; color: var(--gold); font-family: Georgia, serif; line-height: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; }
.t-card figcaption img, .t-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.t-photo { display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-weight: 800; }
.t-card figcaption span { display: flex; flex-direction: column; min-width: 0; }
.t-card small { color: var(--muted); font-size: 13.5px; }

/* ---------- pricing extras ---------- */
.bill-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin-top: 28px; }
.bt { min-height: 44px; border: 0; background: none; font: 700 15px var(--font); color: var(--muted); padding: 0 18px; border-radius: 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.bt.active { background: var(--navy); color: #fff; }
.free-tag { font-size: 11.5px; font-weight: 800; color: #1b1607; background: var(--gold-2); padding: 2px 8px; border-radius: 999px; }
.price { margin: 20px 0 0; }
.price .per { margin-left: 2px; }
.gst { color: var(--muted); font-size: 13.5px; font-weight: 600; margin: 4px 0 20px; }
.plan.on .gst { color: rgba(255,255,255,.7); }
.save { color: var(--green); font-weight: 800; }
.plan.on .save { color: #4ade80; }
.hidden { display: none !important; }
.trial-link { margin-top: 10px; background: none; color: var(--green); border-color: transparent; }
.plan.on .trial-link { color: #4ade80; }
/* the dark card's outline button turns gold too */
.plan.on .btn.outline { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1607; border-color: transparent; box-shadow: 0 8px 24px rgba(201,162,74,.35); }
@media (prefers-reduced-motion: reduce) { .plan { transition: none; } }

/* ---------- demo extras ---------- */
.demo-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.call { background: var(--navy); color: #fff; }
.demo-phone { margin-top: 12px; color: var(--muted); font-weight: 700; }
.demo-form .hint { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.demo-form input[aria-invalid="true"] { border-color: #d23c2f; }
.form-msg a { color: var(--wa); text-decoration: underline; }
.btn.loading { opacity: .75; cursor: progress; }

/* ---------- footer details ---------- */
.foot-in { align-items: flex-start; }
.foot-brand { max-width: 360px; }
.foot-co { font-style: normal; display: grid; gap: 6px; font-size: 14.5px; max-width: 320px; }
.foot-co b { color: #fff; }
.foot-co a, .social a { color: #fff; }
.social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.social a, .social span, .foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-links { max-width: 340px; gap: 0 22px; }
.foot .ph { outline-color: rgba(226,194,122,.6); }

/* ---------- mobile sticky bar ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(11,18,48,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -6px 20px rgba(0,0,0,.25); transition: transform .25s ease; }
  .sticky-cta .btn { padding: 12px 10px; }
  .sticky-cta.away { transform: translateY(110%); }
  body { padding-bottom: 76px; }
}

/* ---------- touch targets and small phones ---------- */
.btn { min-height: 48px; }
.btn.sm { min-height: 44px; }
.ind-tab { min-height: 44px; }
summary { min-height: 44px; align-items: center; }
@media (max-width: 420px) {
  .wrap { width: calc(100% - 28px); }
  .cta-row { display: grid; grid-template-columns: 1fr 1fr; }
  .cta-row .cta-main { grid-column: 1 / -1; }
  .cta-row .btn { padding: 13px 10px; }
  .hero h1 { font-size: 34px; }
  .plan { padding: 26px 20px; }
  .price .amt { font-size: 36px; }
  .demo-form { padding: 20px; }
  .bt { padding: 0 12px; }
  .nav-in { gap: 10px; }
  .brand img { height: 34px; }
}
