/* ================================
   Header / Nav
   ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.nav__brand .mark { width: 32px; height: 32px; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  padding: 0; margin: 0;
}
.nav__menu a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color .2s ease;
  position: relative;
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--text); }
.nav__menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: var(--sp-3); }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  transition: border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-strong);
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav__menu, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 40;
  padding: var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 var(--sp-6); display: grid; gap: var(--sp-4); }
.mobile-menu a { font-size: 1.4rem; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.mobile-menu .btn { width: 100%; justify-content: center; }

/* ================================
   Hero
   ================================ */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 10vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-7);
  align-items: center;
}
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; gap: var(--sp-6); } }

.hero__title {
  font-size: var(--text-hero);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.hero__title .gradient {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-rand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__title .stamp {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 2px 14px;
  border-radius: var(--r-pill);
  font-size: 0.55em;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
  transform: translateY(-0.4em);
}
.hero__sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: var(--sp-6);
}
.hero__cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.hero__meta {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-5);
}
.hero__meta .item .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); display: block; }
.hero__meta .item .lbl { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }

/* Hero visual: animated SVG architecture */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.hero__visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  opacity: 0.35;
}
.hero__visual svg { position: relative; width: 100%; height: 100%; z-index: 1; }

/* Floating tickers */
.hero__tickers {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; gap: var(--sp-3); justify-content: center;
  pointer-events: none;
}
.ticker {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.ticker .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.ticker .pip.gold { background: var(--accent-rand); box-shadow: 0 0 10px var(--accent-rand); }

/* Background glow */
.hero::before {
  content: "";
  position: absolute;
  width: 680px; height: 680px;
  top: -200px; left: -200px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  bottom: -180px; right: -180px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 15%, transparent), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* ================================
   Marquee logos / proof bar
   ================================ */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
  background: var(--bg-elev);
  overflow: hidden;
}
.proof-bar__inner {
  display: flex;
  gap: var(--sp-7);
  align-items: center;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.proof-bar__item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.06em;
}
.proof-bar__item .pip { color: var(--accent); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================
   Section header
   ================================ */
.s-head { max-width: 760px; margin-bottom: var(--sp-7); }
.s-head .eyebrow { margin-bottom: var(--sp-4); }
.s-head h2 { margin-bottom: var(--sp-3); }
.s-head p { font-size: var(--text-lg); color: var(--text-muted); }

/* ================================
   ROI Calculator
   ================================ */
.roi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
}
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; padding: var(--sp-5); } }

.roi__inputs label {
  display: block;
  margin-bottom: var(--sp-5);
}
.roi__inputs label span.lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex; justify-content: space-between;
  margin-bottom: var(--sp-2);
  font-family: var(--font-mono);
}
.roi__inputs label span.val { color: var(--accent); }
.roi__inputs input[type="range"] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 6px;
  background: var(--surface-2);
  border-radius: 3px;
  outline: none;
}
.roi__inputs input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
  cursor: pointer;
}
.roi__inputs input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; background: var(--accent); border-radius: 50%; border: none;
}
.roi__inputs select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--r-md);
  color: var(--text);
}

.roi__result {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: var(--sp-5);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), color-mix(in srgb, var(--accent-2) 8%, transparent));
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  border: 1px solid var(--border);
}
.roi__big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent), var(--accent-rand));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
}
.roi__row { display: flex; justify-content: space-between; align-items: baseline; padding: var(--sp-3) 0; border-bottom: 1px dashed var(--border); }
.roi__row:last-child { border-bottom: none; }
.roi__row .k { color: var(--text-muted); font-size: 0.9rem; }
.roi__row .v { font-family: var(--font-mono); color: var(--text); font-weight: 600; }

/* ================================
   Service cards
   ================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }

.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex; flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: transform .4s ease, border-color .4s ease;
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 40%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.service:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.service:hover::before { opacity: 1; }

.service .glyph {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-2) 12%, transparent));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  margin-bottom: var(--sp-4);
}
.service .glyph svg { width: 24px; height: 24px; color: var(--accent); }
.service h3 { font-size: 1.4rem; margin-bottom: var(--sp-3); }
.service p { font-size: 0.95rem; flex-grow: 1; }
.service .meta {
  display: flex; gap: var(--sp-4); margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.service .meta b { color: var(--text); font-weight: 500; }

/* ================================
   Process steps
   ================================ */
.process { position: relative; }
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); position: relative; }
.process__list::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 36px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), var(--accent-rand), transparent);
  opacity: .5;
  z-index: 0;
}
.process__step { position: relative; z-index: 1; }
.process__step .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.process__step h4 { font-size: 1.1rem; margin-bottom: var(--sp-2); }
.process__step p { font-size: 0.9rem; }
@media (max-width: 900px) { .process__list { grid-template-columns: 1fr 1fr; } .process__list::before { display: none; } }
@media (max-width: 540px) { .process__list { grid-template-columns: 1fr; } }

/* ================================
   Tilt cards
   ================================ */
.tilt {
  transform-style: preserve-3d;
  perspective: 900px;
  transition: transform .25s ease;
  will-change: transform;
}

/* ================================
   Testimonials / outcomes
   ================================ */
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 800px) { .outcomes { grid-template-columns: 1fr; } }
.outcome {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.outcome blockquote {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 var(--sp-5);
  line-height: 1.4;
}
.outcome blockquote::before { content: "“"; font-size: 3rem; line-height: 0; vertical-align: -0.5rem; color: var(--accent); margin-right: 6px; }
.outcome .who { display: flex; gap: var(--sp-3); align-items: center; padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.outcome .who .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; font-family: var(--font-display); color: #00150f; font-weight: 600; }
.outcome .who .name { font-weight: 500; color: var(--text); font-size: 0.95rem; }
.outcome .who .role { font-size: 0.82rem; color: var(--text-muted); }
.outcome .stats { display: flex; gap: var(--sp-5); margin-top: var(--sp-4); }
.outcome .stats .stat .v { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-rand); display: block; }
.outcome .stats .stat .l { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }

/* ================================
   FAQ accordion
   ================================ */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  padding: var(--sp-5) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}
.faq__q .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s ease, background .3s ease, color .3s ease; }
.faq__item[open] .faq__q .plus { transform: rotate(45deg); background: var(--accent); color: #00150f; border-color: var(--accent); }
.faq__a { padding: 0 0 var(--sp-5); color: var(--text-muted); max-width: 800px; }

/* ================================
   Footer
   ================================ */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: var(--sp-8) 0 var(--sp-5);
  margin-top: var(--sp-8);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-6); margin-bottom: var(--sp-7); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__col h5 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--sp-4); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.footer__col a { color: var(--text-muted); font-size: 0.92rem; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-5); border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; gap: var(--sp-3); }
.footer__brand { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: var(--sp-3); display: inline-flex; align-items: center; gap: 10px; }
.footer__about { color: var(--text-muted); font-size: 0.92rem; max-width: 360px; }

/* ================================
   Page hero (sub pages)
   ================================ */
.page-hero {
  padding: clamp(80px, 10vw, 130px) 0 var(--sp-7);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 50%; top: 30%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
  filter: blur(40px); z-index: -1;
}
.page-hero h1 { max-width: 18ch; }
.page-hero p { max-width: 60ch; font-size: var(--text-lg); }

/* ================================
   Filter chips
   ================================ */
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.chip {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
  transition: all .2s ease;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.active { background: var(--accent); color: #00150f; border-color: var(--accent); }

/* Search */
.search-box {
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); padding: 6px 6px 6px 18px;
  margin-bottom: var(--sp-5);
  max-width: 520px;
}
.search-box input { flex: 1; border: none; background: none; padding: 10px 0; outline: none; }
.search-box svg { color: var(--text-muted); }

/* ================================
   Template / blog cards
   ================================ */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 1000px) { .tpl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tpl-grid { grid-template-columns: 1fr; } }

.tpl {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease;
}
.tpl:hover { transform: translateY(-3px); border-color: var(--accent); }
.tpl__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--sp-3); }
.tpl__cat { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.tpl__diff { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-faint); padding: 3px 8px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); }
.tpl h3 { font-size: 1.15rem; margin-bottom: var(--sp-3); }
.tpl p { font-size: 0.9rem; flex-grow: 1; }
.tpl__nodes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--border); }
.tpl__nodes span { font-family: var(--font-mono); font-size: 0.7rem; padding: 3px 8px; background: var(--surface-2); border-radius: var(--r-sm); color: var(--text-muted); }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.blog-card__cover {
  height: 180px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 25%, var(--surface)), color-mix(in srgb, var(--accent-2) 18%, var(--surface)));
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.blog-card__cover svg { width: 70%; height: 70%; opacity: .85; }
.blog-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex-grow: 1; }
.blog-card__meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-bottom: var(--sp-3); display: flex; gap: var(--sp-3); }
.blog-card h3 { font-size: 1.2rem; margin-bottom: var(--sp-3); }
.blog-card p { font-size: 0.92rem; flex-grow: 1; }
.blog-card__cta { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-top: var(--sp-4); display: inline-flex; gap: 6px; align-items: center; }

/* Blog article */
.article { max-width: 760px; margin: 0 auto; }
.article p { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.article p, .article ul, .article ol { color: var(--text); }
.article h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-4); font-size: 1.8rem; }
.article h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-3); font-size: 1.3rem; }
.article ul, .article ol { padding-left: 1.5rem; margin-bottom: var(--sp-5); }
.article li { margin-bottom: var(--sp-2); }
.article a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.article a:hover { border-bottom-color: var(--accent); }
.article blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--sp-3) var(--sp-5);
  margin: var(--sp-5) 0;
  background: var(--surface);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--text);
}
.article__hero { padding: clamp(80px, 10vw, 120px) 0 var(--sp-6); }
.article__hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 22ch; }
.article__hero .meta { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); }

/* ================================
   Form
   ================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.82rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }

.package-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-5); }
@media (max-width: 700px) { .package-pick { grid-template-columns: 1fr; } }
.pkg {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.pkg input { display: none; }
.pkg.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.pkg .name { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: var(--sp-1); }
.pkg .meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.pkg .price { font-family: var(--font-display); color: var(--accent-rand); font-size: 1.2rem; margin-top: var(--sp-2); }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--bg-elev)), color-mix(in srgb, var(--accent-2) 14%, var(--bg-elev)));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}
@media (max-width: 800px) { .cta-strip { grid-template-columns: 1fr; padding: var(--sp-5); } }
.cta-strip h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: var(--sp-3); }
.cta-strip p { color: var(--text-muted); margin-bottom: 0; }
.cta-strip__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Tabs */
.tabs { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-5); border-bottom: 1px solid var(--border); }
.tab {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.tab.active { color: var(--text); border-bottom-color: var(--accent); }

/* Architecture diagram */
.arch {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
}
.arch__zoom-hint {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--text-muted); background: var(--surface-2); padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--border);
}
.arch svg { width: 100%; height: auto; }

/* Stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 800px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.stat-card .v { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); display: block; line-height: 1; }
.stat-card .l { font-size: 0.85rem; color: var(--text-muted); margin-top: var(--sp-2); display: block; }

/* Empty state */
.empty {
  text-align: center; padding: var(--sp-7) var(--sp-5);
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
}
