/* ============ Tokens ============ */
:root {
  /* accent */
  --accent: oklch(0.64 0.16 42);
  --accent-ink: oklch(0.28 0.12 42);
  --accent-soft: oklch(0.95 0.04 42);

  /* neutrals — warm */
  --bg: oklch(0.985 0.006 70);
  --bg-2: oklch(0.965 0.008 70);
  --bg-3: oklch(0.93 0.012 70);
  --ink: oklch(0.19 0.01 60);
  --ink-2: oklch(0.34 0.01 60);
  --ink-3: oklch(0.52 0.01 60);
  --ink-4: oklch(0.7 0.01 60);
  --line: oklch(0.88 0.01 60);
  --line-2: oklch(0.82 0.01 60);

  /* radii / shadow */
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 0 rgba(20,14,8,0.04), 0 1px 2px rgba(20,14,8,0.04);
  --shadow-md: 0 1px 0 rgba(20,14,8,0.04), 0 10px 30px -12px rgba(20,14,8,0.15);
  --shadow-lg: 0 30px 80px -30px rgba(20,14,8,0.25), 0 1px 0 rgba(20,14,8,0.04);

  /* type */
  --ff-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --ff-sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg: oklch(0.17 0.008 60);
  --bg-2: oklch(0.21 0.008 60);
  --bg-3: oklch(0.26 0.008 60);
  --ink: oklch(0.97 0.004 70);
  --ink-2: oklch(0.82 0.008 60);
  --ink-3: oklch(0.65 0.008 60);
  --ink-4: oklch(0.48 0.008 60);
  --line: oklch(0.32 0.01 60);
  --line-2: oklch(0.4 0.01 60);
  --accent-soft: oklch(0.3 0.08 42);
  --shadow-md: 0 1px 0 rgba(0,0,0,0.3), 0 10px 30px -12px rgba(0,0,0,0.6);
  --shadow-lg: 0 30px 80px -30px rgba(0,0,0,0.7);
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--ff-mono); font-size: 0.78em; letter-spacing: 0.02em; }

/* ============ Layout ============ */
.page { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.section { max-width: 1280px; margin: 0 auto; padding: 96px 28px; }
@media (max-width: 820px) {
  .section { padding: 64px 20px; }
  .page { padding: 0 20px; }
}

.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 48px; max-width: 820px; }
.section-more {
  display: inline-flex;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 6px;
  width: fit-content;
  font-family: var(--ff-mono);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s;
}
.section-more:hover { border-bottom-color: var(--accent); }
.section-head-center .section-more { margin-left: auto; margin-right: auto; }
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.section-head-center .eyebrow { margin: 0 auto; }
.section-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 820px) {
  .section-head-split { grid-template-columns: 1fr; gap: 16px; }
}
.section-lede { color: var(--ink-3); font-size: 17px; max-width: 46ch; margin: 0; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.eyebrow-inv { color: oklch(0.8 0.1 42); }

.h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.h1 em { font-style: italic; color: var(--accent); }
.h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--accent); }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.logo-mark { color: var(--accent); display: inline-flex; }
.logo-word { font-size: 17px; }
.logo-word-dim { color: var(--ink-3); font-weight: 400; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-inv {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-inv:hover { border-color: white; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

.link-inline {
  background: none; border: none; padding: 0;
  color: var(--accent); cursor: pointer;
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  font: inherit;
}
.link-inline:hover { border-bottom-color: var(--accent); }

/* ============ Hero ============ */
.hero {
  padding: 64px 28px 88px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 820px) {
  .hero { padding: 40px 20px 56px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.hero-copy { max-width: 620px; }
.hero-h { margin-bottom: 24px; }
.hero-p {
  font-size: 18px;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 48ch;
  text-wrap: pretty;
}
.hero-tag {
  display: inline-block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--ink-2);
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 14px;
  margin: 0 0 28px;
  max-width: 44ch;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-proof {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--ink-3);
  font-size: 13.5px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  flex-wrap: wrap;
}
.hero-proof b { color: var(--ink); font-weight: 500; }

/* stacked variant */
.hero.variant-stacked .hero-grid { grid-template-columns: 1fr; gap: 48px; }
.hero.variant-stacked .hero-copy { max-width: 820px; text-align: center; margin: 0 auto; }
.hero.variant-stacked .hero-p { margin-left: auto; margin-right: auto; }
.hero.variant-stacked .hero-tag { margin-left: auto; margin-right: auto; }
.hero.variant-stacked .hero-ctas { justify-content: center; }
.hero.variant-stacked .hero-proof { justify-content: center; border-bottom: 1px solid var(--line); padding-bottom: 20px; }

/* editorial variant */
.hero.variant-editorial .hero-h { font-size: clamp(60px, 9vw, 132px); }

/* ============ Before/After ============ */
.ba-wrap {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  background: var(--bg-3);
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
}
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { z-index: 2; }
.ba-after { z-index: 1; }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: white;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 0 20px rgba(0,0,0,0.15);
  transform: translateX(-1px);
  z-index: 4;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  width: 44px; height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 999px;
  background: white;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: ew-resize;
}
.ba-handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba-tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: white;
  backdrop-filter: blur(6px);
  transition: opacity 0.2s;
}
.ba-tag-before { left: 16px; }
.ba-tag-after { right: 16px; background: color-mix(in oklab, var(--accent) 85%, black); }

/* Placeholder visuals */
.ph { position: absolute; inset: 0; overflow: hidden; }
.ph-before { background: oklch(0.38 0.015 60); }
.ph-after { background: oklch(0.92 0.015 70); }
.ph-stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 22px,
    rgba(255,255,255,0.04) 22px 23px
  );
}
.ph-before .ph-stripes {
  background-image:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,0.04) 22px 23px),
    linear-gradient(180deg, rgba(255,240,200,0.06), rgba(0,0,0,0.2));
}
.ph-after .ph-stripes {
  background-image: repeating-linear-gradient(45deg, transparent 0 22px, rgba(0,0,0,0.035) 22px 23px);
}
.ph-meta {
  position: absolute;
  left: 24px; bottom: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.ph-label {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 5px 9px;
  border-radius: 4px;
  align-self: flex-start;
}
.ph-before .ph-label { background: rgba(0,0,0,0.45); color: white; }
.ph-after .ph-label { background: rgba(255,255,255,0.85); color: oklch(0.3 0.1 42); }
.ph-note {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 18px;
}
.ph-before .ph-note { color: rgba(255,255,255,0.85); }
.ph-after .ph-note { color: oklch(0.28 0.01 60); }
.ph-dims { font-family: var(--ff-mono); font-size: 11px; opacity: 0.5; }
.ph-before .ph-dims { color: white; }
.ph-after .ph-dims { color: oklch(0.4 0.01 60); }
.ph-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(0,0,0,0.35), transparent 50%),
                    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.28), transparent 55%);
  mix-blend-mode: multiply;
}

/* ============ How it works ============ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; } }
.how-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.how-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.how-n {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.how-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
[data-theme="dark"] .how-icon { color: oklch(0.9 0.1 42); }
.how-t {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 8px;
}
.how-d { margin: 0; color: var(--ink-3); font-size: 15.5px; }

/* hero tabs (room picker inside hero slider) */
.hero-ba-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding: 5px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  justify-content: center;
}
.hero-ba-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.hero-ba-tab:hover { background: var(--bg); color: var(--ink); }
.hero-ba-tab.is-active { background: var(--ink); color: var(--bg); }
.hero-ba-tab-n {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.55;
}
.hero-ba-tab.is-active .hero-ba-tab-n { color: var(--accent); opacity: 1; }
@media (max-width: 820px) {
  .hero-ba-tabs { border-radius: 14px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .hero-ba-tab { flex-shrink: 0; }
}

/* ============ Differentiators ============ */
.diff {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.diff-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 28px;
}
@media (max-width: 820px) { .diff-inner { padding: 64px 20px; } }
.diff-head { margin-bottom: 48px; max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.diff-head-center { text-align: center; margin-left: auto; margin-right: auto; align-items: center; }
.diff-head-center .eyebrow { margin: 0 auto; }
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.diff-viz {
  padding: 28px 28px 24px;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--accent) 6%, var(--bg-2)),
    var(--bg-2));
  border-bottom: 1px solid var(--line);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.diff-body {
  padding: 24px 28px 32px;
}
.diff-unit {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.diff-t {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.diff-d {
  margin: 0;
  color: var(--ink-3);
  font-size: 15.5px;
  max-width: 52ch;
}

/* Receipts */
.diff-viz-receipt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.receipt {
  background: var(--bg);
  border-radius: 10px;
  padding: 16px 14px 18px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  box-shadow: 0 10px 25px -14px rgba(20,14,8,0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
}
.receipt-them {
  transform: rotate(-2deg);
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,0,0,0.025) 22px 23px),
    var(--bg);
}
.receipt-us {
  transform: rotate(1.2deg);
  border-color: var(--accent);
  box-shadow: 0 10px 25px -14px color-mix(in oklab, var(--accent) 40%, transparent);
}
.receipt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}
.receipt-brand { font-weight: 600; letter-spacing: 0.02em; color: var(--ink); font-size: 12px; }
.receipt-num { color: var(--ink-4); font-size: 10px; }
.receipt-lines { display: flex; flex-direction: column; gap: 5px; }
.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.receipt-line.strike { color: var(--ink-4); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--ink-4) 60%, transparent); }
.receipt-line-dim { color: var(--ink-4); }
.receipt-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  font-weight: 600;
  color: var(--ink);
  font-size: 12.5px;
}
.receipt-total-us { color: var(--accent); }
.receipt-stamp {
  position: absolute;
  bottom: 10px;
  right: -8px;
  background: oklch(0.62 0.18 25);
  color: white;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 4px 10px;
  border-radius: 3px;
  transform: rotate(-8deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  opacity: 0.92;
}

/* Timeline visual */
.diff-viz-time { justify-content: center; gap: 22px; }
.time-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 16px;
}
.time-lbl { display: flex; flex-direction: column; gap: 2px; }
.time-lbl-name {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.time-lbl-val {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--ink);
}
.time-row-us .time-lbl-val { color: var(--accent); }
.time-bar {
  position: relative;
  height: 36px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: visible;
}
.time-bar-them .time-bar-fill {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  background:
    repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,0.05) 6px 7px),
    linear-gradient(90deg, oklch(0.82 0.02 60), oklch(0.72 0.02 60));
  border-radius: 5px;
}
.time-ticks {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  pointer-events: none;
}
.time-bar-us {
  background: var(--bg);
}
.time-dot {
  position: absolute;
  left: 3px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 18%, transparent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 18%, transparent); }
  50% { box-shadow: 0 0 0 11px color-mix(in oklab, var(--accent) 6%, transparent); }
}
.time-dot-label {
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-size: 18px;
  color: var(--accent);
}
.time-note {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: oklch(0.58 0.12 25);
  white-space: nowrap;
}
.time-note-us { color: oklch(0.55 0.13 155); }
@media (max-width: 600px) {
  .time-row { grid-template-columns: 1fr; gap: 8px; }
  .time-note { justify-self: start; }
}

.gal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.gal-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.gal-tab:hover {
  background: var(--bg);
  color: var(--ink);
}
.gal-tab.is-active {
  background: var(--ink);
  color: var(--bg);
}
.gal-tab-n {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  opacity: 0.55;
}
.gal-tab.is-active .gal-tab-n {
  color: var(--accent);
  opacity: 1;
}
@media (max-width: 820px) {
  .gal-tabs {
    border-radius: 14px;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .gal-tab { flex-shrink: 0; }
}

.gal-featured { margin-top: 8px; }
.gal-caption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
  font-size: 14.5px;
  color: var(--ink-3);
}
.gal-caption .mono { color: var(--ink-4); }
.gal-caption strong {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
}
.gal-caption-note { color: var(--ink-3); }

/* ============ Uploader ============ */
.up-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 820px) { .up-card { padding: 24px; } }
.up-head { margin-bottom: 24px; }
.up-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 8px 0 8px;
}
.up-sub { color: var(--ink-3); margin: 0; max-width: 54ch; }

.up-drop {
  display: block;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.up-drop:hover, .up-drop.is-drag {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.up-icon {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--accent);
  display: grid; place-items: center;
  margin: 0 auto 16px;
}
.up-drop-title {
  font-family: var(--ff-display);
  font-size: 28px;
  margin-bottom: 4px;
}
.up-drop-sub { color: var(--ink-3); font-size: 14.5px; }
.up-chips {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 20px; flex-wrap: wrap;
}
.chip {
  font-size: 12px;
  color: var(--ink-3);
  background: var(--bg-2);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.up-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) { .up-stage-grid { grid-template-columns: 1fr; } }
.up-fig { margin: 0; }
.up-fig figcaption {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.wm-tag { color: var(--accent); }
.up-img-wrap {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
}
.up-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.up-img-wrap-after { background: linear-gradient(135deg, var(--accent-soft), var(--bg-3)); }
.up-placeholder {
  display: flex; gap: 10px; align-items: center;
  color: var(--ink-3);
  font-size: 14px;
}
.up-placeholder.is-working { color: var(--accent); }
.muted { color: var(--ink-4); }
.spinner { animation: spin 1s linear infinite; display: inline-flex; }
@keyframes spin { to { transform: rotate(360deg); } }

.up-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}
.up-err {
  background: oklch(0.96 0.04 25);
  border: 1px solid oklch(0.85 0.08 25);
  color: oklch(0.4 0.12 25);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
}

/* ============ Pricing ============ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 16px;
}
.price-card.is-hl {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
  position: relative;
}
.price-card.is-hl .price-tag { background: var(--accent); color: white; border-color: transparent; }
.price-card.is-hl .price-check { color: var(--accent); }
.price-card.is-hl .btn-primary {
  background: var(--bg);
  color: var(--ink);
}
.price-card.is-hl .btn-primary:hover {
  background: var(--accent);
  color: white;
}
.price-head {
  display: flex; justify-content: space-between; align-items: center;
}
.price-name {
  font-family: var(--ff-display);
  font-size: 24px;
}
.price-tag {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  padding: 4px 9px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
}
.price-amt { display: flex; align-items: baseline; gap: 6px; }
.price-n { font-family: var(--ff-display); font-size: 56px; line-height: 1; }
.price-u { font-size: 14px; color: var(--ink-3); }
.price-card.is-hl .price-u { color: oklch(0.75 0.01 60); }
.price-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; }
.price-check { color: var(--accent); font-weight: 600; }
.price-cta { width: 100%; margin-top: auto; }
.price-foot {
  text-align: center;
  color: var(--ink-3);
  margin-top: 28px;
  font-size: 14.5px;
}
.price-solo {
  display: flex;
  justify-content: center;
}
.price-solo .price-card {
  width: 100%;
  max-width: 460px;
}

/* ============ Agent / reseller block ============ */
.agent-block {
  background: var(--ink);
  color: var(--bg);
  padding: 96px 28px;
  border-top: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
}
@media (max-width: 820px) { .agent-block { padding: 64px 20px; } }
.agent-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 920px) { .agent-inner { grid-template-columns: 1fr; gap: 40px; } }
.agent-block .eyebrow {
  color: var(--accent);
  border-color: color-mix(in oklab, var(--accent) 50%, transparent);
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.agent-h {
  color: var(--bg);
  margin: 12px 0 18px;
  max-width: 18ch;
}
.agent-p {
  color: oklch(0.78 0.01 60);
  font-size: 17px;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 0 28px;
}
.agent-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
@media (max-width: 600px) { .agent-feats { grid-template-columns: 1fr; } }
.agent-feats li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: oklch(0.82 0.01 60);
  line-height: 1.5;
}
.agent-feats li b { color: var(--bg); font-weight: 600; }
.agent-bullet {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 3px;
  flex-shrink: 0;
}
.agent-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.agent-block .btn-primary {
  background: var(--bg);
  color: var(--ink);
}
.agent-block .btn-primary:hover { background: var(--accent); color: white; }
.agent-block .btn-ghost {
  background: transparent;
  color: var(--bg);
  border: 1px solid color-mix(in oklab, var(--bg) 30%, transparent);
}
.agent-block .btn-ghost:hover {
  border-color: var(--bg);
  background: color-mix(in oklab, var(--bg) 6%, transparent);
}

.agent-card {
  background: color-mix(in oklab, var(--bg) 5%, var(--ink));
  border: 1px solid color-mix(in oklab, var(--bg) 12%, transparent);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.agent-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
  font-size: 12px;
  color: oklch(0.65 0.01 60);
}
.agent-card-head .mono { font-size: 11.5px; letter-spacing: 0.04em; }
.agent-card-pill {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 9px;
  border: 1px solid color-mix(in oklab, var(--accent) 50%, transparent);
  border-radius: 999px;
}
.agent-card-body { padding: 28px 24px 24px; }
.agent-stat { margin-bottom: 22px; }
.agent-stat-n {
  font-family: var(--ff-display);
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.agent-stat-u {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.65 0.01 60);
  margin-top: 6px;
}
.agent-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
}
.agent-stat-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agent-stat-mini b {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--bg);
}
.agent-stat-mini span {
  font-size: 11px;
  color: oklch(0.6 0.01 60);
  line-height: 1.3;
}
.agent-card-foot {
  margin-top: 18px;
  font-size: 13.5px;
  color: oklch(0.72 0.01 60);
  line-height: 1.55;
}

/* White-label dashboard mock */
.wl-row {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
}
.wl-row:last-of-type { border-bottom: none; }
.wl-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  position: relative;
  background: oklch(0.35 0.02 60);
  border: 1px solid color-mix(in oklab, var(--bg) 12%, transparent);
  overflow: hidden;
}
.wl-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.04) 45%, rgba(255,255,255,0.04) 55%, transparent 55%),
    radial-gradient(60% 40% at 50% 60%, rgba(255,255,255,0.08), transparent);
}
.wl-thumb-1 { background: linear-gradient(135deg, oklch(0.32 0.02 60), oklch(0.42 0.02 60)); }
.wl-thumb-2 { background: linear-gradient(135deg, oklch(0.35 0.03 80), oklch(0.45 0.03 80)); }
.wl-thumb-3 { background: linear-gradient(135deg, oklch(0.3 0.04 250), oklch(0.42 0.03 250)); }
.wl-thumb-after.wl-thumb-1 { background: linear-gradient(135deg, oklch(0.78 0.04 70), oklch(0.88 0.04 80)); }
.wl-thumb-after.wl-thumb-2 { background: linear-gradient(135deg, oklch(0.82 0.05 90), oklch(0.9 0.05 95)); }
.wl-thumb-after.wl-thumb-3 { background: linear-gradient(135deg, oklch(0.68 0.06 250), oklch(0.82 0.05 240)); }
.wl-thumb-tag {
  position: absolute;
  top: 6px; left: 6px;
  font-family: var(--ff-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  padding: 2px 5px;
  border-radius: 2px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.85);
}
.wl-thumb-tag-after {
  background: var(--accent);
  color: white;
}
.wl-arrow {
  font-family: var(--ff-mono);
  color: oklch(0.55 0.01 60);
  text-align: center;
  font-size: 14px;
}

/* ============ FAQ ============ */
.faq-list { max-width: 860px; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink);
}
.faq-q:hover { color: var(--accent); }
.faq-plus {
  font-family: var(--ff-sans);
  font-size: 28px;
  color: var(--ink-3);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  flex-shrink: 0;
  font-weight: 300;
}
.faq-item.is-open .faq-plus { color: var(--accent); border-color: var(--accent); }
.faq-a-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-a-wrap { max-height: 400px; }
.faq-a {
  margin: 0 0 24px;
  color: var(--ink-3);
  font-size: 16px;
  max-width: 62ch;
}

/* ============ Footer CTA ============ */
.footer-cta {
  background: var(--ink);
  color: var(--bg);
  max-width: none;
  width: 100%;
  padding: 120px 28px 40px;
  margin-top: 40px;
}
.fcta-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.fcta-h { margin: 14px 0 32px; color: var(--bg); }
.fcta-h em { color: var(--accent); }
.fcta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.foot {
  max-width: 1280px;
  margin: 80px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: oklch(0.7 0.01 60);
  font-size: 13.5px;
}
.foot-l { display: flex; align-items: center; gap: 16px; }
.foot-l .logo { color: var(--bg); }
.foot-l .logo-word-dim { color: oklch(0.6 0.01 60); }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a:hover { color: var(--bg); }

/* ============ Modal ============ */
.modal-scrim {
  position: fixed; inset: 0;
  background: rgba(20,14,8,0.5);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  z-index: 100;
  padding: 20px;
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: pop 0.25s ease;
}
@keyframes pop { from { transform: translateY(10px) scale(0.98); opacity: 0; } }
.modal-x {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid; place-items: center;
  font-size: 20px;
  color: var(--ink-3);
}
.modal-h {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 32px;
  margin: 8px 0 12px;
  line-height: 1.1;
}
.modal-p { color: var(--ink-3); margin: 0 0 20px; }
.modal-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  margin-bottom: 20px;
}
.mf { display: flex; gap: 8px; font-size: 14px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 12px; }
.modal-foot { font-size: 12.5px; color: var(--ink-4); text-align: center; margin: 0; }

/* Try section wrapper */
.try-section { background: var(--bg-2); max-width: none; padding: 96px 28px; }
.try-inner { max-width: 1000px; margin: 0 auto; }

/* Trust line under the hero proof bar */
.hero-platforms {
  margin: 14px 0 0;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
