/* Vizual site — design system (light, corporate-aligned). See site-plan.md Part 5. */

/* ---------- Tokens ---------- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #475569;   /* 7.2:1 on white */
  --color-faint: #64748b;   /* 4.6:1 on white */
  --accent-blue: #2563eb;
  --accent-blue-strong: #1d4ed8;
  --accent-violet: #7c3aed;
  --grad-brand: linear-gradient(90deg, #2563eb, #7c3aed);
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --shadow-card: 0 10px 30px -12px rgb(15 23 42 / .14);
  --shadow-pop: 0 24px 60px -24px rgb(15 23 42 / .28);
  --focus-ring: 0 0 0 3px rgb(37 99 235 / .35);
  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 72px; --space-8: 120px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 64px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; margin: 0 0 var(--space-3); }
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.25rem); letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); letter-spacing: -.01em; font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 var(--space-3); color: var(--color-muted); }
a { color: var(--accent-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-blue-strong); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0 0 var(--space-3); padding-left: 1.2em; color: var(--color-muted); }
li + li { margin-top: .35em; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--color-text); color: #fff; padding: 10px 16px;
  border-radius: 0 0 var(--radius-s) 0; font-weight: 600;
}
.skip-link:focus-visible { left: 0; color: #fff; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--space-4); }
.wrap--wide { max-width: 100%; padding-inline: var(--space-5); }
.section { padding-block: var(--space-7); }
.section--alt { background: var(--color-bg-alt); }
.section-head { max-width: 720px; margin-bottom: var(--space-6); }
.section-head p { font-size: 1.06rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-blue);
  margin-bottom: var(--space-2);
}
.telecom-theme .eyebrow, [data-accent="violet"] > .eyebrow { color: var(--accent-violet); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 10px;
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--accent-blue); color: #fff; }
.btn--primary:hover { background: var(--accent-blue-strong); color: #fff; }
.btn--violet { background: var(--accent-violet); color: #fff; }
.btn--violet:hover { background: #6d28d9; color: #fff; }
.btn--secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--accent-blue); color: var(--accent-blue-strong); background: #eff6ff; }
.btn--ghost { background: transparent; color: var(--accent-blue); }
.btn--ghost:hover { background: #eff6ff; }
.telecom-theme .btn--ghost { color: var(--accent-violet); }
.telecom-theme .btn--ghost:hover { background: #f5f3ff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(255 255 255 / .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--space-5); height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-text); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand img { width: 30px; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.main-nav > li { list-style: none; position: relative; }
.main-nav { padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  padding: 8px 12px; border-radius: 8px; text-decoration: none;
  color: var(--color-text); font-weight: 550; font-size: .95rem; white-space: nowrap;
}
.nav-link:hover { background: var(--color-bg-alt); color: var(--accent-blue-strong); }
.nav-link[aria-current="page"] { color: var(--accent-blue); font-weight: 700; }
.menu-list {
  position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 320px; margin: 0; padding: var(--space-2);
  background: var(--color-surface); background-clip: padding-box;
  border: 1px solid var(--line);
  border-top: 8px solid transparent; /* bridges the gap: hover survives the crossing */
  border-radius: var(--radius-m); box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  pointer-events: none;
  transition: opacity .12s ease, transform .12s ease, visibility 0s linear .2s;
}
.has-menu:is(:hover, :focus-within) .menu-list {
  opacity: 1; visibility: visible; transform: none;
  pointer-events: auto;
  transition: opacity .12s ease, transform .12s ease;
  transition-delay: 0s;
}
.menu-list a {
  display: block; padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--color-text);
}
.menu-list a:hover { background: var(--color-bg-alt); color: var(--accent-blue-strong); }
.menu-list .menu-title { display: block; font-weight: 700; font-size: .95rem; }
.menu-list .menu-sub { display: block; font-size: .82rem; color: var(--color-faint); }
.badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 2px 8px; border-radius: 999px;
}
.badge--telecom { background: #f5f3ff; color: #6d28d9; }
.badge--cross { background: #eff6ff; color: #1d4ed8; }
.header-cta { margin-left: var(--space-2); }
.nav-toggle { display: none; }

.mobile-sheet {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--color-bg); padding: var(--space-5) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-sheet.is-open { display: block; }
.mobile-sheet ul { list-style: none; padding: 0; margin: 0 0 var(--space-6); }
.mobile-sheet a:not(.btn) {
  display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 650;
  color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--line);
}
.sheet-cta { position: sticky; bottom: 0; background: var(--color-bg); padding-top: var(--space-3); }
.sheet-cta .btn { width: 100%; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: var(--space-3) 0 0; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--color-faint); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--color-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-blue); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--color-faint); }

/* ---------- Back link ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: var(--space-3) 0; font-size: .9rem; font-weight: 600;
  color: var(--color-muted); text-decoration: none;
}
.back-link:hover { color: var(--accent-blue); }
.back-link::before { content: "←"; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-7) var(--space-6); }
.hero--home {
  padding-block: var(--space-5) var(--space-4);
  background:
    radial-gradient(60% 80% at 85% 10%, rgb(124 58 237 / .08), transparent 60%),
    radial-gradient(50% 70% at 10% 20%, rgb(37 99 235 / .07), transparent 60%);
}
.hero .lead { font-size: 1.15rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.page-hero { padding-block: var(--space-6) var(--space-5); border-bottom: 1px solid var(--line); }
.page-hero .lead { font-size: 1.1rem; max-width: 52ch; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--color-surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); box-shadow: var(--shadow-card);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-pop); }
.card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { margin: 0; font-size: 1.08rem; font-weight: 700; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--accent-blue-strong); }
.card__text { font-size: .95rem; margin: 0; }
.card__meta { margin-top: auto; padding-top: var(--space-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.router-card { padding: var(--space-5); display: block; text-decoration: none; color: inherit; height: 100%; }
.router-card h3 { margin-bottom: 6px; }
.router-card:hover h3 { color: var(--accent-blue-strong); }
.router-card .arrow { font-weight: 700; }
.territory-panel { padding: var(--space-5); border-radius: var(--radius-l); height: 100%; }
.territory-panel--blue { background: #eff6ff; border: 1px solid #bfdbfe; }
.territory-panel--violet { background: #f5f3ff; border: 1px solid #ddd6fe; }

/* ---------- Video facade & modal ---------- */
.video-card { overflow: hidden; display: flex; flex-direction: column; }
.facade {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: #0f172a; cursor: pointer;
}
.facade img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .92; }
.facade::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgb(15 23 42 / .55));
}
.facade .play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
}
.facade .play span {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px;
  background: rgb(255 255 255 / .95); color: #0f172a; font-size: 22px;
  box-shadow: var(--shadow-pop); transition: transform .15s ease;
  pointer-events: none;
}
.facade:hover .play span { transform: scale(1.06); }
.facade .runtime {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgb(15 23 42 / .8); color: #fff; font-size: .78rem; font-weight: 600;
  padding: 3px 8px; border-radius: 6px; font-variant-numeric: tabular-nums;
}
.facade:focus-visible { box-shadow: var(--focus-ring); border-radius: var(--radius-l); }
.video-card .card__body { gap: 6px; }
.video-desc { font-size: .88rem; color: var(--color-muted); margin: 0; }

dialog.video-modal {
  width: min(920px, calc(100vw - 32px));
  border: 0; padding: 0; border-radius: var(--radius-l);
  box-shadow: var(--shadow-pop); overscroll-behavior: contain;
}
dialog.video-modal::backdrop { background: rgb(15 23 42 / .62); }
.vm-chrome { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.vm-title { margin: 0; font-size: 1rem; font-weight: 700; min-width: 0; overflow-wrap: break-word; }
.vm-close {
  flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 10px; background: var(--color-surface);
  font-size: 18px; cursor: pointer; color: var(--color-text);
}
.vm-close:hover { border-color: var(--accent-blue); color: var(--accent-blue-strong); }
.vm-frame { aspect-ratio: 16 / 9; width: 100%; background: #000; }
.vm-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vm-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 10px 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--color-faint); }
.vm-desc { padding: 10px 16px 0; font-size: .9rem; color: var(--color-muted); margin: 0; }

/* ---------- Chips / filters ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--space-5); padding: 0; list-style: none; align-items: center; }
.chip {
  border: 1px solid var(--line-strong); background: var(--color-surface);
  color: var(--color-text); border-radius: 999px; padding: 8px 16px;
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  white-space: nowrap;
}
.chip:hover { border-color: var(--accent-blue); color: var(--accent-blue-strong); }
.chip[aria-pressed="true"] { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.empty-state {
  border: 1px dashed var(--line-strong); border-radius: var(--radius-m);
  padding: var(--space-6); text-align: center; color: var(--color-faint);
}

/* ---------- Pipeline map ---------- */
.pipeline { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; padding: 0; margin: 0 0 var(--space-3); align-items: center; }
.pipeline li {
  display: inline-flex; align-items: center; font-size: .86rem; font-weight: 600;
  color: var(--color-text); background: var(--color-bg-alt);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
}
.pipeline li + li::before {
  content: "→"; margin-inline: 10px; color: var(--accent-blue); font-weight: 700;
}
.telecom-theme .pipeline li + li::before { color: var(--accent-violet); }

/* ---------- Trust bar / stats / testimonials ---------- */
.trustbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); justify-content: center; }
.trustbar img { height: 26px; width: auto; filter: grayscale(1); opacity: .75; }
.trustbar img:hover { filter: none; opacity: 1; }
.statband { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); text-align: left; }
.stat { border-left: 3px solid var(--accent-blue); padding-left: var(--space-3); }
.telecom-theme .stat { border-color: var(--accent-violet); }
.stat b { display: block; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--color-muted); font-size: .95rem; }
.fineprint { font-size: .8rem; color: var(--color-faint); margin-top: var(--space-3); }
.testimonial { padding: var(--space-5); border-radius: var(--radius-l); }
.testimonial blockquote { margin: 0 0 var(--space-3); font-size: 1.12rem; color: var(--color-text); line-height: 1.5; }
.testimonial cite { font-style: normal; font-weight: 700; }
.testimonial .role { color: var(--color-faint); font-size: .9rem; display: block; }

/* ---------- Proof list / governance strip ---------- */
.proof-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.proof-list li { display: flex; gap: 10px; color: var(--color-text); }
.proof-list li::before { content: "✓"; color: var(--accent-blue); font-weight: 800; }
.telecom-theme .proof-list li::before { color: var(--accent-violet); }
.gov-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3);
  background: var(--color-bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: var(--space-4);
}
.gov-strip div { font-size: .92rem; color: var(--color-text); }
.gov-strip b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-faint); margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--space-4); max-width: 640px; }
.field label { display: block; font-weight: 650; margin-bottom: 6px; }
.field .req { color: #b91c1c; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit;
  color: var(--color-text); background: var(--color-surface);
  border: 1px solid var(--line-strong); border-radius: 10px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #94a3b8; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: var(--focus-ring); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--color-muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-blue); }
.form-error { color: #b91c1c; font-size: .88rem; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.form-success {
  display: none; border: 1px solid #86efac; background: #f0fdf4; color: #14532d;
  border-radius: var(--radius-m); padding: var(--space-4); max-width: 640px;
}
.form-success.is-visible { display: block; }

/* ---------- Navigation cards (home page) ---------- */
.nav-cards { gap: var(--space-5); }
.nav-cards-section { padding-block: var(--space-4) var(--space-7); }
.nav-card {
  padding: var(--space-6) var(--space-5);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; color: inherit;
  border-radius: var(--radius-l);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.nav-card:hover { box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.nav-card--blue { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%); border: 1px solid #bfdbfe; }
.nav-card--blue:hover { border-color: var(--accent-blue); }
.nav-card--violet { background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%); border: 1px solid #ddd6fe; }
.nav-card--violet:hover { border-color: var(--accent-violet); }
.nav-card__title {
  font-size: 1.5rem; font-weight: 800; margin: 0 0 var(--space-3);
  letter-spacing: -.01em;
}
.nav-card--blue .nav-card__title { color: var(--accent-blue); }
.nav-card--violet .nav-card__title { color: var(--accent-violet); }
.nav-card__desc {
  font-size: 1rem; color: var(--color-muted); margin: 0 0 var(--space-5);
  line-height: 1.65; max-width: 42ch;
}
.nav-card__cta {
  font-weight: 700; font-size: .95rem; margin-top: auto;
}
.nav-card--blue .nav-card__cta { color: var(--accent-blue); }
.nav-card--violet .nav-card__cta { color: var(--accent-violet); }

/* ---------- CTA band / footer ---------- */
.cta-band {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border-block: 1px solid var(--line); text-align: center;
}
.cta-band h2 { margin-bottom: var(--space-3); }
.site-footer { background: #0f172a; color: #cbd5e1; padding: var(--space-7) 0 var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-5); }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin: 0 0 10px; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between;
  border-top: 1px solid #1e293b; margin-top: var(--space-6); padding-top: var(--space-4);
  font-size: .85rem; color: #94a3b8;
}

/* ---------- Glossary (industries/telecom) ---------- */
.glossary dt { font-weight: 700; color: var(--color-text); margin-top: var(--space-3); }
.glossary dd { margin: 2px 0 0 0; color: var(--color-muted); }

/* ---------- Reveal animation ---------- */
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .facade .play span { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .header-cta { display: inline-flex; margin-left: auto; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; align-items: center; gap: 8px;
    min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong);
    border-radius: 10px; background: var(--color-surface); font: inherit; font-weight: 650; cursor: pointer;
  }
  .section { padding-block: var(--space-6); }
  .hero { padding-block: var(--space-6); }
  .statband { grid-template-columns: 1fr; gap: var(--space-4); }
  .gov-strip { grid-template-columns: 1fr; }
  .nav-cards { gap: var(--space-4); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 15.5px; }
  .nav-card { padding: var(--space-5); }
  .nav-card__title { font-size: 1.3rem; }
  .nav-card__desc { max-width: 100%; }
}

/* ---------- Email gate ---------- */
body.gate-open { overflow: hidden; }
.gate {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-4);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
}
.gate[hidden] { display: none !important; }
.gate-card {
  width: 100%; max-width: 420px; text-align: center;
  padding: var(--space-6) var(--space-5) var(--space-5);
}
.gate-card:hover { transform: none; box-shadow: none; }
.gate-card::before { display: none; }
.gate-card img { height: 36px; margin: 0 auto var(--space-4); }
.gate-card .eyebrow { justify-content: center; margin-bottom: var(--space-3); }
.gate-card h2 { font-size: 1.5rem; margin-bottom: var(--space-2); }
.gate-card .g-desc { font-size: .95rem; color: var(--color-muted); line-height: 1.6; margin-bottom: var(--space-5); }
.gate-form { display: flex; flex-direction: column; gap: 12px; }
.gate-form input[type="email"] {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-s);
  background: var(--color-bg-alt);
  border: 1px solid var(--line-strong);
  color: var(--color-text); font-family: var(--font-sans); font-size: .95rem;
  transition: border-color .2s ease, background .2s ease;
}
.gate-form input[type="email"]::placeholder { color: var(--color-faint); }
.gate-form input[type="email"]:focus { outline: none; border-color: var(--accent-blue); background: var(--color-surface); }
.gate-form .btn { width: 100%; justify-content: center; padding: 13px 20px; font-size: .95rem; }
.gate-error {
  display: none; color: #dc2626; font-size: .85rem; text-align: left; margin-top: -2px;
}
.gate-note { font-size: .8rem; color: var(--color-faint); margin-top: var(--space-4); line-height: 1.5; }
