/* ==========================================================================
   Fluxoly identity layer — "the lead sheet"
   A prospect list where the rows that fit get highlighted and the rest get
   struck out. Loaded after styles.css (and dashboard.css) on every page.
   Chalk #F2F3EF · Paper #FFFFFF · Ink #1C211E · Slate #545B56
   Rule #D3D7CF · Marker #FFE14D · Strike #C23B2E
   ========================================================================== */
:root {
  --ink: #0D1830;
  --marker: #93BDF2;
  --marker-soft: #DCE9FC;
  --strike: #C23B2E;
}

body { letter-spacing: -0.004em; }
/* Schibsted's tabular figures space commas and points widely; use proportional figures for prices and counts */
.price-qty, .price-out b, .tiers li, .stat-num, .estimate, .mock-kpi b, .kpi .kpi-val, .table td, .progress-line, .sheet-grid { font-variant-numeric: proportional-nums !important; }
.icon--arrow { display: none; }
h1, h2 { font-weight: 600; letter-spacing: -0.01em; }
h3, h4 { font-family: var(--font); font-weight: 650; letter-spacing: -0.012em; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }

/* Content is simply there: no scroll-triggered fades. The hero sheet is the one moment of motion. */
.js .reveal, .js .reveal-scale { opacity: 1; transform: none; transition: none; }
.step::after, .eyebrow::before { display: none; }

/* ---------- Buttons: squared, not pills ---------- */
.btn { border-radius: 8px; font-weight: 600; text-decoration: none; }
.btn--primary { color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--outline { background: var(--surface); border-color: var(--line); }
.btn--outline:hover { background: var(--surface); border-color: var(--ink); }
.btn--ghost:hover, .btn--dark:hover { background: var(--bg-alt); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent-hover); }
.link-arrow { text-decoration: none; }

/* ---------- Header: a plain ruled bar ---------- */
.site-header {
  padding-top: 0; pointer-events: auto;
  background: transparent; border-bottom: 0;
}
.site-header.is-scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; box-shadow: none; }
.nav, .site-header.is-scrolled .nav {
  height: 64px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.logo { text-decoration: none; }
.nav-links { margin: 0 0 0 40px; gap: 4px; }
.nav-actions { margin-left: auto; }
.nav-links a { color: var(--text-2); border-radius: 6px; text-decoration: none; }
.nav-links a:hover { background: transparent; color: var(--ink); text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.lang-toggle { border-radius: 6px; }
.lang-switch, .lang-switch button { border-radius: 6px; }
@media (max-width: 900px) {
  .nav, .site-header.is-scrolled .nav { height: 60px; padding: 0; }
  .mobile-menu { top: 68px; border-radius: 12px; box-shadow: 0 16px 40px rgba(28,33,30,.12); }
  .mobile-menu a:not(.btn) { text-decoration: none; }
}

/* ---------- Section rhythm: left-aligned, ruled ---------- */
.section-head, .section-head--center { max-width: 820px; margin-inline: 0; text-align: left; }
.h2 { font-size: clamp(2.125rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -0.042em; }
.lead { color: var(--text-2); max-width: 60ch; }
.hero + .section { padding-top: var(--section); }

/* ---------- Hero ---------- */
.hero-v2 { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero-v2::before { display: none; }
.hero-v2 h1 { font-size: clamp(3rem, 9.2vw, 7.5rem); line-height: .92; letter-spacing: -0.052em; max-width: 13ch; }
.hero-v2 h1 span { display: block; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: end; margin-top: clamp(28px, 4vw, 40px); }
.hero-v2 .lead { margin-top: 0; max-width: 54ch; }
.hero-v2 .hero-ctas { margin-top: 0; }
.hero-v2 .hero-note { margin-top: 14px; justify-content: flex-start; }
.hero-v2 .hero-note .icon { color: var(--text-2); }
@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-v2 .hero-ctas { justify-content: flex-start; }
}
@media (max-width: 480px) { .hero-v2 .hero-ctas .btn { width: 100%; } }

/* ---------- The lead sheet ---------- */
.sheet { margin-top: clamp(40px, 6vw, 72px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-2); }
.sheet-head b { color: var(--ink); font-weight: 600; }
.sheet-grid { font-size: .9375rem; font-variant-numeric: tabular-nums; }
.sheet-row { position: relative; display: grid; grid-template-columns: 2.2fr 1.7fr .9fr .7fr 1.3fr; gap: 16px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line-soft); transition: background-color 200ms; }
.sheet-row:last-child { border-bottom: 0; }
.sheet-row > span { position: relative; z-index: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-row--head { padding-block: 10px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); letter-spacing: 0; background: var(--surface-2); }
.sheet-row:not(.sheet-row--head)::before {
  content: ""; position: absolute; inset: 5px 10px; z-index: 0; border-radius: 4px; background: var(--marker);
  transform: scaleX(0); transform-origin: left center; transition: transform 560ms var(--ease-out);
}
.sheet-row.is-fit::before { transform: scaleX(1); }
.sheet-row .c-co { font-weight: 600; color: var(--ink); }
.sheet-row .c-verdict { font-weight: 600; }
.sheet-row.is-fit .c-verdict { color: var(--ink); }
.sheet-row.is-out > span { color: var(--text-3); }
.sheet-row.is-out > span:not(.c-verdict) { text-decoration: line-through; text-decoration-color: var(--strike); text-decoration-thickness: 2px; }
.sheet-row.is-out .c-verdict { color: var(--strike); }
.sheet-row.is-checking { background: var(--surface-2); }
.sheet.is-running .sheet-row:not(.is-done) .c-verdict,
.sheet.is-running .sheet-sum { visibility: hidden; }
.sheet-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 16px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }
.sheet-sum { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.sheet-replay { border: 0; background: none; padding: 6px 0; font-size: var(--fs-small); color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; }
.sheet-replay:hover { color: var(--ink); }
@media (max-width: 760px) {
  .sheet-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); padding-inline: 16px; }
  .sheet-row .c-role, .sheet-row .c-size, .sheet-row .c-cc { display: none; }
  .sheet-row:not(.sheet-row--head)::before { inset: 4px 6px; }
}

/* ---------- Problem: two plain columns ---------- */
.compare { gap: clamp(28px, 6vw, 80px); }
.compare-card, .compare-card--good { padding: 22px 0 0; background: transparent; color: var(--text); border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.compare-card--good { border-top: 3px solid var(--ink); }
.compare-card h3 { font-size: 1.375rem; margin-bottom: 12px; }
.compare-list li, .compare-card--good .compare-list li { padding: 13px 0; border-top: 1px solid var(--line-soft); }
.compare-card--bad .icon { color: var(--strike); }
.compare-card--good .mark { display: none; }
.compare-card--good li span { color: var(--ink); font-weight: 500; background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); }

/* ---------- Steps: a real sequence, so numbered ---------- */
.steps { gap: 0; border-top: 3px solid var(--ink); }
.step { padding: 26px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before, .step-ico { display: none; }
.step-num { display: block; margin-bottom: 18px; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.step h3 { font-size: 1.375rem; }
@media (max-width: 960px) {
  .steps { border-top: 0; gap: 0 28px; }
  .step, .step + .step { padding: 22px 0 28px; border-left: 0; border-top: 3px solid var(--ink); }
}

/* ---------- The six checks: a ruled list, not cards ---------- */
.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 6vw, 80px); }
.tile { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 16px; padding: 20px 0 24px; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.tile:hover { transform: none; box-shadow: none; }
.tile-ico { display: none; }
.tile h3 { margin: 0; font-size: 1.0625rem; letter-spacing: -0.02em; }
.tile p { margin: 0; color: var(--text-2); font-size: .9375rem; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .tile { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Two numbers ---------- */
.stats, .stats--two { max-width: none; margin: 0; gap: 0; text-align: left; border-top: 3px solid var(--ink); }
.stats--two > div { padding: 26px 28px 0 0; }
.stats--two > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(3.5rem, 10vw, 7.5rem); font-weight: 800; letter-spacing: -0.055em; color: var(--ink); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.stat-label { font-size: 1.0625rem; }

/* ---------- Dashboard preview ---------- */
.mock { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(28,33,30,.04); background: var(--surface); }
.mock-bar { background: var(--surface-2); }
.mock-kpi, .mock-order { border-radius: 8px; }
.mock-kpi { background: var(--bg); }
.track i::after { background: var(--ink); }
.feature-list .icon { color: var(--ink); }

/* ---------- Pricing ---------- */
.price-card { border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.price-card--calc { box-shadow: none; }
.tiers li.is-active { color: var(--ink); }
.tiers li.is-active span:first-child { background: var(--marker); border-radius: 3px; box-shadow: 0 0 0 4px var(--marker); }
.inc .icon { color: var(--ink); }
.range::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--ink); }
.range::-moz-range-thumb { box-shadow: 0 0 0 2px var(--ink); }
.sample-note { border-radius: 4px; }

/* ---------- Brief wizard ---------- */
.wizard { border-radius: 14px; border: 1px solid var(--line); box-shadow: none; }
.wiz-foot { background: var(--surface-2); }
.wiz-progress button i::after { background: var(--ink); }
.input, .chips-input, .check, .segmented, .stepper, .review-sec, .notice, .toast { border-radius: 8px; }
.segmented button, .chip { border-radius: 6px; }
.tag, .pill, .badge-auto { border-radius: 4px; }
.badge-auto { background: var(--marker); color: var(--ink); }
.pill--accent { background: var(--marker-soft); color: var(--ink); }
.field.is-auto .input, .field.is-auto .chips-input { background: #FFFDEB; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check:has(input:checked) { border-color: var(--ink); background: #FFFDEB; }
.success-ico .mark { color: var(--ink); }
.wiz-skip { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ, closing, footer ---------- */
.faq { max-width: 880px; margin-inline: 0; }
.faq details { border-color: var(--line); }
.faq summary .plus { border-radius: 6px; }
.final { text-align: left; }
.final h2 { max-width: 17ch; margin-inline: 0; font-size: clamp(2.5rem, 6.5vw, 5rem); letter-spacing: -0.05em; }
.final .lead { margin-inline: 0; }
.final .hero-ctas { justify-content: flex-start; }
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Client dashboard ---------- */
body.dash { background: var(--bg); }
.side { background: var(--bg); }
.side-nav a { border-radius: 8px; text-decoration: none; }
.side-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.tabbar a { text-decoration: none; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] .icon { color: var(--ink); }
.card { border-radius: 12px; border-color: var(--line); }
.kpi .kpi-ico { background: var(--marker-soft); color: var(--ink); border-radius: 8px; }
.who .avatar { background: var(--ink); }
.demo-badge { border-radius: 4px; }
.login-card { border-radius: 14px; border: 1px solid var(--line); box-shadow: none; }
.login::before { background: var(--bg); }
.chart .bar-a { fill: var(--ink); }
.timeline li.current i::after { background: var(--marker); }
.meter i::after { background: var(--ink); }
.file-ico { background: var(--bg-alt); color: var(--ink); border-radius: 8px; }
.grid-2 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.grid-2 > *, .stack > *, .card-head > * { min-width: 0; }
.card-head { flex-wrap: wrap; }
.order-top b { overflow-wrap: anywhere; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Hero title: room for descenders ("y", "g") and the last letter.
   The gradient line is painted with background-clip:text, which only paints inside the element's box; with a
   line-height under 1 the box ended above the descenders, so they were cut off. Padding grows the painted box,
   the negative margin keeps the spacing between lines the same.
   ========================================================================== */
.hero-v2 h1 { font-size: clamp(2.6rem, 8vw, 6.6rem); line-height: 1; max-width: none; overflow: visible; }
.hero-v2 h1 span { padding: 0 .08em .12em 0; margin-bottom: -.08em; }
@media (max-width: 480px) { .hero-v2 h1 { font-size: clamp(2.3rem, 11vw, 3rem); letter-spacing: -0.045em; } }

/* ==========================================================================
   Sign in / create account
   ========================================================================== */
.login { padding-top: 84px; padding-bottom: 48px; }
.login-card { max-width: 480px; }
.login-logo { display: block; height: 32px; width: auto; margin: 0 auto 26px; }
.auth-panel .field-row > .field + .field { margin-top: 0; }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 0 0 28px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: var(--r-pill); }
.auth-tabs button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-weight: 600; font-size: .9375rem; color: var(--text-2); padding: 10px 12px; border-radius: var(--r-pill); cursor: pointer; transition: color .25s; }
.auth-tabs button[aria-selected="true"] { color: var(--ink); }
.auth-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.auth-tabs-ink { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out, cubic-bezier(.2,.8,.2,1)); }
.auth-tabs[data-active="register"] .auth-tabs-ink { transform: translateX(100%); }
.auth-panel { animation: authIn .45s var(--ease-out, cubic-bezier(.2,.8,.2,1)); }
@keyframes authIn { from { opacity: 0; transform: translateY(8px); } }
.auth-panel h1 { font-size: clamp(1.625rem, 4vw, 2rem); letter-spacing: -0.035em; }
.auth-sub { color: var(--text-2); margin: 10px 0 24px; }
.auth-panel form .btn--lg { width: 100%; margin-top: 20px; }
.auth-panel .field + .field, .auth-panel .field-row + .field { margin-top: 18px; }
.auth-panel .field-row { gap: 14px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 48px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; border-radius: 8px; color: var(--text-3); cursor: pointer; }
.pw-eye:hover, .pw-eye.is-on { color: var(--ink); background: var(--surface-2); }
.pw-eye .icon { width: 18px; height: 18px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.pw-meter i { height: 4px; border-radius: 4px; background: var(--line-soft); transition: background .25s; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: var(--danger); }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: var(--warn); }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--accent); }
.pw-meter[data-score="4"] i { background: var(--success); }
.link-btn { display: inline-flex; align-items: center; gap: 8px; margin: 14px auto 0; padding: 4px 2px; border: 0; background: none; font: inherit; font-size: var(--fs-small); color: var(--accent); cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.auth-panel form > .link-btn { display: flex; }
.link-btn:hover { text-decoration-color: currentColor; }
.link-btn .icon { width: 16px; height: 16px; }
.link-btn--inline { margin: 0; font-weight: 600; }
.auth-switch { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); text-align: center; font-size: var(--fs-small); color: var(--text-2); }
.auth-legal { margin-top: 16px; font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
.auth-legal a { color: var(--text-2); }
#register-form.is-done .field, #register-form.is-done .field-row, #register-form.is-done .auth-legal, #register-form.is-done #register-submit { display: none; }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Welcome to the Fluxoly team (first sign-in)
   ========================================================================== */
body.welcome-open { overflow: hidden; }
.welcome { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px var(--gutter); background: var(--bg); overflow: hidden; opacity: 0; transition: opacity .5s ease; }
.welcome.is-in { opacity: 1; }
.welcome.is-out { opacity: 0; transition-duration: .35s; }
.welcome-bg i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(60px); opacity: .55; animation: wBlob 14s ease-in-out infinite alternate; }
.welcome-bg i:nth-child(1) { background: radial-gradient(circle, rgba(79,134,198,.55), transparent 65%); top: -25vmax; left: -15vmax; }
.welcome-bg i:nth-child(2) { background: radial-gradient(circle, rgba(64,107,176,.45), transparent 65%); bottom: -30vmax; right: -20vmax; animation-delay: -4s; }
.welcome-bg i:nth-child(3) { background: radial-gradient(circle, rgba(207,246,252,.9), transparent 60%); top: 30%; left: 40%; width: 40vmax; height: 40vmax; animation-delay: -8s; }
@keyframes wBlob { to { transform: translate(6vmax, 4vmax) scale(1.12); } }
.welcome-stage { position: relative; z-index: 2; max-width: 760px; text-align: center; }
.welcome-mark { position: relative; width: 260px; height: 104px; margin: 0 auto 22px; display: grid; place-items: center; }
.welcome-mark img { position: relative; width: 188px; height: auto; opacity: 0; transform: scale(.5) translateY(10px); }
.welcome.is-in .welcome-mark img { animation: wPop .9s cubic-bezier(.34,1.56,.64,1) .15s forwards; }
.welcome-ring { position: absolute; inset: 6px 10px; border-radius: 999px; border: 2px solid var(--marker); opacity: 0; }
.welcome.is-in .welcome-ring { animation: wRing 1.6s ease-out .55s 2; }
@keyframes wPop { to { opacity: 1; transform: none; } }
@keyframes wRing { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.35); } }
.welcome-kicker { display: inline-block; font-size: var(--fs-small); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 6px 14px; border-radius: var(--r-pill); opacity: 0; }
.welcome-title { margin: 18px 0 0; font-size: clamp(2.2rem, 6.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.045em; color: var(--ink); }
.w-word { display: inline-block; padding-bottom: .1em; margin-bottom: -.1em; opacity: 0; transform: translateY(.6em); filter: blur(6px); }
.w-word--grad { background: linear-gradient(90deg, var(--accent), #2F6FEB, var(--accent)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.welcome.is-in .w-word { animation: wWord .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.75s + var(--i) * 90ms); }
.welcome.is-in .w-word--grad { animation: wWord .8s cubic-bezier(.2,.8,.2,1) forwards, mShine 6s linear 2s infinite; animation-delay: calc(.75s + var(--i) * 90ms), 2s; }
@keyframes wWord { to { opacity: 1; transform: none; filter: none; } }
.welcome-sub { max-width: 52ch; margin: 22px auto 0; font-size: var(--fs-lead); color: var(--text-2); opacity: 0; }
.welcome-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 30px 0 0; padding: 0; }
.welcome-steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(10px); }
.welcome-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font-size: .875rem; }
.welcome-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; opacity: 0; }
.welcome.is-in .welcome-kicker { animation: wFade .6s ease .55s forwards; }
.welcome.is-in .welcome-sub { animation: wFade .7s ease 1.45s forwards; }
.welcome.is-in .welcome-steps li { animation: wFade .55s ease forwards; }
.welcome.is-in .welcome-steps li:nth-child(1) { animation-delay: 1.75s; }
.welcome.is-in .welcome-steps li:nth-child(2) { animation-delay: 1.9s; }
.welcome.is-in .welcome-steps li:nth-child(3) { animation-delay: 2.05s; }
.welcome.is-in .welcome-ctas { animation: wFade .6s ease 2.25s forwards; }
@keyframes wFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
#welcome-start { box-shadow: 0 10px 30px rgba(64,107,176,.35); }
.welcome.is-in #welcome-start { animation: wGlow 2.4s ease-in-out 3s infinite; }
@keyframes wGlow { 50% { box-shadow: 0 10px 44px rgba(79,134,198,.55); } }
.welcome-confetti { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.welcome-confetti i { position: absolute; top: -20px; left: var(--x); width: var(--s); height: var(--s); border-radius: 30%; opacity: 0; }
.welcome.is-in .welcome-confetti i { animation: wFall var(--t) cubic-bezier(.25,.6,.4,1) var(--d) forwards; }
@keyframes wFall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--drift), 105vh) rotate(var(--r)); } }

@media (max-width: 480px) { .welcome-ctas .btn { width: 100%; } }

/* ==========================================================================
   Leads finder page
   ========================================================================== */
.finder-page .finder-header .nav { justify-content: space-between; }
.finder-page .finder-header .nav-actions { display: flex; align-items: center; gap: 10px; }
.finder-page #brief { padding-top: clamp(40px, 6vw, 72px); }
.finder-page #brief .section-head h1 { margin: 0; }
.finder-gate { min-height: 60vh; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--text-2); }
.finder-spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin .7s linear infinite; }

/* Choose-a-password dialog */
.pw-dialog { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px var(--gutter); background: rgba(11,16,32,.45); backdrop-filter: blur(4px); animation: wFadeOnly .25s ease; }
@keyframes wFadeOnly { from { opacity: 0; } }
.pw-dialog-card { width: 100%; max-width: 440px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 5vw, 36px); animation: authIn .35s ease; }
.pw-dialog-card h2 { font-size: 1.5rem; letter-spacing: -0.03em; }
.pw-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* Header stays readable once the page scrolls under it (landing page and leads finder). */
.site-header.is-scrolled { background: rgba(238,244,255,.88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-soft); }

/* AI caller: wizard step 3 and dashboard brief card */
.ai-caller-head { margin: 8px 0 4px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.ai-write { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 4px 0 18px; }
.ai-write-status { font-size: var(--fs-small); color: var(--text-2); }
.btn--secondary.is-busy::after { border-color: var(--line); border-top-color: var(--accent); }
.ai-caller { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-soft); font-size: var(--fs-small); }
.ai-caller-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ai-caller h4 { margin: 0; font-size: 1rem; }
.ai-caller ol, .ai-caller ul { margin: 6px 0 12px; padding-left: 20px; color: var(--text-2); }
.ai-caller li + li { margin-top: 4px; }
/* A monthly plan's month in the brief card: calls used, leads ready to call, extra call packs */
.plan-month { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-soft); font-size: var(--fs-small); }
.plan-month.is-out { border-color: var(--accent); }
.plan-month-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan-month h4 { margin: 0; font-size: 1rem; }
.plan-month-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; color: var(--text-2); }
.plan-month-stats span { display: inline-flex; align-items: center; gap: 6px; }
.plan-month .help { margin: 8px 0 0; }
.plan-month-buy { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.plan-month-buy .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ==========================================================================
   Dashboard: "Start finding your leads" card
   ========================================================================== */
.launch-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-bottom: 24px; padding: 26px 30px; border-radius: 18px; text-decoration: none; color: var(--text); overflow: hidden; isolation: isolate; border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, #D3E4FD 0%, transparent 50%), linear-gradient(120deg, #EAF2FE 0%, #FFFFFF 60%); box-shadow: 0 30px 60px -44px rgba(13,24,48,.35); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.launch-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); background-size: 250% 100%; animation: launchShine 5s linear infinite; }
@keyframes launchShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.launch-card:hover { transform: translateY(-3px); box-shadow: 0 34px 70px -40px rgba(13,24,48,.4); }
.launch-card:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }
.launch-copy small { display: inline-block; font-size: var(--fs-small); font-weight: 600; color: #1C4FBF; }
.launch-copy h2 { margin: 6px 0 6px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: var(--text); }
.launch-copy p { margin: 0; max-width: 56ch; color: var(--text-2); }
.launch-btn { background: var(--ink) !important; color: #FFFFFF !important; white-space: nowrap; box-shadow: 0 8px 24px rgba(11,16,32,.25); }
.launch-card:hover .launch-btn .icon--arrow, .launch-btn .icon { transition: transform .25s; }
.launch-card:hover .launch-btn .icon { transform: translateX(4px); }
.launch-radar { position: relative; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle, rgba(79,134,198,.14), rgba(79,134,198,.03) 70%); }
.launch-radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(47,95,150,.25); }
.launch-radar i:nth-child(2) { inset: 18%; } .launch-radar i:nth-child(3) { inset: 36%; }
.launch-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(79,134,198,.65), transparent 25%); animation: radarSpin 2.6s linear infinite; }
@keyframes radarSpin { to { transform: rotate(360deg); } }
.launch-dot { position: absolute; left: var(--x); top: var(--y); width: 7px; height: 7px; border-radius: 50%; background: #2F6FEB; box-shadow: 0 0 10px #93BDF2; opacity: 0; animation: dotBlip 3.2s ease-out var(--d) infinite; }
@keyframes dotBlip { 0%, 100% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; transform: scale(1.2); } 40% { opacity: .9; transform: scale(1); } 70% { opacity: 0; } }
.launch-card--big { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: clamp(34px, 6vw, 56px) 30px; }
.launch-card--big .launch-radar { width: 132px; height: 132px; }
.launch-card--big .launch-copy p { margin: 0 auto; }
.launch-card--big .launch-btn { font-size: 1.125rem; padding: 18px 34px; }
@media (max-width: 760px) { .launch-card { grid-template-columns: 1fr; justify-items: start; } .launch-card--big { justify-items: center; } .launch-btn { width: 100%; justify-content: center; } }

/* ==========================================================================
   Leads finder: layout with the live "ideal client" card
   ========================================================================== */
@media (min-width: 1100px) {
  .finder-page #brief .container { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; max-width: 1280px; }
  .finder-page #brief .section-head { grid-column: 1 / -1; }
  .finder-page #brief .wizard { margin: 0; max-width: none; }
  .icp-card { position: sticky; top: 88px; }
}
.icp-card { --p: 0; margin-top: 24px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-md); }
@media (min-width: 1100px) { .icp-card { margin-top: 0; } }
.icp-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.icp-top small { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.icp-top h2 { margin: 2px 0 0; font-size: 1.15rem; letter-spacing: -0.02em; }
.icp-radar { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); overflow: hidden; }
.icp-radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(64,107,176,.25); } .icp-radar i:nth-child(2) { inset: 28%; }
.icp-radar span { position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(79,134,198,.75), transparent 28%); animation: radarSpin calc(3.6s - var(--p) * .025s) linear infinite; }
.icp-ring { position: relative; width: 46px; height: 46px; }
.icp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.icp-ring circle { fill: none; stroke: var(--line-soft); stroke-width: 3.5; }
.icp-ring .icp-ring-val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: calc(97.4 - 97.4 * var(--p) / 100); transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1), stroke .3s; }
.icp-card.is-complete .icp-ring-val { stroke: var(--success); }
.icp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: .72rem; }
.icp-rows { margin: 12px 0 0; display: grid; gap: 10px; }
.icp-rows dt { font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.icp-rows dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.icp-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: .8125rem; font-weight: 500; }
.icp-chip.is-new { animation: chipIn .5s cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(.6); background: #93BDF2; } 60% { background: #93BDF2; } }
.icp-empty { color: var(--text-3); }
.icp-hint { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: var(--fs-small); color: var(--text-2); }
.icp-card.is-complete .icp-hint { background: var(--success-soft); color: var(--success); font-weight: 600; }

/* Livelier choices */
.chip[aria-pressed="true"], .chip[aria-checked="true"] { animation: chipPop .35s cubic-bezier(.34,1.56,.64,1); }
@keyframes chipPop { 40% { transform: scale(1.08); } }
.wiz-step.is-active { animation: stepIn 520ms cubic-bezier(.2,.8,.2,1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px) scale(.985); filter: blur(3px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-28px) scale(.985); filter: blur(3px); } }
#wiz-next { position: relative; overflow: hidden; }
#wiz-next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); background-size: 250% 100%; animation: launchShine 3.5s linear infinite; pointer-events: none; }

/* Step celebration */
.fx-burst { position: fixed; inset: 0; pointer-events: none; z-index: 120; }
.fx-burst i { position: fixed; width: 8px; height: 8px; border-radius: 30%; animation: fxBurst 1s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes fxBurst { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 60px)) rotate(var(--r)); } }
.fx-badge { position: fixed; left: 50%; bottom: 28px; z-index: 121; transform: translate(-50%, 30px); opacity: 0; padding: 12px 20px 12px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 14px 40px rgba(11,16,32,.3); display: flex; align-items: center; gap: 10px; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.fx-badge::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #93BDF2; color: var(--ink); font-size: .85rem; }
.fx-badge.is-in { transform: translate(-50%, 0); opacity: 1; }

/* Launch screen */
.launch-fx { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px; background: radial-gradient(80% 70% at 50% 40%, #1C4FBF, #0D1830 75%); color: #fff; opacity: 0; transition: opacity .4s; cursor: pointer; }
.launch-fx.is-in { opacity: 1; }
.launch-fx-stage { text-align: center; max-width: 560px; }
.launch-fx-radar { position: relative; width: 190px; height: 190px; margin: 0 auto 28px; border-radius: 50%; background: radial-gradient(circle, rgba(79,134,198,.18), transparent 70%); }
.launch-fx-radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(207,246,252,.3); }
.launch-fx-radar i:nth-child(2) { inset: 20%; } .launch-fx-radar i:nth-child(3) { inset: 40%; }
.launch-fx-radar span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(79,134,198,.8), transparent 25%); animation: radarSpin 1.4s linear infinite; }
.launch-fx-radar b { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #DCE9FC; box-shadow: 0 0 14px #93BDF2; opacity: 0; animation: dotBlip 1.8s ease-out infinite; }
.launch-fx-radar b:nth-of-type(1) { left: 26%; top: 30%; animation-delay: .2s; } .launch-fx-radar b:nth-of-type(2) { left: 68%; top: 22%; animation-delay: .6s; }
.launch-fx-radar b:nth-of-type(3) { left: 74%; top: 64%; animation-delay: 1s; } .launch-fx-radar b:nth-of-type(4) { left: 34%; top: 72%; animation-delay: 1.3s; } .launch-fx-radar b:nth-of-type(5) { left: 50%; top: 46%; animation-delay: .9s; }
.launch-fx h2 { margin: 0 0 20px; font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -0.04em; color: #fff; }
.launch-fx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.launch-fx-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); transition: background .4s, color .4s; }
.launch-fx-steps li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #93BDF2; animation: spin .8s linear infinite; }
.launch-fx-steps li.is-on { background: rgba(79,134,198,.14); color: #fff; }
.launch-fx-steps li.is-on::before { border: 0; background: #93BDF2; animation: none; box-shadow: 0 0 12px #93BDF2; }



/* The start card is one big link: no underline on its text when hovered. */
.launch-card, .launch-card:hover, .launch-card:focus, .launch-card *, .launch-card:hover * { text-decoration: none; }

/* ---------- Pricing: packs of called leads ---------- */
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.js .packs:not(.is-in) .pack { opacity: 0; transform: translateY(22px); }
.packs.is-in .pack { animation: packUp 700ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes packUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.pack:hover { box-shadow: 0 18px 40px -24px rgba(11, 16, 32, .35); }
.pack--pop { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 24px 50px -28px rgba(11, 16, 32, .45); }
.pack-badge { position: absolute; top: -11px; left: 22px; padding: 3px 10px; border-radius: 999px; background: var(--marker); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0; }
.pack-name { margin: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.pack-price { display: flex; align-items: baseline; gap: 8px; }
.pack-price b { font-size: clamp(2rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.045em; color: var(--ink); line-height: 1; }
.pack-price small { color: var(--text-3); font-size: var(--fs-xs); letter-spacing: 0; }
.pack-per { margin: -6px 0 0; color: var(--text-2); font-size: var(--fs-small); }
.pack-list { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; flex: 1; }
.pack-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: var(--fs-small); color: var(--text-2); }
.pack-list li b { color: var(--ink); }
.pack-list .icon { width: 18px; height: 18px; color: var(--ink); margin-top: 1px; }
.pack .btn { width: 100%; justify-content: center; }
.pack-how { list-style: none; margin: 28px 0 0; padding: 22px; display: grid; grid-template-columns: .8fr repeat(4, minmax(0, 1fr)); gap: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pack-how-head h3 { margin: 0; font-size: 1.0625rem; letter-spacing: -0.01em; }
.pack-how li { display: flex; gap: 12px; align-items: flex-start; }
.pack-how-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--marker-soft); color: var(--ink); font-weight: 700; font-size: var(--fs-small); }
.pack-how b { display: block; font-size: var(--fs-small); color: var(--ink); }
.pack-how p { margin: 4px 0 0; font-size: var(--fs-small); color: var(--text-2); line-height: 1.45; }
.pack-inc { margin-top: 20px; display: grid; grid-template-columns: .8fr 2fr; gap: 12px 22px; align-items: start; padding: 0 22px; }
.pack-inc h3 { margin: 0; font-size: 1.0625rem; }
.pack-inc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.pack-inc li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: var(--fs-small); color: var(--text-2); }
.pack-inc .icon { width: 18px; height: 18px; color: var(--ink); }
.pack-inc .addon { grid-column: 2; margin: 4px 0 0; font-size: var(--fs-xs); color: var(--text-3); }
@media (max-width: 1080px) {
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .pack-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-how-head { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .packs { grid-template-columns: 1fr; }
  .pack-how { grid-template-columns: 1fr; padding: 18px; }
  .pack-inc { grid-template-columns: 1fr; padding: 0 4px; }
  .pack-inc ul { grid-template-columns: 1fr; }
  .pack-inc .addon { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .packs .pack, .js .packs:not(.is-in) .pack { animation: none; opacity: 1; transform: none; } }

/* Leads finder: pick a pack */
.pack-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.pack-opt { display: grid; gap: 2px; justify-items: start; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font: inherit; color: var(--text-2); text-align: left; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.pack-opt:hover { border-color: var(--text-3); transform: translateY(-1px); }
.pack-opt b { color: var(--ink); font-size: var(--fs-small); }
.pack-opt-price { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.pack-opt small { font-size: var(--fs-xs); letter-spacing: 0; }
.pack-opt.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--marker-soft); }
.pack-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) { .pack-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pack-note { margin: 14px 0 0; text-align: center; font-size: var(--fs-small); color: var(--text-2); }

/* ==========================================================================
   New search: one question per screen (brief.js)
   ========================================================================== */
.finder-page #brief .container { display: block; max-width: 760px; }
.finder-page #brief .qwiz { margin: 0 auto; max-width: none; }
.qwiz .wiz-head { padding-bottom: 0; }
.qbar { height: 4px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.qbar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.qcount { margin: 10px 0 0; font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); letter-spacing: .02em; }
.qwiz .wiz-body { min-height: 340px; padding-top: 22px; }
.qwiz .wiz-step h3 { margin: 0 0 8px; }
.qhelp { margin: 0 0 22px; color: var(--text-2); font-size: var(--fs-body, 1rem); line-height: 1.5; }
.qwiz .field { margin-bottom: 18px; }
.qwiz .input--lg { font-size: 1.15rem; padding: 14px 16px; }
.qwiz .prefill-notice .notice { margin: -8px 0 18px; }
.qwiz .field.is-auto .input, .qwiz .field.is-auto .chips-input { border-color: var(--accent); }
.qwiz .wiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qwiz .wiz-foot-actions { display: flex; gap: 8px; margin-left: auto; }
.qopts { display: grid; gap: 10px; }
.qopts [role=radio] { display: grid; gap: 3px; text-align: left; padding: 14px 16px 14px 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font: inherit; color: var(--text-2); cursor: pointer; position: relative; transition: border-color .15s ease, background .15s ease; }
.qopts [role=radio]::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.qopts [role=radio] b { color: var(--ink); font-size: 1rem; }
.qopts [role=radio] small { font-size: var(--fs-small); }
.qopts [role=radio]:hover { border-color: var(--text-3); }
.qopts [role=radio][aria-checked=true] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--marker-soft, var(--accent-soft)); }
.qopts [role=radio][aria-checked=true]::before { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 4px, var(--surface) 5px); }
.qopts [role=radio]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qwiz [data-when-meeting] { margin-top: 18px; }
.qwiz .pack-pick { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.qreview { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qreview-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.qreview-row:first-child { border-top: 0; }
.qreview dt { font-size: var(--fs-small); color: var(--text-3); font-weight: 600; }
.qreview dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }
.qreview-edit { border: 0; background: none; padding: 0; font: inherit; font-size: var(--fs-small); font-weight: 600; color: var(--accent-ink, var(--ink)); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .qreview-row { grid-template-columns: minmax(0, 1fr) auto; } .qreview dd { grid-column: 1 / -1; grid-row: 2; } }
.qwiz fieldset.wiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
@media (max-width: 640px) { .qwiz .wiz-foot { flex-direction: row; flex-wrap: nowrap; } .qwiz .wiz-foot-actions { flex: 1; justify-content: flex-end; } .qwiz .wiz-foot-actions .btn--primary { flex: 1; } }
/* New search: the question itself in the display serif */
.qwiz .wiz-step h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.3rem); letter-spacing: -0.035em; line-height: 1.08; }
