/* validus-landing/site/src/assets/css/site.css — shared page components (P2 extraction). */
.section { max-width: var(--container); margin: 0 auto; padding: 88px 24px; }
.section-tint { background: var(--tint); }
.section-tint-full { background: var(--tint); }
.section-tint-full > .section { padding: 88px 24px; }
.section h2 { margin-bottom: 12px; }
.section .lede { color: var(--slate); font-size: 18px; max-width: 60ch; margin: 0 0 36px; }
.launch-ribbon { background: var(--evergreen); color: #fff; text-align: center; padding: 8px 20px; font-size: 13px; }
.launch-ribbon a { color: #fff; text-decoration: none; }
.launch-ribbon a:hover { text-decoration: underline; text-underline-offset: 3px; }
.launch-ribbon strong { color: #B8F4E7; margin-right: 4px; }
.home-meal-iq { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.home-meal-iq .lede { margin-bottom: 22px; }
.home-meal-iq-mark { width: 148px; aspect-ratio: 1; border-radius: 50%; background: var(--evergreen); color: #fff; display: grid; place-items: center; text-align: center; font: 600 19px var(--font-body); box-shadow: var(--shadow); }
.site-nav { display: flex; gap: 26px; margin-left: auto; margin-right: 26px; }
.site-nav a { color: var(--ink); text-decoration: none; font: 500 15px var(--font-body); padding: 10px 2px; }
.site-nav a[aria-current="page"] { color: var(--teal-deep); box-shadow: 0 2px 0 var(--teal-deep); }
.footer-cols { display: flex; gap: 64px; padding-bottom: 24px; flex-wrap: wrap; }
.footer-cols a { display: block; color: var(--slate); text-decoration: none; padding: 5px 0; font-size: 15px; }
.footer-cols a:hover { color: var(--teal-deep); }
.footer-head { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--evergreen); margin: 0 0 6px; }
.footer-disclaimer { font-size: 13px; color: var(--slate); border-top: 1px solid var(--line); padding-top: 20px; max-width: none; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font: 600 19px var(--font-body); color: var(--evergreen); margin: 0 0 8px; }
.card p { font-size: 15.5px; color: var(--slate); margin: 0; max-width: none; }
.status-chip { font-family: var(--font-data); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 5px; padding: 3px 8px; white-space: nowrap; }
.status-live { color: var(--good-ink); background: rgba(30,122,70,0.08); }
.status-coming { color: var(--amber-ink); background: rgba(138,90,0,0.08); }
.philosophy { font-size: 16.5px; color: var(--ink); border-left: 3px solid var(--teal-deep); padding-left: 16px; max-width: 60ch; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } .cards-2 { grid-template-columns: 1fr; } .site-nav { gap: 16px; margin-right: 12px; } }
.fact-chips { display:flex; gap:10px; flex-wrap:wrap; list-style:none; padding:0; margin: 0 0 22px; }
.fact-chips li { background:#fff; border:1px solid var(--line); border-radius:999px; padding:9px 16px; font-size:13px; color:var(--evergreen); }
.teaser { font-size:17px; }
.earlybird { color:var(--amber-ink); font-size:15px; }
.store-ctas { display:flex; gap:12px; margin-top:14px; }
.store-ctas img { display:block; height:44px; width:auto; }
.faq { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { font: 600 17px var(--font-body); color: var(--evergreen); padding: 18px 0; cursor: pointer; list-style-position: outside; }
.faq-item summary:hover { color: var(--teal-deep); }
.faq-item p { color: var(--slate); font-size: 15.5px; margin: 0 0 18px; max-width: 65ch; }
/* Fallback first: browsers without image-set() keep the JPEG declaration. */
.cta-band { background: linear-gradient(rgba(11,46,38,0.55), rgba(11,46,38,0.35)), url("/assets/img/cta-bg.jpg") center / cover no-repeat; }
.cta-band { background: linear-gradient(rgba(11,46,38,0.55), rgba(11,46,38,0.35)), image-set(url("/assets/img/cta-bg.avif") type("image/avif"), url("/assets/img/cta-bg.webp") type("image/webp"), url("/assets/img/cta-bg.jpg") type("image/jpeg")) center / cover no-repeat; }
.cta-band .section { padding: 96px 24px; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { max-width: 55ch; }
.btn-on-dark { background: #fff; color: var(--evergreen); }
.btn-on-dark:hover { background: var(--tint); color: var(--evergreen); }
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; list-style:none; padding:0; }
.steps li h3 { font:600 18px var(--font-body); color:var(--evergreen); margin:6px 0 6px; }
.steps li p { font-size:15px; color:var(--slate); max-width:none; }
.step-num { color:var(--teal-deep); font-size:13px; letter-spacing:0.1em; }
.step-img { width:100%; aspect-ratio:5/4; object-fit:cover; border-radius:12px; border:1px solid var(--line); margin-bottom:10px; }
.hiw-card { max-width:460px; }
.independence { margin-top:20px; font-size:15px; }
.feature-table { width:100%; border-collapse:collapse; font-size:15px; }
.feature-table th { text-align:left; font:600 13px var(--font-body); text-transform:uppercase; letter-spacing:0.06em; color:var(--slate); padding:10px 12px; border-bottom:2px solid var(--line); }
.feature-table td { padding:11px 12px; border-bottom:1px solid var(--line); }
@media (max-width:860px){ .steps{grid-template-columns:1fr 1fr;} .feature-table{font-size:14px;} }
.tier-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:36px; }
.tier-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; display:flex; flex-direction:column; }
.tier-featured { border-color:var(--teal-deep); box-shadow:var(--shadow); }
.tier-card h2 { font-size:24px; margin-bottom:2px; }
.tier-price { font-size:34px; color:var(--evergreen); margin:6px 0 0; }
.tier-price .mono { font-size:inherit; }
.tier-per { font-size:15px; color:var(--slate); }
.tier-trial { color:var(--good-ink); font-size:14px; margin:4px 0 0; }
.tier-features { list-style:none; padding:0; margin:18px 0 24px; flex:1; }
.tier-features li { display:flex; gap:8px; align-items:baseline; padding:7px 0; font-size:14.5px; border-bottom:1px solid var(--line); }
.tier-cta { justify-content:center; }
.billing-note { font-size:13px; color:var(--slate); margin-top:28px; }
.earlybird-banner { background:rgba(138,90,0,0.07); border-radius:10px; padding:12px 16px; max-width:none; }
@media (max-width:860px){ .tier-grid{grid-template-columns:1fr;} }
@media (max-width: 640px) { .home-meal-iq { grid-template-columns: 1fr; } .home-meal-iq-mark { display: none; } }

/* HIW polish (T9 visual pass): consistent step-header alignment, tighter intro,
   annotated result-card layout. */
.section-flush-top { padding-top: 24px; }
.steps li { display: flex; flex-direction: column; }
.steps .step-img { margin: 14px 0 0; }
/* .step-img's bottom-pin (margin:auto 0 0, below) is a flex-item alignment trick
   that only works on a DIRECT child of the flex container. Task 2 wrapped the
   <img> in a <picture> for AVIF/WebP sources, which would otherwise demote the
   img to a flex grandchild and silently break the alignment (CLS). Making the
   wrapper `display:contents` removes its own box so the img still participates
   in the flex layout exactly as before. */
.steps picture { display: contents; }
.hiw-result-grid { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 56px; align-items: start; }
.result-notes { list-style: none; padding: 12px 0 0; margin: 0; max-width: 46ch; }
.result-notes li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.result-notes .note-label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 4px; }
@media (max-width: 860px) { .hiw-result-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 640px) {
  .brand-name { font-size: 18px; }
  .site-nav { gap: 12px; margin-right: 10px; }
  .site-nav a { font-size: 14px; padding: 8px 0; }
  .btn-header { padding: 0 14px; font-size: 14px; min-height: 44px; }
  .site-header { padding: 12px 16px; }
}

/* Founders pricing in tier cards (owner 2026-08-08): founders price prominent,
   regular price struck; static scarcity line — never a live count. */
.tier-was { font-size: 16px; color: var(--slate); margin-left: 8px; }
.tier-was s { text-decoration-thickness: 1.5px; }
.tier-founders { color: var(--amber-ink); font-size: 13.5px; margin: 4px 0 0; }
.brand-mark { display: block; flex: none; }

/* Step cards: images pin to the bottom of each equal-height cell so copy of
   different lengths never staggers the image row. */
.steps .step-img { margin: auto 0 0; }
.steps li p { margin: 0 0 14px; }
.step-note { font-size: 14.5px; color: var(--slate); }

/* Hero store badges sit under the CTA row, tighter than the mid/final placements. */
.hero-copy .store-ctas { margin: -6px 0 22px; }

/* Science page (P5 Task 1): labeled limitation + changelog lists reuse the result-notes
   treatment without the HIW-specific grid; layer names keep their status chip on one line. */
.limits, .changelog { list-style: none; padding: 0; margin: 0; max-width: 72ch; }
.limits li, .changelog li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--slate); }
.limits .note-label, .changelog .note-label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 4px; }
.layer-name { white-space: nowrap; color: var(--evergreen); font-weight: 600; }
.version-note { font-size: 14px; color: var(--slate); margin-top: 20px; }
@media (max-width: 860px) { .layer-name { white-space: normal; } }

/* Legal + support pages (P4 Task 4): narrow measure for dense text. */
.section.legal { max-width: 74ch; }
.section.legal h1 { margin-bottom: 8px; }
.legal-date { color: var(--slate); font-size: 14px; margin: 0 0 40px; }
.section.legal h2 { margin: 36px 0 10px; font-size: 22px; }
.section.legal p, .section.legal li { color: var(--slate); line-height: 1.7; font-size: 15.5px; }
.section.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal-callout { background: var(--tint); border-left: 3px solid var(--teal-deep); border-radius: 6px; padding: 18px 20px; margin: 24px 0; }
.legal-callout p:last-child { margin-bottom: 0; }

/* Login hand-off page (Task 2): supporting copy plus a fail-honest config-error
   alert. The alert is hidden by default via the native `hidden` attribute and
   only revealed by login.js when the configured sign-in URL fails validation.
   Coral is the site's reserved "concern" color (tokens.css); coral-ink is its
   AA-verified text pairing, which is exactly this case. */
.login-note { color: var(--slate); font-size: 15px; max-width: 60ch; }
.login-alert { background: var(--tint); border-left: 3px solid var(--coral); border-radius: 6px; padding: 14px 18px; color: var(--coral-ink); font-size: 15px; max-width: 60ch; }
.login-alert a { color: var(--coral-ink); }
