/* ============================================================
   FeedbackFirst — Landing Refonte
   Direction: éditoriale, communautaire, kachi-iro préservée.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* — Palette kachi-iro (préservée de la version actuelle) — */
  --primary: #1e3a5f;
  --primary-deep: #0f2440;
  --primary-soft: rgba(30, 58, 95, 0.09);
  --primary-line: rgba(30, 58, 95, 0.18);

  --gold: #c8941b;
  --gold-soft: rgba(200, 148, 27, 0.12);
  --gold-line: rgba(200, 148, 27, 0.32);

  --ink: #14110d;
  --ink-soft: #3d3630;
  --muted: #7c7267;

  --paper: #f5f1e8;
  --paper-warm: #ede7d8;
  --paper-deep: #e3dccb;
  --line: #d8d1bf;

  --green: #4a7a4d;
  --orange: #d4622a;

  /* — Tweakable accent (le hero peut varier de hue dans la même famille) — */
  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  --accent-line: var(--primary-line);

  /* — Type — */
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* — Density tweakable — */
  --section-pad-y: clamp(2.5rem, 4vw, 4.5rem);
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --container: 1320px;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  /* — Aliases for pcard/hero component compatibility — */
  --bg: var(--paper);
  --bg-subtle: var(--paper-warm);
  --border: var(--line);
  --text-muted: var(--muted);
  --shadow-lg: 0 4px 24px rgba(20,16,10,0.09), 0 16px 48px rgba(20,16,10,0.07);
}

:root[data-density="compact"] {
  --section-pad-y: clamp(1.5rem, 2.5vw, 3rem);
}

:root[data-theme="dark"] {
  --primary: #6b9fd4;
  --primary-deep: #8ab5e0;
  --primary-soft: rgba(107,159,212,0.15);
  --primary-line: rgba(107,159,212,0.3);

  --ink: #f0ede6;
  --ink-soft: #d4cfc4;
  --muted: #8a8070;

  --paper: #0f0d09;
  --paper-warm: #161310;
  --paper-deep: #1d1915;
  --line: #2a2520;

  --gold: #e0a836;
  --gold-soft: rgba(224, 168, 54, 0.14);
  --gold-line: rgba(224, 168, 54, 0.32);

  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  --accent-line: var(--primary-line);

  --shadow-lg: 0 4px 24px rgba(0,0,0,0.5), 0 16px 48px rgba(0,0,0,0.4);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain — uses a single SVG noise filter via background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 10%, var(--paper-warm) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, var(--paper-warm) 0%, transparent 50%);
  opacity: 0.6;
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

/* ===========================================================
   TYPOGRAPHIC SYSTEM
   =========================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.display {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.96;
  color: var(--ink);
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.section-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.55;
}

/* ===========================================================
   BUTTONS
   =========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-lg { padding: 1.15rem 1.7rem; font-size: 1.02rem; }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.08), 0 6px 20px -6px rgba(20,16,10,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.1), 0 14px 28px -8px rgba(20,16,10,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--paper-warm);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  font-weight: 500;
}
.btn-ghost:hover { background: var(--paper-warm); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
[data-theme="dark"] .btn-accent { color: var(--paper); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.05); }

.arrow {
  display: inline-block;
  transition: transform 200ms ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ===========================================================
   NAV
   =========================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: color-mix(in oklab, var(--paper) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 1rem;
}
.nav__logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.nav__logo-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
}
.nav__logo span.italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.nav__center {
  display: flex; align-items: center; gap: 0.25rem;
  font-size: 0.9rem;
}
.nav__center a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease;
}
.nav__center a:hover { background: var(--paper-warm); color: var(--ink); }
.nav__actions {
  display: flex; align-items: center; gap: 0.5rem;
}
@media (max-width: 860px) {
  .nav__center { display: none; }
}

/* ===========================================================
   HERO — éditorial, asymétrique, oversized
   =========================================================== */

.hero {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3.5rem) 0 clamp(1.25rem, 2vw, 2rem);
  overflow: hidden;
}

.hero__sticker {
  position: absolute;
  top: 4rem;
  right: clamp(2rem, 6vw, 6rem);
  transform: rotate(7deg);
  background: var(--gold);
  color: #2a1d04;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(200, 148, 27, 0.5);
  z-index: 4;
  white-space: nowrap;
}

.hero__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero__intro {
  max-width: 30ch;
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
  line-height: 1.5;
}

.hero__avatars {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__avatars-stack {
  display: flex;
}
.hero__avatars-stack .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  margin-left: -10px;
  background: var(--paper-deep);
  display: grid; place-items: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ink);
  position: relative;
}
.hero__avatars-stack .avatar:first-child { margin-left: 0; }
.hero__avatars-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}
.hero__avatars-text strong { color: var(--ink); font-weight: 600; }

.hero__headline {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0;
}
.hero__headline .indent { display: inline-block; padding-left: clamp(1rem, 6vw, 5rem); }
.hero__headline .serif-italic { color: var(--accent); }
.hero__headline .underline {
  position: relative;
  display: inline-block;
}
.hero__headline .underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: 0.05em;
  height: 0.18em;
  background: var(--gold);
  z-index: -1;
  opacity: 0.85;
  border-radius: 2px;
  transform: skewX(-4deg);
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(1rem, 2vw, 1.75rem);
  align-items: end;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
}
.hero__lede em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 1.15em;
}

.hero__cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__cta-note {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero__cta-note .sep { opacity: 0.4; margin: 0 0.4rem; }

@media (max-width: 760px) {
  .hero__bottom { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero__sticker { top: 4.5rem; right: 1rem; transform: rotate(5deg); }
  .hero__headline .indent { padding-left: 1.5rem; }
}

/* — Hero ticker / live products marquee — */

.hero__ticker {
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
  background: var(--paper-warm);
}
.hero__ticker-label {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  background: var(--paper-warm);
  padding-right: 1rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.hero__ticker-label .live-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--green);
  animation: live-pulse 2.2s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,122,77,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74,122,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,122,77,0); }
}
.hero__ticker-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  padding-left: 11rem;
}
.hero__ticker:hover .hero__ticker-track { animation-play-state: paused; }
.hero__ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero__ticker-item .who {
  font-weight: 600;
  color: var(--ink);
}
.hero__ticker-item .verb { color: var(--muted); }
.hero__ticker-item .what { color: var(--accent); font-weight: 600; }
.hero__ticker-item .credit {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
}
.hero__ticker-item .sep {
  opacity: 0.3;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   STATS — kinetic counters
   =========================================================== */

.stats {
  padding: clamp(1.5rem, 2.5vw, 2.5rem) 0 clamp(1rem, 1.5vw, 1.5rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--paper);
  padding: clamp(0.85rem, 1.5vw, 1.4rem);
  display: flex; flex-direction: column;
  gap: 0.3rem;
}
.stat__num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__num .small { font-size: 0.45em; vertical-align: super; opacity: 0.5; font-weight: 500; }
.stat__lbl {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.35;
}
.stat__delta {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green);
  display: inline-flex;
  align-items: center; gap: 0.25rem;
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================================================
   MANIFESTO — full-bleed, dark indigo, warm community
   =========================================================== */

.manifesto {
  padding: var(--section-pad-y) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 30% 40%, var(--primary-soft) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, var(--gold-soft) 0%, transparent 50%);
  opacity: 0.7;
  pointer-events: none;
}

[data-theme="dark"] .manifesto              { --gold: #7a5200; }
[data-theme="dark"] .manifesto__label        { color: rgba(20, 17, 13, 0.5); }
[data-theme="dark"] .manifesto__label::before { background: rgba(20, 17, 13, 0.3); }
[data-theme="dark"] .manifesto__quote        { color: rgba(20, 17, 13, 0.9); }
[data-theme="dark"] .manifesto__sig          { color: rgba(20, 17, 13, 0.6); }
[data-theme="dark"] .manifesto__sig strong   { color: rgba(20, 17, 13, 0.9) !important; }
.manifesto__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.manifesto__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.manifesto__label::before {
  content: "";
  width: 28px; height: 1px;
  background: rgba(245, 241, 232, 0.4);
}
.manifesto__quote {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.65rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.manifesto__quote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 1.1em;
}
.manifesto__sig {
  margin-top: 1rem;
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.92rem;
  color: rgba(245, 241, 232, 0.7);
}
.manifesto__sig .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #c8941b 0%, #6b9fd4 100%);
  display: grid; place-items: center;
  font-weight: 600; color: #fff;
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .manifesto__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===========================================================
   THE LOOP — broken grid, 3 panels with annotations
   =========================================================== */

.loop {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
}
.section-head__title-block { max-width: 44ch; }
.section-head__sub { max-width: 40ch; text-align: left; align-self: end; }

@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; }
}

.loop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.loop__step {
  background: var(--paper);
  padding: clamp(1rem, 1.75vw, 1.5rem);
  display: flex; flex-direction: column; gap: 0.85rem;
  position: relative;
  transition: background 200ms ease;
}
.loop__step:hover { background: var(--paper-warm); }
.loop__step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.loop__step-num .total {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.3em;
  color: var(--muted);
  vertical-align: super;
  margin-left: 0.3em;
  letter-spacing: 0;
}
.loop__step h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.loop__step p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.55;
}
.loop__step-tag {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  width: fit-content;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
}
.loop__step-tag.gold {
  background: var(--gold-soft);
  color: var(--gold);
  border-color: var(--gold-line);
}
.loop__step-tag.green {
  background: rgba(74,122,77,0.12);
  color: var(--green);
  border-color: rgba(74,122,77,0.3);
}

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

.loop__cta {
  margin-top: clamp(1rem, 1.75vw, 1.75rem);
  text-align: center;
}

/* — Looping diagram (decorative) — */
.loop__cycle-mark {
  position: absolute;
  right: var(--gutter);
  top: 5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 0.4rem;
}
.loop__cycle-mark svg {
  animation: spin-slow 18s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ===========================================================
   LIVE PRODUCTS — community live grid
   =========================================================== */

.live {
  padding: var(--section-pad-y) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Browser frame wrapping the Discover iframe */
a.app-frame {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5);
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
  margin-top: 2.5rem;
}
a.app-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 72px -14px rgba(0,0,0,0.65);
}

.app-frame__bar {
  background: #3d3830;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.app-frame__dots {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.app-frame__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.app-frame__dot--r { background: #ff5f57; }
.app-frame__dot--y { background: #febc2e; }
.app-frame__dot--g { background: #28c840; }

.app-frame__url {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  padding: 0.2rem 0.75rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--mono, ui-monospace, monospace);
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-frame__viewport {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #0c0a09;
}

.app-frame__viewport iframe {
  display: block;
  width: 100%;
  height: 1000px;
  border: none;
  pointer-events: none;
}

.live__footer {
  margin-top: clamp(2rem, 3vw, 2.75rem);
  display: flex; justify-content: center;
}

@media (max-width: 768px) {
  .app-frame__viewport { height: 380px; }
}
@media (max-width: 480px) {
  a.app-frame { display: none; }
}

/* ===========================================================
   SPOTLIGHT — Premium reservation
   =========================================================== */

.spotlight {
  padding: var(--section-pad-y) 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--gold-soft) 0%, transparent 60%),
    var(--paper);
  position: relative;
  overflow: hidden;
}

.spotlight__head {
  text-align: center;
  margin-bottom: clamp(2rem, 3vw, 3rem);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.spotlight__head .eyebrow .dot { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.spotlight__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 22ch;
  margin: 0 auto;
}
.spotlight__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.spotlight__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.55;
}

.spotlight__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 1024px) { .spotlight__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .spotlight__grid { grid-template-columns: 1fr; } }


/* ── pcard — product card (same component used in hero + spotlight) ── */
.pcard {
  position: relative;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.14); }
.pcard-img {
  height: 160px; position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end; padding: 0.75rem 1rem;
}
.pcard-preview {
  position: absolute; top: 0; left: 0;
  width: 1200px; height: 640px;
  transform-origin: top left;
  border: none; pointer-events: none; z-index: 0;
}
.pcard-cover {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; z-index: 0;
}
.pcard-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; padding: 1rem; text-align: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f1f5f9; z-index: 0;
}
.pcard-fallback-initial {
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  font-size: 1.125rem; font-weight: 700;
  margin-bottom: 0.25rem;
}
.pcard-fallback-name { font-size: 0.8125rem; font-weight: 600; }
.pcard-fallback-host { font-size: 0.6875rem; color: #94a3b8; }
.pcard-fallback-msg  { font-size: 0.6875rem; color: #94a3b8; margin-top: 0.25rem; }
.pcard-img-label {
  position: relative; z-index: 1;
  font-size: 0.625rem; font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35); border-radius: 4px;
  padding: 2px 6px; backdrop-filter: blur(4px);
}
.pcard-body { padding: 0.875rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pcard-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.pcard-title { font-size: 0.9375rem; font-weight: 700; color: inherit; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.pcard-title:hover { text-decoration: underline; }
.pcard-ext { display: inline-flex; align-items: center; color: var(--text-muted); text-decoration: none; flex-shrink: 0; }
.pcard-tagline { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-badges { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.pcard-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.25rem; gap: 0.5rem; min-width: 0; }
.pcard-fcount-group { display: flex; align-items: center; gap: 0.6rem; min-width: 0; flex-wrap: wrap; }
.pcard-fcount { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8rem; color: var(--text-muted); min-width: 0; }
.pcard-rating { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8rem; color: var(--text-muted); }
.pcard-rating-count { font-size: 0.7rem; }
.pcard-recency { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.125rem; }
.pcard-recency--fb   { display: inline-flex; align-items: center; gap: 0.2rem; font-size: 0.75rem; font-weight: 600; color: #16a34a; }
.pcard-recency--news { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 600; color: #0284c7; }
.pcard-reward-banner {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  background: var(--gold-soft); color: var(--gold);
  font-size: 0.7rem; font-weight: 600; text-align: center;
  padding: 0.2rem 0.5rem;
  transition: opacity 0.3s, transform 0.3s;
}
.pcard-boost-badge {
  position: absolute; right: 0.5rem; top: 0.5rem; z-index: 20;
  display: inline-flex; align-items: center; gap: 0.2rem;
  background: rgba(234,88,12,0.9); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  padding: 0.15rem 0.4rem; border-radius: 99px;
}
.pcard-activity-badge {
  position: absolute; left: 0.5rem; top: 0.5rem; z-index: 20;
  font-size: 0.65rem; font-weight: 700;
  padding: 0.15rem 0.4rem; border-radius: 99px;
}
.pcard-activity-badge--active   { background: rgba(234,88,12,0.9); color: #fff; }
.pcard-activity-badge--inactive { background: rgba(59,130,246,0.9); color: #fff; }

/* Badge variants (used by spotlight.js + hero.js) */
.badge { display: inline-flex; align-items: center; }
.badge-secondary {
  padding: 2px 8px; border-radius: 99px;
  background: var(--bg-subtle); border: 1px solid var(--border);
  font-size: 0.6875rem; font-weight: 500; color: var(--text-muted);
}
.badge-outline {
  padding: 2px 8px; border-radius: 99px;
  background: transparent; border: 1px solid var(--border);
  font-size: 0.6875rem; font-weight: 500; color: var(--text-muted);
}
.badge-demo {
  padding: 2px 8px; border-radius: 99px;
  background: #f5f3ff; border: 1px solid #c4b5fd;
  font-size: 0.6875rem; font-weight: 500; color: #7c3aed;
}

/* Placeholder slot (empty spotlight) */
.spotlight__slot {
  background: var(--paper);
  border: 1.5px dashed var(--gold-line);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.5rem;
  min-height: 200px; justify-content: center;
}
.spotlight__slot-icon  { font-size: 1.75rem; }
.spotlight__slot-title { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.spotlight__slot-sub   { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.spot {
  background: var(--paper);
  border: 1.5px dashed var(--gold-line);
  border-radius: var(--radius);
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 200ms ease;
}
.spot:hover {
  border-style: solid;
  background: var(--paper-warm);
  transform: translateY(-3px);
}
.spot__rank {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
}
.spot__rank::before {
  content: "#";
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.8rem;
  vertical-align: super;
  margin-right: 0.1rem;
  color: var(--muted);
}
.spot__title {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.spot__sub {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.spot__status {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  background: var(--gold-soft);
  color: var(--gold);
  border: 1px solid var(--gold-line);
  font-weight: 600;
}


.spotlight__footer {
  display: flex; justify-content: center; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.spotlight__price {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--muted);
}
.spotlight__price strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width: 760px) { .spotlight__grid { grid-template-columns: repeat(2, 1fr); } }

/* ===========================================================
   PRICING
   =========================================================== */

.pricing {
  padding: var(--section-pad-y) 0;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: clamp(2.5rem, 4vw, 4rem);
}
.plan {
  background: var(--paper);
  padding: clamp(1.25rem, 1.75vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: background 200ms ease;
}
.plan:hover { background: var(--paper-warm); }
.plan--popular {
  background: var(--ink);
  color: var(--paper);
}
.plan--popular:hover { background: var(--ink); }
.plan--popular .plan__name { color: var(--paper); }
.plan--popular .plan__price-num { color: var(--paper); }
.plan--popular .plan__price-suf { color: rgba(245, 241, 232, 0.6); }
.plan--popular .plan__feat { color: rgba(245, 241, 232, 0.85); }
.plan--popular .plan__feat svg { color: var(--gold); }
.plan--popular .plan__tag {
  background: var(--gold);
  color: #2a1d04;
}

.plan__tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-weight: 600;
}
.plan__name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.plan__name em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.plan__price-num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.plan__price-suf {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.plan__feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.plan__feat {
  display: flex;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.plan__feat svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--green);
}
.plan__cta { margin-top: 0.5rem; }

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

[data-theme="dark"] .plan--popular .plan__price-suf { color: rgba(20, 17, 13, 0.55); }
[data-theme="dark"] .plan--popular .plan__feat     { color: rgba(20, 17, 13, 0.8); }
[data-theme="dark"] .plan--popular .plan__feat svg { color: #7a5c00; }

/* ===========================================================
   TESTIMONIAL MARQUEE
   =========================================================== */

.testimonials {
  padding: var(--section-pad-y) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.testimonials__head {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.85rem;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.t-marquee {
  display: flex;
  gap: 1.25rem;
  animation: ticker-scroll 70s linear infinite;
  width: max-content;
}
.testimonials:hover .t-marquee { animation-play-state: paused; }
.t-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  width: 360px;
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: 1rem;
}
.t-card__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.4;
  color: var(--ink);
}
.t-card__quote::before {
  content: "“";
  display: inline;
  margin-right: 0.05em;
  color: var(--accent);
}
.t-card__quote::after {
  content: "”";
  margin-left: 0.05em;
  color: var(--accent);
}
.t-card__person {
  display: flex; align-items: center; gap: 0.7rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.85rem;
}
.t-card__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-deep);
  display: grid; place-items: center;
  font-weight: 600; font-size: 0.82rem;
  color: var(--ink);
}
.t-card__name { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.t-card__role { font-size: 0.78rem; color: var(--muted); }

/* ===========================================================
   FAQ
   =========================================================== */

.faq {
  padding: var(--section-pad-y) 0;
}
.faq__list {
  margin-top: clamp(2rem, 3vw, 2.75rem);
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 200ms ease;
}
.faq__q:hover { color: var(--accent); }
.faq__q-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all 200ms ease;
  color: var(--muted);
}
.faq__item.open .faq__q-icon {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}
.faq__item.open .faq__a { max-height: 500px; }
.faq__a-inner {
  padding: 0 0 1.5rem 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

/* ===========================================================
   FINAL CTA
   =========================================================== */

.cta {
  padding: var(--section-pad-y) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 30% 40%, var(--primary-soft) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, var(--gold-soft) 0%, transparent 50%);
  opacity: 0.7;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.25rem;
}
.cta__title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 18ch;
  color: var(--paper);
}
.cta__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.cta__sub {
  font-size: 1.1rem;
  color: rgba(245, 241, 232, 0.75);
  max-width: 50ch;
  line-height: 1.55;
}
.cta__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.cta .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.cta .btn-outline {
  color: var(--paper);
  border-color: rgba(245, 241, 232, 0.25);
}
.cta .btn-outline:hover {
  background: rgba(245, 241, 232, 0.08);
  border-color: var(--paper);
}
.cta__note {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(245, 241, 232, 0.5);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

[data-theme="dark"] .cta                        { --gold: #7a5200; }
[data-theme="dark"] .cta__sub                   { color: rgba(20, 17, 13, 0.7); }
[data-theme="dark"] .cta__note                  { color: rgba(20, 17, 13, 0.45); }
[data-theme="dark"] .cta .btn-primary           { background: var(--ink-soft); color: var(--paper); border-color: var(--ink-soft); }
[data-theme="dark"] .cta .btn-outline           { color: rgba(20, 17, 13, 0.85); border-color: rgba(20, 17, 13, 0.25); }
[data-theme="dark"] .cta .btn-outline:hover     { background: rgba(20, 17, 13, 0.08); border-color: rgba(20, 17, 13, 0.6); }
.cta .cta__eyebrow                              { color: rgba(245, 241, 232, 0.5); }
[data-theme="dark"] .cta .cta__eyebrow         { color: rgba(20, 17, 13, 0.5); }
[data-theme="dark"] .cta__title                 { color: rgba(20, 17, 13, 0.9); }

/* ===========================================================
   FOOTER
   =========================================================== */

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__copy {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.9rem; }
.footer__links a { color: var(--muted); transition: color 200ms ease; }
.footer__links a:hover { color: var(--ink); }

/* ===========================================================
   REVEAL ANIMATIONS
   =========================================================== */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* Headline letter-by-letter */
.kinetic span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.kinetic.is-visible span {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
