/* Hallmark v2.0.0 · redesign of bardstar.com home for the security service · system: bardstar site.css tokens (locked) · signature: the example report whose findings flip from Open to Fixed · genre modern-minimal */
/* waive 4: the nested card is the existing xTab card artwork (pre-existing component, kept as the owner asked). waive 26a/34 on index.html: :focus-visible and html/body overflow-x: clip live in this linked file, which the per-file pass does not join. */
/* critique: keep the existing calm Apple-like system (centred display head, pill buttons, white cards); one idea per section; no invented proof; motion is transform/opacity only. */

/* Tokens for the new sections only. Everything else comes from site.css. */
:root {
  --sec-crit: #b42318; --sec-crit-bg: rgba(180, 35, 24, .09);
  --sec-high: #a15c07; --sec-high-bg: rgba(181, 99, 8, .11);
  --sec-fix: #15803d; --sec-fix-bg: rgba(21, 128, 61, .10);
  /* report severities: critical bright red (solid), high red, medium yellow (solid), low green */
  --sev-crit-bg: #e3141b; --sev-crit-ink: #ffffff;
  --sev-high: #ffffff; --sev-high-bg: #a8173d;
  --sev-med-bg: #fcd34d; --sev-med-ink: #422006;
  --sev-low: #166534; --sev-low-bg: rgba(21, 128, 61, .12);
  --sec-no: #d92d20; --sec-num-plus: #15803d;
  --sec-spot: rgba(12, 12, 40, .06);
  --sec-final-bg: #0c0c14; --sec-final-ink: #f3f3f8; --sec-final-ink-2: rgba(243, 243, 248, .72);
  --sec-out: cubic-bezier(.23, 1, .32, 1);
  --sec-mask: #000; --sec-glow-light: rgba(255, 255, 255, .12);
}
:root[data-theme="dark"] {
  --sec-crit: #ff8b80; --sec-crit-bg: rgba(255, 139, 128, .12);
  --sec-high: #ffbd5a; --sec-high-bg: rgba(255, 189, 90, .12);
  --sec-fix: #5ee08f; --sec-fix-bg: rgba(94, 224, 143, .12);
  --sev-crit-bg: #e3141b; --sev-crit-ink: #ffffff;
  --sev-high: #ffffff; --sev-high-bg: #b51b44;
  --sev-med-bg: #fcd34d; --sev-med-ink: #2a1a00;
  --sev-low: #5ee08f; --sev-low-bg: rgba(94, 224, 143, .14);
  --sec-no: #ff7b72; --sec-num-plus: #5ee08f;
  --sec-spot: rgba(255, 255, 255, .06);
  --sec-final-bg: #f3f3f8; --sec-final-ink: #0c0c14; --sec-final-ink-2: rgba(12, 12, 20, .68);
}
html, body { overflow-x: clip; }

/* ---------- hero ---------- */
.sec-hero { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(72px, 9vw, 112px); }
.sec-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec-hero .sec-hero-copy { align-items: flex-start; text-align: left; max-width: 600px; margin: 0; gap: 22px; }
body[data-product] .sec-hero .cl-h1 { max-width: none; font-size: clamp(44px, 4.6vw, 76px); overflow-wrap: break-word; min-width: 0; }
.sec-lead { margin: 0; max-width: 520px; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.45; color: var(--text-2); animation: sec-up .5s ease-out .75s both; }
.sec-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; animation: sec-up .6s var(--sec-out) .9s both; }
.sec-fine { margin: 0; font-size: 14px; color: var(--text-3); animation: sec-fade .5s ease-out 1.05s both; }
.sec-go svg { transition: transform .25s var(--sec-out); }
.sec-go:hover svg { transform: translateX(3px); }
.btn:focus-visible, .sec-plan .btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@keyframes sec-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sec-fade { from { opacity: 0; } to { opacity: 1; } }

/* signature: example report */
.sec-report-wrap { width: 100%; max-width: 560px; margin: 0 0 0 auto; perspective: 1400px; animation: sec-up .8s var(--sec-out) .6s both; }
.sec-report { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px 24px 20px; transition: transform .5s var(--sec-out); text-align: left; }
.sec-report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.sec-report-top b { display: block; font-size: 16px; color: var(--text); }
.sec-report-top small { display: block; font-size: 13.5px; color: var(--text-3); margin-top: 2px; }
.sec-tag { font-size: 13px; color: var(--text-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; }
.sec-rows { list-style: none; margin: 0; padding: 0; }
.sec-rows li { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.sev { font-size: 12.5px; font-weight: 600; text-align: center; border-radius: 8px; padding: 4px 0; }
.sev.crit { color: var(--sev-crit-ink); background: var(--sev-crit-bg); box-shadow: 0 0 0 1px rgba(227, 20, 27, .35), 0 2px 10px -2px rgba(227, 20, 27, .45); }
.sev.high { color: var(--sev-high); background: var(--sev-high-bg); }
.sev.med { color: var(--sev-med-ink); background: var(--sev-med-bg); }
.sev.low { color: var(--sev-low); background: var(--sev-low-bg); }
.state { font-size: 12.5px; font-weight: 600; min-width: 64px; text-align: center; border-radius: 999px; padding: 4px 12px; color: var(--sec-crit); background: var(--sec-crit-bg); transition: color .35s ease, background-color .35s ease; }
.state::before { content: "Open"; }
.sec-rows li.fixed .state { color: var(--sec-fix); background: var(--sec-fix-bg); }
.sec-rows li.fixed .state::before { content: "Fixed"; }
.sec-bar { height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin: 16px 0 8px; }
.sec-bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 1)); background: var(--sec-fix); border-radius: inherit; transition: transform .6s var(--sec-out); }
.sec-report-foot { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-3); }

/* ---------- band ---------- */
.sec-band { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, var(--sec-mask) 12%, var(--sec-mask) 88%, transparent); mask-image: linear-gradient(90deg, transparent, var(--sec-mask) 12%, var(--sec-mask) 88%, transparent); }
.sec-track { display: flex; width: max-content; animation: sec-slide 40s linear infinite; }
.sec-band:hover .sec-track { animation-play-state: paused; }
.sec-track span { padding: 0 28px; font-size: 16px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.sec-track span + span { border-left: 1px solid var(--line-2); }
@keyframes sec-slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec .cl-sec { padding: clamp(80px, 10vw, 128px) 0 0; }
.sec .st-last { padding-bottom: clamp(80px, 10vw, 128px); }
.sec-head { text-align: center; margin: 0 auto 44px; max-width: 680px; }
.sec-head .cl-h2 { margin-bottom: 12px; overflow-wrap: break-word; min-width: 0; }
.sec-sub { margin: 0; font-size: 18px; color: var(--text-2); }

.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sec-card, .sec-plan, .sec-steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .35s var(--sec-out), box-shadow .35s var(--sec-out), border-color .25s ease; }
.sec-card::after, .sec-plan::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(360px circle at var(--x, 50%) var(--y, 50%), var(--sec-spot), transparent 65%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .sec-card:hover, .sec-plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
  .sec-steps li:hover { border-color: var(--line-2); }
  .sec-steps li:hover .sec-n { transform: scale(1.08); }
  .sec-card:hover::after, .sec-plan:hover::after { opacity: 1; }
  .sec-card:hover .sec-ic { transform: translateY(-2px) rotate(-4deg); }
}
.sec-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--bg-2); color: var(--text); margin-bottom: 26px; transition: transform .35s var(--sec-out); }
.sec-ic svg { width: 22px; height: 22px; }
.sec-card h3, .sec-steps h3, .sec-plan h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.sec-card p, .sec-steps p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }

.sec-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.sec-n { transition: transform .3s cubic-bezier(.23, 1, .32, 1); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 15px; margin-bottom: 22px; }

/* pricing */
.sec-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 920px; margin: 0 auto; }
.sec-plan { display: flex; flex-direction: column; padding: 32px; }
.sec-plan h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sec-pill { font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--bg-2); border-radius: 999px; padding: 4px 10px; letter-spacing: 0; }
.sec-price { margin: 10px 0 0; font-family: var(--font-display); font-size: 52px; font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.sec-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-3); }
.sec-for { margin: 12px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 15.5px; }
.sec-plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; font-size: 16px; color: var(--text); }
.sec-plan li { display: flex; gap: 10px; align-items: flex-start; }
.sec-plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--sec-fix); }
.sec-plan li.no { color: var(--text-2); }
.sec-plan li.no svg { color: var(--sec-no); }
.sec-num { font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.sec-num.plus { color: var(--sec-num-plus); }
.sec-plan .btn { margin-top: auto; width: 100%; }
.sec-plan-plus { border-color: var(--text); box-shadow: 0 0 0 1px var(--text), var(--shadow); }
.sec-note { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--text-3); }

/* faq */
.sec-faqs { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.sec-faqs details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s ease; interpolate-size: allow-keywords; }
.sec-faqs details:hover, .sec-faqs details[open] { border-color: var(--line-2); }
.sec-faqs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 600; color: var(--text); border-radius: 18px; }
.sec-faqs summary::-webkit-details-marker { display: none; }
.sec-faqs summary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.sec-plus { width: 18px; height: 18px; flex: none; color: var(--text-3); transition: transform .3s var(--sec-out); }
.sec-faqs details[open] .sec-plus { transform: rotate(45deg); color: var(--text); }
.sec-faqs details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--sec-out), content-visibility .35s allow-discrete; }
.sec-faqs details[open]::details-content { block-size: auto; }
.sec-faqs p { margin: 0; padding: 0 22px 20px; color: var(--text-2); font-size: 16px; }
.sec-faqs a { color: var(--text); }

/* tools */
.sec-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }

/* final */
.sec-final { padding: 0 0 clamp(80px, 10vw, 128px); }
.sec-final-card { position: relative; overflow: hidden; isolation: isolate; text-align: center; border-radius: var(--radius-xl); padding: clamp(56px, 7vw, 88px) 24px; background: var(--sec-final-bg); color: var(--sec-final-ink); }
.sec-final-card::before { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%; left: var(--x, 50%); top: var(--y, 50%); transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--sec-spot), transparent); opacity: .9; pointer-events: none; }
:root:not([data-theme="dark"]) .sec-final-card::before { background: radial-gradient(closest-side, var(--sec-glow-light), transparent); }
.sec-final-card h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.06; }
.sec-final-card p { margin: 0 auto 28px; max-width: 520px; font-size: 18px; color: var(--sec-final-ink-2); }
.sec-light { background: var(--sec-final-ink); color: var(--sec-final-bg); }
.sec-light:hover { opacity: .92; }

/* ---------- contact page ---------- */
.sec-contact { padding: clamp(48px, 7vw, 88px) 0 clamp(80px, 10vw, 128px); }
.sec-contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.sec-contact h1 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(40px, 5.4vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; color: var(--text); overflow-wrap: break-word; min-width: 0; }
.sec-contact .sec-lead { animation: none; margin-bottom: 28px; }
.sec-mail { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; margin-bottom: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.sec-mail small { display: block; font-size: 13.5px; color: var(--text-3); margin-bottom: 4px; }
.sec-mail b { font-size: 17px; font-weight: 600; color: var(--text); word-break: break-all; }
.sec-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.sec-next li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.sec-next .sec-n { margin: 0; width: 32px; height: 32px; font-size: 14px; }
.sec-next b { display: block; color: var(--text); font-weight: 600; }
.sec-next span { color: var(--text-2); font-size: 15.5px; }
.sec-next .sec-n { color: var(--bg); font-size: 14px; }
.sec-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); }
.sec-field { display: grid; gap: 8px; margin-bottom: 18px; }
.sec-field label { font-size: 14.5px; font-weight: 600; color: var(--text); }
.sec-field .opt { font-weight: 400; color: var(--text-3); }
.sec-form input, .sec-form select, .sec-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .2s ease; }
.sec-form textarea { min-height: 150px; resize: vertical; }
.sec-form input:hover, .sec-form select:hover, .sec-form textarea:hover { border-color: var(--text-3); }
.sec-form input:focus-visible, .sec-form select:focus-visible, .sec-form textarea:focus-visible { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px var(--sec-spot); }
.sec-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.sec-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sec-form .btn { width: 100%; }
.sec-form .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.sec-small { margin: 14px 0 0; font-size: 13.5px; color: var(--text-3); }
.sec-small a { color: var(--text-2); }
.sec-alert { display: none; margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; color: var(--sec-crit); background: var(--sec-crit-bg); }
.sec-alert.show { display: block; }
.sec-done { max-width: 560px; margin: 0 auto; text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.sec-done .sec-ic { margin: 0 auto 22px; color: var(--sec-fix); background: var(--sec-fix-bg); width: 60px; height: 60px; border-radius: 18px; }
.sec-done .sec-ic svg { width: 28px; height: 28px; }
.sec-done h1 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(36px, 5vw, 52px); font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.sec-done p { margin: 0 0 28px; color: var(--text-2); font-size: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .sec-grid, .sec-steps, .sec-plans, .sec-tool-grid, .sec-contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .sec-ctas .btn { width: 100%; }
  .sec-rows li { grid-template-columns: 70px minmax(0, 1fr); row-gap: 8px; }
  .sec-rows .state { grid-column: 2; justify-self: start; }
  .sec-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sec-plan { padding: 24px; }
  .sec-price { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .sec-lead, .sec-ctas, .sec-fine, .sec-report-wrap { animation: none; }
  .sec-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .sec-track span[aria-hidden="true"] { display: none; }
  .sec-report, .sec-card, .sec-plan, .sec-steps li, .sec-ic, .sec-go svg, .state, .sec-bar i, .sec-plus { transition: none; }
  .sec-faqs details::details-content { transition: none; }
}

/* fixes after render check */
.sec .cl-h2 { color: var(--text); background: none; -webkit-text-fill-color: currentColor; }
.st-grid.sec-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; }
.st-grid.sec-tool-grid .st-card { grid-column: auto; }
@media (max-width: 900px) { .st-grid.sec-tool-grid { grid-template-columns: minmax(0, 1fr); } }
body[data-product] .st-grid.sec-tool-grid .st-card.st-big { grid-column: auto; }
.sec .sec-head { display: block; }
.sec .sec-head .cl-h2 { display: block; width: auto; max-width: none; }
/* calm.css hides .cl-head on the hub page; the security sections need their headings */
body[data-product="hub"] .sec .sec-head { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0 auto 44px; text-align: center; }
body[data-product="hub"] .footer-grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { body[data-product="hub"] .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- checks switcher (hallmark Switcher: tabs + one real state each; all states visible without script) ---------- */
.sec-switch { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; max-width: 1040px; margin: 0 auto; align-items: start; }
.sec-tabs { display: grid; gap: 4px; }
.sec-tab { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px 16px; border: 1px solid transparent; border-radius: 16px; background: none; color: var(--text-2); font: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; overflow: hidden; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s var(--sec-out); }
.sec-tab svg { width: 40px; height: 40px; padding: 10px; flex: none; border-radius: 12px; background: var(--bg-2); color: var(--text); transition: background-color .2s ease, color .2s ease, transform .3s var(--sec-out); }
.sec-tab:hover { background: var(--bg-2); color: var(--text); }
.sec-tab:hover svg { transform: rotate(-4deg); }
.sec-tab:active { transform: scale(.98); }
.sec-tab:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.sec-tab[aria-selected="true"] { background: var(--surface); border-color: var(--line-2); color: var(--text); box-shadow: var(--shadow-sm); }
.sec-tab[aria-selected="true"] svg { background: var(--text); color: var(--bg); }
.sec-tab::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--text-3); transform: scaleX(0); transform-origin: left; opacity: 0; }
.sec-switch.auto .sec-tab[aria-selected="true"]::after { opacity: .5; animation: sec-tick var(--sec-dwell, 5s) linear forwards; }
.sec-switch.paused .sec-tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes sec-tick { to { transform: scaleX(1); } }

.sec-panels { display: grid; gap: 16px; position: sticky; top: 96px; }
.sec-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; }
.sec-panel[hidden] { display: none; }
.sec-panel h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.025em; color: var(--text); }
.sec-case { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.sec-case p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--text); }
.sec-chip { justify-self: start; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 4px 12px; }
.sec-case.risk .sec-chip { color: var(--sec-crit); background: var(--sec-crit-bg); }
.sec-case.fix .sec-chip { color: var(--sec-fix); background: var(--sec-fix-bg); }
/* scripted: the risk lands, then the fix arrives and the risk steps back */
.sec-switch.js .sec-panel .sec-case { opacity: 0; transform: translateY(8px); }
.sec-switch.js .sec-panel.on .sec-case.risk { animation: sec-case-in .45s var(--sec-out) .05s forwards, sec-case-dim .4s ease 1.25s forwards; }
.sec-switch.js .sec-panel.on .sec-case.fix { animation: sec-case-in .5s var(--sec-out) .95s forwards; }
@keyframes sec-case-in { to { opacity: 1; transform: none; } }
@keyframes sec-case-dim { from { opacity: 1; transform: none; } to { opacity: .8; transform: none; } }

@media (max-width: 900px) {
  .sec-switch { grid-template-columns: minmax(0, 1fr); }
  .sec-panels { position: static; }
  .sec-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; gap: 8px; overscroll-behavior-x: contain; scrollbar-width: none; }
  .sec-tabs::-webkit-scrollbar { display: none; }
  .sec-tab { scroll-snap-align: start; padding: 8px 14px 8px 8px; font-size: 15px; gap: 10px; border-color: var(--line); }
  .sec-tab svg { width: 32px; height: 32px; padding: 7px; border-radius: 10px; }
  .sec-tab::after { display: none; }
  .sec-panel { padding: 24px; }
  .sec-case { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 900px) {
  .sec-hero-grid { grid-template-columns: minmax(0, 1fr); padding: 0 4px; }
  .sec-report-wrap { margin: 0 auto; max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .sec-tab, .sec-tab svg { transition: none; }
  .sec-switch.js .sec-panel .sec-case { opacity: 1; transform: none; animation: none !important; }
  .sec-switch.auto .sec-tab[aria-selected="true"]::after { animation: none; }
}

.sec-head .cl-h2, .sec-final-card h2, .sec-panel h3 { text-wrap: balance; }
/* contact: Turnstile slot, order note, request number */
.sec-turnstile { margin: 4px 0 16px; min-height: 0; }
.sec-turnstile:empty { display: none; }
.sec-order { margin: 0 0 12px; }
.sec-ref { margin: -12px 0 28px; color: var(--text-2); font-size: 16px; }

/* ---------- checks: all 8 at a glance (before in red, after in green) ---------- */
:root { --cmp-bad-bg: rgba(220, 38, 38, .07); --cmp-bad-ink: #b42318; --cmp-good-bg: rgba(21, 128, 61, .08); --cmp-good-ink: #166534; }
:root[data-theme="dark"] { --cmp-bad-bg: rgba(255, 99, 88, .09); --cmp-bad-ink: #ff8b80; --cmp-good-bg: rgba(94, 224, 143, .08); --cmp-good-ink: #6ee7a0; }
.sec-cmp-wrap { max-width: 1040px; margin: 56px auto 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.sec-cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15.5px; line-height: 1.45; color: var(--text); }
.sec-cmp caption { caption-side: top; text-align: left; padding: 20px 24px 14px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.sec-cmp th, .sec-cmp td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.sec-cmp thead th { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); background: var(--bg-2); }
.sec-cmp thead th:first-child { width: 22%; }
.sec-cmp thead th.bad { color: var(--cmp-bad-ink); }
.sec-cmp thead th.good { color: var(--cmp-good-ink); }
.sec-cmp tbody th { font-weight: 600; white-space: nowrap; }
.sec-cmp tbody th, .sec-cmp td > span:last-child { overflow-wrap: break-word; }
.sec-cmp-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; margin: -4px 10px -4px 0; vertical-align: middle; border-radius: 9px; background: var(--bg-2); color: var(--text); }
.sec-cmp-ic svg { width: 17px; height: 17px; }
.sec-cmp td { position: relative; padding-left: 44px; }
.sec-cmp-mark { position: absolute; left: 16px; top: 16px; }
.sec-cmp-mark svg { width: 17px; height: 17px; display: block; }
.sec-cmp-mark { color: var(--text-3); }
.sec-cmp td.bad b.hl { color: var(--cmp-bad-ink); font-weight: 650; }
.sec-cmp td.good b.hl { color: var(--cmp-good-ink); font-weight: 650; }
.sec-cmp tbody tr { transition: background-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .sec-cmp tbody tr:hover th { background: var(--bg-2); } }
.sec-case p b { font-weight: 650; }
@media (max-width: 760px) {
  .sec-cmp, .sec-cmp tbody, .sec-cmp tr, .sec-cmp th, .sec-cmp td { display: block; width: auto; }
  .sec-cmp thead { display: none; }
  .sec-cmp caption { display: block; width: auto; padding: 18px 18px 10px; }
  .sec-cmp tbody tr { border-top: 1px solid var(--line); padding: 6px 0; }
  .sec-cmp tbody th { border: 0; padding: 14px 18px 8px; white-space: normal; }
  .sec-cmp td { border: 0; margin: 0 12px 8px; border-radius: 12px; background: var(--bg-2); }
}

/* ---------- statement band: the first thing after the first scroll ---------- */
.sec-say { padding: clamp(72px, 9vw, 120px) 0 0; text-align: center; }
.sec-say-line { margin: 0 auto; max-width: 900px; font-family: var(--font-display); font-size: clamp(28px, 4.2vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; color: var(--text); text-wrap: balance; }
.sec-say-2 { margin-top: 10px; color: var(--text-2); }
.sec-say b { font-weight: 700; }
.sec-say b.bad { color: var(--cmp-bad-ink); }
.sec-say b.good { color: var(--cmp-good-ink); }
.sec-say-2.reveal { transition-delay: .25s; }

/* ---------- light mode: stronger accents (dark mode already reads well) ---------- */
:root:not([data-theme="dark"]) {
  --sec-fix: #16a34a; --sec-no: #dc2626; --sec-num-plus: #16a34a;
  --cmp-bad-ink: #c81e1e; --cmp-good-ink: #15803d;
}
:root:not([data-theme="dark"]) .sec-say b.bad { color: #e01b1b; }
:root:not([data-theme="dark"]) .sec-say b.good { color: #16a34a; }
:root:not([data-theme="dark"]) .sec-say-2 { color: var(--text); }
:root:not([data-theme="dark"]) .sec-plan { background: #ffffff; border-color: var(--line-2); box-shadow: 0 1px 2px rgba(12, 12, 20, .05), 0 12px 32px -16px rgba(12, 12, 20, .18); }
:root:not([data-theme="dark"]) .sec-plan-plus { border-color: #0c0c14; box-shadow: 0 0 0 1px #0c0c14, 0 18px 40px -18px rgba(12, 12, 20, .35); }
:root:not([data-theme="dark"]) .sec-num { color: #52525b; }
:root:not([data-theme="dark"]) .sec-num.plus { color: #16a34a; }
:root:not([data-theme="dark"]) .sec-plan li { color: #19191d; }
:root:not([data-theme="dark"]) .sec-plan li.no { color: #52525b; }
:root:not([data-theme="dark"]) .sec-cmp-wrap { background: #ffffff; }

/* contact: "See pricing" card under the steps */
.sec-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; }
.sec-buy b { display: block; color: var(--text); font-weight: 600; }
.sec-buy span { display: block; color: var(--text-2); font-size: 14.5px; margin-top: 2px; }
.sec-buy .btn { flex: none; }
.sec-buy .btn svg { width: 16px; height: 16px; }
@media (max-width: 480px) { .sec-buy { flex-direction: column; align-items: stretch; } }

/* ---------- founder (who does the work) ---------- */
.sec-about-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; max-width: 860px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.sec-about-photo { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; display: block; border: 1px solid var(--line); background: var(--bg-2); }
.sec-about-title { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; color: var(--text); }
.sec-about-copy p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
.sec-about-copy p:first-of-type { color: var(--text); }
.sec-about-facts { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--text-2); }
.sec-about-facts a { color: var(--text); text-underline-offset: 3px; }
@media (max-width: 560px) {
  .sec-about-card { grid-template-columns: minmax(0, 1fr); }
  .sec-about-photo { width: 92px; height: 92px; }
}

/* final band: two actions */
.sec-final-ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; align-items: center; }
.sec-final-link { color: var(--sec-final-ink); font-weight: 500; font-size: 16px; text-underline-offset: 4px; }
.sec-final-link:hover { opacity: .8; }

/* ---------- notes (articles) ---------- */
.note { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 104px); }
.note h1 { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; margin: 10px 0 22px; color: var(--text); text-wrap: balance; }
.note h2 { font-size: 22px; font-weight: 600; margin: 38px 0 10px; letter-spacing: -.015em; color: var(--text); }
.note p, .note li { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.note p { margin: 0 0 14px; }
.note strong { color: var(--text); font-weight: 600; }
.note code { font: 14.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-2); padding: 1px 5px; border-radius: 6px; overflow-wrap: anywhere; color: var(--text); }
.note a:not(.btn) { color: var(--text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.note ol, .note ul { padding-left: 22px; margin: 0 0 14px; }
.note #sources + ol li { font-size: 14.5px; line-height: 1.55; }
.note-kicker { font-size: 14px; color: var(--text-3); margin: 0; }
.note-kicker a { color: var(--text-3); }
.note-lead { font-size: 19px !important; }
.note-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; margin: 24px 0; }
.note-card { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .2s ease, transform .3s var(--sec-out); }
.note-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.note-card b { font-size: 19px; color: var(--text); letter-spacing: -.01em; }
.note-card span { color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.note-card small { color: var(--text-3); font-size: 13.5px; }
.note-cta { margin-top: 44px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); }
.note-cta h2 { margin: 0 0 8px; }
.note-cta p { margin: 0; }
.note-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- trust points (shown while the founder section is hidden) ---------- */
.sec-trust-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sec-trust-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); display: grid; gap: 6px; align-content: start; }
.sec-trust-grid b { font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.sec-trust-grid span { font-size: 15px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 900px) { .sec-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sec-trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- sample report landing ---------- */
.sample-table { width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: 15px; }
.sample-table th { text-align: left; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
.sample-table td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.sample-table td:first-child { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; white-space: nowrap; }
.sample-table td:last-child { color: var(--sec-fix); font-weight: 600; }
.sample .sev { display: inline-block; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.sample .sev.crit { background: var(--sev-crit-bg); color: var(--sev-crit-ink); }
.sample .sev.high { background: var(--sev-high-bg); color: var(--sev-high); }
.sample .sev.med { background: var(--sev-med-bg); color: var(--sev-med-ink); }
.sample .sev.low { background: var(--sev-low-bg); color: var(--sev-low); }
@media (max-width: 560px) { .sample-table th:nth-child(4), .sample-table td:nth-child(4) { display: none; } }
