/* =====================================================================
   TRIQHR.COM — site styles. Tokens only (R7). Mobile pass: 360px.
   ===================================================================== */

html { scroll-behavior: smooth; }
body { background: var(--wash-site); background-attachment: fixed; }

.wrap { max-width: var(--width-site); margin: 0 auto; padding: 0 var(--space-5); }
.prose { max-width: var(--width-prose); }

h1, h2, h3 { line-height: var(--leading-tight); margin: 0 0 var(--space-4); }
.display { font-family: var(--font-display); font-weight: var(--weight-regular); letter-spacing: var(--tracking-tight); }
.display em { font-style: italic; color: var(--accent-warm); }
p { margin: 0 0 var(--space-4); }
.lede { font-size: var(--text-lede); color: var(--text-secondary); line-height: var(--leading-loose); }

.eyebrow {
  display: inline-block; font-size: var(--text-xs); font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--site-accent); margin-bottom: var(--space-3);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--space-5); height: 64px; }
.brand { font-family: var(--font-display); font-size: 26px; color: var(--violet-deep); text-decoration: none; letter-spacing: -.01em; }
.brand b { color: var(--site-accent); font-weight: inherit; }
.main-nav { display: flex; gap: var(--space-2); margin-left: auto; align-items: center; }
.main-nav a {
  text-decoration: none; color: var(--text-secondary); font-size: var(--text-sm);
  font-weight: var(--weight-semibold); padding: 8px 12px; border-radius: var(--radius-full);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.main-nav a:hover { color: var(--text-primary); background: var(--surface-sunken); }
.main-nav a[aria-current="page"] { color: var(--site-accent); background: var(--accent-primary-soft); }
.nav-cta {
  background: var(--site-accent); color: var(--text-inverse) !important;
  padding: 10px 18px !important; box-shadow: var(--shadow-glow-primary);
}
.nav-cta:hover { background: var(--site-accent-strong) !important; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: var(--space-2); cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; border-radius: 2px; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  border-radius: var(--btn-radius); padding: 14px 26px; font-size: var(--text-md);
  font-weight: var(--weight-bold); font-family: var(--font-body); text-decoration: none;
  border: 0; cursor: pointer; min-height: var(--touch-min);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast), box-shadow var(--dur-fast);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--site-accent); color: var(--text-inverse); box-shadow: var(--shadow-glow-primary); }
.btn-primary:hover { background: var(--site-accent-strong); }
.btn-warm { background: var(--accent-warm); color: var(--text-inverse); box-shadow: var(--shadow-glow-warm); }
.btn-warm:hover { background: var(--accent-warm-strong); }
.btn-ghost { background: transparent; color: var(--text-inverse); border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-quiet { background: var(--surface-sunken); color: var(--text-primary); }
.btn-quiet:hover { background: var(--mist-200); }

/* ---------- hero ---------- */
.hero { background: var(--site-hero-bg); color: var(--text-inverse); overflow: hidden; position: relative; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(255,122,89,.16), transparent 60%),
    radial-gradient(560px 460px at 4% 96%, rgba(108,92,231,.28), transparent 60%);
}
.hero .wrap {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: var(--space-8); align-items: center; padding-top: 72px; padding-bottom: 84px;
}
.hero h1 { font-size: var(--text-hero); margin-bottom: var(--space-5); }
.hero .lede { color: var(--mist-300); max-width: 34em; }
.hero-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; margin: var(--space-6) 0 var(--space-4); }
.hero-note { font-size: var(--text-sm); color: var(--mist-400); }
.hero-note a { color: var(--mist-300); }

/* ---------- the flip (signature) ---------- */
.flip-stage { perspective: 1400px; }
.flip-card {
  position: relative; width: 100%; aspect-ratio: 5 / 5.4; max-width: 460px; margin: 0 auto;
  transform-style: preserve-3d; transition: transform var(--dur-room) var(--ease-room); cursor: pointer;
}
.flip-card.flipped { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: var(--space-4); overflow: hidden;
}
.face-space { background: var(--wash-space); color: var(--text-primary); }
.face-desk  { background: var(--surface-app-desk); color: var(--text-primary); transform: rotateY(180deg); }
.room-tag {
  align-self: flex-start; font-size: var(--text-xs); font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps); text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-full);
}
.face-space .room-tag { background: var(--accent-warm-soft); color: var(--accent-warm-strong); }
.face-desk  .room-tag { background: var(--accent-primary-soft); color: var(--site-accent-strong); }
.vig-card { background: var(--surface-card); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-sm); }
.face-desk .vig-card { border-radius: var(--radius-md); }
.vig-greeting { font-family: var(--font-display); font-size: 24px; }
.vig-greeting .grad-name { background: var(--grad-name); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vig-sub { font-size: var(--text-sm); color: var(--text-secondary); }
.vig-moment { display: flex; gap: var(--space-3); align-items: center; }
.vig-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-life { background: var(--meaning-life); }
.dot-work { background: var(--meaning-work); }
.punch-btn {
  align-self: center; margin-top: auto; background: var(--grad-primary); color: var(--text-inverse);
  border: 0; border-radius: var(--radius-full); padding: 13px 30px; font-weight: var(--weight-bold);
  font-size: var(--text-md); box-shadow: var(--shadow-glow-primary); pointer-events: none;
}
.desk-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); font-size: var(--text-sm); padding: 9px 0; border-bottom: 1px solid var(--border-default); }
.desk-row:last-child { border-bottom: 0; }
.pill { font-size: var(--text-xs); font-weight: var(--weight-bold); padding: 3px 10px; border-radius: var(--radius-full); white-space: nowrap; }
.pill-ok   { background: var(--status-ok-bg);   color: var(--status-ok-fg); }
.pill-wait { background: var(--status-wait-bg); color: var(--status-wait-fg); }
.pill-info { background: var(--status-info-bg); color: var(--status-info-fg); }
.flip-hint {
  margin-top: var(--space-4); text-align: center; font-size: var(--text-sm); color: var(--mist-400);
}
.flip-hint button {
  background: rgba(255,255,255,.10); color: var(--mist-200); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full); padding: 9px 20px; font-weight: var(--weight-semibold);
  font-family: var(--font-body); font-size: var(--text-sm); cursor: pointer; min-height: var(--touch-min);
}
.flip-hint button:hover { background: rgba(255,255,255,.16); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section h2 { font-size: var(--text-section); }
.section-head { max-width: 760px; margin-bottom: var(--space-8); }
.on-dark { background: var(--site-hero-bg); color: var(--text-inverse); }
.on-dark .lede, .on-dark p { color: var(--mist-300); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

.card {
  background: var(--surface-card); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-card); border: 1px solid var(--mist-100);
}
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.card p { font-size: var(--text-base); color: var(--text-secondary); margin: 0; }
.card .meaning-bar { width: 44px; height: 5px; border-radius: var(--radius-full); margin-bottom: var(--space-4); }

/* charter cards */
.charter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.charter-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl); padding: var(--space-7) var(--space-6);
}
.charter-num {
  width: 46px; height: 46px; border-radius: var(--radius-full); display: flex; align-items: center;
  justify-content: center; font-family: var(--font-display); font-size: 24px; color: var(--text-inverse);
  background: var(--grad-name); margin-bottom: var(--space-5);
}
.charter-card h3 { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: 24px; color: var(--text-inverse); }
.charter-card p { font-size: var(--text-base); }

/* vignettes */
.vignette { background: var(--surface-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: var(--space-6); border: 1px solid var(--mist-100); }
.doc-card { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--border-default); border-radius: var(--radius-md); margin-bottom: var(--space-3); background: var(--surface-raised); }
.doc-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--accent-primary-soft); color: var(--site-accent-strong); display: flex; align-items: center; justify-content: center; font-weight: var(--weight-heavy); font-size: var(--text-xs); flex: none; }
.doc-meta { font-size: var(--text-xs); color: var(--text-tertiary); }
.untag-note {
  border-left: 4px solid var(--accent-warm); background: var(--accent-warm-soft);
  border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm); color: var(--peach-700);
}

/* journey vignette */
.jny { position: relative; padding-left: 26px; }
.jny::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--grad-spine); }
.jny-item { position: relative; margin-bottom: var(--space-5); }
.jny-item::before { content: ""; position: absolute; left: -24px; top: 5px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--mist-0); box-shadow: var(--shadow-sm); }
.jny-life::before { background: var(--meaning-life); }
.jny-work::before { background: var(--meaning-work); }
.jny-landmark::before { background: var(--accent-landmark); }
.jny-year { font-family: var(--font-display); font-size: 34px; color: var(--mist-300); line-height: 1; margin-bottom: var(--space-3); }
.jny-title { font-weight: var(--weight-bold); font-size: var(--text-md); }
.jny-note { font-size: var(--text-sm); color: var(--text-secondary); }
.jny-landmark .jny-title { color: var(--violet-deep); }

.jny-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: var(--text-inverse);
  font-weight: var(--weight-heavy); font-size: var(--text-sm); flex: none;
  box-shadow: var(--shadow-sm);
}
.jny-avatar.sm { width: 24px; height: 24px; font-size: 10px; vertical-align: middle; margin-right: 6px; }

/* mirror vignette — the only paper surface on the site */
.mirror-vig { background: var(--surface-mirror); border: 1px solid var(--border-mirror); border-left: 5px solid var(--paper-accent); border-radius: var(--radius-lg); padding: var(--space-6); font-family: var(--font-mirror); color: var(--text-mirror); box-shadow: var(--shadow-sm); }
.mirror-vig .whisper { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--paper-mut); margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-2); }
.mirror-vig p { font-size: 19px; font-style: italic; line-height: var(--leading-loose); color: var(--text-mirror); }
.not-quite { font-family: var(--font-body); font-size: var(--text-sm); background: var(--paper-100); border: 1px solid var(--border-mirror); color: var(--paper-ink); border-radius: var(--radius-full); padding: 7px 16px; display: inline-block; }

/* pillars */
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-5); padding: var(--space-6) 0; border-bottom: 1px solid var(--mist-200); }
.pillar:last-child { border-bottom: 0; }
.pillar-mark { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 26px; color: var(--text-inverse); flex: none; }
.pillar h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.pillar p { color: var(--text-secondary); margin: 0; max-width: 56em; }

/* feature tour tabs (product page) */
.tour { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-7); align-items: start; }
.tour-nav { position: sticky; top: 88px; display: flex; flex-direction: column; gap: var(--space-1); }
.tour-nav a { text-decoration: none; color: var(--text-secondary); font-size: var(--text-sm); font-weight: var(--weight-semibold); padding: 10px 14px; border-radius: var(--radius-sm); border-left: 3px solid transparent; }
.tour-nav a:hover { background: var(--surface-sunken); color: var(--text-primary); }
.tour-nav a.active { color: var(--site-accent); border-left-color: var(--site-accent); background: var(--accent-primary-soft); }
.module { padding: var(--space-7) 0; border-bottom: 1px solid var(--mist-200); scroll-margin-top: 90px; }
.module:first-child { padding-top: 0; }
.module:last-child { border-bottom: 0; }
.module h3 { font-size: var(--text-xl); }
.module .kicker { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--site-accent); margin-bottom: var(--space-2); }
.feature-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-6); }
.feature-list li { position: relative; padding-left: 22px; font-size: var(--text-base); color: var(--text-secondary); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-growth); }

/* steps (get started) */
.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.step { display: grid; grid-template-columns: 46px 1fr; gap: var(--space-4); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 46px; height: 46px; border-radius: var(--radius-full); background: var(--grad-name);
  color: var(--text-inverse); font-family: var(--font-display); font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: var(--text-md); margin-bottom: 4px; }
.step p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; }

/* forms */
.form-card { background: var(--surface-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 1px solid var(--mist-100); padding: var(--space-7); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: var(--text-base); color: var(--text-primary);
  background: var(--input-bg); border: 1px solid transparent; border-radius: var(--input-radius);
  padding: 12px 14px; min-height: var(--touch-min);
}
.field input:focus, .field select:focus, .field textarea:focus { background: var(--input-bg-focus); border-color: var(--input-border-focus); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); }
.check { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); color: var(--text-secondary); }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--site-accent); }
.form-note { font-size: var(--text-xs); color: var(--text-tertiary); }
.form-success { display: none; text-align: center; padding: var(--space-8) var(--space-5); }
.form-success h3 { font-family: var(--font-display); font-size: 28px; font-weight: var(--weight-regular); }
.tabs { display: flex; gap: var(--space-2); background: var(--surface-sunken); padding: 5px; border-radius: var(--radius-full); width: fit-content; margin-bottom: var(--space-6); }
.tabs button {
  border: 0; background: transparent; font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: var(--weight-bold); color: var(--text-secondary); padding: 10px 20px;
  border-radius: var(--radius-full); cursor: pointer; min-height: var(--touch-min);
}
.tabs button[aria-selected="true"] { background: var(--surface-card); color: var(--site-accent); box-shadow: var(--shadow-sm); }

/* faq */
.faq { border-top: 1px solid var(--mist-200); }
.faq details { border-bottom: 1px solid var(--mist-200); }
.faq summary { cursor: pointer; padding: var(--space-5) 0; font-size: var(--text-md); font-weight: var(--weight-bold); list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--site-accent); font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 0 var(--space-5); color: var(--text-secondary); max-width: 62em; }

/* roadmap */
.roadmap-item { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-5); padding: var(--space-5) 0; border-bottom: 1px solid var(--mist-200); }
.roadmap-item:last-child { border-bottom: 0; }
.roadmap-tag { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--status-wait-fg); background: var(--status-wait-bg); border-radius: var(--radius-full); padding: 5px 12px; height: fit-content; width: fit-content; }
.roadmap-item h3 { font-size: var(--text-md); margin-bottom: 4px; }
.roadmap-item p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; }

/* proof strip */
.proof { font-size: var(--text-sm); color: var(--text-tertiary); border-top: 1px solid var(--mist-200); border-bottom: 1px solid var(--mist-200); padding: var(--space-5) 0; text-align: center; }

/* cta band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--text-section); }
.cta-band .hero-ctas { justify-content: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--violet-night); color: var(--mist-400); padding: 56px 0 32px; margin-top: 84px; }
.site-footer a { color: var(--mist-300); text-decoration: none; }
.site-footer a:hover { color: var(--mist-0); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-7); margin-bottom: var(--space-7); }
.footer-grid h4 { font-size: var(--text-xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--mist-500); margin: 0 0 var(--space-3); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.footer-brand { font-family: var(--font-display); font-size: 30px; color: var(--mist-0); }
.footer-line { font-size: var(--text-sm); max-width: 30em; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.10); padding-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); font-size: var(--text-xs); color: var(--mist-500); align-items: center; }
.build-tag { margin-left: auto; font-family: monospace; }

/* ---------- responsive (360px pass) ---------- */
@media (max-width: 1024px) {
  .tour { grid-template-columns: 1fr; }
  .tour-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .tour-nav a { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .grid-3, .charter-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--mist-0); border-bottom: 1px solid var(--border-default);
    flex-direction: column; align-items: stretch; padding: var(--space-4); gap: var(--space-1);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .nav-toggle { display: block; }
  .section { padding: 56px 0; }
  .feature-list { grid-template-columns: 1fr; }
  .form-grid, .checks { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 44px 1fr; gap: var(--space-4); }
  .pillar-mark { width: 44px; height: 44px; font-size: 21px; }
  .roadmap-item { grid-template-columns: 1fr; gap: var(--space-2); }
}
@media (max-width: 400px) {
  .wrap { padding: 0 var(--space-4); }
  .hero-ctas .btn { width: 100%; }
  .flip-card { aspect-ratio: 5 / 6; }
}

/* =====================================================================
   SITE-D4 ADDITIONS — floating hero cards, before/after, persona row,
   product switcher, sample-data mockups, WhatsApp, consent, calculator
   ===================================================================== */

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(37,211,102,.7); text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out);
}
.wa-float:hover { transform: scale(1.06); }

/* Cookie-consent banner */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  max-width: 640px; margin: 0 auto;
  background: var(--violet-deep); color: var(--mist-0);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: var(--space-5); display: flex; gap: var(--space-4);
  align-items: center; flex-wrap: wrap;
}
.consent-banner p { margin: 0; font-size: var(--text-sm); color: var(--mist-300); flex: 1 1 280px; }
.consent-banner a { color: var(--peach-300); }
.consent-actions { display: flex; gap: var(--space-2); margin-left: auto; }
.consent-actions .btn { padding: 10px 18px; font-size: var(--text-sm); }

/* Floating sample cards over the hero flip */
.flip-stage { position: relative; }
.float-card {
  position: absolute; z-index: 3; background: var(--surface-card); color: var(--text-primary);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 10px 13px;
  display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs);
  font-weight: var(--weight-semibold); animation: floaty 5s var(--ease-out) infinite;
}
.float-card .fc-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.fc-ok { color: var(--mint-600); } .fc-ok .fc-dot { background: var(--mint-500); }
.fc-life { color: var(--marigold-700); } .fc-life .fc-dot { background: var(--marigold-500); }
.float-a { top: 8%; left: -18px; animation-delay: 0s; }
.float-b { bottom: 14%; right: -14px; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

/* Before / After */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--space-5); align-items: stretch; }
.ba-col { border-radius: var(--radius-lg); padding: var(--space-6); border: 1px solid var(--mist-200); }
.ba-before { background: var(--surface-card); }
.ba-after { background: var(--wash-space); border-color: var(--accent-primary-soft); }
.ba-col h3 { font-size: var(--text-md); display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.ba-tag { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-full); }
.ba-before .ba-tag { background: var(--status-error-bg); color: var(--status-error-fg); }
.ba-after .ba-tag { background: var(--status-ok-bg); color: var(--status-ok-fg); }
.ba-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.ba-col li { position: relative; padding-left: 24px; font-size: var(--text-base); color: var(--text-secondary); }
.ba-before li::before { content: "\00d7"; position: absolute; left: 0; color: var(--accent-danger); font-weight: var(--weight-heavy); }
.ba-after li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent-growth-strong); font-weight: var(--weight-heavy); }
.ba-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent-primary); font-size: 28px; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; } .ba-arrow { transform: rotate(90deg); padding: var(--space-2) 0; } }

/* Persona lens row */
.persona-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.persona { background: var(--surface-card); border: 1px solid var(--mist-100); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-card); }
.persona .pic { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-inverse); font-weight: var(--weight-heavy); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.persona h4 { font-size: var(--text-base); margin: 0 0 4px; }
.persona p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; }
@media (max-width: 1024px) { .persona-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .persona-row { grid-template-columns: 1fr; } }

/* Product module switcher (tabs beside a panel) */
.mod-switch { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.mod-switch button {
  border: 1px solid var(--border-default); background: var(--surface-card); color: var(--text-secondary);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--weight-semibold);
  padding: 9px 16px; border-radius: var(--radius-full); cursor: pointer; min-height: var(--touch-min);
}
.mod-switch button[aria-selected="true"] { background: var(--site-accent); color: var(--text-inverse); border-color: var(--site-accent); box-shadow: var(--shadow-glow-primary); }
.mod-panel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.mod-panel .kicker { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--site-accent); margin-bottom: var(--space-2); }
.mod-panel h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.mod-panel .feature-list { margin-top: var(--space-4); }
@media (max-width: 860px) { .mod-panel { grid-template-columns: 1fr; } }

/* Sample-data mockup (realistic product shot) */
.mock {
  background: var(--surface-card); border: 1px solid var(--mist-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-app-desk); border-bottom: 1px solid var(--border-default); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--mist-300); display: block; }
.mock-bar span { margin-left: var(--space-3); font-size: var(--text-xs); color: var(--text-tertiary); }
.mock-body { padding: var(--space-5); }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); font-size: var(--text-sm); padding: 10px 0; border-bottom: 1px solid var(--border-default); }
.mock-row:last-child { border-bottom: 0; }
.mock-head { font-family: var(--font-display); font-size: 22px; color: var(--violet-deep); margin-bottom: var(--space-3); }
.mock-metric { display: flex; align-items: baseline; gap: var(--space-2); }
.mock-metric b { font-size: 26px; color: var(--accent-growth-strong); }

/* Resources + calculator */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.tool-card { background: var(--surface-card); border: 1px solid var(--mist-100); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-card); }
.tool-card .soon { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--status-wait-fg); background: var(--status-wait-bg); border-radius: var(--radius-full); padding: 4px 11px; }
.tool-card h3 { font-size: var(--text-md); margin: var(--space-3) 0 var(--space-2); }
.tool-card p { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; background: var(--surface-card); border: 1px solid var(--mist-100); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: var(--space-7); }
.calc .field { margin-bottom: var(--space-4); }
.calc-out { background: var(--wash-space); border-radius: var(--radius-lg); padding: var(--space-6); border: 1px solid var(--accent-primary-soft); }
.calc-out .line { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--border-default); font-size: var(--text-base); color: var(--text-secondary); }
.calc-out .line:last-of-type { border-bottom: 0; }
.calc-out .total { margin-top: var(--space-3); padding-top: var(--space-4); border-top: 2px solid var(--accent-primary); }
.calc-out .total .big { font-family: var(--font-display); font-size: clamp(30px, 6vw, 44px); color: var(--violet-deep); }
.calc-note { font-size: var(--text-xs); color: var(--text-tertiary); margin-top: var(--space-4); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* Honeypot spam-trap field — hidden from humans, visible to bots */
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
