/* ==========================================================================
   PathWatch — "Gemini" visual direction
   Deep navy ground, electric cyan accent, glass-edged panels.

   Built to the supplied reference: dark gradient field, glowing accent,
   uppercase display headings, panels that read as instrument housings.
   Applied to the EXISTING markup and class names, so every pricing,
   comparison, add-on, consent and globe script hook keeps working.
   ========================================================================== */

/* --- Faces ---------------------------------------------------------------
   Self-hosted: the CSP is `font-src 'self' data:`, so no CDN font loads. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/martian-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
  /* Field. A navy that runs blue-violet in the deepest step, so the
     gradient reads as depth rather than as a flat dark grey. */
  --g-bg:            #060a1c;
  --g-bg-2:          #0a1130;
  --g-panel:         #0d1533;
  --g-panel-2:       #111c42;
  --g-panel-raised:  #16224d;

  --g-border:        #1e2c5a;
  --g-border-soft:   #182347;
  --g-border-lit:    #2b3f7d;

  --g-ink:           #f2f6ff;
  --g-ink-2:         #a9b8de;
  --g-ink-3:         #7d8cb5;

  /* Accent. Electric cyan-blue, used for emphasis and glow. */
  --g-accent:        #38bdf8;
  --g-accent-2:      #2f7df4;
  --g-accent-deep:   #1b4fd8;
  --g-accent-ink:    #04122e;
  --g-accent-tint:   rgba(56, 189, 248, 0.10);
  --g-accent-line:   rgba(56, 189, 248, 0.32);

  /* Status stays semantic even in a decorative field. */
  --g-up:            #34d399;
  --g-down:          #fb7185;
  --g-degraded:      #fbbf24;
  --g-partial:       #fb923c;
  --g-paused:        #8b9ac4;

  --g-glow-cyan:     0 0 32px rgba(56, 189, 248, 0.28);
  --g-glow-soft:     0 0 0 1px rgba(56, 189, 248, 0.14), 0 18px 40px rgba(3, 8, 26, 0.6);

  --g-radius:        14px;
  --g-radius-sm:     9px;
  --g-radius-lg:     20px;

  --g-font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --g-mono: 'Martian Mono', ui-monospace, 'Cascadia Mono', Menlo, monospace;

  --g-page: 1180px;
  --g-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset + field ------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--g-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--g-ink-2);
  background: var(--g-bg);
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

/* The field: two soft accent blooms over a vertical gradient. Fixed so the
   page scrolls through the light rather than dragging it along. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70rem 40rem at 78% -8%, rgba(47, 125, 244, 0.22), transparent 62%),
    radial-gradient(52rem 34rem at 8% 12%, rgba(56, 189, 248, 0.12), transparent 60%),
    linear-gradient(180deg, var(--g-bg-2) 0%, var(--g-bg) 42%, var(--g-bg) 100%);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
table { font-variant-numeric: tabular-nums; }

::selection { background: var(--g-accent); color: var(--g-accent-ink); }
:root { accent-color: var(--g-accent); caret-color: var(--g-accent); }

* { scrollbar-color: var(--g-border-lit) transparent; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--g-border-lit); border-radius: 99px; border: 3px solid var(--g-bg); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--g-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- Type ---------------------------------------------------------------- */

h1, h2, h3, h4 { margin: 0; color: var(--g-ink); line-height: 1.1; text-wrap: balance; }

h1, .logo {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Uppercase section titles are the reference's signature. Applied only to
   the short structural headings, never to sentences. */
.features-grid + *, .section-title { text-wrap: balance; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--g-ink-2);
  max-width: 62ch;
  margin-inline: auto;
}

code, pre, kbd, samp { font-family: var(--g-mono); font-size: 0.8125em; }

a { color: var(--g-accent); text-underline-offset: 0.18em; }
a:hover { color: #7dd3fc; }

/* --- Layout -------------------------------------------------------------- */

.container { width: 100%; max-width: var(--g-page); margin-inline: auto; padding-inline: 1.5rem; }
.text-center { text-align: center; }

.section { padding-block: clamp(3.5rem, 6vw, 6rem); position: relative; }

/* No alternating bands: separation is a lit hairline, which suits the field. */
.section-alt { background: transparent; }
.section + .section::before,
.section + .comparison-section::before,
.comparison-section + .section::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--g-border-lit) 18%, var(--g-border-lit) 82%, transparent);
}

/* --- Masthead ------------------------------------------------------------ */

.site-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 10, 28, 0.72);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--g-border-soft);
}
.nav-inner {
  max-width: var(--g-page); margin-inline: auto; padding: 0 1.5rem;
  height: 4rem; display: flex; align-items: center; gap: 1.5rem;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-right: auto;
  font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--g-ink); text-decoration: none;
}
.nav-brand svg { color: var(--g-accent); }
.nav-dot { color: var(--g-accent); }
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 0.75rem; border-radius: 8px;
  font-size: 0.9375rem; color: var(--g-ink-2); text-decoration: none;
  transition: color 160ms var(--g-ease), background 160ms var(--g-ease);
}
.nav-links a:hover { color: var(--g-ink); background: rgba(56, 189, 248, 0.08); }
.nav-auth { display: flex; align-items: center; gap: 0.75rem; }
.nav-signin { font-size: 0.9375rem; color: var(--g-ink-2); text-decoration: none; }
.nav-signin:hover { color: var(--g-ink); }
.nav-signup {
  padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  color: var(--g-accent-ink);
  background: linear-gradient(180deg, #5cc9fb, var(--g-accent));
  box-shadow: var(--g-glow-cyan);
}
.nav-signup:hover { color: var(--g-accent-ink); filter: brightness(1.08); }

@media (max-width: 900px) {
  .nav-inner { height: auto; flex-wrap: wrap; padding-block: 0.75rem 0; row-gap: 0.5rem; }
  .nav-links {
    order: 3; width: 100%; overflow-x: auto; scrollbar-width: none;
    margin-inline: -1.5rem; padding: 0 1.5rem 0.5rem;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
}

/* --- Hero ---------------------------------------------------------------- */

.hero { padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 5vw, 5rem); position: relative; }
.hero-content { max-width: var(--g-page); margin-inline: auto; padding-inline: 1.5rem; }

.status-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3125rem 0.75rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600;
  color: #bfe9ff;
  background: var(--g-accent-tint);
  border: 1px solid var(--g-accent-line);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--g-up);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.logo { margin: 1.25rem 0 0; }
.hero-tagline {
  margin-top: 0.875rem;
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
  color: var(--g-ink);
  font-weight: 500;
}
.hero-tagline strong { color: var(--g-accent); font-weight: 700; }
.hero-desc { margin-top: 0.75rem; max-width: 60ch; font-size: 1.0625rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2rem; }
.hero-btn-primary, .hero-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8125rem 1.5rem; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none;
  transition: filter 160ms var(--g-ease), background 160ms var(--g-ease), border-color 160ms var(--g-ease);
}
.hero-btn-primary {
  color: var(--g-accent-ink);
  background: linear-gradient(180deg, #5cc9fb, var(--g-accent));
  box-shadow: var(--g-glow-cyan);
}
.hero-btn-primary:hover { color: var(--g-accent-ink); filter: brightness(1.08); }
.hero-btn-ghost {
  color: var(--g-ink);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--g-border-lit);
}
.hero-btn-ghost:hover { color: var(--g-ink); border-color: var(--g-accent-line); background: rgba(56, 189, 248, 0.06); }
.hero-cta-note { margin-top: 0.875rem; font-size: 0.875rem; color: var(--g-ink-3); }

/* --- Panels --------------------------------------------------------------
   The reference's core object: a dark glass slab with a lit edge. Every
   card in the page is one of these.                                     */

.highlight,
.feature-card,
.check-item,
.step,
.price-card,
.addon-card,
.why-card,
.comparison-wrapper,
.regions-continent {
  background: linear-gradient(180deg, var(--g-panel-2), var(--g-panel));
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  box-shadow: 0 14px 34px rgba(3, 8, 26, 0.45);
}

.highlight, .feature-card, .check-item, .step, .addon-card, .why-card { padding: 1.375rem; }

.feature-card, .why-card, .highlight, .check-item, .addon-card {
  transition: border-color 200ms var(--g-ease), transform 200ms var(--g-ease), box-shadow 200ms var(--g-ease);
}
.feature-card:hover, .why-card:hover, .highlight:hover, .check-item:hover, .addon-card:hover {
  border-color: var(--g-border-lit);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(3, 8, 26, 0.6);
}

.feature-card h3, .why-card h3, .highlight-title, .check-name, .step h3 {
  color: var(--g-ink);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.feature-card p, .why-card p, .highlight-desc, .check-desc, .step p {
  color: var(--g-ink-2);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

/* Icon plates: a lit square rather than a bare glyph. */
.feature-icon, .why-icon, .highlight-icon, .check-icon {
  display: inline-grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 10px;
  font-size: 1.125rem;
  color: var(--g-accent);
  background: var(--g-accent-tint);
  border: 1px solid var(--g-accent-line);
  margin-bottom: 0.875rem;
}
.feature-icon svg, .why-icon svg, .highlight-icon svg, .check-icon svg {
  width: 1.25rem; height: 1.25rem;
}

.highlight-header { display: flex; align-items: center; gap: 0.75rem; }
.highlight-header .highlight-icon { margin-bottom: 0; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.125rem; margin-top: 2.5rem; text-align: left; }
.checks-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: 2.5rem; text-align: left; }
.why-grid     { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.125rem; margin-top: 2.5rem; text-align: left; }
.steps        { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.125rem; margin-top: 2.5rem; text-align: left; }
.what-grid    { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; text-align: left; }
.what-highlights { display: grid; gap: 1rem; }
.what-text p  { color: var(--g-ink-2); }
.what-text strong { color: var(--g-ink); }

@media (max-width: 900px) { .what-grid { grid-template-columns: 1fr; } }

.section-label {
  display: inline-block;
  font-family: var(--g-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g-accent);
  margin-bottom: 0.75rem;
}

/* --- Pricing ------------------------------------------------------------- */

.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 0.875rem; margin-top: 2rem; }
.billing-label { font-size: 0.9375rem; color: var(--g-ink-3); display: inline-flex; align-items: center; gap: 0.5rem; }
.billing-label.active { color: var(--g-ink); }
.billing-save {
  font-size: 0.6875rem; font-weight: 700; padding: 0.125rem 0.4375rem; border-radius: 999px;
  color: #062a1e; background: var(--g-up);
}
.billing-switch {
  width: 46px; height: 26px; border-radius: 999px; position: relative; cursor: pointer;
  border: 1px solid var(--g-border-lit); background: var(--g-panel); padding: 0;
  transition: background 160ms var(--g-ease), border-color 160ms var(--g-ease);
}
.billing-switch.active { background: linear-gradient(180deg, #5cc9fb, var(--g-accent)); border-color: transparent; }
.billing-switch-thumb {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--g-ink); transition: transform 160ms var(--g-ease);
}
.billing-switch.active .billing-switch-thumb { transform: translateX(20px); background: var(--g-accent-ink); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.125rem; margin-top: 2.5rem; align-items: stretch; text-align: left; }
@media (max-width: 1040px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .pricing-grid { grid-template-columns: 1fr; } }

.price-card { display: flex; flex-direction: column; padding: 1.5rem; }

/* The featured tier is lit, matching the reference's highlighted plan. */
.price-card.featured {
  border-color: var(--g-accent-line);
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(56, 189, 248, 0.16), transparent 70%),
    linear-gradient(180deg, var(--g-panel-raised), var(--g-panel));
  box-shadow: var(--g-glow-soft);
  position: relative;
}
.price-card.featured::before {
  content: 'Recommended';
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  padding: 0.1875rem 0.6875rem; border-radius: 999px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--g-accent-ink);
  background: linear-gradient(180deg, #5cc9fb, var(--g-accent));
  white-space: nowrap;
}

.price-name { font-size: 1.0625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--g-ink); }
.price-target { font-size: 0.8125rem; color: var(--g-ink-3); margin-top: 0.25rem; min-height: 2.4em; }
.price-block { margin-top: 1rem; }
.price-monthly-ref { font-size: 0.8125rem; color: var(--g-ink-3); text-decoration: line-through; min-height: 1.2em; }
.price-amount { display: flex; align-items: baseline; gap: 0.125rem; margin-top: 0.125rem; }
.price-currency { font-size: 1.25rem; font-weight: 600; color: var(--g-ink-2); }
.price-value { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--g-ink); }
.price-period { font-size: 0.875rem; color: var(--g-ink-3); }
.price-vat { font-size: 0.75rem; }
.price-info { font-size: 0.75rem; color: var(--g-ink-3); margin-top: 0.5rem; min-height: 1.2em; }
.price-local { font-size: 0.75rem; color: var(--g-ink-2); margin-top: 0.125rem; min-height: 1.1em; }
.price-divider { height: 1px; background: var(--g-border); margin: 1.125rem 0; }

.price-features { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.5rem; }
.price-features li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.875rem; line-height: 1.45; color: var(--g-ink-2);
}
.price-features li::before {
  content: ''; position: absolute; left: 0; top: 0.36em;
  width: 0.9375rem; height: 0.9375rem; border-radius: 50%;
  background: var(--g-accent-tint);
  border: 1px solid var(--g-accent-line);
}
.price-features li::after {
  content: ''; position: absolute; left: 0.3125rem; top: 0.62em;
  width: 0.3125rem; height: 0.1875rem;
  border-left: 1.5px solid var(--g-accent);
  border-bottom: 1.5px solid var(--g-accent);
  transform: rotate(-45deg);
}
.price-features li strong { color: var(--g-ink); }

.price-cta {
  margin-top: auto; display: block; text-align: center; text-decoration: none;
  padding: 0.75rem 1rem; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600;
  color: var(--g-ink);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--g-border-lit);
  transition: border-color 160ms var(--g-ease), background 160ms var(--g-ease);
}
.price-cta:hover { color: var(--g-ink); border-color: var(--g-accent-line); background: rgba(56, 189, 248, 0.08); }
.price-card.featured .price-cta {
  color: var(--g-accent-ink); border-color: transparent;
  background: linear-gradient(180deg, #5cc9fb, var(--g-accent));
  box-shadow: var(--g-glow-cyan);
}
.price-card.featured .price-cta:hover { color: var(--g-accent-ink); filter: brightness(1.08); }

/* --- Comparison ---------------------------------------------------------- */

.comparison-wrapper { overflow-x: auto; overscroll-behavior-x: contain; margin-top: 2.5rem; }
.comparison-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 0.875rem; text-align: left; }
.comparison-table th, .comparison-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--g-border-soft); text-align: center; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; }
.comparison-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--g-panel-2);
  color: var(--g-ink); font-weight: 700; font-size: 0.8125rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--g-border-lit);
}
.comparison-table thead th.col-highlight { color: var(--g-accent); box-shadow: inset 0 -2px 0 var(--g-accent); }
.comparison-table td.col-highlight { background: rgba(56, 189, 248, 0.05); }
.comparison-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.comparison-table tr.comparison-category td,
.comparison-table td.comparison-category {
  background: rgba(56, 189, 248, 0.06);
  color: var(--g-accent);
  font-family: var(--g-mono); font-size: 0.6875rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-align: left;
}
.comparison-table .check { color: var(--g-up); font-weight: 700; }
.comparison-table .cross { color: var(--g-ink-3); }
.scroll-hint { font-size: 0.8125rem; color: var(--g-ink-3); margin-top: 1.5rem; }
@media (min-width: 900px) { .scroll-hint { display: none; } }

.info-tip { position: relative; cursor: help; border-bottom: 1px dotted var(--g-ink-3); }
.info-tooltip {
  /* The script (index.html) appends a single tooltip to <body> and sets
     left/top in viewport coordinates, so this is `fixed`, not `absolute`,
     and it must not carry its own offset or transform. */
  position: fixed; pointer-events: none;
  background: var(--g-panel-raised); color: var(--g-ink);
  border: 1px solid var(--g-border-lit);
  padding: 0.5rem 0.75rem; border-radius: 8px;
  font-size: 0.75rem; line-height: 1.4; font-weight: 400;
  width: max-content; max-width: 260px; text-align: left;
  box-shadow: 0 18px 40px rgba(3, 8, 26, 0.7); z-index: 30;
  opacity: 0; visibility: hidden; transition: opacity 160ms var(--g-ease);
}
/* Revealed by class, not by descendant hover: the tooltip is not inside
   the trigger, it is a sibling of everything. */
.info-tooltip.visible { opacity: 1; visibility: visible; }

/* --- Add-ons ------------------------------------------------------------- */

.addons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 1rem; text-align: left; }
.addon-name { font-weight: 700; color: var(--g-ink); font-size: 0.9375rem; }
.addon-desc { font-size: 0.8125rem; color: var(--g-ink-2); margin-top: 0.375rem; }
.addon-price { font-weight: 700; font-size: 1.125rem; color: var(--g-ink); margin-top: 0.75rem; }
.addon-tier, .badge-addon {
  display: inline-block; font-size: 0.6875rem; font-weight: 700;
  padding: 0.125rem 0.4375rem; border-radius: 999px;
  color: var(--g-accent); background: var(--g-accent-tint); border: 1px solid var(--g-accent-line);
}
.badge-soon-sm {
  display: inline-block; font-size: 0.6875rem; font-weight: 700;
  padding: 0.125rem 0.375rem; border-radius: 999px;
  color: #3a2a05; background: var(--g-degraded);
}
.addons-note { font-size: 0.8125rem; color: var(--g-ink-3); margin-top: 1.5rem; }

/* --- Regions ------------------------------------------------------------- */

/* The height is load-bearing, not decoration. The globe is lazy-loaded by
   an IntersectionObserver watching this element, and an element with no
   height (or `display: none`) never intersects - so hiding it while empty,
   which is what this rule used to do, meant the globe could never load at
   all. The JS already hides the container and reveals .globe-fallback if
   the CDN scripts fail, so there is nothing for CSS to guard here. */
#globe-container {
  width: 100%;
  max-width: 620px;
  min-height: 420px;
  margin-inline: auto;
}
.globe-fallback { text-align: center; color: var(--g-ink-2); font-size: 0.9375rem; }

.regions-tier-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-top: 1.5rem; }
.regions-tier-legend-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--g-ink-2); }
.badge-tier {
  font-family: var(--g-mono); font-size: 0.6875rem; font-weight: 700;
  padding: 0.125rem 0.375rem; border-radius: 6px;
  color: var(--g-ink-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--g-border-lit);
}
/* A neutral intensity ramp, deliberately NOT the status hues: a red tier-5
   would read as a failing region on a page that uses those colours for
   exactly that. Tier 1 is the brightest, fading toward the ink. */
.badge-tier-1 { color: var(--g-accent);  background: var(--g-accent-tint);        border-color: var(--g-accent-line); }
.badge-tier-2 { color: #93b4f8;          background: rgba(147, 180, 248, 0.10);   border-color: rgba(147, 180, 248, 0.28); }
.badge-tier-3 { color: #a5b4fc;          background: rgba(165, 180, 252, 0.09);   border-color: rgba(165, 180, 252, 0.24); }
.badge-tier-4 { color: var(--g-ink-2);   background: rgba(255, 255, 255, 0.05);   border-color: var(--g-border-lit); }
.badge-tier-5 { color: var(--g-ink-3);   background: rgba(255, 255, 255, 0.03);   border-color: var(--g-border); }

.regions-continent { margin-top: 1.5rem; padding: 1.375rem; text-align: left; }
.regions-continent-title {
  font-family: var(--g-mono); font-size: 0.6875rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--g-accent);
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--g-border); margin-bottom: 0.875rem;
}
.regions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 0.125rem 1.25rem; }
.region-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.4375rem 0; }
.region-flag { font-size: 1rem; line-height: 1; flex: none; }
.region-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.region-city { font-size: 0.875rem; color: var(--g-ink); }
.region-country { font-size: 0.75rem; color: var(--g-ink-3); }

/* --- Closing CTA --------------------------------------------------------- */

.cta {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  text-align: center;
  position: relative;
}
.cta .container {
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(47, 125, 244, 0.20), transparent 70%),
    linear-gradient(180deg, var(--g-panel-2), var(--g-panel));
  border: 1px solid var(--g-border-lit);
  border-radius: var(--g-radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  box-shadow: var(--g-glow-soft);
}
.cta h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.cta p { color: var(--g-ink-2); margin-top: 0.75rem; }
.cta .price-cta {
  display: inline-block; margin-top: 1.5rem; padding: 0.8125rem 2rem;
  color: var(--g-accent-ink); border-color: transparent;
  background: linear-gradient(180deg, #5cc9fb, var(--g-accent));
  box-shadow: var(--g-glow-cyan);
}

/* --- Footer -------------------------------------------------------------- */

.footer { border-top: 1px solid var(--g-border-soft); padding-block: 3rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.875rem; color: var(--g-ink-3); margin-top: 0.75rem; max-width: 40ch; }
.footer-col h3 {
  font-family: var(--g-mono); font-size: 0.6875rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--g-accent); margin-bottom: 0.875rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: var(--g-ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--g-ink); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--g-border-soft);
  font-size: 0.8125rem; color: var(--g-ink-3);
}

/* --- Consent banner ------------------------------------------------------ */

#pw-consent-banner {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  background: rgba(10, 17, 48, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--g-border-lit);
  padding: 1rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem; font-size: 0.875rem; color: var(--g-ink-2);
}
#pw-consent-banner .pw-c-actions { display: flex; gap: 0.5rem; }

/* --- Motion -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Reference components
   The visual artifacts that make the reference what it is: a device frame,
   UI panels, a terminal, an integrations grid. Drawn in markup rather than
   shipped as screenshots, so they stay sharp and follow the theme.
   ========================================================================== */

/* --- Hero split ---------------------------------------------------------- */

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 980px) { .hero-split { grid-template-columns: 1fr; } }

/* --- Device frame -------------------------------------------------------- */

.device {
  border: 1px solid var(--g-border-lit);
  border-radius: var(--g-radius-lg);
  background: linear-gradient(180deg, var(--g-panel-raised), var(--g-panel));
  box-shadow: 0 40px 90px rgba(2, 6, 20, 0.65), var(--g-glow-soft);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transform-origin: left center;
}
@media (max-width: 980px) { .device { transform: none; } }

.device-chrome, .terminal-chrome {
  display: flex; align-items: center; gap: 0.4375rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--g-border);
  background: rgba(255, 255, 255, 0.02);
}
.device-chrome .dot, .terminal-chrome .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--g-border-lit);
}
.device-title {
  margin-left: 0.5rem;
  font-family: var(--g-mono); font-size: 0.625rem;
  color: var(--g-ink-3); letter-spacing: 0.02em;
}

.device-body { padding: 1rem; }

.ui-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; margin-bottom: 0.875rem; }
.ui-stat {
  border: 1px solid var(--g-border); border-radius: var(--g-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.625rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.125rem;
}
.ui-stat-k { font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-ink-3); }
.ui-stat-v { font-size: 1.25rem; font-weight: 700; color: var(--g-ink); font-variant-numeric: tabular-nums; }

.ui-rows { display: grid; gap: 0.375rem; }
.ui-row {
  display: grid; grid-template-columns: 8.5rem 1fr auto;
  align-items: center; gap: 0.75rem;
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--g-border-soft); border-radius: var(--g-radius-sm);
  background: rgba(255, 255, 255, 0.015);
}
.ui-name { font-size: 0.8125rem; color: var(--g-ink); }
.ui-bars { display: flex; gap: 2px; align-items: flex-end; height: 16px; }
.ui-bars i { flex: 1 1 3px; min-width: 2px; height: 100%; border-radius: 1px; background: var(--g-up); opacity: 0.9; }
.ui-bars i.d { background: var(--g-degraded); }
.ui-bars i.x { background: var(--g-down); }
.ui-bars-wide { height: 22px; }

.ui-pill {
  font-size: 0.6875rem; font-weight: 700; padding: 0.125rem 0.5rem; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
}
.ui-pill-up  { color: var(--g-up);       background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.30); }
.ui-pill-deg { color: var(--g-degraded); background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.30); }
.ui-pill-down{ color: var(--g-down);     background: rgba(251, 113, 133, 0.12); border-color: rgba(251, 113, 133, 0.30); }

/* --- Feature blocks ------------------------------------------------------ */

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  text-align: left;
}
.feature-block + .feature-block { border-top: 1px solid var(--g-border-soft); }
.feature-block.is-reversed .feature-block-copy { order: 2; }
@media (max-width: 900px) {
  .feature-block { grid-template-columns: 1fr; }
  .feature-block.is-reversed .feature-block-copy { order: 0; }
}

.feature-block-copy h2 { margin-bottom: 0.75rem; }
.feature-block-copy p { color: var(--g-ink-2); max-width: 52ch; }

.feature-points { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.feature-points li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.9375rem; color: var(--g-ink-2);
}
.feature-points li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--g-accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.stat-row { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.5rem; }
.stat { display: flex; flex-direction: column; }
.stat-v { font-size: 2rem; font-weight: 700; color: var(--g-accent); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-k { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-ink-3); margin-top: 0.375rem; }

/* --- UI panels ----------------------------------------------------------- */

.ui-panel {
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  background: linear-gradient(180deg, var(--g-panel-2), var(--g-panel));
  box-shadow: 0 22px 50px rgba(2, 6, 20, 0.5);
  overflow: hidden;
  text-align: left;
}
.ui-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--g-border);
  font-size: 0.8125rem; font-weight: 600; color: var(--g-ink);
  background: rgba(255, 255, 255, 0.02);
}
.ui-panel-sm { margin-top: 1.25rem; }
.ui-panel-sm .ui-line {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.625rem 1rem; font-size: 0.8125rem; color: var(--g-ink-2);
}
.ui-panel-sm .ui-line + .ui-line { border-top: 1px solid var(--g-border-soft); }

.ui-steps { padding: 0.375rem 0; }
.ui-step {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 0.75rem;
  padding: 0.5625rem 1rem;
  font-size: 0.875rem; color: var(--g-ink);
}
.ui-step + .ui-step { border-top: 1px dashed var(--g-border-soft); }
.ui-idx {
  width: 1.375rem; height: 1.375rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--g-mono); font-size: 0.5625rem; font-weight: 700;
  color: var(--g-accent);
  background: var(--g-accent-tint); border: 1px solid var(--g-accent-line);
}
.ui-mono { font-family: var(--g-mono); font-size: 0.625rem; color: var(--g-ink-3); }

.ui-engines { display: flex; gap: 0.4375rem; padding: 0.875rem 1rem; border-top: 1px solid var(--g-border); }
.ui-chip {
  font-size: 0.6875rem; font-weight: 600; padding: 0.25rem 0.625rem; border-radius: 999px;
  color: var(--g-ink-3); border: 1px solid var(--g-border-lit);
}
.ui-chip.is-on { color: var(--g-accent-ink); background: linear-gradient(180deg, #5cc9fb, var(--g-accent)); border-color: transparent; }

.ui-grid-dots {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 0.5rem; padding: 1.5rem 1rem;
}
.ui-grid-dots i {
  aspect-ratio: 1; border-radius: 50%;
  background: var(--g-border-lit); opacity: 0.55;
}
.ui-grid-dots i.lit {
  background: var(--g-accent); opacity: 1;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}
.ui-legend {
  display: flex; gap: 1.25rem; padding: 0.75rem 1rem;
  border-top: 1px solid var(--g-border);
  font-size: 0.75rem; color: var(--g-ink-3);
}
.ui-legend .sw { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.375rem; }
.sw-up { background: var(--g-accent); }
.sw-idle { background: var(--g-border-lit); }

.ui-statuspage { display: grid; gap: 0.625rem; padding: 1.25rem 1rem; }
.ui-sp-title { font-size: 0.9375rem; font-weight: 700; color: var(--g-up); }
.ui-sp-foot { font-size: 0.6875rem; color: var(--g-ink-3); }

/* --- Two-up feature cards ------------------------------------------------ */

.feature-duo {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--g-border-soft);
  text-align: left;
}
@media (max-width: 900px) { .feature-duo { grid-template-columns: 1fr; } }

.feature-card-lg {
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  background: linear-gradient(180deg, var(--g-panel-2), var(--g-panel));
  box-shadow: 0 14px 34px rgba(3, 8, 26, 0.45);
  padding: 1.75rem;
  transition: border-color 200ms var(--g-ease), transform 200ms var(--g-ease);
}
.feature-card-lg:hover { border-color: var(--g-border-lit); transform: translateY(-2px); }
.feature-card-lg h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; text-transform: none; }
.feature-card-lg p { color: var(--g-ink-2); font-size: 0.9375rem; }

/* --- Terminal ------------------------------------------------------------ */

.terminal {
  border: 1px solid var(--g-border-lit);
  border-radius: var(--g-radius);
  background: #05091b;
  box-shadow: 0 30px 70px rgba(2, 6, 20, 0.7), var(--g-glow-soft);
  overflow: hidden;
}
.terminal-body {
  margin: 0; padding: 1.125rem 1.25rem;
  font-family: var(--g-mono);
  font-size: 0.6875rem;
  line-height: 1.75;
  color: var(--g-ink-2);
  overflow-x: auto;
  text-align: left;
}
.terminal-body code { font-size: inherit; font-family: inherit; }
.t-k { color: var(--g-accent); }
.t-s { color: #86efac; }
.t-v { color: #fbbf24; }

/* --- Integrations -------------------------------------------------------- */

.integrations {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.875rem; margin-top: 2.5rem;
}
.integration {
  display: grid; place-items: center;
  padding: 1.25rem 0.75rem;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  background: linear-gradient(180deg, var(--g-panel-2), var(--g-panel));
  color: var(--g-ink);
  font-size: 0.9375rem; font-weight: 600;
  transition: border-color 200ms var(--g-ease), transform 200ms var(--g-ease), box-shadow 200ms var(--g-ease);
}
.integration:hover {
  border-color: var(--g-accent-line);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(3, 8, 26, 0.6);
}
