/* =====================================================================
   yoursiteisdone — 1c Vibrant Dark restyle
   ---------------------------------------------------------------------
   Source of truth: _apex-restyle-explorations/1c-vibrant-dark/index.html
   - Inter Tight + JetBrains Mono typography
   - Deep ink palette (#08080c) with violet→magenta→cyan accents
   - Animated gradient CTAs, eyebrow shimmer, marquee, glow hairlines
   - All legacy classes (from the original style.css) are re-skinned
     here so every page renders in the 1c system without rewrites.
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #08080c;
  --bg-1: #0c0c14;
  --bg-2: #11111c;
  --bg-3: #181826;
  --surface: #11111c;
  --surface-2: #181826;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --ink: #f8fafc;
  --text: #f8fafc;
  --ink-2: #d1d5db;
  --text-dim: #d1d5db;
  --muted: #a1a1aa;
  --muted-2: #71717a;

  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --magenta: #ec4899;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --cyan-2: #06b6d4;

  --gradient: linear-gradient(110deg, #a78bfa 0%, #ec4899 38%, #f472b6 60%, #22d3ee 100%);
  --grad: linear-gradient(110deg, #a78bfa 0%, #ec4899 38%, #f472b6 60%, #22d3ee 100%);
  --grad-2: linear-gradient(135deg, #8b5cf6 0%, #ec4899 55%, #22d3ee 100%);
  --grad-rim: linear-gradient(135deg, rgba(167, 139, 250, 0.85), rgba(236, 72, 153, 0.7), rgba(34, 211, 238, 0.7));

  /* legacy aliases — old style.css names mapped onto 1c palette */
  --bg-soft: var(--bg-1);
  --bg-tint: var(--bg-2);
  --paper: var(--bg-2);
  --line-2: var(--line-strong);
  --accent: var(--magenta);
  --accent-2: var(--pink);
  --accent-ink: #fff;
  --accent-tint: rgba(236, 72, 153, 0.14);
  --good: #4ade80;
  --warn: #fbbf24;
  --danger: #ef4444;
  --gold: var(--cyan);

  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, 'Inter', 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --body: var(--sans);
  --display: var(--sans);

  --max: 1280px;
  --maxw: 1280px;
  --gutter: 28px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-lg: 0 30px 60px -20px rgba(167, 139, 250, 0.4), 0 30px 60px -20px rgba(236, 72, 153, 0.22);
  --t-fast: 120ms ease;
  --t: 180ms ease;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; min-width: 0; }
*::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-image:
    radial-gradient(1100px 600px at 12% -100px, rgba(167, 139, 250, 0.22) 0%, transparent 55%),
    radial-gradient(900px 500px at 92% 12%, rgba(236, 72, 153, 0.18) 0%, transparent 55%),
    radial-gradient(700px 400px at 50% 96%, rgba(34, 211, 238, 0.12) 0%, transparent 55%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-2); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--pink); }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }

/* ---------- typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

h1 em, h2 em, h3 em {
  font-style: normal;
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 6s ease infinite;
  text-shadow: 0 0 36px rgba(236, 72, 153, 0.18);
}

p { margin: 0 0 1em; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.gradient-text, .grad-text {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 8s ease infinite;
}

@keyframes grad-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes pulse {
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes btn-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.16) inset,
      0 1px 0 rgba(255, 255, 255, 0.25) inset,
      0 10px 28px -6px rgba(236, 72, 153, 0.55),
      0 0 32px rgba(167, 139, 250, 0.28);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.18) inset,
      0 1px 0 rgba(255, 255, 255, 0.28) inset,
      0 14px 34px -6px rgba(236, 72, 153, 0.7),
      0 0 44px rgba(167, 139, 250, 0.42);
  }
}

/* ---------- container / sections ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 100px 0; position: relative; }
.section--tight { padding: 60px 0; }
.section--bg, .section--tint {
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.04), rgba(236, 72, 153, 0.02));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head { max-width: 660px; margin-bottom: 56px; }
.section__head .lead { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; color: var(--muted); max-width: 580px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }

.center { text-align: center; }

/* ---------- eyebrow / tag (1c + legacy) ---------- */
.eyebrow, .tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  margin: 0;
}
.eyebrow::after, .tag::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(244, 114, 182, 0.18) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 5s ease infinite;
  pointer-events: none;
}
.eyebrow > *, .tag > * { position: relative; z-index: 1; }
.eyebrow .dot, .tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.18), 0 0 14px rgba(236, 72, 153, 0.8);
  animation: pulse 1.8s ease-in-out infinite;
}

/* gradient hairline between sections */
.glow-line, .hairline-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(167, 139, 250, 0.55) 25%, rgba(236, 72, 153, 0.55) 50%, rgba(34, 211, 238, 0.55) 75%, transparent 100%);
  position: relative;
}
.glow-line::before, .hairline-glow::before {
  content: '';
  position: absolute;
  inset: -2px 0;
  background: inherit;
  filter: blur(6px);
  opacity: 0.6;
}

/* ---------- nav (1c) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.022em;
  font-size: 1rem;
  color: var(--ink);
}
.brand__name { color: var(--ink); }
.brand__mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--grad-2);
  background-size: 200% 200%;
  animation: grad-shift 8s ease infinite;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 6px 18px -4px rgba(167, 139, 250, 0.6),
    0 0 18px rgba(236, 72, 153, 0.25);
  flex-shrink: 0;
}
.brand__mark::after {
  content: '';
  position: absolute;
  inset: 7px;
  background: var(--bg);
  border-radius: 3px;
}
/* if old <img> brand mark is still in DOM, hide its inner pixels and use gradient */
img.brand__mark { background: var(--grad-2); object-fit: cover; padding: 0; }
img.brand__mark[src] { background-image: var(--grad-2); }

.nav__links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav__links a {
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color .15s, text-shadow .15s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--ink); text-shadow: 0 0 12px rgba(167, 139, 250, 0.6); }
.nav__links a[aria-current="page"] { color: var(--violet-2); }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  text-decoration: none;
}
.btn--lg { padding: 14px 22px; font-size: 0.98rem; }
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { display: inline-block; transition: transform .15s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--grad, .btn--accent, .btn-pulse {
  color: #fff;
  background: var(--grad-2);
  background-size: 200% 100%;
  animation: grad-shift 6s ease infinite, btn-pulse 3s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 10px 28px -6px rgba(236, 72, 153, 0.55),
    0 0 32px rgba(167, 139, 250, 0.28);
  border: 0;
}
.btn--grad:hover, .btn--accent:hover, .btn-pulse:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn--ghost {
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.06);
}

/* ---------- hero ---------- */
.hero {
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero__eyebrow { display: inline-flex; }
.hero h1 { margin-top: 22px; color: var(--ink); }
.hero__sub {
  margin-top: 22px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 560px;
}
.hero__sub em { color: var(--violet-2); font-style: normal; }
.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.hero__visual { position: relative; perspective: 1500px; }

/* ---------- browser preview + carousel (legacy DOM, 1c skin) ---------- */
.preview, .browser-bar + .hero-carousel,
.hero__visual .browser-bar {
  /* container styling delegated below */
}

.browser-bar {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.browser-bar__dots { display: flex; gap: 6px; }
.browser-bar__dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg-3);
}
.browser-bar__dots span:nth-child(1) { background: #ff5f57; opacity: 0.7; }
.browser-bar__dots span:nth-child(2) { background: #febc2e; opacity: 0.7; }
.browser-bar__dots span:nth-child(3) { background: #28c840; opacity: 0.7; }
.browser-bar__url {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 12px;
  min-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-bar__live {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 4px 10px 4px 18px;
  border-radius: 999px;
  position: relative;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.browser-bar__live::before {
  content: '';
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  aspect-ratio: 4 / 3;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.22),
    0 50px 100px -30px rgba(0, 0, 0, 0.8),
    0 30px 60px -20px rgba(236, 72, 153, 0.32),
    0 30px 80px -20px rgba(34, 211, 238, 0.15);
}
.hero-carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  filter: contrast(1.05) saturate(1.1);
}
.hero-carousel__slide.is-active { opacity: 1; }
.hero-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.32) 0%, rgba(236, 72, 153, 0.18) 60%, rgba(34, 211, 238, 0.12) 100%);
  mix-blend-mode: color;
  z-index: 2;
  pointer-events: none;
}
.hero-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 12, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-carousel__caption {
  position: absolute;
  left: 16px; bottom: 14px; right: 16px;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-carousel__caption-cat {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}
.hero-carousel__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.hero-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s;
}
.hero-carousel__dot.is-active {
  background: var(--magenta);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.18);
}

/* duotone wash util */
.duotone-wash { position: relative; overflow: hidden; }
.duotone-wash::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.32) 0%, rgba(236, 72, 153, 0.18) 60%, rgba(34, 211, 238, 0.12) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}

/* ---------- niche marquee ---------- */
.marquee {
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 6%, transparent 94%, var(--bg) 100%),
    linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(236, 72, 153, 0.04));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  gap: 50px;
  animation: marquee 42s linear infinite;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-right: 50px;
  color: var(--ink);
  will-change: transform;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 50px;
}
.marquee__track span::after {
  content: '✦';
  color: var(--magenta);
  font-size: 0.85rem;
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- trust band (legacy + 1c) ---------- */
.trust-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.trust-band__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-stat {
  padding: 30px 26px;
  border-left: 1px solid var(--line);
}
.trust-stat:first-child { border-left: 0; }
.trust-stat__num {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fafafa 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--sans);
}
.trust-stat__num em {
  font-style: normal;
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 8s ease infinite;
}
.trust-stat__lbl {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- timeline / how it works (legacy) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.timeline__step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s;
}
.timeline__step:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.timeline__step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
  background-size: 200% 100%;
  animation: grad-shift 5s ease infinite;
}
.timeline__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.24), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(167, 139, 250, 0.4);
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--violet-2);
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.2);
}
.timeline__step:nth-child(2) .timeline__num {
  color: var(--pink);
  border-color: rgba(244, 114, 182, 0.4);
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.24), rgba(167, 139, 250, 0.1));
  box-shadow: 0 0 16px rgba(244, 114, 182, 0.2);
}
.timeline__step:nth-child(3) .timeline__num {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.4);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(244, 114, 182, 0.1));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.2);
}
.timeline__step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.timeline__step p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin-bottom: 0; }
.timeline__time {
  margin-top: 16px;
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ---------- photo grid / photoframe (legacy) — duotone treatment ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photoframe {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: pointer;
  transition: transform .25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.photoframe:hover { transform: translateY(-4px); }
.photoframe--rotate-l { transform: rotate(0); }
.photoframe--rotate-r { transform: rotate(0); }
.photoframe__img {
  position: relative;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) saturate(1.05);
  transition: transform .5s ease, filter .35s;
}
.photoframe:hover .photoframe__img { transform: scale(1.04); filter: contrast(1.05) saturate(1.3); }
.photoframe__img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.42) 0%, rgba(236, 72, 153, 0.32) 50%, rgba(34, 211, 238, 0.18) 100%);
  mix-blend-mode: color;
  z-index: 1;
  transition: opacity .3s;
}
.photoframe:hover .photoframe__img::before { opacity: 0.5; }
.photoframe__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0) 50%, rgba(8, 8, 12, 0.85) 100%);
  z-index: 2;
}
.photoframe__caption {
  position: absolute;
  left: 16px; bottom: 12px; right: 16px;
  z-index: 3;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  pointer-events: none;
}
.photoframe__caption em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-left: 6px;
}

/* about-photos arrangement */
.about-photos {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.about-photos .photoframe {
  flex: 0 1 280px;
  width: 280px;
}
.about-photos .photoframe__img {
  width: 100%;
}
.photo-grid .photoframe__img,
.about-photos .photoframe__img {
  height: 100%;
}

/* ---------- 2-up row (legacy) ---------- */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.row-2--wide { grid-template-columns: 1.2fr 1fr; }
.row-2--quote { grid-template-columns: 1fr 1.4fr; }

/* ---------- tailor module (legacy DOM, 1c skin) ---------- */
.tailor {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
}
.tailor__pickers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.tailor__group { }
.tailor__group-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.tailor__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tailor__chip {
  font-family: var(--mono);
  font-size: 0.78rem;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
}
.tailor__chip:hover {
  border-color: rgba(167, 139, 250, 0.45);
  color: var(--ink);
}
.tailor__chip.is-on {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(236, 72, 153, 0.12));
  border-color: rgba(167, 139, 250, 0.55);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.22);
}
.tailor__result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  transition: opacity .2s ease;
}
.tailor__result h3 {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 8s ease infinite;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.tailor__result p { color: var(--ink-2); font-size: 0.95rem; }
.tailor__swatch-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.tailor__swatch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
}
.tailor__swatch-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-block;
}
.tailor__preview {
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: contrast(1.05) saturate(1.1);
}
.tailor__preview::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.32) 0%, rgba(236, 72, 153, 0.18) 60%, rgba(34, 211, 238, 0.12) 100%);
  mix-blend-mode: color;
}

/* ---------- savings calculator (legacy DOM, 1c skin) ---------- */
.savings {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.savings__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.savings__copy h2 { color: var(--ink); }
.savings__copy p { color: var(--muted); }
.savings__slider {
  margin-top: 22px;
}
.savings__slider input[type="range"] {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--violet) 0%, var(--magenta) var(--pct, 50%), var(--line) var(--pct, 50%), var(--line) 100%);
  border-radius: 6px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.savings__slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-2);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 6px 18px -4px rgba(236, 72, 153, 0.6);
  cursor: pointer;
}
.savings__slider input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--magenta);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 6px 18px -4px rgba(236, 72, 153, 0.6);
  cursor: pointer;
}
.savings__slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}
.savings__panel {
  background:
    radial-gradient(500px 280px at 50% 0%, rgba(167, 139, 250, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(236, 72, 153, 0.04));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.savings__panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  font-size: 0.94rem;
  color: var(--ink-2);
  position: relative;
  z-index: 1;
}
.savings__panel-row.is-strike { color: var(--muted); }
.savings__panel-row.is-strike .val { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.18); }
.savings__panel-row.is-us .val { color: var(--ink); font-weight: 500; }
.savings__panel-row .lbl { color: inherit; }
.savings__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line-strong);
  margin-top: 14px;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}
.savings__total .lbl {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.savings__total .val {
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-shift 8s ease infinite;
}

/* ---------- pricing tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tier {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier--featured, .tier--feat {
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(236, 72, 153, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(255, 255, 255, 0.01));
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.35),
    0 30px 60px -20px rgba(167, 139, 250, 0.4),
    0 30px 60px -20px rgba(236, 72, 153, 0.22);
}
.tier--featured::before, .tier--feat::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: var(--grad-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.tier__badge {
  position: absolute;
  top: -10px; left: 28px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  background: var(--grad-2);
  background-size: 200% 200%;
  animation: grad-shift 6s ease infinite;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.45);
}
.tier__name {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.tier__price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tier__price .num {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.tier__price .per {
  font-size: 0.92rem;
  color: var(--muted);
}
.tier__sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 6px 0 0;
  min-height: 38px;
  line-height: 1.5;
}
.tier__sub strong { color: var(--pink); font-weight: 600; }
.tier__list {
  list-style: none;
  margin: 22px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.tier__list li {
  font-size: 0.91rem;
  color: var(--ink-2);
  padding: 7px 0 7px 24px;
  position: relative;
}
.tier__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3 7.5L5.5 10L11 4.5' stroke='%23a78bfa' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.tier .btn { width: 100%; justify-content: center; }

/* first-month pricing pill */
.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(167, 139, 250, 0.16), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.18);
}
.price-pill strong { color: var(--pink); font-weight: 600; }

/* ---------- compare table (legacy) ---------- */
.compare-table {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.compare-table__cell {
  padding: 16px 18px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: transparent;
  flex-wrap: wrap;
  gap: 4px;
}
.compare-table__cell:nth-child(-n+4) { /* header row */ }
.compare-table__cell.is-head {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.025);
}
.compare-table__cell.is-head small {
  display: block;
  width: 100%;
  font-size: 0.62rem;
  color: var(--muted-2);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-top: 2px;
}
.compare-table__cell.is-row-head {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-left: 0;
}
.compare-table__cell.is-us {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.1), rgba(236, 72, 153, 0.04));
  color: var(--ink);
}
.compare-table__cell.is-us.is-head {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.22), rgba(236, 72, 153, 0.08));
  color: #fff;
}
.compare-table__cell.is-us strong { color: #fff; }
.compare-table__cell .yes { color: var(--good); font-weight: 500; }
.compare-table__cell .no { color: var(--muted); }
.compare-table__cell .meh { color: var(--warn); }

/* simple <table class="compare"> variant (pricing.php) */
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
table.compare th, table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: middle;
}
table.compare th:first-child, table.compare td:first-child { border-left: 0; color: var(--muted); }
table.compare th {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.025);
}
table.compare tbody tr:last-child td { border-bottom: 0; }
.tier-yes { color: var(--good); font-weight: 500; }
.tier-no { color: var(--muted-2); }

/* ---------- feature grid (legacy) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  background-size: 200% 100%;
  animation: grad-shift 5s ease infinite;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--ink); }
.feature p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin-bottom: 0; }
.feature__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.22), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(167, 139, 250, 0.4);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--violet-2);
  margin-bottom: 14px;
}

/* ---------- testimonial cards (legacy) ---------- */
.tcard {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.tcard .tag { margin-bottom: 16px; align-self: flex-start; }
.tcard__quote {
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.tcard__author {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}
.tcard__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background-color: rgba(167, 139, 250, 0.22);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line-strong);
  color: var(--violet-2) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  flex-shrink: 0;
}
.tcard__name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.tcard__meta { color: var(--muted); font-size: 0.78rem; font-family: var(--mono); margin-top: 2px; }

/* ---------- FAQ (legacy) ---------- */
.faq__item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  gap: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span:last-child {
  color: var(--pink) !important;
  font-family: var(--mono);
  font-size: 1.4rem !important;
  line-height: 1;
  transition: transform .2s;
}
.faq__item[open] summary span:last-child { transform: rotate(45deg); }
.faq__item p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 0.94rem;
  line-height: 1.65;
  max-width: 700px;
}

/* ---------- closing CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 22px;
  padding: 60px 56px;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 18% 28%, rgba(167, 139, 250, 0.45), transparent 60%),
    radial-gradient(500px 300px at 92% 80%, rgba(236, 72, 153, 0.35), transparent 60%),
    radial-gradient(400px 240px at 60% 0%, rgba(34, 211, 238, 0.22), transparent 60%),
    linear-gradient(135deg, #1a1430 0%, #0e0c1c 100%);
  border: 1px solid transparent;
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: 36px;
  box-shadow: 0 50px 100px -30px rgba(167, 139, 250, 0.4);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 23px;
  padding: 1px;
  background: var(--grad-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 12px; max-width: 540px; }
.cta-band p { color: var(--ink-2); font-size: 1rem; max-width: 540px; margin-bottom: 0; }

/* ---------- forms (1c + legacy) ---------- */
.form-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
}
.form-section {
  padding: 30px 30px;
  border-bottom: 1px solid var(--line);
}
.form-section:last-of-type { border-bottom: 0; }
.form-section__head {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 14px;
  margin-bottom: 24px;
  row-gap: 4px;
}
.form-section__head h2 {
  grid-column: 2;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.form-section__head p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.form-section__num {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.24), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(167, 139, 250, 0.4);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--violet-2);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.18);
}

.form-row { margin-bottom: 18px; }
.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row > label,
.form-row label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form-row .help {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
}
.req { color: var(--pink); }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  transition: border-color .15s, box-shadow .2s, background .2s;
  outline: none;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 0 4px rgba(167, 139, 250, 0.14),
    0 0 24px rgba(236, 72, 153, 0.15);
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }

input[type="color"] {
  width: 100%;
  height: 46px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  cursor: pointer;
}
input[type="file"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-2);
  padding: 10px 0;
}
input[type="file"]::file-selector-button {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 8px 14px;
  margin-right: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
}

.chip-set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-set label {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}
.chip-set label:hover {
  border-color: rgba(167, 139, 250, 0.45);
  color: var(--ink);
}
.chip-set input[type="checkbox"], .chip-set input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  position: relative;
  margin: 0;
}
.chip-set input[type="radio"] { border-radius: 50%; }
.chip-set input[type="checkbox"]:checked, .chip-set input[type="radio"]:checked {
  border-color: var(--magenta);
  background: var(--magenta);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.5);
}
.chip-set input[type="checkbox"]:checked::after {
  content: '✓';
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chip-set input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}
.chip-set label:has(input:checked) {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(236, 72, 153, 0.12));
  border-color: rgba(167, 139, 250, 0.55);
  color: var(--ink);
  box-shadow: 0 0 18px rgba(167, 139, 250, 0.22);
}

.url-stack {
  display: grid;
  gap: 10px;
}

/* ---------- progressive disclosure (start.php intake) ----------
   Only engages once intake-progressive.js sets data-progressive on the
   form. Without JS the form renders fully open (no rules below apply). */

/* segmented progress bar + step counter */
.intake-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px 4px;
}
.intake-progress__bar {
  display: flex;
  gap: 6px;
  flex: 1;
}
.intake-progress__seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background .28s ease, box-shadow .28s ease;
}
.intake-progress__seg[data-fill="active"] {
  background: linear-gradient(90deg, var(--violet-2), var(--magenta));
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
}
.intake-progress__seg[data-fill="done"] {
  background: var(--violet-2);
}
.intake-progress__label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* collapsible body — grid 1fr<->0fr trick gives smooth height with no JS math.
   Slower than typical UI transitions on purpose: this is a calm, document-style
   reveal, not a wizard step transition. */
form[data-progressive] .step__body {
  display: grid;
  grid-template-rows: 1fr;
  min-height: 0;
  transition: grid-template-rows .55s cubic-bezier(.22,.61,.36,1);
}
form[data-progressive] .step__fields {
  overflow: hidden;
  min-height: 0;
}

/* locked: completely invisible until every required field in the prior
   section has content. `inert` on the element ensures it's also out of the
   tab order and unfocusable while hidden. */
form[data-progressive] .form-section[data-state="locked"] { display: none; }

/* Reveal animation (fade-up) when a step becomes active. Slow + small
   translate so it feels like a page settling, not a UI element snapping in. */
form[data-progressive] .form-section[data-step] {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
form[data-progressive] .form-section[data-step].is-entering {
  opacity: 0;
  transform: translateY(6px);
}

/* done: section stays fully expanded and editable. We only confirm
   completion with a quiet violet glow + a checkmark on the numbered chip.
   Optional fields remain visible and writable — the user can keep refining. */
form[data-progressive] .form-section[data-state="done"] {
  border-color: rgba(167, 139, 250, 0.38);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.18),
    0 8px 28px -12px rgba(167, 139, 250, 0.28);
  transition: border-color .55s ease, box-shadow .55s ease;
}
form[data-progressive] .form-section[data-state="done"] .form-section__num {
  background: var(--violet-2);
  border-color: var(--violet-2);
  color: var(--bg);
  font-size: 0; /* hide the number, show only the check */
  transition: background .55s ease, border-color .55s ease, color .55s ease;
}
form[data-progressive] .form-section[data-state="done"] .form-section__num::after {
  content: '✓';
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
}

/* Summary card / Edit button left in the DOM but hidden — we no longer
   collapse sections, so neither is needed visually. */
.step__summary,
.step__continue { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  form[data-progressive] .step__body,
  form[data-progressive] .form-section[data-step],
  .intake-progress__seg { transition-duration: 0ms; }
  form[data-progressive] .form-section[data-step].is-entering {
    opacity: 1;
    transform: none;
  }
  .step__summary { animation-duration: 0ms !important; }
}

/* sample picker */
.sample-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.sample-picker__item {
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .15s;
  text-transform: none;
  letter-spacing: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0;
}
.sample-picker__item:has(input:checked) {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.4), 0 0 24px rgba(167, 139, 250, 0.22);
}
.sample-picker__item input { position: absolute; opacity: 0; pointer-events: none; }
.sample-picker__item .thumb {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: rgba(167, 139, 250, 0.06);
  position: relative;
  filter: contrast(1.05) saturate(1.05);
  color: var(--muted);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}
.sample-picker__item .thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.32) 0%, rgba(236, 72, 153, 0.18) 60%, rgba(34, 211, 238, 0.12) 100%);
  mix-blend-mode: color;
}
.sample-picker__item--none .thumb {
  background-image: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(236, 72, 153, 0.08));
  color: var(--ink-2);
  font-family: var(--mono);
}
.sample-picker__item--none .thumb::before { display: none; }
.sample-picker__item .body {
  padding: 10px 12px 12px;
}
.sample-picker__item .name { color: var(--ink); font-weight: 600; font-size: 0.88rem; }
.sample-picker__item .cat { color: var(--muted); font-size: 0.74rem; font-family: var(--mono); margin-top: 2px; }

/* tier-pick (legacy) */
.tier-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tier-pick label {
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 0;
  margin: 0;
  display: block;
}
.tier-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tier-pick__inner {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: all .15s;
  color: var(--ink-2);
}
.tier-pick__inner strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.tier-pick__inner span { color: var(--muted); font-size: 0.86rem; }
.tier-pick label:has(input:checked) .tier-pick__inner {
  border-color: rgba(167, 139, 250, 0.6);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.12), rgba(236, 72, 153, 0.06));
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.35), 0 0 24px rgba(167, 139, 250, 0.18);
}

/* alerts (legacy) */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-2);
  font-size: 0.94rem;
}
.alert--info {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(167, 139, 250, 0.06));
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--ink);
}
.alert--warn {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(244, 114, 182, 0.06));
  border-color: rgba(251, 191, 36, 0.35);
  color: var(--ink);
}

/* summary / status (confirmed.php) */
.summary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 26px 18px;
}
.summary h3 { color: var(--ink); }
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.summary__row:last-child { border-bottom: 0; }
.summary__row > span:first-child { color: var(--muted); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; align-self: center; }
.summary__row > span:last-child { color: var(--ink); text-align: right; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  position: relative;
}
.status-pill::before {
  content: '';
  position: absolute;
  left: 9px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 30px;
  margin-top: 30px;
  position: relative;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}
.footer__brandcol { }
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.022em;
  margin-bottom: 14px;
}
.footer__logo img {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--grad-2);
  background-size: 200% 200%;
  animation: grad-shift 8s ease infinite;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 6px 18px -4px rgba(167, 139, 250, 0.6),
    0 0 18px rgba(236, 72, 153, 0.25);
  position: relative;
  object-fit: cover;
}
.footer__pitch {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer__contact a {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.84rem;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--violet-2);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  color: var(--ink-2);
  padding: 4px 0;
  font-size: 0.88rem;
}
.footer__col a:hover { color: var(--pink); }
.footer__bar {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__small {
  color: var(--muted-2);
  font-size: 0.78rem;
  font-family: var(--mono);
}
.footer__small a { color: var(--muted); }
.footer__legal {
  color: var(--muted-2);
  font-size: 0.78rem;
  font-family: var(--mono);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: var(--pink); }
.footer__legal span { color: var(--muted-2); }

/* ---------- gallery / card (samples.php) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) saturate(1.05);
  overflow: hidden;
}
.card__thumb-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.32) 0%, rgba(236, 72, 153, 0.18) 60%, rgba(34, 211, 238, 0.12) 100%),
    linear-gradient(180deg, transparent 55%, rgba(8, 8, 12, 0.85) 100%);
  mix-blend-mode: normal;
}
.card__thumb-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.32) 0%, rgba(236, 72, 153, 0.18) 60%, rgba(34, 211, 238, 0.12) 100%);
  mix-blend-mode: color;
}
.card__thumb-label {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.card__body {
  padding: 18px 20px 22px;
}
.card__cat {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 8px;
}
.card__title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.card__desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   RESPONSIVE GUARDS
   ============================================================ */
@media (max-width: 960px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 0.82rem; }
  .hero { padding: 60px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .row-2, .row-2--wide, .row-2--quote { grid-template-columns: 1fr; gap: 28px; }
  .tailor__pickers { grid-template-columns: 1fr; gap: 22px; }
  .tailor__result { grid-template-columns: 1fr; }
  .savings__row { grid-template-columns: 1fr; gap: 24px; }
  .form-row--two { grid-template-columns: 1fr; }
  .tier-pick { grid-template-columns: 1fr; }
  .feature-grid, .photo-grid, .timeline, .tier-grid, .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .trust-band__row { grid-template-columns: repeat(2, 1fr); }
  .trust-stat:nth-child(3), .trust-stat:nth-child(4) { border-top: 1px solid var(--line); }
  .trust-stat:nth-child(3) { border-left: 0; }
  /* 4-column compare-table: hide alternatives (cols 2 & 4), keep label + us */
  .compare-table { grid-template-columns: 1fr 1fr; font-size: 0.84rem; }
  .compare-table__cell:nth-child(4n+2),
  .compare-table__cell:nth-child(4n) { display: none; }
  /* 3-column variant (process.php): hide col 2 (Starter), keep label + Growth */
  .compare-table[style*="grid-template-columns: 1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }
  .compare-table[style*="grid-template-columns: 1fr 1fr 1fr"] .compare-table__cell:nth-child(4n+2),
  .compare-table[style*="grid-template-columns: 1fr 1fr 1fr"] .compare-table__cell:nth-child(4n) { display: revert; }
  .compare-table[style*="grid-template-columns: 1fr 1fr 1fr"] .compare-table__cell:nth-child(3n+2) { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 26px; gap: 22px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brandcol { grid-column: span 2; }
  table.compare { font-size: 0.82rem; }
  table.compare th, table.compare td { padding: 10px 10px; }
}

@media (max-width: 760px) {
  .nav__links a:not(.btn) { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .feature-grid, .timeline, .tier-grid, .photo-grid, .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .nav__inner { padding: 12px 18px; gap: 12px; }
  .brand { font-size: 0.95rem; }
  .brand__mark { width: 24px; height: 24px; border-radius: 6px; }
  .brand__mark::after { inset: 6px; }
  .nav__cta .btn--grad, .nav__cta .btn--accent { padding: 9px 14px; font-size: 0.82rem; }

  h1 { font-size: clamp(1.9rem, 9vw, 2.55rem); letter-spacing: -0.03em; line-height: 1.06; }
  h2 { font-size: clamp(1.5rem, 6.6vw, 2rem); }

  .hero { padding: 44px 0 56px; }
  .hero__grid { gap: 36px; }
  .hero__sub { font-size: 0.98rem; line-height: 1.55; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; padding: 14px 16px; font-size: 0.92rem; }
  .hero__visual { padding: 0 4px; }

  .marquee { padding: 14px 0; }
  .marquee__track { font-size: 0.78rem; gap: 32px; padding-right: 32px; }
  .marquee__track span { gap: 32px; }

  .trust-stat { padding: 18px 14px; }
  .trust-stat__num { font-size: 1.4rem; }
  .trust-stat__lbl { font-size: 0.62rem; }

  .section { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
  .section__head { margin-bottom: 36px; }
  .section__head .lead { font-size: 0.96rem; }

  .tier { padding: 26px 22px 24px; }
  .tier__price .num { font-size: 2.2rem; }

  .form-section { padding: 22px 18px; }
  .form-section__head { gap: 12px; grid-template-columns: 36px 1fr; }

  .intake-progress { padding: 14px 18px 2px; gap: 10px; }
  form[data-progressive] .step__continue { display: none; }
  form[data-progressive] .form-section[data-state="active"][data-complete="true"] .step__continue {
    display: flex; width: 100%; justify-content: center;
  }
  .step__summary { flex-direction: column; align-items: stretch; gap: 10px; }
  .step__edit { width: 100%; }

  .compare-table__cell { padding: 11px 12px; font-size: 0.78rem; }

  .cta-band { padding: 32px 22px; gap: 22px; }
  .cta-band h2 { font-size: 1.55rem; }
  .cta-band .btn { width: 100%; justify-content: center; }

  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .footer__brandcol { grid-column: span 1; }
  .footer__bar { flex-direction: column; gap: 10px; align-items: flex-start; }

  .savings { padding: 22px 18px; }
  .savings__panel { padding: 22px 18px; }
  .tailor { padding: 22px 18px; }
}

@media (max-width: 400px) {
  h1 { font-size: 1.8rem; }
  .nav__cta .btn--grad, .nav__cta .btn--accent { padding: 8px 12px; font-size: 0.78rem; }
  .nav__inner { gap: 8px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  body { background: #fff; color: #000; }
  .nav, .footer, .marquee, .cta-band { display: none; }
}

/* ============================================================
   LEGACY OVERRIDES (kill leftover style.css quirks if loaded)
   ============================================================ */
.script, .ornament { display: none !important; }
