/* ==========================================================================
   TAAGIDIM — brand layer (loaded last)
   Highlighter marks, the smart dashboard, situation cards, the questionnaire
   wizard, share bar and the mobile questionnaire bar.
   ========================================================================== */

/* Type ------------------------------------------------------------------- */
h1, h2, h3, h4 { letter-spacing: 0; }
.display-xl, .display-l { font-weight: 900; line-height: 1.02; }
.display-m { font-weight: 800; line-height: 1.12; }
.display-xl .accent, .display-l .accent, .display-m .accent { font-style: normal; font-weight: 900; color: var(--brass-500); }
.section--light .display-xl .accent, .section--light .display-l .accent, .section--light .display-m .accent { color: var(--ink-950); background: linear-gradient(transparent 58%, var(--hl-yellow) 58%, var(--hl-yellow) 94%, transparent 94%); padding: 0 .08em; }
::selection { background: var(--brass-500); color: var(--ink-950); }

/* Logo mark and wordmark -------------------------------------------------- */
.mark { display: block; width: 40px; height: 40px; color: var(--parch-100); flex: 0 0 auto; }
.header__logo { gap: 0.7rem; }
.header__logo .mark { width: 42px; height: 42px; transition: width var(--d-base), height var(--d-base); }
.header.is-scrolled .header__logo .mark { width: 34px; height: 34px; }
.header__wordmark b { white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; letter-spacing: -0.01em; line-height: 0.95; color: var(--parch-50); direction: ltr; }
.header__wordmark span { font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.02em; color: var(--slate-300); font-weight: 500; }
.preloader__mark-wrap { width: clamp(120px, 18vw, 220px); }
.preloader__mark-wrap .mark { width: 100%; height: auto; aspect-ratio: 1; color: var(--parch-100); }
.preloader__mark-wrap .mark rect:last-of-type { fill: var(--brass-500); }
.footer__brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer__brand .mark { width: 38px; height: 38px; color: var(--parch-100); }
.footer__brand b { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: var(--parch-50); direction: ltr; }
.footer__brand span { font-size: 1rem; color: var(--slate-300); }
.footer__wordmark { font-family: var(--font-display); font-weight: 900; }
.footer__disclaimer { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--fg-3); line-height: 1.7; max-width: 90ch; }

/* Section label: highlighter swatch instead of hazard stripes ------------- */
.label::before { width: 30px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--brass-500), var(--brass-300)); }
.label[data-n]::after { content: '/ ' attr(data-n); }
.section--light .label::before { background: linear-gradient(90deg, var(--ink-950), var(--ink-700)); }
.nav__menu a small { display: block; color: var(--fg-3); font-size: 0.78rem; margin-top: 0.15rem; font-weight: 400; }
.nav__menu a b { display: block; font-weight: 700; }

/* Highlighter marks ------------------------------------------------------- */
.hl { padding: 0 0.22em; border-radius: 3px; background-repeat: no-repeat; background-size: 100% 46%; background-position: 0 78%; color: inherit; }
.hl--yellow { background-image: linear-gradient(var(--hl-yellow), var(--hl-yellow)); }
.hl--green { background-image: linear-gradient(var(--hl-green), var(--hl-green)); }
.hl--red { background-image: linear-gradient(var(--hl-red), var(--hl-red)); }
.hl--blue { background-image: linear-gradient(var(--hl-blue), var(--hl-blue)); }
.hl--violet { background-image: linear-gradient(var(--hl-violet), var(--hl-violet)); }

/* Ticks (check-mark lists) ---------------------------------------------- */
.cta__checks { display: flex; flex-direction: column; gap: 0.9rem; align-content: center; }
.tick { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--glass-light); font-size: 1.02rem; font-weight: 500; }
.tick__icon { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tone-green); color: var(--ink-950); }
.tick__icon svg { width: 18px; height: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* Hero dashboard -------------------------------------------------------- */
.hero-board { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-xl); background: linear-gradient(180deg, rgba(24, 35, 58, 0.9), rgba(13, 20, 36, 0.95)); padding: 1.3rem; box-shadow: var(--sh-lg); }
.hero-board__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--slate-300); text-transform: uppercase; }
.hero-board__live { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--tone-green); }
.hero-board__live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tone-green); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); }
.hero-board__row { display: grid; grid-template-columns: 1fr auto; gap: 0.8rem; align-items: center; padding: 0.95rem 1rem; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(244, 242, 236, 0.03); margin-bottom: 0.6rem; }
.hero-board__row b { font-weight: 700; font-size: 0.98rem; }
.hero-board__row small { display: block; color: var(--fg-3); font-size: 0.8rem; margin-top: 0.2rem; }
.hero-board__state { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; padding: 0.35rem 0.6rem; border-radius: var(--r-pill); color: var(--ink-950); font-weight: 700; white-space: nowrap; }
.hero-board__state--green { background: var(--tone-green); }
.hero-board__state--yellow { background: var(--tone-yellow); }
.hero-board__state--red { background: var(--tone-red); }
.hero-board__state--blue { background: var(--tone-blue); }
.hero-board__state--violet { background: var(--tone-violet); }
.hero-board__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--fg-2); }
.hero-board__meter { width: 46%; height: 8px; background: var(--ink-700); border-radius: var(--r-pill); overflow: hidden; }
.hero-board__meter span { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--brass-500), var(--brass-300)); border-radius: inherit; }

/* Situation chips (the dashboard picker) ------------------------------- */
.chips-picker { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.7rem 1.05rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--glass-light); color: var(--fg); font: inherit; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: border-color var(--d-fast), background var(--d-fast), transform var(--d-fast); }
.chip:hover { border-color: var(--fg-2); transform: translateY(-1px); }
.chip__mark { width: 14px; height: 14px; border-radius: 4px; border: 2px solid currentColor; display: inline-grid; place-items: center; }
.chip__mark::after { content: ''; width: 6px; height: 6px; border-radius: 1px; background: currentColor; transform: scale(0); transition: transform var(--d-fast); }
.chip[aria-pressed="true"] { color: var(--ink-950); border-color: transparent; }
.chip[aria-pressed="true"] .chip__mark::after { transform: scale(1); }
.chip--green[aria-pressed="true"] { background: var(--tone-green); }
.chip--yellow[aria-pressed="true"] { background: var(--tone-yellow); }
.chip--red[aria-pressed="true"] { background: var(--tone-red); }
.chip--blue[aria-pressed="true"] { background: var(--tone-blue); }
.chip--violet[aria-pressed="true"] { background: var(--tone-violet); }
.chip--green .chip__mark { color: var(--tone-green); }
.chip--yellow .chip__mark { color: var(--tone-yellow); }
.chip--red .chip__mark { color: var(--tone-red); }
.chip--blue .chip__mark { color: var(--tone-blue); }
.chip--violet .chip__mark { color: var(--tone-violet); }

/* Smart dashboard: the picker and the recommendation panel ---------------- */
.dash { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-6); align-items: start; }
.dash__picker { display: flex; flex-direction: column; gap: 1.4rem; }
.dash__picker .lead { max-width: 48ch; }
.dash__out { min-height: 320px; display: grid; gap: 1rem; }
.dash__empty { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 2rem; color: var(--fg-3); font-size: 1rem; line-height: 1.8; }
.rec { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.6rem; background: var(--bg-3); position: relative; overflow: hidden; animation: recIn var(--d-base) var(--ease-out) both; }
.rec::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 5px; background: var(--tone-yellow); }
.rec--green::before { background: var(--tone-green); }
.rec--yellow::before { background: var(--tone-yellow); }
.rec--red::before { background: var(--tone-red); }
.rec--blue::before { background: var(--tone-blue); }
.rec--violet::before { background: var(--tone-violet); }
.rec[hidden] { display: none; }
@keyframes recIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rec__tag { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: var(--r-pill); background: var(--hl-yellow); color: var(--parch-50); }
.rec--green .rec__tag { background: var(--hl-green); }
.rec--red .rec__tag { background: var(--hl-red); }
.rec--blue .rec__tag { background: var(--hl-blue); }
.rec--violet .rec__tag { background: var(--hl-violet); }
.rec__title { font-size: 1.45rem; font-weight: 800; margin-top: 0.9rem; line-height: 1.25; }
.rec__text { margin-top: 0.7rem; color: var(--fg-2); line-height: 1.75; }
.rec__steps { margin: 1.1rem 0 0; padding: 0; list-style: none; counter-reset: rs; display: grid; gap: 0.5rem; }
.rec__steps li { counter-increment: rs; position: relative; padding-inline-start: 2.2rem; color: var(--fg); font-size: 0.95rem; }
.rec__steps li::before { content: counter(rs); position: absolute; inset-inline-start: 0; top: 0.05rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--ink-700); color: var(--brass-500); font-family: var(--font-grotesk); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; }
.rec__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }

/* Situation cards (home grid and landing references) ---------------------- */
.scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.scard { position: relative; display: flex; flex-direction: column; gap: 0.7rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-3); color: inherit; transition: border-color var(--d-base), transform var(--d-base) var(--ease-out); overflow: hidden; }
.scard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.scard::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--tone-yellow); transform: scaleX(0.2); transform-origin: right; transition: transform var(--d-slow) var(--ease-out); }
.scard--green::after { background: var(--tone-green); }
.scard--red::after { background: var(--tone-red); }
.scard--blue::after { background: var(--tone-blue); }
.scard--violet::after { background: var(--tone-violet); }
.scard:hover::after { transform: scaleX(1); }
.scard__tag { align-self: flex-start; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: var(--r-pill); background: var(--hl-yellow); color: var(--parch-50); }
.scard--green .scard__tag { background: var(--hl-green); }
.scard--red .scard__tag { background: var(--hl-red); }
.scard--blue .scard__tag { background: var(--hl-blue); }
.scard--violet .scard__tag { background: var(--hl-violet); }
.scard__title { font-size: 1.3rem; font-weight: 800; line-height: 1.3; }
.scard__text { color: var(--fg-2); font-size: 0.95rem; line-height: 1.7; }
.scard__cta { margin-top: auto; font-weight: 600; color: var(--brass-500); display: inline-flex; align-items: center; gap: 0.4rem; }

/* Promises strip (the discretion slogans) ------------------------------- */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.promises > div { padding: 1.6rem 1.4rem; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.55rem; }
.promises > div:last-child { border-inline-start: 0; }
.promises b { font-size: 1.15rem; font-weight: 800; }
.promises span { color: var(--fg-2); font-size: 0.92rem; line-height: 1.65; }

/* Process steps (the homepage timeline) -------------------------------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: fl; }
.flow > div { position: relative; padding: 1.5rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--glass-light); counter-increment: fl; }
.flow > div::before { content: '0' counter(fl); font-family: var(--font-grotesk); font-weight: 700; font-size: 0.9rem; color: var(--brass-500); }
.flow b { display: block; font-size: 1.1rem; margin-top: 0.5rem; font-weight: 800; }
.flow p { color: var(--fg-2); font-size: 0.9rem; line-height: 1.65; margin-top: 0.4rem; }

/* Callouts --------------------------------------------------------------- */
.callout { border-radius: var(--r-md); padding: 1.1rem 1.25rem; margin-bottom: 1.4rem; border: 1px solid var(--line-2); background: var(--glass-light); }
.callout b { display: block; font-size: 1rem; font-weight: 800; }
.callout p { margin-top: 0.35rem; color: var(--fg-2); font-size: 0.92rem; line-height: 1.7; }
.callout--yellow { border-color: rgba(255, 214, 10, 0.5); background: rgba(255, 214, 10, 0.08); }
.callout--yellow b { color: var(--tone-yellow); }
.callout--blue { border-color: rgba(96, 165, 250, 0.5); background: rgba(96, 165, 250, 0.08); }
.callout--blue b { color: var(--tone-blue); }

/* Questionnaire --------------------------------------------------------- */
.qwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: var(--s-6); align-items: start; }
.qmain { min-width: 0; }
.qprogress { position: sticky; top: calc(var(--header-h) + 0.5rem); z-index: 5; background: var(--bg); padding: 0.8rem 0 0.9rem; margin-bottom: 1.4rem; }
.qprogress__meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--fg-3); margin-bottom: 0.45rem; }
.qprogress__bar { height: 6px; background: var(--ink-700); border-radius: var(--r-pill); overflow: hidden; }
.qprogress__bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--brass-500), var(--brass-300)); transition: width var(--d-base) var(--ease-out); border-radius: inherit; }
.qsteps { display: flex; gap: 0.35rem; margin-top: 0.7rem; flex-wrap: wrap; }
.qsteps button { font: inherit; font-size: 0.72rem; font-family: var(--font-grotesk); width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--fg-3); cursor: pointer; }
.qsteps button[aria-current="step"] { background: var(--tone-yellow); color: var(--ink-950); border-color: transparent; }
.qsteps button.is-done { color: var(--fg); border-color: var(--tone-green); }
.step { padding: 0.5rem 0 1rem; animation: stepIn var(--d-base) var(--ease-out) both; }
.step[hidden] { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step__head { margin-bottom: 1.6rem; }
.step__title { margin-top: 0.7rem; }
.step__intro { margin-top: 0.9rem; font-size: 1.02rem; color: var(--fg-2); max-width: 64ch; }
.step__body { display: grid; gap: 1.25rem; }
.fq { display: flex; flex-direction: column; gap: 0.55rem; }
.fq[hidden] { display: none; }
.fq__head, .fq__label { font-weight: 700; font-size: 1rem; line-height: 1.5; }
.fq__label em, .fq__head em { font-style: normal; color: var(--tone-yellow); }
.fq--sensitive .fq__head::after { content: ' · נשמר בשרת מוגן בלבד'; font-size: 0.78rem; font-weight: 500; color: var(--tone-blue); }
.fq--check { flex-direction: column; }
.fq .field__error { color: var(--tone-red); font-size: 0.85rem; min-height: 0; }
.fq.is-error input, .fq.is-error select, .fq.is-error textarea { border-color: var(--tone-red) !important; }
.fq.is-error .field__error:empty { display: none; }
.step select, .step input:not([type="radio"]):not([type="checkbox"]), .step textarea { width: 100%; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--fg); font: inherit; padding: 0.85rem 1rem; transition: border-color var(--d-fast), box-shadow var(--d-fast); }
.step select:focus, .step input:focus, .step textarea:focus { outline: none; border-color: var(--tone-yellow); box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.2); }
.step textarea { resize: vertical; }
.opts { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.opts--checks { gap: 0.5rem; }
.opt { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt span { display: inline-block; padding: 0.7rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--glass-light); font-size: 0.95rem; font-weight: 500; transition: background var(--d-fast), border-color var(--d-fast), color var(--d-fast); }
.opt:hover span { border-color: var(--fg-2); }
.opt:has(input:checked) span, .opt.is-checked span { background: var(--tone-yellow); color: var(--ink-950); border-color: transparent; font-weight: 700; }
.opt:has(input:focus-visible) span { outline: 2px solid var(--tone-yellow); outline-offset: 2px; }
.opt--check span { border-radius: var(--r-sm); }
.check { display: flex; gap: 0.8rem; align-items: flex-start; cursor: pointer; font-size: 0.98rem; line-height: 1.6; padding: 0.9rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--glass-light); }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--tone-yellow); flex: 0 0 auto; }
.check:has(input:checked) { border-color: rgba(255, 214, 10, 0.6); background: rgba(255, 214, 10, 0.07); }
.lookup-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 0.2rem; }
.lookup-inline__out { font-size: 0.9rem; color: var(--fg-2); }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.qnav__count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--fg-3); letter-spacing: 0.08em; }
.qnav [hidden] { display: none; }
.qsummary { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.6rem; background: var(--bg-3); }
.qsummary h3 { font-size: 1.3rem; font-weight: 800; }
.qsummary p { color: var(--fg-2); margin-top: 0.5rem; line-height: 1.7; }
.qside { position: sticky; top: calc(var(--header-h) + 1.2rem); display: flex; flex-direction: column; gap: 0.9rem; }
.qside__head { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--slate-300); text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.qside__meter { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--bg-3); border: 1px solid var(--line-2); }
.qside__meter b { font-family: var(--font-grotesk); font-size: 1.8rem; font-weight: 700; color: var(--brass-500); line-height: 1; }
.qside__meter span { font-size: 0.86rem; color: var(--fg-2); line-height: 1.5; }
.insight { border-radius: var(--r-md); padding: 1rem 1.1rem; border: 1px solid var(--line-2); background: var(--bg-3); animation: stepIn var(--d-base) var(--ease-out) both; }
.insight[hidden] { display: none; }
.insight b { display: block; font-size: 0.98rem; font-weight: 800; }
.insight p { margin-top: 0.35rem; font-size: 0.88rem; color: var(--fg-2); line-height: 1.65; }
.insight--green { border-inline-start: 4px solid var(--tone-green); }
.insight--yellow { border-inline-start: 4px solid var(--tone-yellow); }
.insight--red { border-inline-start: 4px solid var(--tone-red); }
.insight--blue { border-inline-start: 4px solid var(--tone-blue); }
.insight--violet { border-inline-start: 4px solid var(--tone-violet); }
.insight--yellow b { background: linear-gradient(transparent 60%, var(--hl-yellow) 60%); }

/* Share bar -------------------------------------------------------------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 1.1rem 1.2rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass-light); }
.share__text { font-weight: 700; margin-inline-end: 0.4rem; }
.share__btn { display: inline-flex; align-items: center; gap: 0.45rem; font: inherit; font-size: 0.9rem; font-weight: 600; padding: 0.6rem 0.95rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; color: var(--fg); cursor: pointer; transition: background var(--d-fast), color var(--d-fast); }
.share__btn:hover { background: var(--tone-yellow); color: var(--ink-950); border-color: transparent; }
.share__btn--wa { background: #25d366; color: #06180d; border-color: transparent; }
.share__btn--wa:hover { background: #1fb959; color: #06180d; }
.share__btn svg { width: 18px; height: 18px; }

/* Mobile questionnaire bar (sticky, phones only) ------------------------- */
.qbar { display: none; }

/* Landing pages ---------------------------------------------------------- */
.dossier { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dossier > div { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; background: var(--bg-3); }
.dossier b { display: block; font-size: 1.1rem; font-weight: 800; margin-bottom: 0.6rem; }
.dossier ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.dossier li { padding-inline-start: 1.6rem; position: relative; color: var(--fg-2); font-size: 0.93rem; line-height: 1.6; }
.dossier li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.5rem; width: 0.9rem; height: 0.9rem; border-radius: 3px; background: var(--hl-yellow); border: 2px solid var(--tone-yellow); }
.dossier--check li::before { content: '✓'; background: transparent; border: 0; color: var(--tone-green); font-weight: 800; width: auto; height: auto; top: 0; }

/* Footer, drawer and light sections tweaks -------------------------------- */
.footer__links a { font-size: 0.95rem; }
.drawer__links a small { color: var(--brass-500); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .dash, .qwrap { grid-template-columns: 1fr; }
  .qside { position: static; order: -1; }
  .scards, .dossier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow, .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .scards, .dossier, .flow, .promises { grid-template-columns: 1fr; }
  .promises > div { border-inline-start: 0; border-bottom: 1px solid var(--line); }
  .promises > div:last-child { border-bottom: 0; }
  .qprogress { top: calc(var(--header-h) - 6px); }
  .qbar { position: fixed; z-index: 70; bottom: 12px; inset-inline: 12px; display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 0.95rem 1.1rem; border-radius: var(--r-pill); background: var(--tone-yellow); color: var(--ink-950); font-weight: 800; box-shadow: var(--sh-lg); }
  .qbar svg { width: 18px; height: 18px; transform: rotate(180deg); }
  .qbar__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-950); animation: qpulse 1.8s infinite; }
  .wa-float { bottom: 80px; }
  .hero-board__meter { width: 40%; }
}
@keyframes qpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(8, 12, 22, 0.5); } 50% { box-shadow: 0 0 0 7px rgba(8, 12, 22, 0); } }

@media (prefers-reduced-motion: reduce) {
  .rec, .step, .insight { animation: none; }
}

/* Supporting blocks ----------------------------------------------------- */
.narrow { max-width: var(--max-w-narrow); margin-inline: auto; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.draft-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); border: 1px solid rgba(96, 165, 250, 0.45); background: rgba(96, 165, 250, 0.08); margin-bottom: 1.4rem; font-size: 0.93rem; }
.draft-banner[hidden] { display: none; }
.qnav__count { min-width: 6rem; text-align: center; }
.qside .insight { font-size: 0.9rem; }

.hero--home { min-height: auto; justify-content: center; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; z-index: 1; }
.hero__title { margin-top: 1.1rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: block; }
.hero__lead { margin-top: 1.5rem; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__foot { margin-top: 1.4rem; font-size: 0.95rem; color: var(--fg-2); }
.hero--home .rule { max-width: 220px; margin-top: 1.6rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.page-top__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.ticks .tick { font-size: 1rem; }

.lookup-widget { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.5rem; background: var(--bg-3); display: grid; gap: 0.9rem; }
.lookup-widget__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lookup-widget__row input { flex: 1 1 200px; min-width: 0; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--fg); font: inherit; padding: 0.85rem 1rem; direction: ltr; text-align: start; letter-spacing: 0.06em; }
.lookup-widget__row input:focus { outline: none; border-color: var(--tone-yellow); box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.2); }
.lookup-widget__out { min-height: 1.4rem; font-size: 0.93rem; color: var(--fg-2); }
.reg-card { border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 1.2rem 1.3rem; background: var(--bg-2); display: grid; gap: 0.9rem; border-inline-start: 4px solid var(--tone-blue); }
.reg-card--green { border-inline-start-color: var(--tone-green); }
.reg-card--yellow { border-inline-start-color: var(--tone-yellow); }
.reg-card--red { border-inline-start-color: var(--tone-red); }
.reg-card--blue { border-inline-start-color: var(--tone-blue); }
.reg-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem; }
.reg-card__head b { font-weight: 800; font-size: 1.05rem; }
.reg-card__state { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 0.3rem 0.65rem; border-radius: var(--r-pill); background: var(--hl-blue); }
.reg-card--green .reg-card__state { background: var(--hl-green); }
.reg-card--yellow .reg-card__state { background: var(--hl-yellow); }
.reg-card--red .reg-card__state { background: var(--hl-red); }
.reg-card__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: 0; }
.reg-card__grid dt { font-size: 0.75rem; color: var(--fg-3); }
.reg-card__grid dd { margin: 0.2rem 0 0; font-weight: 600; font-size: 0.93rem; }
.reg-card__note { font-size: 0.8rem; color: var(--fg-3); line-height: 1.6; }
@media (max-width: 560px) { .reg-card__grid { grid-template-columns: 1fr; } }
.lookup-inline__out .reg-card { margin-top: 0.6rem; }

/* Questionnaire steps are full-width blocks (the shared .step rule is a timeline grid) */
.step { display: block; grid-template-columns: none; gap: 0; }

/* Page titles built from lines (landing pages) */
.page-top__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.page-top__title .line > span { display: block; }
