/* =========================================================
   ClipUp — design system
   Inspired visually by clipping.net (off-white canvas,
   bold typography, card grids, large footer wordmark).
   ========================================================= */

/* --- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* --- Tokens -------------------------------------------------------- */
:root {
  --bg:        #f5f4ef;
  --bg-alt:    #efeee8;
  --surface:   #ffffff;
  --ink:       #0e0e0c;
  --ink-soft:  #2a2a26;
  --muted:     #6a6a64;
  --line:      #e3e1d8;
  --green:     #1f9d55;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:        #0d0d0c;
  --bg-alt:    #16161412;
  --surface:   #1a1a17;
  --ink:       #ece9e0;
  --ink-soft:  #c5c2b8;
  --muted:     #8a8a82;
  --line:      #2a2a26;

  color-scheme: dark;
}

:root {

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Inter', sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 0 rgba(14,14,12,0.04), 0 0 0 1px var(--line);
  --shadow-soft: 0 12px 30px -16px rgba(14,14,12,0.18);
}

/* --- Base ---------------------------------------------------------- */
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--bg); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 1rem; }

p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }

/* --- Layout helpers ----------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section   { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--alt   { background: var(--bg-alt); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.center { text-align: center; }
.muted  { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow-dot::before { content: none; display: none; }

/* --- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 500; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary    { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: #1c1c19; }
.btn--ghost      { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover{ background: var(--surface); }
.btn--white      { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--small      { padding: 9px 16px; font-size: 0.85rem; }
.btn--large      { padding: 14px 28px; font-size: 1rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Header / Nav -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,244,239,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; letter-spacing: -0.025em; font-size: 1.4rem;
}
.brand .logo { width: 52px; height: 52px; color: var(--ink); }
.brand-tag {
  font-size: 0.65rem; padding: 3px 7px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-left: 4px; font-weight: 500;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.92rem; color: var(--ink-soft); padding: 6px 0; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links .has-menu::after {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); margin-left: 6px; opacity: 0.6;
}
.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px;
  width: 280px; box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
}
.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 9px 12px; border-radius: 10px;
  font-size: 0.9rem; color: var(--ink); line-height: 1.3;
}
.dropdown a small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.dropdown a:hover { background: var(--bg-alt); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 10px;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 16px; height: 1.6px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top:  5px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn--ghost { display: none; }
}
.mobile-menu { display: none; padding: 16px var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }

/* --- Hero ---------------------------------------------------------- */
.hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero .container { position: relative; z-index: 2; }

/* Atmospheric background: soft drifting gradient orbs + dot grid mask */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.hero-orb--1 {
  top: -18%; left: -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(91,138,255,0.45), transparent 65%);
  animation: hero-orb-1 22s ease-in-out infinite;
}
.hero-orb--2 {
  top: 20%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(217,119,6,0.18), transparent 65%);
  animation: hero-orb-2 28s ease-in-out infinite;
}
.hero-orb--3 {
  bottom: -30%; left: 25%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(91,138,255,0.32), transparent 65%);
  animation: hero-orb-3 30s ease-in-out infinite;
}
@keyframes hero-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 80px) scale(1.08); }
}
@keyframes hero-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-70px, 50px) scale(0.95); }
}
@keyframes hero-orb-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -60px) scale(1.05); }
}

/* Subtle dot grid pattern faded toward the edges */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(14,14,12,0.07) 1px, transparent 0);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at center 35%, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 75% 60% at center 35%, black 30%, transparent 80%);
  opacity: 0.65;
  pointer-events: none;
}

/* Animated growth sparkline at the bottom of the hero */
.hero-sparkline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  opacity: 0.85;
}
.hero-sparkline-line {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: hero-spark-draw 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
  filter: drop-shadow(0 0 10px rgba(91,138,255,0.45));
}
.hero-sparkline-fill {
  opacity: 0;
  animation: hero-spark-fade 1.6s ease-out 2.6s forwards;
}
.hero-sparkline-pulse {
  filter: drop-shadow(0 0 8px rgba(91,138,255,0.95));
  opacity: 0;
  animation: hero-spark-fade 600ms ease-out 2.4s forwards;
}
@keyframes hero-spark-draw { to { stroke-dashoffset: 0; } }
@keyframes hero-spark-fade { to { opacity: 1; } }

/* Floating live stat badges */
.hero-stats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-stat {
  position: absolute;
  top: 100%;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: -0.005em;
  color: #4f7cff;
  background: rgba(255,251,235,0.7);
  border: 1px solid rgba(91,138,255,0.28);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow:
    0 6px 18px -8px rgba(91,138,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.5);
  opacity: 0;
  transform: translate(-50%, 0) scale(0.95);
  will-change: transform, opacity;
}
.hero-stat::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: #5b8aff;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(91,138,255,0.7);
}

/* Each badge gets its own column (--x), delay (--d), and duration (--dur) */
.hero-stat--1 { left: 12%; animation: hero-stat-rise 16s ease-in-out  0s   infinite; }
.hero-stat--2 { left: 78%; animation: hero-stat-rise 18s ease-in-out  3.5s infinite; }
.hero-stat--3 { left: 38%; animation: hero-stat-rise 17s ease-in-out  6.5s infinite; }
.hero-stat--4 { left: 86%; animation: hero-stat-rise 19s ease-in-out  9.5s infinite; }
.hero-stat--5 { left: 22%; animation: hero-stat-rise 16s ease-in-out  12s  infinite; }

@keyframes hero-stat-rise {
  0%   { transform: translate(-50%, 0)     scale(0.9); opacity: 0; }
  6%   { transform: translate(-50%, -60px) scale(1);   opacity: 1; }
  88%  { transform: translate(-50%, -780px) scale(1);  opacity: 0.9; }
  100% { transform: translate(-50%, -860px) scale(0.95); opacity: 0; }
}

/* Mouse-follow soft spotlight (desktop only) */
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 480px at var(--mx, 50%) var(--my, 30%),
    rgba(91,138,255,0.10),
    transparent 55%);
  transition: background 220ms ease-out;
  mix-blend-mode: plus-lighter;
}
@media (pointer: coarse) {
  .hero-spotlight { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sparkline-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .hero-sparkline-fill, .hero-sparkline-pulse { opacity: 1 !important; animation: none !important; }
  .hero-sparkline-pulse animateMotion { display: none; }
  .hero-stat { animation: none !important; opacity: 0 !important; }
  .hero-spotlight { display: none !important; }
}

/* Hide the heaviest decorations on small phones to keep things calm */
@media (max-width: 640px) {
  .hero-sparkline { height: 140px; opacity: 0.7; }
  .hero-stat { font-size: 0.72rem; padding: 6px 11px; }
  .hero-stat--2, .hero-stat--4 { display: none; }
}

/* Highlighted word in the headline (e.g. "Views") */
.hero h1 .hero-highlight {
  background: linear-gradient(120deg, #4f7cff 0%, #82a6ff 35%, #4f7cff 70%, #82a6ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hero-shimmer 6s ease-in-out infinite;
  display: inline-block;
}
@keyframes hero-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none !important; }
  .hero h1 .hero-highlight {
    animation: none !important;
    background: linear-gradient(120deg, #4f7cff, #82a6ff);
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
}

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 64px); align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 22px; }
.hero p.lead { margin-top: 22px; max-width: 52ch; }
.hero .btn-row { margin-top: 28px; }

.hero-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.hero-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.hero-card-head h4 { font-size: 0.95rem; }
.hero-card-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.hero-card-row:last-child { border-bottom: 0; }
.hero-card-row .swatch {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, #1f9d55, #0d6b3a); flex: none;
}
.hero-card-row .swatch.alt  { background: linear-gradient(135deg, #ff5b6f, #b3253d); }
.hero-card-row .swatch.alt2 { background: linear-gradient(135deg, #5b8aff, #2548b3); }
.hero-card-row .swatch.alt3 { background: linear-gradient(135deg, #f0b400, #b78400); }
.hero-card-row .grow { flex: 1; }
.hero-card-row .grow strong { display: block; font-weight: 600; font-size: 0.95rem; }
.hero-card-row .grow span   { color: var(--muted); font-size: 0.82rem; }
.hero-card-row .num         { font-weight: 600; font-size: 0.95rem; }
.hero-card-row .num small   { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }

/* --- Logo marquee -------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg); padding: 28px 0; overflow: hidden;
}
.marquee-label {
  text-align: center; color: var(--muted); font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px;
}
.marquee-track {
  display: flex; gap: 56px; align-items: center;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-weight: 700; font-size: 1.4rem;
  color: var(--ink); letter-spacing: -0.01em; opacity: 0.78;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Cards / Features --------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: #d1cfc1; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-alt);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--ink);
  flex: none;
}
.card-icon svg { width: 22px; height: 22px; display: block; }
.card:hover .card-icon { background: var(--ink); color: var(--bg); }
.card h3 { margin-bottom: 8px; }
.card p  { font-size: 0.95rem; color: var(--ink-soft); }

/* --- Stat grid ----------------------------------------------------- */
.stats {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stats-cell { text-align: center; padding: 8px 4px; }
.stats-cell .num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1;
}
.stats-cell .label { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2,1fr); } }

/* --- Step list ----------------------------------------------------- */
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: start;
}
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.step h3 { margin-bottom: 6px; }
.step p  { font-size: 0.95rem; }

/* --- Comparison table --------------------------------------------- */
.compare {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: 18px 20px; font-size: 0.92rem; color: var(--ink-soft); }
.compare-row.head > div {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-alt);
}
.compare-row .ours { background: rgba(14,14,12,0.04); color: var(--ink); font-weight: 500; }
@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div { padding: 10px 16px; }
  .compare-row.head { display: none; }
  .compare-row > div::before {
    content: attr(data-label); display: block; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
    margin-bottom: 4px;
  }
}

/* --- FAQ ----------------------------------------------------------- */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 22px;
  margin-bottom: 12px;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--ink); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 0; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 0 20px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* --- Pricing tiers ------------------------------------------------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.tier.featured { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tier.featured p, .tier.featured .tier-price small, .tier.featured li { color: rgba(245,244,239,0.78); }
.tier.featured h3 { color: var(--bg); }
.tier-price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.tier-price small { font-size: 0.9rem; font-weight: 400; color: var(--muted); margin-left: 4px; }
.tier ul li {
  padding: 10px 0; border-top: 1px solid var(--line);
  font-size: 0.92rem; display: flex; gap: 10px; align-items: flex-start;
}
.tier.featured ul li { border-color: rgba(245,244,239,0.14); }
.tier ul li::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-alt); margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.4 6.6 11 12 5.6' stroke='%230e0e0c' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.tier.featured ul li::before {
  background-color: rgba(245,244,239,0.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.4 6.6 11 12 5.6' stroke='%23f5f4ef' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* --- Case study tiles --------------------------------------------- */
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .case-grid { grid-template-columns: 1fr; } }
.case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease;
}
.case:hover { transform: translateY(-2px); }
.case-cover {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1a17 0%, #2c2c25 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,244,239,0.92);
  font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em;
  text-align: center; padding: 20px;
}
.case-cover::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.07), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.05), transparent 50%);
}
.case-cover.var-2 { background: linear-gradient(135deg, #2d1a0c 0%, #5b3414 100%); }
.case-cover.var-3 { background: linear-gradient(135deg, #0c2616 0%, #134d2c 100%); }
.case-cover.var-4 { background: linear-gradient(135deg, #1d0c2d 0%, #3d1c5b 100%); }
.case-cover.var-5 { background: linear-gradient(135deg, #2d0c1c 0%, #5b1c34 100%); }
.case-cover.var-6 { background: linear-gradient(135deg, #0c1c2d 0%, #1c345b 100%); }
.case-cover.var-7 { background: linear-gradient(135deg, #2d2d0c 0%, #5b5814 100%); }
.case-cover.var-8 { background: linear-gradient(135deg, #0c2d28 0%, #144d44 100%); }
.case-cover.var-9 { background: linear-gradient(135deg, #2d0c2d 0%, #501450 100%); }
.case-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-body .tag {
  align-self: flex-start; font-size: 0.7rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.case-body h3 { font-size: 1.15rem; }
.case-body .views { font-weight: 600; color: var(--ink); margin-top: auto; padding-top: 16px; }

/* --- Blog cards ---------------------------------------------------- */
.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease;
}
.post:hover { transform: translateY(-2px); }
.post-cover {
  aspect-ratio: 16/9;
  background:
    radial-gradient(circle at 30% 30%, #2a2a26 0%, transparent 60%),
    linear-gradient(135deg, #14140f, #2a2a26);
}
.post-cover.alt  { background: linear-gradient(135deg, #4a3617, #2a1a0e); }
.post-cover.alt2 { background: linear-gradient(135deg, #1a2a3a, #0a1626); }
.post-cover.alt3 { background: linear-gradient(135deg, #2a1a3a, #1a0a26); }
.post-cover.alt4 { background: linear-gradient(135deg, #3a1a2a, #260a16); }
.post-cover.alt5 { background: linear-gradient(135deg, #1a3a2a, #0a261a); }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body .tag {
  align-self: flex-start; font-size: 0.7rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.post-body h3 { font-size: 1.1rem; }
.post-body .meta { color: var(--muted); font-size: 0.82rem; margin-top: auto; padding-top: 14px; }

/* --- Form ---------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.field { display: block; margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.82rem; font-weight: 500;
  color: var(--ink-soft); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }

/* --- Callout ------------------------------------------------------- */
.callout {
  background: #0e0e0c; color: #f5f4ef;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
  position: relative; overflow: hidden;
}
.callout h2 { color: #f5f4ef; }
.callout p  { color: rgba(245,244,239,0.7); margin-top: 16px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.callout .btn-row { justify-content: center; margin-top: 28px; }
.callout .btn--primary { background: #f5f4ef; color: #0e0e0c; }
.callout .btn--primary:hover { background: #fff; }
.callout .btn--ghost { color: #f5f4ef; border-color: rgba(245,244,239,0.25); }
.callout .btn--ghost:hover { background: rgba(245,244,239,0.08); }

/* --- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: 80px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px;
  padding-bottom: 60px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: span 2; }
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 36ch; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition:
    background 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    color 220ms var(--ease-out),
    transform 240ms var(--ease-spring);
}
.footer-social a:hover {
  background: rgba(91,138,255,0.1);
  border-color: rgba(91,138,255,0.45);
  color: var(--accent);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a[aria-label*="Content Rewards"] svg { width: 22px; height: 22px; }
.footer-col h4 {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; font-weight: 500;
}
.footer-col li { padding: 5px 0; }
.footer-col a { font-size: 0.9rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-bar {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.footer-mark {
  font-family: var(--font-display);
  font-weight: 800; letter-spacing: -0.04em;
  text-align: center;
  font-size: clamp(48px, 17vw, 240px);
  line-height: 0.95;
  color: var(--ink);
  margin: 30px 0 0;
  padding: 0 12px 24px;
  user-select: none; white-space: nowrap; overflow: hidden;
}
@media (max-width: 560px) {
  .footer-mark { padding-bottom: 32px; }
}

/* --- Page header (sub-pages) -------------------------------------- */
.page-head { text-align: center; padding: clamp(60px, 8vw, 110px) 0 clamp(24px, 4vw, 50px); }
.page-head h1 { max-width: 18ch; margin: 18px auto 0; }
.page-head .lead { margin: 22px auto 0; }

/* --- Misc ---------------------------------------------------------- */
.tagline-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.kpi-band {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; padding: 36px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.kpi-band .stats-cell { text-align: left; padding: 0; }
@media (max-width: 720px) { .kpi-band { grid-template-columns: repeat(2,1fr); } }

.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =========================================================
   v1.5 — Polish layer
   Better easing, button interactions, card hover states,
   scroll reveal, counter animation, FAQ smoothness,
   focus-visible, marquee edge fade, footer mark glow.
   ========================================================= */

:root {
  /* refined easing curves */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:     cubic-bezier(0.55, 0.06, 0.68, 0.19);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --accent:      #5b8aff;   /* soft blue for hover/active emphasis */
  --accent-soft: #e6edff;
}

/* --- Universal focus-visible (replace browser default) ------------ */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
  transition: outline-offset 120ms var(--ease-out);
}
.btn:focus-visible { outline-offset: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--ink) !important;
  box-shadow: 0 0 0 3px rgba(14,14,12,0.12);
}

/* --- Buttons: refined micro-interactions -------------------------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 180ms var(--ease-spring),
    background 220ms var(--ease-out),
    color 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 360ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(14,14,12,0.28); }
.btn:active { transform: translateY(0); transition-duration: 90ms; }

/* primary: darken slightly + emphasis on hover */
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary::before { background: var(--accent); }
.btn--primary:hover { color: #fff; }
.btn--primary:hover::before { transform: translateY(0); }

/* ghost: fill black on hover */
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--ghost:hover::before { transform: translateY(0); }

/* white: subtle hover */
.btn--white::before { background: var(--bg-alt); }
.btn--white:hover::before { transform: translateY(0); }

/* small touch target (a11y bump) */
.btn--small { padding: 11px 18px; font-size: 0.85rem; min-height: 44px; }

/* arrow slide forward on hover (for any btn whose label ends with →) */
.btn { letter-spacing: 0.005em; }

/* link (text) underline reveal */
a:not(.btn):not(.brand):not(.dropdown a):not(.nav-links a):not(.footer-col a):not(.footer-social a):not(.mobile-menu a) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 320ms var(--ease-out);
}
a:not(.btn):not(.brand):not(.dropdown a):not(.nav-links a):not(.footer-col a):not(.footer-social a):not(.mobile-menu a):hover {
  background-size: 100% 1.5px;
}

/* nav links — refined underline indicator */
.nav-links a {
  transition: color 200ms var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 280ms var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

/* footer column links — subtle lift */
.footer-col a {
  display: inline-block;
  transition: transform 200ms var(--ease-out), color 200ms var(--ease-out);
}
.footer-col a:hover { transform: translateX(3px); color: var(--ink); }
.footer-social a {
  transition: color 200ms var(--ease-out);
}

/* --- Cards: layered hover with accent line ------------------------ */
.card {
  position: relative;
  overflow: hidden;
  transition:
    transform 280ms var(--ease-out),
    border-color 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out);
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 380ms var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -22px rgba(14,14,12,0.22);
}
.card:hover::before { transform: scaleX(1); }

/* card-icon refined */
.card-icon {
  transition: background 220ms var(--ease-out), color 220ms var(--ease-out), transform 280ms var(--ease-spring);
}
.card:hover .card-icon { background: var(--ink); color: var(--bg); transform: rotate(-6deg) scale(1.05); }

/* --- Hero card: live feel ----------------------------------------- */
.hero-card {
  transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -22px rgba(14,14,12,0.22); }

.hero-card-row {
  transition: background 200ms var(--ease-out);
  margin: 0 -8px;
  padding-left: 8px; padding-right: 8px;
  border-radius: 8px;
}
.hero-card-row:hover { background: var(--bg-alt); }
.hero-card-row .swatch {
  transition: transform 360ms var(--ease-spring);
}
.hero-card-row:hover .swatch { transform: rotate(-6deg) scale(1.08); }

/* (live dot pulse removed) */
.eyebrow-dot::after { content: none; display: none; }

/* --- Stats band & stats grid: counter ready ----------------------- */
.stats-cell .num,
.kpi-band .stats-cell .num {
  font-variant-numeric: tabular-nums;
  transition: color 220ms var(--ease-out);
}

/* --- Marquee: edge fade + pause on hover -------------------------- */
.marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  transition: opacity 220ms var(--ease-out), transform 280ms var(--ease-out);
}
.marquee-track span:hover { opacity: 1; transform: translateY(-2px); color: var(--ink); }

/* --- Compare table: row hover ------------------------------------ */
.compare-row { transition: background 200ms var(--ease-out); }
.compare-row:not(.head):hover { background: rgba(14,14,12,0.03); }
.compare-row:not(.head):hover .ours { background: rgba(14,14,12,0.08); }

/* --- Pricing tier: refined hover --------------------------------- */
.tier {
  transition:
    transform 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out),
    border-color 320ms var(--ease-out);
}
.tier:not(.featured):hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow: 0 24px 50px -24px rgba(14,14,12,0.22);
}
.tier.featured { transform: scale(1.02); }
.tier.featured:hover { transform: scale(1.02) translateY(-6px); box-shadow: 0 30px 60px -24px rgba(14,14,12,0.4); }

/* --- Case grid tiles: cover gradient sweep ------------------------ */
.case { transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.case:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(14,14,12,0.22);
}
.case-cover {
  position: relative; overflow: hidden;
  transition: transform 480ms var(--ease-out);
}
.case-cover::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 700ms var(--ease-out);
}
.case:hover .case-cover { transform: scale(1.02); }
.case:hover .case-cover::before { transform: translateX(110%); }

/* --- Blog post hover --------------------------------------------- */
.post { transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out); }
.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(14,14,12,0.22);
}
.post-cover { transition: transform 600ms var(--ease-out); }
.post:hover .post-cover { transform: scale(1.04); }

/* --- FAQ: smoother accordion ------------------------------------- */
.faq-item summary {
  transition: padding 220ms var(--ease-out);
}
.faq-item summary::after {
  display: inline-block;
  transition: transform 280ms var(--ease-spring);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .answer {
  animation: faq-in 360ms var(--ease-out);
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Form fields: refined focus --------------------------------- */
.field input, .field select, .field textarea {
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.field input:hover, .field select:hover, .field textarea:hover {
  border-color: #c8c5b6;
}

/* --- Header scroll state ----------------------------------------- */
.site-header {
  transition: border-color 280ms var(--ease-out), background 280ms var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(245,244,239,0.92);
  box-shadow: 0 1px 0 rgba(14,14,12,0.04);
}

/* --- Brand logo subtle rotate on hover --------------------------- */
.brand .logo {
  transition: transform 480ms var(--ease-spring);
}
.brand:hover .logo { transform: rotate(-12deg); }

/* --- Eyebrow chips (pill labels in tagline-row) ------------------ */
.tagline-row .eyebrow {
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 220ms var(--ease-out);
}
.tagline-row .eyebrow:hover {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
  transform: translateY(-1px);
}

/* --- Section dividers: hairline rule above section--alt --------- */
.section--alt {
  position: relative;
}

/* --- Footer wordmark: subtle interaction ------------------------ */
.footer-mark {
  transition: letter-spacing 600ms var(--ease-out), opacity 400ms var(--ease-out);
  cursor: default;
}
.site-footer:hover .footer-mark {
  letter-spacing: -0.035em;
}

/* =========================================================
   Scroll-reveal — JS toggles .is-visible on .reveal items
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }
.reveal[data-delay="5"] { transition-delay: 300ms; }
.reveal[data-delay="6"] { transition-delay: 360ms; }

/* =========================================================
   Hero load-in (entrance animation, runs once)
   ========================================================= */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 { animation: rise-in 800ms var(--ease-out) both; }
.hero p.lead { animation: rise-in 800ms var(--ease-out) 100ms both; }
.hero .btn-row { animation: rise-in 800ms var(--ease-out) 200ms both; }
.hero .tagline-row { animation: rise-in 800ms var(--ease-out) 300ms both; }
/* Hero phone entrance (opacity only — float owns the transform) */
.hero-stack .phone--solo {
  opacity: 0;
  animation:
    phone-solo-float 7s ease-in-out infinite,
    phone-fade-in 700ms var(--ease-out) 200ms forwards;
}
@keyframes phone-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.eyebrow {
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

/* =========================================================
   Live analytics dashboard preview placeholder
   ========================================================= */
.dashboard-preview {
  position: relative;
  aspect-ratio: 16/10;
  width: 100%;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, #f1f0ea 0%, #e9e7dc 100%);
  border: 2px dashed #c8c5b6;
  overflow: hidden;
  transition: border-color 280ms var(--ease-out), transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.dashboard-preview.has-image {
  aspect-ratio: auto;
  border: 1px solid var(--line);
  background: var(--ink);
  box-shadow: 0 18px 40px -22px rgba(14,14,12,0.32);
}
.dashboard-preview.has-image::before,
.dashboard-preview.has-image::after { content: none; }
.dashboard-preview img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.dashboard-preview.has-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -22px rgba(14,14,12,0.42);
  border-color: var(--ink);
}

/* =========================================================
   Campaign Calculator
   ========================================================= */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 18px 40px -28px rgba(14,14,12,0.18);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
@media (max-width: 880px) {
  .calc-grid { grid-template-columns: 1fr; gap: 32px; }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.calc-inputs .field { margin-bottom: 0; }

/* Inputs head: small intro block */
.calc-inputs-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.calc-tag {
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
}
.calc-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.calc-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 36ch;
}

/* Quick-pick RPM chips */
.calc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.calc-chip {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 200ms var(--ease-out),
    color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    transform 200ms var(--ease-spring);
}
.calc-chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-1px); }
.calc-chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Footer dot — quietly fills the bottom of the left column */
.calc-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.calc-foot-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5b8aff;
  box-shadow: 0 0 0 0 rgba(91,138,255,0.6);
  animation: calc-foot-pulse 2.4s ease-in-out infinite;
}
@keyframes calc-foot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,138,255,0.55); }
  60%      { box-shadow: 0 0 0 7px rgba(91,138,255,0); }
}
.calc-help {
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.calc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.calc-input-wrap:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14,14,12,0.08);
}
.calc-input-wrap::before {
  content: attr(data-prefix);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  padding-left: 16px;
  flex: none;
}
.calc-input-wrap::after {
  content: attr(data-suffix);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  padding-right: 16px;
  flex: none;
}
.calc-input-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  width: 100%;
  min-width: 0;
}
.calc-input-wrap input::-webkit-outer-spin-button,
.calc-input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input-wrap input[type=number] { -moz-appearance: textfield; }

/* OUTPUT panel */
.calc-outputs {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(91,138,255,0.16), transparent 55%),
    radial-gradient(120% 120% at 0% 100%, rgba(91,138,255,0.08), transparent 55%),
    #0e0e0c;
  color: #f5f4ef;
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
/* Subtle moving glow behind the lead stat */
.calc-outputs::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(91,138,255,0.18), transparent);
  filter: blur(20px);
  pointer-events: none;
  animation: calc-glow 8s ease-in-out infinite alternate;
}
@keyframes calc-glow {
  0%   { transform: translate(0, 0) scale(1);   opacity: 0.7; }
  100% { transform: translate(-8%, 6%) scale(1.06); opacity: 1; }
}
.calc-outputs > * { position: relative; z-index: 1; }
.calc-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,251,235,0.6);
  border-top: 1px solid rgba(255,251,235,0.18);
  border-bottom: 1px solid rgba(255,251,235,0.18);
  padding: 8px 0;
  align-self: flex-start;
}
.calc-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calc-stat {
  background: rgba(255,251,235,0.04);
  border: 1px solid rgba(255,251,235,0.1);
  border-radius: 12px;
  padding: 16px 18px;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.calc-stat:hover {
  background: rgba(255,251,235,0.08);
  border-color: rgba(255,251,235,0.22);
}
.calc-stat--lead {
  padding: 22px 22px;
  background: rgba(255,251,235,0.05);
  border-color: rgba(255,251,235,0.14);
}
.calc-stat--cpm {
  padding: 16px 22px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  background: rgba(91,138,255,0.08);
  border-color: rgba(91,138,255,0.22);
}
.calc-stat--cpm .calc-stat-num { font-size: 1.5rem; color: #b1c4ff; }
.calc-stat--cpm .calc-stat-label { margin-top: 0; }
.calc-stat-num {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  color: #f5f4ef;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  transition: color 220ms var(--ease-out), transform 320ms var(--ease-spring);
}
.calc-stat-num.is-pulsing { transform: scale(1.04); }
.calc-stat--lead .calc-stat-num {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  letter-spacing: -0.025em;
  color: #5b8aff;
  text-shadow: 0 0 24px rgba(91,138,255,0.18);
}
.calc-stat-label {
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,251,235,0.65);
}
.calc-fineprint {
  margin-top: auto;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,251,235,0.6);
  padding-top: 14px;
  border-top: 1px solid rgba(255,251,235,0.12);
}

/* tiny pulse when a number updates */
.calc-stat-num.is-pulsing { color: #5b8aff; }

/* Dashboard collage — 2x2 asymmetric grid on the right of a section.
   Layout:
     ┌─────────────┬─────────┐
     │ Performance │  Subs   │
     ├─────────────┤ (square │
     │ Financials  │ spans)  │
     └─────────────┴─────────┘ */
/* 2-column asymmetric collage: tiles A+B stacked on the left, tile C
   on the right, sized so the left stack and the right tile are
   roughly the same height (calculated from the panel aspect ratios). */
.dashboard-collage,
.dashboard-row {
  display: grid;
  grid-template-columns: 1.11fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: start;
}
.dashboard-tile--a { grid-column: 1; grid-row: 1; }
.dashboard-tile--b { grid-column: 1; grid-row: 2; }
.dashboard-tile--c { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; }

.dashboard-tile {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  overflow: hidden;
  box-shadow: 0 14px 30px -22px rgba(14,14,12,0.3);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 320ms var(--ease-out);
  cursor: zoom-in;
}
.dashboard-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -22px rgba(14,14,12,0.42);
  border-color: var(--ink);
  z-index: 2;
}
.dashboard-tile:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.dashboard-tile img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 760px) {
  .dashboard-row { grid-template-columns: 1fr; gap: 14px; }
  .dashboard-tile--a, .dashboard-tile--b, .dashboard-tile--c {
    grid-column: 1; grid-row: auto;
  }
}

/* =========================================================
   Lightbox — click any dashboard tile to enlarge
   ========================================================= */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(14,14,12,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: clamp(16px, 4vw, 48px);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img {
  max-width: min(95vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.96);
  transition: transform 360ms var(--ease-spring);
  cursor: default;
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.95);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 500;
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-spring);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox img, .lightbox-close { transition: none !important; }
}
.dashboard-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -22px rgba(14,14,12,0.42);
  border-color: var(--ink);
  z-index: 2;
}

.dashboard-tile--perf  { grid-column: 1; grid-row: 1; }
.dashboard-tile--fin   { grid-column: 1; grid-row: 2; }
.dashboard-tile--subs  { grid-column: 2; grid-row: 1 / span 2; }

/* On mobile, stack everything */
@media (max-width: 700px) {
  .dashboard-collage {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }
  .dashboard-tile--perf,
  .dashboard-tile--fin,
  .dashboard-tile--subs { grid-column: 1; grid-row: auto; }
  .dashboard-tile img { object-fit: contain; height: auto; }
}
.dashboard-preview::before {
  content: "";
  position: absolute; inset: 14px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg,
      transparent 0 36px,
      rgba(14,14,12,0.04) 36px 37px),
    repeating-linear-gradient(90deg,
      transparent 0 64px,
      rgba(14,14,12,0.04) 64px 65px),
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2));
  pointer-events: none;
}
.dashboard-preview::after {
  /* fake chart line silhouette */
  content: "";
  position: absolute; left: 14%; right: 14%; bottom: 24%;
  height: 28%;
  background:
    linear-gradient(180deg, transparent, rgba(91,138,255,0.18) 80%, rgba(91,138,255,0.06)),
    radial-gradient(80% 100% at 30% 100%, rgba(14,14,12,0.04), transparent 70%);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'><path d='M0 32 L10 28 L22 30 L34 22 L46 24 L58 14 L70 18 L82 8 L100 12 L100 40 L0 40 Z' fill='black'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'><path d='M0 32 L10 28 L22 30 L34 22 L46 24 L58 14 L70 18 L82 8 L100 12 L100 40 L0 40 Z' fill='black'/></svg>");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.dashboard-preview:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(14,14,12,0.22); }
.dashboard-preview-inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
  z-index: 2;
}
.dashboard-preview-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px -10px rgba(14,14,12,0.2);
}
.dashboard-preview-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   Hero phone — single device with auto-scrolling clip feed
   ========================================================= */
.hero-stack {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1400px;
}

.phone--solo {
  position: relative;
  width: clamp(240px, 70%, 320px);
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  background: #0e0e0c;
  padding: 10px;
  border: 3px solid #1a1a17;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 40px 80px -28px rgba(14,14,12,0.55),
    0 18px 32px -12px rgba(14,14,12,0.35);
  transform: rotate(-2deg);
  animation: phone-solo-float 7s ease-in-out infinite;
  transition: transform 480ms var(--ease-spring);
}

@keyframes phone-solo-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-10px); }
}

/* notch / Dynamic Island */
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  max-width: 96px;
  height: 22px;
  border-radius: 999px;
  background: #050505;
  z-index: 4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.7) inset;
}

/* the screen — viewport for the scrolling feed */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #050505;
}

/* the feed — vertical strip of clips, translated by JS */
.phone-feed {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transform: translateY(calc(var(--idx, 0) * -100%));
  transition: transform 700ms var(--ease-spring);
  will-change: transform;
}

.phone-feed.is-instant { transition: none; }

/* each clip fills the screen */
.phone-clip {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}

/* full-bleed image/video support — contain so 9:16 source is fully visible */
.phone-clip > img,
.phone-clip > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  z-index: 0;
}

/* placeholder gradient variants */
.phone-clip--1 { background: linear-gradient(160deg, #2D1A0C, #5B3414); }
.phone-clip--2 { background: linear-gradient(160deg, #0c2616, #154d2c); }
.phone-clip--3 { background: linear-gradient(160deg, #1d0c2d, #3D1C5B); }
.phone-clip--4 { background: linear-gradient(160deg, #0c1c2d, #1c345B); }

/* soft glow overlay */
.phone-clip::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.12), transparent 55%),
    radial-gradient(circle at 80% 82%, rgba(91,138,255,0.18), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* TikTok-style action stack — likes, comments, views */
.phone-stats {
  position: absolute;
  right: 10px;
  bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
  pointer-events: none;
}
.phone-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.phone-stat svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45));
}
.phone-stat:nth-child(1) svg { color: #ff3b5c; }
.phone-stat:nth-child(2) svg { color: #fff; }
.phone-stat:nth-child(3) svg { color: #fff; }

.phone-meta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #5b8aff 0%, #3f6cd6 100%);
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 6px 18px rgba(91,138,255,0.42),
    0 2px 6px rgba(14,14,12,0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.22);
}
.phone-meta::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.85);
  animation: phone-meta-dot 1.6s ease-in-out infinite;
}
@keyframes phone-meta-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-meta::before { animation: none; }
}

/* progress dots below the phone */
.phone-progress {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.phone-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(14,14,12,0.18);
  transition: background 300ms var(--ease-out), width 300ms var(--ease-spring);
}
.phone-dot.is-active {
  background: var(--accent);
  width: 18px;
}

/* hover lift */
.phone--solo:hover {
  transform: rotate(-2deg) translateY(-4px) scale(1.02);
  animation-play-state: paused;
}

/* Tablet */
@media (max-width: 980px) {
  .hero-stack { padding: 12px 0 36px; }
  .phone--solo { width: clamp(220px, 60%, 280px); }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-stack { margin-top: 12px; padding: 8px 0 28px; }
  .phone--solo {
    width: clamp(200px, 64%, 240px);
    border-radius: 32px;
  }
  .hero-stack .phone--solo {
    animation:
      phone-solo-float-mobile 7s ease-in-out infinite,
      phone-fade-in 700ms var(--ease-out) 200ms forwards;
  }
  .phone-screen { border-radius: 24px; }
  .phone-notch { top: 11px; height: 18px; }
  .phone-play { width: 44px; height: 44px; font-size: 12px; }
  .phone-meta { font-size: 0.7rem; padding: 6px 11px 6px 9px; left: 11px; bottom: 11px; }
  .phone-meta::before { width: 6px; height: 6px; }
  .phone-stats { right: 8px; bottom: 48px; gap: 12px; }
  .phone-stat svg { width: 22px; height: 22px; }
  .phone-stat { font-size: 0.66rem; }
  /* Hide the floating stat badges that crowd the phone on small screens */
  .hero-stat--1, .hero-stat--3, .hero-stat--5 { display: none; }
}

@keyframes phone-solo-float-mobile {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50%      { transform: rotate(-1deg) translateY(-7px); }
}

/* Reduced motion: no floating, no transition slide (JS will skip auto-cycle too) */
@media (prefers-reduced-motion: reduce) {
  .phone--solo { animation: none !important; transform: rotate(-2deg); }
  .phone-feed { transition: none !important; }
}

/* =========================================================
   Mobile polish — fixes for narrow viewports
   ========================================================= */

/* Collapse inline grid-template-columns on mobile */
@media (max-width: 700px) {
  .grid[style*="grid-template-columns:1fr 1fr"],
  .grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 880px) {
  .case-grid[style*="grid-template-columns:1.4fr 1fr 1fr"],
  .case-grid[style*="grid-template-columns: 1.4fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .footer-grid[style*="grid-template-columns: 1.6fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 560px) {
  .footer-grid[style*="grid-template-columns: 1.6fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Header brand: shrink slightly on small phones to leave room for CTA */
@media (max-width: 520px) {
  .nav { height: 68px; }
  .brand { font-size: 1.15rem; gap: 9px; }
  .brand .logo { width: 40px; height: 40px; }
  .nav-cta .btn--small { padding: 10px 14px; font-size: 0.78rem; }
}
@media (max-width: 380px) {
  .brand .logo { width: 36px; height: 36px; }
  .brand { font-size: 1.05rem; }
  :root { --gutter: 16px; }
}

/* About founder cards: stack image above text on small screens */
@media (max-width: 540px) {
  .card[style*="display:flex"][style*="gap:22px"] {
    flex-direction: column !important;
    gap: 16px !important;
    padding: 24px !important;
  }
  .card[style*="display:flex"][style*="gap:22px"] > img,
  .card[style*="display:flex"][style*="gap:22px"] > .case-cover {
    width: 96px !important;
    height: 96px !important;
  }
}

/* Hero card rows: prevent number+small-text overflow */
@media (max-width: 480px) {
  .hero-card { padding: 18px; }
  .hero-card-row { gap: 10px; }
  .hero-card-row .swatch { width: 30px; height: 30px; }
  .hero-card-row .grow strong { font-size: 0.88rem; }
  .hero-card-row .grow span { font-size: 0.76rem; }
  .hero-card-row .num { font-size: 0.88rem; text-align: right; white-space: nowrap; }
  .hero-card-row .num small { font-size: 0.7rem; }
  .hero-card-head h4 { font-size: 0.88rem; }
}

/* Social icon buttons: bump to 44px touch target on touch devices */
@media (max-width: 768px) and (pointer: coarse), (max-width: 540px) {
  a[aria-label*="Instagram"],
  a[aria-label*="LinkedIn"],
  a[aria-label*=" on X"] {
    width: 44px !important;
    height: 44px !important;
  }
}

/* Hero h1: ensure it doesn't clip on tiny screens */
@media (max-width: 380px) {
  h1 { font-size: 2.1rem !important; letter-spacing: -0.025em; }
  .hero p.lead { font-size: 0.98rem; }
}

/* Stack & full-width primary CTAs on phones */
@media (max-width: 480px) {
  .page-head .btn-row,
  .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .page-head .btn-row .btn,
  .hero .btn-row .btn { width: 100%; }
}

/* Callout: less aggressive padding on phones */
@media (max-width: 560px) {
  .callout { padding: 36px 20px; }
  .callout h2 { font-size: 1.6rem; }
  .callout .btn-row { flex-direction: column; align-items: stretch; }
  .callout .btn-row .btn { width: 100%; }
}

/* Compare table: tighten padding on phones */
@media (max-width: 720px) {
  .compare-row > div { padding: 12px 16px; font-size: 0.9rem; }
}

/* Footer-bar: stack on phones */
@media (max-width: 560px) {
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Marquee: tighter on phones */
@media (max-width: 480px) {
  .marquee-track span { font-size: 1.15rem; }
  .marquee-track { gap: 36px; }
  .marquee-label { font-size: 0.74rem; }
}

/* Section vertical padding: tighter on phones */
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .section--tight { padding: 36px 0; }
}

/* Form fields: 16px font on mobile prevents iOS auto-zoom */
@media (max-width: 768px) {
  .field input, .field select, .field textarea,
  .inline-form input { font-size: 16px !important; }
}

/* Step blocks: smaller on phones */
@media (max-width: 480px) {
  .step { padding: 22px; gap: 14px; grid-template-columns: 44px 1fr; }
  .step-num { width: 36px; height: 36px; font-size: 0.9rem; }
}

/* Pricing tier: tighter on mobile */
@media (max-width: 560px) {
  .tier { padding: 28px 22px; }
  .tier-price { font-size: 2rem; }
}

/* =========================================================
   v1.6 — More motion
   Scroll progress bar, page-load fade, word-by-word headline,
   magnetic buttons, hero card mouse tilt, scale-in reveals,
   counter flash, case-cover ken-burns, footer mark slide.
   ========================================================= */

/* Page-load fade: body briefly transitions opacity on first paint */
body { opacity: 0; transition: opacity 420ms var(--ease-out); }
body.is-loaded { opacity: 1; }

/* Scroll progress bar at top of viewport */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 100;
  background: transparent;
  pointer-events: none;
}
.scroll-progress::before {
  content: "";
  display: block; height: 100%;
  width: var(--scroll-pct, 0%);
  background: var(--ink);
  transform-origin: 0 50%;
  transition: width 80ms linear;
}

/* Word-by-word hero headline reveal — tightened to 350ms each, 40ms stagger */
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out);
  white-space: pre;
}
.hero h1.is-revealed .word { opacity: 1; transform: translateY(0); }
.hero h1 .word:nth-child(1) { transition-delay: 40ms; }
.hero h1 .word:nth-child(2) { transition-delay: 80ms; }
.hero h1 .word:nth-child(3) { transition-delay: 120ms; }
.hero h1 .word:nth-child(4) { transition-delay: 160ms; }
.hero h1 .word:nth-child(5) { transition-delay: 200ms; }
.hero h1 .word:nth-child(n+6) { transition-delay: 240ms; }
/* override the existing rise-in animation when JS-driven word reveal is active */
.hero h1.is-revealed { animation: none; }

/* Hero card: mouse tilt + glow follow */
.hero-card {
  transform-style: preserve-3d;
  transition: transform 320ms var(--ease-out), box-shadow 360ms var(--ease-out);
  will-change: transform;
}
.hero-card.is-tilted {
  transition: transform 80ms linear, box-shadow 360ms var(--ease-out);
}
.hero-card::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(91,138,255,0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}
.hero-card:hover::after { opacity: 1; }

/* Magnetic primary buttons (translation set via JS data props) */
.btn--primary, .btn--lg {
  transform: translate(var(--mx-offset, 0), var(--my-offset, 0)) translateY(var(--lift, 0));
  transition:
    transform 160ms var(--ease-spring),
    background 220ms var(--ease-out),
    color 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

/* Reveal: tightened to 480ms, no blur (per skill: avoid expensive filters) */
.reveal {
  transition:
    opacity 480ms var(--ease-out),
    transform 480ms var(--ease-out);
}

/* Counter completion flash (brief accent on counters when settled) */
.num.count-flashed {
  animation: counter-flash 800ms var(--ease-out);
}
@keyframes counter-flash {
  0%   { color: var(--accent); }
  100% { color: var(--ink); }
}

/* Case cover: no continuous ken-burns (skill: infinite animations are distracting).
   Sheen sweep on hover already handled in v1.5 polish. */

/* Footer wordmark: rise from below when scrolled into view (480ms) */
.footer-mark {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out), letter-spacing 600ms var(--ease-out);
}
.footer-mark.is-visible { opacity: 1; transform: translateY(0); }

/* Section enter — subtle background-color fade for section--alt */
.section--alt {
  transition: background 600ms var(--ease-out);
}

/* Header transitions (auto-hide removed: jumpy UX) */
.site-header {
  transition: border-color 280ms var(--ease-out), background 280ms var(--ease-out);
}

/* Step number: spring scale on hover */
.step .step-num {
  transition: transform 320ms var(--ease-spring), background 220ms var(--ease-out);
}
.step:hover .step-num {
  transform: scale(1.08) rotate(-3deg);
  background: var(--accent);
  color: #fff;
}

/* Marquee: smoother edge fade */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* Hero card row: hover bg shift smoother + slight slide */
.hero-card-row {
  transition: background 200ms var(--ease-out), transform 280ms var(--ease-out);
}
.hero-card-row:hover {
  transform: translateX(2px);
}

/* Compare table row: slide indicator on hover */
.compare-row:not(.head) {
  position: relative;
  overflow: hidden;
}
.compare-row:not(.head)::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: 0 50%;
  transition: transform 280ms var(--ease-out);
}
.compare-row:not(.head):hover::before { transform: scaleY(1); }

/* FAQ summary: subtle slide on hover */
.faq-item summary {
  transition: padding-left 280ms var(--ease-out);
}
.faq-item:hover summary { padding-left: 6px; }

/* Reduced motion: also kill the scaling/parallax/blur in v1.6 */
@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none !important; }
  .case.is-visible .case-cover { animation: none !important; }
  body { opacity: 1 !important; }
  .footer-mark { opacity: 1 !important; transform: none !important; }
  .hero h1 .word { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================
   Reduced motion — disable all of the above gracefully
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .eyebrow-dot::after { animation: none !important; }
}

/* =========================================================
   Home page theme cohesion — apply hero's brand-blue accent
   palette, pulse-dot indicators, and shimmer gradient to
   the rest of the home page sections.
   ========================================================= */

/* --- Section eyebrows: brand-blue tint everywhere except hero & hero-card --- */
section:not(.hero) .eyebrow {
  color: var(--accent);
  background: rgba(91, 138, 255, 0.08);
  border-color: rgba(91, 138, 255, 0.22);
  font-weight: 600;
}

/* Hero-card / hero-card-head eyebrows stay neutral (chip labels inside info cards) */
.hero-card .eyebrow,
.hero-card-head .eyebrow {
  color: var(--ink-soft) !important;
  background: var(--surface) !important;
  border-color: var(--line) !important;
  font-weight: 500 !important;
  padding-left: 12px !important;
}
.hero-card .eyebrow::before,
.hero-card-head .eyebrow::before { display: none !important; }

/* Pulse-dot prefix for section-header eyebrows (those introducing an h1/h2) */
section:not(.hero) .eyebrow:has(+ h1),
section:not(.hero) .eyebrow:has(+ h2) {
  position: relative;
  padding-left: 18px;
}
section:not(.hero) .eyebrow:has(+ h1)::before,
section:not(.hero) .eyebrow:has(+ h2)::before {
  content: "";
  position: absolute;
  left: 9px; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(91, 138, 255, 0.55);
  transform: translateY(-50%);
  animation: theme-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes theme-dot-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* --- Stats band: shimmer gradient on the big numbers --- */
.stats-cell .num {
  background: linear-gradient(120deg, #4f7cff 0%, #82a6ff 35%, #4f7cff 70%, #82a6ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hero-shimmer 7s ease-in-out infinite;
  display: inline-block;
}

/* --- Step numbers: brand-blue gradient with soft glow --- */
.step-num {
  background: linear-gradient(135deg, #5b8aff 0%, #3f6cd6 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15) inset,
    0 8px 22px -8px rgba(91,138,255,0.55),
    0 2px 6px rgba(14,14,12,0.18);
  transition: transform 320ms var(--ease-spring), box-shadow 320ms var(--ease-out);
}
.step:hover .step-num {
  transform: rotate(-4deg) scale(1.06);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18) inset,
    0 14px 30px -10px rgba(91,138,255,0.65),
    0 4px 10px rgba(14,14,12,0.22);
}

/* --- Step card hover: subtle blue accent --- */
.step {
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(91,138,255,0.4);
  box-shadow: 0 14px 32px -18px rgba(91,138,255,0.35);
}

/* --- Cards: brand-blue accent bar + glow on hover --- */
.card::before {
  background: linear-gradient(90deg, #5b8aff 0%, #82a6ff 100%) !important;
  height: 3px !important;
}
.card:hover {
  border-color: rgba(91,138,255,0.45) !important;
  box-shadow: 0 18px 40px -20px rgba(91,138,255,0.32) !important;
}
.card:hover .card-icon {
  background: linear-gradient(135deg, #5b8aff 0%, #3f6cd6 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px -6px rgba(91,138,255,0.55);
}

/* --- "Who we work with" cards: in-card eyebrow gets blue tint --- */
.card .eyebrow {
  color: var(--accent);
  background: rgba(91, 138, 255, 0.08);
  border-color: rgba(91, 138, 255, 0.22);
  font-weight: 600;
}

/* --- FAQ: blue accent when item is open --- */
.faq-item {
  transition: border-color 240ms var(--ease-out), background 240ms var(--ease-out);
}
.faq-item[open] {
  border-color: rgba(91,138,255,0.35) !important;
  background: rgba(91,138,255,0.03);
}
.faq-item summary {
  transition: color 200ms var(--ease-out);
}
.faq-item[open] summary { color: var(--accent); }

/* --- Final CTA callout: subtle blue accent overlay --- */
.callout {
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(91, 138, 255, 0.18), transparent 50%),
    radial-gradient(circle at 85% 100%, rgba(91, 138, 255, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.callout > * { position: relative; z-index: 1; }
.callout .eyebrow {
  background: rgba(91, 138, 255, 0.18) !important;
  border-color: rgba(91, 138, 255, 0.35) !important;
  color: #b8c9ff !important;
}

/* --- Subtle dot-grid texture on the alt-background sections --- */
.section--alt {
  position: relative;
}
.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(91,138,255,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.section--alt > .container { position: relative; z-index: 1; }

/* --- Reduced motion: hold all the animated theme bits still --- */
@media (prefers-reduced-motion: reduce) {
  .stats-cell .num { animation: none !important; }
  section:not(.hero) .center > .eyebrow::before,
  section:not(.hero) > .container > .eyebrow::before { animation: none !important; }
}

/* =========================================================
   About page — founder story typography
   ========================================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.story-aside { position: sticky; top: 100px; }
.story-heading {
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.story-body {
  position: relative;
  padding-left: 22px;
  border-left: 2px solid rgba(91, 138, 255, 0.18);
  display: grid;
  gap: 18px;
}
.story-body::before {
  content: "\201C";
  position: absolute;
  top: -36px;
  left: -8px;
  font-family: 'Inter', serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(91, 138, 255, 0.18);
  font-weight: 700;
  pointer-events: none;
}
.story-body p { font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.story-body p.lead { font-size: 1.18rem; color: var(--ink); }
.story-body p:last-of-type {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}
.story-sig {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-aside { position: static; }
  .story-body { padding-left: 18px; }
  .story-body::before { font-size: 4.5rem; top: -24px; left: -4px; }
}

/* =========================================================
   Stories collection — supports multiple founder/team stories
   ========================================================= */
.stories {
  display: grid;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

.story-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px clamp(24px, 4vw, 44px) 36px clamp(28px, 4vw, 48px);
  display: grid;
  gap: 22px;
  transition:
    transform 280ms var(--ease-out),
    border-color 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out);
}
.story-card::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg, #5b8aff 0%, rgba(91, 138, 255, 0.2) 100%);
}
.story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 138, 255, 0.4);
  box-shadow: 0 18px 40px -22px rgba(91, 138, 255, 0.32);
}

.story-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.story-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(91, 138, 255, 0.25);
  flex: none;
}
.story-card-meta { display: flex; flex-direction: column; }
.story-card-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.story-card-role {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.story-card-body {
  display: grid;
  gap: 16px;
  position: relative;
}
.story-card-body::before {
  content: "\201C";
  position: absolute;
  top: -34px; left: -10px;
  font-family: 'Inter', serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(91, 138, 255, 0.18);
  font-weight: 700;
  pointer-events: none;
}
.story-card-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.story-card-body p.lead {
  font-size: 1.12rem;
  color: var(--ink);
}
.story-card-punchline {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem !important;
  margin-top: 6px;
}

@media (max-width: 700px) {
  .story-card { padding: 28px 22px; }
  .story-card-avatar { width: 48px; height: 48px; }
  .story-card-body::before { font-size: 4rem; top: -22px; left: -4px; }
}

/* =========================================================
   Contact form — submit states
   ========================================================= */
.contact-error {
  background: rgba(255, 91, 111, 0.08);
  border: 1px solid rgba(255, 91, 111, 0.35);
  color: #b3253d;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin: 4px 0 14px;
}
[data-theme="dark"] .contact-error {
  background: rgba(255, 91, 111, 0.12);
  color: #ffaab5;
}
.contact-success {
  text-align: center;
  padding: 16px 4px 8px;
}
.contact-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(31, 157, 85, 0.14);
  color: #1f9d55;
  border: 1px solid rgba(31, 157, 85, 0.32);
}
[data-theme="dark"] .contact-success-icon {
  background: rgba(31, 157, 85, 0.18);
  color: #5fd194;
  border-color: rgba(31, 157, 85, 0.45);
}

/* =========================================================
   Dark theme — component-level overrides
   Tokens in :root[data-theme="dark"] above handle most surfaces;
   below are the spots where hard-coded colors need to flip.
   ========================================================= */

/* Callout & calc-outputs are locked to dark hex values site-wide.
   In dark mode the page is also dark, so add a soft brand-blue rim
   and outer glow so these panels lift visibly off the page. */
[data-theme="dark"] .callout {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px -32px rgba(91, 138, 255, 0.22);
}
[data-theme="dark"] .callout::before {
  background:
    radial-gradient(circle at 20% 0%,  rgba(91, 138, 255, 0.30), transparent 50%),
    radial-gradient(circle at 85% 100%, rgba(91, 138, 255, 0.20), transparent 55%);
}

[data-theme="dark"] .calc {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px -28px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .calc-outputs {
  border: 1px solid rgba(91, 138, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px -28px rgba(91, 138, 255, 0.25);
}

/* Card icon hover: brand-blue gradient is already applied via theme cohesion */
[data-theme="dark"] .card { background: var(--surface); }
[data-theme="dark"] .card p { color: var(--muted); }

/* FAQ + step: lift surfaces slightly with subtle white inner border in dark */
[data-theme="dark"] .step,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .form-card,
[data-theme="dark"] .calc-inputs,
[data-theme="dark"] .story-card,
[data-theme="dark"] .hero-card {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Inputs in dark mode */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--ink);
}
[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

/* Hero atmosphere stays subtle on dark — brighten orbs, soften dots */
[data-theme="dark"] .hero {
  background:
    radial-gradient(900px 600px at 8% -10%,  rgba(91, 138, 255, 0.18), transparent 65%),
    radial-gradient(800px 700px at 100% 0%, rgba(91, 138, 255, 0.10), transparent 60%);
}
[data-theme="dark"] .hero-dots { opacity: 0.35; }
[data-theme="dark"] .section--alt { background: rgba(255, 255, 255, 0.015); }

/* Site header: translucent dark glass */
[data-theme="dark"] .site-header {
  background: rgba(13, 13, 12, 0.75);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Footer wordmark gentler on dark */
[data-theme="dark"] .footer-mark { color: rgba(255, 255, 255, 0.06); }

/* Logo: swap to white-fill version in dark mode */
[data-theme="dark"] img.logo {
  content: url('../assets/logo-dark.svg');
}

/* =========================================================
   Theme toggle — segmented sun/moon control in footer
   ========================================================= */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.theme-toggle button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 200ms var(--ease-out), color 200ms var(--ease-out);
}
.theme-toggle button:hover { color: var(--ink); }
.theme-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.theme-toggle svg { width: 14px; height: 14px; }

