/* ============================================================
   Opscera — styles.css
   Mobile-first. Breakpoints at 768px and 1200px.
   ============================================================ */

:root {
  --orange: #FFA147;
  --orange-soft: #FFB872;
  --cream: #FAF8F4;
  --dark: #1A1916;
  --text: #1A1916;
  --muted: #6B6862;
  --border: #E8E4DC;
  --white: #FFFFFF;

  --received: #2F8F4E;
  --received-bg: #E5F4EB;
  --pending: #B7791F;
  --pending-bg: #FBF1DC;
  --overdue: #C2410C;
  --overdue-bg: #FCE9DD;
  --transit: #1D5BBF;
  --transit-bg: #E0EAFB;

  --font-display: 'General Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --container-narrow: 720px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(26,25,22,0.05), 0 1px 3px rgba(26,25,22,0.06);
  --shadow-md: 0 6px 16px rgba(26,25,22,0.08), 0 2px 6px rgba(26,25,22,0.06);
  --shadow-lg: 0 24px 48px rgba(26,25,22,0.12), 0 8px 20px rgba(26,25,22,0.08);

  --nav-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: 1.125rem; }
h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.narrow-container { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.25rem; }

.section {
  padding: 5rem 0;
  scroll-margin-top: 120px;
}
.section-light { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark); color: var(--white); }

.section-head { margin-bottom: 3rem; }
.section-head.narrow { max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.two-col {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin: 0 0 1rem;
}
.eyebrow-on-dark { color: var(--orange); }
.display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
}
.display em {
  font-style: italic;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 500;
}
.lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: var(--muted);
  max-width: 56ch;
}
.on-dark { color: var(--white); }
.on-dark-muted { color: rgba(255,255,255,0.72); }

.mono { font-family: var(--font-mono); font-size: 0.8125rem; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 6px 14px rgba(255,161,71,0.32);
}
.btn-primary:hover {
  background: #FF932E;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 10px 22px rgba(255,161,71,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--white);
}
.btn-block { width: 100%; justify-content: center; padding: 1rem 1.5rem; font-size: 1rem; }

.text-cta {
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-block;
  position: relative;
  transition: color .2s var(--ease);
}
.text-cta:hover { color: #E07F1E; }
.text-cta-row { margin-top: 2rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(26,25,22,0.06);
  border-bottom-color: var(--border);
}
.nav-inner {
  height: var(--nav-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 28px; width: auto; }

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  transition: color .15s var(--ease);
}
.nav-links a:hover { color: var(--orange); }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.mobile-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}
.mobile-links .btn { margin-top: 0.5rem; }

body.no-scroll { overflow: hidden; }

/* ---------- Hero (single column, centred) ---------- */
.hero {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 1.5rem;
  background: var(--cream);
  text-align: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto;
}
.hero-text .display { margin: 0 0 1.5rem; }
.hero-text .lede {
  margin: 0 auto 2rem;
  max-width: 60ch;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.trust-row {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--orange);
  flex-wrap: wrap;
  justify-content: center;
}
.trust-row .tick {
  color: var(--orange);
  font-weight: 700;
  margin-right: 0.35rem;
}

/* ---------- Hero COA tracker card (full width with glow) ---------- */
.hero-card-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  isolation: isolate;
}
.hero-card-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,161,71,0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.coa-card {
  position: relative;
  background: #FAF8F4;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}

.coa-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
}
.coa-dots { display: inline-flex; gap: 0.4rem; }
.coa-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.coa-dots span:nth-child(1) { background: #F08383; }
.coa-dots span:nth-child(2) { background: #F5C16C; }
.coa-dots span:nth-child(3) { background: #7BC48C; }
.coa-card-title { font-weight: 500; }

.coa-card-sub {
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted);
}

.coa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.coa-table th, .coa-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.coa-table th {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--cream);
}
.coa-table td.mono {
  font-family: var(--font-mono);
  font-size: 13px;
}
.coa-table tbody tr:last-child td { border-bottom: 0; }
.coa-table tbody tr {
  transition: background-color 0.4s ease;
}
.sup-code {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-left: 0.35rem;
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.5s ease, color 0.5s ease;
}
.pill-received { background: var(--received-bg); color: var(--received); }
.pill-pending  { background: var(--pending-bg);  color: var(--pending); }
.pill-overdue  { background: var(--overdue-bg);  color: var(--overdue); }
.pill-transit  { background: var(--transit-bg);  color: var(--transit); }

/* Amber row pulse */
@keyframes coa-row-pulse {
  0%   { background-color: transparent; }
  30%  { background-color: rgba(183,121,31,0.16); }
  100% { background-color: transparent; }
}
.coa-table tbody tr.is-pulsing {
  animation: coa-row-pulse 1s ease;
}

/* Bottom fade — spans 40% of the card height for a smooth, line-free
   transition. Two stops only (0% / 100%) so the gradient is a single
   linear interpolation — no kink, no visible boundary. Uses rgba(cream, 0)
   rather than CSS `transparent` so it doesn't interpolate through grey. */
.coa-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 244, 0) 0%,
    rgba(250, 248, 244, 1) 100%
  );
  pointer-events: none;
  z-index: 10;
}

/* Toast — slides in from top-right of card */
.coa-toast {
  position: absolute;
  top: 60px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.coa-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.coa-toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--received);
  box-shadow: 0 0 0 3px rgba(47,143,78,0.18);
  flex-shrink: 0;
}


/* ---------- Problem list (stacked cards, right of diagram) ---------- */
.problem-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  width: 100%;
}
.problem-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  align-items: start;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.problem-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,161,71,0.35);
}
.card-icon {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,161,71,0.12);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.problem-list h3 { margin: 0; font-size: 1.0625rem; align-self: center; }
.problem-list p { color: var(--muted); margin: 0; font-size: 0.9375rem; grid-column: 2; }

/* ---------- Steps (stacked cards, right column) ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  width: 100%;
}
.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  align-items: start;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.steps li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,161,71,0.35);
}
.step-num {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--orange);
  background: var(--white);
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps h3 { margin: 0; font-size: 1.0625rem; align-self: center; }
.steps p { color: var(--muted); margin: 0; font-size: 0.9375rem; grid-column: 2; }

/* ---------- Visual col (diagrams) ---------- */
.col-visual { display: flex; align-items: center; justify-content: center; }
.col-visual img { width: 100%; max-width: 520px; }

/* Node network composition */
.node-network {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.node-network .node-bg {
  width: 100%;
  max-width: 560px;
}

/* ---------- Compare table (What you get) ---------- */
.compare {
  display: none;        /* desktop 3-col table — shown only ≥768px */
  margin-top: 2rem;
}
.compare-col { display: flex; flex-direction: column; }
.compare-head {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.compare-row {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
}
.compare-labels .compare-row {
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  font-weight: 500;
}
.compare-without .compare-row {
  color: var(--white);
  font-weight: 500;
}
.compare-with {
  background: rgba(255,161,71,0.06);
  border: 1.5px solid var(--orange);
  border-radius: var(--radius);
  margin-top: 2rem;
}
.compare-with .compare-head {
  color: var(--orange);
  border-bottom-color: rgba(255,161,71,0.25);
}
.compare-with .compare-row {
  color: var(--white);
  border-bottom-color: rgba(255,161,71,0.18);
  font-weight: 500;
}
.compare-with .compare-row:last-of-type { border-bottom: 0; }

.compare-cta {
  padding: 1.5rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.compare-mobile-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

/* ---------- Compare: stacked cards (mobile only) ---------- */
.compare-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2rem;
}
.compare-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}
.compare-card-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.625rem;
}
.compare-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.compare-card-cell {
  font-size: 0.875rem;
  line-height: 1.4;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}
.compare-card-without { color: var(--muted); }
.compare-card-with    { color: var(--text); font-weight: 500; }
.compare-card-mark {
  flex-shrink: 0;
  font-weight: 700;
  line-height: 1.4;
}
.compare-card-without .compare-card-mark { color: var(--overdue); }
.compare-card-with    .compare-card-mark { color: var(--received); }

.compare-mobile-cta {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
.compare-mobile-cta .btn { justify-content: center; }
.compare-mobile-cta .badge-row { justify-content: center; }

/* ---------- Profile grid ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.profile-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.profile-card p { margin: 0; color: var(--muted); font-size: 0.875rem; }

/* ---------- Geo pattern (bespoke) ---------- */
.geo-pattern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 320px;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.geo-pattern span {
  display: block;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}
.geo-pattern span:nth-child(5) {
  background: var(--orange);
  border-color: var(--orange);
}
.geo-pattern span:nth-child(1),
.geo-pattern span:nth-child(9) {
  background: var(--cream);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform .25s var(--ease); color: var(--muted); display: inline-flex; }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--orange); }
.faq-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.faq-body p { margin: 0; }

/* ---------- Contact form ---------- */
.contact-form {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;   /* stack on mobile */
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text);
}
.req { color: var(--orange); }
.field input {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,161,71,0.18);
}
.field input.invalid {
  border-color: var(--overdue);
  box-shadow: 0 0 0 3px rgba(194,65,12,0.12);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0.25rem 0 0.5rem;
}
.checkbox input { margin-top: 0.2rem; accent-color: var(--orange); }
.checkbox a { color: var(--orange); text-decoration: underline; }

.btn-loading { display: none; }
.btn.is-loading .btn-label { display: none; }
.btn.is-loading .btn-loading { display: inline; }
.btn[disabled] { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-status {
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
  min-height: 1.25em;
}
.form-status.is-success { color: var(--received); }
.form-status.is-error { color: var(--overdue); }

/* ---------- Badges ---------- */
.badge-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 0; }
.badge-row-center { justify-content: center; margin-top: 0.5rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.badge-dark {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  background: var(--dark);
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.5rem;
  max-width: 480px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-banner-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.cookie-banner-body a {
  color: var(--orange);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.cookie-banner .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.cookie-banner .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.8125rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.72);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-col h4 {
  color: rgba(255,255,255,0.5);
  margin: 0 0 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-col a {
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color .15s var(--ease);
}
.footer-col a:hover { color: var(--orange); }
.cookie-settings-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  text-align: left;
  transition: color .15s var(--ease);
}
.cookie-settings-btn:hover { color: var(--orange); }
.footer-address {
  color: rgba(255,255,255,0.5);
  font-size: 0.8125rem;
  line-height: 1.55;
  margin-top: 0.25rem;
}
.footer-logo { height: 28px; width: auto; margin-bottom: 1rem; }
.footer-col p { font-size: 0.875rem; max-width: 38ch; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.footer-bar p { margin: 0; }

/* ---------- Ambient glows behind visuals ---------- */
.problem-list,
.steps,
.node-network,
.contact-form {
  position: relative;
  isolation: isolate;
}
.problem-list::before,
.steps::before,
.node-network::before,
.contact-form::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,161,71,0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* ============================================================
   Tablet  ≥ 768px
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 6.5rem 0; }

  .nav-links { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }

  .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .two-col-reverse > .col-text { grid-column: 2; grid-row: 1; }
  .two-col-reverse > :not(.col-text) { grid-column: 1; grid-row: 1; }

  .profile-grid { grid-template-columns: 1fr 1fr; }

  .compare {
    display: grid;
    grid-template-columns: 1fr 1fr 1.05fr;
    gap: 0;
    align-items: stretch;
  }
  .compare-with { margin-top: 0; margin-left: -1px; }
  .compare-mobile-label { display: none; }
  .compare-mobile { display: none; }

  .field-row { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

/* ============================================================
   Desktop  ≥ 1200px
   ============================================================ */
@media (min-width: 1200px) {
  .two-col { gap: 5rem; }
  .display { font-size: 4.5rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
