/* Vega Managed Cybersecurity — first-draft redesign
   Dark celestial theme inspired by the star Vega.
   Colors: deep night sky, starlight blue, a little gold. */

:root {
  --bg: #070a12;
  --bg-alt: #0b1120;
  --bg-elev: #10182b;
  --bg-card: rgba(16, 24, 44, 0.78);
  --bg-header: rgba(7, 10, 18, 0.82);
  --line: rgba(186, 210, 255, 0.12);
  --line-strong: rgba(186, 210, 255, 0.22);
  --text: #eef3fb;
  --text-soft: #b8c4d8;
  --text-mute: #8d9bb3;
  --vega: #7ec8ff;
  --vega-deep: #3d8fd6;
  --vega-dim: rgba(126, 200, 255, 0.14);
  --gold: #e6c56a;
  --gold-dim: rgba(230, 197, 106, 0.12);
  --ok: #7dd3b0;
  --warn: #e6c56a;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --header-h: 4.5rem;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Georgia", "Times New Roman", serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--vega);
}

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

html { scroll-behavior: smooth; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--vega); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #b7e0ff; }

:focus-visible { outline: none; box-shadow: var(--focus); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--vega);
  color: #071018;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: inherit; }
.brand img {
  width: 46px;
  height: 32px;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.site-nav { display: flex; align-items: center; gap: 0.25rem 1.35rem; }
.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
  padding-bottom: 0.1rem;
}
.site-nav .btn { margin-left: 0.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(180deg, #8ed0ff 0%, var(--vega) 45%, var(--vega-deep) 100%);
  color: #071018;
  box-shadow: 0 8px 24px rgba(61, 143, 214, 0.28);
}
.btn-primary:hover { color: #071018; filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.btn-gold {
  background: linear-gradient(180deg, #f0d98a, var(--gold));
  color: #221a08;
}
.btn-gold:hover { color: #221a08; filter: brightness(1.05); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- hero / stars ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(126, 200, 255, 0.12), transparent 60%),
    radial-gradient(700px 380px at 10% 90%, rgba(230, 197, 106, 0.06), transparent 55%),
    var(--starfield);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 0.85rem;
}
h1 { font-size: clamp(2.05rem, 4.4vw, 3.35rem); max-width: 18ch; }
h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.lede {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 42rem;
  margin: 0 0 1.6rem;
}

.hero-art {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}
.hero-art img {
  width: min(320px, 70%);
  opacity: 0.96;
  filter: drop-shadow(0 0 40px rgba(126, 200, 255, 0.25));
  position: relative;
  z-index: 1;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(126, 200, 255, 0.16);
  border-radius: 50%;
}
.orbit-1 { width: 230px; height: 230px; }
.orbit-2 { width: 310px; height: 310px; }
.orbit-3 { width: 390px; height: 390px; }
.orbit span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--vega);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--vega);
  top: 8%;
  left: 72%;
}
.hero-caption {
  position: absolute;
  bottom: 12px;
  color: var(--text-mute);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.chip {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-family: var(--font-display);
}

/* ---------- sections ---------- */
.section { padding: 4.25rem 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 42rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--text-soft); margin: 0; }

.muted { color: var(--text-soft); }
.small { font-size: 0.92rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.45rem; }
.card p { margin: 0; color: var(--text-soft); }
.card.flat { box-shadow: none; background: rgba(255,255,255,0.025); }

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card-link:hover {
  color: inherit;
  border-color: rgba(126, 200, 255, 0.4);
  transform: translateY(-2px);
}
.card-num {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}
.more {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--vega);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.price {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  font-size: 1rem;
}
.price + .more { margin-top: 0; padding-top: 0.35rem; }
.price-lg {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  font-size: 1.35rem;
  margin: 0 0 0.85rem;
}
.mdr-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.4rem;
  margin-top: 1.8rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(126, 200, 255, 0.07);
}
.mdr-cta .price-lg { margin-bottom: 0.25rem; }

.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.why-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--text-soft);
}
.why-list li strong { color: var(--text); display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 0.15rem; }
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--vega);
  clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%);
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step {
  position: relative;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
}
.step-n {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.55rem;
}
.step h3 { font-size: 1.08rem; }
.step p { margin: 0; color: var(--text-soft); font-size: 0.98rem; }

/* placeholder callout */
.placeholder {
  border: 1px dashed rgba(230, 197, 106, 0.55);
  background: var(--gold-dim);
  color: #f3e6be;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 1rem 0 1.4rem;
  font-size: 0.98rem;
}
.placeholder strong {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: #221a08;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-right: 0.45rem;
  vertical-align: 0.08rem;
}

/* cta band */
.cta-band {
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(126,200,255,0.16), transparent 60%),
    linear-gradient(180deg, #10182c, #0b1222);
}
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.cta-band p { margin: 0; color: var(--text-soft); max-width: 38rem; }

/* ---------- services page ---------- */
.page-hero { padding: 3.2rem 0 2.4rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.jump a {
  text-decoration: none;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
}
.jump a:hover { color: var(--text); border-color: var(--vega); }

.service { padding: 3.5rem 0; scroll-margin-top: 5.5rem; }
.service + .service { border-top: 1px solid var(--line); }
.service .split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2rem;
  align-items: start;
}
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.feature-list li {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.feature-list strong { display: block; font-family: var(--font-display); margin-bottom: 0.15rem; }
.feature-list span { color: var(--text-soft); font-size: 0.98rem; }

.callout {
  margin-top: 1.4rem;
  padding: 1.15rem 1.2rem;
  border-left: 3px solid var(--vega);
  background: var(--vega-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout h3 { font-size: 1rem; color: var(--vega); margin-bottom: 0.35rem; }
.callout p { margin: 0; color: var(--text-soft); }

/* ---------- forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
form {
  display: grid;
  gap: 0.95rem;
}
label { display: block; font-weight: 600; font-family: var(--font-display); font-size: 0.9rem; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%;
  background: #0a1020;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.checks { display: grid; gap: 0.45rem; }
.checks label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-family: var(--font-body);
}
.checks input { width: auto; }
.form-note {
  font-size: 0.92rem;
  color: var(--text-mute);
  margin: 0;
}
.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--gold-dim);
  border: 1px solid rgba(230, 197, 106, 0.45);
  color: #f3e6be;
}
.aside-card p { margin: 0 0 0.75rem; color: var(--text-soft); }
.aside-card a { font-weight: 600; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #06080f;
  padding: 2.6rem 0 1.6rem;
  color: var(--text-mute);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 2rem;
}
.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.3rem 0; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--vega); }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
}

/* generated starfield used by hero */
:root {
  --starfield:
    radial-gradient(1px 1px at 8% 22%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 14% 68%, rgba(190,220,255,0.55), transparent),
    radial-gradient(1.6px 1.6px at 22% 14%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 31% 42%, rgba(126,200,255,0.55), transparent),
    radial-gradient(1px 1px at 39% 81%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.4px 1.4px at 48% 18%, rgba(230,197,106,0.55), transparent),
    radial-gradient(1px 1px at 57% 63%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 66% 29%, rgba(190,220,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 74% 76%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 82% 11%, rgba(126,200,255,0.65), transparent),
    radial-gradient(1px 1px at 89% 48%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.3px 1.3px at 93% 88%, rgba(230,197,106,0.4), transparent),
    radial-gradient(1px 1px at 5% 90%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 44% 50%, rgba(255,255,255,0.3), transparent);
}

@media (max-width: 920px) {
  .hero-grid,
  .service .split,
  .contact-grid,
  .footer-grid,
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .wrap { display: grid; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-art { display: none; }
  h1 { max-width: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #0a101c;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 1.25rem 1.15rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn { margin-left: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .hero { padding: 2.6rem 0 2.4rem; }
  .section { padding: 3rem 0; }
  .orbit-3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-link { transition: none; }
}

/* v1.0.1: remove hero rings + caption; readable header CTA */
.hero-art .orbit, .hero-art .hero-caption { display: none !important; }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #071018; }


/* ---------- Meter Networking page (v1.1.0) ---------- */
.meter-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.4rem;
  align-items: center;
}
.meter-hero-logo {
  display: grid;
  place-items: center;
  min-height: 160px;
}
.meter-hero-logo img {
  width: min(240px, 80%);
  height: auto;
}
.section .split,
.wrap.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2rem;
  align-items: start;
}

.meter-included {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--gold-dim);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.meter-calc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.3rem 1.45rem;
}
.meter-calc-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 1.4rem;
}
.meter-calc-steps button {
  appearance: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  cursor: pointer;
}
.meter-calc-steps button:hover { color: var(--text); border-color: var(--vega); }
.meter-calc-steps button[aria-current="step"] {
  background: var(--vega-dim);
  border-color: rgba(126, 200, 255, 0.45);
  color: var(--text);
}
.meter-calc-form h3 { margin-top: 0; }
.meter-calc-form h4 {
  font-size: 1rem;
  margin: 1.1rem 0 0.45rem;
}
.meter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
  margin: 1rem 0;
}
.meter-choices {
  border: 0;
  padding: 0;
  margin: 1.15rem 0 0;
}
.meter-choices legend,
.meter-refresh legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.meter-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.meter-choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.meter-choice {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025);
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font-body);
}
.meter-choice input { width: auto; margin-top: 0.3rem; flex: 0 0 auto; }
.meter-choice strong { display: block; font-family: var(--font-display); color: var(--text); }
.meter-choice:has(input:checked) {
  border-color: rgba(126, 200, 255, 0.45);
  background: var(--vega-dim);
}
.meter-refresh {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem 1.15rem;
  margin: 1.2rem 0 0;
  background: rgba(255,255,255,0.02);
}
.meter-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-family: var(--font-body);
  margin: 0.85rem 0 0.4rem;
}
.meter-check input { width: auto; }
.meter-presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.85rem 0 0.35rem; }
.meter-suggest { margin-top: 0.45rem; min-height: 38px; padding: 0.4rem 0.85rem; font-size: 0.85rem; }

.meter-site { margin: 1rem 0; }
.meter-site-head {
  display: grid;
  grid-template-columns: 1fr 8rem auto;
  gap: 0.75rem 1rem;
  align-items: end;
  margin-bottom: 0.85rem;
}
.meter-equip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.meter-equip-table th,
.meter-equip-table td {
  text-align: left;
  padding: 0.45rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.meter-equip-table thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}
.meter-equip-table tbody th { font-weight: 600; width: 28%; }

.meter-calc-pager {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.meter-result-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.1rem;
}
.meter-result-total {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.35rem;
}
.meter-results .card h4 { margin-bottom: 0.35rem; }
.meter-savings {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ok);
  margin: 0 0 1.2rem;
}
.meter-bars { display: grid; gap: 0.75rem; margin-bottom: 1.4rem; }
.meter-bar {
  display: grid;
  grid-template-columns: 9.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
}
.meter-bar-label { color: var(--text-soft); font-size: 0.9rem; }
.meter-bar-track {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.meter-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.meter-bar-fill.is-trad { background: rgba(186, 210, 255, 0.45); }
.meter-bar-fill.is-vega { background: linear-gradient(90deg, var(--vega-deep), var(--vega)); }
.meter-bar-value { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.meter-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}
.meter-breakdown-table th,
.meter-breakdown-table td {
  text-align: left;
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid var(--line);
}
.meter-breakdown-table thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.meter-breakdown-table td:last-child,
.meter-breakdown-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.meter-breakdown-table tbody tr:last-child td { font-weight: 600; color: var(--text); }

.meter-faq { display: grid; gap: 0.75rem; }
.meter-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025);
  padding: 0.85rem 1rem;
}
.meter-faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}
.meter-faq details p { margin: 0.7rem 0 0; color: var(--text-soft); }

@media (max-width: 920px) {
  .meter-hero-grid,
  .section .split,
  .wrap.split,
  .meter-fields,
  .meter-choice-grid,
  .meter-choice-grid-3,
  .meter-result-cards,
  .meter-site-head { grid-template-columns: 1fr; }
  .meter-bar { grid-template-columns: 1fr; gap: 0.3rem; }
  .meter-hero-logo { min-height: 0; }
  .meter-hero-logo img { width: min(176px, 52%); margin-inline: auto; }
}

@media (max-width: 720px) {
  .meter-calc { padding: 1.1rem 0.95rem 1.2rem; }
  .meter-equip-table { display: block; overflow-x: auto; }
}

/* ---- 1.2.0: MDR pricing / checkout ---- */
.mdr-checkout { max-width: 760px; }
.mdr-checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; align-items: start; }
.mdr-checkout input[type="number"] { max-width: 12rem; font-size: 1.15rem; }
.mdr-total { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.025); padding: 0.9rem 1rem; }
.mdr-error { color: var(--gold); }
.mdr-terms { align-items: flex-start; margin-top: 1.2rem; }
.mdr-terms input { margin-top: 0.3rem; }
.mdr-terms a { color: var(--vega); }
.btn.is-disabled { opacity: 0.45; pointer-events: auto; cursor: not-allowed; filter: grayscale(0.4); }
@media (max-width: 720px) { .mdr-checkout-grid { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mdr-pkg-table td.yes { color: var(--vega); }
.mdr-pkg-table td.add { color: var(--gold); }
.mdr-pkg-table td.no { color: var(--text-soft); opacity: 0.7; }
.mdr-pkg-table td:first-child { color: var(--text); }

/* ---- 1.3.0: legal pages ---- */
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2.2rem; align-items: start; }
.legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 1.1rem 1.1rem 1.2rem; }
.legal-toc ol { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.92rem; }
.legal-toc a { color: var(--text-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--vega); }
.legal-body { max-width: 760px; color: var(--text-soft); line-height: 1.7; }
.legal-body h2 { color: var(--text); margin: 2.4rem 0 0.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); scroll-margin-top: 96px; font-size: 1.45rem; }
.legal-body h2:first-of-type { border-top: 0; margin-top: 1rem; }
.legal-body h3 { color: var(--text); margin: 1.6rem 0 0.5rem; font-size: 1.08rem; scroll-margin-top: 96px; }
.legal-body strong { color: var(--text); }
.legal-body a { color: var(--vega); word-break: break-word; }
.legal-body ul, .legal-body ol { padding-left: 1.3rem; }
.legal-body li { margin: 0.3rem 0; }
.legal-table { margin: 1rem 0; }
.site-footer .legal-links a { color: var(--text-soft); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
}

/* ---- 1.4.0: contact form status ---- */
.form-status-ok { color: var(--vega); }
.form-status-error { color: var(--gold); }
.cf-turnstile { margin: 0.6rem 0; }

/* ---- 1.4.6: Meter hardware models ---- */
.hw-group { margin-top: 2.2rem; }
.hw-group-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 0.95rem;
  color: var(--text);
}
.hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.hw-card {
  display: flex;
  flex-direction: column;
  padding: 0 0 1.25rem;
}
.hw-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 1.2rem 1.15rem;
  margin: 0 0 1.05rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(90% 80% at 50% 30%, rgba(255, 255, 255, 0.35), transparent 70%),
    linear-gradient(180deg, #e7eef8 0%, #cfdced 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.hw-card-media img {
  width: auto;
  max-width: 100%;
  max-height: 148px;
  height: auto;
  object-fit: contain;
}
.hw-card h3 {
  margin: 0 1.3rem 0.3rem;
}
.hw-card-desc {
  margin: 0 1.3rem 0.7rem;
  color: var(--text-soft);
}
.hw-card-specs {
  list-style: none;
  padding: 0 1.3rem;
  margin: 0 0 0.9rem;
  display: grid;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.hw-card-specs li {
  padding-left: 0.9rem;
  position: relative;
}
.hw-card-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--vega);
}
.hw-card-best {
  margin: auto 1.3rem 0;
  font-size: 0.94rem;
  color: var(--text-soft);
}
.hw-card-best strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  margin-right: 0.3rem;
}
.hw-note {
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
  color: var(--text-mute);
}
@media (max-width: 920px) {
  .hw-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hw-grid { grid-template-columns: 1fr; }
}

/* Meter hardware explorer — 1.4.7, progressively enhanced tabs. */
.meter-tablist { display:flex; gap:8px; overflow-x:auto; padding:8px 2px 14px; margin:28px 0 26px; border-bottom:1px solid var(--line); }
.meter-tablist button { flex:0 0 auto; background:#111e32; border:1px solid #34455d; border-radius:100px; color:#c7d3e5; font:600 15px var(--font-body); padding:12px 22px; cursor:pointer; }
.meter-tablist button:hover { border-color:#8cb9f1; color:#fff; }
.meter-tablist button[aria-selected="true"] { background:#c8ddfa; color:#0b1728; border-color:#c8ddfa; }
.meter-tablist button:focus-visible,.meter-panel:focus-visible,.meter-datasheet:focus-visible { outline:3px solid #e3c17a; outline-offset:4px; }
.meter-panel[hidden] { display:none; }
.meter-panel { margin-bottom:30px; }
.meter-category { font-size:1.45rem; margin:0 0 6px; }
.meter-category-intro { color:#b9c7db; margin:0 0 24px; max-width:760px; }
.meter-product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.meter-product { min-width:0; overflow:hidden; border:1px solid #344259; background:linear-gradient(145deg,#152339,#0c1627); border-radius:18px; display:flex; flex-direction:column; }
.meter-product-image { height:240px; display:flex; align-items:center; justify-content:center; padding:26px; background:radial-gradient(ellipse at center,#edf1f7,#c2ccd9); border-bottom:1px solid #344259; }
.meter-product-image img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 14px 12px #17283a35); }
.meter-product-body { padding:26px; display:flex; flex-direction:column; flex:1; }
.meter-product-type { color:#a9c9f4; text-transform:uppercase; font-size:11px; letter-spacing:.1em; margin:0 0 8px; }
.meter-product h4 { font-size:1.85rem; line-height:1.15; margin:0 0 12px; color:#fff; }
.meter-product-best { color:#c8d4e6; margin:0 0 20px; min-height:3em; }
.meter-product ul { list-style:none; margin:0 0 24px; padding:0; }
.meter-product li { padding:10px 0; border-top:1px solid #344259; font-size:14px; line-height:1.5; color:#e1e8f2; }
.meter-datasheet { align-self:flex-start; margin-top:auto; font-weight:600; color:#efd18e; text-decoration:none; border-bottom:1px solid #a68c55; padding-bottom:3px; }
.meter-datasheet:hover { color:#fff; }
.meter-doc-note { color:#a8b7cc; font-size:12px; line-height:1.5; margin:10px 0 0; }
@media(max-width:640px) { .meter-product-grid { grid-template-columns:1fr; gap:20px; } .meter-product-image { height:200px; padding:24px; } .meter-product-body { padding:22px; } .meter-tablist button { padding:10px 17px; } #hardware h2 { font-size:2rem; } }
#hardware .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* End-to-end process — supplementary draft page, not a header menu item. */
.meter-process-hero h1 { max-width:850px; }
.meter-process-hero .lede { max-width:850px; }
.meter-process-hero p:not(.kicker) { max-width:850px; }
.meter-process-flow { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; margin-top:48px; }
.meter-process-flow a { display:flex; flex-direction:column; gap:12px; padding:18px; border:1px solid #34455d; background:#121e32; border-radius:12px; text-decoration:none; color:#d8e7fa; font-weight:600; }
.meter-process-flow span { color:#e4c27d; letter-spacing:.1em; font-size:12px; }
.meter-process-flow a:hover { border-color:#afd0ff; }
.meter-process-steps { max-width:960px; margin-top:36px; }
.meter-process-step { display:grid; grid-template-columns:72px 1fr; gap:28px; padding:30px 0; border-top:1px solid #34455d; scroll-margin-top:100px; }
.meter-step-number { color:#e4c27d; font-size:2.2rem; }
.meter-process-step h3 { margin:0 0 10px; font-size:1.6rem; }
.meter-step-sub { color:#b7d4fa; font-size:1.15rem; margin:0 0 14px; }
.meter-step-outcome { color:#e4c27d; border-left:2px solid #e4c27d; padding-left:16px; }
.meter-process-partners { display:grid; grid-template-columns:1.2fr 1fr; gap:48px; align-items:center; }
.meter-process-hardware { background:radial-gradient(ellipse,#e9edf4,#bcc9db); border-radius:18px; padding:30px; }
.meter-process-hardware img { width:100%; object-fit:contain; height:180px; }
.meter-process-link { margin:0 0 24px; }
@media(max-width:800px) { .meter-process-flow { grid-template-columns:repeat(3,minmax(0,1fr)); } .meter-process-partners { grid-template-columns:1fr; } }
@media(max-width:480px) { .meter-process-flow { grid-template-columns:repeat(2,minmax(0,1fr)); } .meter-process-step { grid-template-columns:40px 1fr; gap:16px; } .meter-step-number { font-size:1.7rem; } .meter-process-step h3 { font-size:1.3rem; } }
/* 1.4.9: native expandable full model specifications; no external/download links. */
.meter-product-grid { align-items:start; }
.meter-full-specs { margin-top:auto; border:1px solid #526078; border-radius:10px; overflow:hidden; background:#0a1526; }
.meter-full-specs summary { display:list-item; padding:15px 16px; cursor:pointer; color:#f2d89e; font-weight:600; font-size:15px; }
.meter-full-specs summary::marker { color:#daba76; }
.meter-full-specs summary:hover { background:#1c304b; }
.meter-full-specs summary:focus-visible,.meter-spec-scroll:focus-visible { outline:3px solid #ebc881; outline-offset:-3px; }
.meter-full-specs[open] summary { border-bottom:1px solid #526078; background:#17283f; }
.meter-spec-count { color:#b7c8df; display:block; font-weight:400; font-size:12px; margin-top:4px; }
.meter-spec-scroll { max-height:560px; overflow:auto; scrollbar-color:#7596bd #111e32; }
.meter-spec-table { border-collapse:collapse; table-layout:fixed; width:100%; color:#d9e5f5; font-size:13px; line-height:1.6; }
.meter-spec-table th,.meter-spec-table td { vertical-align:top; text-align:left; padding:14px 12px; border-bottom:1px solid #34455d; overflow-wrap:anywhere; }
.meter-spec-table th { width:34%; background:#18273c; color:#e6d4ad; font-weight:600; }
.meter-spec-table td { background:#101d30; }
.meter-product .meter-spec-table ul { list-style:disc; margin:0; padding-left:16px; }
.meter-product .meter-spec-table li { border:0; padding:0; margin:4px 0; color:#d9e5f5; font-size:13px; line-height:1.6; }
.meter-product .meter-spec-table li ul { margin-top:6px; }
.meter-spec-table p { margin:0 0 6px; }
@media(max-width:640px) { .meter-spec-scroll { max-height:none; overflow:visible; } .meter-spec-table,.meter-spec-table tbody,.meter-spec-table tr,.meter-spec-table th,.meter-spec-table td { display:block; width:100%; } .meter-spec-table th { border-bottom:0; padding-bottom:8px; } .meter-spec-table td { padding-top:10px; } }
.meter-spec-hint { margin:0; padding:10px 12px; color:#b7c8df; font-size:12px; border-bottom:1px solid #34455d; }
@media(max-width:640px) { .meter-spec-hint { display:none; } }
/* Keep both ways to read the specification: inline disclosure and hosted PDF. */
.meter-product .meter-datasheet { margin-top:0; margin-bottom:18px; }
.meter-full-specs { margin-top:0; }

/* 1.5.0 checkout */
.vega-checkout-success { margin: 1.5rem 0 0; }
.vega-checkout-success h2 { margin-top: 0; }
.meter-checkout-actions { margin-top: 1.4rem; }
.meter-checkout-status { margin-top: 0.75rem; }

/* Check Point pages — 1.6.0 (Spark firewalls, Email Security, Secure Access). */
.cp-page .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.cp-page .meter-product-image img { max-height:100%; }
.cp-compare-table th[scope="row"] { white-space:nowrap; }
.cp-page .callout a { color:#efd18e; }
.vega-service-more .btn { display:inline-flex; }
@media(max-width:640px) { #models h2 { font-size:2rem; } }
/* 1.6.0: three more header links; keep the desktop header on one line down to the 921px menu breakpoint. */
@media (min-width:921px) and (max-width:1120px) { .site-nav { gap:0.25rem 0.8rem; } .site-nav a { font-size:0.86rem; } .site-nav .btn { white-space:nowrap; padding-inline:0.9rem; } .brand-tag { white-space:nowrap; } .header-inner { gap:1rem; } }

/* 1.6.2: Check Point logo in the hero of all three Check Point pages (no glow, per Von). */
.cp-page .cp-hero-logo { position:relative; isolation:isolate; min-height:300px; display:grid; place-items:center; }
.cp-page .cp-hero-logo::before { content:""; position:absolute; z-index:-1; left:50%; top:50%; width:min(520px,118%); aspect-ratio:1.6; transform:translate(-50%,-50%); border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(178,214,255,.30) 0%, rgba(126,200,255,.18) 30%, rgba(126,200,255,.07) 52%, rgba(230,197,106,.04) 64%, rgba(7,10,18,0) 74%); filter:blur(8px); pointer-events:none; display:none; }
.cp-page .cp-hero-logo img { position:relative; width:min(320px,86%); height:auto; margin-inline:auto; }
@media(max-width:920px) { .cp-page .cp-hero-logo { min-height:180px; margin-top:.6rem; } .cp-page .cp-hero-logo::before { width:min(420px,110%); } .cp-page .cp-hero-logo img { width:min(260px,72%); } }
@media(max-width:640px) { .cp-page .cp-hero-logo { min-height:150px; } .cp-page .cp-hero-logo::before { width:min(340px,100%); } .cp-page .cp-hero-logo img { width:min(220px,68%); } }

/* 1.7.0: Check Point online pricing and Buy buttons (Spark cards, Email and SASE tables). */
.cp-buy { margin:0 0 20px; padding:16px; border:1px solid #3a4a63; border-radius:14px; background:rgba(126,200,255,0.06); }
.cp-buy-price { margin:0 0 12px; display:flex; flex-direction:column; gap:2px; }
.cp-buy-amount { font-family:var(--font-display); font-weight:600; color:var(--gold); font-size:1.6rem; line-height:1.15; }
.cp-buy-unit { color:var(--text-soft); font-size:13px; }
.cp-buy-actions { display:flex; flex-direction:column; gap:10px; }
.cp-buy-actions .btn { width:100%; min-height:44px; font-size:0.9rem; text-align:center; }
.cp-wifi-badge { display:inline-block; margin-right:6px; padding:2px 9px; border:1px solid rgba(230,197,106,0.45); border-radius:999px; color:var(--gold); background:var(--gold-dim); font-size:12px; font-weight:600; letter-spacing:.02em; }
.cp-photo-note { margin:-8px 0 14px; color:var(--text-mute); font-size:12px; }
.cp-price-note { margin:1rem 0 0; font-size:0.9rem; color:var(--text-soft); }
.cp-price-note-models { margin-top:1.6rem; }
.cp-price-note-models + .hw-note { margin-top:0.4rem; }
.cp-pricing { margin-top:2rem; }
.cp-pricing h3 { margin:0 0 0.35rem; }
.cp-pricing-intro { margin:0 0 1rem; color:var(--text-soft); }
.cp-price-table { border:1px solid var(--line-strong); border-radius:var(--radius-sm); border-collapse:separate; border-spacing:0; overflow:hidden; background:rgba(255,255,255,0.02); }
.cp-price-table th, .cp-price-table td { padding:1rem 1.1rem; vertical-align:top; }
.cp-price-table tbody tr:last-child th, .cp-price-table tbody tr:last-child td { border-bottom:0; }
.cp-price-table thead th { background:rgba(126,200,255,0.06); }
.cp-price-table tbody th { color:var(--text); font-family:var(--font-display); }
.cp-price-sub { display:block; margin-top:4px; color:var(--text-soft); font-family:var(--font-body, inherit); font-weight:400; font-size:13px; }
.cp-price-amount { display:block; font-family:var(--font-display); font-weight:600; color:var(--gold); font-size:1.35rem; line-height:1.2; }
.cp-price-per { display:block; margin:2px 0 10px; color:var(--text-soft); font-size:12px; }
.cp-price-btn { min-height:38px; padding:0.45rem 1rem; font-size:0.85rem; white-space:nowrap; }
.cp-price-table-tiers tbody th { width:26%; }
@media(max-width:640px) {
  .cp-price-table, .cp-price-table tbody, .cp-price-table tr, .cp-price-table th, .cp-price-table td { display:block; width:100%; }
  .cp-price-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .cp-price-table tbody tr { border-bottom:1px solid var(--line-strong); }
  .cp-price-table tbody tr:last-child { border-bottom:0; }
  .cp-price-table th, .cp-price-table td { border-bottom:0; padding:0.7rem 1rem; }
  .cp-price-table tbody th { padding-top:1rem; width:100%; }
  .cp-price-table td::before { display:block; margin-bottom:4px; color:var(--text-mute); font-size:11px; letter-spacing:.08em; text-transform:uppercase; font-family:var(--font-display); }
  .cp-price-table:not(.cp-price-table-tiers) td:nth-of-type(1)::before { content:"Annual"; }
  .cp-price-table:not(.cp-price-table-tiers) td:nth-of-type(2)::before { content:"Monthly"; }
  .cp-price-table-tiers td:nth-of-type(1)::before { content:"Essentials"; }
  .cp-price-table-tiers td:nth-of-type(2)::before { content:"Premium"; }
  .cp-price-table-tiers td:nth-of-type(3)::before { content:"Complete"; }
  .cp-price-table-tiers tbody th { width:100%; }
}

/* 1.8.0 guides */
.vega-guide .guide-body > * { max-width: 46rem; }
.vega-guide .page-hero h1 { max-width: 28ch; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.vega-guide .page-hero .lede, .vega-guide .page-hero .guide-meta { max-width: 46rem; }
.vega-guide .guide-sources { max-width: 46rem; }
.vega-guide .guide-body h2 { margin: 2.2rem 0 0.8rem; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.vega-guide .guide-body h3 { margin: 1.6rem 0 0.5rem; }
.vega-guide .guide-body p, .vega-guide .guide-body li { color: var(--text-soft); font-size: 1.08rem; line-height: 1.7; }
.vega-guide .guide-body p { margin: 0 0 1rem; }
.vega-guide .guide-body ul, .vega-guide .guide-body ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.vega-guide .guide-body li { margin-bottom: 0.45rem; }
.vega-guide .guide-body a, .vega-guide .guide-meta a, .vega-guide .faq-guide-link a { color: var(--vega); text-decoration: underline; text-underline-offset: 3px; }
.vega-guide .guide-body strong { color: var(--text); }
.vega-guide .guide-meta { margin: 1rem 0 0; font-size: 0.95rem; color: var(--text-mute); }
.vega-guide .table-scroll { overflow-x: auto; margin: 0 0 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.vega-guide .guide-table { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: 1rem; }
.vega-guide .guide-table th, .vega-guide .guide-table td { padding: 0.8rem 0.95rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.vega-guide .guide-table thead th { color: var(--text); background: var(--bg-elev); font-family: var(--font-display); }
.vega-guide .guide-table tbody th { color: var(--text); font-weight: 600; width: 22%; }
.vega-guide .guide-table tr:last-child th, .vega-guide .guide-table tr:last-child td { border-bottom: 0; }
.vega-guide .guide-sources { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.vega-guide .guide-sources h2 { font-size: 1.15rem; margin: 0 0 0.6rem; }
.vega-guide .guide-sources li, .vega-guide .guide-sources p { font-size: 0.98rem; }
.guide-card h3 a { color: var(--text); text-decoration: none; }
.guide-card h3 a:hover { color: var(--vega); }
.guide-card p + p { margin-top: 1rem; }
.faq-guide-link { margin: 1rem 0 0; color: var(--text-soft); }
.faq-guide-link a { color: var(--vega); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 920px) { .grid-3.guide-grid { grid-template-columns: 1fr; } }

/* ---------- 1.9.0 on-site cart ---------- */
.cart-link {
  order: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  text-decoration: none;
  flex: none;
}
.cart-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #221a08;
  font: 700 0.72rem/20px var(--font-display);
  text-align: center;
}
.cart-count[hidden] { display: none; }
.btn-sm { min-height: 36px; padding: 0.35rem 0.9rem; font-size: 0.85rem; }

.vega-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 140%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  padding: 0.7rem 0.9rem 0.7rem 1.1rem;
  background: #0f1830;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.97rem;
  transition: transform 0.25s ease;
}
.vega-toast.is-visible { transform: translate(-50%, 0); }
.vega-toast .btn { flex: none; }
@media (prefers-reduced-motion: reduce) { .vega-toast { transition: none; } }

.order-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.order-lines { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.85rem; }
.order-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9.5rem 7rem auto;
  gap: 0.75rem 1.1rem;
  align-items: start;
  padding: 1.05rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.order-line-main { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.order-line-main strong { font-family: var(--font-display); font-weight: 600; }
.order-line-main .muted, .order-interval { font-size: 0.88rem; color: var(--text-mute); }
.order-line-qty label { font-size: 0.78rem; margin-bottom: 0.2rem; color: var(--text-soft); }
.order-line-qty input { width: 100%; }
.order-line-price { display: flex; flex-direction: column; text-align: right; }
.order-line-price .muted { font-size: 0.82rem; color: var(--text-mute); }
.order-remove {
  background: none;
  border: 0;
  color: var(--text-mute);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.25rem;
}
.order-remove:hover { color: #ffb4b4; }
.order-line-error { grid-column: 1 / -1; color: #ffb4b4; }
.order-summary { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 0.9rem; }
.order-summary h2 { font-size: 1.25rem; margin: 0; }
.order-summary h3 { font-size: 1rem; margin: 0 0 0.35rem; }
.order-due { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin: 0; }
.order-due strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.order-split { background: var(--gold-dim); border: 1px solid rgba(230,197,106,0.4); border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; color: #f3e6be !important; font-size: 0.93rem; }
.order-batch + .order-batch { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.order-terms { display: flex; gap: 0.6rem; align-items: flex-start; font-family: var(--font-body); font-weight: 400; font-size: 0.95rem; margin: 0; }
.order-terms input { width: auto; margin-top: 0.3rem; }
.order-pay-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.order-pay-head h2 { margin: 0 0 0.4rem; }
.order-mini { list-style: none; margin: 0; padding: 0; color: var(--text-soft); font-size: 0.95rem; }
.order-embed { background: #fff; border-radius: var(--radius); padding: 0.5rem; min-height: 320px; }
.order-embed > .muted { color: #55607a; padding: 1rem; }
.order-error { color: #ffb4b4; margin-bottom: 1rem; }
.order-messages:empty { display: none; }
.order-messages { margin-bottom: 1.2rem; }
.order-empty .actions { margin-top: 1rem; }

@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 720px) {
  .nav-toggle { order: 2; }
  .cart-link { order: 1; margin-left: auto; }
  .order-line { grid-template-columns: 1fr 1fr; }
  .order-line-main { grid-column: 1 / -1; }
  .order-line-price { text-align: left; }
  .order-remove { justify-self: end; align-self: end; }
}
@media (min-width: 721px) and (max-width: 1040px) {
  /* 1.9.0: keep the header on one line now that it also holds the cart icon. */
  .header-inner { gap: 0.6rem; }
  .brand-tag { display: none; }
  .site-nav { gap: 0.25rem 0.8rem; }
  .site-nav a { font-size: 0.9rem; }
  .site-nav .btn { white-space: nowrap; min-height: 38px; padding: 0.4rem 0.85rem; margin-left: 0.1rem; }
  .cart-link { width: 40px; height: 40px; }
}
