/* ============================================================================
   SkyQon — digital trust posture platform
   Premium dark cybersecurity theme. Single stylesheet, no framework.
   Brand: Sky = royal blue, Qon = gold (from SKYQON_logo_new.png).
   ========================================================================== */

:root {
  /* Backgrounds (dark mirror — Trust Slate v2) */
  --bg:          #0A1524;
  --bg-2:        #0D1A2D;
  --navy:        #10203A;
  --surface:     #10203A;
  --surface-2:   #16273F;
  --glass:       rgba(255, 255, 255, 0.04);
  --glass-2:     rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 255, 255, 0.16);

  /* Brand + accents (dark) — blue lifted, same gold identity */
  --blue:        #4C9BE8;
  --blue-deep:   #7FB8F2;
  --blue-glow:   rgba(76, 155, 232, 0.45);
  --cyan:        #7FB8F2;
  --gold:        #D0A63E;
  --gold-soft:   #E7C063;
  --gold-deep:   #E7C063;
  --green:       #63D6A0;
  --amber:       #E9B85C;
  --red:         #F0888A;

  /* Text (dark) */
  --text:        #E9EFF7;
  --text-2:      #AEBCCF;
  --text-3:      #7688A0;
  --text-on-gold:#241905;

  /* Type — Trust Slate v2 */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, monospace;

  /* Geometry */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw:      1180px;
  --gutter:    clamp(20px, 5vw, 40px);

  /* Effects (dark) */
  --shadow:     0 22px 50px -30px rgba(0, 0, 0, 0.62);
  --shadow-sm:  0 12px 30px -18px rgba(0, 0, 0, 0.5);
  --ring:       0 0 0 1px var(--border);
  --grad-blue:  linear-gradient(135deg, #4C9BE8 0%, #7FB8F2 100%);
  --grad-gold:  linear-gradient(180deg, #D8B24E 0%, #BE9530 100%);
  --grad-text:  linear-gradient(120deg, #E9EFF7 0%, #AEBCCF 60%, #7688A0 100%);
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(47, 111, 228, 0.18), transparent 60%),
    radial-gradient(760px 480px at 10% 4%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(700px 600px at 50% 108%, rgba(245, 197, 24, 0.07), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- typography ---- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--text-2); }

.mono { font-family: var(--font-mono); }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }

/* ---- layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
  padding: 6px 12px; border: 1px solid var(--border-bright); border-radius: 100px;
  background: var(--glass); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 2.4s ease-in-out infinite; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 60ch; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-gold); color: var(--text-on-gold);
  box-shadow: 0 10px 30px -8px rgba(245, 197, 24, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(245, 197, 24, 0.6); }
.btn-secondary { background: var(--glass-2); color: var(--text); border-color: var(--border-bright); backdrop-filter: blur(8px); }
.btn-secondary:hover { border-color: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12); }
.btn-ghost { background: transparent; color: var(--text-2); padding-inline: 6px; }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 14, 26, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 14px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .brand-fallback { display: none; font-weight: 700; font-size: 20px; letter-spacing: 0.01em; }
.brand .brand-fallback .sky { color: var(--blue); }
.brand .brand-fallback .qon { color: var(--gold); }
.brand-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); border-left: 1px solid var(--border-bright); padding-left: 10px; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-link { position: relative; padding: 9px 11px; border-radius: 9px; color: var(--text-2); font-size: 0.92rem; font-weight: 500; white-space: nowrap; transition: color 0.18s, background 0.18s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); background: var(--glass); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* dropdown */
.nav-item { position: relative; }
.nav-item > .nav-link::after { content: "▾"; font-size: 10px; margin-left: 5px; opacity: 0.6; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 460px;
  background: rgba(13, 24, 42, 0.97); backdrop-filter: blur(16px);
  border: 1px solid var(--border-bright); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.dropdown.solo { grid-template-columns: 1fr; min-width: 280px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-col-title { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); padding: 6px 10px 2px; }
.dropdown a { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 9px; transition: background 0.16s; }
.dropdown a:hover { background: var(--glass-2); }
.dropdown a strong { font-size: 0.9rem; color: var(--text); font-weight: 600; }
.dropdown a span { font-size: 0.78rem; color: var(--text-3); }

/* lang switcher */
.lang { position: relative; }
.lang-btn { background: var(--glass); border: 1px solid var(--border); color: var(--text-2); border-radius: 9px; padding: 8px 11px; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.lang-btn:hover { border-color: var(--border-bright); color: var(--text); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: rgba(13, 24, 42, 0.98); border: 1px solid var(--border-bright); border-radius: 12px; padding: 6px; min-width: 150px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.16s; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 0.85rem; color: var(--text-2); }
.lang-menu a:hover { background: var(--glass-2); color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--gold); }

/* mobile nav */
.nav-toggle { display: none; background: var(--glass); border: 1px solid var(--border); border-radius: 9px; width: 42px; height: 40px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* ---- hero ---- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; font-size: clamp(1.06rem, 1.5vw, 1.2rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px 26px; align-items: center; color: var(--text-3); font-size: 0.85rem; }
.hero-proof .pill { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .pill::before { content: "✓"; color: var(--green); font-weight: 700; }

/* ---- dashboard mockup ---- */
.mock {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #25395f, #16243f);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow), 0 0 0 1px rgba(59, 130, 246, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 18px 18px 58px; /* bottom room so the bottom-left float (anchored 14px below, ~62px tall) clears the chip row */
}
/* NB: no overflow:hidden — the corner float badges deliberately overhang the
   card, and clipping them cut off their labels and pushed the visible stub over
   the chip row. ::before inherits the radius so the glow still respects corners. */
.mock::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(560px 220px at 72% -12%, rgba(59,130,246,0.28), transparent 62%); pointer-events: none; }
.mock > * { position: relative; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-bright); }
.mock-bar .dot:nth-child(1) { background: #ff5f57; } .mock-bar .dot:nth-child(2) { background: #febc2e; } .mock-bar .dot:nth-child(3) { background: #28c840; }
.mock-bar .mock-url { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.mock-body { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }

.score-ring { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 11; }
.score-ring .prog { fill: none; stroke: url(#scoreGrad); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 339.292; animation: ringfill 1.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.score-ring .score-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring .score-num b { font-size: 2.1rem; font-weight: 650; line-height: 1; }
.score-ring .score-num small { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }

.mock-metrics { display: grid; gap: 10px; }
.metric { }
.metric-top { display: flex; justify-content: space-between; font-size: 0.78rem; margin-bottom: 5px; }
.metric-top .ml { color: var(--text-2); } .metric-top .mv { font-family: var(--font-mono); color: var(--text); }
.bar { height: 7px; border-radius: 100px; background: rgba(255,255,255,0.07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 100px; background: var(--grad-blue); transform-origin: left; animation: growx 1.7s cubic-bezier(0.22,1,0.36,1) forwards; }
.bar > i.warn { background: linear-gradient(90deg, var(--amber), var(--gold)); }
.bar > i.crit { background: linear-gradient(90deg, #f87171, var(--red)); }
.bar > i.ok   { background: linear-gradient(90deg, var(--green), var(--cyan)); }

.mock-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 7px; border: 1px solid var(--border-bright); color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.chip.ok::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.chip.warn::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.chip.crit::before { background: var(--red); box-shadow: 0 0 8px var(--red); }

/* floating mini-cards on hero mock */
.mock-float { position: absolute; background: rgba(13,24,42,0.92); border: 1px solid var(--border-bright); border-radius: 12px; padding: 10px 13px; box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); font-size: 0.74rem; }
.mock-float .mf-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.mock-float .mf-val { font-size: 1rem; font-weight: 650; color: var(--text); }
.mock-float.tr { top: -14px; right: -10px; animation: floaty 5s ease-in-out infinite; }
.mock-float.bl { bottom: -14px; left: -12px; animation: floaty 6s ease-in-out infinite 0.5s; }

/* ---- generic cards / grids ---- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform 0.22s ease, border-color 0.22s, background 0.22s;
  position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-bright); background: var(--glass-2); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--text-2); }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(14,111,191,0.14), rgba(14,111,191,0.04));
  border: 1px solid var(--border-bright); margin-bottom: 16px;
  color: var(--blue-deep); font-size: 0;
}
.card-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.card .card-tag { position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(245,197,24,0.4); border-radius: 6px; padding: 3px 7px; }

.feature-list { list-style: none; padding: 0; display: grid; gap: 9px; margin-top: 14px; }
.feature-list li { position: relative; padding-left: 26px; font-size: 0.9rem; color: var(--text-2); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* score trio (Domain Trust Score breakdown) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio .card { text-align: left; }
.trio .big { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 650; line-height: 1; margin: 8px 0; }
.trio .scan .big { color: var(--cyan); }
.trio .posture .big { color: var(--amber); } /* warn/caution — gold is reserved for identity + CTA */
.trio .trust .big { color: var(--green); }
.trio .card .sub { font-size: 0.85rem; color: var(--text-3); }

/* split feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-bright); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }

/* remediation code block */
.codeblock { background: #060C16; border: 1px solid var(--border-bright); border-radius: var(--radius-sm); overflow: hidden; }
.codeblock-bar { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.codeblock-bar .copy { background: var(--glass-2); border: 1px solid var(--border-bright); color: var(--text-2); border-radius: 6px; padding: 4px 9px; font-size: 11px; }
.codeblock pre { margin: 0; padding: 14px; overflow-x: auto; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: #cdd9ee; }
.codeblock .k { color: var(--cyan); } .codeblock .s { color: var(--gold-soft); } .codeblock .c { color: var(--text-3); }

/* steps */
.steps { display: grid; gap: 12px; counter-reset: s; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--glass); }
.step::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 9px; background: var(--grad-blue); color: #04101f; font-weight: 700; display: grid; place-items: center; font-size: 0.9rem; }
.step h4 { font-size: 0.98rem; margin-bottom: 3px; }
.step p { font-size: 0.86rem; }

/* ---- pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 1150px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.price-card.featured { border-color: rgba(245,197,24,0.55); background: linear-gradient(180deg, rgba(245,197,24,0.07), var(--glass)); box-shadow: 0 0 0 1px rgba(245,197,24,0.25), var(--shadow-sm); }
.price-card .badge { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-gold); background: var(--grad-gold); border-radius: 6px; padding: 4px 9px; margin-bottom: 12px; }
.price-card h3 { font-size: 1.12rem; }
.price-card .tagline { font-size: 0.8rem; color: var(--text-3); min-height: 34px; margin-top: 4px; }
.price-card .price { font-size: 2rem; font-weight: 650; margin: 12px 0 2px; }
.price-card .price small { font-size: 0.9rem; font-weight: 500; color: var(--text-3); }
.price-card .feature-list { flex: 1; }
.price-card .btn { margin-top: 18px; }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cmp .addon-tag { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; }
.addon { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.addon .price { font-size: 1.25rem; font-weight: 650; color: var(--gold); margin: 6px 0 8px; }
.addon p { font-size: 0.85rem; }

/* ---- Trust Slate v2: 4-card pricing, popular outline, comparison table ----
   Blue = system/verified (checks, popular outline, table highlight); gold only
   on the primary CTA. Ported to match the services-site pricing surface. */
.price-card.pop {
  border-color: var(--blue); background: var(--surface);
  box-shadow: 0 26px 60px -34px var(--blue-glow); outline: 1.5px solid var(--blue);
}
.price-card .flag {
  align-self: flex-start; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; color: #fff; background: var(--blue-deep);
  border-radius: 6px; padding: 4px 10px; margin-bottom: 12px;
}
.tier-incl {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-3); margin: 14px 0 2px;
}
.price-card .feature-list li::before { color: var(--blue); }
.price .from-lbl { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); margin-right: 4px; vertical-align: 3px; }
.price-card .cta-sub { text-align: center; margin-top: 10px; font-size: 0.78rem; }
.price-card .cta-sub a { color: var(--blue-deep); font-weight: 600; }
.price-card .cta-sub a:hover { text-decoration: underline; }

/* comparison table */
.tablewrap { margin-top: 40px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.cmp th, .cmp td { padding: 13px 16px; text-align: left; border-top: 1px solid var(--border); }
.cmp thead th { position: sticky; top: 0; background: var(--navy); border-top: 0; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.cmp thead th.plan { text-align: center; }
.cmp thead th.plan.pop { background: var(--blue-glow); color: var(--blue-deep); }
.cmp td.feat { color: var(--text); font-weight: 500; width: 34%; }
.cmp td.val { text-align: center; color: var(--text-2); font-family: var(--font-mono); font-size: 0.8rem; }
.cmp td.val.pop { background: color-mix(in srgb, var(--blue) 6%, transparent); }
.cmp tr.grp td { background: var(--navy); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--text-3); text-transform: uppercase; font-weight: 500; }
.cmp .yes { color: var(--blue); width: 17px; height: 17px; vertical-align: middle; }
.cmp .no { color: var(--text-3); opacity: 0.5; }

/* add-on icon tiles */
.addon { display: flex; flex-direction: column; }
.addon .ic {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-glow); border: 1px solid var(--border-bright);
  color: var(--blue-deep); margin-bottom: 14px;
}
.addon .ic svg { width: 19px; height: 19px; stroke: currentColor; }
.addmore { text-align: center; font-size: 0.9rem; color: var(--text-3); margin-top: 22px; }
.addmore a { color: var(--blue-deep); font-weight: 500; }
.addmore a:hover { text-decoration: underline; }
@media (max-width: 820px) { .tablewrap { overflow-x: auto; } .cmp { min-width: 720px; } }

/* ---- callout / cta band ---- */
.callout { background: linear-gradient(135deg, rgba(47,111,228,0.16), rgba(34,211,238,0.07)); border: 1px solid var(--border-bright); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; }
.callout::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% -30%, var(--blue-glow), transparent 60%); opacity: 0.4; }
.callout > * { position: relative; }
.callout .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* ---- forms ---- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.82rem; color: var(--text-2); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-bright); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,0.14); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: 0.85rem; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--border); display: none; }
.form-card { background: var(--surface); border: 1px solid var(--border-bright); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-sm); }

/* ---- stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 20px; }
.stat .n { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 650; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { font-size: 0.85rem; color: var(--text-3); margin-top: 4px; }

/* ---- page hero (interior) ---- */
.page-hero { padding-block: clamp(48px, 7vw, 90px) clamp(20px, 3vw, 36px); text-align: center; }
.page-hero .lead { margin-inline: auto; margin-top: 16px; }
.breadcrumb { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--text-2); }

/* ---- prose (legal/resources) ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 38px; margin-bottom: 12px; }
.prose h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--text-2); font-size: 0.96rem; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose a { color: var(--blue); }
.prose a:hover { text-decoration: underline; }
.prose .muted { color: var(--text-3); font-size: 0.85rem; }

/* faq */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--glass); }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-2); font-size: 0.93rem; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--border); margin-top: clamp(48px, 8vw, 100px); padding-block: clamp(48px, 6vw, 72px) 32px; background: linear-gradient(180deg, transparent, rgba(10,19,34,0.6)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-3); margin-top: 14px; max-width: 32ch; }
.footer-trust { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); border: 1px solid var(--border-bright); border-radius: 100px; padding: 6px 12px; }
.footer-trust::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--text-2); padding: 4px 0; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-3); }

/* ---- reveal animation ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- keyframes ---- */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes ringfill { to { stroke-dashoffset: 78; } } /* ~77% */
@keyframes growx { from { transform: scaleX(0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- responsive ---- */
@media (max-width: 1320px) {
  .brand-tag { display: none; }
  .nav-cta .btn-secondary { display: none; } /* keep the primary CTA; demo stays in nav/footer/mobile */
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .split, .split.rev .split-media { grid-template-columns: 1fr; order: 0; }
  .grid-4, .grid-5, .pricing { grid-template-columns: repeat(2, 1fr); }
  .trio, .grid-3, .addons, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .nav .lang { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 70px; left: 0; right: 0; margin: 0;
    background: rgba(10,19,34,0.99); border-bottom: 1px solid var(--border-bright);
    padding: 14px var(--gutter) 20px;
  }
  .nav-links.open .nav-item { width: 100%; }
  .nav-links.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 4px 0 4px 14px; background: transparent; }
  .nav-cta .btn-secondary { display: none; }
  .grid-2, .grid-3, .grid-4, .grid-5, .trio, .pricing, .addons, .stats, .form-row { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .mock-body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .mock-metrics { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .mock-float { display: none; }
}

/* ============================================================================
   THEME SYSTEM — dark (default, the :root above) + light. Native UI hints.
   ========================================================================== */
html[data-theme="dark"]  { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

/* ---- light palette (Trust Slate v2 — the canonical default) ---- */
html[data-theme="light"] {
  --bg:          #F4F7FB;
  --bg-2:        #FFFFFF;
  --navy:        #EEF2F8;
  --surface:     #FFFFFF;
  --surface-2:   #F4F7FB;
  --glass:       rgba(14, 27, 46, 0.03);
  --glass-2:     rgba(14, 27, 46, 0.05);
  --border:      #E3E9F1;
  --border-bright: #D7E0EC;

  --blue:        #0E6FBF;
  --blue-deep:   #0B588F;
  --blue-glow:   rgba(14, 111, 191, 0.16);
  --cyan:        #0B588F;
  --gold:        #B98A22;
  --gold-soft:   #D0A63E;
  --gold-deep:   #98700F;
  --green:       #1B7A49;
  --amber:       #8D5A11;
  --red:         #B23636;

  --text:        #0E1B2E;
  --text-2:      #46566B;
  --text-3:      #8695A8;
  --text-on-gold:#241905;

  --shadow:      0 18px 44px -32px rgba(14, 27, 46, 0.34);
  --shadow-sm:   0 10px 30px -20px rgba(14, 27, 46, 0.20);
  --grad-blue:   linear-gradient(135deg, #0E6FBF 0%, #3AA0E8 100%);
  --grad-gold:   linear-gradient(180deg, #D0A63E 0%, #B98A22 100%);
  --grad-text:   linear-gradient(120deg, #0E1B2E 0%, #46566B 70%);
}

/* ---- light: components with hard-coded dark rgba that don't flow from vars --- */
html[data-theme="light"] body::before {
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(37, 99, 235, 0.08), transparent 60%),
    radial-gradient(760px 480px at 10% 4%, rgba(14, 116, 144, 0.06), transparent 55%),
    radial-gradient(700px 600px at 50% 108%, rgba(245, 197, 24, 0.05), transparent 60%);
}
html[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(15, 26, 46, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 26, 46, 0.035) 1px, transparent 1px);
}
html[data-theme="light"] .nav { background: rgba(255, 255, 255, 0.78); }
html[data-theme="light"] .dropdown,
html[data-theme="light"] .lang-menu,
html[data-theme="light"] .theme-menu { background: rgba(255, 255, 255, 0.98); }
html[data-theme="light"] .nav-links.open { background: rgba(255, 255, 255, 0.99); }
html[data-theme="light"] .btn-secondary:hover { color: var(--blue-deep); }
html[data-theme="light"] .footer { background: linear-gradient(180deg, transparent, rgba(15, 26, 46, 0.04)); }
/* the hero dashboard mock, code blocks and split media stay intentionally dark
   (product-screenshot look) — readable on a light page, so they're left as-is. */

/* ============================================================================
   THEME SWITCH (nav) — mirrors the .lang button/menu pattern.
   ========================================================================== */
.theme-switch { position: relative; flex-shrink: 0; }
.theme-btn {
  background: var(--glass); border: 1px solid var(--border); color: var(--text-2);
  border-radius: 9px; width: 40px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1rem; line-height: 1;
}
.theme-btn:hover { border-color: var(--border-bright); color: var(--text); }
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: rgba(13, 24, 42, 0.98); border: 1px solid var(--border-bright);
  border-radius: 12px; padding: 6px; min-width: 158px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.16s; z-index: 120;
}
.theme-switch.open .theme-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.theme-menu button {
  width: 100%; display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border-radius: 8px; font-size: 0.85rem; color: var(--text-2); background: transparent;
  border: 0; text-align: left;
}
.theme-menu button:hover { background: var(--glass-2); color: var(--text); }
.theme-menu button[aria-current="true"] { color: var(--gold); }
.theme-menu button .ico { width: 18px; text-align: center; }

/* ============================================================================
   SEGMENTED TOGGLES (pricing) — billing period + currency.
   ========================================================================== */
.pricing-controls {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  justify-content: center; margin-bottom: 12px;
}
.seg {
  display: inline-flex; background: var(--glass); border: 1px solid var(--border-bright);
  border-radius: 12px; padding: 4px; gap: 4px;
}
.seg button {
  background: transparent; border: 0; color: var(--text-3); font-weight: 600;
  font-size: 0.86rem; padding: 8px 15px; border-radius: 8px; transition: 0.18s;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.seg button:hover { color: var(--text-2); }
.seg button[aria-pressed="true"] {
  background: var(--grad-blue); color: #fff;
  box-shadow: 0 8px 20px -10px var(--blue-glow);
}
.seg .sym { font-family: var(--font-mono); opacity: 0.9; }
.seg .save {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em;
  text-transform: uppercase; background: var(--grad-gold); color: var(--text-on-gold);
  border-radius: 5px; padding: 2px 5px;
}
.pricing-note-region {
  text-align: center; font-size: 0.84rem; color: var(--text-3); margin-bottom: 26px;
  min-height: 1.2em;
}
.pricing-note-region b { color: var(--text-2); font-weight: 600; }

/* ============================================================================
   MOCK CONTRAST HARDENING (monitor-site)
   The hero .mock is a fixed-dark product screenshot in BOTH themes. The base
   rules above colour its text with theme vars (--text / -2 / -3), which resolve
   to dark navy under html[data-theme="light"] → dark-on-dark, invisible (the
   reported bug). Pin the mock's text to fixed light values so it stays readable
   regardless of the page theme. No html[data-theme="light"] override is added —
   the mock never goes light.
   ========================================================================== */
.mock { --mk-fg: #EAF0F9; --mk-fg2: #B6C3DD; --mk-fg3: #8795AE; }
.mock .mock-url,
.mock .score-num small,
.mock .mock-float .mf-label { color: var(--mk-fg3); }
.mock .metric-top .ml,
.mock .chip { color: var(--mk-fg2); }
.mock .metric-top .mv,
.mock .score-num b,
.mock .mock-float .mf-val { color: var(--mk-fg); }

/* ---- monitor footer: brand + 4 columns (Product · Trust · Legal · Contact),
   desktop only — mobile keeps the base responsive rules — plus the Paddle
   Merchant-of-Record disclosure ---- */
@media (min-width: 981px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-paddle {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.7;
  color: var(--text-3); max-width: 78ch;
}
