/* sja11y.ai landing page — pricing-led redesign (design: Sja11y pricing sketches,
 * 2026-07-22, docs/superpowers/specs/2026-07-22-landing-pricing-redesign-design.md).
 *
 * NOTE: this static site now leads. It intentionally DIVERGES from
 * dashboard-ui/src/styles/landing.css + LandingPage.tsx, which still render the
 * previous (simpler) landing design for the dashboard's signed-out view. Do not
 * "resync" the two without porting this redesign there first.
 *
 * Light-only by choice. Colour values match the Sja11y palette
 * (navy #003653, green #00B287) used across the app. */

:root {
  --bg: #ffffff;
  --surface: #f3f7f9;
  --band: #eaf7fc;
  --band-border: #d4f0fa;
  --ink: #003653;
  --navy: #003653;
  --navy-deep: #00293f;
  --body: #3d5d6e;
  --muted: #556f7e; /* darkened from #5b7a8a so secondary text clears 4.5:1 on white/surface/band (WCAG 1.4.3 AA) */
  --border: #d7e2e8;
  --accent: #00B287;
  --accent-hover: #33cfa4;
  --accent-ink: #00293f;
  --cyan: #00ACE2;
  --eyebrow: #1f5e7d;
  --warn: #9a6a10;
  --fail: #a5382e;
  --focus: #007ea6; /* darkened from cyan #00ACE2 so the focus ring clears 3:1 on white */
  /* highlighted card */
  --hi-bg: #003653;
  --hi-bg-2: #00293f;
  --hi-ink: #ffffff;
  --hi-body: rgba(233, 244, 249, .86);
  --hi-border: #00B287;
  --shadow: 0 1px 2px rgba(0, 41, 63, .06), 0 12px 34px -18px rgba(0, 41, 63, .28);
  --shadow-hi: 0 1px 2px rgba(0, 41, 63, .10), 0 26px 60px -24px rgba(0, 41, 63, .55);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Atkinson Hyperlegible', system-ui, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .u-head, .price-eur, .badge, .brand {
  font-family: 'Quicksand', 'Trebuchet MS', Verdana, sans-serif;
  color: var(--ink);
}
h1 { text-wrap: balance; }
h2 { text-wrap: balance; }
a { color: inherit; }
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus);
  border-radius: 8px;
}
.shell { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.brand .n11 { color: var(--accent); font-weight: 700; }
.brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 5px; align-self: center; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { border: 0; background: transparent; color: var(--eyebrow); font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 999px; cursor: pointer; }
.lang button:hover { background: var(--surface); }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.lang button[aria-pressed="true"]:hover { background: var(--navy); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 10px; font-weight: 700; font-family: 'Quicksand', 'Trebuchet MS', sans-serif; text-decoration: none; transition: background .15s ease, border-color .15s ease, transform .15s ease; line-height: 1; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-md { padding: 13px 22px; font-size: 15px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-green { background: var(--accent); color: var(--accent-ink); }
.btn-green:hover { background: var(--accent-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--surface); }
.btn-on-hi { background: var(--accent); color: var(--accent-ink); }
.btn-on-hi:hover { background: var(--accent-hover); }
.btn-block { width: 100%; }

/* ── Hero ── */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding: 40px 0 54px; }
.eyebrow { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 14px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.07; font-weight: 700; letter-spacing: -.02em; margin: 0 0 18px; }
.hero-sub { font-size: 18px; max-width: 40ch; margin: 0 0 22px; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.anchor-note { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.anchor-note b { color: var(--ink); font-weight: 700; }

/* ── Sample report card ── */
.report { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.report-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.report-title { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; color: var(--ink); font-size: 15px; }
.report-std { font-size: 12px; font-weight: 700; color: var(--eyebrow); background: var(--band); border: 1px solid var(--band-border); border-radius: 999px; padding: 4px 10px; }
.report-score { display: flex; align-items: center; gap: 16px; padding: 14px 0 18px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.score-num { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 46px; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.score-num small { font-size: 18px; color: var(--muted); }
.score-legend { font-size: 14px; color: var(--body); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; margin-right: 4px; }
.dot-warn { background: #d59a2b; }
.dot-fail { background: #c94f44; }
.finding { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; padding: 7px 0; }
.finding .tag { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; margin-top: 1px; white-space: nowrap; font-family: 'Quicksand', 'Trebuchet MS', sans-serif; }
.tag-fail { color: var(--fail); background: rgba(197, 79, 68, .12); }
.tag-warn { color: var(--warn); background: rgba(213, 154, 43, .15); }
.finding span { color: var(--body); }

/* ── Section frame ── */
.section { padding: 20px 0; }
.section-head { text-align: center; max-width: 46ch; margin: 0 auto 8px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 10px; letter-spacing: -.01em; }
.section-head p { font-size: 16px; color: var(--muted); margin: 0 auto; max-width: 52ch; }

/* ── Billing toggle ── */
.toggle-wrap { display: flex; justify-content: center; margin: 26px 0 30px; }
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.billing-toggle button { position: relative; border: 0; background: transparent; cursor: pointer; font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 14px; color: var(--muted); padding: 9px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; transition: color .15s ease; }
.billing-toggle button.is-active { background: var(--bg); color: var(--ink); box-shadow: var(--shadow); }
.save-pill { font-size: 11px; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 8px; }

/* ── Pricing grid ── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; max-width: 900px; margin: 0 auto; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); position: relative; min-width: 0; }
.card.hi { background: linear-gradient(180deg, var(--hi-bg), var(--hi-bg-2)); border: 1.5px solid var(--hi-border); box-shadow: var(--shadow-hi); transform: translateY(-8px); color: var(--hi-body); }
.card.hi .plan-name, .card.hi .price-eur, .card.hi .feat b { color: var(--hi-ink); }
.card.hi .plan-desc, .card.hi .price-isk, .card.hi .price-note, .card.hi .feat, .card.hi .price-unit { color: var(--hi-body); }
.card.hi .ck { color: var(--accent); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 5px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0, 178, 135, .7); }
.plan-name { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 19px; color: var(--ink); margin: 0; }
.plan-desc { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; min-height: 38px; }
.price { display: flex; flex-direction: column; gap: 3px; }
.price-main { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.price-eur { font-size: 36px; font-weight: 700; color: var(--ink); line-height: 1.04; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.price-unit { font-size: 15px; font-weight: 700; color: var(--muted); font-family: 'Quicksand', 'Trebuchet MS', sans-serif; }
.price-isk { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.price-note { font-size: 12.5px; color: var(--muted); min-height: 17px; }
.price-free { font-size: 38px; font-weight: 700; color: var(--ink); line-height: 1; font-family: 'Quicksand', 'Trebuchet MS', sans-serif; }
ul.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat { font-size: 14px; color: var(--body); display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.feat b { font-weight: 700; color: var(--ink); }
.feat svg { flex: 0 0 auto; margin-top: 2px; }
.ck { color: var(--accent); }

/* ── Snapshot band (one-time audit) ── */
.snapshot { margin: 34px 0 8px; background: var(--band); border: 1px solid var(--band-border); border-radius: 18px; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.snapshot .s-left { max-width: 62ch; }
.snapshot h3 { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; margin: 0 0 6px; font-size: 20px; color: var(--ink); }
.snapshot p { margin: 0; font-size: 15px; color: var(--body); }
.snapshot .s-price { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; color: var(--ink); }
.s-buy { display: flex; align-items: center; gap: 16px; }
.s-buy .s-amt { text-align: right; }
.s-buy .s-amt .big { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 28px; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-buy .s-amt .sm { font-size: 12px; color: var(--muted); }

/* ── Why now (fine anchor) ── */
.why { margin-top: 40px; background: var(--navy); color: #eaf3f7; border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.why h2 { color: #fff; font-size: 28px; margin: 0 0 12px; }
.why p { color: rgba(233, 243, 247, .82); margin: 0 0 8px; font-size: 15.5px; }
.why .src { font-size: 12.5px; color: rgba(233, 243, 247, .62); } /* alpha raised from .55 for 4.5:1 on navy */
.fines { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fine { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px; }
.fine .amt { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 26px; color: #fff; font-variant-numeric: tabular-nums; }
.fine .amt.warn { color: #f0c274; }
.fine .amt.fail { color: #f19d92; }
.fine .lbl { font-size: 13px; color: rgba(233, 243, 247, .75); margin-top: 3px; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details.qa { border: 1px solid var(--border); border-radius: 14px; background: var(--bg); overflow: hidden; }
details.qa summary { cursor: pointer; list-style: none; padding: 18px 20px; font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; color: var(--ink); font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .chev { transition: transform .2s ease; color: var(--accent); flex: 0 0 auto; }
details.qa[open] summary .chev { transform: rotate(45deg); }
details.qa .qa-body { padding: 0 20px 18px; font-size: 15px; color: var(--body); }
.qa-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qa-steps li { display: flex; gap: 12px; align-items: flex-start; }
.qa-step-n { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.qa-steps b { color: var(--ink); }
.qa-steps p { margin: 3px 0 0; }

/* ── Footer ── */
footer { margin-top: 50px; }
.footer-inner { border-top: 1px solid var(--border); padding-top: 30px; padding-bottom: 46px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-left { display: flex; flex-direction: column; gap: 10px; }
.guarantee { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); }
.guarantee svg { color: var(--accent); flex: 0 0 auto; }
.copyright { font-size: 13px; color: var(--muted); }
.wcag-note { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.wcag-chip { font-family: 'Quicksand', 'Trebuchet MS', sans-serif; font-weight: 700; font-size: 12px; color: var(--eyebrow); background: var(--band); border: 1px solid var(--band-border); border-radius: 999px; padding: 4px 10px; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .6s cubic-bezier(.2, .7, .3, 1) both; }
  .hero > :nth-child(2) { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .card, .btn { transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
  .card:hover:not(.hi) { transform: translateY(-3px); box-shadow: var(--shadow-hi); }
  .card.hi:hover { transform: translateY(-11px); }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 20px; }
  .hero-sub { max-width: none; }
  .grid { grid-template-columns: 1fr; max-width: 420px; }
  .card.hi { transform: none; }
  .why { grid-template-columns: 1fr; padding: 30px; }
}
@media (max-width: 620px) {
  .nav { flex-wrap: wrap; row-gap: 12px; }
  .grid { grid-template-columns: 1fr; }
  .snapshot { flex-direction: column; align-items: flex-start; }
  .why .fines { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
