/* ============================================================================
   SkyQon — digital trust posture platform
   "Trust Slate v2" design system — light is the canonical default (:root is the
   dark mirror; html[data-theme="light"] is the served default via the theme boot
   in render.py). Blue = system/verified; gold = identity + primary action only;
   status (ok/warn/crit) stay independent. Fonts: Inter + JetBrains Mono.
   ========================================================================== */

:root {
  /* Backgrounds (dark mirror) */
  --bg:          #0A1524;
  --bg-2:        #0D1A2D;
  --navy:        #10203A;
  --surface:     #10203A;
  --surface-2:   #16273F;
  --glass:       rgba(255, 255, 255, 0.04);
  --glass-2:     rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 255, 255, 0.16);

  /* Brand + accents (dark) — blue lifted, same gold identity */
  --blue:        #4C9BE8;
  --blue-deep:   #7FB8F2;
  --blue-glow:   rgba(76, 155, 232, 0.45);
  --cyan:        #7FB8F2;
  --gold:        #D0A63E;
  --gold-soft:   #E7C063;
  --gold-deep:   #E7C063;
  --green:       #63D6A0;
  --amber:       #E9B85C;
  --red:         #F0888A;

  /* Text (dark) */
  --text:        #E9EFF7;
  --text-2:      #AEBCCF;
  --text-3:      #7688A0;
  --text-on-gold:#241905;

  /* Type — Trust Slate v2 */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  /* Geometry */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw:      1180px;
  --gutter:    clamp(20px, 5vw, 40px);

  /* Effects (dark) */
  --shadow:     0 22px 50px -30px rgba(0, 0, 0, 0.62);
  --shadow-sm:  0 12px 30px -18px rgba(0, 0, 0, 0.5);
  --ring:       0 0 0 1px var(--border);
  --grad-blue:  linear-gradient(135deg, #4C9BE8 0%, #7FB8F2 100%);
  --grad-gold:  linear-gradient(180deg, #D8B24E 0%, #BE9530 100%);
  --grad-text:  linear-gradient(120deg, #E9EFF7 0%, #AEBCCF 60%, #7688A0 100%);
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(47, 111, 228, 0.18), transparent 60%),
    radial-gradient(760px 480px at 10% 4%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(700px 600px at 50% 108%, rgba(245, 197, 24, 0.07), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- typography ---- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--text-2); }

.mono { font-family: var(--font-mono); }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }

/* ---- layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
  padding: 6px 12px; border: 1px solid var(--border-bright); border-radius: 100px;
  background: var(--glass); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: blink 2.4s ease-in-out infinite; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 60ch; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-gold); color: var(--text-on-gold);
  box-shadow: 0 10px 30px -8px rgba(245, 197, 24, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(245, 197, 24, 0.6); }
.btn-secondary { background: var(--glass-2); color: var(--text); border-color: var(--border-bright); backdrop-filter: blur(8px); }
.btn-secondary:hover { border-color: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12); }
.btn-ghost { background: transparent; color: var(--text-2); padding-inline: 6px; }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 14, 26, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 14px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .brand-fallback { display: none; font-weight: 700; font-size: 20px; letter-spacing: 0.01em; }
.brand .brand-fallback .sky { color: var(--blue); }
.brand .brand-fallback .qon { color: var(--gold); }
.brand-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); border-left: 1px solid var(--border-bright); padding-left: 10px; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-link { position: relative; padding: 9px 11px; border-radius: 9px; color: var(--text-2); font-size: 0.92rem; font-weight: 500; white-space: nowrap; transition: color 0.18s, background 0.18s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); background: var(--glass); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* dropdown */
.nav-item { position: relative; }
.nav-item > .nav-link::after { content: "▾"; font-size: 10px; margin-left: 5px; opacity: 0.6; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 460px;
  background: rgba(13, 24, 42, 0.97); backdrop-filter: blur(16px);
  border: 1px solid var(--border-bright); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.dropdown.solo { grid-template-columns: 1fr; min-width: 280px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-col-title { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); padding: 6px 10px 2px; }
.dropdown a { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 9px; transition: background 0.16s; }
.dropdown a:hover { background: var(--glass-2); }
.dropdown a strong { font-size: 0.9rem; color: var(--text); font-weight: 600; }
.dropdown a span { font-size: 0.78rem; color: var(--text-3); }

/* lang switcher */
.lang { position: relative; }
.lang-btn { background: var(--glass); border: 1px solid var(--border); color: var(--text-2); border-radius: 9px; padding: 8px 11px; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.lang-btn:hover { border-color: var(--border-bright); color: var(--text); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: rgba(13, 24, 42, 0.98); border: 1px solid var(--border-bright); border-radius: 12px; padding: 6px; min-width: 150px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.16s; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 0.85rem; color: var(--text-2); }
.lang-menu a:hover { background: var(--glass-2); color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--gold); }

/* mobile nav */
.nav-toggle { display: none; background: var(--glass); border: 1px solid var(--border); border-radius: 9px; width: 42px; height: 40px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* ---- hero ---- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; font-size: clamp(1.06rem, 1.5vw, 1.2rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px 26px; align-items: center; color: var(--text-3); font-size: 0.85rem; }
.hero-proof .pill { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .pill::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ---- dashboard mockup ---- */
.mock {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #25395f, #16243f);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow), 0 0 0 1px rgba(59, 130, 246, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 18px 18px 58px; /* bottom room so the bottom-left float (anchored 14px below, ~62px tall) clears the chip row */
}
/* NB: no overflow:hidden — the corner float badges deliberately overhang the
   card, and clipping them cut off their labels and pushed the visible stub over
   the chip row. ::before inherits the radius so the glow still respects corners. */
.mock::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(560px 220px at 72% -12%, rgba(59,130,246,0.28), transparent 62%); pointer-events: none; }
.mock > * { position: relative; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-bright); }
.mock-bar .dot:nth-child(1) { background: #ff5f57; } .mock-bar .dot:nth-child(2) { background: #febc2e; } .mock-bar .dot:nth-child(3) { background: #28c840; }
.mock-bar .mock-url { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.mock-body { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }

.score-ring { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 11; }
.score-ring .prog { fill: none; stroke: url(#scoreGrad); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 339.292; animation: ringfill 1.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.score-ring .score-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring .score-num b { font-size: 2.1rem; font-weight: 650; line-height: 1; }
.score-ring .score-num small { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }

.mock-metrics { display: grid; gap: 10px; }
.metric { }
.metric-top { display: flex; justify-content: space-between; font-size: 0.78rem; margin-bottom: 5px; }
.metric-top .ml { color: var(--text-2); } .metric-top .mv { font-family: var(--font-mono); color: var(--text); }
.bar { height: 7px; border-radius: 100px; background: rgba(255,255,255,0.07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 100px; background: var(--grad-blue); transform-origin: left; animation: growx 1.7s cubic-bezier(0.22,1,0.36,1) forwards; }
.bar > i.warn { background: linear-gradient(90deg, var(--amber), var(--gold)); }
.bar > i.crit { background: linear-gradient(90deg, #f87171, var(--red)); }
.bar > i.ok   { background: linear-gradient(90deg, var(--green), var(--cyan)); }

.mock-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 7px; border: 1px solid var(--border-bright); color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.chip.ok::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.chip.warn::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.chip.crit::before { background: var(--red); box-shadow: 0 0 8px var(--red); }

/* floating mini-cards on hero mock */
.mock-float { position: absolute; background: rgba(13,24,42,0.92); border: 1px solid var(--border-bright); border-radius: 12px; padding: 10px 13px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); font-size: 0.74rem; }
.mock-float .mf-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.mock-float .mf-val { font-size: 1rem; font-weight: 650; color: var(--text); }
.mock-float.tr { top: -14px; right: -10px; animation: floaty 5s ease-in-out infinite; }
.mock-float.bl { bottom: -14px; left: -12px; animation: floaty 6s ease-in-out infinite 0.5s; }

/* ---- generic cards / grids ---- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform 0.22s ease, border-color 0.22s, background 0.22s;
  position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-bright); background: var(--glass-2); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--text-2); }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(47,111,228,0.22), rgba(34,211,238,0.12));
  border: 1px solid var(--border-bright); margin-bottom: 16px; font-size: 20px;
}
/* Module header: icon LEFT, name beside it (was stacked). Long names wrap
   beneath the first text line within the name column, never under the icon. */
.mod-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.mod-head .card-icon { margin-bottom: 0; flex: 0 0 auto; }
.mod-head h2, .mod-head h3 { margin: 0; }
@media (max-width: 560px) { .mod-head { gap: 11px; } }
.card .card-tag { position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(245,197,24,0.4); border-radius: 6px; padding: 3px 7px; }

.feature-list { list-style: none; padding: 0; display: grid; gap: 9px; margin-top: 14px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 0.9rem; color: var(--text-2); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* score trio (Domain Trust Score breakdown) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio .card { text-align: left; }
.trio .big { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 650; line-height: 1; margin: 8px 0; }
.trio .scan .big { color: var(--cyan); }
.trio .posture .big { color: var(--amber); } /* warn/caution — gold is reserved for identity + CTA */
.trio .trust .big { color: var(--green); }
.trio .card .sub { font-size: 0.85rem; color: var(--text-3); }

/* split feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-bright); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }

/* remediation code block */
.codeblock { background: #060C16; border: 1px solid var(--border-bright); border-radius: var(--radius-sm); overflow: hidden; }
/* The codeblock panel is permanently dark (#060C16) regardless of theme —
   its inner colors are pinned to the dark-palette literals so the light
   theme's light-background values can't land on it (WCAG contrast). */
.codeblock-bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; color: #7688A0; }
.codeblock-bar .copy { background: rgba(233, 239, 247, 0.06); border: 1px solid rgba(233, 239, 247, 0.16); color: #AEBCCF; border-radius: 6px; padding: 4px 9px; font-size: 11px; }
.codeblock pre { margin: 0; padding: 14px; overflow-x: auto; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: #cdd9ee; }
.codeblock .k { color: #7FB8F2; } .codeblock .s { color: #E7C063; } .codeblock .c { color: #7688A0; }

/* steps */
.steps { display: grid; gap: 12px; counter-reset: s; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--glass); }
.step::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 9px; background: var(--grad-blue); color: #04101f; font-weight: 700; display: grid; place-items: center; font-size: 0.9rem; }
.step h4 { font-size: 0.98rem; margin-bottom: 3px; }
.step p { font-size: 0.86rem; }

/* ---- pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 1150px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card { position: relative; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.price-card.featured { border-color: rgba(245,197,24,0.55); background: linear-gradient(180deg, rgba(245,197,24,0.07), var(--glass)); box-shadow: 0 0 0 1px rgba(245,197,24,0.25), var(--shadow-sm); }
.price-card .badge { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-gold); background: var(--grad-gold); border-radius: 6px; padding: 4px 9px; margin-bottom: 12px; }
.price-card h3 { font-size: 1.12rem; }
.price-card .tagline { font-size: 0.8rem; color: var(--text-3); min-height: 62px; margin-top: 4px; }  /* tallest tagline wraps to 3 lines at 5-col width — keeps every card's price row on one baseline */
.price-card .price { font-size: 2rem; font-weight: 650; margin: 12px 0 2px; }
.price-card .price small { font-size: 0.9rem; font-weight: 500; color: var(--text-3); }
.price-card .feature-list { flex: 1; }
.price-card .btn { margin-top: 18px; }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cmp .addon-tag { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; }
.addon { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.addon .price { font-size: 1.25rem; font-weight: 650; color: var(--gold); margin: 6px 0 8px; }
.addon p { font-size: 0.85rem; }

/* ---- callout / cta band ---- */
.callout { background: linear-gradient(135deg, rgba(47,111,228,0.16), rgba(34,211,238,0.07)); border: 1px solid var(--border-bright); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% -30%, var(--blue-glow), transparent 60%); opacity: 0.4; }
.callout > * { position: relative; }
.callout .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* ---- forms ---- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.82rem; color: var(--text-2); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-bright); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,0.14); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: 0.85rem; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--border); display: none; }
.form-card { background: var(--surface); border: 1px solid var(--border-bright); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm); }

/* ---- stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 20px; }
.stat .n { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 650; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { font-size: 0.85rem; color: var(--text-3); margin-top: 4px; }

/* ---- page hero (interior) ---- */
.page-hero { padding-block: clamp(48px, 7vw, 90px) clamp(20px, 3vw, 36px); text-align: center; }
.page-hero .lead { margin-inline: auto; margin-top: 16px; }
.breadcrumb { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--text-2); }

/* ---- prose (legal/resources) ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 38px; margin-bottom: 12px; }
.prose h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 0.96rem; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; }
.prose .muted { color: var(--text-3); font-size: 0.85rem; }

/* faq */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--glass); }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-2); font-size: 0.93rem; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--border); margin-top: clamp(48px, 8vw, 100px); padding-block: clamp(48px, 6vw, 72px) 32px; background: linear-gradient(180deg, transparent, rgba(10,19,34,0.6)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-3); margin-top: 14px; max-width: 32ch; }
.footer-trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); border: 1px solid var(--border-bright); border-radius: 100px; padding: 6px 12px; }
.footer-trust::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.footer-col h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--text-2); padding: 4px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-3); }

/* ---- reveal animation ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- keyframes ---- */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes ringfill { to { stroke-dashoffset: 78; } } /* ~77% */
@keyframes growx { from { transform: scaleX(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- responsive ---- */
@media (max-width: 1320px) {
  .brand-tag { display: none; }
  .nav-cta .btn-secondary { display: none; } /* keep the primary CTA; demo stays in nav/footer/mobile */
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .split, .split.rev .split-media { grid-template-columns: 1fr; order: 0; }
  .grid-4, .grid-5, .pricing { grid-template-columns: repeat(2, 1fr); }
  .trio, .grid-3, .addons, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .nav .lang { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 70px; left: 0; right: 0; margin: 0;
    background: rgba(10,19,34,0.99); border-bottom: 1px solid var(--border-bright);
    padding: 14px var(--gutter) 20px;
  }
  .nav-links.open .nav-item { width: 100%; }
  .nav-links.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 4px 0 4px 14px; background: transparent; }
  .nav-cta .btn-secondary { display: none; }
  .grid-2, .grid-3, .grid-4, .grid-5, .trio, .pricing, .addons, .stats, .form-row { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .mock-body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .mock-metrics { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .mock-float { display: none; }
}

/* ============================================================================
   THEME SYSTEM — dark (default, the :root above) + light. Native UI hints.
   ========================================================================== */
html[data-theme="dark"]  { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

/* ---- light palette (Trust Slate v2 — the canonical default) ---- */
html[data-theme="light"] {
  --bg:          #F4F7FB;
  --bg-2:        #FFFFFF;
  --navy:        #EEF2F8;
  --surface:     #FFFFFF;
  --surface-2:   #F4F7FB;
  --glass:       rgba(14, 27, 46, 0.03);
  --glass-2:     rgba(14, 27, 46, 0.05);
  --border:      #E3E9F1;
  --border-bright: #D7E0EC;

  --blue:        #0E6FBF;
  --blue-deep:   #0B588F;
  --blue-glow:   rgba(14, 111, 191, 0.16);
  --cyan:        #0B588F;
  --gold:        #B98A22;
  --gold-soft:   #D0A63E;
  --gold-deep:   #98700F;
  --green:       #1B7A49;
  --amber:       #8D5A11;
  --red:         #B23636;

  --text:        #0E1B2E;
  --text-2:      #46566B;
  --text-3:      #5C6A7D;
  --text-on-gold:#241905;

  --shadow:      0 18px 44px -32px rgba(14, 27, 46, 0.34);
  --shadow-sm:   0 10px 30px -20px rgba(14, 27, 46, 0.20);
  --grad-blue:   linear-gradient(135deg, #0E6FBF 0%, #3AA0E8 100%);
  --grad-gold:   linear-gradient(180deg, #D0A63E 0%, #B98A22 100%);
  --grad-text:   linear-gradient(120deg, #0E1B2E 0%, #46566B 70%);
}

/* ---- light: components with hard-coded dark rgba that don't flow from vars --- */
html[data-theme="light"] body::before {
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(760px 480px at 10% 4%, rgba(14, 116, 144, 0.06), transparent 55%),
    radial-gradient(700px 600px at 50% 108%, rgba(245, 197, 24, 0.05), transparent 60%);
}
html[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(15, 26, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 26, 46, 0.035) 1px, transparent 1px);
}
html[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.78); }
html[data-theme="light"] .dropdown,
html[data-theme="light"] .lang-menu,
html[data-theme="light"] .theme-menu { background: rgba(255, 255, 255, 0.98); }
html[data-theme="light"] .nav-links.open { background: rgba(255, 255, 255, 0.99); }
html[data-theme="light"] .btn-secondary:hover { color: var(--blue-deep); }
html[data-theme="light"] .footer { background: linear-gradient(180deg, transparent, rgba(15, 26, 46, 0.04)); }
/* the hero dashboard mock, code blocks and split media stay intentionally dark
   (product-screenshot look) — readable on a light page, so they're left as-is. */

/* ============================================================================
   THEME SWITCH (nav) — mirrors the .lang button/menu pattern.
   ========================================================================== */
.theme-switch { position: relative; flex-shrink: 0; }
.theme-btn {
  background: var(--glass); border: 1px solid var(--border); color: var(--text-2);
  border-radius: 9px; width: 40px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1rem; line-height: 1;
}
.theme-btn:hover { border-color: var(--border-bright); color: var(--text); }
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: rgba(13, 24, 42, 0.98); border: 1px solid var(--border-bright);
  border-radius: 12px; padding: 6px; min-width: 158px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.16s; z-index: 120;
}
.theme-switch.open .theme-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.theme-menu button {
  width: 100%; display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border-radius: 8px; font-size: 0.85rem; color: var(--text-2); background: transparent;
  border: 0; text-align: left;
}
.theme-menu button:hover { background: var(--glass-2); color: var(--text); }
.theme-menu button[aria-current="true"] { color: var(--gold); }
.theme-menu button .ico { width: 18px; display: inline-flex; align-items: center; justify-content: center; }
.theme-btn svg { width: 17px; height: 17px; display: block; }
.theme-menu button .ico svg { width: 15px; height: 15px; display: block; }

/* ============================================================================
   SEGMENTED TOGGLES (pricing) — billing period + currency.
   ========================================================================== */
.pricing-controls {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  justify-content: center; margin-bottom: 12px;
}
.seg {
  display: inline-flex; background: var(--glass); border: 1px solid var(--border-bright);
  border-radius: 12px; padding: 4px; gap: 4px;
}
.seg button {
  background: transparent; border: 0; color: var(--text-3); font-weight: 600;
  font-size: 0.86rem; padding: 8px 15px; border-radius: 8px; transition: 0.18s;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.seg button:hover { color: var(--text-2); }
.seg button[aria-pressed="true"] {
  background: var(--grad-blue); color: #fff;
  box-shadow: 0 8px 20px -10px var(--blue-glow);
}
.seg .sym { font-family: var(--font-mono); opacity: 0.9; }
.seg .save {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em;
  text-transform: uppercase; background: var(--grad-gold); color: var(--text-on-gold);
  border-radius: 5px; padding: 2px 5px;
}
.pricing-note-region {
  text-align: center; font-size: 0.84rem; color: var(--text-3); margin-bottom: 26px;
  min-height: 1.2em;
}
.pricing-note-region b { color: var(--text-2); font-weight: 600; }

/* ============================================================================
   HERO-MOCK LIGHT-THEME FIX — pin the dashboard mock's text to fixed light
   values so it stays readable in BOTH themes (the mock is always a dark
   product screenshot). Ported from monitor-site; keeps the three sites'
   design language consistent.
   ========================================================================== */
.mock { --mk-fg: #EAF0F9; --mk-fg2: #B6C3DD; --mk-fg3: #8795AE; }
.mock .mock-url,
.mock .score-num small,
.mock .mock-float .mf-label { color: var(--mk-fg3); }
.mock .metric-top .ml,
.mock .chip { color: var(--mk-fg2); }
.mock .metric-top .mv,
.mock .score-num b,
.mock .mock-float .mf-val { color: var(--mk-fg); }

/* ============================================================================
   TRUST SLATE v2 — pricing page components (4-card model + comparison table).
   Blue = system/verified (checks, popular outline, table highlight); gold only
   on the primary CTA.
   ========================================================================== */
/* Popular (Pro) card — blue outline, not gold */
.price-card.pop {
  border-color: var(--blue); background: var(--surface);
  box-shadow: 0 26px 60px -34px var(--blue-glow); outline: 1.5px solid var(--blue);
}
.price-card .flag {
  /* Straddles the card's top border so the badge doesn't push the Pro
     card's title/price rows out of line with the other four cards. */
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  margin: 0; white-space: nowrap; z-index: 1;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; color: #fff; background: var(--blue-deep);
  border-radius: 6px; padding: 4px 10px;
}
/* "Everything in X, plus" ladder line */
.tier-incl {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-3); margin: 14px 0 2px;
}
/* pricing feature checks read blue (system/verified) */
.price-card .feature-list li::before { color: var(--blue); }
.price .from-lbl { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); margin-right: 4px; vertical-align: 3px; }
.price-card .cta-sub { text-align: center; margin-top: 10px; font-size: 0.78rem; }
.price-card .cta-sub a { color: var(--blue-deep); font-weight: 600; }
.price-card .cta-sub a:hover { text-decoration: underline; }

/* comparison table */
.tablewrap { margin-top: 40px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; border-top: 1px solid var(--border); }
.cmp thead th { position: sticky; top: 0; background: var(--navy); border-top: 0; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.cmp thead th.plan { text-align: center; }
.cmp thead th.plan.pop { background: var(--blue-glow); color: var(--blue-deep); }
.cmp td.feat { color: var(--text); font-weight: 500; width: 34%; }
.cmp td.val { text-align: center; color: var(--text-2); font-family: var(--font-mono); font-size: 0.8rem; }
.cmp td.val.pop { background: color-mix(in srgb, var(--blue) 6%, transparent); }
.cmp tr.grp td { background: var(--navy); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--text-3); text-transform: uppercase; font-weight: 500; }
.cmp .yes { color: var(--blue); width: 17px; height: 17px; vertical-align: middle; }
.cmp .no { color: var(--text-3); opacity: 0.5; }

/* add-on icon tiles */
.addon { display: flex; flex-direction: column; }
.addon .ic {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-glow); border: 1px solid var(--border-bright);
  color: var(--blue-deep); margin-bottom: 14px;
}
.addon .ic svg { width: 19px; height: 19px; stroke: currentColor; }
.addon-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.addon-head .ic { margin-bottom: 0; flex: 0 0 auto; }
.addon-head h3 { margin: 0; }
.addmore { text-align: center; font-size: 0.9rem; color: var(--text-3); margin-top: 22px; }
.addmore a { color: var(--blue-deep); font-weight: 500; }
.addmore a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .tablewrap { overflow-x: auto; }
  .cmp { min-width: 720px; }
}
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

/* ============================================================================
   TRUST SLATE v2 — homepage: SVG card icons + EU framework-alignment strip.
   ========================================================================== */
.card-icon { color: var(--blue-deep); font-size: 0; }
.card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.fw-strip-wrap { text-align: center; }
.fw-cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.fw-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.fw { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 16px; }
.fw svg { width: 16px; height: 16px; color: var(--blue); stroke: currentColor; fill: none; }
/* metric rail (institutional credibility) — blue underline under each figure */
.metric-rail { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; margin-top: 30px; }
.metric-rail .m .n { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1; }
.metric-rail .m .u { width: 26px; height: 2px; background: var(--blue); border-radius: 2px; margin: 9px auto 8px; }
.metric-rail .m .l { font-size: 0.82rem; color: var(--text-3); max-width: 16ch; margin-inline: auto; }
.footer-paddle {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.7;
  color: var(--text-3); max-width: 78ch;
}

/* Hero inline scan — the one loud element; everything around it stays quiet. */
.hero-scan { display: flex; gap: 10px; margin-top: 26px; max-width: 540px; }
.hero-scan input { flex: 1 1 auto; min-width: 0; padding: 14px 16px; border-radius: 10px; border: 1px solid #cfd8e3; background: #fff; color: #0d1e38; font: inherit; font-size: 1rem; }
.hero-scan input::placeholder { color: #8a97a8; }
.hero-scan input:focus-visible { outline: 2px solid var(--blue-deep, #0E6FBF); outline-offset: 1px; }
.hero-scan-hint { margin-top: 10px; font-size: .85rem; color: var(--text-3, #64748b); }
.hero-scan-err { color: #B45309; font-weight: 600; }
@media (max-width: 560px) { .hero-scan { flex-direction: column; } .hero-scan .btn { width: 100%; } }

/* ============================================================================
   TRUST SLATE v2 — spacing scale + premium interactivity refinement.
   Consistent vertical rhythm (retires ad-hoc inline margins) and a more
   tangible, explorable feel on cards, framework chips, nav rows and badges.
   All motion respects prefers-reduced-motion via the global guard above.
   ========================================================================== */
:root {
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
}
/* spacing utilities used by the pages we refactored off inline styles */
.mt-1{margin-top:var(--space-1)} .mt-2{margin-top:var(--space-2)} .mt-3{margin-top:var(--space-3)}
.mt-4{margin-top:var(--space-4)} .mt-5{margin-top:var(--space-5)} .mt-6{margin-top:var(--space-6)}
.stack > * + * { margin-top: var(--space-4); }

/* ---- keyboard-visible focus baseline (was missing on links/buttons) ---- */
a:focus-visible, button:focus-visible, summary:focus-visible,
.seg button:focus-visible, .lang-btn:focus-visible, .theme-btn:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px;
}

/* ---- skip to content (accessibility) ---- */
.skip-link {
  position: fixed; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 0.9rem;
  padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
/* visually-hidden (a11y): text present for AT/SEO, invisible on screen */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---- cards: stronger resting weight + accent hover/focus ---- */
.card { transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease; }
.card-icon { transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease; }
/* a hairline accent that lights along the top edge on hover/focus */
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity 0.22s ease; pointer-events: none;
}
.card:hover, a.card:focus-visible {
  transform: translateY(-4px); border-color: var(--blue); background: var(--glass-2);
  box-shadow: 0 24px 46px -28px var(--blue-glow), var(--shadow-sm);
}
.card:hover::after, a.card:focus-visible::after { opacity: 0.75; }
a.card:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.card:hover .card-icon, a.card:focus-visible .card-icon {
  border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); transform: translateY(-1px);
}
/* identity/gold cards (DORA / cloud-coverage wider cards) glow gold, not blue */
.card.card-gold:hover, a.card.card-gold:focus-visible { border-color: var(--gold); box-shadow: 0 24px 46px -28px rgba(208,166,62,0.4), var(--shadow-sm); }
.card.card-gold::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---- framework badges become tangible, explorable chips ---- */
.fw {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.fw:hover, .fw:focus-visible {
  transform: translateY(-2px); border-color: var(--blue); color: var(--text);
  box-shadow: 0 12px 26px -16px var(--blue-glow); outline: none;
}
.fw:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fw .fw-go { color: var(--text-3); transition: transform 0.18s ease, color 0.18s ease; }
.fw:hover .fw-go, .fw:focus-visible .fw-go { color: var(--blue); transform: translateX(2px); }
.fw-sub { margin-top: 16px; font-size: 0.88rem; color: var(--text-3); max-width: 58ch; margin-inline: auto; }

/* ---- nav dropdown rows: clearer hover + keyboard affordance ---- */
.dropdown a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; background: var(--glass-2); }
.dropdown a strong { transition: color 0.16s ease; }
.dropdown a:hover strong, .dropdown a:focus-visible strong { color: var(--blue); }

/* ---- resources: explainer sections + glossary ---- */
.res-jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(28px, 4vw, 44px); }
.res-jump a {
  font-size: 0.86rem; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--border-bright); border-radius: 100px; padding: 8px 15px;
  background: var(--glass); transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.res-jump a:hover, .res-jump a:focus-visible { transform: translateY(-2px); border-color: var(--blue); color: var(--text); outline: none; }
.res-jump a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.explainer { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--glass); padding: clamp(22px, 3vw, 34px); margin-bottom: 20px; scroll-margin-top: 90px; }
.explainer > .mod-head { margin-bottom: 14px; }
.explainer h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.explainer .ex-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.explainer p { color: var(--text-2); margin-top: 10px; }
.explainer .ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 18px; }
@media (max-width: 700px) { .explainer .ex-grid { grid-template-columns: 1fr; } }
.explainer .ex-grid h3 { font-size: 0.9rem; color: var(--text); margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.explainer .ex-grid h3::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); flex: 0 0 auto; }
.explainer .ex-grid > .fix h3::before { background: var(--green); }
.explainer .ex-grid > .miss h3::before { background: var(--amber); }
.explainer .ex-grid p { font-size: 0.9rem; margin-top: 0; color: var(--text-2); }
.explainer .ex-back { display: inline-block; margin-top: 16px; font-size: 0.82rem; color: var(--text-3); }
.explainer .ex-back:hover { color: var(--blue); }
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
@media (max-width: 700px) { .glossary { grid-template-columns: 1fr; } }
.glossary dt { font-weight: 650; color: var(--text); font-size: 0.92rem; }
.glossary dd { color: var(--text-2); font-size: 0.88rem; margin: 2px 0 0; }
.res-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: space-between; }
.res-guide .rg-copy { flex: 1 1 320px; }
@media (max-width: 560px) { .res-guide { flex-direction: column; align-items: stretch; } }
