/* Legacy inner-page styles — extracted from styles-old.css */

/* =============================================================================
   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);
}

/* Simple hero (pocket migration, etc.) */
.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);
}
/* ---------- 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; }
}

/* ---------- 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; }
/* ---------- 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); }
/* ---------- 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 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  padding-left: 0;
  border-top: 1px dashed var(--line);
}
.plan-highlights li:first-child { border-top: none; }
.plan-highlights li::before {
  content: "+";
  position: static;
  flex: 0 0 16px;
  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;
  line-height: 1;
}

.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: 760px; margin-inline: auto; }

.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: 7px;
  padding: 4px 12px 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);
  line-height: 1;
}
.browser-chip.muted {
  background: var(--paper-warm);
  color: var(--muted);
  border-color: var(--line-strong);
}
.browser-mark {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}
.browser-mark img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.browser-chip.muted .browser-mark {
  opacity: 0.62;
  filter: grayscale(0.25);
}

/* 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; }
}

/* ---------- 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; }
}
/* ---------- 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); }
}
