/* =========================================================
   ClientCloser.ai — Design System
   "Chancery" — forest green + brass on ink and parchment.
   Bordered, flat, numerate. A filed brief, not a chat app.
   ========================================================= */

:root {
  /* Color */
  --bg: #F5F2E8;
  --bg-alt: #ECE4CD;
  --card: #FFFFFF;
  --ink: #17231C;
  --ink-muted: #54503E;
  --ink-faint: #8C8265;

  --line: rgba(23, 35, 28, 0.15);
  --line-strong: rgba(23, 35, 28, 0.32);

  --accent: #1E4430;
  --accent-dark: #123020;
  --accent-tint: #DCE6DE;
  --accent-tint-line: #B7CCBB;

  --accent2: #A9822E;
  --accent2-dark: #7C5F1F;
  --accent2-tint: #F4E9D1;

  --dark: #12190F;
  --dark-elevated: #1C2618;
  --dark-ink: #F3EFE1;
  --dark-ink-muted: #C0B99C;
  --dark-line: rgba(243, 239, 225, 0.16);

  --success: #3F6B4A;
  --warn: #8A4420;

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Scale — sharp, not soft. Nothing here is a pill. */
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-full: 3px;

  --shadow-sm: 0 1px 0 rgba(23, 35, 28, 0.09);
  --shadow-md: 3px 3px 0 rgba(23, 35, 28, 0.07);
  --shadow-lg: 6px 6px 0 rgba(23, 35, 28, 0.08);

  --container: 1180px;
  --container-narrow: 780px;

  color-scheme: light;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 1px;
}

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.accent { font-style: italic; color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede {
  font-size: clamp(1.03rem, 1.3vw, 1.2rem);
  color: var(--ink-muted);
  line-height: 1.65;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; }

/* =========================================================
   Layout helpers
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 6.5rem 0; }
.section-sm { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--dark-ink); }
.section-dark .lede { color: var(--dark-ink-muted); }

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-sm { gap: 0.6rem; }
.gap-md { gap: 1.2rem; }
.gap-lg { gap: 2rem; }

.divider { height: 1px; background: var(--line); border: none; width: 100%; }

/* =========================================================
   Buttons — rectangular, tracked, no lift-and-glow
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(23, 35, 28, 0.05); }

.btn-light {
  background: var(--dark-ink);
  color: var(--dark);
  border-color: var(--dark-ink);
}
.btn-light:hover { background: #FFFFFF; border-color: #FFFFFF; }

.btn-on-dark {
  background: transparent;
  color: var(--dark-ink);
  border-color: var(--dark-line);
}
.btn-on-dark:hover { border-color: var(--dark-ink); background: rgba(243, 239, 227, 0.07); }

.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.76rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, gap 0.15s ease, color 0.15s ease;
}
.link-arrow:hover { border-color: var(--accent); color: var(--accent); gap: 0.6rem; }
.link-arrow svg { width: 15px; height: 15px; flex: none; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
/* Letterhead rule — the top-most signature of the whole system */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--accent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.logo {
  display: flex;
  align-items: center;
  flex: none;
}
.logo-img { height: 64px; width: auto; display: block; }
.logo-on-dark .logo-img { height: 52px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active,
.nav-links .nav-drop-toggle.active { color: var(--ink); }
.nav-links a.active::after,
.nav-links .nav-drop-toggle.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -24px;
  height: 2px;
  background: var(--accent);
}

/* Desktop "Who It's For" dropdown */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: none;
  border: none;
  padding: 0;
  position: relative;
  transition: color 0.15s ease;
}
.nav-drop-toggle:hover { color: var(--ink); }
.nav-drop-toggle .chev { width: 13px; height: 13px; transition: transform 0.2s ease; }
.nav-drop.open .nav-drop-toggle .chev { transform: rotate(180deg); }
.nav-drop::after { content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: 16px; }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 300px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--accent);
  border-radius: 0;
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 90;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: normal;
  line-height: 1.35;
}
.nav-drop-menu a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-drop-menu a.current { color: var(--accent); font-weight: 700; }
.nav-drop-menu a.overview {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 0.35rem;
  padding-bottom: 0.7rem;
}

.header-cta { display: flex; align-items: center; gap: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 90px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 2rem 28px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-nav .header-cta { margin-top: 2rem; flex-direction: column; align-items: stretch; }

/* Mobile "Who It's For" expandable group */
.mnav-group { border-bottom: 1px solid var(--line); }
.mnav-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  padding: 0.65rem 0;
  color: var(--ink);
  background: none;
  border: none;
  text-align: left;
}
.mnav-group-toggle .chev { width: 22px; height: 22px; flex: none; transition: transform 0.2s ease; }
.mnav-group.open .mnav-group-toggle .chev { transform: rotate(180deg); }
.mnav-group-list { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.mnav-group.open .mnav-group-list { max-height: 640px; }
.mnav-group-list a {
  display: block;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  padding: 0.55rem 0 0.55rem 0.25rem;
  color: var(--ink-muted);
  border-bottom: none;
}
.mnav-group-list a:first-child { font-weight: 700; color: var(--ink); }
.mnav-group-list a.current { color: var(--accent); }

body.nav-open { overflow: hidden; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: 5rem 0 5.5rem; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { margin-top: 1.1rem; }
.hero .lede { margin-top: 1.4rem; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero-proof { margin-top: 3rem; }
.hero-proof p { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; }
.logo-row { display: flex; align-items: center; gap: 2.2rem; flex-wrap: wrap; opacity: 0.75; }
.logo-row .logo-chip {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink-faint);
}

/* Hero visual — a filed exhibit, not a floating chat glow */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv-blob {
  position: absolute;
  inset: 7%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: -4px -4px;
}
.hv-card {
  position: relative;
  width: 82%;
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  padding: 1.7rem;
}
.hv-card-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.hv-dot { width: 8px; height: 8px; border-radius: 1px; background: var(--success); }
.hv-card-head span { font-size: 0.8rem; font-weight: 600; color: var(--ink-muted); }
.hv-bubble {
  border: none;
  border-left: 3px solid var(--line-strong);
  border-radius: 0;
  padding: 0.6rem 0 0.6rem 0.9rem;
  font-size: 0.87rem;
  margin-bottom: 0.7rem;
  max-width: 96%;
  color: var(--ink-muted);
}
.hv-bubble.in { border-left-color: var(--line-strong); }
.hv-bubble.out { border-left-color: var(--accent); color: var(--ink); margin-left: 0; }
.hv-metric-row { display: flex; gap: 0; margin-top: 1.4rem; border-top: 1px solid var(--line); }
.hv-metric {
  flex: 1;
  background: transparent;
  border-radius: 0;
  padding: 0.9rem 0.9rem 0 0;
}
.hv-metric + .hv-metric { border-left: 1px solid var(--line); padding-left: 0.9rem; }
.hv-metric b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 1.35rem; }
.hv-metric span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }

.hv-float {
  position: absolute;
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: 0;
  padding: 0.7rem 0.95rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hv-float.a { top: -3%; right: -4%; }
.hv-float.b { bottom: -3%; left: -6%; background: var(--card); color: var(--ink); border: 1px solid var(--ink); box-shadow: var(--shadow-md); }
.hv-float .pulse {
  width: 6px; height: 6px; border-radius: 1px; background: var(--accent2);
  flex: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 107, 74, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(63, 107, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 107, 74, 0); }
}

/* =========================================================
   Chat demo — reads as a correspondence transcript, not a
   messenger UI. No bubbles: a left rule marks each speaker,
   the timestamp sits above the line like a memo header.
   Reusable: powers the hero and every practice-page sample.
   ========================================================= */
.chat-demo { display: flex; flex-direction: column; }
.chat-demo-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
}
.chat-demo-avatar {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  overflow: hidden;
}
.chat-demo-avatar img { width: 20px; height: auto; display: block; }
.chat-demo-title { flex: 1; min-width: 0; }
.chat-demo-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-demo-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint);
}
.chat-demo-status .dot {
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--success);
  flex: none;
}
.chat-demo-replay {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.38rem 0.7rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chat-demo-replay:hover { border-color: var(--ink); color: var(--ink); }
.chat-demo-replay svg { width: 12px; height: 12px; }

.chat-demo-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 260px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: none;
  padding-right: 2px;
}
.chat-demo-body::-webkit-scrollbar { display: none; }

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 100%;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 3px solid var(--line-strong);
  animation: chatIn 0.32s ease both;
}
.chat-msg.out { border-left-color: var(--accent); }
.chat-bubble {
  border-radius: 0;
  padding: 0;
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--ink);
}
.chat-msg-time {
  order: -1;
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.chat-msg.out .chat-msg-time { color: var(--accent); }

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 3px solid var(--accent);
  padding: 0.85rem 0 0.85rem 1rem;
  animation: chatIn 0.32s ease both;
}
.chat-typing span {
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--ink-faint);
  animation: chatTyping 1.1s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes chatTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-msg, .chat-typing { animation: none; }
  .chat-demo-status .dot { animation: none; }
}

/* =========================================================
   Cards / Features
   ========================================================= */
.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.card:hover { border-color: var(--ink); background: var(--card); }

.photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.photo-card img { width: 100%; height: 100%; display: block; object-fit: cover; }

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.15s ease;
}
.card:hover .card-cta { gap: 0.55rem; }
.card-cta svg { width: 13px; height: 13px; }

/* Jump-to select (Who It's For hub) */
.jump-select-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0;
}
.jump-select-label { font-weight: 700; font-size: 0.94rem; color: var(--ink); flex: none; }
.select-wrap { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.8rem 2.6rem 0.8rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.select-wrap select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.select-wrap .select-chev {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--ink-faint);
  pointer-events: none;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  margin-bottom: 1.4rem;
}
.icon-tile svg { width: 20px; height: 20px; color: var(--ink); }
.icon-tile.alt { border-color: var(--accent); }
.icon-tile.alt svg { color: var(--accent); }

.feature-card h3 { margin-bottom: 0.7rem; font-size: 1.25rem; }
.feature-card p { color: var(--ink-muted); font-size: 0.97rem; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent-tint-line);
  background: var(--accent-tint);
  color: var(--accent-dark);
}
.tag.alt { background: var(--accent2-tint); color: var(--accent2-dark); border-color: var(--accent2); }
.tag.dark { background: var(--dark-elevated); color: var(--dark-ink); border-color: var(--dark-line); }
.tag.sm { padding: 0.18rem 0.5rem; font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; }

.card.is-upcoming .icon-tile { opacity: 0.5; }
.card.is-upcoming h4 { color: var(--ink-muted); }
.card.is-upcoming h4 .tag { vertical-align: middle; margin-left: 0.5rem; }

/* =========================================================
   Stats — ledger numerals throughout, set in mono
   ========================================================= */
.stat-block b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: var(--ink);
}
.stat-block span { color: var(--ink-muted); font-size: 0.9rem; }
.section-dark .stat-block span { color: var(--dark-ink-muted); }

/* =========================================================
   Steps (How it works)
   ========================================================= */
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.6rem;
  padding: 2.1rem 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--accent);
}
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-muted); max-width: 560px; }

/* =========================================================
   Ramp-up chart (How it works)
   ========================================================= */
.ramp-chart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
  padding: 2.2rem 2.2rem 1.4rem;
}
.ramp-chart { width: 100%; height: auto; display: block; }
.ramp-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-faint);
}

/* =========================================================
   Commitment band
   ========================================================= */
.commitment-band {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent2);
  border-radius: 0;
  box-shadow: none;
  padding: 2.1rem;
}
.commitment-band .icon-tile { margin-bottom: 0; flex: none; }
.commitment-band p { color: var(--ink-muted); }
@media (max-width: 640px) {
  .commitment-band { flex-direction: column; }
}

/* =========================================================
   Testimonial / Quote — an editorial pull-quote, no star
   ratings, no avatar photo
   ========================================================= */
.quote-card {
  background: transparent;
  border: none;
  border-top: 3px solid var(--ink);
  padding: 1.8rem 0 0;
}
.quote-card p.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
}
.quote-person { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; }
.avatar {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  flex: none;
}
.quote-person div span { display: block; }
.quote-person .name { font-weight: 600; font-size: 0.94rem; }
.quote-person .role { font-size: 0.83rem; color: var(--ink-faint); }
.stars { display: none; }

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
  gap: 1rem;
}
.faq-q .plus {
  flex: none;
  width: 24px; height: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 10px; height: 1.4px; }
.faq-q .plus::after { width: 1.4px; height: 10px; transition: opacity 0.2s ease; }
.faq-item.open .plus { background: var(--accent); border-color: var(--accent); }
.faq-item.open .plus::before, .faq-item.open .plus::after { background: #fff; }
.faq-item.open .plus::after { opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding-bottom: 1.5rem; color: var(--ink-muted); max-width: 640px; }

/* =========================================================
   Tables (Compare / Pricing)
   ========================================================= */
.table-wrap { overflow-x: auto; border-radius: 0; border: 1px solid var(--ink); background: var(--card); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
table.compare thead th {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-alt);
  border-bottom: 2px solid var(--ink);
}
table.compare tbody th { font-weight: 600; color: var(--ink-muted); font-size: 0.89rem; }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: none; }
table.compare td.highlight { background: var(--accent-tint); }
.check { color: var(--success); }
.cross { color: var(--ink-faint); }

/* Pricing — all three cards share one language; the featured
   plan is marked by a rule and a tag, never a color inversion */
.pricing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 2.3rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--ink);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: 0; left: 2rem;
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 0;
}
.price-name { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; color: var(--ink-muted); }
.price-value { font-family: var(--font-mono); font-weight: 500; font-size: 2.7rem; margin: 0.7rem 0 0.2rem; }
.price-sub { font-size: 0.86rem; color: var(--ink-faint); margin-bottom: 1.6rem; }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.pricing-feature svg { width: 15px; height: 15px; color: var(--success); flex: none; margin-top: 3px; }
.pricing-card .btn { margin-top: 1.8rem; }

/* Billing toggle — segmented, sharp corners */
.billing-toggle {
  display: flex;
  justify-content: center;
  margin: 0 auto 3rem;
}
.billing-switch {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 3px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.billing-opt {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  margin: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 0.6rem 1.4rem;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.billing-opt:hover { color: var(--ink); }
.billing-opt.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line-strong);
  cursor: default;
}
.billing-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.billing-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  transition: background 0.18s ease, color 0.18s ease;
}
.billing-opt.is-active .billing-tag { background: var(--accent); color: #fff; }
@media (max-width: 460px) {
  .billing-opt { padding: 0.55rem 1rem; font-size: 0.82rem; gap: 0.4rem; }
  .billing-tag { font-size: 0.6rem; padding: 0.18rem 0.4rem; }
}

/* =========================================================
   Forms
   ========================================================= */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-muted); }
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--card);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); }

.newsletter-row {
  display: flex;
  gap: 0;
  max-width: 380px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.newsletter-row input {
  flex: 1;
  padding: 0.75rem 0.9rem;
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--dark-ink);
  font-size: 0.89rem;
}
.newsletter-row input::placeholder { color: var(--dark-ink-muted); }
.newsletter-row input:focus { outline: none; background: var(--dark-elevated); }
.newsletter-row button {
  padding: 0.75rem 1.2rem;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex: none;
  transition: background 0.15s ease;
}
.newsletter-row button:hover { background: var(--accent-dark); }
.form-status { font-size: 0.85rem; margin-top: 0.5rem; min-height: 1.2em; }
.form-status.ok { color: var(--accent2); }
.form-status.error { color: #A5342A; }

/* Honeypot — present in the DOM for bots, invisible and unreachable for people */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* =========================================================
   Tabs (radio-driven, no JS)
   ========================================================= */
.tab-input { position: absolute; opacity: 0; pointer-events: none; }
.tab-nav { display: flex; gap: 0.5rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.tab-label {
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  user-select: none;
}
.tab-label:hover { border-color: var(--ink); }
.tab-panel { display: none; }
#tab-instagram:checked ~ .tab-panels #panel-instagram,
#tab-chat:checked ~ .tab-panels #panel-chat,
#tab-sms:checked ~ .tab-panels #panel-sms { display: block; }
#tab-instagram:checked ~ .tab-nav label[for="tab-instagram"],
#tab-chat:checked ~ .tab-nav label[for="tab-chat"],
#tab-sms:checked ~ .tab-nav label[for="tab-sms"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 2rem;
  min-height: 220px;
}
.mockup-list { display: flex; flex-direction: column; gap: 0.6rem; }
.mockup-row { display: flex; align-items: center; gap: 0.8rem; background: var(--card); border: 1px solid var(--line); border-radius: 0; padding: 0.8rem 1rem; font-size: 0.87rem; }
.mockup-row .dot { width: 6px; height: 6px; border-radius: 1px; background: var(--success); flex: none; }
.mockup-bar { height: 8px; border-radius: 0; background: var(--line-strong); flex: 1; }
.mockup-bar.short { max-width: 40%; }

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 0; }
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  border-radius: 0;
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 480px; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Live-demo CTA — flat panel with a rule, no gradient wash */
.demo-cta {
  text-align: center;
  border-radius: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: clamp(2.6rem, 5vw, 4.2rem) 1.75rem;
  background: var(--card);
}
.demo-cta .eyebrow { justify-content: center; margin-bottom: 1.1rem; }
.demo-cta h2 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.1;
}
.demo-cta .lede { max-width: 560px; margin: 1.2rem auto 0; }
.demo-cta .hero-actions { justify-content: center; margin-top: 2.3rem; }
.demo-cta-checks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.demo-cta-checks li { display: inline-flex; align-items: center; gap: 0.45rem; }
.demo-cta-checks li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--success);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: 5rem 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.footer-brand p { color: var(--dark-ink-muted); font-size: 0.92rem; margin-top: 1rem; max-width: 260px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; color: var(--dark-ink-muted); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a { font-size: 0.92rem; color: var(--dark-ink); opacity: 0.85; transition: opacity 0.15s ease; }
.footer-col a:hover { opacity: 1; }
.footer-newsletter h4 { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; color: var(--dark-ink-muted); margin-bottom: 1rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-line);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.84rem; color: var(--dark-ink-muted); }
.footer-legal { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-parent a { color: var(--dark-ink); opacity: 0.85; text-decoration: underline; text-underline-offset: 2px; transition: opacity 0.15s ease; }
.footer-parent a:hover { opacity: 1; }
.social-row { display: flex; gap: 0.7rem; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.social-row a:hover { border-color: var(--dark-ink); background: var(--dark-elevated); }
.social-row svg { width: 16px; height: 16px; }

/* =========================================================
   Page header (interior pages)
   ========================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .current { color: var(--ink-muted); font-weight: 600; }

.page-header { padding: 4.5rem 0 4rem; }
.page-header .eyebrow { margin-bottom: 1rem; }
.page-header h1 { max-width: 780px; }
.page-header .lede { max-width: 620px; margin-top: 1.3rem; }

/* =========================================================
   Legal pages (Privacy / Terms)
   ========================================================= */
.legal-meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.legal-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legal-meta svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

.legal-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 6rem;
}
.legal-toc { position: sticky; top: 100px; }
.legal-toc-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.legal-toc ol { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; counter-reset: none; padding: 0; }
.legal-toc a {
  display: block;
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-left: 2px solid var(--line);
  line-height: 1.4;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.legal-toc a:hover { color: var(--ink); border-left-color: var(--accent); }

.legal-content { min-width: 0; max-width: 720px; }
.legal-intro { font-size: 0.98rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 2.5rem; }
.legal-section { scroll-margin-top: 108px; margin-bottom: 3rem; }
#contact { scroll-margin-top: 100px; }
.legal-section h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  padding-bottom: 0.8rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.legal-section h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.7rem 0 0.6rem;
}
.legal-section h3:first-of-type { margin-top: 0.5rem; }
.legal-section p { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.75; margin-bottom: 0.9rem; }
.legal-section p strong { color: var(--ink); }
.legal-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-section ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin: 0.6rem 0 1.2rem; }
.legal-section ul li { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.65; padding-left: 1.3rem; position: relative; }
.legal-section ul li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 6px; height: 1.4px; background: var(--accent); }
.legal-section ul li strong { color: var(--ink); }

.legal-callout, .legal-warning {
  border-radius: 0;
  padding: 1.1rem 1.3rem;
  margin: 0.4rem 0 1.3rem;
  border: 1px solid;
  border-left-width: 3px;
}
.legal-callout { background: var(--accent-tint); border-color: var(--accent-tint-line); border-left-color: var(--accent); }
.legal-callout p { color: var(--ink); font-size: 0.92rem; font-style: italic; margin: 0; }
.legal-warning { background: var(--accent2-tint); border-color: var(--accent2); }
.legal-warning p { color: var(--ink); font-size: 0.92rem; margin: 0; }
.legal-warning strong { color: var(--accent2-dark); }

.legal-contact-box {
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: 0;
  padding: 1.8rem 2rem;
  margin-top: 1rem;
}
.legal-contact-box .legal-contact-name { color: var(--dark-ink); font-weight: 700; margin-bottom: 0.7rem; font-size: 1rem; }
.legal-contact-box p { color: var(--dark-ink-muted); font-size: 0.92rem; line-height: 2; margin: 0; }
.legal-contact-box a { color: var(--accent-tint); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

/* =========================================================
   Utility
   ========================================================= */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.5rem; } .mt-4 { margin-top: 4rem; }
.text-muted { color: var(--ink-muted); }
.text-faint { color: var(--ink-faint); }
.w-full { width: 100%; }
.badge-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hidden { display: none; }

/* =========================================================
   Booking slot picker
   ========================================================= */
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.slot {
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.day-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; overflow-x: auto; }
.day-pill {
  flex: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--ink-muted);
}
.day-pill.active { background: var(--ink); color: #fff; }

.expect-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.expect-item:last-child { border-bottom: 1px solid var(--line); }
.expect-num {
  flex: none;
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--accent-tint-line);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .logo-img { height: 52px; }
  .logo-on-dark .logo-img { height: 46px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .cta-band { padding: 2.4rem; flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 1fr; gap: 0.6rem; }
  .hv-float { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================
   Exit-intent popup
   ========================================================= */
body.popup-open { overflow: hidden; }

.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 25, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.exit-popup-overlay.open { opacity: 1; visibility: visible; }
.exit-popup-card {
  position: relative;
  background: var(--card);
  border-radius: 0;
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  padding: 2.6rem 2.2rem 2.2rem;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.exit-popup-overlay.open .exit-popup-card { transform: translateY(0); }
.exit-popup-card .eyebrow { justify-content: center; }
.exit-popup-card h3 { margin: 0.6rem 0 0.6rem; }
.exit-popup-lede { color: var(--ink-muted); margin: 0 0 1.4rem; }
.exit-popup-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.exit-popup-close:hover { background: var(--bg-alt); color: var(--ink); }
.exit-popup-field-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: left;
}
.exit-popup-field-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.exit-popup-field-row input[type="email"]:focus { outline: none; background: var(--card); }
.exit-popup-field-row button {
  padding: 0.8rem 1.2rem;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex: none;
  transition: background 0.15s ease;
}
.exit-popup-field-row button:hover { background: var(--accent-dark); }
.exit-popup-card .form-status { text-align: center; }

@media (max-width: 520px) {
  .exit-popup-field-row { flex-direction: column; }
  .exit-popup-field-row button { width: 100%; }
}

/* =========================================================
   Try It Live — floating CTA (all pages) + channel picker page
   ========================================================= */
.try-live-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem 0.75rem 0.95rem;
  border-radius: 0;
  background: var(--dark);
  color: var(--dark-ink);
  border-top: 2px solid var(--accent);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1;
  box-shadow: var(--shadow-md);
  transition: background 0.15s ease;
}
.try-live-fab:hover { background: var(--dark-elevated); }
.try-live-fab svg { width: 19px; height: 19px; flex: none; }
.try-live-fab-dot {
  position: absolute;
  top: 6px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--success);
}
@media (max-width: 560px) {
  .try-live-fab { right: 14px; bottom: 14px; padding: 0.7rem; }
  .try-live-fab-label { display: none; }
  .try-live-fab svg { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .try-live-fab, .try-live-fab:hover { transition: none; }
}

.pick-app-hero { padding: 4.5rem 0 6rem; }
.pick-app-hero .lede { max-width: 540px; margin-left: auto; margin-right: auto; }
.pick-app-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 460px;
  margin: 2.75rem auto 0;
}
.pick-app-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: none;
  transition: filter 0.15s ease;
}
.pick-app-btn:hover { filter: brightness(1.06); }
.pick-app-btn.is-pending {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}
.pick-app-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pick-app-icon svg { width: 19px; height: 19px; display: block; }
.pick-app-whatsapp  { background: linear-gradient(135deg, #25D366, #128C7E); }
.pick-app-whatsapp  .pick-app-icon svg { color: #1EBE57; }
.pick-app-messenger { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.pick-app-messenger .pick-app-icon svg { color: #0084FF; }
.pick-app-instagram { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.pick-app-instagram .pick-app-icon svg { color: #DD2A7B; }
.pick-app-telegram  { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.pick-app-telegram  .pick-app-icon svg { color: #229ED9; }
.pick-app-note {
  max-width: 460px;
  margin: 1.9rem auto 0;
  font-size: 0.89rem;
  line-height: 1.6;
  color: var(--ink-muted);
  background: var(--bg-alt);
  border-left: 3px solid var(--accent2);
  border-radius: 0;
  padding: 0.9rem 1.1rem;
  text-align: left;
}
@media (prefers-reduced-motion: reduce) {
  .pick-app-btn, .pick-app-btn:hover { transition: none; }
}

/* =========================================================
   Results ledger (home page performance preview)
   A bordered, light table — not a dark app screenshot.
   ========================================================= */
.dash-preview {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  color: var(--ink);
}
.dash-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.6rem 1.8rem;
  border-bottom: 2px solid var(--ink);
}
.dash-preview-head h3 { color: var(--ink); font-size: 1.3rem; }
.dash-preview-head p { font-family: var(--font-mono); color: var(--ink-faint); font-size: 0.78rem; margin-top: 0.4rem; }
.dash-range {
  display: flex;
  gap: 0;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.dash-range span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0.35rem 0.7rem;
}
.dash-range span.active { background: var(--ink); color: var(--dark-ink); }

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
}
.dash-tile {
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 1.1rem 1rem 1rem;
  min-width: 0;
}
.dash-tile:last-child { border-right: none; }
.dash-tile-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-tile-value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 0.4rem 0 0.2rem;
  color: var(--ink);
}
.dash-tile-delta { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; }
.dash-tile-delta.up { color: var(--success); }
.dash-spark { width: 100%; height: 24px; margin-top: 0.5rem; display: block; overflow: visible; }

.dash-chart {
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.4rem 1.8rem 1.6rem;
}
.dash-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.dash-chart-head h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.dash-legend { display: flex; gap: 1rem; flex-wrap: wrap; }
.dash-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}
.dash-legend span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 1px;
  background: var(--dot, var(--accent));
  flex: none;
}
.dash-chart svg { width: 100%; height: auto; display: block; }
.dash-chart-grid { stroke: var(--line); stroke-width: 1; }
.dash-chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-faint);
}

.dash-caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-faint);
  margin-top: 1rem;
}
.dash-stat-row { margin-top: 3.5rem; }

@media (max-width: 860px) {
  .dash-tiles { grid-template-columns: repeat(3, 1fr); }
  .dash-tile:nth-child(3) { border-right: none; }
}
@media (max-width: 520px) {
  .dash-tiles { grid-template-columns: repeat(2, 1fr); }
  .dash-tile:nth-child(2n) { border-right: none; }
  .dash-preview-head { padding: 1.2rem 1.3rem; }
  .dash-chart { padding: 1.2rem 1.3rem 1.4rem; }
  .dash-tile-value { font-size: 1.2rem; }
}
