/* ─────────────────────────────────────────────────────────────
   Page 17 — Digital & Web
   ───────────────────────────────────────────────────────────── */

/* Site shell — sectioned long mock */
.site-mock {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, #000000, #050818);
  isolation: isolate;
}
.site-mock .topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-mock .topnav img { height: 22px; }
.site-mock .topnav .links {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.site-mock .topnav .cta {
  background: #FFFFFF;
  color: #000;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
}
.site-mock .section-block {
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-mock .section-block:last-child { border-bottom: 0; }
.site-mock .section-block.hero {
  background:
    radial-gradient(ellipse 70% 80% at 80% 0%, rgba(47,55,255,0.22), transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(132,82,255,0.16), transparent 60%);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.site-mock .section-block.hero::after,
.site-mock .section-block.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.5) 0.5px, transparent 0.5px);
  background-size: 200px 200px;
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black, transparent 85%);
  pointer-events: none;
}
.site-mock .section-block > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .site-mock .section-block.hero { grid-template-columns: 1fr; padding: 36px 24px; gap: 24px; }
  .site-mock .topnav .links { display: none; }
}
.site-mock .section-block .ey {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 14px;
}
.site-mock .section-block h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: -0.026em;
  line-height: 1.05;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 16px;
  text-wrap: balance;
}
.site-mock .section-block p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 48ch;
}
.site-mock .section-block .ctas { display: flex; gap: 10px; }
.site-mock .section-block .ctas .btn {
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
}
.site-mock .section-block .ctas .btn-w { background: #FFFFFF; color: #000; }
.site-mock .section-block .ctas .btn-o {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.22);
}
.site-mock .section-block.hero .orb-art {
  aspect-ratio: 1;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.site-mock .section-block.hero .orb-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.site-mock .section-block.about {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(132,82,255,0.10), transparent 60%);
  text-align: center;
  padding: 96px 56px;
}
.site-mock .section-block.about h2 { max-width: 18ch; margin-inline: auto; }
.site-mock .section-block.about p { margin-inline: auto; }

.site-mock .section-block.pricing {
  background: #FAFAFB;
  color: #000;
}
.site-mock .section-block.pricing h2 { color: #000; }
.site-mock .section-block.pricing p { color: #434349; }
.site-mock .section-block.pricing .ey { color: var(--blue-700); }
.site-mock .section-block.pricing .tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
@media (max-width: 900px) { .site-mock .section-block.pricing .tiers { grid-template-columns: 1fr; } }
.site-mock .section-block.pricing .tier {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.site-mock .section-block.pricing .tier.featured {
  border-color: rgba(26,60,179,0.4);
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(47,55,255,0.06), transparent 65%),
    #FFFFFF;
}
.site-mock .section-block.pricing .tier .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #767781;
  text-transform: uppercase;
}
.site-mock .section-block.pricing .tier .price {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 8px 0 4px;
}
.site-mock .section-block.pricing .tier .gloss {
  font-size: 13px;
  color: #767781;
  margin: 0 0 16px;
}
.site-mock .section-block.pricing .tier .btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 500;
}
.site-mock .section-block.pricing .tier.featured .btn { background: #000; color: #FFF; }
.site-mock .section-block.pricing .tier:not(.featured) .btn {
  background: transparent;
  color: #000;
  border: 1px solid rgba(0,0,0,0.12);
}

/* Product chrome mock */
.product-mock-full {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: #FFFFFF;
  color: #000;
}
.product-mock-full .pchrome {
  padding: 12px 18px;
  background: #F7F7F8;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #767781;
  letter-spacing: 0.04em;
}
.product-mock-full .pchrome .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #DADADD;
}
.product-mock-full .pchrome .url {
  margin-left: 14px;
  color: #4E4E56;
}
.product-mock-full .pbody {
  display: grid;
  grid-template-columns: 220px 1fr;
}
@media (max-width: 900px) { .product-mock-full .pbody { grid-template-columns: 1fr; } }
.product-mock-full .pside {
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 20px 16px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-mock-full .pside .sec {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #767781;
  margin: 14px 8px 6px;
}
.product-mock-full .pside .sec:first-child { margin-top: 0; }
.product-mock-full .pside .nv {
  padding: 8px 10px;
  border-radius: 4px;
  color: #4E4E56;
}
.product-mock-full .pside .nv.active { background: #000; color: #FFFFFF; }
.product-mock-full .pmain {
  padding: 32px 36px 40px;
  background: #FFFFFF;
}
.product-mock-full .pmain .crumbs {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #767781;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.product-mock-full .pmain h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 6px;
}
.product-mock-full .pmain .sub {
  color: #4E4E56;
  font-size: 14px;
  margin: 0 0 28px;
}
.product-mock-full .pmain .pcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 720px) { .product-mock-full .pmain .pcards { grid-template-columns: 1fr; } }
.product-mock-full .pcard {
  background: #FAFAFB;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 16px 18px 18px;
}
.product-mock-full .pcard .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #767781;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-mock-full .pcard .v {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000;
  line-height: 1.1;
}
.product-mock-full .pcard .trend {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #767781;
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}
.product-mock-full .pcard .trend .up { color: #1A7B2E; }
.product-mock-full .pmain .ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #FAFAFB;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  border-left: 3px solid #1A3CB3;
}
.product-mock-full .ribbon .txt {
  font-size: 13px;
  color: #4E4E56;
}
.product-mock-full .ribbon .txt b { color: #000; font-weight: 500; }
.product-mock-full .ribbon button {
  background: #000;
  color: #FFFFFF;
  border: 0;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 4px;
}

/* Email templates row */
.email-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) { .email-row { grid-template-columns: 1fr; } }
.email-card {
  background: #FFFFFF;
  color: #000;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-sans);
}
.email-card .head {
  padding: 16px 22px;
  background: #F7F7F8;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.email-card .head .subj {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #000;
}
.email-card .head .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #767781;
  text-transform: uppercase;
}
.email-card .body { padding: 24px 24px 22px; }
.email-card .body .greeting {
  font-size: 14px;
  margin: 0 0 12px;
  color: #000;
}
.email-card .body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4E4E56;
  margin: 0 0 14px;
}
.email-card .body .cta {
  display: inline-block;
  background: #000;
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}
.email-card .foot {
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}
.email-card .foot img { height: 18px; }
.email-card .foot .sig {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #767781;
  text-transform: uppercase;
}

/* Favicons / app icons */
.icon-pack {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .icon-pack { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .icon-pack { grid-template-columns: repeat(2, 1fr); } }
.icon-tile {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 22px 18px 18px;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.icon-tile .square {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.icon-tile .square.dark {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(47,55,255,0.4), transparent 60%),
    linear-gradient(180deg, #000000, #050818);
}
.icon-tile .square.light {
  background: #FFFFFF;
}
.icon-tile .square img { width: 56%; height: 56%; }
.icon-tile .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
}
.icon-tile .label b { color: var(--fg-default); font-weight: 500; display: block; margin-bottom: 2px; }

/* OG card */
.og-card {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1200 / 630;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(47,55,255,0.35), transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(132,82,255,0.20), transparent 60%),
    linear-gradient(180deg, #000000, #050818);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.og-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.5) 0.5px, transparent 0.5px);
  background-size: 140px 140px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.og-card > * { position: relative; z-index: 1; }
.og-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.og-card .top img { height: 24px; }
.og-card .top .ix {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.og-card h3 {
  font-size: 36px;
  letter-spacing: -0.024em;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.1;
  text-wrap: balance;
}
.og-card .foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.og-card .foot b { color: #FFFFFF; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   §17.1 Live previewer — surfaces × devices, real container-query reflow
   The frame is the query container; JS sets its width per device.
   ═══════════════════════════════════════════════════════════════ */
.webview {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.wv-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.wv-surfaces, .wv-devices { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.wv-surfaces button, .wv-devices button {
  appearance: none; border: 0; cursor: pointer; background: transparent;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 500;
  color: rgba(255,255,255,0.6); padding: 6px 12px; border-radius: 6px; line-height: 1;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 140ms ease, color 140ms ease;
}
.wv-surfaces button:hover, .wv-devices button:hover { color: #fff; }
.wv-surfaces button.active, .wv-devices button.active { background: var(--blue-500); color: #fff; }
.wv-devices button { padding: 6px 9px; }
.wv-devices button .ico { width: 16px; height: 16px; }
.wv-w { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4); margin-left: 6px; min-width: 52px; }

/* stage holds the resizable frame, centered */
.wv-stage {
  padding: 22px;
  display: flex; justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(47,55,255,0.08), transparent 60%),
    rgba(0,0,0,0.2);
  overflow: hidden;
}
.wv-frame {
  width: var(--wv-w, 1080px);
  max-width: 100%;
  container-type: inline-size;
  container-name: wv;
  border-radius: 12px;
  overflow: hidden;
  background: #050818;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: width 360ms cubic-bezier(0.5,0.1,0.2,1);
}
.wv-surface { display: none; }
.wv-surface.is-active { display: block; }
.wv-surface.wv-center.is-active { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 360px; padding: 40px; }

/* ── marketing surface ───────────────────────────────────── */
.mk-nav { display: flex; align-items: center; gap: 18px; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mk-logo { height: 30px; }
.mk-links { display: flex; gap: 18px; margin-left: 8px; }
.mk-links span { font-size: 13px; color: rgba(255,255,255,0.7); }
.mk-cta { margin-left: auto; font-size: 12.5px; font-weight: 500; color: #000; background: #fff; padding: 8px 14px; border-radius: 7px; white-space: nowrap; }
.mk-burger { display: none; margin-left: auto; flex-direction: column; gap: 4px; background: transparent; border: 0; cursor: pointer; padding: 6px; }
.mk-burger span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 220ms ease, opacity 180ms ease; }
.mk-menu { display: none; flex-direction: column; gap: 2px; padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 300ms ease, padding 300ms ease; }
.mk-menu span { font-size: 14px; color: rgba(255,255,255,0.78); padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mk-menu .mk-menu-cta { color: #000; background: #fff; border: 0; border-radius: 7px; text-align: center; margin: 10px 0; padding: 10px; font-weight: 500; }
.mk-menu.is-open { display: flex; max-height: 320px; padding: 8px 22px 14px; }

/* cinematic hero — copy sits over a layered cosmic backdrop */
.mk-hero {
  position: relative;
  isolation: isolate;
  padding: 64px 44px 72px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #070B1E 0%, #04060F 100%);
}
/* backdrop layers */
.mk-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mk-glow {
  position: absolute; top: -30%; right: -10%; width: 720px; height: 720px;
  background:
    radial-gradient(circle at 50% 50%, rgba(86,106,255,0.30), transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(105,253,248,0.10), transparent 55%);
  filter: blur(8px);
}
.mk-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 28% 64%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 47% 18%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 63% 48%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.5px 1.5px at 82% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 35% 84%, rgba(255,255,255,0.5), transparent);
  opacity: 0.7;
  animation: mkTwinkle 6s ease-in-out infinite;
}
@keyframes mkTwinkle { 0%,100% { opacity: 0.5; } 50% { opacity: 0.85; } }
.mk-field { position: absolute; top: -8%; right: -6%; width: 78%; height: 130%; opacity: 0.95; }
.mk-pulse { transform-origin: center; animation: mkPulse 3s ease-out infinite; }
@keyframes mkPulse { 0% { transform: scale(1); opacity: 0.5; } 70%,100% { transform: scale(3.2); opacity: 0; } }
.mk-horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(4,6,15,0.85) 75%, #FFFFFF 100%); opacity: 0; }

/* copy */
.mk-herocopy { position: relative; max-width: 32rem; }
.mk-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.72);
  padding: 6px 12px 6px 10px; border-radius: 99px;
  background: rgba(133,160,255,0.10); border: 1px solid rgba(133,160,255,0.24);
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
}
.mk-bdot { width: 7px; height: 7px; border-radius: 50%; background: #69FDF8; box-shadow: 0 0 10px rgba(105,253,248,0.8); animation: mkBlink 2s ease-in-out infinite; }
@keyframes mkBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.mk-headline {
  font-family: var(--font-sans);
  font-size: clamp(30px, 6cqi, 56px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.02;
  margin: 0 0 18px; color: #fff;
  text-wrap: balance;
}
.mk-headline em {
  font-style: normal;
  background: linear-gradient(100deg, #85A0FF 0%, #C2B3FF 45%, #69FDF8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mk-lede { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.62); margin: 0 0 26px; max-width: 44ch; }
.mk-ctas { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; }
.mk-btn {
  font-size: 13.5px; font-weight: 500; padding: 12px 20px; border-radius: 10px;
  white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: transform 200ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 220ms ease, background 180ms ease;
}
.mk-btn-w { background: #fff; color: #000; box-shadow: 0 6px 24px rgba(133,160,255,0.18); }
.mk-btn-w:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(133,160,255,0.34); }
.mk-btn-w .mk-arrow { transition: transform 240ms cubic-bezier(0.34,1.56,0.64,1); }
.mk-btn-w:hover .mk-arrow { transform: translateX(4px); }
.mk-btn-o { background: rgba(255,255,255,0.04); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.mk-btn-o:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }

/* stat row */
.mk-stats { display: flex; gap: 30px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.10); }
.mk-stat { display: flex; flex-direction: column; gap: 3px; }
.mk-stat b { font-family: var(--font-sans); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.mk-stat span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); }

/* shared section title treatment */
.mk-sectitle { font-family: var(--font-sans); font-size: clamp(22px, 3.4cqi, 30px); font-weight: 600; letter-spacing: -0.024em; line-height: 1.1; color: #fff; margin: 0 0 26px; text-wrap: balance; }
.mk-sectitle em { font-style: normal; background: linear-gradient(100deg, #85A0FF, #69FDF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-sectitle-dark { color: #0B0B0D; }
.mk-sectitle-dark em { background: linear-gradient(100deg, var(--blue-600), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* proof / trusted-by band */
.mk-proof { padding: 26px 30px; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.015); text-align: center; }
.mk-prooftxt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.mk-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px; margin-top: 18px; }
.mk-wordmark { font-family: var(--font-sans); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); transition: color 200ms ease; }
.mk-wordmark:hover { color: rgba(255,255,255,0.85); }

/* feature grid */
.mk-features { padding: 56px 30px; background: linear-gradient(180deg, #04060F 0%, #060B1E 100%); }
.mk-features .mk-ey { color: var(--blue-300); }
.mk-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-feat { position: relative; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.09); border-radius: 16px; padding: 24px; overflow: hidden; transition: border-color 220ms ease, transform 240ms cubic-bezier(0.34,1.56,0.64,1); }
.mk-feat:hover { border-color: rgba(133,160,255,0.4); transform: translateY(-3px); }
.mk-feat-wide { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(155deg, rgba(86,106,255,0.14), rgba(255,255,255,0.02)); }
.mk-ficon { width: 38px; height: 38px; border-radius: 10px; background: rgba(133,160,255,0.14); border: 1px solid rgba(133,160,255,0.26); display: flex; align-items: center; justify-content: center; color: #85A0FF; margin-bottom: 16px; }
.mk-ficon .ico { width: 18px; height: 18px; }
.mk-feat h4 { font-family: var(--font-sans); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #fff; margin: 0 0 8px; }
.mk-feat p { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.6); margin: 0; }
.mk-featviz { display: flex; align-items: flex-end; gap: 7px; height: 64px; margin-top: auto; padding-top: 22px; }
.mk-featviz span { flex: 1; background: linear-gradient(180deg, #85A0FF, rgba(133,160,255,0.2)); border-radius: 4px 4px 0 0; }
.mk-featviz span:last-child { background: linear-gradient(180deg, #69FDF8, rgba(105,253,248,0.2)); }

/* pricing */
.mk-pricing { padding: 56px 30px 60px; background: #FFFFFF; }
.mk-pricing .mk-ey { color: var(--blue-700); }
.mk-priceintro { font-size: 14px; line-height: 1.6; color: #5E5E68; margin: -14px 0 26px; max-width: 48ch; }
.mk-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.mk-tier { position: relative; appearance: none; text-align: left; cursor: pointer; display: flex; flex-direction: column; background: #FAFAFB; border: 1px solid #E9E9EC; border-radius: 16px; padding: 22px; transition: border-color 180ms ease, transform 200ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 220ms ease; }
.mk-tier:hover { transform: translateY(-4px); border-color: #B9BAC0; box-shadow: 0 12px 32px rgba(15,18,40,0.10); }
.mk-tier.is-selected { border-color: var(--blue-500); border-width: 1.5px; background: #fff; box-shadow: 0 16px 44px rgba(47,55,255,0.16); }
.mk-tflag { position: absolute; top: 0; right: 18px; transform: translateY(-50%); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--blue-500); padding: 4px 10px; border-radius: 7px; }
.mk-tl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: #767781; margin-bottom: 12px; }
.mk-tier.is-selected .mk-tl { color: var(--blue-700); }
.mk-tp { font-family: var(--font-sans); font-size: 30px; font-weight: 600; letter-spacing: -0.024em; color: #0B0B0D; line-height: 1; }
.mk-tp span { font-size: 12px; color: #767781; font-weight: 400; letter-spacing: 0; }
.mk-tier > p { font-size: 12.5px; line-height: 1.5; color: #5E5E68; margin: 12px 0 16px; }
.mk-tfeats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.mk-tfeats li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #434349; }
.mk-tfeats .ico { width: 14px; height: 14px; flex: 0 0 auto; color: var(--green-500); }
.mk-tbtn { display: block; text-align: center; margin-top: auto; font-size: 12.5px; font-weight: 500; padding: 11px 14px; border-radius: 9px; background: #F2F2F4; color: #0B0B0D; }
.mk-tier.is-selected .mk-tbtn { background: #000; color: #fff; }

/* ── 404 surface — giant orbital numerals over deep space ── */
.nf { position: relative; isolation: isolate; min-height: 420px; padding: 56px 40px 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: linear-gradient(180deg, #070B1E, #04060F); }
.nf-sky { position: absolute; inset: 0; z-index: -1; }
.nf-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(86,106,255,0.22), transparent 60%); filter: blur(10px); }
.nf-stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 18% 28%, rgba(255,255,255,0.6), transparent), radial-gradient(1px 1px at 72% 22%, rgba(255,255,255,0.5), transparent), radial-gradient(1.5px 1.5px at 86% 64%, rgba(255,255,255,0.65), transparent), radial-gradient(1px 1px at 32% 76%, rgba(255,255,255,0.45), transparent), radial-gradient(1px 1px at 58% 84%, rgba(255,255,255,0.4), transparent); opacity: 0.7; animation: mkTwinkle 6s ease-in-out infinite; }
/* giant gradient 404 */
.nf-bignum { display: flex; align-items: center; justify-content: center; gap: 6px; line-height: 1; margin-bottom: 26px; }
.nf-bignum > span { font-family: var(--font-sans); font-size: clamp(90px, 22cqi, 180px); font-weight: 700; letter-spacing: -0.04em; background: linear-gradient(160deg, #fff 0%, #85A0FF 60%, #2F37FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-zero { width: clamp(90px, 22cqi, 180px); height: clamp(90px, 22cqi, 180px); display: inline-flex; align-items: center; justify-content: center; }
.nf-zero svg { width: 100%; height: 100%; }
.nf-planet { filter: drop-shadow(0 0 6px rgba(105,253,248,0.8)); }
.nf-copy { position: relative; max-width: 30rem; }
.nf-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); padding: 5px 12px; border-radius: 99px; background: rgba(133,160,255,0.10); border: 1px solid rgba(133,160,255,0.24); margin-bottom: 16px; }
.nf-tagdot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 8px rgba(233,97,38,0.8); }
.nf-title { font-family: var(--font-sans); font-size: clamp(24px, 4.6cqi, 34px); font-weight: 600; letter-spacing: -0.024em; color: #fff; margin: 0 0 12px; text-wrap: balance; }
.nf-text { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.62); margin: 0 0 24px; }
.nf-ctas { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }
.nf-links { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; font-size: 12.5px; }
.nf-links span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.nf-links a { color: rgba(255,255,255,0.72); cursor: pointer; border-bottom: 1px solid transparent; transition: border-color 160ms ease, color 160ms ease; }
.nf-links a:hover { color: #fff; border-bottom-color: rgba(133,160,255,0.6); }

/* ── loading surface ─────────────────────────────────────── */
.wv-surface[data-surface="loading"] { background: #050818; }
.ld-bar { height: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.ld-bar span { display: block; height: 100%; width: 40%; background: var(--blue-400); animation: ldBar 1.4s ease-in-out infinite; }
@keyframes ldBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.ld-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ld-sk { background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.06) 75%); background-size: 200% 100%; animation: ldShimmer 1.5s ease-in-out infinite; border-radius: 6px; }
@keyframes ldShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.ld-logo { width: 84px; height: 18px; }
.ld-pill { width: 110px; height: 30px; border-radius: 8px; }
.ld-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: 44px 30px; }
.ld-col { display: flex; flex-direction: column; gap: 12px; }
.ld-ey { width: 120px; height: 10px; }
.ld-h { width: 90%; height: 26px; }
.ld-h2 { width: 70%; }
.ld-p { width: 100%; height: 12px; margin-top: 6px; }
.ld-p2 { width: 80%; }
.ld-btn { width: 140px; height: 38px; border-radius: 8px; margin-top: 10px; }
.ld-orb { width: 200px; height: 200px; border-radius: 50%; justify-self: center; }

/* ── cookie banner (rides inside marketing surface) ──────── */
.wv-cookie {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(10,13,32,0.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 5;
  transition: transform 360ms cubic-bezier(0.5,0.1,0.2,1), opacity 240ms ease;
}
.wv-cookie.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.wv-cookie p { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.74); margin: 0; flex: 1; min-width: 200px; }
.wv-cookie .ck-acts { display: flex; gap: 8px; }
.wv-cookie button { appearance: none; border: 0; cursor: pointer; font: inherit; font-family: var(--font-sans); font-size: 12px; font-weight: 500; padding: 8px 14px; border-radius: 7px; }
.wv-cookie .ck-manage { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); }
.wv-cookie .ck-accept { background: #fff; color: #000; }
.wv-surface[data-surface="site"] { position: relative; }

/* ═══════════ CONTAINER QUERIES — the real reflow ═══════════ */
/* tablet & below */
@container wv (max-width: 820px) {
  .mk-hero { padding: 48px 30px 56px; }
  .mk-glow { width: 460px; height: 460px; }
  .mk-field { width: 92%; opacity: 0.6; }
  .mk-fgrid { grid-template-columns: 1fr; }
  .mk-feat-wide { grid-row: auto; }
  .mk-tiers { grid-template-columns: 1fr 1fr; }
  .mk-tiers .mk-tier:last-child { grid-column: 1 / -1; }
  .ld-hero { grid-template-columns: 1fr; }
  .ld-orb { display: none; }
}
/* mobile */
@container wv (max-width: 560px) {
  .mk-links, .mk-cta { display: none; }
  .mk-burger { display: flex; }
  .mk-hero { padding: 36px 22px 44px; }
  .mk-field { opacity: 0.4; }
  .mk-stats { gap: 18px; flex-wrap: wrap; }
  .mk-ctas { width: 100%; }
  .mk-ctas .mk-btn { flex: 1; justify-content: center; }
  .mk-tiers { grid-template-columns: 1fr; }
  .mk-tiers .mk-tier:last-child { grid-column: auto; }
  .mk-features, .mk-pricing, .mk-proof { padding-left: 22px; padding-right: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .wv-frame { transition: none; }
  .ld-bar span, .ld-sk, .nf-stray,
  .mk-stars, .mk-pulse, .mk-bdot,
  .orbit-spin-slow, .orbit-spin-med, .orbit-spin-fast { animation: none; }
  .mk-tier { transition: border-color 180ms ease; }
  .mk-tier:hover, .mk-btn-w:hover, .mk-btn-o:hover { transform: none; }
}

/* §17.3 — copy-paste deliverable specs */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-grid .spec-block:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .spec-grid { grid-template-columns: 1fr; } .spec-grid .spec-block:last-child { grid-column: auto; } }
.spec-block { border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; background: rgba(255,255,255,0.02); overflow: hidden; }
.spec-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.spec-name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.spec-copy { appearance: none; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.7); padding: 5px 9px; border-radius: 6px; transition: border-color 140ms ease, color 140ms ease, background 140ms ease; }
.spec-copy .ico { width: 13px; height: 13px; }
.spec-copy:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.spec-code { margin: 0; padding: 16px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,0.78); white-space: pre; overflow-x: auto; tab-size: 2; }
.spec-code::-webkit-scrollbar { height: 6px; }
.spec-code::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 99px; }
