/* KloudForm marketing site
   Dark #0a0e1a identity, Inter + Space Grotesk, grid/glow background,
   gradient headline accents, glass cards. No framework, no build step. */

:root {
  --bg: #070b14;
  --bg-2: #0a0e1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #e8edf7;
  --muted: #a3aec3;
  --cyan: #2dd4ff;
  --blue: #3b82f6;
  --indigo: #818cf8;
  --rose: #fb7185;
  --green: #4ade80;
  --amber: #fbbf24;
  --grad: linear-gradient(110deg, #2dd4ff 0%, #3b82f6 45%, #818cf8 100%);
  --radius: 20px;
  --gutter: clamp(16px, 5vw, 40px);
  --maxw: 1120px;
  --font-display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7fe3ff; }
ul, ol { padding-left: 1.2em; }
code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em; background: var(--surface-2); border: 1px solid var(--border);
  padding: 0.1em 0.4em; border-radius: 6px; overflow-wrap: anywhere;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--cyan); color: #04111f; font-weight: 700;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .nav-cta:focus-visible { outline-offset: 4px; border-radius: 99px; }

/* ---------- Background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(120px); opacity: 0.45; pointer-events: none;
}
.bg-glow-1 { width: 600px; height: 600px; top: -200px; left: -100px;
  background: radial-gradient(circle, #1d4ed8, transparent 70%); }
.bg-glow-2 { width: 500px; height: 500px; top: 200px; right: -150px;
  background: radial-gradient(circle, #0891b2, transparent 70%); }

/* ---------- Brand ---------- */
.tm { font-size: 0.55em; color: var(--muted); line-height: 1; margin-left: 2px; }

/* ---------- Header / nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(16px, 5vw, 64px);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: flex-start; text-decoration: none; font-size: 1.4rem; flex-shrink: 0; }
.brand-logo { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 0 -2px 0 var(--cyan); }
.nav-cta {
  padding: 9px 18px; border-radius: 99px; white-space: nowrap;
  background: var(--grad); color: #04111f !important; font-weight: 600 !important;
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: 99px; padding: 8px 14px; font: 600 0.9rem var(--font-body); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform 0.2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 8px 0 4px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 8px; font-size: 1.05rem; border-radius: 10px; }
  .nav-links a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 3px 0 0 var(--cyan); }
  .nav-cta { text-align: center; margin-top: 8px; }
}

/* ---------- Layout ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.section-tight { padding-top: 24px; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .lede { margin-bottom: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 600; color: var(--cyan); margin-bottom: 14px; }
.section-head .eyebrow, .center { text-align: center; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.05rem; margin-bottom: 8px; }
.lede { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); max-width: 700px; margin: 0 auto 36px; }
.lede strong { color: var(--text); font-weight: 600; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; color: var(--cyan); }
.small { font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero {
  max-width: 980px; margin: 0 auto;
  padding: clamp(64px, 11vw, 132px) var(--gutter) clamp(48px, 7vw, 80px);
  text-align: center;
}
.hero-page { padding-bottom: clamp(24px, 4vw, 48px); }
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 0.85rem; font-weight: 500; margin-bottom: 28px;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  line-height: 1.08; font-weight: 700;
  margin-bottom: 26px;
}
.hero-page h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.trust-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 14px; color: var(--muted); font-size: 0.85rem; font-weight: 500; list-style: none; padding: 0; }
.trust-row li { display: inline-flex; align-items: center; gap: 14px; }
.trust-row li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px; border: 0;
  font: 600 1rem var(--font-body); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer; text-align: center; }
.btn-primary { background: var(--grad); color: #04111f; box-shadow: 0 8px 30px rgba(45,212,255,0.22); }
.btn-primary:hover { color: #04111f; transform: translateY(-2px); box-shadow: 0 12px 38px rgba(45,212,255,0.32); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn[aria-disabled="true"], .btn:disabled {
  background: var(--surface); color: var(--muted); border: 1px dashed var(--border-strong);
  box-shadow: none; cursor: not-allowed; transform: none;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(24px, 3.5vw, 34px);
  transition: transform 0.3s, border-color 0.3s;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(45,212,255,0.06), transparent 50%);
  opacity: 0; transition: opacity 0.3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(45,212,255,0.35); }
.card:hover::before { opacity: 1; }
.card-static:hover { transform: none; border-color: var(--border); }
.card-static:hover::before { opacity: 0; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.card-link::after { content: " \2192"; }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 20px; color: var(--cyan); }
.card-icon svg { width: 26px; height: 26px; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px; border: 1px solid var(--border-strong); color: var(--muted); align-self: flex-start; margin-bottom: 14px; }
.badge-live { color: var(--green); border-color: rgba(74,222,128,0.4); }
.badge-soon { color: var(--amber); border-color: rgba(251,191,36,0.4); }
.badge-beta { color: var(--cyan); border-color: rgba(45,212,255,0.4); }

.ticks { list-style: none; display: grid; gap: 10px; padding: 0; margin-bottom: 20px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 0.95rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.ticks:last-child { margin-bottom: 0; }

/* ---------- Ladder (KU -> Pack -> Blueprint -> Recipe) ---------- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; counter-reset: step; }
.ladder li { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; position: relative; }
.ladder li::after { content: "\2192"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-weight: 700; z-index: 1; }
.ladder li:last-child::after { content: none; }
.ladder .step-num { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--cyan); letter-spacing: 0.12em; }
.ladder h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.ladder p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 860px) {
  .ladder { grid-template-columns: 1fr; }
  .ladder li::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%); }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 22px; list-style: none; padding: 0; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step-badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #04111f; font-family: var(--font-display); font-weight: 700; margin-bottom: 16px; }
.steps p { color: var(--muted); }

/* ---------- Split feature blocks ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.feature + .feature { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--border); }
.feature .eyebrow { text-align: left; }
.feature h2 { text-align: left; }
.feature-body p { color: var(--muted); margin-bottom: 16px; }
.feature-body .btn { margin-top: 8px; }
.feature-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.feature-panel h3 { font-size: 1.05rem; margin-bottom: 14px; color: var(--text); }
.feature-panel dl { display: grid; gap: 14px; }
.feature-panel dt { font-weight: 600; color: var(--text); }
.feature-panel dd { color: var(--muted); font-size: 0.94rem; }
.anchor-target { scroll-margin-top: 90px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Pills / tag list ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tag-list li { font-size: 0.85rem; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }

/* ---------- Sub-nav (in-page) ---------- */
.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin-top: 8px; }
.subnav a { display: inline-block; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--border-strong);
  color: var(--text); text-decoration: none; font-size: 0.92rem; font-weight: 500; background: var(--surface); }
.subnav a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Code / terminal block ---------- */
.terminal { background: #050810; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; color: #cfe7ff;
  overflow-x: auto; white-space: pre; line-height: 1.6; max-width: 100%; }
.terminal .c { color: #7f8aa3; }

/* ---------- Callout ---------- */
.callout { border: 1px solid rgba(45,212,255,0.3); background: rgba(45,212,255,0.06); border-radius: 16px; padding: 18px 22px; color: var(--text); }
.callout-warn { border-color: rgba(251,191,36,0.4); background: rgba(251,191,36,0.07); }
.callout p { color: var(--text); margin: 0; }
.callout p + p { margin-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(72px, 9vw, 100px); }
.cta-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: linear-gradient(160deg, rgba(45,212,255,0.07), rgba(99,102,241,0.05));
  border: 1px solid var(--border); border-radius: 28px;
  padding: clamp(32px, 6vw, 64px);
}
.cta-inner .lede { margin-bottom: 30px; }
.cta-inner .hero-cta { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.plan { text-align: left; }
.plan-name { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 6px; }
.plan-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; margin: 10px 0 6px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-featured { border-color: rgba(45,212,255,0.45); background: linear-gradient(170deg, rgba(45,212,255,0.09), var(--surface) 55%); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style-position: outside; }
.faq details[open] summary { color: var(--cyan); }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* ---------- Downloads ---------- */
.dl-card .dl-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.dl-card .btn { align-self: flex-start; margin-top: auto; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.field .hint { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.req { color: var(--rose); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--text);
  background: #0b1120; border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(45,212,255,0.35); border-radius: 12px; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rose); }
fieldset { border: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 0.95rem !important; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cyan); flex-shrink: 0; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.4); color: #bbf7d0; }
.form-status.is-error { background: rgba(251,113,133,0.1); border: 1px solid rgba(251,113,133,0.45); color: #fecdd3; }
.form-status.is-pending { background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 44px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p, .prose li { color: #c9d2e3; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px; display: grid; gap: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); color: #c9d2e3; }
.prose th { color: var(--text); font-weight: 600; }
.draft-banner { max-width: 780px; margin: 0 auto 32px; }

/* ---------- Page-level additions ---------- */
main:focus { outline: none; }
.section > h2 { margin-bottom: 24px; }
.section-more { margin-top: 28px; }
.section-more a { font-weight: 600; text-decoration: none; }
.section-more a::after { content: " \2192"; }
.section-more a:hover { text-decoration: underline; }
.card-compact { padding: 24px; }
.card-compact h3 { font-size: 1.1rem; }
.card-compact .card-icon { width: 44px; height: 44px; margin-bottom: 16px; }
.card-compact .card-icon svg { width: 22px; height: 22px; }
.badge-inline { margin: 0 0 0 8px; vertical-align: middle; font-size: 0.66rem; padding: 2px 8px; }
.feature-body .badge { margin-bottom: 18px; }
.feature-subhead { font-size: 1.15rem; margin: 28px 0 10px; }
.feature-panel .panel-gap { margin-top: 26px; }
.feature-panel dl > div { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.feature-panel dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.feature-body .callout { margin-top: 20px; }
.ladder li, .steps li { min-width: 0; }
.dl-card .card-icon svg { width: 28px; height: 28px; }
.dl-notify { margin-top: 24px; }
.btn[aria-disabled="true"] { pointer-events: none; }
.form-noscript { margin-bottom: 20px; }
.field-error { color: #fecdd3; font-size: 0.88rem; margin-top: 6px; }
.field-error:empty { display: none; }
.form-actions .small { margin: 0; }
.video-thumb {
  aspect-ratio: 16 / 9; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; align-content: center; gap: 8px;
  background: linear-gradient(140deg, rgba(45,212,255,0.12), rgba(129,140,248,0.10)), #0b1120;
  border: 1px dashed var(--border-strong); color: var(--muted); font-size: 0.85rem; font-weight: 600;
}
.video-thumb svg { width: 44px; height: 44px; color: var(--cyan); }
.video-card h3 { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px var(--gutter) 40px; background: rgba(5, 8, 16, 0.6); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand { display: inline-flex; align-items: flex-start; text-decoration: none; font-size: 1.3rem; margin-bottom: 14px; }
.footer-logo { height: 26px; width: auto; }
.footer-about p { color: var(--muted); font-size: 0.92rem; max-width: 340px; }
.footer-heading { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-meta { max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.85rem; line-height: 1.8; text-align: center; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll (enabled by main.js only) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .status-pill .dot { animation: none; }
  .card:hover, .btn-primary:hover { transform: none; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .bg-grid, .bg-glow, .nav, .footer, .skip-link, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li, .muted, .lede { color: #222; }
}

/* ---------- Small screens ---------- */
@media (max-width: 480px) {
  .brand-logo { height: 22px; }
  .nav-toggle { padding: 8px 12px; }
}
