/* Lokstack marketing site components. Uses site-tokens.css / tokens.css variables only. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--w-header) + 16px); }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-sans); font-size: var(--w-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: var(--tracking-heading); font-weight: var(--fw-bold); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code, kbd { font-family: var(--font-mono); font-size: .92em; }
:focus-visible { outline: 3px solid var(--c-ring); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--c-primary); color: var(--c-on-primary); padding: 10px 16px; border-radius: 10px; font-weight: var(--fw-semibold); text-decoration: none; transition: top var(--t-hover) var(--ease-out); }
.skip:focus { top: 12px; color: var(--c-on-primary); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--w-gutter), var(--w-max)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--w-gutter), var(--w-narrow)); }
.section { padding-block: var(--w-section); }
.section--tint { background: var(--c-surface-2); }
.section--band { background: var(--c-band); color: var(--c-band-text); }
.section--band .muted, .section--band .lead { color: var(--c-band-muted); }
.section--band a:not(.btn) { color: var(--sp-brand-300); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { font-size: var(--w-micro); font-weight: var(--fw-bold); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--c-primary); margin-bottom: 14px; }
.section--band .eyebrow { color: var(--sp-brand-300); }
h1.display { font-size: var(--w-display); line-height: 1.02; letter-spacing: var(--tracking-display); font-weight: var(--fw-black); }
h1 { font-size: var(--w-h1); letter-spacing: var(--tracking-display); font-weight: var(--fw-black); }
h2 { font-size: var(--w-h2); font-weight: var(--fw-black); }
h3 { font-size: var(--w-h3); letter-spacing: -.01em; }
.lead { font-size: var(--w-lead); line-height: 1.5; color: var(--c-muted); margin-top: 18px; }
.muted { color: var(--c-muted); }
.small { font-size: var(--w-small); }
.mono { font-family: var(--font-mono); }
.mint { color: var(--c-primary); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 0 22px; border-radius: var(--btn-radius);
  font: var(--fw-semibold) 1rem var(--font-sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  background: var(--c-primary); color: var(--c-on-primary);
  transition: background-color var(--t-hover) var(--ease-out), border-color var(--t-hover) var(--ease-out), transform var(--t-press) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
.btn:hover { background: var(--c-primary-hover); color: var(--c-on-primary); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--secondary { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border-strong); }
.btn--secondary:hover { background: var(--c-surface-2); color: var(--c-text); }
.btn--ghost { background: transparent; color: var(--c-text); }
.btn--ghost:hover { background: var(--c-surface-2); color: var(--c-text); }
.btn--on-dark { background: var(--c-band-text); color: var(--sp-forest); }
.btn--on-dark:hover { background: var(--sp-white); color: var(--sp-forest); }
.btn--outline-dark { background: transparent; color: var(--c-band-text); border-color: rgba(255, 255, 255, .28); }
.btn--outline-dark:hover { background: rgba(255, 255, 255, .08); color: var(--c-band-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--w-header); background: var(--header-bg); border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); transition: border-color var(--t-hover) var(--ease-out); }
.header.is-scrolled { border-bottom-color: var(--c-border); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--fw-black); font-size: 1.25rem; letter-spacing: -.02em; color: var(--c-text); text-decoration: none; }
.logo:hover { color: var(--c-text); }
.logo img { width: 32px; height: 32px; }
.logo b { color: var(--c-primary); font-weight: inherit; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { position: relative; padding: 8px 14px; border-radius: 10px; color: var(--c-muted); font-weight: var(--fw-medium); font-size: .975rem; text-decoration: none;
  transition: color var(--t-hover) var(--ease-out), background-color var(--t-hover) var(--ease-out); }
.nav a:not(.btn):hover { color: var(--c-text); background: var(--c-surface-2); }
.nav a[aria-current="page"] { color: var(--c-text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--c-primary); }
.nav .btn { --btn-h: 40px; padding: 0 16px; margin-left: 8px; font-size: .95rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--c-border-strong); background: var(--c-surface); color: var(--c-text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: var(--w-header); flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px var(--w-gutter) 20px;
    background: var(--c-bg); border-bottom: 1px solid var(--c-border); box-shadow: var(--card-shadow);
    opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity var(--t-swap) var(--ease-out), transform var(--t-swap) var(--ease-out), visibility 0s linear var(--t-swap); }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 8px 0 0; --btn-h: 48px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); text-align: center; overflow: clip; }
.hero .badge-line { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: var(--radius-pill); background: var(--c-tint); color: var(--c-primary); font-size: var(--w-small); font-weight: var(--fw-semibold); margin-bottom: 28px; }
.hero .badge-line i { font-style: normal; background: var(--c-primary); color: var(--c-on-primary); border-radius: var(--radius-pill); padding: 2px 10px; font-size: var(--w-micro); }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero .lead { max-width: 640px; margin: 24px auto 0; }
.hero .btn-row { justify-content: center; margin-top: 36px; }
.fine { margin-top: 18px; font-size: var(--w-small); color: var(--c-muted); }
.fine span + span::before { content: "·"; margin: 0 .6em; }
.hero-stage { position: relative; margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1080px; }

/* Product window frame */
.window { border-radius: 14px; box-shadow: var(--window-shadow); background: var(--c-surface); overflow: hidden; border: 1px solid var(--c-border); }
.window picture, .window img { width: 100%; }
.shot { border-radius: 14px; filter: drop-shadow(0 30px 50px rgba(22, 24, 22, .16)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .shot { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); } }

/* "Why it will not start" demo card */
.float-card { position: absolute; right: -14px; bottom: -36px; width: min(380px, 78%); text-align: left; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 18px;
  box-shadow: var(--window-shadow); padding: 18px 18px 16px; }
.float-card h3 { font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; letter-spacing: 0; }
.float-card .state { font-size: var(--w-micro); font-weight: var(--fw-semibold); padding: 3px 10px; border-radius: var(--radius-pill); background: var(--sp-amber-soft); color: var(--sp-amber-900); transition: background-color var(--t-swap) var(--ease-out), color var(--t-swap) var(--ease-out); }
.float-card.is-ready .state { background: var(--sp-green-soft); color: var(--sp-brand-500); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .float-card .state { background: var(--c-pro-bg); color: var(--c-pro-text); }
  :root:not([data-theme="light"]) .float-card.is-ready .state { background: var(--c-tint); color: var(--c-primary); } }
.blockers li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--c-border); font-size: .9rem; line-height: 1.3; }
.blockers li:first-child { border-top: 0; }
.blockers .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-amber-soft); color: var(--sp-amber-900); transition: background-color var(--t-swap) var(--ease-out), color var(--t-swap) var(--ease-out), transform var(--t-swap) var(--ease-spring); }
.blockers .dot svg { width: 12px; height: 12px; stroke-width: 3; }
.blockers .dot .ok { display: none; }
.blockers li.is-fixed .dot { background: var(--c-primary); color: var(--c-on-primary); transform: scale(1.08); }
.blockers li.is-fixed .dot .ok { display: block; }
.blockers li.is-fixed .dot .warn { display: none; }
.blockers li.is-fixed .fix { opacity: .45; }
.blockers .fix { font: var(--fw-semibold) .8rem var(--font-sans); padding: 5px 10px; border-radius: 8px; border: 1px solid var(--c-border-strong); background: var(--c-surface); color: var(--c-text); transition: opacity var(--t-swap) var(--ease-out), transform var(--t-press) var(--ease-out); }
.blockers li.is-pressing .fix { transform: scale(.94); }
.blockers b { font-weight: var(--fw-semibold); }
.blockers small { display: block; color: var(--c-muted); font-size: .8rem; }
.float-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-border); font-size: .85rem; color: var(--c-muted); }
.replay { font: var(--fw-semibold) .8rem var(--font-sans); background: none; border: 0; color: var(--c-primary); cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.replay:hover { text-decoration: underline; }
@media (max-width: 820px) { .float-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 20px; } }

/* ---------- Trust bar ---------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: clamp(72px, 8vw, 104px); color: var(--c-muted); font-size: var(--w-small); font-weight: var(--fw-medium); }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust svg { width: 20px; height: 20px; color: var(--c-primary); }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--card-radius); padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--card-shadow);
  transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out), border-color var(--t-hover) var(--ease-out); }
a.card { text-decoration: none; color: inherit; display: block; }
@media (hover: hover) { .card--lift:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); border-color: var(--c-border-strong); } }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--c-muted); font-size: 1rem; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-tint); color: var(--c-primary); flex: none; }
.icon svg { width: 22px; height: 22px; }
.pain { font-size: 1rem; color: var(--c-muted); }
.pain b { color: var(--c-text); font-weight: var(--fw-semibold); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); display: grid; place-items: center; font-weight: var(--fw-bold); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--c-muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 14px; background: var(--c-surface-2); width: fit-content; max-width: 100%; margin-bottom: 28px; }
.tabs [role="tab"] { font: var(--fw-semibold) .95rem var(--font-sans); padding: 10px 16px; border-radius: 10px; border: 0; background: transparent; color: var(--c-muted); cursor: pointer;
  transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), transform var(--t-press) var(--ease-out); }
.tabs [role="tab"]:hover { color: var(--c-text); }
.tabs [role="tab"]:active { transform: scale(.97); }
.tabs [role="tab"][aria-selected="true"] { background: var(--c-surface); color: var(--c-text); box-shadow: 0 1px 3px rgba(22, 24, 22, .12); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering .tab-art { animation: swap var(--t-swap) var(--ease-out) both; }
.tab-panel.is-entering .tab-copy { animation: swap var(--t-swap) var(--ease-out) 40ms both; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-copy h3 { font-size: var(--w-h2); font-weight: var(--fw-black); letter-spacing: var(--tracking-heading); margin-bottom: 14px; }
.tab-copy p { color: var(--c-muted); font-size: var(--w-lead); line-height: 1.5; }
@media (max-width: 900px) { .tab-panel { grid-template-columns: minmax(0, 1fr); } .tab-art { order: -1; } }

/* Checklists */
.ticks { display: grid; gap: 12px; margin-top: 22px; align-content: start; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006C49' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.badge { display: inline-block; font-size: .72rem; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; vertical-align: .12em; margin-left: 6px; background: var(--c-tint); color: var(--c-primary); }
.badge--pro { background: var(--c-pro-bg); color: var(--c-pro-text); }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--card-radius); background: var(--c-surface); box-shadow: var(--card-shadow); }
table { width: 100%; border-collapse: collapse; font-size: var(--w-small); min-width: 640px; }
th, td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--c-border); }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--c-surface-2); font-weight: var(--fw-semibold); position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
td.us, th.us { background: var(--c-tint); font-weight: var(--fw-semibold); }
.yes { color: var(--c-primary); font-weight: var(--fw-bold); }
.no { color: var(--c-muted); }
.section-row td { text-align: left; background: var(--c-surface-2); font-size: var(--w-micro); font-weight: var(--fw-bold); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--c-muted); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; max-width: 900px; margin-inline: auto; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 24px; padding: clamp(26px, 3vw, 40px); box-shadow: var(--card-shadow); }
.plan--pro { border-color: var(--c-primary); box-shadow: 0 0 0 1px var(--c-primary), var(--card-shadow-hover); position: relative; }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.price { margin: 18px 0 4px; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: var(--fw-black); letter-spacing: var(--tracking-display); line-height: 1; }
.price small { display: block; margin-top: 8px; font-size: 1rem; font-weight: var(--fw-medium); color: var(--c-muted); letter-spacing: 0; }
.plan .ticks { margin: 24px 0 32px; flex: 1; }
.plan .btn { width: 100%; }
.price-note { font-size: var(--w-small); color: var(--c-muted); min-height: 2.9em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-border); }
.faq details { border-bottom: 1px solid var(--c-border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 1.125rem; font-weight: var(--fw-semibold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: currentColor; color: var(--c-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--t-swap) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 4px 24px; color: var(--c-muted); max-width: 70ch; }
.faq .answer p + p { margin-top: 12px; }

/* ---------- Privacy / dark band ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.fact { padding: 26px; border-radius: var(--card-radius); background: var(--c-band-2); border: 1px solid rgba(255, 255, 255, .08); }
.fact h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--c-band-text); }
.fact p { color: var(--c-band-muted); font-size: 1rem; }
.fact .mono { color: var(--sp-brand-300); }
@media (max-width: 820px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { max-width: 560px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Feature rows (features page) ---------- */
.frow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--c-border); }
.frow:first-of-type { border-top: 0; }
.frow--flip .frow-art { order: -1; }
.frow h2 { font-size: var(--w-h2); margin-bottom: 14px; }
.frow p.lead { margin-top: 0; }
@media (max-width: 900px) { .frow { grid-template-columns: minmax(0, 1fr); } .frow--flip .frow-art { order: 0; } }
.page-hero { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(24px, 4vw, 48px); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 640px; }
.crumbs { font-size: var(--w-small); color: var(--c-muted); margin-bottom: 18px; }
.crumbs a { color: var(--c-muted); }

/* Steps list (download) */
.install { display: grid; gap: 14px; counter-reset: step; }
.install li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 18px 20px; border: 1px solid var(--c-border); border-radius: 16px; background: var(--c-surface); }
.install li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center; font-weight: var(--fw-bold); }
.install p { color: var(--c-muted); margin-top: 4px; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; background: var(--c-surface); }
.spec div { padding: 16px 20px; border-bottom: 1px solid var(--c-border); }
.spec div:nth-child(odd) { color: var(--c-muted); background: var(--c-surface-2); }
.spec div:nth-last-child(-n+2) { border-bottom: 0; }
.note { padding: 18px 20px; border-radius: 16px; background: var(--c-tint); border: 1px solid var(--c-border); color: var(--c-text); }
.note strong { color: var(--c-primary); }
.prose h2 { font-size: 1.6rem; margin: 48px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--c-muted); }
.prose p + p, .prose ul { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.person { display: flex; gap: 20px; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--sp-forest); color: var(--sp-brand-300); display: grid; place-items: center; font-weight: var(--fw-black); font-size: 1.5rem; flex: none; }

/* ---------- Footer ---------- */
.footer { padding-block: 64px 40px; border-top: 1px solid var(--c-border); background: var(--c-surface-2); font-size: var(--w-small); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font-size: var(--w-micro); letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--c-muted); margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { color: var(--c-text); text-decoration: none; }
.footer a:hover { color: var(--c-primary); text-decoration: underline; }
.footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-border); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--c-muted); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Motion: reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); filter: blur(4px);
  transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out), filter var(--t-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
/* Hero entrance: one coordinated moment on load */
.js .rise { animation: rise 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(5px); } to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .rise { opacity: 1; transform: none; filter: none; animation: none; transition: none; }
  .tab-panel.is-entering .tab-art, .tab-panel.is-entering .tab-copy { animation: none; }
  .btn, .card, .nav, .blockers .dot, .blockers .fix { transition: none; }
  .btn:active, .tabs [role="tab"]:active { transform: none; }
}
@media print { .header, .menu-btn, .cta-band, .float-card { display: none; } .js .reveal { opacity: 1; transform: none; filter: none; } }

/* Line icons (sprite symbols use currentColor strokes) */
.i, .icon svg, .btn svg, .trust svg, .blockers .dot svg, .menu-btn svg, .link-arrow svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semibold); text-decoration: none; margin-top: 20px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-hover) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .link-arrow svg { transition: none; } }
