/* Ambiance iQ — The Sensory Score */
:root {
  --green-deep: #145228; --green-brand: #1B6B32; --green-light: #2D8B47; --green-tint: #E8F5EC; --green-tint-2: #D1EBDA;
  --orange: #E8520A; --orange-light: #F06B2A; --orange-tint: #FFF0E8;
  --gold: #E3A53A; --espresso: #1F1A17; --espresso-2: #2B2420;
  --bg: #FAFAF7; --bg-soft: #F3F1EC; --card: #FFFFFF;
  --ink: #1E2A1E; --ink-2: #4A5A4A; --ink-3: #6E7D6E;
  --line: #E8E5DE; --line-2: #D4D0C8;
  --amber: #C98A12; --red: #C2410C;
  --font-display: 'Cabinet Grotesk', 'Source Sans 3', sans-serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px;
  --sh-sm: 0 1px 3px rgba(30,42,30,.06); --sh-md: 0 6px 20px rgba(30,42,30,.08); --sh-lg: 0 18px 50px rgba(30,42,30,.12);
  --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
cite { display: block; font-style: normal; font-size: .82rem; color: var(--ink-3); margin-top: .3rem; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--light { color: #FFD9C2; }
.eyebrow--gold { color: var(--gold); }
.eyebrow-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--orange-tint); color: var(--orange); display: grid; place-items: center; }
.eyebrow-icon svg { width: 17px; height: 17px; }
.eyebrow--gold .eyebrow-icon { background: rgba(227,165,58,.15); color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--ink-2); max-width: 680px; margin-top: 16px; }
.section-head { margin-bottom: 48px; }
.accent { color: var(--orange-light); }
.accent-green { color: var(--green-brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; border-radius: 999px; padding: 13px 24px; font-size: 1rem; transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s; white-space: nowrap; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(232,82,10,.28); }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(232,82,10,.34); }
.btn-primary:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-green { background: var(--green-brand); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-outline { border: 1.5px solid var(--line-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--green-brand); color: var(--green-brand); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-text { color: var(--ink-2); font-weight: 600; padding: 8px 4px; }
.btn-text:hover { color: var(--green-brand); }
.btn-center { display: block; margin: 10px auto 0; }
.btn-next { color: var(--orange); font-weight: 700; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(250,250,247,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { height: 54px; width: auto; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-link { font-weight: 600; color: var(--green-brand); }
.nav-link:hover { color: var(--orange); }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 140px 0 90px; color: #fff; overflow: hidden; background: var(--espresso); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; transform: scale(1.03); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,13,.92) 0%, rgba(20,16,13,.78) 45%, rgba(20,16,13,.35) 100%), linear-gradient(0deg, rgba(20,16,13,.55), transparent 40%); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 1.4rem + 5.2vw, 5.6rem); font-weight: 800; max-width: 900px; letter-spacing: -0.025em; line-height: 1.02; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); color: rgba(255,255,255,.88); max-width: 640px; margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); max-width: 760px; }
.hero-facts li { color: rgba(255,255,255,.78); font-size: 1rem; }
.hero-facts strong { color: #fff; font-family: var(--font-display); font-size: 1.3rem; margin-right: 6px; }

/* Layers */
.layers-section { padding: 100px 0 90px; }
.layer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.layer-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 20px 26px; text-align: center; box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.layer-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.layer-icon { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.layer-icon svg { width: 30px; height: 30px; }
.layer-card h3 { font-size: 1.3rem; }
.layer-card p { color: var(--ink-2); font-size: .98rem; margin-top: 6px; }
.layer-pts { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-brand); background: var(--green-tint); border-radius: 999px; padding: 4px 10px; }

/* How */
.how-section { padding: 90px 0; background: var(--bg-soft); }
.how-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: start; }
.steps { margin-top: 34px; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.step-num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--green-brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }
.steps h3 { font-size: 1.2rem; margin-bottom: 2px; }
.steps p { color: var(--ink-2); }
.kit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--sh-md); }
.kit-card h3 { font-size: 1.4rem; margin-bottom: 20px; }
.kit-list { display: grid; gap: 18px; }
.kit-list li { display: flex; gap: 14px; color: var(--ink-2); line-height: 1.5; }
.kit-list strong { color: var(--ink); }
.kit-icon { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--green-brand); display: grid; place-items: center; }
.kit-icon svg { width: 21px; height: 21px; }

/* Quiz */
.quiz-section { padding: 100px 0 110px; scroll-margin-top: 70px; }
.quiz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: 40px 44px 30px; min-height: 520px; }
.quiz-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.layer-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); background: var(--orange-tint); padding: 7px 14px 7px 10px; border-radius: 999px; }
.layer-chip svg { width: 18px; height: 18px; }
.quiz-count { font-size: .95rem; font-weight: 600; color: var(--ink-3); }
.progress { height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--green-brand), var(--green-light)); border-radius: 999px; transition: width .45s var(--ease); }
.quiz-body { padding: 34px 0 10px; animation: fadeUp .4s var(--ease); }
.q-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; }
.q-ask { font-size: 1.15rem; color: var(--ink-2); margin-top: 10px; max-width: 680px; }
.opts { display: grid; gap: 12px; margin-top: 28px; }
.opt { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; font-size: 1.06rem; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s, transform .15s var(--ease); }
.opt:hover { border-color: var(--green-light); background: #FBFDFB; }
.opt:active { transform: scale(.995); }
.opt-mark { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); position: relative; transition: border-color .15s, background .15s; }
.opt.is-sel { border-color: var(--green-brand); background: var(--green-tint); }
.opt.is-sel .opt-mark { border-color: var(--green-brand); background: var(--green-brand); }
.opt.is-sel .opt-mark::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); min-height: 58px; }
.quiz-hint { color: var(--ink-3); font-size: .95rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Lead form */
.lead-form { text-align: center; animation: fadeUp .4s var(--ease); padding: 6px 0; }
.lead-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.lead-badge svg { width: 30px; height: 30px; }
.lead-form h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 800; }
.lead-sub { color: var(--ink-2); font-size: 1.12rem; margin: 6px 0 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span { font-weight: 600; font-size: .95rem; }
.field em { color: var(--orange); font-style: normal; }
.field small { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field select { height: 52px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font-size: 1.02rem; transition: border-color .15s, box-shadow .15s; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green-brand); box-shadow: 0 0 0 4px rgba(27,107,50,.12); }
.field.has-error input { border-color: var(--red); }
.field-help { text-align: left; background: var(--green-tint); color: var(--ink-2); border-radius: var(--r-md); padding: 14px 16px; font-size: .95rem; margin: 18px 0 20px; }
.field-help a { color: var(--green-brand); font-weight: 700; text-decoration: underline; }
.form-error { color: var(--red); font-weight: 600; margin-bottom: 12px; }
.fine { color: var(--ink-3); font-size: .9rem; margin-top: 12px; }

/* Results */
.results { animation: fadeUp .5s var(--ease); width: min(1080px, calc(100vw - 48px)); margin-left: calc(50% - min(540px, 50vw - 24px)); }
#quizHead { transition: none; }
.results-hero { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px 44px; box-shadow: var(--sh-lg); }
.score-ring { position: relative; width: 240px; height: 240px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--bg-soft); stroke-width: 14; }
.ring-fg { fill: none; stroke: var(--green-brand); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--ease); }
.ring-a, .ring-b { stroke: var(--green-brand); }
.ring-c { stroke: var(--amber); }
.ring-d, .ring-f { stroke: var(--orange); }
.score-ring-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-num { font-family: var(--font-display); font-weight: 800; font-size: 4.6rem; line-height: 1; color: var(--ink); }
.score-of { color: var(--ink-3); font-weight: 600; margin-top: 4px; }
.grade-row { display: flex; align-items: center; gap: 16px; }
.grade-row h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.grade-badge { flex: 0 0 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: #fff; background: var(--green-brand); }
.grade-c { background: var(--amber); }
.grade-badge.grade-2 { font-size: 1.85rem; letter-spacing: -0.02em; }
.grade-d, .grade-f { background: var(--orange); }
.tier-line { font-size: 1.2rem; color: var(--ink-2); margin-top: 14px; }
.res-meta { color: var(--ink-3); font-size: .95rem; margin-top: 10px; }
.res-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 34px; margin-top: 22px; }
.res-h { font-size: 1.35rem; margin-bottom: 20px; }
.bar-row { display: grid; grid-template-columns: 170px 1fr 54px 92px; align-items: center; gap: 16px; padding: 10px 0; }
.bar-label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.bar-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--orange-tint); color: var(--orange); display: grid; place-items: center; flex: 0 0 34px; }
.bar-icon svg { width: 18px; height: 18px; }
.bar-track { height: 14px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; transition: width 1s var(--ease); }
.bar-fill--strong { background: var(--green-brand); }
.bar-fill--watch { background: var(--amber); }
.bar-fill--fix { background: var(--orange); }
.bar-val { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; text-align: right; }
.bar-status { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 0; border-radius: 999px; text-align: center; }
.bar-status--strong { color: var(--green-deep); background: var(--green-tint); }
.bar-status--watch { color: #7A5208; background: #FBF0D9; }
.bar-status--fix { color: #9A3412; background: var(--orange-tint); }
.bar-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; color: var(--ink-3); font-size: .88rem; margin-top: 14px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: -12px; }
.dot--strong { background: var(--green-brand); } .dot--watch { background: var(--amber); } .dot--fix { background: var(--orange); }
.res-two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; align-items: start; }
.res-two .res-block { margin-top: 22px; }
.win { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.win:last-of-type { border-bottom: 0; }
.win-icon { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--green-brand); color: #fff; display: grid; place-items: center; }
.win-icon svg { width: 16px; height: 16px; }
.win strong { font-size: 1.05rem; }
.win p { color: var(--ink-2); font-size: .98rem; margin-top: 2px; }
.nailed { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nailed span { font-weight: 700; font-size: .9rem; color: var(--ink-2); margin-right: 2px; }
.nailed em { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--green-deep); background: var(--green-tint); padding: 4px 10px; border-radius: 999px; }
.fix-list { counter-reset: fx; display: grid; gap: 16px; }
.fix-list li { counter-increment: fx; position: relative; padding: 18px 18px 18px 60px; background: var(--orange-tint); border-radius: var(--r-md); }
.fix-list li::before { content: counter(fx); position: absolute; left: 16px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; }
.fix-list li.fix-none { padding-left: 18px; background: var(--green-tint); }
.fix-list li.fix-none::before { display: none; }
.fix-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.fix-head strong { font-size: 1.08rem; }
.fix-layer { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9A3412; }
.fix-layer svg { width: 14px; height: 14px; }
.fix-list p { color: var(--ink-2); font-size: .98rem; line-height: 1.55; }
.multiplier { margin-top: 22px; padding: 22px 26px; border-left: 4px solid var(--green-brand); background: var(--green-tint); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink-2); font-size: 1.05rem; }
.multiplier strong { color: var(--green-deep); display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 2px; }
.res-actions { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 34px; margin-top: 22px; }
.share-row { display: flex; gap: 10px; }
.share-row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 1rem; }
.share-row input:focus { outline: none; border-color: var(--green-brand); box-shadow: 0 0 0 4px rgba(27,107,50,.12); }
.share-status { margin-top: 12px; font-weight: 600; font-size: .95rem; }
.share-status.is-ok { color: var(--green-brand); }
.share-status.is-err { color: var(--red); }
.share-status--light { color: #fff; }
.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.convert-card { margin-top: 28px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: linear-gradient(135deg, var(--green-deep), #0F3E1E); color: #fff; border-radius: var(--r-xl); padding: 40px 44px; box-shadow: var(--sh-lg); }
.convert-card h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 800; }
.convert-card p { color: rgba(255,255,255,.85); margin-top: 10px; max-width: 560px; }
.shared-cta { text-align: center; margin-top: 26px; }

/* Why */
.why-intro { padding: 110px 0 40px; border-top: 1px solid var(--line); }
.why-intro h2 { max-width: 820px; margin: 0 auto; }
.topic { padding: 80px 0; }
.topic-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: center; }
.topic-layout--rev { grid-template-columns: 1fr 1.35fr; }
.fact-list { margin-top: 28px; display: grid; gap: 20px; }
.fact-list li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 1.05rem; }
.fact-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.fact-list strong { color: var(--ink); }
.topic-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-md); }
.big-stat { display: flex; align-items: baseline; gap: 8px; }
.big-num { font-family: var(--font-display); font-weight: 800; font-size: 5.4rem; line-height: 1; color: var(--orange); }
.big-unit { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--orange); }
.big-stat--muted .big-num, .big-stat--muted .big-unit { color: var(--ink-3); }
.big-cap { color: var(--ink-2); font-size: 1.05rem; margin-top: 6px; }
.big-divider { height: 1px; background: var(--line); margin: 26px 0; }
.panel-src { color: var(--ink-3); font-size: .85rem; margin-top: 22px; }
.topic--dark { background: var(--espresso); color: #fff; }
.topic--dark h2 { color: #fff; }
.fact-list--light li { color: rgba(255,255,255,.78); }
.fact-list--light strong { color: #fff; }
.fact-list--light cite { color: rgba(255,255,255,.55); }
.fact-list--light li::before { background: var(--gold); }
.takeaway { margin-top: 28px; padding: 18px 22px; border-radius: var(--r-md); background: rgba(227,165,58,.12); color: #F6E3BF; font-size: 1.05rem; font-weight: 600; }
.topic-panel--dark { background: var(--espresso-2); border-color: rgba(255,255,255,.08); box-shadow: none; }
.db-scale { display: grid; gap: 30px; }
.db-val { display: block; font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: 1; }
.db-val--hot { color: var(--orange-light); }
.db-val--ok { color: #7FC48F; }
.db-lab { display: block; color: rgba(255,255,255,.8); font-size: 1.05rem; margin-top: 6px; }
.panel-note { color: rgba(255,255,255,.75); margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.topic--dark .panel-src { color: rgba(255,255,255,.5); }
.panel-h { font-size: 1.35rem; margin-bottom: 16px; }
.culprits { display: grid; gap: 10px; }
.culprits li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-weight: 500; padding: 10px 14px; background: var(--bg-soft); border-radius: var(--r-sm); }
.culprits li::before { content: "×"; color: var(--orange); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.rule-card { margin-top: 20px; background: var(--green-tint); border-radius: var(--r-md); padding: 18px 20px; }
.rule-card strong { color: var(--green-deep); font-family: var(--font-display); font-size: 1.1rem; }
.rule-card p { color: var(--ink-2); margin-top: 4px; }
.topic--soft { background: var(--bg-soft); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.duo-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-sm); }
.duo-card h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); margin-bottom: 18px; }
.duo-card > p { color: var(--ink-2); }
.duo-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--green-brand); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.duo-icon svg { width: 28px; height: 28px; }
.duo-stat { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; color: var(--orange); line-height: 1; }
.duo-cap { color: var(--ink-2); margin: 8px 0 16px; font-weight: 600; }
.mini-list { margin-top: 20px; display: grid; gap: 10px; }
.mini-list li { padding: 12px 14px; background: var(--bg-soft); border-radius: var(--r-sm); color: var(--ink-2); font-size: .98rem; }
.mini-list strong { color: var(--ink); }

.big-idea { background: var(--espresso); color: #fff; padding: 110px 0; }
.big-idea h2 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); }
.big-idea .accent { color: var(--gold); }
.chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 44px auto 44px; max-width: 1000px; }
.chain span { background: var(--espresso-2); border: 1px solid rgba(255,255,255,.1); padding: 14px 18px; border-radius: var(--r-md); font-weight: 600; color: rgba(255,255,255,.9); }
.chain i { color: var(--gold); font-style: normal; font-size: 1.4rem; }
.chain .chain-end { background: var(--orange); border-color: var(--orange); color: #fff; }

/* About */
.about { padding: 110px 0 80px; }
.about-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-logo { height: 70px; width: auto; margin-bottom: 26px; }
.pillars { display: grid; gap: 16px; }
.pillars li { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm); }
.pillar-icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.pillar-icon svg { width: 23px; height: 23px; }
.pillars h3 { font-size: 1.2rem; }
.pillars p { color: var(--ink-2); margin-top: 2px; }
.logo-strip { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }
.logo-label { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 28px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 52px; }
.logos img { height: 58px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .82; transition: filter .2s, opacity .2s; }
.logos img.logo-jpg { mix-blend-mode: multiply; height: 30px; }
.logos img:hover { filter: none; opacity: 1; }

/* Final CTA */
.final-cta { background: linear-gradient(135deg, var(--green-deep) 0%, #0D3519 100%); color: #fff; padding: 110px 0; text-align: center; }
.final-inner { max-width: 860px; }
.final-cta h2 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.final-cta p { color: rgba(255,255,255,.85); font-size: 1.2rem; margin: 20px auto 0; max-width: 680px; }
.final-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

.footer { background: #0B2913; color: rgba(255,255,255,.7); padding: 34px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-logo { height: 52px; width: auto; background: #fff; border-radius: 8px; padding: 4px 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .9rem; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; z-index: 100; box-shadow: var(--sh-lg); }

/* Responsive */
@media (max-width: 1024px) {
  .layer-grid { grid-template-columns: repeat(3, 1fr); }
  .how-layout, .topic-layout, .topic-layout--rev, .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .topic-layout--rev .topic-panel { order: 2; }
  .convert-card { grid-template-columns: 1fr; }
  .convert-card .btn { justify-self: start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .results { width: 100%; margin-left: 0; }
  .nav-inner { height: 62px; }
  .nav-logo { height: 36px; }
  .nav-link { display: none; }
  .hero { min-height: auto; padding: 116px 0 64px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(20,16,13,.8), rgba(20,16,13,.9)); }
  .hero-ctas .btn { width: 100%; }
  .hero-facts { gap: 10px 22px; margin-top: 36px; }
  .layers-section, .how-section, .quiz-section { padding: 70px 0; }
  .layer-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .layer-card { padding: 22px 14px; }
  .layer-icon { width: 54px; height: 54px; }
  .quiz-card { padding: 24px 20px 18px; border-radius: var(--r-lg); min-height: 0; }
  .opt { padding: 15px 16px; font-size: 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .results-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 22px; gap: 22px; }
  .grade-row { justify-content: center; }
  .score-ring { width: 200px; height: 200px; }
  .score-num { font-size: 3.8rem; }
  .res-block, .res-actions { padding: 24px 20px; }
  .res-two { grid-template-columns: 1fr; gap: 0; }
  .bar-row { grid-template-columns: 1fr 46px; gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .bar-row:last-child { border-bottom: 0; }
  .bar-label { grid-column: 1; }
  .bar-val { grid-column: 2; grid-row: 1; }
  .bar-track { grid-column: 1 / -1; }
  .bar-status { grid-column: 1 / -1; justify-self: start; padding: 4px 10px; }
  .share-row { flex-direction: column; }
  .share-row .btn { width: 100%; }
  .action-row .btn { flex: 1 1 100%; }
  .convert-card { padding: 30px 22px; }
  .convert-card .btn { width: 100%; white-space: normal; }
  .duo-grid { grid-template-columns: 1fr; }
  .duo-card, .topic-panel { padding: 28px 22px; }
  .big-num { font-size: 4.4rem; } .db-val { font-size: 4rem; }
  .chain { flex-direction: column; } .chain i { transform: rotate(90deg); }
  .logos { gap: 24px 34px; } .logos img { height: 44px; }
  .final-btns .btn { width: 100%; white-space: normal; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* Print: results only */
@media print {
  body { background: #fff; font-size: 12pt; }
  .nav, .hero, .layers-section, .how-section, .why-intro, .topic, .big-idea, .about, .final-cta, .footer, .res-actions, .toast, .shared-cta, #quizHead .lead { display: none !important; }
  .quiz-section { padding: 0; }
  .results-hero, .res-block, .convert-card { box-shadow: none; break-inside: avoid; }
  .convert-card { background: #fff; color: var(--ink); border: 2px solid var(--green-brand); }
  .convert-card h3 { color: var(--ink); } .convert-card p { color: var(--ink-2); } .convert-card .eyebrow { color: var(--orange); }
  .convert-card .btn { background: none; color: var(--orange); box-shadow: none; padding: 0; }
  .convert-card .btn::after { content: " calendly.com/bnewberger/prosper"; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Company-branded pages */
.cobrand { display: flex; width: fit-content; align-items: center; gap: 14px; margin-bottom: 22px; }
.cobrand-logo { background: #fff; border-radius: 14px; padding: 8px 14px; height: 64px; display: inline-flex; align-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.cobrand-logo img { max-height: 48px; max-width: 180px; width: auto; display: block; }
.cobrand-name { background: #fff; color: var(--ink); border-radius: 14px; padding: 0 18px; height: 64px; display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.cobrand-x { color: rgba(255,255,255,.75); font-size: 1.6rem; font-weight: 300; }
.field.is-locked input { background: var(--bg-soft); color: var(--ink-2); }
@media (max-width: 560px) { .cobrand-logo, .cobrand-name { height: 52px; } .cobrand-logo img { max-height: 38px; max-width: 130px; } .cobrand-name { font-size: 1.1rem; } }
