/* landing.css — conversion landing over the WebGL continuity canvas.
 * Brand tokens arrive as CSS vars from the brief (--bg, --accent, --text, --font).
 * Layers: backdrop (static fallback) < canvas < scrim/grain < content < header. */
:root {
  --bg: #0b0820; --accent: #ffa427; --text: #eef0fb;
  --cyan: #15d7e5; --blue: #3662ad; --sky: #009bc9; --purple: #6c2991;
  --ink: #1b1000;                                  /* text on accent */
  --muted: rgba(226, 230, 250, 0.8);
  --soft: rgba(226, 230, 250, 0.66);
  --line: rgba(190, 200, 255, 0.16);
  --panel: rgba(14, 12, 42, 0.74);
  --panel-2: rgba(22, 18, 60, 0.82);
  --radius: 18px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --head-h: 72px;
  --scene-dim: 0.3;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip; /* clip: focus can't scroll the page sideways */
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ── layers ──────────────────────────────────────────────────────────── */
.backdrop {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(255, 164, 39, 0.20), transparent 60%),
    radial-gradient(70% 80% at 85% 10%, rgba(108, 41, 145, 0.55), transparent 65%),
    radial-gradient(60% 60% at 10% 90%, rgba(54, 98, 173, 0.35), transparent 60%),
    var(--bg);
}
.backdrop::after { /* static poster (real hero or capture of the 3D scene) */
  content: ""; position: absolute; inset: 0; background: var(--poster, none) center / cover no-repeat;
}
@media (max-width: 759px) { .backdrop::after { background-image: var(--poster-m, var(--poster, none)); background-position: 60% center; } }
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1; opacity: 0; transition: opacity 1s ease; display: block; }
.webgl-on #scene { opacity: 1; }
.no-webgl #scene { display: none; }
.scrim { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: rgba(8, 6, 26, var(--scene-dim)); transition: background .3s linear; }
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .foot { position: relative; z-index: 3; }
main:focus { outline: none; }

/* ── header ──────────────────────────────────────────────────────────── */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background .3s, box-shadow .3s; }
.topbar.scrolled { background: rgba(10, 8, 30, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar-in { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; height: var(--head-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--accent)); transform-origin: left; transform: scaleX(0); }

/* wordmark (provisional typographic signature for Afiliado Simples) */
.wm { display: inline-flex; align-items: baseline; text-decoration: none; font-size: 21px; letter-spacing: -0.01em; white-space: nowrap; }
.wm-a { font-weight: 400; color: var(--text); }
.wm-b { font-weight: 900; margin-left: .22em; color: var(--text); }
.wm-dot { width: .32em; height: .32em; border-radius: 50%; background: var(--accent); margin-left: .08em; box-shadow: 0 0 12px rgba(255, 164, 39, .8); display: inline-block; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--b); color: var(--ink); border: 0; cursor: pointer;
  font: 700 16px/1.2 var(--font); letter-spacing: .005em; text-decoration: none;
  padding: 14px 22px; border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(255, 164, 39, .55), inset 0 -2px 0 rgba(0, 0, 0, .12);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { background: #ffb64f; transform: translateY(-1px); box-shadow: 0 16px 38px -12px rgba(255, 164, 39, .7), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-lg { font-size: 18px; padding: 18px 28px; border-radius: 14px; }
.btn-sm { font-size: 14px; padding: 10px 16px; border-radius: 10px; box-shadow: none; }
.btn-block { width: 100%; }
.ico { width: 22px; height: 22px; flex: none; }
.ico-arrow { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ico-arrow, .link:hover .ico-arrow { transform: translateX(3px); }

/* ── layout ──────────────────────────────────────────────────────────── */
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(88px, 13vh, 150px) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); position: relative; }
.sec-head::before { /* soft backing so headings never fight the 3D layer */
  content: ""; position: absolute; inset: -56px -80px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(9, 7, 28, .82), rgba(9, 7, 28, .5) 60%, rgba(9, 7, 28, 0));
}
.sec-head h2, .sec-head .lead, .final-wrap h2, h1 { text-shadow: 0 2px 28px rgba(6, 4, 20, .65); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 900; letter-spacing: -0.022em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); margin-top: 20px; max-width: 62ch; }
.callout {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; max-width: 860px;
  background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  padding: 18px 22px; border-radius: 14px; font-size: 16.5px; color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.callout .ico { color: var(--accent); margin-top: 1px; }

/* ── A · hero ────────────────────────────────────────────────────────── */
.sec-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--head-h) + 28px); padding-bottom: 72px; }
.sec-hero::before { /* readability scrim behind the copy (the scene lives on the right) */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 7, 30, .9) 0%, rgba(10, 7, 30, .62) 38%, rgba(10, 7, 30, 0) 66%);
}
.hero-wrap { width: 100%; }
.hero-copy { max-width: 700px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(255, 164, 39, .1); border: 1px solid rgba(255, 164, 39, .4); color: #ffd39a;
  font-size: 14px; font-weight: 500; margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 164, 39, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 164, 39, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 164, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 164, 39, 0); } }
h1 { font-size: clamp(38px, 4.7vw, 68px); font-weight: 900; letter-spacing: -0.028em; line-height: 1.04; }
.sec-hero .lead { color: var(--text); opacity: .94; font-size: clamp(18px, 1.5vw, 21px); margin-top: 18px; }
.support { margin-top: 12px; color: var(--muted); max-width: 58ch; font-size: 16.5px; }
.cta-block { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-block.center { align-items: center; text-align: center; }
.micro { font-size: 15px; color: var(--muted); max-width: 48ch; }
.brandline { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--soft); letter-spacing: .02em; }
.brandline img { height: 30px; width: auto; }
.brandline a { display: inline-block; border-radius: 6px; padding: 6px 4px; margin: -6px -4px; }
.scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--soft);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 8px 12px;
}
.scrollcue::after { content: ""; display: block; width: 1px; height: 30px; margin: 10px auto 0; background: linear-gradient(var(--soft), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ── B · stats ───────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: relative; overflow: hidden;
}
.stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.stat:nth-child(2)::before { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.stat:nth-child(3)::before { background: linear-gradient(90deg, var(--purple), var(--accent)); }
.stat-v { font-size: clamp(42px, 5vw, 66px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-l { margin-top: 12px; font-size: 18.5px; font-weight: 700; line-height: 1.3; }
.stat-n { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* course-type chips (ecosystem diversity) */
.types { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.types p { font-size: 16.5px; font-weight: 500; color: var(--text); }
.types ul { display: flex; flex-wrap: wrap; gap: 8px; }
.types li { font-size: 15px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: rgba(21, 215, 229, .1); border: 1px solid rgba(21, 215, 229, .35); color: #c9f7fb; }
.types li:last-child { background: transparent; border-style: dashed; color: var(--muted); }

/* ── C · steps ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; position: relative; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 900; font-size: 16px; color: var(--ink); background: var(--accent); margin-bottom: 18px; }
.step:not(:first-child) .step-n { background: rgba(21, 215, 229, .14); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(21, 215, 229, .45); }
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
.step:not(:last-child)::after { /* connector */
  content: ""; position: absolute; top: 48px; right: -18px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--line), rgba(21, 215, 229, .5));
}

/* ── D · features bento ──────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "dash choose" "dash operate" "id id"; gap: 18px; }
.fgroup { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.fg-choose { grid-area: choose; } .fg-operate { grid-area: operate; } .fg-id { grid-area: id; }
.fgroup-l { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin-bottom: 16px; }
.fgroup ul { display: grid; gap: 16px; }
.fgroup li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.fgroup li > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: rgba(54, 98, 173, .28); color: #bcd0ff; }
.fgroup h4 { font-size: 17.5px; font-weight: 700; }
.fgroup p { font-size: 15.5px; color: var(--muted); margin-top: 2px; }
.tickets { grid-template-columns: 1fr 1fr; }
.ticket { background: linear-gradient(135deg, rgba(255, 164, 39, .14), rgba(108, 41, 145, .2)); border: 1px dashed rgba(255, 164, 39, .55); border-radius: 14px; padding: 18px; }
.ticket > .ico { background: rgba(255, 164, 39, .18) !important; color: var(--accent) !important; }

.dash { grid-area: dash; margin: 0; position: relative; background: linear-gradient(160deg, rgba(30, 26, 80, .9), rgba(12, 10, 36, .92)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.dash-tag { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd39a; background: rgba(255, 164, 39, .12); border: 1px solid rgba(255, 164, 39, .4); padding: 6px 10px; border-radius: 8px; margin-bottom: 16px; }
.dash-win { flex: 1; background: rgba(6, 5, 20, .7); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-height: 320px; }
.dash-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dash-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dash-url { margin-left: 10px; height: 10px; flex: 1; max-width: 220px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.dash-body { flex: 1; display: grid; grid-template-columns: 48px 1fr; }
.dash-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; padding: 14px 12px; }
.dash-side b { width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.dash-side b.on { background: var(--accent); }
.dash-main { padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.dash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-card { border-radius: 10px; padding: 12px; display: grid; gap: 8px; background: rgba(54, 98, 173, .22); border: 1px solid rgba(54, 98, 173, .4); }
.dash-card.c2 { background: rgba(108, 41, 145, .25); border-color: rgba(108, 41, 145, .5); }
.dash-card.c3 { background: rgba(21, 215, 229, .1); border-color: rgba(21, 215, 229, .35); }
.sk { display: block; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.dash-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prod { border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); padding: 10px; display: grid; gap: 8px; align-content: start; }
.thumb { height: 96px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.thumb.t2 { background: linear-gradient(135deg, var(--sky), var(--blue)); }
.thumb.t3 { background: linear-gradient(135deg, var(--purple), var(--accent)); }
.dash-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: rgba(21, 215, 229, .12); color: #9cf3fa; border: 1px solid rgba(21, 215, 229, .35); }
.chip.coupon { background: rgba(255, 164, 39, .16); color: #ffd39a; border: 1px dashed rgba(255, 164, 39, .7); }
.chip.ghost { background: transparent; color: var(--soft); border-color: var(--line); }

/* ── E · credibility ─────────────────────────────────────────────────── */
.cred-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cred-copy { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 44px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.refs { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16.5px; }
.refs ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.refs li { font-weight: 700; color: var(--text); padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 16px; }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 40px; color: var(--cyan); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(21, 215, 229, .4); padding-bottom: 2px; }
.link:hover { border-bottom-color: var(--cyan); }
.cred-side { padding-top: 8px; position: relative; }
.cred-side::before { content: ""; position: absolute; inset: -40px -60px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(9, 7, 28, .85), rgba(9, 7, 28, .45) 65%, rgba(9, 7, 28, 0)); }
.year { font-size: clamp(88px, 12vw, 168px); font-weight: 900; line-height: .9; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 164, 39, .75); }
.year-l { margin-top: 10px; font-size: 17px; font-weight: 500; color: var(--text); max-width: 30ch; }
.disclaimer { margin-top: 30px; background: var(--panel-2); border: 1px solid rgba(21, 215, 229, .35); border-radius: 14px; padding: 20px 22px; font-size: 16.5px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.disclaimer-k { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.disclaimer-k .ico { width: 18px; height: 18px; }

/* ── F · audience ────────────────────────────────────────────────────── */
.aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.aud li { padding: 24px 22px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.aud li::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 18px; }
.aud li:nth-child(2)::before { background: var(--cyan); } .aud li:nth-child(3)::before { background: var(--sky); } .aud li:nth-child(4)::before { background: #b77be0; }
.aud h3 { font-size: 20px; font-weight: 700; }
.aud p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.aud.guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aud.guide li:nth-child(5)::before { background: var(--cyan); } .aud.guide li:nth-child(6)::before { background: var(--sky); }

/* ── G · FAQ ─────────────────────────────────────────────────────────── */
.faq-wrap { max-width: calc(900px + 2 * var(--gutter)); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .2s; }
.faq details[open] { border-color: rgba(255, 164, 39, .45); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 18.5px; font-weight: 700; }
.faq summary:hover h3 { color: #fff; }
.ico-plus { color: var(--accent); transition: transform .25s; }
.faq details[open] .ico-plus { transform: rotate(45deg); }
.faq-a { padding: 0 22px 22px; color: var(--muted); font-size: 16.5px; max-width: 72ch; }

/* ── H · final ───────────────────────────────────────────────────────── */
.sec-final { min-height: 90vh; display: flex; align-items: center; }
.final-wrap { text-align: center; max-width: calc(880px + 2 * var(--gutter)); }
.final-wrap h2 { font-size: clamp(36px, 5.2vw, 68px); }
.final-wrap .lead { margin-left: auto; margin-right: auto; color: var(--text); opacity: .9; }
.sec-final::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(58% 52% at 50% 50%, rgba(10, 7, 30, .88), rgba(10, 7, 30, .45) 65%, rgba(10, 7, 30, .1)); }

/* embedded lead form (RD Station). The provider form carries its own design
   (edited in RD), so the wrapper stays transparent and just gives it room. */
.form-card { margin: 34px auto 0; max-width: 820px; text-align: center; scroll-margin-top: calc(var(--head-h) + 16px); }
.form-card:focus { outline: none; }
.form-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 12px; }
.form-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-micro { font-size: 16px; color: var(--muted); max-width: 52ch; margin: 0 auto; }
.form-host { margin-top: 22px; min-height: 160px; display: flex; flex-direction: column; align-items: center; }
/* RD Station renders a fixed 640px form with a white 20px frame and columns
   that never stack. Scoped overrides make it fluid and mobile-friendly. */
.form-host > div, .form-host section, .form-host .bricks--component { width: 100% !important; max-width: 640px !important; margin-left: auto; margin-right: auto; }
.form-host .bricks--component { border-width: 0 !important; }
.form-host section[id^="form-"] { border-width: 0 !important; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 164, 39, .3); }
.form-host .bricks--row { max-width: 100% !important; }
.form-host .bricks--column:has(form) { padding-right: 20px !important; box-sizing: border-box; }
@media (max-width: 680px) { .form-host .bricks--column:has(form) { padding-left: 16px !important; padding-right: 16px !important; } }
.form-host input, .form-host select, .form-host textarea { max-width: 100%; }
@media (max-width: 680px) {
  .form-host .bricks--row { flex-direction: column !important; }
  .form-host .bricks--column { width: 100% !important; max-width: 100% !important; flex: 1 1 auto !important; }
  .form-host .bricks--column:not(:has(form)) { display: none !important; } /* decorative image column */
}
.form-status { font-size: 15px; color: var(--muted); padding: 24px 0; }
.form-error { margin: 14px auto 0; max-width: 560px; font-size: 15.5px; color: #ffd6d6; background: rgba(160, 30, 30, .35); border: 1px solid rgba(255, 120, 120, .45); border-radius: 12px; padding: 12px 14px; }

/* ── footer ──────────────────────────────────────────────────────────── */
.foot { background: rgba(6, 5, 18, .94); border-top: 1px solid var(--line); padding: 48px 0 56px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.foot-bl { margin-top: 18px; }
.foot-sig { margin-top: 12px; color: var(--soft); font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 4px; max-width: 520px; justify-content: flex-end; }
.foot-links a { display: inline-block; padding: 8px 12px; color: var(--muted); text-decoration: none; font-size: 15px; border-radius: 8px; }
.foot-links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

/* ── mobile sticky CTA ───────────────────────────────────────────────── */
.sticky-cta { display: none; }
@media (max-width: 759px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(8, 6, 24, .96) 60%, rgba(8, 6, 24, 0));
    transform: translateY(110%); transition: transform .3s ease; pointer-events: none;
  }
  .sticky-cta.on { transform: none; pointer-events: auto; }
  .has-sticky .foot { padding-bottom: 120px; }
}

/* ── demo dialog ─────────────────────────────────────────────────────── */
.demo { margin: auto; max-width: min(480px, calc(100vw - 32px)); border: 1px solid rgba(255, 164, 39, .45); border-radius: 18px; background: #151033; color: var(--text); padding: 28px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.demo::backdrop { background: rgba(4, 3, 14, .72); backdrop-filter: blur(4px); }
.demo-k { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.demo-k .ico { width: 18px; height: 18px; }
.demo h2 { font-size: 26px; margin: 10px 0 10px; letter-spacing: -0.01em; }
.demo p { color: var(--muted); font-size: 16.5px; }
.demo .btn { margin-top: 22px; }

/* ── reveals (enabled by site.js only when motion is allowed) ─────────── */
.js-reveal .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js-reveal .rv.in { opacity: 1; transform: none; }

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .steps, .aud, .aud.guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "dash dash" "choose operate" "id id"; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .topbar-in { justify-content: space-between; }
  .cred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
  :root { --head-h: 62px; }
  body { font-size: 16.5px; }
  .topbar .btn-sm { display: none; }
  .sec-hero { align-items: flex-end; padding-bottom: 88px; }
  .sec-hero::before { background: linear-gradient(180deg, rgba(10, 7, 30, .05) 0%, rgba(10, 7, 30, .55) 30%, rgba(10, 7, 30, .9) 55%, rgba(10, 7, 30, .95) 100%); }
  h1 { font-size: clamp(32px, 8.8vw, 40px); }
  .badge { font-size: 13px; margin-bottom: 18px; }
  .support { font-size: 15.5px; }
  .sec-hero .lead { font-size: 17.5px; }
  .brandline { margin-top: 22px; }
  .stats, .steps, .aud, .aud.guide, .tickets { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "dash" "choose" "operate" "id"; }
  .dash-win { min-height: 260px; }
  .dash-products .prod:nth-child(3), .dash-row .c3 { display: none; }
  .dash-products, .dash-row { grid-template-columns: 1fr 1fr; }
  .btn-lg { width: 100%; }
  .cta-block.center .btn-lg { width: auto; max-width: 100%; }
  .foot-links { justify-content: flex-start; }
  .scrollcue { display: none; }
}
@media (max-width: 380px) { .btn-lg { font-size: 17px; padding: 16px 18px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  #scene { transition: none; }
}
@media (forced-colors: active) { .btn { border: 2px solid ButtonText; } }
