body { background: var(--paper); }

/* ── Hero ── */
.hero {
  min-height: min(92vh, 900px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: var(--container); margin: 0 auto;
  padding: 60px var(--gutter);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hero .chip {
  width: fit-content;
  max-width: 100%;
}
@media(max-width:900px){
  .hero{grid-template-columns:1fr;min-height:auto;padding: 100px var(--gutter) 56px;gap:36px;}
  .hero-visual{display:flex;justify-content:center;margin-top:32px;}
  .hero-visual > div{width:100%;max-width:520px;}
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.8vw, 76px);
  font-weight: 500; letter-spacing: -0.032em;
  line-height: 1.03; color: var(--ink);
  margin-bottom: 28px; text-wrap: balance;
}
.hero p { font-size: 18px; color: var(--gray-600); line-height: 1.75; max-width: 460px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 14px; flex-wrap: nowrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--gray-500); letter-spacing: 0.02em; white-space: nowrap; }
.trust-item::before { content: "✓"; color: var(--accent); }
@media(max-width:900px){
  .hero-trust { gap: 16px; flex-direction: column; align-items: flex-start; }
  .trust-item { font-size: 10px; }
}
@media(max-width:767px){ .hero { padding-top: 70px; } }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.hero-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 5px 12px 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-badge-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.hero-badge-muted {
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--gray-500);
}

/* Hero browser visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: visible;
  /* Shift up for perfect visual alignment with the left content stack */
  margin-top: -100px;
}
@media(max-width:900px) { .hero-visual { margin-top: 0; } }

.hero-mockup-wrap {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 3D perspective container */
.hero-perspective {
  position: relative;
  width: 100%;
  perspective: 1200px;
  overflow: visible;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient glow behind browser */
.hero-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(37, 99, 235, 0.15) 0%,
    rgba(37, 99, 235, 0.06) 40%,
    transparent 70%);
  filter: blur(30px);
  z-index: 0;
  animation: heroGlowPulse 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* ── Build-sequence fly-in animations ──
   Each element inside the browser gets a class + --hb-delay CSS var.
   They start hidden and animate in on load, creating the "assembling" effect. */
[class*="hb-fly-"], [class*="hb-scale-in"] {
  opacity: 0;
  animation-fill-mode: both;
  animation-timing-function: var(--ease-out);
  animation-delay: var(--hb-delay, 0s);
}
.hb-fly-down {
  transform: translateY(-20px);
  animation-name: hbFlyDown;
  animation-duration: 0.55s;
}
.hb-fly-up {
  transform: translateY(16px);
  animation-name: hbFlyUp;
  animation-duration: 0.5s;
}
.hb-fly-left {
  transform: translateX(-16px);
  animation-name: hbFlyLeft;
  animation-duration: 0.5s;
}
.hb-fly-right {
  transform: translateX(20px);
  animation-name: hbFlyRight;
  animation-duration: 0.55s;
}
.hb-scale-in {
  transform: scale(0.85);
  animation-name: hbScaleIn;
  animation-duration: 0.45s;
  animation-timing-function: var(--ease-spring);
}
@keyframes hbFlyDown  { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:none; } }
@keyframes hbFlyUp    { from { opacity:0; transform:translateY(16px);  } to { opacity:1; transform:none; } }
@keyframes hbFlyLeft  { from { opacity:0; transform:translateX(-16px); } to { opacity:1; transform:none; } }
@keyframes hbFlyRight { from { opacity:0; transform:translateX(20px);  } to { opacity:1; transform:none; } }
@keyframes hbScaleIn  { from { opacity:0; transform:scale(0.85);       } to { opacity:1; transform:none; } }

/* Browser mockup with 3D tilt — no entrance animation, the internal elements do the show */
.hero-browser {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  z-index: 1;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  animation: heroChromePulse 6s ease-in-out 1.8s infinite;
  /* Fade in immediately so it's a container, not itself dramatic */
  opacity: 1;
}
@keyframes heroChromePulse {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(11, 13, 16, 0.12), 0 4px 16px rgba(11, 13, 16, 0.06),
      0 0 0 1px rgba(37, 99, 235, 0);
  }
  50% {
    box-shadow: 0 28px 72px rgba(11, 13, 16, 0.14), 0 10px 28px rgba(37, 99, 235, 0.12),
      0 0 0 1px rgba(37, 99, 235, 0.22);
  }
}

/* Glare sweep across browser on load */
.hero-glare {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}
.hero-glare::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.25) 45%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0.25) 55%,
    transparent 60%
  );
  transform: rotate(25deg);
  animation: glareSweep 1.2s var(--ease-out) 0.6s both;
}
@keyframes glareSweep {
  0% { left: -60%; opacity: 1; }
  100% { left: 140%; opacity: 0; }
}

.hb-inner { padding: 0; flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }

/* ── Hero browser entrance animations ── */
@keyframes msNavIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
@keyframes msContentIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes msCardsIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes msCursorBlink {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0; }
}

/* Mini-site in hero */
.ms-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-bottom: 1px solid var(--gray-100);
  animation: msNavIn 0.5s var(--ease-out) 0.35s both;
}
.ms-logo { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.ms-links { display: flex; gap: 10px; }
.ms-link { font-size: 10px; color: var(--gray-500); }
.ms-link--ks { color: var(--accent); font-weight: 500; }
.ms-cta { background: var(--ink); color: white; font-size: 9px; padding: 4px 10px; border-radius: 999px; }
.ms-cta-circle {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}
.ms-hero {
  padding: 18px 14px 0;
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  gap: 12px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.ms-hero > div:first-child {
  display: flex;
  flex-direction: column;
  padding-bottom: 14px;
  animation: msContentIn 0.6s var(--ease-out) 0.5s both;
}
.ms-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 3px 10px 3px 6px; font-family: var(--font-mono); font-size: 9px; color: var(--accent); margin-bottom: 10px; }
.ms-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.ms-h1 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 8px; }
.ms-h1-line { display: block; min-height: 1.1em; }
.ms-h1-line.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: msCursorBlink 1.2s ease-in-out infinite;
  border-radius: 1px;
}
.ms-p { font-size: 9px; color: var(--gray-600); line-height: 1.65; margin-bottom: 10px; }
.ms-btns { display: flex; gap: 6px; margin-bottom: 14px; }
.ms-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ms-proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 7px;
  border-radius: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}
.ms-proof-val {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ms-proof-lbl {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
  line-height: 1.3;
}
.ms-btn-a { background: var(--ink); color: white; font-size: 8px; padding: 5px 11px; border-radius: 999px; }
.ms-btn-b { border: 1px solid var(--gray-300); font-size: 8px; padding: 5px 11px; border-radius: 999px; color: var(--gray-600); }
/* ── Hero right: mini website preview column ── */
.ms-img {
  background: linear-gradient(160deg, #e8f0ff 0%, #f0f5ff 60%, #eaefff 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  animation: msContentIn 0.6s var(--ease-out) 0.65s both, msHeroThumb 6s ease-in-out infinite 1.25s;
}
/* The "page section" card */
.ms-img-card {
  flex: 0 0 auto;
  background: white;
  margin: 10px 10px 6px;
  border-radius: 7px;
  border: 1px solid rgba(37,99,235,0.10);
  box-shadow: 0 3px 12px rgba(37,99,235,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Accent top bar on card */
.ms-img-card::before {
  content: "";
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  flex-shrink: 0;
}
/* Card content area */
.ms-ic-chip {
  display: block;
  width: 52px; height: 7px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  margin: 10px 10px 7px;
  flex-shrink: 0;
}
.ms-ic-h1 {
  height: 8px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 10px 3px;
  opacity: 0.85;
  flex-shrink: 0;
  width: calc(100% - 20px);
}
.ms-ic-line {
  height: 4px;
  background: var(--gray-200);
  border-radius: 999px;
  margin: 0 10px 3px;
  flex-shrink: 0;
  width: calc(90% - 20px);
}
.ms-ic-line--short { width: calc(60% - 20px); margin-bottom: 7px; }
.ms-ic-btns { display: flex; gap: 5px; margin: 0 10px 8px; flex-shrink: 0; }
.ms-ic-btn {
  height: 11px; width: 40px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  flex-shrink: 0;
}
.ms-ic-btn--dark { background: var(--ink); border-color: var(--ink); width: 48px; }
/* Inner image — fixed height, not stretchy */
.ms-ic-img {
  flex: 0 0 auto;
  height: 80px;
  background: linear-gradient(140deg, #eef2ff 0%, #dce8ff 100%);
  margin: 0;
  position: relative;
  overflow: hidden;
}
/* Subtle diagonal overlay */
.ms-ic-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 60%);
  z-index: 1;
}
/* Bottom gradient fade — suggests chart depth */
.ms-ic-img::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(37,99,235,0.08), transparent);
  pointer-events: none;
  z-index: 1;
}
/* Inner content for the image area */
.ms-ic-img-inner {
  position: absolute;
  inset: 0;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}
/* Animated accent bars like a dashboard / data visualization */
.ms-ic-img-bar {
  height: 3px;
  border-radius: 999px;
  transform-origin: left;
  animation: msBarGrow 2.5s ease-out infinite;
}
.ms-ic-img-bar--1 { width: 72%; background: rgba(37,99,235,0.55); animation: msBarGrow 3s ease-in-out infinite 0s; }
.ms-ic-img-bar--2 { width: 52%; background: rgba(37,99,235,0.35); animation: msBarGrow 3s ease-in-out infinite 0.4s; }
.ms-ic-img-bar--3 { width: 88%; background: rgba(37,99,235,0.2); animation: msBarGrow 3s ease-in-out infinite 0.8s; }
@keyframes msBarGrow {
  0%, 100% { opacity: 0.4; transform: scaleX(0.7); }
  50% { opacity: 1; transform: scaleX(1); }
}
/* Small tag label at top of image area */
.ms-ic-img-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-family: var(--font-mono);
  font-size: 7px;
  color: rgba(37,99,235,0.6);
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(37,99,235,0.14);
  border-radius: 4px;
  padding: 2px 6px;
}
/* Service mini-cards row inside the card */
.ms-ic-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px 10px;
  flex: 1;
  align-content: start;
}
.ms-ic-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 5px;
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ms-ic-card::after {
  content: "";
  display: block;
  height: 3px;
  width: 70%;
  background: var(--gray-200);
  border-radius: 999px;
}
.ms-ic-card-num {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--accent);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 3px;
}
.ms-ic-card::before {
  content: "";
  display: block;
  height: 4px;
  width: 55%;
  background: var(--ink);
  border-radius: 999px;
  opacity: 0.7;
}
/* Bottom stats strip */
.ms-img-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 0 10px 10px;
  flex-shrink: 0;
}
.ms-img-stat {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 5px;
  padding: 5px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.ms-img-stat-val {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ms-img-stat-label {
  font-family: var(--font-mono);
  font-size: 6px;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@keyframes msHeroThumb {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.12) brightness(1.03); }
}
.ms-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; padding: 0 14px 14px; flex-shrink: 0; margin-top: auto; animation: msCardsIn 0.5s var(--ease-out) 0.8s both; }
.ms-card { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 7px; height: 48px; padding: 10px; }
.ms-card::before { content: ""; display: block; width: 16px; height: 4px; background: var(--accent); border-radius: 999px; margin-bottom: 6px; }
.ms-card::after { content: ""; display: block; width: 55%; height: 4px; background: var(--gray-200); border-radius: 999px; }
.hero-float {
  position: absolute; background: white; border: 1px solid var(--gray-200);
  border-radius: 8px; padding: 9px 13px; box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  font-family: var(--font-mono); font-size: 11px; color: var(--gray-600);
  letter-spacing: 0.04em; white-space: nowrap; animation: heroFloat 3s ease-in-out infinite;
}
.hero-float::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #27C93F; margin-right: 7px; vertical-align: middle; }
@keyframes heroFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* Status badges below the browser mockup */
.hero-mockup-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 14px 12px 0;
  position: static;
  z-index: 2;
}
.hero-badge-float {
  position: static;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 7px 12px;
  box-shadow: 0 4px 16px rgba(11,13,16,0.08), 0 1px 4px rgba(11,13,16,0.04);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-600);
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  opacity: 1;
  transform: none;
}
.hbf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: hbfPulse 2s ease-in-out infinite;
}
.hbf-dot--green { background: var(--success); }
@keyframes hbfPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  50% { opacity: 0.7; box-shadow: 0 0 0 3px rgba(37,99,235,0); }
}
@media (max-width: 900px) {
  .hero-particle { display: none; }
  .hero-glow { display: none; }
  .hero-mockup-badges {
    padding-top: 12px;
    gap: 8px;
  }
}
@media (max-width: 420px) {
  .hero-mockup-badges {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .hero-badge-float {
    font-size: 9px;
    padding: 6px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mockup-badges,
  .hbf-dot,
  .ms-ig-block,
  .hero-browser,
  .ms-nav,
  .ms-hero > div:first-child,
  .ms-img,
  .ms-cards,
  .ms-h1-line.is-typing::after,
  .ms-ic-img-bar,
  .ms-ic-img-bar--1,
  .ms-ic-img-bar--2,
  .ms-ic-img-bar--3,
  .hero-glow,
  .hero-particle,
  .hero-glare::after {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── Build Sequence ── */
.build-section { position: relative; }
.build-wrapper { height: 420vh; position: relative; }
.build-sticky {
  position: sticky; top: 0; height: 100vh;
  background: #1a2332;
  background-image:
    radial-gradient(ellipse at 65% 50%, rgba(37,99,235,0.1) 0%, transparent 58%),
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  display: flex; flex-direction: column;
  overflow-x: hidden;
  overflow-y: hidden;
}
.build-header {
  padding: 40px var(--gutter) 0;
  max-width: var(--container); margin: 0 auto; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px;
}
.build-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 500; letter-spacing: -0.025em;
  color: white; line-height: 1.1;
}
.build-header-note {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  max-width: min(360px, 42vw);
  text-align: right;
  line-height: 1.6;
}
.build-body {
  flex: 1; display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px; align-items: center;
  max-width: var(--container); margin: 0 auto; width: 100%;
  padding: 24px var(--gutter) 56px;
  min-height: 0;
}
@media (max-width: 1024px) {
  .build-body {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
    padding-bottom: 44px;
  }
  .build-sidebar { max-width: 36rem; }
  .preview-wrap { width: 100%; max-width: 44rem; margin: 0 auto; }
  .preview-chrome { transform: none; }
  .preview-site { min-height: 320px; }
  .build-header-note { max-width: 28rem; text-align: left; }
}
@media (max-width: 767px) {
  .build-wrapper { height: auto; }
  .build-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: 40px;
  }
  .build-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 24px;
    padding-bottom: 0;
  }
  .build-header-note { display: none; }
  .build-body {
    gap: 0;
    padding: 12px var(--gutter) 28px;
  }
  .build-sidebar {
    display: flex;
    max-width: none;
    width: 100%;
  }
  .preview-wrap { display: none; }
  .build-progress-bar { display: none; }
  .build-ch { padding: 12px 0 14px; }
  .build-ch:last-child { padding-bottom: 24px; }
  .bc-title { font-size: 16px; }
  .bc-desc { font-size: 12px; line-height: 1.5; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .build-wrapper { height: auto; }
  .build-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: 48px;
  }
  .build-progress-bar { display: none; }
  .build-body { padding-bottom: 32px; }
  .preview-site { min-height: 280px; }
}

/* Chapter list */
.build-sidebar { display: flex; flex-direction: column; gap: 0; }
.build-ch {
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: default;
  transition: color 0.35s var(--ease-out);
}
.build-ch:first-child { padding-top: 0; }
.build-ch .bc-step { color: rgba(147, 197, 253, 0.82); transition: color 0.35s var(--ease-out); }
.build-ch .bc-title { color: rgba(255, 255, 255, 0.9); transition: color 0.35s var(--ease-out); }
.build-ch .bc-desc { color: rgba(255, 255, 255, 0.74); transition: color 0.35s var(--ease-out); }
.build-ch.active .bc-step,
.build-ch.active .bc-title,
.build-ch.active .bc-desc { color: #7cb8ff; }
.build-ch.active .bc-desc { color: rgba(124, 184, 255, 0.94); }
.bc-step { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; margin-bottom: 7px; }
.bc-title { font-family: var(--font-display); font-size: clamp(15px, 2.1vw, 17px); font-weight: 500; letter-spacing: -0.015em; margin-bottom: 5px; line-height: 1.25; }
.bc-desc { font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.build-ch:last-child { border-bottom: none; padding-bottom: 36px; }

/* Preview window */
.preview-wrap { position: relative; }
.preview-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,0.18) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: previewGlowPulse 4s ease-in-out infinite;
}
@keyframes previewGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.preview-chrome {
  position: relative; z-index: 1;
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.2), 0 40px 100px rgba(0,0,0,0.55);
  transform: scale(1.03);
  transform-origin: center center;
}
@media (min-width: 1025px) and (max-width: 1180px) {
  .preview-chrome { transform: scale(1.01); }
}
.preview-bar {
  background: #F2F2F0; border-bottom: 1px solid #E5E5E3;
  padding: 9px 14px; display: flex; align-items: center; gap: 7px;
}
.pb-dots { display: flex; gap: 6px; }
.pb-dot { width: 10px; height: 10px; border-radius: 50%; }
.pb-dot:nth-child(1){background:#FF5F56;} .pb-dot:nth-child(2){background:#FFBD2E;} .pb-dot:nth-child(3){background:#27C93F;}
.pb-url { flex: 1; background: white; border: 1px solid #E5E5E3; border-radius: 5px; padding: 4px 10px; margin-inline: 8px; font-family: var(--font-mono); font-size: 11px; color: #6b7280; letter-spacing: 0.03em; }
.preview-site {
  background: var(--paper); min-height: 380px; overflow: hidden;
  position: relative;
}
.preview-site::before {
  content: ""; display: block; position: absolute; inset: 0;
  background: #F8F7F4; z-index: 0;
}
.ps-el {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  position: relative; z-index: 1;
}
.ps-el.show { opacity: 1; transform: none; }
.ps-el[data-s="1"]:nth-child(2) { transition-delay: 0.05s; }
.ps-el[data-s="2"] { transition-delay: 0.07s; }
.ps-el[data-s="2"]:nth-child(2) { transition-delay: 0.14s; }
.ps-el[data-s="3"] { transition-delay: 0.1s; }
.ps-el[data-s="3"]:nth-child(2) { transition-delay: 0.18s; }
.ps-el[data-s="4"] { transition-delay: 0.08s; }
.ps-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid #EAEAE8; background: white; flex-wrap: wrap; }
.ps-logo { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; flex-shrink: 0; }
.ps-nav-links { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: flex-end; max-width: min(420px, 100%); }
.ps-nav-link { font-size: 9px; color: var(--gray-500); line-height: 1.2; white-space: nowrap; }
.ps-nav-link--kernset { color: var(--accent); font-weight: 500; }
.ps-nav-cta { background: var(--ink); color: white; font-size: 9px; padding: 4px 10px; border-radius: 999px; flex-shrink: 0; white-space: nowrap; }
.ps-hero { display: grid; grid-template-columns: 1fr 0.52fr; gap: 14px; padding: 20px 16px 14px; align-items: center; }
@media (max-width: 1024px) {
  .preview-glow { display: none; }
  .ps-hero { grid-template-columns: 1fr; gap: 12px; }
  .ps-img { height: 96px; }
  .ps-services { grid-template-columns: repeat(2, 1fr); }
}
.ps-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 3px 10px 3px 6px; font-family: var(--font-mono); font-size: 9px; color: var(--accent); margin-bottom: 10px; }
.ps-chip::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.ps-h1 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 8px; }
.ps-p { font-size: 10px; color: var(--gray-600); line-height: 1.6; margin-bottom: 10px; }
.ps-btns { display: flex; gap: 6px; }
.ps-btn-a { background: var(--ink); color: white; font-size: 9px; padding: 5px 11px; border-radius: 999px; }
.ps-btn-b { border: 1px solid var(--gray-300); font-size: 9px; padding: 5px 11px; border-radius: 999px; color: var(--gray-600); }
.ps-img { background: linear-gradient(135deg, #EEF2FF, #DCE8FF); border-radius: 8px; height: 110px; display: flex; align-items: center; justify-content: center; }
.ps-img-icon { width: 26px; height: 26px; border: 1.5px solid rgba(37,99,235,0.4); transform: rotate(45deg); }
.ps-trust { display: flex; gap: 14px; padding: 0 16px 14px; flex-wrap: wrap; }
.ps-trust-item { font-family: var(--font-mono); font-size: 9px; color: var(--gray-400); display: flex; align-items: center; gap: 5px; }
.ps-trust-item::before { content: "✓"; color: var(--accent); font-size: 9px; }
.ps-services { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; padding: 0 16px 14px; }
.ps-card { background: white; border: 1px solid var(--gray-200); border-radius: 6px; padding: 10px 10px 12px; }
.ps-card-num { font-family: var(--font-mono); font-size: 8px; color: var(--accent); margin-bottom: 6px; }
.ps-card-bar { height: 5px; border-radius: 999px; margin-bottom: 4px; }
.ps-card-bar:nth-child(2){ width:80%; background:var(--ink); }
.ps-card-bar:nth-child(3){ width:60%; background:var(--gray-200); }
.ps-card-bar:nth-child(4){ width:45%; background:var(--gray-100); }
.ps-kernset-bar {
  margin: 0 16px 14px; background: var(--navy); border-radius: 7px;
  padding: 10px 14px; display: flex; align-items: center; justify-content: space-between;
}
.ps-ks-label { font-family: var(--font-mono); font-size: 9px; color: #ffffff; letter-spacing: 0.08em; }
.ps-ks-badge {
  font-family: var(--font-mono); font-size: 9px; color: #27c93f;
  background: rgba(39, 201, 63, 0.14); border: 1px solid rgba(39, 201, 63, 0.35);
  padding: 3px 8px; border-radius: 999px; letter-spacing: 0.04em;
}

/* Progress bar */
.build-progress-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: rgba(255,255,255,0.06);
}
.build-progress-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.1s linear; }

/* Progress dots */
.build-dots { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 7px; z-index: 10; }
.build-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.18); transition: background 0.3s, transform 0.3s; }
.build-dot.active { background: var(--accent); transform: scale(1.8); }
@media (max-width: 1024px) {
  .build-dots { display: none !important; }
}

/* Section bridge: dark build → white demo */
.section-bridge {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}

/* ── Free Demo Section ── */
.demo-section {
  background: white;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 72px var(--gutter) 80px;
}
@media(max-width: 767px) { .demo-section { padding: 56px var(--gutter); } }
.demo-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start;
}
@media(max-width:860px){ .demo-inner{grid-template-columns:minmax(0,1fr);gap:40px;} }
.demo-text { display: flex; flex-direction: column; justify-content: center; min-height: 100%; min-width: 0; }
.demo-visual { display: flex; flex-direction: column; justify-content: center; position: relative; min-width: 0; }
.demo-text .eyebrow { margin-bottom: 24px; }
.demo-text h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500; letter-spacing: -0.027em;
  line-height: 1.08; margin-bottom: 20px;
}
.demo-text p { font-size: 16px; color: var(--gray-600); line-height: 1.72; margin-bottom: 14px; }
.demo-steps { display: grid; gap: 14px; margin: 28px 0 36px; }
.demo-step { display: flex; gap: 14px; align-items: flex-start; }
.demo-step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.06em;
}
.demo-step-text { font-size: 14px; color: var(--gray-600); line-height: 1.6; padding-top: 4px; }
.demo-step-text strong { color: var(--ink); font-weight: 500; }
.demo-note { font-family: var(--font-mono); font-size: 11px; color: var(--gray-400); letter-spacing: 0.06em; margin-top: 4px; padding-left: 2px; line-height: 1.55; max-width: 40rem; }
.demo-cta-wrap { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.demo-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; width: auto; }
.demo-cta-row .btn { flex: 0 1 auto; }

/* ── Demo visual: before → after ── */
@keyframes demo-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes arrow-bounce-v {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}
@keyframes arrow-bounce-h {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}
@keyframes after-glow {
  from { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
  to   { box-shadow: 0 8px 40px rgba(37,99,235,0.15), 0 2px 12px rgba(0,0,0,0.05); }
}

/* Vertical stack (desktop & tablet) */
.demo-compare { display: flex; flex-direction: column; gap: 0; align-items: center; }
.demo-compare-card { width: 100%; max-width: 380px; }
.demo-compare-before { animation: demo-fade-up 0.5s ease both 0.05s; }
.demo-compare-after  { animation: demo-fade-up 0.5s ease both 0.32s; }

.demo-compare-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: 8px;
}
.demo-compare-label--after { color: var(--accent); }

.demo-arrow-wrap { display: flex; justify-content: center; align-items: center; padding: 10px 0; }
.demo-arrow {
  width: 36px; height: 36px;
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); font-size: 16px; line-height: 1; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(11,13,16,0.08);
  animation: arrow-bounce-v 1.8s ease-in-out infinite;
}

/* Browser frame — shared */
.demo-browser-sm {
  background: white; border: 1px solid var(--gray-200); border-radius: 10px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  display: flex; flex-direction: column; width: 100%;
}
.demo-browser-after { animation: after-glow 0.7s ease 0.85s both; }
.demo-browser-sm .db-bar {
  background: #F2F2F0; border-bottom: 1px solid var(--gray-200);
  padding: 7px 10px; display: flex; gap: 5px; align-items: center;
}
.db-url-bar {
  flex: 1; margin-left: 8px; background: #E0E0DC; border-radius: 3px;
  height: 12px; font-size: 7px; color: #555; font-family: var(--font-mono);
  display: flex; align-items: center; padding: 0 6px; overflow: hidden; white-space: nowrap;
}
.db-url-bar--clean { background: #eef2ff; color: var(--accent); }
.db-d { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.db-d:nth-child(1){background:#FF5F56;} .db-d:nth-child(2){background:#FFBD2E;} .db-d:nth-child(3){background:#27C93F;}

/* ---- BEFORE: flat, generic, forgettable ---- */
.before-site { padding: 0; background: white; }
.before-nav {
  height: 30px; background: #2c5fa8;
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px;
}
.before-nav-logo { font-size: 8px; color: white; font-weight: 700; letter-spacing: 0.05em; }
.before-nav-links { display: flex; gap: 4px; }
.before-nav-links span { width: 20px; height: 6px; background: rgba(255,255,255,0.3); border-radius: 1px; }
.before-hero { background: #e8eff9; padding: 12px 10px 10px; border-bottom: 1px solid #ccd8ee; }
.before-hero-left { flex: 1; }
.before-h { height: 10px; background: #1c3d82; border-radius: 1px; margin-bottom: 5px; width: 80%; }
.before-sub { height: 5px; background: #7a9fd4; border-radius: 2px; margin-bottom: 4px; width: 90%; }
.before-sub2 { height: 5px; background: #a8c0e4; border-radius: 2px; width: 68%; margin-bottom: 10px; }
.before-btns { display: flex; gap: 5px; }
.before-btn { height: 14px; width: 50px; background: #2c5fa8; border-radius: 2px; }
.before-btn-ghost { background: transparent; border: 1px solid #2c5fa8; }
.before-hero-img { display: none; }
.before-divider { height: 2px; background: #dde4f0; }
.before-cols {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; padding: 8px 10px; background: #f8f9fb;
}
.before-col {
  background: white; border: 1px solid #dde4f0; border-radius: 2px;
  padding: 6px 5px; display: flex; flex-direction: column; gap: 3px;
}
.before-col-icon { width: 12px; height: 12px; border-radius: 2px; background: #c0cfe8; margin-bottom: 3px; }
.before-col-icon--2 { background: #c0cfe8; }
.before-col-icon--3 { background: #c0cfe8; }
.before-col-line { height: 4px; background: #e4e8f0; border-radius: 1px; width: 88%; }
.before-col-line--short { width: 60%; }
.before-footer { background: #2c3e50; padding: 5px 10px; }
.before-footer-copy { font-size: 6.5px; color: #8899aa; font-family: Arial, sans-serif; }
.before-footer-copy span { color: #7ab0d4; }

/* ---- AFTER: Linekern premium ---- */
.after-site { padding: 0; flex: 1; display: flex; flex-direction: column; background: linear-gradient(165deg,#f8fafc 0%,#eef2ff 45%,#ffffff 100%); }
.after-nav { background: rgba(255,255,255,0.92); border-bottom: 1px solid #E8ECF2; padding: 7px 10px; display: flex; align-items: center; justify-content: space-between; backdrop-filter: blur(6px); }
.after-logo { font-family: var(--font-display); font-size: 9px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.after-cta-btn { background: var(--ink); color: white; font-size: 7px; padding: 3px 8px; border-radius: 999px; box-shadow: 0 2px 8px rgba(11,13,16,0.12); }
.after-hero { padding: 12px 10px 10px; flex: 1; display: flex; flex-direction: column; }
.after-chip-sm { display: inline-flex; align-items: center; gap: 3px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: 2px 7px 2px 5px; font-family: var(--font-mono); font-size: 7px; color: var(--accent); margin-bottom: 6px; }
.after-chip-sm::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.after-h { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 6px; }
.after-p { font-size: 7.5px; color: var(--gray-600); line-height: 1.55; margin-bottom: 8px; max-width: 95%; }
.after-btn { background: var(--accent); color: white; font-size: 7px; padding: 4px 10px; border-radius: 999px; display: inline-block; font-weight: 500; box-shadow: 0 3px 10px rgba(37,99,235,0.35); }
.after-metrics { display: flex; gap: 5px; margin-top: auto; padding-top: 8px; }
.after-metric { flex: 1; background: white; border: 1px solid var(--gray-200); border-radius: 6px; padding: 5px 4px; text-align: center; box-shadow: 0 2px 8px rgba(15,23,42,0.04); }
.after-mv { font-family: var(--font-display); font-size: 9px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.after-ml { font-family: var(--font-mono); font-size: 5.5px; color: var(--gray-500); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }

/* ---- Mobile ≤540px: side-by-side with → arrow ---- */
@media (max-width: 540px) {
  .demo-compare { flex-direction: row; align-items: center; }
  .demo-compare-card { flex: 1; min-width: 0; max-width: none; }
  .demo-arrow-wrap { padding: 0 8px; flex-shrink: 0; }
  .demo-arrow { width: 30px; height: 30px; font-size: 0; line-height: 1; animation: arrow-bounce-h 1.8s ease-in-out infinite; }
  .demo-arrow-icon { font-size: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
  .demo-arrow-icon::before { content: "→"; font-size: 13px; line-height: 1; color: var(--ink); }
  /* tighten font sizes in the "after" card on very small screens */
  .after-h { font-size: 11px; }
  .after-p, .after-btn, .after-cta-btn { font-size: 6.5px; }
}

/* ── Services ── */
.services-section { padding: 100px 0; }
@media(max-width: 767px) { .services-section { padding: 56px 0; } }
.services-section .container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
@media(max-width:860px){ .services-head{grid-template-columns:1fr;gap:24px;} }
@media(max-width:767px){ .services-head { margin-bottom: 40px; } }
.services-head h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 50px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.services-head p { font-size: 15px; color: var(--gray-600); line-height: 1.7; }
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--gray-200); padding: 64px 0; align-items: stretch; }
.svc-block:last-child { border-bottom: 1px solid var(--gray-200); }
.svc-block.flip .svc-text { order: 2; padding-left: 64px; padding-right: 0; display: flex; flex-direction: column; justify-content: center; }
.svc-block.flip .svc-vis { order: 1; }
@media(max-width:860px){ .svc-block{grid-template-columns:1fr;gap:32px;} .svc-block .svc-text,.svc-block.flip .svc-text{padding:0 !important;order:1;} .svc-block .svc-vis,.svc-block.flip .svc-vis{order:2;} }
@media(max-width:767px){ .svc-block { padding: 40px 0; } }
.svc-text { padding-right: 64px; display: flex; flex-direction: column; justify-content: center; }
.svc-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 16px; }
.svc-title { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.svc-desc { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 20px; }
.svc-link { font-size: 14px; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.svc-link:hover { gap: 10px; }
.svc-vis { background: var(--gray-100); border-radius: 14px; min-height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; padding-bottom: 44px; }
@media(max-width:767px){ .svc-vis { min-height: 200px; } }
.svc-browser-frame { width: 100%; max-width: 440px; margin: 0 auto; position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; min-height: 260px; }
.svc-browser-body { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 20px; background: #fafafa; }
.svc-vis-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(0,0,0,0.03) 1px,transparent 1px); background-size: 24px 24px; }
.svc-brackets { width: 72px; height: 72px; border-left: 2px solid var(--ink); border-top: 2px solid var(--ink); position: relative; z-index: 1; }
.svc-brackets::after { content: ""; position: absolute; right: -72px; bottom: -72px; width: 72px; height: 72px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.svc-vis-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  top: auto;
  z-index: 4;
  max-width: calc(100% - 28px);
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-600);
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(248, 247, 244, 0.94);
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.svc-vis-label.svc-vis-label--light {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(11, 13, 16, 0.55);
  border-color: rgba(255, 255, 255, 0.14);
}
.svc-cms-chip { background: white; border: 1px solid var(--gray-200); border-radius: 8px; padding: 12px 16px; box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.svc-cms-chip .sc-label { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 6px; }
.svc-cms-chip .sc-val { font-size: 13px; color: var(--ink); font-weight: 500; }
.svc-cms-chip .sc-edit { font-family: var(--font-mono); font-size: 9px; color: var(--gray-400); margin-top: 4px; }
.svc-bars { display: grid; gap: 8px; width: 160px; position: relative; z-index: 1; }
.svc-bar { height: 7px; border-radius: 999px; }

/* ── Kernset ── */
.kernset-section { background: var(--navy); padding: 100px 0; }
@media(max-width: 767px) { .kernset-section { padding: 56px 0; } }
.kernset-section .container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.kernset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media(max-width:860px){ .kernset-grid{grid-template-columns:1fr;gap:48px;} }
.kernset-section .ks-text .eyebrow { margin-bottom: 24px; }
.kernset-section .ks-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.kernset-section .ks-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
  margin-bottom: 14px;
}
.kernset-section .ks-features { display: grid; gap: 12px; margin: 28px 0 36px; }
.kernset-section .ks-feature {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.kernset-section .ks-feature::before { content: "→"; color: var(--accent); flex-shrink: 0; }
/* CMS mock */
.ks-ui { background: var(--navy); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 64px rgba(12,22,40,0.18); }
.ks-bar { background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.kd { width: 10px; height: 10px; border-radius: 50%; }
.kd:nth-child(1){background:rgba(255,95,86,.55);} .kd:nth-child(2){background:rgba(255,189,46,.55);} .kd:nth-child(3){background:rgba(39,201,63,.55);}
.ks-bar-title { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.65); margin: 0 auto; letter-spacing: 0.07em; }
.ks-body { padding: 24px; }
.ks-label { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.65); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 7px; }
.ks-input { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 6px; padding: 10px 13px; font-size: 13.5px; color: #ffffff; width: 100%; margin-bottom: 16px; display: block; font-family: var(--font-sans); }
.ks-input.focus { border-color: var(--accent); background: rgba(37,99,235,0.08); }
.ks-blocks { display: grid; gap: 6px; margin-top: 4px; }
.ks-block { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 5px; padding: 9px 12px; }
.ks-block-icon { width: 18px; height: 18px; border-radius: 3px; background: rgba(37,99,235,0.25); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ks-block-icon::after { content: ""; width: 7px; height: 1px; background: var(--accent); }
.ks-block-name { font-size: 12px; color: rgba(255,255,255,0.5); }
.ks-actions { display: flex; gap: 8px; margin-top: 20px; }
.ks-save { background: var(--accent); color: white; font-size: 12.5px; padding: 8px 18px; border-radius: 6px; font-family: var(--font-sans); border: none; cursor: pointer; }
.ks-preview { background: transparent; border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.60); font-size: 12.5px; padding: 8px 16px; border-radius: 6px; font-family: var(--font-sans); cursor: pointer; }

/* ── Pricing ── */
.pricing-section { padding: 110px 0 100px; }
@media(max-width: 767px) { .pricing-section { padding: 56px 0; } }
.pricing-section .container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.pricing-head { max-width: 580px; margin-bottom: 32px; }
.pricing-head .eyebrow { margin-bottom: 22px; }
.pricing-head h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 50px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 18px; }
.pricing-head p { font-size: 16px; color: var(--gray-600); line-height: 1.7; }
.pricing-trust-strip {
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
  padding: 18px 24px; background: var(--accent-soft);
  border: 1px solid var(--accent-line); border-radius: 10px;
  margin-bottom: 44px;
}
.pts-item { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.06em; display: flex; align-items: center; gap: 8px; }
.pts-item::before { content: ""; width: 14px; height: 1px; background: var(--accent-line); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1.06fr 1fr; gap: 16px; align-items: start; }
@media(max-width:860px){ .pricing-grid{grid-template-columns:1fr;} .plan-card.featured{padding:36px 32px;} }
.pricing-onetime { margin-top: 20px; }
.pricing-onetime .pot-inner {
  border: 1px solid var(--gray-200); border-radius: 14px; padding: 32px 28px;
  background: white; display: grid; grid-template-columns: 1fr; gap: 18px;
  box-shadow: 0 8px 28px rgba(11,13,16,0.04);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
@media(max-width:720px){ .pricing-onetime .pot-inner{padding:24px 20px;} }
.pot-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 8px; }
.pot-title { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; color: var(--ink); }
.pot-price-small,
.pot-price-from {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1f7a45;
  margin: 6px 0 12px;
  line-height: 1.1;
}
.pot-body { font-size: 14px; color: var(--gray-600); line-height: 1.65; max-width: 560px; margin-inline: auto; }
.pot-cta { align-self: center; justify-self: center; width: auto; max-width: 100%; white-space: nowrap; }
@media(max-width:480px){ .pot-cta{ white-space: normal; } }
.pricing-note { margin-top: 24px; font-size: 13px; color: var(--gray-400); line-height: 1.65; max-width: 680px; }
.pricing-cta-row { display: flex; gap: 14px; align-items: center; margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--gray-200); flex-wrap: wrap; }
.pricing-cta-note { font-size: 14px; color: var(--gray-500); }

/* ── Final CTA ── */
.final-cta {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 40% 60%, rgba(37,99,235,0.14) 0%, transparent 55%);
  padding: 120px var(--gutter); text-align: center;
}
@media(max-width: 767px) { .final-cta { padding: 72px var(--gutter); } }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(40px, 7vw, 96px); font-weight: 500; letter-spacing: -0.038em; color: white; line-height: 0.98; margin-bottom: 28px; }
.final-cta h2 em { color: rgba(255,255,255,0.50); font-style: normal; }
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.60); max-width: 480px; margin: 0 auto 44px; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .cta-note { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.50); letter-spacing: 0.06em; margin-top: 20px; }

/* Home services visuals (index mock blocks) */
.svc-mock-page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.smp-topbar {
  height: 10px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  opacity: 0.9;
}
.smp-hero { padding: 18px 16px 14px; }
.smp-chip {
  width: 118px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  margin-bottom: 12px;
}
.smp-h1 {
  width: 88%;
  height: 14px;
  border-radius: 6px;
  background: var(--ink);
  opacity: 0.85;
  margin-bottom: 10px;
}
.smp-line {
  height: 7px;
  border-radius: 999px;
  background: var(--gray-200);
  margin-bottom: 7px;
  width: 100%;
}
.smp-line.sml-short { width: 62%; }
.smp-actions { display: flex; gap: 8px; margin-top: 12px; }
.smp-actions span:nth-child(1) {
  width: 96px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink);
}
.smp-actions span:nth-child(2) {
  width: 72px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
}
.smp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 16px;
}
.smp-grid span {
  height: 46px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.svc-cms-mockup {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(48px, 72px) minmax(0, 1fr);
  gap: 0;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  min-height: 220px;
  background: #0f172a;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.scm-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.scm-sidebar span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.scm-sidebar span:nth-child(1) { width: 70%; }
.scm-sidebar span:nth-child(2) { width: 55%; }
.scm-sidebar span:nth-child(3) { width: 62%; }
.scm-sidebar span:nth-child(4) { width: 48%; }
.scm-main { padding: 14px 14px 16px; }
.scm-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}
.scm-field {
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}
.scm-field.scm-short {
  height: 26px;
  width: 92%;
}
.scm-blocks { display: grid; gap: 6px; margin-top: 4px; }
.scm-block {
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-host-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 18px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
}
.sh-row {
  display: grid;
  grid-template-columns: minmax(60px, 92px) 1fr auto;
  align-items: center;
  gap: 12px;
}
.sh-label { font-size: 12px; color: var(--gray-600); font-weight: 500; }
.sh-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--gray-100);
  overflow: hidden;
}
.sh-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}
.sh-val {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  white-space: nowrap;
}