/* ============================================================
   FineWright - finely wrought websites
   Design system: "The Atelier of 2100"
   Draft-blue blueprint that materializes into warm fired craft.
   ============================================================ */

:root {
  /* Surfaces - light drafting paper */
  --ink: #eef1f7;
  --ink-2: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --paper: #eef1f7;
  --line: rgba(22, 28, 45, 0.1);
  --line-strong: rgba(22, 28, 45, 0.18);

  /* The duality: cool draft vs warm built */
  --blueprint: #2f6bf6;
  --blueprint-soft: #4f9dff;
  --blueprint-glow: rgba(79, 157, 255, 0.45);
  --ember: #f26a33;
  --ember-soft: #ff9255;
  --gold: #e0a23c;

  /* Text */
  --text: #141824;
  --muted: #545c70;
  --faint: #8b93a7;

  /* Footer (dark signature band) */
  --footer-bg: #0b0e16;
  --footer-text: #e7eaf2;
  --footer-muted: #a6adc0;

  /* Type */
  --display: "Syne", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Geometry */
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Ambient field behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(79, 157, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(242, 106, 51, 0.09), transparent 55%),
    var(--paper);
}
/* Drafting grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
  opacity: 0.7;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--blueprint);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--blueprint);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section {
  position: relative;
}
.section {
  padding-block: clamp(72px, 11vw, 150px);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ember);
  color: #14060a;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 1000;
  font-weight: 700;
}
.skip:focus {
  left: 0;
}

/* ---------- Type ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blueprint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blueprint);
  opacity: 0.7;
}
.h-xl {
  font-size: clamp(2.7rem, 8vw, 6.2rem);
}
.h-lg {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
}
.h-md {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 60ch;
}
.mono {
  font-family: var(--mono);
}
.ember {
  color: var(--ember);
}
.blue {
  color: var(--blueprint);
}
.draft-text {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--blueprint-soft);
  text-stroke: 1.2px var(--blueprint-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background 0.3s, border-color 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.4s var(--ease);
}
.btn-primary {
  background: linear-gradient(180deg, var(--ember-soft), var(--ember));
  color: #1a0700;
  box-shadow: 0 10px 34px rgba(255, 122, 69, 0.32);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(255, 122, 69, 0.46);
}
.btn-primary:hover svg {
  transform: translateX(4px);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(22, 28, 45, 0.04);
}
.btn-ghost:hover {
  border-color: var(--blueprint);
  color: var(--blueprint);
  transform: translateY(-3px);
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand .glyph {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand .dot {
  color: var(--ember);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1.5px;
  width: 0;
  background: var(--blueprint);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links,
  .nav .nav-cta .btn {
    display: none;
  }
  .mobile-menu {
    position: fixed;
    inset: 76px 0 0 0;
    background: rgba(246, 248, 252, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 30px var(--gutter);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  .mobile-menu.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .mobile-menu a {
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 700;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .mobile-menu .btn {
    margin-top: 20px;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}
#blueprint-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(40px, 8vw, 90px);
}
.hero h1 {
  margin-top: 22px;
  max-width: 16ch;
}
.hero .lead {
  margin-top: 26px;
}
.hero-cta {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 54px;
  display: flex;
  gap: clamp(24px, 5vw, 60px);
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-meta .stat .n {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
}
.hero-meta .stat .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 8px;
}

/* word build-in animation */
.reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 0.9s var(--ease-out) forwards;
}
@keyframes word-up {
  to {
    transform: translateY(0);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  background: rgba(22, 28, 45, 0.02);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "✦";
  color: var(--ember);
  font-size: 0.7em;
}
@keyframes scroll-x {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 {
  margin-top: 18px;
}
.section-head .lead {
  margin-top: 20px;
}
.split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 72px);
}

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

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    340px 200px at var(--mx, 50%) var(--my, 0%),
    rgba(79, 157, 255, 0.13),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(22, 30, 60, 0.12);
}
.card:hover::before {
  opacity: 1;
}
.card .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.card .ic {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--blueprint);
  background: rgba(79, 157, 255, 0.06);
  transition: color 0.4s, border-color 0.4s, background 0.4s;
}
.card:hover .ic {
  color: var(--ember);
  border-color: rgba(255, 122, 69, 0.4);
  background: rgba(255, 122, 69, 0.07);
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--muted);
  font-size: 0.96rem;
}
.card .tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 100px;
}

/* feature span cards */
.feature-card {
  grid-column: span 2;
}
@media (max-width: 860px) {
  .feature-card {
    grid-column: span 1;
  }
}

/* ---------- Process / steps ---------- */
.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.5s var(--ease);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step:hover {
  padding-left: 14px;
}
.step .n {
  font-family: var(--mono);
  color: var(--blueprint);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  padding-top: 8px;
}
.step h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  margin-bottom: 12px;
  transition: color 0.4s;
}
.step:hover h3 {
  color: var(--ember);
}
.step p {
  color: var(--muted);
  max-width: 64ch;
}
@media (max-width: 640px) {
  .step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ---------- Showcase tabs ---------- */
.showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
  }
}
.showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.showcase-tab {
  text-align: left;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 22px 24px;
  color: var(--muted);
  transition: 0.4s var(--ease);
  border-left: 2px solid var(--line);
}
.showcase-tab h4 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 6px;
  font-family: var(--display);
}
.showcase-tab p {
  font-size: 0.88rem;
}
.showcase-tab.active {
  background: var(--surface);
  border-left-color: var(--ember);
}
.showcase-tab.active h4 {
  color: var(--ember);
}
.showcase-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--ink-2));
  overflow: hidden;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 30px;
}
.showcase-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}
.showcase-panel.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* mock browser */
.mock {
  width: 100%;
  max-width: 460px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(22, 30, 60, 0.14);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.mock-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--faint);
  display: block;
}
.mock-bar .url {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.mock-body {
  padding: 22px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skel {
  border-radius: 7px;
  background: linear-gradient(
    90deg,
    rgba(22, 28, 45, 0.05),
    rgba(79, 157, 255, 0.18),
    rgba(22, 28, 45, 0.05)
  );
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
  height: 14px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Pricing ---------- */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px;
  margin-top: 26px;
}
.toggle button {
  border: none;
  background: none;
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: 0.35s var(--ease);
}
.toggle button.active {
  background: var(--text);
  color: var(--ink);
}
.toggle .save {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ember);
  margin-left: 6px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 940px) {
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}
.price {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.price:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}
.price.featured {
  border-color: rgba(255, 122, 69, 0.5);
  background: linear-gradient(180deg, rgba(255, 122, 69, 0.08), var(--ink-2));
  box-shadow: 0 30px 70px rgba(255, 122, 69, 0.12);
}
.price .ribbon {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 14px;
}
.price h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.price .desc {
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 42px;
}
.price .amount {
  margin-block: 22px 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price .amount .cur {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 1rem;
}
.price .amount .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1;
}
.price .amount .per {
  color: var(--faint);
  font-size: 0.85rem;
}
.price .from {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.price ul {
  list-style: none;
  margin: 26px 0;
  display: grid;
  gap: 13px;
  flex: 1;
}
.price li {
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
  align-items: flex-start;
}
.price li svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: var(--blueprint);
}
.price.featured li svg {
  color: var(--ember);
}

/* ---------- Estimator ---------- */
.estimator {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--ink-2));
  padding: clamp(26px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}
@media (max-width: 860px) {
  .estimator {
    grid-template-columns: 1fr;
  }
}
.est-group {
  margin-bottom: 26px;
}
.est-group > label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  display: block;
  margin-bottom: 12px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1px solid var(--line-strong);
  background: rgba(22, 28, 45, 0.03);
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  transition: 0.3s var(--ease);
  user-select: none;
}
.chip:hover {
  border-color: var(--blueprint);
  color: var(--text);
}
.chip.on {
  background: var(--blueprint);
  border-color: var(--blueprint);
  color: #04101f;
  font-weight: 600;
}
.est-out {
  border-left: 1px solid var(--line);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 860px) {
  .est-out {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 30px;
  }
}
.est-out .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.est-out .range {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin-block: 10px 6px;
  color: var(--ember);
}
.est-out .note {
  font-size: 0.85rem;
  color: var(--muted);
}
.est-out .btn {
  margin-top: 26px;
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.field .req {
  color: var(--ember);
}
.input,
.select,
.textarea {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  padding: 15px 16px;
  font-family: var(--body);
  font-size: 0.98rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--faint);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blueprint);
  box-shadow: 0 0 0 4px rgba(79, 157, 255, 0.14);
  background: var(--ink);
}
.textarea {
  resize: vertical;
  min-height: 130px;
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa0b4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: 0.82rem;
  color: var(--faint);
  margin-top: 8px;
}
.honey {
  position: absolute;
  left: -9999px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-q .pm {
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.faq-q .pm::before,
.faq-q .pm::after {
  content: "";
  position: absolute;
  background: var(--blueprint);
  inset: 0;
  margin: auto;
}
.faq-q .pm::before {
  width: 100%;
  height: 1.5px;
}
.faq-q .pm::after {
  width: 1.5px;
  height: 100%;
  transition: transform 0.4s var(--ease);
}
.faq-item.open .pm::after {
  transform: scaleY(0);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p {
  color: var(--muted);
  padding-bottom: 28px;
  max-width: 70ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(79, 157, 255, 0.1), rgba(255, 122, 69, 0.08)),
    var(--ink-2);
  padding: clamp(44px, 7vw, 84px);
  text-align: center;
  overflow: hidden;
}
.cta-band h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band .lead {
  margin: 22px auto 34px;
  text-align: center;
}
.cta-band .hero-cta {
  justify-content: center;
}

/* ---------- Footer (dark signature band) ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--line);
  padding-block: 70px 40px;
  margin-top: 90px;
  border-radius: 28px 28px 0 0;
  position: relative;
  z-index: 2;
}
.site-footer .brand {
  color: #ffffff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}
.footer-brand p {
  color: var(--footer-muted);
  max-width: 34ch;
  margin-top: 18px;
  font-size: 0.92rem;
}
.footer-col h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #767e93;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--footer-muted);
  font-size: 0.92rem;
  padding: 7px 0;
  transition: color 0.3s, padding-left 0.3s;
}
.footer-col a:hover {
  color: #ffffff;
  padding-left: 5px;
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #767e93;
  font-family: var(--mono);
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal][data-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal][data-delay="3"] {
  transition-delay: 0.24s;
}
[data-reveal][data-delay="4"] {
  transition-delay: 0.32s;
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding-top: clamp(150px, 18vw, 210px);
  padding-bottom: clamp(40px, 6vw, 70px);
}
.page-hero h1 {
  max-width: 18ch;
  margin-top: 20px;
}
.page-hero .lead {
  margin-top: 24px;
}
.breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.breadcrumb a:hover {
  color: var(--blueprint);
}

/* ---------- Custom cursor ---------- */
/* Only on devices with a precise pointer; native cursor stays everywhere else */
@media (hover: hover) and (pointer: fine) {
  body.cursor-on,
  body.cursor-on a,
  body.cursor-on button,
  body.cursor-on [data-magnetic],
  body.cursor-on .chip,
  body.cursor-on input,
  body.cursor-on select,
  body.cursor-on textarea,
  body.cursor-on label {
    cursor: none;
  }
}
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79, 157, 255, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: transform;
}
.cursor-dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--ember);
  transition: opacity 0.3s, width 0.25s var(--ease), height 0.25s var(--ease),
    margin 0.25s var(--ease), background 0.25s;
}
.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  border: 1.5px solid var(--blueprint);
  transition: opacity 0.3s, width 0.3s var(--ease), height 0.3s var(--ease),
    margin 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring {
  opacity: 1;
}
/* hovering an interactive element: ring grows and fills faintly, dot hides */
body.cursor-hover .cursor-ring {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: var(--ember);
  background: rgba(242, 106, 51, 0.08);
}
body.cursor-hover .cursor-dot {
  width: 0;
  height: 0;
  margin: 0;
}
/* hovering a labeled action: ring carries a mono label */
.cursor-ring .c-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
  opacity: 0;
  transition: opacity 0.25s;
}
body.cursor-label .cursor-ring {
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-color: var(--ember);
  background: rgba(242, 106, 51, 0.1);
}
body.cursor-label .cursor-ring .c-label {
  opacity: 1;
}
/* pressing down */
body.cursor-down .cursor-ring {
  transform-origin: center;
}
@media (prefers-reduced-motion: reduce) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
  body.cursor-on,
  body.cursor-on a,
  body.cursor-on button {
    cursor: auto;
  }
}

/* ---------- Scroll stage (Apple-style scroll-driven reveal) ---------- */
.stage {
  position: relative;
  height: 360vh;
}
.stage-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 1400px;
}
.stage-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(79, 157, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
}
.stage-eyebrow {
  position: absolute;
  top: clamp(80px, 12vh, 130px);
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}
.stage-device {
  position: relative;
  width: min(78vw, 920px);
  transform-style: preserve-3d;
  will-change: transform;
}
.device-frame {
  position: relative;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px rgba(22, 30, 60, 0.18);
  overflow: hidden;
  transform-style: preserve-3d;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.device-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-strong);
  display: block;
}
.device-bar i:nth-child(1) { background: #ff5f57; }
.device-bar i:nth-child(2) { background: #febc2e; }
.device-bar i:nth-child(3) { background: #28c840; }
.device-bar .url {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  background: var(--ink);
  padding: 5px 12px;
  border-radius: 7px;
}
.device-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2));
  overflow: hidden;
}
/* floating callouts that fade in across the scroll */
.stage-callout {
  position: absolute;
  z-index: 6;
  max-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 20px 44px rgba(22, 30, 60, 0.12);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stage-callout.show {
  opacity: 1;
  transform: none;
}
.stage-callout .co-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  display: block;
  margin-bottom: 6px;
}
.stage-callout p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.stage-callout.c1 { top: 20%; left: clamp(12px, 4vw, 70px); }
.stage-callout.c2 { top: 38%; right: clamp(12px, 4vw, 70px); }
.stage-callout.c3 { bottom: 16%; left: clamp(12px, 6vw, 120px); }
@media (max-width: 760px) {
  .stage { height: 280vh; }
  .stage-callout { display: none; }
  .stage-device { width: 86vw; }
}

/* toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--ember);
  border-radius: 12px;
  padding: 16px 22px;
  z-index: 1000;
  font-size: 0.92rem;
  box-shadow: 0 20px 44px rgba(22, 30, 60, 0.16);
  transition: transform 0.5s var(--ease);
  max-width: 90vw;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* small print list */
.note-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 860px) {
  .note-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.note-grid .cell {
  background: var(--ink-2);
  padding: 30px 26px;
}
.note-grid .cell .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--blueprint);
}
.note-grid .cell .l {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.center {
  text-align: center;
}
.mt-s {
  margin-top: 16px;
}
.mt-m {
  margin-top: 28px;
}
.mt-l {
  margin-top: 48px;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  grid-template-columns: 1.35fr 0.85fr;
  align-items: start;
  gap: 24px;
}
.form-card {
  padding: 38px 36px;
}
.form-card:hover {
  transform: none;
  box-shadow: 0 24px 50px rgba(22, 30, 60, 0.1);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field-row .field {
  margin-bottom: 22px;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-aside .card {
  padding: 28px 26px;
}
.contact-aside .card:hover {
  transform: none;
}
.next-steps {
  list-style: none;
  counter-reset: step;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.next-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 42px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.next-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blueprint);
  border: 1px solid var(--line-strong);
  background: rgba(79, 157, 255, 0.06);
}
.next-steps li strong {
  color: var(--text);
  font-weight: 600;
}
.direct-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.direct-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.92rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.direct-link svg {
  color: var(--blueprint);
  flex-shrink: 0;
  transition: color 0.4s;
}
.direct-link:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.direct-link:hover svg {
  color: var(--ember);
}
.muted-note {
  margin-top: 16px;
  color: var(--faint) !important;
  font-size: 0.85rem !important;
}
.promise-card {
  background: linear-gradient(180deg, rgba(255, 122, 69, 0.07), var(--ink-2));
  border-color: rgba(255, 122, 69, 0.22);
}
@media (max-width: 940px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card {
    padding: 28px 22px;
  }
}

/* ============================================================
   Scroll stage v2 - website build sequence
   ============================================================ */
.stage-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--line);
  z-index: 8;
}
.stage-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blueprint), var(--ember));
  transition: width 0.1s linear;
}
.stage-phase {
  position: absolute;
  top: clamp(74px, 11vh, 120px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 6;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.stage-phase b {
  color: var(--faint);
  font-weight: 500;
  transition: color 0.4s, opacity 0.4s;
  opacity: 0.4;
}
.stage-phase b.on {
  color: var(--ember);
  opacity: 1;
}
.stage-phase .sep {
  color: var(--line-strong);
  opacity: 0.5;
}

/* the building website inside the device screen */
.device-screen {
  transition: background 0.6s var(--ease);
}
.build {
  position: absolute;
  inset: 0;
  padding: clamp(14px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vw, 18px);
  font-family: var(--mono);
}
/* generic build element entrance */
.build [data-step] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.build [data-step].on {
  opacity: 1;
  transform: none;
}

/* wireframe grid wash that fades as the site gets "built" */
.build-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--blueprint-glow) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-glow) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  transition: opacity 0.6s;
  pointer-events: none;
}
.device-screen.colored .build-grid {
  opacity: 0;
}

/* nav */
.build-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bn-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px dashed var(--blueprint);
  flex-shrink: 0;
  transition: 0.5s var(--ease);
}
.device-screen.colored .bn-logo {
  border-style: solid;
  background: linear-gradient(135deg, var(--blueprint), var(--ember));
  border-color: transparent;
}
.bn-links {
  display: flex;
  gap: 10px;
  margin-left: 4px;
}
.bn-links i {
  width: clamp(26px, 4vw, 40px);
  height: 7px;
  border-radius: 3px;
  background: var(--line-strong);
  display: block;
  transition: 0.5s;
}
.device-screen.colored .bn-links i {
  background: var(--muted);
}
.bn-pill {
  margin-left: auto;
  width: clamp(46px, 7vw, 70px);
  height: clamp(20px, 3vw, 28px);
  border-radius: 100px;
  border: 1.5px dashed var(--ember);
  transition: 0.5s var(--ease);
}
.device-screen.colored .bn-pill {
  border-color: transparent;
  background: linear-gradient(180deg, var(--ember-soft), var(--ember));
}

/* hero */
.build-hero {
  margin-top: clamp(8px, 1.6vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bh-eyebrow {
  font-family: var(--mono);
  font-size: clamp(8px, 1vw, 11px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blueprint);
}
.bh-title {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(1.1rem, 3.4vw, 2.4rem);
  line-height: 1.05;
  color: var(--muted);
  letter-spacing: 0;
  transition: font-family 0.1s, color 0.6s var(--ease), letter-spacing 0.6s var(--ease);
  max-width: 17ch;
}
.device-screen.typeset .bh-title {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.device-screen.colored .bh-title {
  color: var(--text);
}
.device-screen.colored .bh-title .accent {
  background: linear-gradient(120deg, var(--blueprint), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bh-sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bh-sub i {
  height: 7px;
  border-radius: 3px;
  background: var(--line-strong);
  display: block;
  transition: 0.5s;
}
.bh-sub i:nth-child(1) { width: 80%; }
.bh-sub i:nth-child(2) { width: 62%; }
.device-screen.colored .bh-sub i {
  background: var(--muted);
  opacity: 0.55;
}
.bh-btns {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.bh-btn {
  height: clamp(24px, 3.6vw, 34px);
  border-radius: 100px;
  transition: 0.5s var(--ease);
}
.bh-btn.solid {
  width: clamp(74px, 11vw, 116px);
  border: 1.5px dashed var(--ember);
}
.bh-btn.ghost {
  width: clamp(58px, 9vw, 92px);
  border: 1.5px dashed var(--line-strong);
}
.device-screen.colored .bh-btn.solid {
  border-color: transparent;
  background: linear-gradient(180deg, var(--ember-soft), var(--ember));
  box-shadow: 0 8px 20px rgba(242, 106, 51, 0.3);
}
.device-screen.colored .bh-btn.ghost {
  border-style: solid;
  border-color: var(--line-strong);
}

/* feature cards */
.build-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.4vw, 14px);
  margin-top: auto;
}
.bc {
  border: 1.5px dashed var(--line-strong);
  border-radius: 10px;
  padding: clamp(8px, 1.4vw, 14px);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: 0.5s var(--ease);
}
.bc .dot {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--line-strong);
  transition: 0.5s;
}
.bc i {
  height: 6px;
  border-radius: 3px;
  background: var(--line-strong);
  display: block;
  transition: 0.5s;
}
.bc i:nth-child(2) { width: 90%; }
.bc i:nth-child(3) { width: 65%; }
.device-screen.colored .bc {
  border-style: solid;
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(22, 30, 60, 0.07);
}
.device-screen.colored .bc:nth-child(1) .dot { background: var(--blueprint); }
.device-screen.colored .bc:nth-child(2) .dot { background: var(--ember); }
.device-screen.colored .bc:nth-child(3) .dot { background: var(--gold); }
.device-screen.colored .bc i { background: var(--muted); opacity: 0.5; }

/* live badge appears at the end */
.build-live {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1c7a3a;
  background: rgba(40, 200, 100, 0.12);
  border: 1px solid rgba(40, 200, 100, 0.4);
  padding: 5px 10px;
  border-radius: 100px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.build-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 0 0 rgba(40, 200, 100, 0.6);
  animation: live-pulse 1.8s ease-out infinite;
}
.build-live.on {
  opacity: 1;
  transform: none;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 200, 100, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(40, 200, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 200, 100, 0); }
}

/* the url bar swaps text as the build finishes */
.device-bar .url .u-dev { color: var(--faint); }
.device-bar .url .u-live { color: var(--blueprint); display: none; }
.device-screen.colored ~ .device-bar .url .u-dev,
.device-frame.colored .url .u-dev { display: none; }
.device-frame.colored .url .u-live { display: inline; }

@media (max-width: 760px) {
  .build-cards { gap: 8px; }
  .stage-phase { font-size: 9px; gap: 5px; }
}

/* ============================================================
   Lifelike mini-site mockups (showcase)
   ============================================================ */
.mock {
  max-width: 520px;
}
.mock-body.flush {
  padding: 0;
  min-height: 300px;
  display: block;
}
.ms {
  font-family: var(--body);
  background: var(--surface);
  height: 100%;
  min-height: 300px;
  text-align: left;
}
.ms-pad {
  padding: 16px 18px;
}
/* mini nav */
.ms-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.ms-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  color: var(--text);
}
.ms-logo b {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--blueprint), var(--ember));
  display: block;
}
.ms-links {
  display: flex;
  gap: 12px;
  margin-left: 8px;
  font-size: 10px;
  color: var(--muted);
}
.ms-links span:first-child { color: var(--text); font-weight: 600; }
.ms-cta {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--ember-soft), var(--ember));
  padding: 6px 12px;
  border-radius: 100px;
}
.ms-cart {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.ms-cart b {
  background: var(--ember);
  color: #fff;
  border-radius: 100px;
  padding: 1px 6px;
  font-size: 9px;
}

/* marketing hero */
.ms-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 8px;
}
.ms-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.ms-h .g {
  background: linear-gradient(120deg, var(--blueprint), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ms-p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 12px;
}
.ms-btns { display: flex; gap: 8px; margin-bottom: 16px; }
.ms-btn {
  font-size: 10px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 100px;
}
.ms-btn.solid {
  color: #fff;
  background: linear-gradient(180deg, var(--ember-soft), var(--ember));
  box-shadow: 0 8px 18px rgba(242, 106, 51, 0.28);
}
.ms-btn.ghost {
  color: var(--text);
  border: 1.5px solid var(--line-strong);
}
.ms-feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ms-fcard {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  background: var(--surface-2);
}
.ms-fcard .ic {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.ms-fcard:nth-child(1) .ic { background: rgba(79,157,255,0.18); border: 1px solid var(--blueprint); }
.ms-fcard:nth-child(2) .ic { background: rgba(242,106,51,0.18); border: 1px solid var(--ember); }
.ms-fcard:nth-child(3) .ic { background: rgba(224,162,60,0.2); border: 1px solid var(--gold); }
.ms-fcard b { font-size: 10px; color: var(--text); display: block; margin-bottom: 4px; }
.ms-fcard span { font-size: 9px; color: var(--muted); line-height: 1.4; display: block; }

/* storefront */
.ms-shop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ms-shop-head b { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--text); }
.ms-shop-head span { font-size: 9px; color: var(--faint); font-family: var(--mono); }
.ms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ms-prod {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.ms-prod:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(22, 30, 60, 0.12);
}
.ms-prod .img {
  height: 64px;
  position: relative;
  overflow: hidden;
}
.ms-prod:nth-child(1) .img { background: linear-gradient(135deg, #ffd6a5, #ff9255); }
.ms-prod:nth-child(2) .img { background: linear-gradient(135deg, #a5c8ff, #4f9dff); }
.ms-prod:nth-child(3) .img { background: linear-gradient(135deg, #c3f0ca, #6fd98a); }
.ms-prod:nth-child(4) .img { background: linear-gradient(135deg, #e7c6ff, #b07aff); }
.ms-prod .img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 70% 20%, rgba(255,255,255,0.5), transparent 60%);
}
.ms-prod .meta { padding: 8px 10px; }
.ms-prod .meta b { font-size: 10px; color: var(--text); display: block; }
.ms-prod .meta .row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.ms-prod .price { font-size: 11px; font-weight: 700; color: var(--text); }
.ms-prod .add {
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: var(--ember);
  padding: 4px 9px;
  border-radius: 100px;
}

/* dashboard / web app */
.ms-app { display: flex; height: 100%; min-height: 300px; }
.ms-side {
  width: 54px;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ms-side .s-logo { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--blueprint), var(--ember)); }
.ms-side .s-ic { width: 18px; height: 18px; border-radius: 5px; background: var(--line-strong); }
.ms-side .s-ic.on { background: var(--blueprint); }
.ms-main { flex: 1; padding: 14px 16px; }
.ms-app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ms-app-head b { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--text); }
.ms-app-head .av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #ffd6a5, #ff9255); }
.ms-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.ms-stat { border: 1px solid var(--line); border-radius: 9px; padding: 8px 9px; background: var(--surface); }
.ms-stat .k { font-size: 7px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.ms-stat .v { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--text); margin-top: 2px; }
.ms-stat .v.up { color: #1c9a4e; }
.ms-chart {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: var(--surface);
}
.ms-chart .ct { font-size: 9px; color: var(--muted); margin-bottom: 10px; font-family: var(--mono); }
.ms-bars { display: flex; align-items: flex-end; gap: 7px; height: 60px; }
.ms-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--blueprint-soft), var(--blueprint));
  opacity: 0.85;
}
.ms-bars i:last-child { background: linear-gradient(180deg, var(--ember-soft), var(--ember)); }

/* landing page */
.ms-land {
  text-align: center;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  justify-content: center;
}
.ms-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.ms-land .ms-h { font-size: 24px; max-width: 18ch; }
.ms-land .ms-p { margin-inline: auto; text-align: center; }
.ms-form {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: 260px;
  margin-bottom: 14px;
}
.ms-input {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: var(--surface);
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 9px;
  color: var(--faint);
}
.ms-form .ms-btn.solid { white-space: nowrap; }
.ms-trust { display: flex; align-items: center; gap: 8px; }
.ms-avatars { display: flex; }
.ms-avatars i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -6px;
}
.ms-avatars i:nth-child(1) { background: #ff9255; margin-left: 0; }
.ms-avatars i:nth-child(2) { background: #4f9dff; }
.ms-avatars i:nth-child(3) { background: #6fd98a; }
.ms-avatars i:nth-child(4) { background: #b07aff; }
.ms-trust span { font-size: 9px; color: var(--muted); }
.ms-trust b { color: var(--gold); }

/* ============================================================
   Polish pass - accents, motion, micro-interactions
   ============================================================ */

/* global page scroll progress bar (injected by JS) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blueprint), var(--ember));
  box-shadow: 0 0 12px rgba(242, 106, 51, 0.4);
  transition: width 0.08s linear;
}

/* primary button sheen sweep on hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 130%;
}

/* gradient text utility */
.grad {
  background: linear-gradient(120deg, var(--blueprint), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* card hover accent: a hairline gradient edge that lights up */
.card {
  isolation: isolate;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--blueprint), var(--ember));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.card:hover::after {
  opacity: 0.6;
}

/* count-up numbers hold their width so layout does not jump */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* eyebrow gets a tiny leading tick for a drafting feel */
.eyebrow {
  position: relative;
}

/* smooth fade for showcase mock on tab change already handled; add hover life */
.showcase-tab {
  position: relative;
  overflow: hidden;
}
.showcase-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blueprint), var(--ember));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.showcase-tab.active::before,
.showcase-tab:hover::before {
  transform: scaleY(1);
}

/* section eyebrow underline draw on reveal */
.section-head .eyebrow::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--ember);
  vertical-align: middle;
  margin-left: 10px;
  opacity: 0.6;
}

/* ============================================================
   v4 - pricing annual display
   ============================================================ */
.amount { position: relative; flex-wrap: wrap; }
.save-tag {
  display: none;
  align-self: center;
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1c8a45;
  background: rgba(40, 200, 100, 0.12);
  border: 1px solid rgba(40, 200, 100, 0.4);
  padding: 4px 9px;
  border-radius: 100px;
}
.save-tag.show { display: inline-flex; }
.bill-note {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--mono);
}

/* ============================================================
   v4 - checkout
   ============================================================ */
.checkout-grid {
  grid-template-columns: 1.3fr 0.9fr;
  align-items: start;
  gap: 24px;
}
@media (max-width: 940px) {
  .checkout-grid { grid-template-columns: 1fr; }
}
.co-plan-list {
  display: grid;
  gap: 10px;
}
.co-plan-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
  transition: border-color 0.3s, transform 0.3s;
}
.co-plan-opt:hover {
  border-color: var(--blueprint);
  transform: translateX(3px);
}
.co-plan-opt b { color: var(--text); font-size: 0.98rem; }
.co-plan-opt span { color: var(--muted); font-family: var(--mono); font-size: 0.85rem; }
.co-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.co-includes {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 11px;
}
.co-includes li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  color: var(--muted);
}
.co-includes svg {
  width: 17px;
  height: 17px;
  color: var(--ember);
  flex-shrink: 0;
}
.co-pay-mode {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  margin: 18px 0;
}
.co-mode {
  flex: 1;
  padding: 10px 14px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}
.co-mode.active {
  background: var(--text);
  color: var(--surface);
}
.co-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
}
.co-line > span:first-child {
  font-family: var(--body);
  color: var(--muted);
  font-size: 0.95rem;
}
#co-amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--text);
}
.co-suffix {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}
.co-secure {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}
.co-secure svg { color: #1c8a45; flex-shrink: 0; margin-top: 2px; }
.co-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.co-cards span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  background: var(--surface-2);
}

/* ============================================================
   v4 - launch offer popup + countdown
   ============================================================ */
.offer-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 14, 22, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.offer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.offer-card {
  position: relative;
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px 34px 32px;
  text-align: center;
  box-shadow: 0 40px 90px rgba(22, 30, 60, 0.3);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.45s var(--ease);
  overflow: hidden;
}
.offer-overlay.open .offer-card {
  transform: none;
}
.offer-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 0%, rgba(242, 106, 51, 0.16), transparent 70%);
  pointer-events: none;
}
.offer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--ink-2);
  border: 1px solid var(--line);
  transition: color 0.3s, transform 0.3s;
  z-index: 2;
}
.offer-close:hover { color: var(--text); transform: rotate(90deg); }
.offer-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  position: relative;
}
.offer-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 10px;
  position: relative;
}
.offer-h .grad {
  background: linear-gradient(120deg, var(--blueprint), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.offer-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 18px;
  position: relative;
}
.offer-timer {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}
.offer-timer .unit {
  min-width: 58px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 6px;
}
.offer-timer .unit b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.offer-timer .unit span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.offer-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1.5px dashed var(--ember);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: rgba(242, 106, 51, 0.05);
  position: relative;
}
.offer-code .code {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
  font-size: 1.05rem;
}
.offer-code button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
}
.offer-card .btn { position: relative; }
.offer-fine {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--faint);
  position: relative;
}

/* floating reopen pill */
.offer-pill {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 180;
  display: none;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--ember-soft), var(--ember));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 16px;
  border-radius: 100px;
  box-shadow: 0 14px 34px rgba(242, 106, 51, 0.4);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.offer-pill.show { display: inline-flex; }
.offer-pill:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(242, 106, 51, 0.5); }
.offer-pill b {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 2px 8px;
  font-size: 0.78rem;
}
@media (prefers-reduced-motion: reduce) {
  .offer-overlay, .offer-card { transition: none; }
}
.offer-hidden { display: none !important; }

/* ============================================================
   v4 - market comparison
   ============================================================ */
.compare {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .compare { grid-template-columns: 1fr; }
}
.compare-col {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  background: var(--surface);
}
.compare-col.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--blueprint), var(--ember)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 24px 50px rgba(22, 30, 60, 0.12);
}
.cc-flag {
  position: absolute;
  top: -11px;
  left: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--ember-soft), var(--ember));
  padding: 4px 11px;
  border-radius: 100px;
}
.cc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.compare-col.featured .cc-label { color: var(--ember); }
.cc-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  line-height: 1.1;
}
.compare-col ul {
  list-style: none;
  display: grid;
  gap: 11px;
}
.compare-col li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.compare-col li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.compare-col li.yes::before {
  content: "\2713";
  color: #1c8a45;
  background: rgba(40, 200, 100, 0.14);
}
.compare-col li.no::before {
  content: "\2715";
  color: #c14545;
  background: rgba(220, 80, 80, 0.12);
}
.compare-col li.mid::before {
  content: "\2013";
  color: var(--gold);
  background: rgba(224, 162, 60, 0.16);
}

/* ============================================================
   v5 - shopping cart
   ============================================================ */
.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s, color 0.3s;
}
.cart-btn:hover { border-color: var(--blueprint); color: var(--blueprint); transform: translateY(-2px); }
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--ember);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--paper);
}
.cart-count.show { display: flex; }

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 320;
  visibility: hidden;
  pointer-events: none;
}
.cart-drawer.open { visibility: visible; pointer-events: auto; }
.cart-scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.cart-drawer.open .cart-scrim { opacity: 1; }
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: -30px 0 80px rgba(22, 30, 60, 0.18);
}
.cart-drawer.open .cart-panel { transform: none; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.cart-x {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted); background: var(--ink-2); border: 1px solid var(--line);
  transition: color 0.3s, transform 0.3s;
}
.cart-x:hover { color: var(--text); transform: rotate(90deg); }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.ci-main { display: flex; flex-direction: column; gap: 4px; }
.ci-main b { font-size: 0.98rem; color: var(--text); }
.ci-note { font-size: 0.78rem; color: var(--faint); line-height: 1.4; max-width: 30ch; }
.ci-price { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); margin-top: 2px; }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ci-qty {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 100px; padding: 2px;
}
.ci-qty button {
  width: 24px; height: 24px; border-radius: 50%;
  color: var(--muted); font-weight: 700; line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.ci-qty button:hover { background: var(--ink-2); color: var(--text); }
.ci-qty span { min-width: 18px; text-align: center; font-family: var(--mono); font-size: 0.85rem; }
.ci-rm { font-size: 0.78rem; color: var(--faint); transition: color 0.2s; }
.ci-rm:hover { color: #c14545; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cart-empty svg { color: var(--faint); }
.cart-bump { padding: 0 24px; }
.bump-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, rgba(79,157,255,0.07), var(--ink-2));
  border: 1px solid rgba(79,157,255,0.25);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
}
.bump-card b { display: block; font-size: 0.9rem; color: var(--text); }
.bump-card span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; max-width: 24ch; }
.bump-card .btn { padding: 9px 14px; font-size: 0.82rem; white-space: nowrap; }
.cart-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.cart-foot.muted .cart-code, .cart-foot.muted .cart-checkout, .cart-foot.muted .cart-secure { opacity: 0.4; pointer-events: none; }
.cart-code { display: flex; gap: 8px; }
.cart-code input {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--text);
}
.cart-code input:focus { outline: none; border-color: var(--blueprint); }
.cart-code button {
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.3s, color 0.3s;
}
.cart-code button:hover { border-color: var(--ember); color: var(--ember); }
.cart-code-msg { font-size: 0.8rem; margin-top: 8px; min-height: 1em; font-family: var(--mono); }
.cart-code-msg.ok { color: #1c8a45; }
.cart-code-msg.bad { color: #c14545; }
.cart-totals { margin: 14px 0; display: grid; gap: 8px; }
.ct-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); }
.ct-row.disc { color: #1c8a45; }
.ct-row.total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}
.ct-row.total em { font-family: var(--mono); font-style: normal; font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.cart-secure {
  display: flex; align-items: center; gap: 7px;
  margin-top: 12px;
  font-size: 0.78rem; color: var(--muted);
}
.cart-secure svg { color: #1c8a45; }

/* estimator actions + add-on add buttons */
.est-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.addon-grid .cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.addon-add {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ember);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.addon-add:hover { background: var(--ember); color: #fff; border-color: transparent; transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  .cart-panel, .cart-scrim { transition: none; }
}

/* v5 - checkout discount input */
.co-code { display: flex; gap: 8px; margin: 14px 0 0; }
.co-code input {
  flex: 1;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--ink-2);
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--text);
}
.co-code input:focus { outline: none; border-color: var(--blueprint); }
.co-code button {
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  transition: border-color 0.3s, color 0.3s;
}
.co-code button:hover { border-color: var(--ember); color: var(--ember); }

/* v5 - success check */
.success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: #fff;
  background: linear-gradient(135deg, #34d171, #1c9a4e);
  box-shadow: 0 16px 40px rgba(40, 180, 90, 0.4);
  animation: pop-in 0.5s var(--ease) both;
}
@keyframes pop-in {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .success-check { animation: none; } }

/* ============================================================
   v5 - guides / article content
   ============================================================ */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  margin-bottom: 22px;
}
.article-meta .tag {
  color: var(--blueprint);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 3px 10px;
}
.prose { color: var(--text); }
.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
}
.prose h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 28px 0 10px;
}
.prose p { color: var(--muted); line-height: 1.75; margin-bottom: 16px; font-size: 1.02rem; }
.prose ul, .prose ol { color: var(--muted); line-height: 1.7; margin: 0 0 16px 1.1rem; display: grid; gap: 8px; }
.prose li { padding-left: 4px; }
.prose strong { color: var(--text); }
.prose a { color: var(--blueprint); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 3px solid var(--ember);
  padding: 6px 0 6px 20px;
  margin: 22px 0;
  color: var(--text);
  font-size: 1.1rem;
  font-style: italic;
}
.prose .callout {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-2);
  padding: 20px 22px;
  margin: 26px 0;
}
.prose .callout p { margin: 0; }
.article-cta {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--blueprint), var(--ember)) border-box;
  border: 1.5px solid transparent;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
@media (max-width: 720px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.guide-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(22, 30, 60, 0.1);
}
.guide-card .gc-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
}
.guide-card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 10px 0 8px;
  letter-spacing: -0.01em;
}
.guide-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.guide-card .gc-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--ember);
  font-weight: 600;
  font-size: 0.9rem;
}
