/* =============================================================================
   Trovepile marketing site — fresh design system
   Aesthetic: editorial bento + product-native highlighter accents
   ============================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  /* Palette */
  --paper: #f3ede1;
  --paper-warm: #ece4d3;
  --ink: #0e0e10;
  --ink-2: #1c1c20;
  --ink-soft: #3a3a40;
  --muted: #6b6b75;
  --muted-2: #9a9aa3;
  --line: rgba(14, 14, 16, 0.1);
  --line-strong: rgba(14, 14, 16, 0.2);

  --coral: #ff6a3d;
  --coral-2: #ff8a5b;
  --coral-deep: #d94d22;
  --highlight: #ffe45c;
  --sage: #3f6f47;
  --plum: #5a3d6f;
  --sky: #aac4e2;

  --surface: #ffffff;
  --surface-2: #faf6ec;

  /* Effects */
  --shadow-sm: 0 1px 0 rgba(14, 14, 16, 0.06), 0 2px 6px rgba(14, 14, 16, 0.04);
  --shadow-md: 0 1px 0 rgba(14, 14, 16, 0.06), 0 14px 36px rgba(14, 14, 16, 0.08);
  --shadow-lg: 0 1px 0 rgba(14, 14, 16, 0.08), 0 28px 64px rgba(14, 14, 16, 0.14);
  --shadow-stamp: 4px 4px 0 var(--ink);

  /* Type */
  --font-sans: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Geometry */
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --max: 1200px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 450;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 90% -10%, rgba(255, 106, 61, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(63, 111, 71, 0.07), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; height: auto; display: block; }

::selection {
  background: var(--highlight);
  color: var(--ink);
}

.site-shell {
  position: relative;
  overflow: clip;
}

/* ---------- Containers ---------- */

.header-inner,
.hero,
.page-section,
.footer-inner,
.cta-band,
.product-signal {
  width: min(calc(100% - 32px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

.page-section { padding: 88px 0; }
.page-hero { padding-top: 56px; padding-bottom: 24px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: linear-gradient(180deg, var(--paper) 60%, transparent);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-stamp);
}

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

.brand-logo-wrap {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--paper-warm);
  border: 1.5px solid var(--ink);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-logo {
  width: 30px;
  height: 30px;
  display: block;
  filter: none;
}

.brand-copy strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand-copy span {
  display: none;
}

.nav-links {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-pill);
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.active {
  color: var(--ink);
  background: var(--paper-warm);
}

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

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
  width: min(calc(100% - 32px), var(--max));
  margin: 12px auto 0;
  padding: 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-stamp);
}
.mobile-nav.open { display: block; }
.mobile-nav nav { display: grid; gap: 8px; }
.mobile-nav nav a,
.mobile-nav .mobile-login {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
}
.mobile-nav nav a:hover,
.mobile-nav .mobile-login:hover { background: var(--paper-warm); }
.mobile-nav .button { width: 100%; justify-content: center; margin-top: 10px; }

/* ---------- Buttons ---------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease), color 160ms var(--ease);
  white-space: nowrap;
}

.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.button:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.button.primary {
  background: var(--ink);
  color: var(--paper);
}
.button.primary:hover { background: var(--coral); color: var(--ink); }

.button.secondary {
  background: var(--surface);
  color: var(--ink);
}
.button.secondary:hover { background: var(--highlight); }

.button.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.button.ghost:hover { background: var(--surface); border-color: var(--ink); }

/* ---------- Type system ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow .mini-icon { width: 14px; height: 14px; color: var(--coral); }

/* Inline code inside copy (used in feature/FAQ AI sections) */
code {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  color: var(--ink);
}

.card.dark code,
.signal-card-primary code,
.cta-band code {
  background: rgba(243, 237, 225, 0.1);
  border-color: rgba(243, 237, 225, 0.18);
  color: var(--paper);
}

.display-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
  color: var(--ink);
}

.display-title > span { display: block; }

.display-title .gradient-text {
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.display-title .gradient-text::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.12em;
  height: 0.42em;
  background: var(--highlight);
  z-index: -1;
  border-radius: 4px;
  transform-origin: left center;
  transform: scaleX(0) skew(-3deg);
  animation: heroHighlightDraw 720ms cubic-bezier(.18, .8, .3, 1) 1.0s forwards;
}

@keyframes heroHighlightDraw {
  0%   { transform: scaleX(0) skew(-3deg); opacity: 0.7; }
  100% { transform: scaleX(1) skew(-3deg); opacity: 1; }
}

/* Headline staggered reveal */
.display-title > span {
  opacity: 0;
  transform: translateY(14px) rotate(-1deg);
  animation: heroLineRise 620ms cubic-bezier(.2, .8, .2, 1) forwards;
}
.display-title > span:nth-child(1) { animation-delay: 0.05s; }
.display-title > span:nth-child(2) { animation-delay: 0.18s; }
.display-title > span:nth-child(3) { animation-delay: 0.31s; }
.display-title > span:nth-child(4) { animation-delay: 0.44s; }

@keyframes heroLineRise {
  0%   { opacity: 0; transform: translateY(14px) rotate(-1deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}

.lead {
  margin: 22px 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.lead-pain {
  margin: 18px 0 0;
  max-width: 38rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.lead-pain strong { font-weight: 700; }

.section-heading h1,
.section-heading h2,
.page-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}

.section-heading p {
  margin: 16px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.muted-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(transparent 80%, var(--highlight) 80%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 240ms var(--ease);
  padding: 0 2px;
}
.muted-link::after { content: "→"; transition: transform 180ms var(--ease); }
.muted-link:hover { background-size: 100% 100%; }
.muted-link:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  gap: 48px;
  padding: 56px 0 48px;
}

.hero.hero-centered-layout {
  grid-template-columns: 1fr;
  text-align: left;
}

.hero-copy.hero-copy-centered {
  max-width: 980px;
}

.hero-copy.hero-copy-centered .eyebrow {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

/* Side-by-side hero from tablet landscape up — keeps the live demo visible above the fold */
@media (min-width: 960px) {
  .hero.hero-centered-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
  }
  .hero-copy.hero-copy-centered { max-width: none; }
  .hero-window-wrap { margin-top: 0; }
  .hero .display-title { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
  .hero .lead { max-width: 30rem; }
}

@media (min-width: 1180px) {
  .hero.hero-centered-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 72px;
  }
  .hero .display-title { font-size: clamp(2.8rem, 4.8vw, 4.6rem); }
  .hero .lead { max-width: 32rem; }
}

@media (min-width: 1440px) {
  .hero .display-title { font-size: clamp(3rem, 4.6vw, 4.8rem); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-audience {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 36rem;
}

.hero-audience-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.hero-audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-audience-list li {
  padding: 4px 11px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.hero-audience-list li:hover {
  transform: translateY(-1px);
  background: var(--paper-warm);
}

.hero-audience-list li::before { content: "•"; color: var(--coral); margin-right: 4px; font-weight: 700; }
.hero-audience-list li:nth-child(2)::before { color: var(--sage); }
.hero-audience-list li:nth-child(3)::before { color: var(--plum); }
.hero-audience-list li:nth-child(4)::before { color: var(--sky); }
.hero-audience-list li:nth-child(5)::before { color: var(--coral-deep); }

[data-hero-audience] {
  opacity: 0;
  transform: translateY(8px);
  animation: heroFadeUp 540ms cubic-bezier(.2, .8, .2, 1) 1.15s forwards;
}

@media (prefers-reduced-motion: reduce) {
  [data-hero-audience] { opacity: 1; transform: none; animation: none; }
  .hero-audience-list li:hover { transform: none; }
}

/* Hero product window */
.hero-window-wrap {
  position: relative;
  margin-top: 20px;
}

.hero-window {
  position: relative;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-stamp);
}

.hero-window-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper-warm);
}

.hero-window-dots { display: flex; gap: 8px; }
.hero-window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1.2px solid var(--ink);
}
.hero-window-dots span:nth-child(1) { background: var(--coral); }
.hero-window-dots span:nth-child(2) { background: var(--highlight); }
.hero-window-dots span:nth-child(3) { background: var(--sage); color: #fff; }

.hero-window-domain {
  justify-self: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-window-body {
  padding: 0;
  background: var(--surface);
}

.hero-window-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  border: none;
}

/* ---------- Hero motion + interactivity ---------- */

/* Lead, actions, note — staggered fade-in after the headline lines land */
[data-hero-lead],
[data-hero-actions],
[data-hero-note] {
  opacity: 0;
  transform: translateY(8px);
  animation: heroFadeUp 540ms cubic-bezier(.2, .8, .2, 1) forwards;
}
[data-hero-lead]    { animation-delay: 0.72s; }
[data-hero-actions] { animation-delay: 0.86s; }
[data-hero-note]    { animation-delay: 1.0s;  }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero stage entry */
[data-hero-stage] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  animation: heroStageEnter 820ms cubic-bezier(.2, .8, .2, 1) 0.4s forwards;
  perspective: 1400px;
}
@keyframes heroStageEnter {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Cursor parallax tilt — JS sets --tilt-x / --tilt-y */
[data-hero-window] {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 460ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

/* In-chrome "Live" pill */
.hero-window-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1.2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--paper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-window-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(108, 145, 117, 0.55);
  animation: heroLivePulse 1.9s ease-out infinite;
}
@keyframes heroLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(108, 145, 117, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(108, 145, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(108, 145, 117, 0); }
}

/* Floating stat stickers around the window */
.hero-sticker {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 0.78rem;
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  animation: heroStickerIn 600ms cubic-bezier(.2, .8, .2, 1) forwards;
}
.hero-sticker .mini-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper-warm);
  border: 1.2px solid var(--ink);
  flex-shrink: 0;
}
.hero-sticker .mini-icon svg { width: 16px; height: 16px; }
.hero-sticker-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 1px;
}
.hero-sticker-line { font-size: 0.85rem; }
.hero-sticker-line strong { font-size: 0.95rem; font-weight: 700; margin-right: 2px; }
.hero-sticker-meta { font-size: 0.7rem; color: var(--muted); }

.hero-sticker-tabs {
  top: 12%;
  left: -28px;
  --hs-rot: -4deg;
  background: var(--paper-warm);
  animation-delay: 1.2s;
}
.hero-sticker-highlights {
  bottom: -18px;
  right: -28px;
  --hs-rot: 3deg;
  background: #fff5c8;
  animation-delay: 1.35s;
}

@keyframes heroStickerIn {
  0%   { opacity: 0; transform: translateY(10px) rotate(var(--hs-rot, 0deg)); }
  100% { opacity: 1; transform: translateY(0)    rotate(var(--hs-rot, 0deg)); }
}

/* ---------- Hero live AI demo ---------- */

.hero-demo {
  display: grid;
  gap: 14px;
  padding: 22px 22px 24px;
  background: var(--surface);
}

.hero-demo-prompt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--paper-warm);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  min-height: 52px;
}
.hero-demo-prompt-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper);
  border: 1.2px solid var(--ink);
}
.hero-demo-prompt-icon svg { width: 16px; height: 16px; }
.hero-demo-prompt-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, "Roboto Mono", monospace;
  font-size: 0.95rem;
  color: var(--ink);
  min-height: 1.4em;
  white-space: nowrap;
  overflow: hidden;
}
.hero-demo-prompt-dynamic { font-weight: 500; }
.hero-demo-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 1px;
  background: var(--ink);
  vertical-align: -0.12em;
  animation: heroCursorBlink 1s steps(2, end) infinite;
}
@keyframes heroCursorBlink {
  50% { opacity: 0; }
}
.hero-demo-shortcut {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 3px 7px;
  border: 1px solid var(--ink-soft);
  border-radius: 6px;
  background: var(--paper);
}

.hero-demo-thinking {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 22px;
  padding: 0 6px;
  margin-left: 4px;
  opacity: 0;
  transition: opacity 240ms ease;
}
.hero-demo-thinking.is-active { opacity: 1; }
.hero-demo-thinking span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink-soft);
  animation: heroThink 1.05s ease-in-out infinite;
}
.hero-demo-thinking span:nth-child(2) { animation-delay: 0.15s; }
.hero-demo-thinking span:nth-child(3) { animation-delay: 0.3s;  }
@keyframes heroThink {
  0%, 80%, 100% { transform: scale(0.65); opacity: 0.4; }
  40%           { transform: scale(1);    opacity: 1;   }
}

.hero-demo-answer {
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 4px 4px 0 rgba(34, 31, 28, 0.08);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.hero-demo-answer.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-demo-answer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.hero-demo-answer-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--coral);
  border: 1.2px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-demo-answer-tag .mini-icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
}
.hero-demo-answer-tag .mini-icon svg { width: 12px; height: 12px; }
.hero-demo-answer-meta {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-demo-answer-body {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink);
}

.hero-demo-sources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hero-demo-source {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: var(--paper-warm);
  border: 1.2px solid var(--ink);
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.hero-demo-source.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-demo-source-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-demo-source strong {
  font-size: 0.84rem;
  font-weight: 700;
}
.hero-demo-source-meta {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Magnetic CTA hint */
[data-magnetic] {
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 220ms ease;
  will-change: transform;
}

/* Reduced motion — disable everything we animated above and lock to a clean static state */
@media (prefers-reduced-motion: reduce) {
  .display-title > span,
  .display-title .gradient-text::after,
  [data-hero-lead],
  [data-hero-actions],
  [data-hero-note],
  [data-hero-stage],
  .hero-sticker,
  .hero-window-wrap::before,
  .hero-window-pill-dot,
  .hero-demo-cursor,
  .hero-demo-thinking span {
    animation: none !important;
  }
  .display-title > span,
  [data-hero-lead],
  [data-hero-actions],
  [data-hero-note],
  [data-hero-stage],
  .hero-demo-answer,
  .hero-demo-source {
    opacity: 1 !important;
    transform: none !important;
  }
  .display-title .gradient-text::after {
    transform: scaleX(1) skew(-3deg) !important;
  }
  .hero-sticker {
    opacity: 1 !important;
  }
  .hero-sticker-tabs       { transform: rotate(-4deg) !important; }
  .hero-sticker-highlights { transform: rotate(3deg)  !important; }
  .hero-demo-cursor { background: transparent !important; }
  [data-hero-window] { transform: none !important; }
}

/* Smaller screens — hide stickers, stack sources */
@media (max-width: 960px) {
  .hero-sticker { display: none; }
  .hero-demo-sources { grid-template-columns: 1fr; }
  .hero-demo-source { padding: 8px 10px; }
  .hero-demo { padding: 18px 16px 20px; }
  [data-hero-window] { transform: none !important; }
}

/* ---------- Signal strip + bento intro ---------- */

.product-signal { margin-top: 56px; }

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

.signal-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-stamp);
}

.signal-card-primary {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.signal-card-primary::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,61,0.4), transparent 70%);
  pointer-events: none;
}

.signal-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}

.signal-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: inherit;
}

.signal-card-primary h2 { color: var(--paper); }

.signal-card p {
  margin: 14px 0 0;
  color: rgba(243, 237, 225, 0.78);
  line-height: 1.6;
}

.signal-card strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.signal-list { display: grid; gap: 8px; }
.signal-list span {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}
.signal-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* ---------- Story / how it flows ---------- */

.story-section { padding-top: 80px; }

.intro-story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
  margin-top: 32px;
}

.story-steps { display: grid; gap: 12px; }

.story-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.story-step:hover,
.story-step:focus-visible,
.story-step.is-active {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-stamp);
  outline: none;
}

.story-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--paper-warm);
  border: 1.5px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.story-step.is-active .story-step-number {
  background: var(--highlight);
}

.story-step-label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}

.story-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.story-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.story-visual-column { position: relative; }

.story-visual {
  position: sticky;
  top: 110px;
  min-height: 520px;
  padding: 18px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-stamp);
  overflow: hidden;
}

.story-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--paper-warm);
}

.story-tab {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}

.story-tab.is-active {
  background: var(--ink);
  color: var(--paper);
}

.story-scene {
  position: absolute;
  inset: 80px 18px 18px;
  display: grid;
  align-content: start;
  gap: 14px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.story-scene.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scene-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--paper-warm);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
}

.scene-chip .mini-icon { width: 18px; height: 18px; color: var(--coral); }

.scene-layout { display: grid; gap: 12px; }
.scene-layout.two-up { grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr); }
.scene-layout.split-columns,
.scene-layout.team-layout { grid-template-columns: minmax(150px, 0.62fr) minmax(0, 1fr); }
.scene-layout.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scene-layout.feature-grid .scene-panel { grid-column: 1 / -1; }

.scene-panel,
.scene-mini-card,
.scene-note,
.scene-sidebar,
.scene-team-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.scene-panel { padding: 22px; }

.scene-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}

.scene-panel h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.scene-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.scene-stack { display: grid; gap: 10px; align-content: start; }

.scene-mini-card {
  padding: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper-warm);
}

.scene-sidebar {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: var(--paper-warm);
}

.scene-pill {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.scene-note {
  padding: 16px;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.45;
  background: var(--highlight);
  border-color: var(--ink);
}

.scene-note-accent {
  background: var(--coral);
  color: var(--ink);
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 600;
}

.scene-team-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.scene-avatars {
  display: flex;
  align-items: center;
}

.scene-avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
}
.scene-avatars span:nth-child(2) { background: var(--coral); color: var(--ink); }
.scene-avatars span:nth-child(3) { background: var(--sage); color: var(--paper); }

.scene-team-list { display: grid; gap: 8px; font-size: 0.9rem; color: var(--ink); }

/* ---------- Section heading ---------- */

.section-heading {
  margin-bottom: 36px;
  max-width: 60rem;
}

/* ---------- Generic grids and cards ---------- */

.grid { display: grid; gap: 18px; }
.grid.two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four  { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 28px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-stamp);
}

.card h3 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.card p,
.card li {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.card ul,
.card ol {
  margin: 14px 0 0;
  padding-left: 18px;
}

.card li + li { margin-top: 6px; }

.card.flat { background: var(--paper-warm); }

.card.dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.card.dark h3 { color: var(--paper); }
.card.dark p,
.card.dark li { color: rgba(243, 237, 225, 0.72); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--paper-warm);
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.card.dark .card-icon {
  background: var(--coral);
  color: var(--ink);
  border-color: var(--ink);
}

/* ---------- SVG icon defaults (line icons via stroke) ---------- */

.card-icon,
.mini-icon,
.privacy-card-icon {
  position: relative;
}

.card-icon svg,
.mini-icon svg,
.privacy-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* The spark icon is a single filled diamond — stroke it AND fill it */
.mini-icon[data-icon="spark"] svg,
[data-icon="spark"] svg {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1;
}

/* The highlight icon's tip block looks better as a fill */
[data-icon="highlight"] svg path:first-child {
  fill: var(--highlight);
}

.mini-icon[data-icon="organize"] svg rect,
.card-icon[data-icon="organize"] svg rect {
  fill: var(--paper-warm);
}

.card.dark .mini-icon[data-icon="organize"] svg rect,
.card.dark .card-icon[data-icon="organize"] svg rect {
  fill: rgba(255, 255, 255, 0.06);
}

/* Split card */
.split-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.split-card .eyebrow { margin-bottom: 6px; }

.feature-bullets { display: grid; gap: 10px; }
.feature-bullet {
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-warm);
}

.feature-bullet strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.feature-bullet span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-bullet .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
}

/* Timeline cards */
.timeline {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: tline;
}

.timeline .card {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.timeline .card h3 { color: var(--paper); }
.timeline .card p { color: rgba(243, 237, 225, 0.7); }
.timeline .card strong {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  color: var(--coral);
}

/* ---------- Team spotlight ---------- */

.team-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.team-spotlight-copy { display: grid; gap: 10px; }

.team-feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
}

.team-feature-row .mini-icon {
  width: 22px;
  height: 22px;
  color: var(--coral);
}

.team-spotlight-card {
  padding: 22px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-stamp);
}

.team-spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.team-spotlight-top strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.team-avatars { display: flex; align-items: center; }
.team-avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: -8px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 700;
}
.team-avatars span:nth-child(2) { background: var(--coral); color: var(--ink); }
.team-avatars span:nth-child(3) { background: var(--sage); color: var(--paper); }
.team-avatars span:last-child { background: var(--paper-warm); color: var(--ink); }

.team-workspace-list { display: grid; gap: 12px; }

.team-workspace-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-warm);
}

.team-workspace-item .mini-icon {
  width: 24px;
  height: 24px;
  color: var(--coral);
}

.team-workspace-item > div strong {
  display: block;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
}

.team-workspace-item > div span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.pricing-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-stamp);
}

.plan-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.plan-audience {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
}

.pricing-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.pricing-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--highlight);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transform: rotate(2deg);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0 16px;
}

.price-line strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.price-line span {
  font-size: 0.95rem;
  color: var(--muted);
}

.plan-desc {
  min-height: 3.4rem;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.pricing-card .button { width: 100%; }

.plan-highlights {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ink);
}
.plan-highlights li {
  position: relative;
  padding: 6px 0 6px 22px;
  border-top: 1px dashed var(--line);
}
.plan-highlights li:first-child { border-top: none; }
.plan-highlights li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
}

.pricing-card.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(-0.6deg);
}

.pricing-card.featured:hover { transform: translate(-2px, -2px) rotate(-0.6deg); }
.pricing-card.featured h3,
.pricing-card.featured .price-line strong { color: var(--paper); }
.pricing-card.featured .plan-audience { color: var(--coral); }
.pricing-card.featured .plan-desc { color: rgba(243, 237, 225, 0.78); }
.pricing-card.featured .price-line span { color: rgba(243, 237, 225, 0.7); }
.pricing-card.featured .plan-highlights { color: var(--paper); }
.pricing-card.featured .plan-highlights li { border-top-color: rgba(243, 237, 225, 0.18); }
.pricing-card.featured .plan-highlights li::before { background: var(--highlight); }
.pricing-card.featured .button.secondary {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.pricing-card.featured .button.secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

.pricing-card-business {
  background: var(--paper-warm);
}
.pricing-card-business .button.primary {
  background: var(--ink);
  color: var(--paper);
}

.pricing-controls-section { padding-top: 0; }

.pricing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin: 0 0 32px;
}

.pricing-toolbar-group {
  display: inline-flex;
  padding: 4px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.pricing-toolbar .segment {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  min-height: 36px;
}

.pricing-toolbar .segment:hover { color: var(--ink); }

.pricing-toolbar .segment.is-active {
  background: var(--ink);
  color: var(--paper);
}

.pricing-toolbar .segment:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.segment-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: var(--highlight);
  color: var(--ink);
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pricing-toolbar .segment.is-active .segment-badge {
  background: var(--coral);
}

.pricing-transparency-note {
  max-width: 56rem;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Comparison table */
.comparison-table-wrap {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--paper-warm);
  border-bottom: 1.5px solid var(--ink);
  color: var(--ink);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.comparison-table tbody td:not(:first-child) { color: var(--muted); }

.table-hint {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 10px; max-width: 900px; }

.faq-item {
  padding: 18px 22px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface);
  transition: box-shadow 160ms var(--ease);
}

.faq-item[open] { box-shadow: var(--shadow-stamp); transform: translate(-1px, -1px); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--paper-warm);
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}

.faq-item[open] summary::after {
  content: "×";
  transform: rotate(0deg);
  background: var(--coral);
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item p strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */

.cta-band {
  padding: 64px 56px;
  margin-top: 32px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.5), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--paper);
  text-wrap: balance;
}

.cta-band p {
  position: relative;
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(243, 237, 225, 0.78);
  line-height: 1.65;
}

.cta-band .hero-actions {
  position: relative;
  justify-content: center;
  margin-top: 28px;
}

.cta-band .button.secondary {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.cta-band .button.secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- Notice + downloads ---------- */

.notice {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px dashed var(--ink);
  background: var(--highlight);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  max-width: 50rem;
  margin: 16px 0 0;
}

.download-grid,
.docs-grid,
.use-case-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-group {
  margin-top: 18px;
}
.feature-group strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-list { display: grid; gap: 6px; }
.feature-list div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}
.feature-list .check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--coral);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
}

/* ============================================================================
   Download page
   ============================================================================ */

/* Hero */
.download-hero { padding: 56px 0 40px; }

.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.download-hero-copy .page-title em {
  font-style: italic;
  font-weight: 400;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.download-hero-copy .page-title em::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.12em;
  height: 0.42em;
  background: var(--highlight);
  z-index: -1;
  border-radius: 4px;
  transform: skew(-3deg);
}

.download-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--muted);
}
.download-hero-meta .dot-sep { color: var(--muted-2); }

.os-detect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--surface);
  border: 1.2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.os-detect-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(108, 145, 117, 0.55);
  animation: heroLivePulse 2.2s ease-out infinite;
}

.browser-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.browser-strip-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.browser-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border: 1.2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}
.browser-chip.muted {
  background: var(--paper-warm);
  color: var(--muted);
  border-color: var(--line-strong);
}
.browser-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 0;
}
.browser-mark[data-browser="chrome"]  { background: linear-gradient(135deg, #ea4335, #fbbc04 45%, #34a853 85%); color: #fff; }
.browser-mark[data-browser="edge"]    { background: linear-gradient(135deg, #0078d4, #34a8e0); }
.browser-mark[data-browser="brave"]   { background: #fb542b; }
.browser-mark[data-browser="firefox"] { background: linear-gradient(135deg, #ff9800, #e91e63); }
.browser-mark[data-browser="safari"]  { background: linear-gradient(135deg, #1ca0f2, #0a6bbd); }

/* Install panel — sticky-note style */
.install-panel {
  position: relative;
  padding: 26px 28px 28px;
  background: var(--paper-warm);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-stamp);
  transform: rotate(0.6deg);
}
.install-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.install-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--coral);
  border: 1.2px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.install-panel-tag .mini-icon { width: 14px; height: 14px; }
.install-panel-tag .mini-icon svg { width: 12px; height: 12px; }
.install-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.install-panel-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sage);
  animation: heroLivePulse 2s ease-out infinite;
}
.install-panel h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.install-panel-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.install-panel-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.install-panel-step {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1.2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  flex-shrink: 0;
}
.install-panel-steps li > span:last-child { display: grid; gap: 2px; line-height: 1.4; }
.install-panel-steps strong { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.install-panel-steps em { font-style: normal; font-size: 0.85rem; color: var(--muted); }

.install-panel-cta { width: 100%; justify-content: center; }
.install-panel-foot {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.install-panel-foot a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--highlight);
}

/* Platform grid */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.platform-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 14px;
  padding: 26px 24px 22px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-stamp);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.platform-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--ink);
}

.platform-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.platform-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-warm);
}
.platform-card-icon svg { width: 22px; height: 22px; }

.platform-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.platform-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Status pills (also reused in reqs cards) */
.platform-status,
.reqs-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1.2px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.platform-status .status-dot,
.reqs-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}
.status-live { background: rgba(63, 111, 71, 0.15); color: var(--sage); border-color: var(--sage); }
.status-live .status-dot { background: var(--sage); }
.status-beta { background: rgba(255, 228, 92, 0.6); color: var(--ink); border-color: var(--ink); }
.status-beta .status-dot { background: var(--coral); }
.status-soon { background: var(--paper-warm); color: var(--muted); border-color: var(--line-strong); }
.status-soon .status-dot { background: var(--muted-2); }
.status-meta { background: var(--surface); color: var(--muted); border-color: var(--line-strong); font-weight: 500; letter-spacing: 0.04em; }

/* Mock illustrations inside platform cards */
.platform-card-mock {
  position: relative;
  height: 160px;
  border: 1.2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper-warm);
  overflow: hidden;
}

.mock-window {
  position: absolute;
  inset: 12px;
  background: var(--surface);
  border: 1.2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.mock-window.large { inset: 14px; }
.mock-window-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border-bottom: 1.2px solid var(--ink);
  background: var(--paper-warm);
}
.mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  display: inline-block;
}
.mock-window-bar .mock-dot:nth-child(1) { background: var(--coral); }
.mock-window-bar .mock-dot:nth-child(2) { background: var(--highlight); }
.mock-window-bar .mock-dot:nth-child(3) { background: var(--sage); }

.mock-window-body {
  padding: 10px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--paper-warm);
}
.mock-line.short { width: 60%; }
.mock-row {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.mock-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink);
}
.mock-button {
  margin-top: 4px;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  align-self: end;
  justify-self: start;
}

.mock-app {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 6px;
  padding: 8px;
}
.mock-app .mock-sidebar {
  display: grid;
  gap: 5px;
  align-content: start;
}
.mock-app .mock-sidebar.wide {
  grid-template-columns: 1fr;
}
.mock-app .mock-sidebar span {
  height: 7px;
  border-radius: 4px;
  background: var(--paper-warm);
}
.mock-app .mock-sidebar span.active { background: var(--coral); }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}
.mock-tile {
  height: 30px;
  border-radius: 6px;
  background: var(--paper-warm);
  border: 1px solid var(--ink);
}
.mock-tile.tall { grid-row: span 2; height: auto; min-height: 60px; }

.mock-rows {
  display: grid;
  gap: 5px;
  align-content: start;
}
.mock-row-line {
  height: 8px;
  border-radius: 4px;
  background: var(--paper-warm);
}
.mock-row-line.short { width: 65%; }

/* Mobile mock — two phones */
.platform-mock-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--paper-warm), #fff5c8);
}
.mock-phone {
  width: 64px;
  height: 124px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  position: relative;
  padding: 12px 6px 8px;
  box-shadow: 3px 3px 0 var(--ink);
}
.mock-phone.tilt-left { transform: rotate(-6deg); }
.mock-phone.tilt-right { transform: rotate(7deg); }
.mock-phone-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 5px;
  background: var(--ink);
  border-radius: 999px;
}
.mock-phone-screen {
  height: 100%;
  background: var(--paper-warm);
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 6px 4px;
  display: grid;
  gap: 4px;
  align-content: start;
}
.mock-phone-line {
  height: 5px;
  border-radius: 3px;
  background: var(--paper);
}
.mock-phone-line.short { width: 55%; }

.platform-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.platform-os-options {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}
.platform-os-options a {
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line-strong);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.platform-os-options a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.platform-os-options a.is-current-os {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1.5px solid var(--coral);
}

/* Sync band — one library every device */
.sync-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 48px 44px;
  background: var(--ink);
  color: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-stamp);
  overflow: hidden;
}
.sync-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 320px at 90% 10%, rgba(255, 106, 61, 0.18), transparent 60%),
    radial-gradient(600px 240px at 10% 90%, rgba(108, 145, 117, 0.18), transparent 60%);
  pointer-events: none;
}
.sync-band > * { position: relative; z-index: 1; }

.sync-band .eyebrow {
  background: rgba(243, 237, 225, 0.1);
  color: var(--paper);
  border: 1.5px solid rgba(243, 237, 225, 0.3);
}
.sync-band h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.sync-band p {
  margin: 16px 0 0;
  max-width: 36rem;
  color: rgba(243, 237, 225, 0.78);
  line-height: 1.7;
  font-size: 1rem;
}

.sync-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.sync-stat {
  padding: 14px 14px;
  background: rgba(243, 237, 225, 0.06);
  border: 1px solid rgba(243, 237, 225, 0.18);
  border-radius: 14px;
  display: grid;
  gap: 4px;
}
.sync-stat strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--paper);
}
.sync-stat span {
  font-size: 0.82rem;
  color: rgba(243, 237, 225, 0.65);
  line-height: 1.5;
}

/* Sync stage with device cluster */
.sync-band-stage {
  position: relative;
  height: 320px;
  border-radius: 18px;
  background: rgba(243, 237, 225, 0.04);
  border: 1px dashed rgba(243, 237, 225, 0.18);
}

.sync-device {
  position: absolute;
  display: grid;
  align-content: center;
  justify-items: center;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--paper);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 4px 4px 0 rgba(255, 106, 61, 0.4);
}
.sync-device-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.sync-device-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.sync-device-bar.mini span { width: 6px; height: 6px; }
.sync-device-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
}
.sync-device-bar span:nth-child(1) { background: var(--coral); }
.sync-device-bar span:nth-child(2) { background: var(--highlight); }
.sync-device-bar span:nth-child(3) { background: var(--sage); }
.sync-device-notch {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
  margin-bottom: 4px;
}

.sync-device-laptop {
  top: 18px;
  left: 26px;
  transform: rotate(-3deg);
  width: 110px;
  height: 76px;
}
.sync-device-phone {
  top: 22px;
  right: 22px;
  transform: rotate(5deg);
  width: 64px;
  height: 110px;
}
.sync-device-extension {
  bottom: 28px;
  left: 18%;
  transform: rotate(-2deg);
  width: 86px;
  height: 70px;
}
.sync-device-desktop {
  bottom: 32px;
  right: 12%;
  transform: rotate(3deg);
  width: 124px;
  height: 84px;
}

/* Sync core (the "spark" connector at the center) */
.sync-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--ink);
  border: 1.5px solid var(--paper);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(255, 106, 61, 0.18), 0 0 0 14px rgba(255, 106, 61, 0.08);
}
.sync-core .mini-icon { width: 26px; height: 26px; }
.sync-core .mini-icon svg { width: 26px; height: 26px; }

.sync-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 106, 61, 0.6);
  opacity: 0;
  animation: syncPulse 3.6s ease-out infinite;
}
.sync-pulse[data-pulse-2] { animation-delay: 1.2s; }
.sync-pulse[data-pulse-3] { animation-delay: 2.4s; }
@keyframes syncPulse {
  0%   { transform: scale(0.6); opacity: 0;   }
  20%  { opacity: 0.8; }
  100% { transform: scale(3.6); opacity: 0;   }
}

/* Install guides — numbered step blocks */
.install-guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.install-guide {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-stamp);
  padding: 22px 24px 24px;
  display: grid;
  gap: 16px;
}
.install-guide-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.install-guide-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-warm);
}
.install-guide-badge svg { width: 22px; height: 22px; }
.install-guide-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.install-guide-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}
.install-guide-jump {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--highlight);
  padding: 2px 0;
  white-space: nowrap;
}

.install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.install-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.install-step-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1.2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  flex-shrink: 0;
}
.install-steps strong {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.install-steps span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Compatibility / system requirements cards */
.reqs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.reqs-card {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-stamp);
  padding: 22px;
  display: grid;
  gap: 14px;
}
.reqs-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.reqs-card header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.reqs-card header .mini-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1.2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-warm);
}
.reqs-card header .mini-icon svg { width: 16px; height: 16px; }

.reqs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.reqs-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.reqs-list li:last-child { border-bottom: none; }
.reqs-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

/* Download FAQ — collapsible details */
.dl-faq {
  display: grid;
  gap: 12px;
  max-width: 56rem;
}
.dl-faq-item {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 rgba(14, 14, 16, 0.06);
  transition: box-shadow 200ms var(--ease);
}
.dl-faq-item[open] { box-shadow: var(--shadow-stamp); }
.dl-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.dl-faq-item summary::-webkit-details-marker { display: none; }
.dl-faq-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1.2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-warm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}
.dl-faq-item[open] .dl-faq-icon {
  transform: rotate(45deg);
  background: var(--coral);
}
.dl-faq-body {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.dl-faq-body a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--highlight);
}

/* Reduced motion — disable looping animations on download page */
@media (prefers-reduced-motion: reduce) {
  .os-detect-dot,
  .install-panel-status-dot,
  .sync-pulse {
    animation: none !important;
  }
  .sync-pulse { display: none; }
}

/* Responsive: 1080 -> stack hero */
@media (max-width: 1080px) {
  .download-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .install-panel { transform: none; }
  .platform-grid,
  .install-guides,
  .reqs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reqs-grid { grid-template-columns: 1fr 1fr; }
  .sync-band {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .sync-band-stage { height: 280px; }
}

@media (max-width: 720px) {
  .platform-grid,
  .install-guides { grid-template-columns: 1fr; }
  .reqs-grid { grid-template-columns: 1fr; }
  .sync-stats { grid-template-columns: 1fr; }
  .sync-band { padding: 28px 22px; }
  .sync-band-stage { height: 240px; }
  .sync-device-laptop { width: 92px; height: 64px; left: 14px; top: 14px; }
  .sync-device-phone { width: 54px; height: 92px; right: 14px; top: 18px; }
  .sync-device-extension { width: 74px; height: 60px; bottom: 22px; left: 12%; }
  .sync-device-desktop { width: 100px; height: 70px; bottom: 22px; right: 8%; }
  .install-guide-head { grid-template-columns: auto 1fr; }
  .install-guide-jump { grid-column: 1 / -1; justify-self: start; }
  .install-panel { padding: 22px 22px 24px; }
  .platform-card { padding: 22px 20px 20px; }
  .browser-strip { gap: 6px; }
  .browser-chip { font-size: 0.78rem; padding: 3px 9px 3px 3px; }
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 32px;
  background: var(--ink);
  color: rgba(243, 237, 225, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding: 64px 0 36px;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-head strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--paper);
  letter-spacing: -0.03em;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper);
  padding: 5px;
  border: 1.5px solid rgba(243, 237, 225, 0.18);
  object-fit: contain;
}

.footer-brand p {
  max-width: 320px;
  color: rgba(243, 237, 225, 0.55);
  line-height: 1.65;
  font-size: 0.94rem;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(243, 237, 225, 0.7);
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(63, 111, 71, 0.25);
}

.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column h4 {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 237, 225, 0.5);
}
.footer-column a {
  color: rgba(243, 237, 225, 0.78);
  font-size: 0.94rem;
  transition: color 160ms var(--ease);
}
.footer-column a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid rgba(243, 237, 225, 0.12);
  font-size: 0.85rem;
  color: rgba(243, 237, 225, 0.55);
}

/* ---------- Reveal animations ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .button:hover,
  .card:hover,
  .pricing-card:hover,
  .story-step:hover { transform: none; }
}

/* ---------- Persona section (Who it's for) ---------- */

.persona-section .section-heading { max-width: 52rem; }

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

.persona-card {
  position: relative;
  padding: 32px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.persona-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-stamp);
}

.persona-card:nth-child(2) { background: var(--paper-warm); }
.persona-card:nth-child(3) { background: var(--surface-2); }
.persona-card:nth-child(4) { background: var(--paper-warm); }
.persona-card:nth-child(6) { background: var(--surface-2); }

.persona-tag {
  align-self: flex-start;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.persona-tag-coral { background: var(--coral); color: var(--ink); }
.persona-tag-sage  { background: var(--sage);  color: var(--paper); }
.persona-tag-plum  { background: var(--plum);  color: var(--paper); }
.persona-tag-sky   { background: var(--sky);   color: var(--ink); }
.persona-tag-ink   { background: var(--ink);   color: var(--paper); }
.persona-tag-highlight { background: var(--highlight); color: var(--ink); }

.persona-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.persona-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.persona-card > p em {
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
}

.persona-tags {
  margin: auto 0 0;
  padding: 14px 0 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px dashed var(--line-strong);
}

.persona-tags li {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(14, 14, 16, 0.04);
  border: 1px solid var(--line);
}

.persona-tags li::before {
  content: "#";
  margin-right: 2px;
  color: var(--coral);
  font-weight: 700;
}

.persona-coda {
  margin: 32px auto 0;
  max-width: 48rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}

/* ---------- Privacy section ---------- */

.privacy-section .section-heading { max-width: 56rem; }

.privacy-section .section-heading h2 em {
  font-style: italic;
  position: relative;
  padding: 0 4px;
  z-index: 0;
}

.privacy-section .section-heading h2 em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.08em;
  height: 0.34em;
  background: var(--highlight);
  z-index: -1;
  border-radius: 4px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.privacy-card {
  position: relative;
  grid-column: span 2;
  padding: 28px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.privacy-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-stamp);
}

.privacy-card-promise {
  grid-column: span 6;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.privacy-card-promise::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.32), transparent 70%);
  pointer-events: none;
}

.privacy-card-promise:hover {
  transform: none;
  box-shadow: none;
}

.privacy-pill {
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.privacy-list {
  position: relative;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  z-index: 1;
}

.privacy-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(243, 237, 225, 0.86);
}

.privacy-list li strong {
  color: var(--paper);
  font-weight: 600;
}

.privacy-list li em {
  color: var(--paper);
  font-style: italic;
  font-weight: 500;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--coral);
  border: 1.5px solid var(--paper);
  box-shadow: 2px 2px 0 rgba(243, 237, 225, 0.18);
}

@media (min-width: 720px) {
  .privacy-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px 28px;
  }
}

.privacy-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--paper-warm);
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.privacy-card-icon svg { width: 22px; height: 22px; stroke-width: 1.75; }

.privacy-card h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.privacy-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

.privacy-card > p em,
.privacy-card > p strong {
  color: var(--ink);
  font-weight: 600;
  font-style: normal;
}

.privacy-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.privacy-card:nth-of-type(3) { background: var(--paper-warm); }
.privacy-card:nth-of-type(5) { background: var(--surface-2); }
.privacy-card:nth-of-type(7) { background: var(--paper-warm); }

.privacy-foot {
  margin: 32px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .privacy-card { grid-column: span 3; }
  .privacy-card-promise { grid-column: span 6; }
}

@media (max-width: 720px) {
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-card,
  .privacy-card-promise { grid-column: auto; }
  .privacy-card-promise { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-card:hover { transform: none; box-shadow: none; }
}

/* ---------- Scope section (What it isn't) ---------- */

.scope-section .section-heading { max-width: 52rem; }

.scope-section .section-heading h2 em {
  font-style: italic;
  position: relative;
  padding: 0 4px;
  z-index: 0;
}

.scope-section .section-heading h2 em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.08em;
  height: 0.34em;
  background: var(--highlight);
  z-index: -1;
  border-radius: 4px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.scope-grid > .scope-card:nth-child(1),
.scope-grid > .scope-card:nth-child(2),
.scope-grid > .scope-card:nth-child(3) { grid-column: span 2; }

.scope-grid > .scope-card:nth-child(4),
.scope-grid > .scope-card:nth-child(5) { grid-column: span 3; }

.scope-card {
  position: relative;
  padding: 28px;
  border: 1.5px dashed var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper-warm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-style 200ms var(--ease);
}

.scope-card:hover {
  transform: translate(-2px, -2px);
  border-style: solid;
  box-shadow: var(--shadow-stamp);
  background: var(--surface);
}

.scope-not {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2.5px;
  text-decoration-skip-ink: none;
}

.scope-card p {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.65;
  font-size: 0.98rem;
}

.scope-card p em {
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .persona-card:hover,
  .scope-card:hover { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .signal-grid { grid-template-columns: 1fr 1fr; }
  .signal-card-primary { grid-column: 1 / -1; }
  .intro-story { grid-template-columns: 1fr; }
  .story-visual { position: static; min-height: 420px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-spotlight { grid-template-columns: 1fr; }
  .split-card { grid-template-columns: 1fr; }
  .scope-grid > .scope-card:nth-child(1),
  .scope-grid > .scope-card:nth-child(2),
  .scope-grid > .scope-card:nth-child(3),
  .scope-grid > .scope-card:nth-child(4),
  .scope-grid > .scope-card:nth-child(5) { grid-column: span 3; }
}

@media (max-width: 820px) {
  .nav-links,
  .header-actions { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; padding: 8px 14px; }
  .mobile-menu-toggle { display: inline-flex; }
  .grid.three,
  .grid.two,
  .download-grid,
  .docs-grid,
  .use-case-grid,
  .timeline { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }
  .scene-layout.two-up,
  .scene-layout.split-columns,
  .scene-layout.team-layout,
  .scene-layout.feature-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .persona-card { padding: 26px; }
  .persona-quote { font-size: 1.3rem; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-grid > .scope-card:nth-child(1),
  .scope-grid > .scope-card:nth-child(2),
  .scope-grid > .scope-card:nth-child(3),
  .scope-grid > .scope-card:nth-child(4),
  .scope-grid > .scope-card:nth-child(5) { grid-column: auto; }
  .page-section { padding: 64px 0; }
  .cta-band { padding: 48px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner,
  .hero,
  .page-section,
  .footer-inner,
  .cta-band,
  .product-signal { width: min(calc(100% - 20px), var(--max)); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 48px 0 28px; }
  .display-title { font-size: clamp(2.1rem, 9.5vw, 3.2rem); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translate(-2px, -2px); }
}
