/* ==========================================================================
   eCoverBox — dark SaaS design system
   Deep charcoal · neon blue · 12px radii · Inter · glassmorphism
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* Surfaces — deep charcoal ramp */
  --bg:            #0B0D10;
  --bg-alt:        #0E1116;
  --surface:       #12161D;
  --surface-2:     #171C25;
  --surface-3:     #1E242F;

  /* Neon blue accent ramp */
  --neon:          #2E9BFF;
  --neon-bright:   #59B4FF;
  --neon-dim:      #1B6FD0;
  --cyan:          #4DD9FF;
  --violet:        #A78BFA;

  /* Text — high contrast */
  --text:          #F2F5F9;
  --text-2:        #AEB9C9;
  --text-3:        #7A8798;

  /* Lines */
  --line:          rgba(255, 255, 255, .09);
  --line-strong:   rgba(255, 255, 255, .16);

  /* Glow */
  --glow-neon:     0 0 0 1px rgba(46,155,255,.35), 0 8px 32px -8px rgba(46,155,255,.45);
  --shadow-card:   0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.7);
  --shadow-lift:   0 2px 4px rgba(0,0,0,.4), 0 24px 48px -16px rgba(0,0,0,.8);

  /* Geometry */
  --r:     12px;
  --r-sm:  8px;
  --r-lg:  20px;
  --r-pill: 999px;

  --maxw: 1200px;
  --nav-h: 68px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--neon-bright); text-decoration: none; }
a:hover { color: var(--cyan); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.022em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.75rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.1rem, 1.9vw, 1.375rem); }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(46,155,255,.32); color: #fff; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.wrap-narrow { max-width: 780px; }
section { position: relative; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ── Typography helpers ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--neon-bright);
  padding: 6px 13px; border-radius: var(--r-pill);
  background: rgba(46,155,255,.10); border: 1px solid rgba(46,155,255,.26);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon); box-shadow: 0 0 8px var(--neon);
}
.lead { font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: var(--text-2); line-height: 1.7; }
.muted { color: var(--text-3); }
.gradient-text {
  background: linear-gradient(105deg, var(--neon-bright) 0%, var(--cyan) 55%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { margin-bottom: 0; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r);
  font-size: .94rem; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, var(--neon-bright), var(--neon));
  color: #04121F;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 8px 26px -8px rgba(46,155,255,.75);
}
.btn-primary:hover { color: #04121F; box-shadow: 0 1px 0 rgba(255,255,255,.34) inset, 0 14px 34px -8px rgba(46,155,255,.9); }

.btn-ghost { background: rgba(255,255,255,.045); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(46,155,255,.5); color: #fff; }

.btn-quiet { background: transparent; color: var(--text-2); padding-inline: 4px; }
.btn-quiet:hover { color: var(--neon-bright); }

.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ── Sticky glass navigation ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(11,13,16,.72);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.scrolled {
  background: rgba(11,13,16,.9);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 8px 32px -12px rgba(0,0,0,.9);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 100%; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.09rem; color: var(--text); letter-spacing: -.03em; flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--neon-bright), var(--neon-dim));
  display: grid; place-items: center;
  color: #04121F; font-weight: 800; font-size: .88rem;
  box-shadow: 0 4px 14px -4px rgba(46,155,255,.8);
}
.brand em { font-style: normal; color: var(--neon-bright); }

.nav-links { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.nav-links a {
  color: var(--text-2); font-size: .9rem; font-weight: 500;
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .24s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 22px 26px;
    background: rgba(11,13,16,.97);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(64px, 9vw, 118px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto; height: 780px;
  background:
    radial-gradient(52% 44% at 50% 30%, rgba(46,155,255,.24) 0%, transparent 68%),
    radial-gradient(38% 34% at 78% 18%, rgba(167,139,250,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 78%);
  opacity: .5; pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-inner { max-width: 880px; margin-inline: auto; text-align: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 640px; margin-inline: auto; font-size: clamp(1.05rem, 1.8vw, 1.24rem); }
.hero .btn-row { margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: .86rem; color: var(--text-3); }

/* ── Trust bar ──────────────────────────────────────────────────────────── */
.trustbar { border-block: 1px solid var(--line); background: rgba(255,255,255,.016); }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.trustbar-item { background: var(--bg); padding: 26px 20px; text-align: center; }
.trustbar-num { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.035em; color: var(--text); line-height: 1.1; }
.trustbar-label { font-size: .78rem; color: var(--text-3); letter-spacing: .06em; text-transform: uppercase; margin-top: 5px; }
@media (max-width: 700px) { .trustbar-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(46,155,255,.42);
  background: var(--surface-2);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(46,155,255,.14);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, rgba(46,155,255,.20), rgba(46,155,255,.06));
  border: 1px solid rgba(46,155,255,.28);
  color: var(--neon-bright);
}
.card-icon svg { width: 21px; height: 21px; }

/* Feature card — the data cards */
.feature-card { display: flex; flex-direction: column; height: 100%; }
.feature-card .feature-body { flex: 1; }
.feature-list { list-style: none; padding: 0; margin: 16px 0 0; }
.feature-list li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: .91rem; color: var(--text-2);
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(46,155,255,.16); border: 1px solid rgba(46,155,255,.4);
}
.feature-list li::after {
  content: ''; position: absolute; left: 4.5px; top: .78em;
  width: 5px; height: 2.5px; border-left: 1.6px solid var(--neon-bright); border-bottom: 1.6px solid var(--neon-bright);
  transform: rotate(-45deg);
}
.feature-list li.off { color: var(--text-3); }
.feature-list li.off::before { background: rgba(255,255,255,.04); border-color: var(--line-strong); }
.feature-list li.off::after {
  border: 0; left: 5px; top: .82em; width: 6px; height: 1.6px; background: var(--text-3); transform: none;
}

/* ── Pricing ────────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.price-card { display: flex; flex-direction: column; height: 100%; padding: 28px; }
.price-card.featured {
  border-color: rgba(46,155,255,.55);
  background: linear-gradient(180deg, rgba(46,155,255,.07), var(--surface) 58%);
  box-shadow: var(--glow-neon), var(--shadow-lift);
}
.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--neon-bright), var(--neon));
  color: #04121F; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-pill); white-space: nowrap;
  box-shadow: 0 6px 18px -6px rgba(46,155,255,.9);
}
.price-tier { font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--neon-bright); margin-bottom: 10px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.price-amount .cur { font-size: 1.25rem; font-weight: 600; color: var(--text-2); }
.price-amount .num { font-size: 3rem; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.price-amount .per { font-size: .9rem; color: var(--text-3); font-weight: 500; }
.price-sub { font-size: .88rem; color: var(--text-3); margin-bottom: 20px; min-height: 2.4em; }
.price-card .feature-list { flex: 1; margin-bottom: 22px; }
.price-card .btn { margin-top: auto; }
.price-foot { margin-top: 12px; font-size: .78rem; color: var(--text-3); text-align: center; }

/* ── Comparison table ───────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
table.cmp th, table.cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--surface-2); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 700; white-space: nowrap; }
table.cmp thead th.hl { color: var(--neon-bright); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover td { background: rgba(255,255,255,.022); }
table.cmp td:first-child { color: var(--text-2); font-weight: 500; }
table.cmp td.c { text-align: center; }
.tick { color: var(--neon-bright); font-weight: 700; }
.cross { color: var(--text-3); }

/* ── Portfolio ──────────────────────────────────────────────────────────── */
.folio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .folio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .folio-grid { grid-template-columns: 1fr; } }

.folio { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.folio-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.folio-chrome {
  height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 10px;
  background: var(--surface-3); border-bottom: 1px solid var(--line);
}
.folio-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.folio-url {
  margin-left: 8px; font-family: var(--mono); font-size: .62rem; color: var(--text-3);
  background: rgba(0,0,0,.35); padding: 2px 9px; border-radius: var(--r-pill);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 78%;
}
/* Real screenshot: fills the frame below the browser chrome, anchored to the top
   so the hero stays visible when the 16:10 slot crops a taller page. */
.folio-img {
  position: absolute; inset: 26px 0 0;
  width: 100%; height: calc(100% - 26px);
  object-fit: cover; object-position: top center;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
  background: var(--surface-2);
}
.folio:hover .folio-img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .folio:hover .folio-img { transform: none; } }

.folio-canvas { position: absolute; inset: 26px 0 0; display: flex; flex-direction: column; padding: 14px; gap: 8px; }
.folio-bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,.13); }
.folio-hero-block { flex: 1; border-radius: var(--r-sm); position: relative; overflow: hidden; }
.folio-hero-block::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55));
}
.folio-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; height: 30px; }
.folio-tile { border-radius: 5px; background: rgba(255,255,255,.09); }
.folio-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.folio-tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill); margin-bottom: 11px; align-self: flex-start;
}
.folio-body h3 { font-size: 1.09rem; margin-bottom: .35em; }
.folio-body p { font-size: .89rem; color: var(--text-2); margin-bottom: 14px; flex: 1; }
.folio-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 13px; }
.folio-meta a { font-weight: 600; }

/* ── Testimonials ───────────────────────────────────────────────────────── */
.quote-grid { columns: 3; column-gap: 20px; }
@media (max-width: 1000px) { .quote-grid { columns: 2; } }
@media (max-width: 660px)  { .quote-grid { columns: 1; } }
.quote {
  break-inside: avoid; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; box-shadow: var(--shadow-card);
  transition: border-color .2s ease, transform .2s ease;
}
.quote:hover { border-color: rgba(46,155,255,.32); transform: translateY(-2px); }
.quote-stars { color: var(--neon-bright); font-size: .82rem; letter-spacing: .18em; margin-bottom: 11px; }
.quote p { font-size: .93rem; color: var(--text-2); margin-bottom: 15px; }
.quote-by { display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); padding-top: 13px; }
.quote-av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #04121F;
  background: linear-gradient(140deg, var(--neon-bright), var(--neon-dim));
}
.quote-name { font-size: .87rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.quote-org { font-size: .78rem; color: var(--text-3); }

/* ── Process / steps ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 6px; }
.step-num {
  width: 38px; height: 38px; border-radius: var(--r-sm); margin-bottom: 15px;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  color: var(--neon-bright); background: rgba(46,155,255,.12); border: 1px solid rgba(46,155,255,.3);
}
.step h3 { font-size: 1.03rem; }
.step p { font-size: .89rem; color: var(--text-2); margin-bottom: 0; }

/* ── FAQ (accordion) ────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  margin-bottom: 11px; overflow: hidden; transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(46,155,255,.36); background: var(--surface-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 17px 52px 17px 20px; position: relative;
  font-weight: 600; font-size: 1rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 21px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--neon-bright); border-bottom: 2px solid var(--neon-bright);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 20px 19px; color: var(--text-2); font-size: .94rem; }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-alt); }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(46% 100% at 50% 108%, rgba(46,155,255,.24), transparent 72%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-inner { text-align: center; max-width: 680px; margin-inline: auto; padding: clamp(52px, 7vw, 84px) 0; }
.cta-inner h2 { margin-bottom: 14px; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-card); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--text-2); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: inherit; font-size: .95rem; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(46,155,255,.18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form-note { font-size: .8rem; color: var(--text-3); margin-top: 12px; margin-bottom: 0; }
.form-msg { padding: 13px 16px; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 16px; display: none; }
.form-msg.ok  { display: block; background: rgba(46,155,255,.11); border: 1px solid rgba(46,155,255,.35); color: var(--neon-bright); }
.form-msg.err { display: block; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #FCA5A5; }

/* ── Split (content + aside) ────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split.contact-split { grid-template-columns: .9fr 1.1fr; align-items: start; }
@media (max-width: 900px) { .split, .split.contact-split { grid-template-columns: 1fr; } }

/* ── Panel (glass info block) ───────────────────────────────────────────── */
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.panel h3 { font-size: 1.06rem; }
.panel-row { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.panel-row:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-row:first-of-type { padding-top: 0; }
.panel-row .k { color: var(--text-3); font-size: .87rem; min-width: 104px; }
.panel-row .v { color: var(--text); font-size: .92rem; font-weight: 500; }

/* ── Blog ───────────────────────────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .cat {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--neon-bright); margin-bottom: 10px;
}
.post-card h3 { font-size: 1.06rem; line-height: 1.35; margin-bottom: .5em; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--neon-bright); }
.post-card p { font-size: .89rem; color: var(--text-2); flex: 1; }
.post-card .meta { font-size: .78rem; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }

/* Article body */
.article { max-width: 760px; margin-inline: auto; }
.article-head { text-align: center; margin-bottom: 40px; }
.article-head h1 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); }
.article-meta { font-size: .87rem; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta span + span::before { content: '·'; color: var(--line-strong); }

.prose { font-size: 1.04rem; line-height: 1.8; color: var(--text-2); }
.prose h2 { margin-top: 2.1em; margin-bottom: .6em; color: var(--text); font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.prose h3 { margin-top: 1.7em; margin-bottom: .5em; color: var(--text); font-size: 1.16rem; }
.prose p { margin-bottom: 1.25em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin-bottom: 1.4em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--neon); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(46,155,255,.45); }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--neon); color: var(--text); font-size: 1.08rem;
}
.prose img { border-radius: var(--r); margin: 1.6em 0; border: 1px solid var(--line); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 5px; color: var(--cyan); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: clamp(46px, 6vw, 68px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { font-size: .89rem; color: var(--text-3); margin: 14px 0 0; max-width: 320px; }
.footer h4 { font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-3); margin-bottom: 15px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer li a { color: var(--text-2); font-size: .9rem; }
.footer li a:hover { color: var(--neon-bright); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .84rem; color: var(--text-3);
}
.footer-bottom a { color: var(--text-3); }
.footer-bottom a:hover { color: var(--neon-bright); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── Misc ───────────────────────────────────────────────────────────────── */
.badge-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; justify-content: center; }
.badge {
  font-size: .78rem; color: var(--text-2); padding: 7px 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--r-pill);
}
.badge strong { color: var(--text); font-weight: 600; }

.notice {
  background: rgba(46,155,255,.07); border: 1px solid rgba(46,155,255,.28);
  border-radius: var(--r); padding: 18px 20px; font-size: .93rem; color: var(--text-2);
}
.notice strong { color: var(--text); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--neon); color: #04121F; padding: 10px 18px; border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip:focus { left: 0; }

.empty-state { text-align: center; padding: 56px 20px; color: var(--text-3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
