/* ============================================================
   HostingGuru — Refonte
   Design system : Aurora · Solo founder / vibe coder edition
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — dark canvas (Vercel/Cursor inspired pure black) */
  --ink-950: #0A0A0A;
  --ink-900: #0E0E10;
  --ink-850: #121215;
  --ink-800: #16161A;
  --ink-700: #1D1D22;
  --ink-600: #28282E;
  --ink-500: #36363D;

  /* Surfaces — light canvas (clean off-white) */
  --paper-50:  #FAFAFA;
  --paper-100: #F4F4F5;
  --paper-200: #E9E9EA;
  --paper-300: #D4D4D8;

  /* Text */
  --text-on-dark-1: #F4F4F8;
  --text-on-dark-2: #B7B7C9;
  --text-on-dark-3: #7E7E96;
  --text-on-dark-4: #54546B;

  --text-on-light-1: #0A0A14;
  --text-on-light-2: #44455A;
  --text-on-light-3: #6E6F83;
  --text-on-light-4: #9A9BAD;

  /* Aurora accents — Linear-violet × Telegram-cyan × Lovable-pink */
  --aurora-violet: #A78BFA;       /* Linear / Cursor purple */
  --aurora-violet-deep: #7C3AED;
  --aurora-cyan: #5DC8FF;         /* Telegram-blue inspired */
  --aurora-cyan-deep: #1D9BF0;
  --aurora-pink: #FF8FA3;         /* Lovable / Claude UI coral */
  --aurora-pink-deep: #E94F76;

  /* Semantic */
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #FB7185;

  /* Aurora gradients */
  --gradient-aurora: linear-gradient(135deg, #A78BFA 0%, #5DC8FF 100%);
  --gradient-aurora-soft: linear-gradient(135deg, rgba(167,139,250,.18) 0%, rgba(93,200,255,.14) 100%);
  --gradient-aurora-text: linear-gradient(90deg, #F4F4F8 0%, #C4B5FD 45%, #5DC8FF 100%);
  --gradient-aurora-radial: radial-gradient(120% 100% at 50% 0%, rgba(167,139,250,.22) 0%, rgba(93,200,255,.10) 35%, rgba(0,0,0,0) 70%);
  --gradient-stripe: linear-gradient(90deg, #A78BFA, #5DC8FF, #FF8FA3);

  /* Borders */
  --border-on-dark-1: rgba(255,255,255,.07);
  --border-on-dark-2: rgba(255,255,255,.12);
  --border-on-dark-3: rgba(255,255,255,.20);
  --border-on-light-1: rgba(10,10,20,.08);
  --border-on-light-2: rgba(10,10,20,.14);
  --border-on-light-3: rgba(10,10,20,.22);

  /* Type */
  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --max-width: 1180px;
  --max-narrow: 820px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* Easing & motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Page base ---------- */
body {
  font-family: var(--font-body);
  background: var(--ink-950);
  color: var(--text-on-dark-1);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

::selection { background: rgba(167,139,250,.35); color: var(--text-on-dark-1); }

/* ---------- Surface variants (sections) ---------- */
.surface-ink     { background: var(--ink-950); color: var(--text-on-dark-1); }
.surface-ink-2   { background: var(--ink-900); color: var(--text-on-dark-1); }
.surface-paper   { background: var(--paper-50); color: var(--text-on-light-1); }
.surface-paper-2 { background: var(--paper-100); color: var(--text-on-light-1); }

/* When alternating, adjust dependent tokens */
.surface-paper, .surface-paper-2 {
  --text-1: var(--text-on-light-1);
  --text-2: var(--text-on-light-2);
  --text-3: var(--text-on-light-3);
  --text-4: var(--text-on-light-4);
  --border-1: var(--border-on-light-1);
  --border-2: var(--border-on-light-2);
  --border-3: var(--border-on-light-3);
}
.surface-ink, .surface-ink-2 {
  --text-1: var(--text-on-dark-1);
  --text-2: var(--text-on-dark-2);
  --text-3: var(--text-on-dark-3);
  --text-4: var(--text-on-dark-4);
  --border-1: var(--border-on-dark-1);
  --border-2: var(--border-on-dark-2);
  --border-3: var(--border-on-dark-3);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}
.container--narrow { max-width: var(--max-narrow); }

/* ---------- Type scale ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); letter-spacing: -0.022em; line-height: 1.08; font-weight: 500; color: var(--text-1, var(--text-on-dark-1)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3, var(--text-on-dark-3));
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aurora-cyan);
  box-shadow: 0 0 0 4px rgba(93,200,255,.15);
}

.h-display {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.h-1 { font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.028em; }
.h-2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.022em; }
.h-3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.014em; }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--text-2, var(--text-on-dark-2));
  max-width: 56ch;
}

.muted { color: var(--text-2, var(--text-on-dark-2)); }
.dim   { color: var(--text-3, var(--text-on-dark-3)); }

.text-aurora {
  background: var(--gradient-aurora-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-aurora-strong {
  background: linear-gradient(90deg, #C4B5FD 0%, #67E8F9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .25s var(--ease-out), color .2s var(--ease-out);
  position: relative;
  isolation: isolate;
}
.btn:active { transform: scale(0.98); }

/* Primary — aurora gradient with subtle glow */
.btn-primary {
  background: var(--gradient-aurora);
  color: #0A0A14;
  border-color: rgba(167,139,250,.4);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 8px 28px -10px rgba(167,139,250,.55);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 14px 40px -10px rgba(167,139,250,.7); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.99); }

/* Ghost on dark */
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--text-on-dark-1);
  border-color: var(--border-on-dark-2);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--border-on-dark-3); }

/* Ghost on light */
.surface-paper .btn-ghost,
.surface-paper-2 .btn-ghost {
  background: rgba(10,10,20,.04);
  color: var(--text-on-light-1);
  border-color: var(--border-on-light-2);
}
.surface-paper .btn-ghost:hover,
.surface-paper-2 .btn-ghost:hover { background: rgba(10,10,20,.07); border-color: var(--border-on-light-3); }

/* Quiet (inline link with arrow) */
.btn-quiet {
  background: transparent;
  border-color: transparent;
  height: auto;
  padding: 0;
  color: var(--aurora-cyan);
}
.btn-quiet:hover { color: var(--aurora-violet); }
.surface-paper .btn-quiet,
.surface-paper-2 .btn-quiet { color: var(--aurora-violet-deep); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: var(--r-sm); }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15.5px; border-radius: var(--r-md); }
.btn-block { width: 100%; }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform .25s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Pills & chips ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-on-dark-2);
  color: var(--text-on-dark-2);
}
.pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aurora-cyan);
  box-shadow: 0 0 0 4px rgba(93,200,255,.18);
}
.pill-aurora {
  background: rgba(167,139,250,.10);
  border-color: rgba(167,139,250,.25);
  color: #DDD3FF;
}
.surface-paper .pill,
.surface-paper-2 .pill {
  background: rgba(10,10,20,.04);
  border-color: var(--border-on-light-2);
  color: var(--text-on-light-2);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(10,10,10,.55);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10,10,10,.85);
  border-bottom-color: var(--border-on-dark-1);
  box-shadow: 0 1px 0 rgba(255,255,255,.02), 0 12px 24px -16px rgba(0,0,0,.5);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gradient-aurora);
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 55%);
  mix-blend-mode: overlay;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-on-dark-2);
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--text-on-dark-1); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; gap: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 760px;
  background: var(--gradient-aurora-radial);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-title {
  max-width: 17ch;
}
.hero-title em {
  font-style: normal;
  background: var(--gradient-aurora-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-sub {
  margin-top: 22px;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text-on-dark-2);
  line-height: 1.55;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-on-dark-3);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--aurora-cyan);
}

.hero-stage {
  margin-top: 68px;
  position: relative;
}

/* ---------- Marquee logo strip (vibe coder tools) ---------- */
.tool-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border-on-dark-1);
  border-bottom: 1px solid var(--border-on-dark-1);
  background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0));
}
.tool-strip-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tool-strip-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
}
.tool-strip-tools {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-on-dark-2);
  letter-spacing: -0.01em;
}
.tool-pill svg { width: 18px; height: 18px; }

/* ---------- Section structure ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.section-head--row .section-title { max-width: 22ch; }
.section-head .lead { color: var(--text-2, var(--text-on-dark-2)); }
.section-title { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.028em; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feat {
  grid-column: span 4;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border-on-dark-2);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  position: relative;
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out), transform .35s var(--ease-out);
}
.surface-paper .feat,
.surface-paper-2 .feat {
  background: #FFFFFF;
  border-color: var(--border-on-light-2);
}
.feat:hover { border-color: rgba(167,139,250,.4); transform: translateY(-2px); }
.feat--wide { grid-column: span 8; }
.feat--span6 { grid-column: span 6; }
.feat-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(167,139,250,.12);
  border: 1px solid rgba(167,139,250,.25);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--aurora-violet);
}
.surface-paper .feat-icon,
.surface-paper-2 .feat-icon {
  background: rgba(124,58,237,.08);
  border-color: rgba(124,58,237,.18);
  color: var(--aurora-violet-deep);
}
.feat-icon svg { width: 18px; height: 18px; }
.feat h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.012em; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--text-2, var(--text-on-dark-2)); line-height: 1.55; }

/* ---------- "How it works" 3 steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  border: 1px solid var(--border-1, var(--border-on-dark-2));
  background: rgba(255,255,255,.025);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  position: relative;
}
.surface-paper .step,
.surface-paper-2 .step {
  background: #FFFFFF;
  border-color: var(--border-on-light-2);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-2, var(--border-on-dark-2));
  color: var(--text-2, var(--text-on-dark-2));
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-2, var(--text-on-dark-2)); font-size: 14.5px; line-height: 1.55; }
.step-illustration {
  margin-top: 20px;
  border: 1px dashed var(--border-2, var(--border-on-dark-2));
  border-radius: var(--r-md);
  padding: 14px;
  background: rgba(0,0,0,.15);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2, var(--text-on-dark-2));
  line-height: 1.6;
}
.surface-paper .step-illustration,
.surface-paper-2 .step-illustration {
  background: var(--paper-100);
  border-color: var(--border-on-light-2);
}
.step-illustration .ok { color: var(--aurora-cyan); }
.surface-paper .step-illustration .ok,
.surface-paper-2 .step-illustration .ok { color: var(--aurora-cyan-deep); }
.step-illustration .ko { color: var(--aurora-pink); }
.step-illustration .dim { color: var(--text-3, var(--text-on-dark-3)); }

/* ---------- Mockup: dashboard window ---------- */
.window {
  border-radius: var(--r-xl);
  border: 1px solid var(--border-on-dark-2);
  background: linear-gradient(180deg, #0E0E18 0%, #08080F 100%);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03),
    0 30px 60px -20px rgba(0,0,0,.55),
    0 0 90px -20px rgba(167,139,250,.18);
}
.surface-paper .window,
.surface-paper-2 .window {
  background: #0E0E18;
  border-color: rgba(0,0,0,.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 30px 60px -20px rgba(0,0,0,.18),
    0 0 90px -20px rgba(124,58,237,.18);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-on-dark-1);
  background: rgba(255,255,255,.02);
}
.window-dots { display: inline-flex; gap: 6px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.window-dots span:nth-child(1) { background: #FF5F57; }
.window-dots span:nth-child(2) { background: #FEBC2E; }
.window-dots span:nth-child(3) { background: #28C840; }
.window-url {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-on-dark-3);
  flex: 1;
  text-align: center;
}
.window-body { padding: 22px; }

/* Dashboard service rows */
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.dash-head h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-on-dark-1);
}
.dash-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--success);
  background: rgba(52,211,153,.08);
  border: 1px solid rgba(52,211,153,.22);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.dash-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: pulseDot 2s ease-in-out infinite;
}
.svc-list { display: flex; flex-direction: column; gap: 8px; }
.svc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--border-on-dark-1);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.018);
}
.svc-l { display: flex; align-items: center; gap: 12px; }
.svc-tech {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-on-dark-1);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-on-dark-2);
}
.svc-name { font-size: 14px; font-weight: 500; color: var(--text-on-dark-1); }
.svc-meta { font-size: 12px; color: var(--text-on-dark-3); margin-top: 2px; }
.svc-r { display: flex; align-items: center; gap: 12px; }
.svc-pill {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-weight: 500;
}
.svc-pill.live { background: rgba(52,211,153,.12); color: var(--success); border: 1px solid rgba(52,211,153,.25); }
.svc-pill.live::before { content: "●"; margin-right: 5px; animation: pulseDot 2s ease-in-out infinite; }
.svc-pill.build { background: rgba(251,191,36,.12); color: var(--warning); border: 1px solid rgba(251,191,36,.25); }
.svc-pill.build::before { content: "◐"; margin-right: 5px; animation: spin 1.4s linear infinite; }
.svc-region { font-family: var(--font-mono); font-size: 11px; color: var(--text-on-dark-3); }

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.92); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Telegram alert mockup ---------- */
.tg {
  width: 100%;
  max-width: 360px;
  background: #17212B;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  font-family: 'SF Pro Text', system-ui, -apple-system, sans-serif;
  color: #E1EDF7;
}
.tg-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #2B5278;
  color: #fff;
}
.tg-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-aurora);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #0A0A14;
}
.tg-bar h5 { font-size: 14px; font-weight: 500; line-height: 1.2; color: #fff; }
.tg-bar p { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 1px; }
.tg-body {
  padding: 16px 14px 12px;
  background:
    radial-gradient(circle at 20% 10%, rgba(43,82,120,.4), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(124,58,237,.18), transparent 50%),
    #0E1621;
  min-height: 220px;
}
.tg-msg {
  background: #182533;
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  max-width: 88%;
  font-size: 13.5px;
  line-height: 1.5;
}
.tg-msg-title { color: var(--aurora-cyan); font-weight: 500; margin-bottom: 4px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.tg-msg-title::before { content: "▲"; font-size: 11px; color: var(--aurora-pink); }
.tg-msg code { font-family: var(--font-mono); font-size: 11.5px; background: rgba(255,255,255,.06); padding: 1px 4px; border-radius: 4px; color: #E1EDF7; }
.tg-msg-meta { margin-top: 6px; font-size: 11px; color: rgba(225,237,247,.55); display: flex; gap: 8px; }
.tg-actions { display: flex; gap: 6px; margin-top: 8px; }
.tg-action {
  font-size: 12px;
  color: var(--aurora-cyan);
  background: rgba(93,200,255,.08);
  border: 1px solid rgba(93,200,255,.2);
  padding: 5px 10px;
  border-radius: 8px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pcard {
  border: 1px solid var(--border-1, var(--border-on-dark-2));
  background: rgba(255,255,255,.025);
  border-radius: var(--r-lg);
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.surface-paper .pcard,
.surface-paper-2 .pcard {
  background: #FFFFFF;
  border-color: var(--border-on-light-2);
}
.pcard.is-featured {
  background: linear-gradient(180deg, rgba(167,139,250,.10) 0%, rgba(255,255,255,.025) 60%);
  border-color: rgba(167,139,250,.45);
  box-shadow: 0 0 0 1px rgba(167,139,250,.15), 0 30px 60px -30px rgba(167,139,250,.5);
}
.surface-paper .pcard.is-featured,
.surface-paper-2 .pcard.is-featured {
  background: linear-gradient(180deg, rgba(124,58,237,.06) 0%, #FFFFFF 60%);
  border-color: rgba(124,58,237,.4);
}
.pcard-tag {
  position: absolute;
  top: -10px; left: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A0A14;
  background: var(--gradient-aurora);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.pname { font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2, var(--text-on-dark-2)); }
.pprice { display: flex; align-items: baseline; gap: 6px; }
.pprice .num { font-family: var(--font-display); font-size: 42px; line-height: 1; letter-spacing: -0.025em; }
.pprice .per { font-size: 13px; color: var(--text-3, var(--text-on-dark-3)); }
.pdesc { font-size: 14px; color: var(--text-2, var(--text-on-dark-2)); line-height: 1.5; }
.pfeat { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; border-top: 1px dashed var(--border-1, var(--border-on-dark-1)); }
.pfeat li { font-size: 13.5px; color: var(--text-2, var(--text-on-dark-2)); display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.pfeat li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(93,200,255,.14);
  border: 1px solid rgba(93,200,255,.35);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 6L5 8.5L9.5 4' stroke='%235DC8FF' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.surface-paper .pfeat li::before,
.surface-paper-2 .pfeat li::before {
  background-color: rgba(124,58,237,.10);
  border-color: rgba(124,58,237,.30);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 6L5 8.5L9.5 4' stroke='%237C3AED' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ---------- Stat row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  border: 1px solid var(--border-1, var(--border-on-dark-2));
  background: rgba(255,255,255,.025);
  border-radius: var(--r-lg);
  padding: 22px 20px;
}
.surface-paper .stat,
.surface-paper-2 .stat {
  background: #FFFFFF;
  border-color: var(--border-on-light-2);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1;
  background: var(--gradient-aurora-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.surface-paper .stat-num,
.surface-paper-2 .stat-num {
  background: linear-gradient(90deg, #0F172A 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 13px; color: var(--text-2, var(--text-on-dark-2)); }

/* ---------- Quote / testimonial card ---------- */
.quote {
  border: 1px solid var(--border-1, var(--border-on-dark-2));
  background: rgba(255,255,255,.025);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.surface-paper .quote,
.surface-paper-2 .quote {
  background: #FFFFFF;
  border-color: var(--border-on-light-2);
}
.quote p {
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--text-1, var(--text-on-dark-1));
}
.quote-by {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--text-3, var(--text-on-dark-3));
}
.quote-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-aurora);
  display: grid; place-items: center;
  color: #0A0A14;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--border-1, var(--border-on-dark-2));
  background: rgba(255,255,255,.025);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.surface-paper .faq details,
.surface-paper-2 .faq details {
  background: #FFFFFF;
  border-color: var(--border-on-light-2);
}
.faq details[open] { border-color: rgba(167,139,250,.45); }
.surface-paper .faq details[open],
.surface-paper-2 .faq details[open] { border-color: rgba(124,58,237,.4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.012em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-1, var(--text-on-dark-1));
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3.5 5.5L7 9L10.5 5.5' stroke='%237E7E96' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  transition: transform .25s var(--ease-out);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2, var(--text-on-dark-2));
}

/* ---------- Big CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-on-dark-2);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(167,139,250,.22) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #0E0E18 0%, #08080F 100%);
  padding: clamp(48px, 8vw, 88px) clamp(28px, 6vw, 64px);
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 60% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.030em; max-width: 22ch; margin: 0 auto; }
.cta-band p { color: var(--text-on-dark-2); margin: 18px auto 28px; max-width: 52ch; }
.cta-checks { display: flex; gap: 22px; justify-content: center; margin-top: 22px; flex-wrap: wrap; font-size: 13px; color: var(--text-on-dark-3); }
.cta-checks span { display: inline-flex; align-items: center; gap: 6px; }
.cta-checks span::before {
  content: ""; width: 14px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3 7.5L6 10.5L11 4.5' stroke='%235DC8FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-950);
  border-top: 1px solid var(--border-on-dark-1);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--text-on-dark-3);
  font-size: 14px;
  max-width: 32ch;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-3);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-on-dark-2); transition: color .2s; }
.footer-col a:hover { color: var(--text-on-dark-1); }
.footer-bottom {
  border-top: 1px solid var(--border-on-dark-1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-on-dark-3);
}
.footer-bottom .marquee-stripe {
  height: 4px;
  flex: 1;
  margin: 0 16px;
  border-radius: 2px;
  background: var(--gradient-stripe);
  opacity: .5;
}

/* ---------- Code block ---------- */
.code {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  border: 1px solid var(--border-on-dark-2);
  background: linear-gradient(180deg, #0E0E18 0%, #08080F 100%);
  border-radius: var(--r-md);
  padding: 18px 20px;
  color: var(--text-on-dark-2);
  overflow: hidden;
}
.code .prompt { color: var(--text-on-dark-3); }
.code .cmd { color: var(--text-on-dark-1); }
.code .out { color: var(--aurora-cyan); }
.code .ko { color: var(--aurora-pink); }
.code .ok { color: var(--success); }

/* ---------- Reveal animation hooks ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-pill.live::before, .svc-pill.build::before, .dash-status::before { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .features { grid-template-columns: repeat(6, 1fr); }
  .feat { grid-column: span 6; }
  .feat--wide { grid-column: span 6; }
  .feat--span6 { grid-column: span 6; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .marquee-stripe { width: 100%; margin: 8px 0 0; }
}

/* ---------- Page-specific helpers ---------- */
.duo-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) { .duo-grid { grid-template-columns: 1fr; gap: 32px; } }

.text-balance { text-wrap: balance; }

/* ---------- Migration overrides (keeps the actual logo) ---------- */
.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}
.footer-grid--wide {
  grid-template-columns: 1.5fr repeat(6, 1fr);
}
@media (max-width: 1100px) {
  .footer-grid--wide { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 720px) {
  .footer-grid--wide { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid--wide { grid-template-columns: 1fr; }
}

/* ---------- A11y helper used in wrapped pages ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header solid (wrapped pages have light section bgs that
   reveal poor contrast against rgba header) ---------- */
.site-header {
  background: rgba(10,10,15,.92) !important;
  border-bottom: 1px solid var(--border-on-dark-1) !important;
}

/* ---------- Legal page prose (privacy/terms/dpa/dmca/acceptable-use) ---------- */
.legal-content { padding: 0; background: transparent; color: var(--text-on-light-2); }
.legal-inner { max-width: var(--max-narrow); margin: 0 auto; }
.legal-section { margin-bottom: 32px; font-size: 16px; line-height: 1.7; }
.legal-section h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text-on-light-1);
  margin-top: 8px;
  margin-bottom: 12px;
}
.legal-section h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-on-light-1);
  margin-top: 18px;
  margin-bottom: 6px;
}
.legal-section p { margin-bottom: 12px; }
.legal-section ul, .legal-section ol { margin: 12px 0 12px 22px; }
.legal-section li { margin-bottom: 6px; }
.legal-section a { color: var(--aurora-violet-deep); }
.legal-section a:hover { color: var(--aurora-violet); }
.legal-section strong { color: var(--text-on-light-1); }
.legal-section code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(10,10,20,.06);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ---------- Blog index restyle ---------- */
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: var(--max-narrow);
  margin: 0 auto;
}
@media (max-width: 720px) { .blog-list { grid-template-columns: 1fr; } }
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--border-on-light-1);
  border-radius: var(--r-lg);
  color: inherit;
  transition: border-color .2s, transform .2s;
}
.blog-card:hover {
  border-color: rgba(167,139,250,.4);
  transform: translateY(-2px);
}
.blog-card-meta, .blog-card-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-on-light-3);
}
.blog-card h2, .blog-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.018em;
  color: var(--text-on-light-1);
  text-wrap: balance;
}
.blog-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-on-light-2);
}

/* ---------- Breadcrumbs ---------- */
/* Sits inside the hero section, on top of the hero surface — transparent
   background so it inherits whatever surface the hero is on. */
.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-on-dark-3);
  margin-bottom: 28px;
}
.breadcrumbs a { color: var(--text-on-dark-2); transition: color .15s; }
.breadcrumbs a:hover { color: var(--aurora-cyan); }
.breadcrumbs .sep { color: var(--text-on-dark-4); }
.breadcrumbs [aria-current="page"] { color: var(--text-on-dark-1); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 32px auto 0; }
.faq-item {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border-on-dark-2);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  transition: border-color .15s;
}
.faq-item[open] { border-color: rgba(167,139,250,.35); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-on-dark-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--text-on-dark-3);
  font-size: 22px;
  line-height: 1;
  transition: transform .15s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-2);
}

/* ---------- Frameworks grid (homepage) ---------- */
/* Surface-aware: uses --text-1/--text-3/--border-2 tokens which the page's
   surface-ink / surface-paper rules remap to the right palette. */
.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.framework-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-weight: 500;
  transition: border-color .15s, background .15s, transform .15s;
}
.framework-link:hover {
  border-color: rgba(167,139,250,.5);
  background: rgba(167,139,250,.08);
  transform: translateY(-1px);
}
.framework-link::after {
  content: "→";
  color: var(--text-3);
  font-size: 14px;
  transition: transform .15s, color .15s;
}
.framework-link:hover::after { color: var(--aurora-violet); transform: translateX(2px); }
.framework-group-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 22px 0 10px;
  display: block;
}
.framework-group-label:first-of-type { margin-top: 12px; }
