/* ============================================================
   Section styles — nav, hero, levels, demo, quiz, faq, footer
   ============================================================ */

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.04em; }
.logo .dot { color: var(--accent); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden;
}
.logo-mark svg { width: 19px; height: 19px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); align-items: center; justify-content: center; }
.nav-burger svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { padding-top: 150px; padding-bottom: var(--section-y); position: relative; overflow: hidden; }
.hero .glow.g1 { width: 620px; height: 620px; background: var(--accent-glow); top: -180px; right: -120px; opacity: .32; }
.hero .glow.g2 { width: 460px; height: 460px; background: var(--l2); top: 220px; left: -180px; opacity: .14; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero h1 { margin: 22px 0 26px; }
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .ti { display: flex; flex-direction: column; gap: 3px; }
.hero-trust .tn { font-family: var(--display); font-weight: 700; font-size: clamp(26px,2.6vw,34px); letter-spacing: -0.03em; }
.hero-trust .tl { font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 11px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.badge-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--l1); box-shadow: 0 0 0 0 var(--l1); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb, var(--l1) 60%, transparent);} 70%{box-shadow:0 0 0 9px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

/* hero variant visibility */
.hero-visual { position: relative; }
[data-hero="classic"] .hv-classic { display: block; }
[data-hero="classic"] .hv-control, [data-hero="classic"] .hv-split { display: none; }
[data-hero="control"] .hv-control { display: block; }
[data-hero="control"] .hv-classic, [data-hero="control"] .hv-split { display: none; }
[data-hero="split"] .hv-split { display: block; }
[data-hero="split"] .hv-classic, [data-hero="split"] .hv-control { display: none; }

/* ---------- Phone / control mockup (shared) ---------- */
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 300/620; background: #05070A;
  border-radius: 44px; padding: 11px; border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.04); position: relative;
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, #11151c, #0a0d12); position: relative; }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #05070A; border-radius: 100px; z-index: 5; }

/* control dashboard */
.dash { padding: 46px 18px 18px; display: flex; flex-direction: column; height: 100%; color: #F4F6F9; }
.dash-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.dash-hi { font-size: 12px; color: #8794a6; font-weight: 600; }
.dash-room { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; margin-top: 2px; }
.dash-temp { text-align: right; }
.dash-temp .t { font-family: var(--display); font-weight: 700; font-size: 22px; }
.dash-temp .s { font-size: 10.5px; color: #8794a6; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; flex: 1; }
.tile {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); border-radius: 18px;
  padding: 13px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  transition: background .35s, border-color .35s, box-shadow .35s; cursor: pointer; user-select: none;
}
.tile .ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .35s, color .35s; }
.tile .ic svg { width: 18px; height: 18px; }
.tile .lbl { font-size: 13px; font-weight: 700; }
.tile .st { font-size: 11px; color: #8794a6; font-weight: 600; }
.tile.on { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 10px 30px -12px var(--accent-glow); }
.tile.on .ic { background: var(--accent); color: var(--accent-ink); }
.tile.on .st { color: color-mix(in srgb, var(--accent) 80%, #fff); }
.tile.wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: 13px; }
.tile.wide .txt { flex: 1; }
.toggle-ui { width: 42px; height: 25px; border-radius: 100px; background: rgba(255,255,255,.13); position: relative; transition: background .3s; flex-shrink: 0; }
.toggle-ui::after { content:""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.tile.on .toggle-ui { background: var(--accent); }
.tile.on .toggle-ui::after { transform: translateX(17px); }
.leak-alert {
  margin-top: 9px; background: rgba(255,77,79,.12); border: 1px solid rgba(255,77,79,.4); border-radius: 16px;
  padding: 11px 13px; display: flex; align-items: center; gap: 11px; opacity: 0; transform: translateY(8px);
  transition: opacity .4s, transform .4s; pointer-events: none;
}
.leak-alert.show { opacity: 1; transform: none; }
.leak-alert .ic { width: 30px; height: 30px; border-radius: 9px; background: #ff4d4f; color: #fff; display: grid; place-items: center; flex-shrink: 0; animation: shake .5s; }
.leak-alert .ic svg { width: 16px; height: 16px; }
.leak-alert .tt { font-size: 11.5px; font-weight: 700; color: #ff8d8f; }
.leak-alert .ds { font-size: 10px; color: #c98a8b; }
@keyframes shake { 0%,100%{transform:rotate(0);} 25%{transform:rotate(-12deg);} 75%{transform:rotate(12deg);} }

.hv-caption { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.hv-caption b { color: var(--ink-2); }

/* classic hero visual — layered room card */
.room-card {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); position: relative;
  background:
    radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    linear-gradient(160deg, #1a2029, #0c0f14);
  aspect-ratio: 4/5; box-shadow: var(--shadow);
}
[data-theme="light"] .room-card { background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%), linear-gradient(160deg, #2a313c, #11151b); }
.room-card .ph-note { position: absolute; left: 20px; bottom: 20px; right: 20px; }
.float-chip {
  position: absolute; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 11px 14px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-soft); animation: floaty 5s ease-in-out infinite;
}
.float-chip .fi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.float-chip .fl { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.float-chip .fv { font-size: 14px; font-weight: 700; }
@keyframes floaty { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-9px);} }

/* split hero visual */
.split-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 5/4; }
.split-half { padding: 22px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.split-half.left { background: linear-gradient(160deg, #14181f, #0c0f14); }
.split-half.right { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, #14181f), #0c0f14); border-left: 1px solid var(--border); }
.split-half .tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.split-half h4 { font-family: var(--display); font-size: 17px; font-weight: 600; margin-top: 6px; }
.split-half p { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.split-half .big { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -.03em; }

/* ---------- Levels ---------- */
.levels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.levels { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; align-items: stretch; }
.lvl {
  --c: var(--l1);
  padding: 30px; display: flex; flex-direction: column; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .4s;
}
.lvl::before { content:""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); opacity: .9; }
.lvl:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 30px 70px -34px color-mix(in srgb, var(--c) 55%, transparent); }
.lvl.feature { background: linear-gradient(168deg, color-mix(in srgb, var(--c) 12%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.lvl-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.lvl-num { font-family: var(--display); font-weight: 700; font-size: 54px; line-height: 1; color: color-mix(in srgb, var(--c) 70%, var(--ink)); letter-spacing: -.04em; -webkit-text-stroke: 0; }
.lvl-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: 0 0 16px var(--c); margin-top: 10px; }
.lvl-focus { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 6px 12px; border-radius: 100px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); margin-bottom: 14px; align-self: flex-start; }
.lvl h3 { font-size: 23px; margin-bottom: 12px; }
.lvl-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin-bottom: 22px; }
.lvl-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.lvl-list li { display: flex; gap: 11px; font-size: 14px; color: var(--ink); line-height: 1.4; }
.lvl-list .ck { width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.lvl-list .ck svg { width: 12px; height: 12px; }
.lvl .btn { width: 100%; margin-top: auto; }
.feature-flag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }

/* ---------- How it works ---------- */
.how-toggle { display: inline-flex; padding: 5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; margin-bottom: 40px; gap: 4px; }
.how-toggle button { padding: 11px 22px; border-radius: 100px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); transition: color .3s; position: relative; z-index: 2; }
.how-toggle button.active { color: var(--accent-ink); }
.how-toggle { position: relative; }
.how-pill { position: absolute; top: 5px; bottom: 5px; border-radius: 100px; background: var(--accent); transition: transform .4s cubic-bezier(.3,1,.4,1), width .4s; z-index: 1; box-shadow: 0 6px 18px -6px var(--accent-glow); }
.how-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.how-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.how-steps { display: flex; flex-direction: column; gap: 4px; }
.how-step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.how-step:last-child { border-bottom: none; }
.how-step .sn { font-family: var(--display); font-weight: 700; font-size: 15px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; color: var(--accent); }
.how-step h4 { font-family: var(--body); font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.how-step p { font-size: 14px; color: var(--ink-2); }
.how-time { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--l1); margin-top: 4px; }

/* wall visual */
.wall {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); position: relative; overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(135deg, #1c222b, #11151b);
}
[data-theme="light"] .wall { background: linear-gradient(135deg, #e9ebe6, #f7f7f4); }
.wall .switch {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 96px; height: 150px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft); display: grid; place-items: center;
}
.wall .switch .rocker { width: 56px; height: 92px; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border); position: relative; }
.wall .module {
  position: absolute; top: 50%; left: 50%; width: 60px; height: 40px; border-radius: 8px; background: var(--accent);
  color: var(--accent-ink); display: grid; place-items: center; font-size: 9px; font-weight: 800; text-align: center;
  transform: translate(-50%, 120px) scale(.6); opacity: 0; transition: transform .7s cubic-bezier(.3,1,.4,1), opacity .5s;
  box-shadow: 0 10px 24px -8px var(--accent-glow);
}
.wall.show-module .module { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.wall .ripple { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); transform: translate(-50%,-50%); opacity: 0; }
.wall.show-module .ripple { animation: ripple 1.6s ease-out .4s infinite; }
@keyframes ripple { 0%{opacity:.6; width:10px; height:10px;} 100%{opacity:0; width:230px; height:230px;} }
.wall .dust-x { position: absolute; right: 16px; bottom: 16px; font-size: 12px; font-weight: 800; color: var(--l1); display: flex; align-items: center; gap: 7px; }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: transform .35s, border-color .35s; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between;
}
.case:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.case .ci { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.case .ci svg { width: 24px; height: 24px; }
.case h4 { font-family: var(--body); font-weight: 800; font-size: 16.5px; margin-bottom: 8px; line-height: 1.25; }
.case p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Quiz ---------- */
.quiz-wrap { max-width: 760px; margin: 0 auto; }
.quiz {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px); position: relative; overflow: hidden; box-shadow: var(--shadow-soft);
}
.quiz-prog { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.quiz-bar { flex: 1; height: 6px; border-radius: 100px; background: var(--surface-3); overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: var(--accent); border-radius: 100px; width: 20%; transition: width .5s cubic-bezier(.3,1,.4,1); }
.quiz-step-n { font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.quiz-q { display: none; }
.quiz-q.active { display: block; animation: qin .5s cubic-bezier(.2,.7,.2,1); }
@keyframes qin { from { opacity: 0; transform: translateX(20px);} to { opacity:1; transform: none; } }
.quiz-q h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.quiz-q .qsub { color: var(--ink-2); font-size: 15px; margin-bottom: 28px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.opt {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--bg-2); text-align: left; transition: border-color .25s, background .25s, transform .2s; font-family: inherit;
}
.opt:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.opt .oi { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-3); color: var(--ink); display: grid; place-items: center; flex-shrink: 0; transition: background .25s, color .25s; }
.opt.sel .oi { background: var(--accent); color: var(--accent-ink); }
.opt .oi svg { width: 23px; height: 23px; }
.opt .ot { display: block; font-weight: 700; font-size: 15.5px; }
.opt .od { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.3; }
.opt-col { flex-direction: column; align-items: flex-start; text-align: left; gap: 12px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 14px; }
.quiz-back { font-size: 14.5px; font-weight: 700; color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.quiz-back:hover { color: var(--ink); }
.quiz-back[disabled] { opacity: 0; pointer-events: none; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field input {
  padding: 16px 18px; border-radius: var(--radius); background: var(--bg-2); border: 1.5px solid var(--border);
  color: var(--ink); font-family: inherit; font-size: 15.5px; transition: border-color .2s;
}
.field input:focus { outline: none; border-color: var(--accent); }
.field input::placeholder { color: var(--ink-3); }
.quiz-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.qchip { font-size: 12.5px; font-weight: 700; padding: 7px 13px; border-radius: 100px; background: var(--surface-3); color: var(--ink-2); }
.qchip b { color: var(--accent); }
.quiz-done { display: none; text-align: center; padding: 20px 0; }
.quiz-done.show { display: block; animation: qin .5s; }
.quiz-done .check { width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 22px; }
.quiz-done .check svg { width: 38px; height: 38px; }

/* ---------- Testimonials ---------- */
.tts { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tt { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.tt .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 18px; }
.tt .stars svg { width: 17px; height: 17px; }
.tt p { font-size: 15.5px; line-height: 1.6; color: var(--ink); margin-bottom: 24px; flex: 1; }
.tt .who { display: flex; align-items: center; gap: 13px; }
.tt .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--l3)); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 17px; }
.tt .nm { font-weight: 800; font-size: 14.5px; }
.tt .rl { font-size: 12.5px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; text-align: left; }
.faq-q h4 { font-family: var(--body); font-weight: 700; font-size: 18px; transition: color .2s; }
.faq-item.open .faq-q h4 { color: var(--accent); }
.faq-q .pm { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; transition: transform .35s, border-color .3s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.faq-q .pm svg { width: 15px; height: 15px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 0 26px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; max-width: 64ch; }

/* ---------- Final CTA + Footer ---------- */
.final-cta { position: relative; overflow: hidden; }
.cta-card {
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 74px); text-align: center; position: relative; overflow: hidden;
}
.cta-card .glow { width: 520px; height: 520px; background: var(--accent-glow); top: -260px; left: 50%; transform: translateX(-50%); opacity: .4; }
.cta-card h2 { position: relative; z-index: 2; margin-bottom: 18px; }
.cta-card .lead { margin: 0 auto 34px; position: relative; z-index: 2; }
.cta-card .hero-cta { justify-content: center; position: relative; z-index: 2; }

.footer { border-top: 1px solid var(--border); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 50px; }
.footer-col h5 { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--ink-2); margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-about p { font-size: 14px; color: var(--ink-2); max-width: 32ch; margin: 16px 0 20px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-3); flex-wrap: wrap; gap: 14px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--ink-2); transition: all .25s; }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }

/* ---------- Section headers ---------- */
.sec-head { max-width: 680px; margin-bottom: 50px; }
.sec-head h2 { margin: 16px 0 16px; }

/* ---------- Marquee logos ---------- */
.proof { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.proof-track { display: flex; gap: 60px; align-items: center; white-space: nowrap; animation: marq 28s linear infinite; width: max-content; }
.proof-track .pl { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink-3); opacity: .7; display: inline-flex; align-items: center; gap: 10px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 420px; }
  .levels { grid-template-columns: 1fr; }
  .lvl.feature { order: -1; }
  .how-stage { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .tts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .opts, .opts.three { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 22px; }
  .hero { padding-top: 120px; }
  .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .nav-cta .btn { width: auto; }
}
