:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-2: #0b0e14;
  --card: rgba(255, 255, 255, 0.045);
  --card-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.55);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 14px 42px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 12px;
  /* Brand (from logo) */
  --grad-1: #ff7a00;
  --grad-2: #ff9f1a;
  --grad-3: #ffd08a;
  --accent-rgb: 255 122 0;
  --accent-2-rgb: 255 159 26;
  --accent-3-rgb: 255 208 138;

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: var(--font-sans);
}

body.theme-neutral {
  --grad-1: #38bdf8;
  --grad-2: #a78bfa;
  --grad-3: #e2e8f0;
  --accent-rgb: 56 189 248;
  --accent-2-rgb: 167 139 250;
  --accent-3-rgb: 226 232 240;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html,
body {
  height: 100%;
}

body {
  position: relative;
  margin: 0;
  color: var(--text);
  background: radial-gradient(1100px 640px at 50% -240px, rgb(var(--accent-rgb) / 0.12), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  font-family: var(--font-sans);
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body > * {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: none;
  opacity: 0;
  mask-image: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: 0.03;
  mix-blend-mode: overlay;
  z-index: 0;
}

::selection {
  background: rgb(var(--accent-rgb) / 0.35);
  color: rgba(255, 255, 255, 0.96);
}

a {
  color: inherit;
  text-decoration: none;
}

.link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgb(var(--accent-rgb) / 0.6);
  text-underline-offset: 4px;
}

.link:hover {
  text-decoration-color: rgb(var(--accent-rgb) / 0.9);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgb(var(--accent-rgb) / 0.55);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  transform: translateY(-200%);
  transition: transform 140ms ease;
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.container-wide {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.container-narrow {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 64px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 12, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: backdrop-filter 180ms ease, border-color 180ms ease, background 180ms ease;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2), var(--grad-3));
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
  transition: opacity 180ms ease;
}

.site-header[data-scrolled="true"] {
  background: rgba(7, 8, 12, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.site-header[data-scrolled="true"] .scroll-progress {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand picture,
.footer-brand picture {
  display: block;
}

.brand-stack {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.brand-subtitle {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.brand-mark {
  display: block;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.brand-name {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.site-header .brand-name {
  font-size: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 999px;
  transition: color 140ms ease, background 140ms ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.site-header .brand-logo {
  height: 26px;
  width: auto;
}

.site-header .btn-small {
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 12.5px;
}

.nav-toggle-lines {
  display: block;
  width: 18px;
  height: 12px;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 99px;
}

.nav-toggle-lines::before {
  top: 1px;
}

.nav-toggle-lines::after {
  bottom: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.98), rgb(var(--accent-2-rgb) / 0.98));
  color: white;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.36), 0 1px 0 rgba(255, 255, 255, 0.14) inset;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, filter 140ms ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.44), 0 1px 0 rgba(255, 255, 255, 0.16) inset;
  filter: brightness(1.03) saturate(1.02);
}

.btn:hover::before {
  transform: none;
}

.btn:active {
  transform: translateY(0);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn-small {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
}

.hero {
  padding: 86px 0 54px;
}

.hero-compact {
  padding-bottom: 18px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.hero-min {
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
}

.hero-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.1);
  border: 1px solid rgb(var(--accent-rgb) / 0.28);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-family: var(--font-display);
  font-weight: 900;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18.5px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-notes {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: none;
}

/* Minimal luxury hero variant */
.hero-wow {
  position: relative;
  padding: 118px 0 86px;
  overflow: hidden;
  background-image: radial-gradient(1100px 520px at 50% -260px, rgb(var(--accent-rgb) / 0.1), transparent 60%);
}

.hero-wow.hero-wow-compact {
  padding: 96px 0 54px;
}

.hero-wow.hero-wow-compact::before {
  height: 560px;
  top: -420px;
  opacity: 0.32;
}

.hero-wow.hero-wow-compact::after {
  opacity: 0.55;
}

.hero-wow.hero-wow-compact .hero-wow-inner h1 {
  max-width: 24ch;
}

.hero-wow::before,
.hero-wow::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero-wow > .container {
  position: relative;
  z-index: 1;
}

.hero-wow::before {
  width: 1200px;
  height: 620px;
  left: 50%;
  top: -380px;
  transform: translateX(-50%);
  background: radial-gradient(520px 260px at 50% 52%, rgb(var(--accent-rgb) / 0.56), transparent 72%);
  filter: blur(92px) saturate(1.08);
  opacity: 0.34;
}

.hero-wow::after {
  inset: 0;
  background: radial-gradient(900px 420px at 50% -200px, rgba(255, 255, 255, 0.06), transparent 72%);
  opacity: 0.62;
}

.hero-wow-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.hero-wow-inner .hero-cta {
  justify-content: center;
}

.hero-wow-inner h1 {
  max-width: 18ch;
}

.hero-board {
  width: min(1120px, 100%);
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
  align-items: start;
}

.hero-metric {
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 42px rgb(var(--accent-rgb) / 0.16);
}

.hero-metric.is-negative {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #ff5c5c;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.portrait.portrait-hero {
  max-width: 240px;
}

.hero-founder .actions-row {
  justify-content: center;
}

.hero-sub {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.post-meta {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-footnote {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-rotator {
  display: inline-block;
  white-space: nowrap;
  padding: 0 0.06em;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgb(var(--accent-rgb) / 0.12);
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-rotator.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

.hero-rotator::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 999px;
  margin-top: 5px;
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.55), transparent);
}

.hero-social {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.avatar-stack {
  display: inline-flex;
  align-items: center;
}

.avatar-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  margin-left: -8px;
}

.avatar-dot:first-child {
  margin-left: 0;
}

.avatar-dot.is-photo {
  background: url("/jamie.png") center/cover no-repeat;
}

.hero-divider {
  width: 100%;
  max-width: 980px;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 12px;
}

.trust-strip {
  padding: 14px 0 10px;
}

.trust-label {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-logos {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-logo {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.note {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.note-title {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
}

.note-value {
  display: block;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
}

.portrait-card {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.portrait-card,
.tile,
.card,
.code-card,
.case-card,
.video-card,
.dashboard-card,
.ad-card {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.portrait-card:hover,
.code-card:hover,
.case-card:hover,
.video-card:hover,
.dashboard-card:hover,
.ad-card:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.028);
  border-color: rgba(255, 255, 255, 0.16);
}

.portrait {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  display: block;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.2);
}

.portrait {
  position: relative;
}

.portrait-meta {
  margin-top: 14px;
}

.portrait-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-title {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.portrait-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.portrait-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.dashboard-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.022);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: none;
}

.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-label {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-title {
  margin: 6px 0 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.dashboard-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  box-shadow: 0 10px 26px rgb(var(--accent-rgb) / 0.25);
}

.dashboard-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-label {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
}

.metric-value {
  display: block;
  margin-top: 6px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.spark {
  margin-top: 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
  align-items: end;
  height: 50px;
}

.spark-bar {
  height: var(--h, 50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(var(--accent-3-rgb) / 0.75), rgb(var(--accent-rgb) / 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgb(var(--accent-rgb) / 0.12);
  transform-origin: bottom;
  animation: spark-in 520ms ease both;
  animation-delay: calc(var(--i, 1) * 40ms);
}

@keyframes spark-in {
  from {
    transform: scaleY(0.2);
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.dashboard-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.lead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.lead-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lead-dot {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.lead-dot-new {
  background: rgb(var(--accent-rgb) / 0.22);
  border-color: rgb(var(--accent-rgb) / 0.4);
}

.lead-dot-warm {
  background: rgb(var(--accent-3-rgb) / 0.18);
  border-color: rgb(var(--accent-3-rgb) / 0.35);
}

.lead-right {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
  letter-spacing: -0.01em;
}

.checklist,
.bullets {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li,
.bullets li {
  padding-left: 26px;
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: rgb(var(--accent-rgb) / 0.22);
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  box-shadow: 0 10px 28px rgb(var(--accent-rgb) / 0.14);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 6px;
  height: 3px;
  border-left: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  transform: rotate(-45deg);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.78em;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  box-shadow: 0 10px 28px rgb(var(--accent-rgb) / 0.2);
}

.bullets li::after {
  content: none;
}

.section {
  padding: 92px 0;
}

.section.section-compact {
  padding: 64px 0;
}

.section-alt {
  background: radial-gradient(920px 360px at 20% 0%, rgb(var(--accent-rgb) / 0.08), transparent 62%),
    radial-gradient(820px 420px at 80% 100%, rgba(255, 255, 255, 0.06), transparent 68%),
    rgba(255, 255, 255, 0.014);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  max-width: 76ch;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}

.section-head.center::after {
  content: "";
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.95), rgb(var(--accent-2-rgb) / 0.95), rgb(var(--accent-3-rgb) / 0.95));
  opacity: 0.62;
  margin-top: 4px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-family: var(--font-display);
  font-weight: 900;
  text-wrap: balance;
}

.hero-sub,
.lead,
.lead-small,
p {
  text-wrap: pretty;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 14px;
}

.card,
.tile {
  position: relative;
  --surface-border-a: rgba(255, 255, 255, 0.08);
  --surface-border-b: rgba(255, 255, 255, 0.14);
  --surface-border-c: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.016)) padding-box,
    linear-gradient(135deg, var(--surface-border-a), var(--surface-border-b), var(--surface-border-c)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.card:focus-within,
.tile:focus-within {
  --surface-border-a: rgb(var(--accent-rgb) / 0.28);
  --surface-border-b: rgba(255, 255, 255, 0.18);
  --surface-border-c: rgb(var(--accent-3-rgb) / 0.18);
  box-shadow: 0 20px 62px rgba(0, 0, 0, 0.42);
  filter: saturate(1.02);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .tile:hover {
    --surface-border-a: rgb(var(--accent-rgb) / 0.28);
    --surface-border-b: rgba(255, 255, 255, 0.18);
    --surface-border-c: rgb(var(--accent-3-rgb) / 0.18);
    box-shadow: 0 20px 62px rgba(0, 0, 0, 0.42);
    filter: saturate(1.02);
  }

  .tile:hover {
    transform: translateY(-2px);
  }

  .tile:active {
    transform: translateY(-1px);
  }
}

.card h3,
.tile h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.tile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tile-head h3 {
  margin: 0;
}

.tile-head-icon {
  gap: 10px;
}

.tile-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgb(var(--accent-rgb) / 0.28);
  background: radial-gradient(420px 160px at 30% 0%, rgb(var(--accent-rgb) / 0.18), transparent 60%),
    rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.92);
  flex: none;
}

.tile-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.tile-visual {
  margin: 14px 0 14px;
  height: 168px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(640px 240px at 20% 0%, rgb(var(--accent-rgb) / 0.18), transparent 62%),
    radial-gradient(720px 260px at 80% 100%, rgba(255, 255, 255, 0.08), transparent 66%),
    rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.tile-visual::before {
  content: none;
}

.tile-visual::after {
  content: none;
}

.card p,
.tile p {
  margin: 0;
  color: var(--muted);
}

.tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bullets-lg li {
  font-size: 15px;
}

.step-num {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgb(var(--accent-rgb) / 0.26);
  background: rgb(var(--accent-rgb) / 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.timeline {
  display: grid;
  gap: 14px;
  padding-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-left: -7px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgb(var(--accent-rgb) / 0.16);
}

.timeline-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.timeline-body {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.lead-small {
  margin: 12px 0 10px;
  color: var(--muted);
  font-size: 18px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.quote-card {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.quote {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.quote-meta {
  margin: 12px 0 0;
  color: var(--muted);
}

.quote-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.022);
  padding: 6px 12px;
}

.faq-item summary {
  cursor: pointer;
  padding: 12px 6px;
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 14px;
  transition: background 160ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  flex: none;
  transition: transform 160ms ease, background 160ms ease;
}

.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-item[open] summary {
  background: rgba(255, 255, 255, 0.04);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgb(var(--accent-rgb) / 0.16);
}

.faq-body {
  padding: 0 6px 12px;
  color: var(--muted);
}

.estimator {
  margin: 0;
}

.estimator-toggle {
  cursor: pointer;
  list-style: none;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.98), rgb(var(--accent-2-rgb) / 0.98));
  color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.44), 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  display: grid;
  gap: 4px;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.estimator-toggle::-webkit-details-marker {
  display: none;
}

.estimator-toggle::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(560px 180px at 50% 0%, rgba(255, 255, 255, 0.42), transparent 60%);
  opacity: 0.22;
  transform: translateY(-18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.estimator-toggle::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.96);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.estimator-toggle-title {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.estimator-toggle-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.estimator[open] .estimator-toggle::after {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .estimator-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 66px rgba(0, 0, 0, 0.52), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    filter: brightness(1.03) saturate(1.02);
  }

  .estimator-toggle:hover::before {
    opacity: 0.32;
    transform: translateY(0);
  }
}

.estimator-body {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(720px 260px at 30% 0%, rgb(var(--accent-rgb) / 0.08), transparent 60%),
    rgba(0, 0, 0, 0.16);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.estimator-intro {
  margin: 0 0 14px;
  text-align: center;
}

@keyframes estimator-reveal {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.99);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes estimator-card {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.estimator[open] .estimator-body {
  animation: estimator-reveal 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.estimator[open] .calc-card {
  animation: estimator-card 520ms cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: both;
}

.estimator[open] .calc-grid .calc-card:nth-child(1) {
  animation-delay: 40ms;
}

.estimator[open] .calc-grid .calc-card:nth-child(2) {
  animation-delay: 80ms;
}

.estimator[open] .calc-grid .calc-card:nth-child(3) {
  animation-delay: 120ms;
}

.estimator[open] .calc-card.calc-wide {
  animation-delay: 160ms;
}

.contact-points {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.contact-point {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: rgb(var(--accent-rgb) / 0.25);
  border: 1px solid rgb(var(--accent-rgb) / 0.45);
  box-shadow: 0 14px 30px rgb(var(--accent-rgb) / 0.12);
}

.form {
  display: grid;
  gap: 12px;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgb(var(--accent-rgb) / 0.55);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.12);
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-note {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

.footer {
  padding: 10px 0 8px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.footer-brand img {
  height: 24px;
  width: auto;
}

.footer-brand p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links a {
  padding: 5px 7px;
  border-radius: 10px;
  transition: background 120ms ease, color 120ms ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 11px;
}

.muted {
  color: var(--muted);
}

/* Onboarding */
.page-hero {
  padding: 78px 0 24px;
}

.page-hero h1 {
  margin-top: 14px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.video-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.022);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.video-head {
  padding: 16px 16px 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.video-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.video-embed {
  padding: 10px 12px 16px;
  width: 100%;
}

.onboarding-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.onboarding-nav {
  position: relative;
  top: auto;
  min-width: 0;
}

.onboarding-nav-top {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.onboarding-step-count {
  margin: 10px 0 0;
}

.onboarding-help {
  margin: 14px 0 0;
}

.onboarding-stage {
  width: 100%;
  min-width: 0;
}

.onboarding-step {
  max-width: 1320px;
  margin: 0 auto;
}

.onboarding-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 10px;
}

.onboarding-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--grad-1), var(--grad-2), var(--grad-3));
  transform-origin: left;
  transition: width 220ms ease;
}

.onboarding-steps {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.onboarding-step-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
  white-space: nowrap;
  scroll-snap-align: start;
}

.onboarding-step-link:hover {
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.18);
}

.onboarding-step-link.is-active {
  background: rgb(var(--accent-rgb) / 0.08);
  border-color: rgb(var(--accent-rgb) / 0.35);
}

.onboarding-step-status {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.onboarding-step-link.is-done .onboarding-step-status {
  border-color: rgb(var(--accent-rgb) / 0.38);
  background: rgb(var(--accent-rgb) / 0.22);
}

.onboarding-step-link.is-done .onboarding-step-status::after {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 2px solid rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  transform: rotate(-45deg);
}

.onboarding-step-body {
  padding: 0 16px 16px;
}

.onboarding-step-body p {
  margin: 0;
}

.onboarding-step-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .onboarding-shell {
    max-width: none;
  }

  .video-embed {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.wistia-shell {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.wistia-responsive-padding {
  padding: 56.25% 0 0 0;
  position: relative;
}

.wistia-responsive-wrapper {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.wistia-embed-inner {
  height: 100%;
  position: relative;
  width: 100%;
}

.placeholder-video {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px 16px;
  color: var(--muted);
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.calendly-host {
  height: 720px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.calendly-host iframe {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 720px) {
  .calendly-host {
    height: 780px;
  }
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 20, 32, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-copy {
  display: grid;
  gap: 6px;
}

.cookie-text {
  font-size: 13.5px;
  max-width: 70ch;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.checklist-lg li {
  font-size: 15px;
}

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

.card-mini {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

/* Premium polish */
.code-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.code-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.code-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.code {
  margin: 0;
  padding: 14px 14px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: radial-gradient(800px 240px at 20% 0%, rgb(var(--accent-rgb) / 0.12), transparent 60%),
    rgba(0, 0, 0, 0.18);
}

.code code {
  font-family: inherit;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ad-image-card {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.ad-image {
  display: block;
  width: 100%;
  height: auto;
}

.ad-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.ad-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ad-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / 0.26), rgb(var(--accent-2-rgb) / 0.18));
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ad-pill-ghost {
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.ad-primary {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.ad-divider {
  height: 1px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.08);
}

.ad-headline {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.ad-cta {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  width: 100%;
}

.crumbs {
  margin: 0 0 12px;
  color: var(--muted-2);
  font-size: 13px;
}

.crumbs a {
  color: rgba(255, 255, 255, 0.78);
}

.crumbs a:hover {
  color: rgba(255, 255, 255, 0.92);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.tag-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-placeholder {
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  min-height: 160px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
}

.media-figure {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.022);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.media-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.media-link {
  display: block;
}

.js .media-link img {
  cursor: zoom-in;
}

.media-link-thumb {
  position: relative;
  display: block;
  aspect-ratio: var(--thumb-ratio, 3 / 2);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.media-link-thumb::before {
  content: "";
  position: absolute;
  inset: -18px;
  background-image: var(--thumb);
  background-position: center;
  background-size: cover;
  filter: blur(26px) saturate(1.1);
  opacity: 0.5;
  transform: scale(1.06);
}

.media-link-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 78%, rgba(0, 0, 0, 0.32) 100%);
}

.media-link-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--thumb-fit, contain);
  object-position: var(--thumb-pos, 50% 50%);
  display: block;
}

.js .media-link:focus-visible {
  outline: 3px solid rgb(var(--accent-rgb) / 0.55);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  width: min(1060px, 100%);
  max-height: calc(100vh - 32px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 20, 32, 0.92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.lightbox-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.lightbox-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lightbox-stage {
  flex: 1;
  overflow: auto;
  padding: 12px;
  background: rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
}

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.js .lightbox-stage img {
  cursor: zoom-in;
}

.lightbox-caption {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.lightbox-caption .muted {
  margin: 6px 0 0;
}

.lightbox.is-zoomed .lightbox-stage {
  place-items: start;
}

.lightbox.is-zoomed .lightbox-stage img {
  max-width: none;
  max-height: none;
  border-radius: 0;
}

.js .lightbox.is-zoomed .lightbox-stage img {
  cursor: zoom-out;
}

.media-figcaption {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.media-figcaption .muted {
  margin: 6px 0 0;
}

.media-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.case-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.022);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.case-card.case-card-mini {
  padding: 16px;
}

.case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.case-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-title {
  margin: 0;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.case-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stats.stats-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
}

.stat-value {
  display: block;
  margin-top: 6px;
  font-weight: 850;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.stats.stats-compact .stat-value {
  font-size: 16px;
}

.case-split {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Calculator (Appointwise-inspired) */
.calc {
  display: grid;
  gap: 14px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.calc-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.calc-card.center {
  text-align: center;
}

.calc-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.calc-input {
  margin-top: 10px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.92);
  padding: 14px 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.calc-big {
  margin: 10px 0 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  background: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.calc-big.is-negative {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #ff5c5c;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.calc-sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.calc-sub.calc-sub-tight {
  margin-top: 8px;
}

.calc-title {
  margin: 18px 0 0;
}

.calc-body {
  margin-top: 10px;
}

.calc-cta {
  justify-content: center;
  margin-top: 14px;
}

.calc-foot {
  margin-top: 12px;
}

.calc-wide {
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.case-subtitle {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .spark-bar {
    animation: none;
  }
  .btn::before {
    content: none;
  }
  .estimator-toggle {
    transition: none;
  }
  .estimator[open] .estimator-body,
  .estimator[open] .calc-card {
    animation: none;
  }
  .card,
  .tile {
    transition: none;
  }
  .tile:hover,
  .tile:active {
    transform: none;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .ad-grid {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-notes {
    grid-template-columns: 1fr;
  }
  .hero-board {
    grid-template-columns: 1fr;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 34px;
  }
  .hero-wow {
    padding-top: 92px;
    padding-bottom: 64px;
  }
  .hero-rotator {
    display: block;
    white-space: normal;
  }
  .hero-wow::before {
    width: 980px;
    height: 540px;
    top: -340px;
    opacity: 0.28;
  }
  .hero-wow::after {
    opacity: 0.55;
  }
  .section {
    padding: 64px 0;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-panel {
    position: absolute;
    right: 20px;
    top: 52px;
    width: min(360px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(7, 8, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
  }
  .nav-panel[data-open="true"] {
    display: flex;
  }
  .nav-link {
    padding: 12px 12px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
