/* =============================================================
   PresenceOS — Marketing site styles
   Design language: premium, AI-native, fast, confident.
   Inspired by Pixis (creativity x performance) — distinct identity.
   ============================================================= */

/* --- Design Tokens ------------------------------------------- */
:root {
  /* Color — updated from the actual PresenceOS app screenshots:
     soft lavender canvas, deep teal primary actions, mint cards,
     and warm orange voice/boost accents.                             */
  --ink:        #0B0D16;     /* near-black text */
  --ink-2:      #242938;     /* secondary text */
  --muted:      #6B7280;     /* tertiary text */
  --line:       #E5E3EA;     /* hairlines on app canvas */
  --line-2:     #D4D7DF;
  --paper:      #F1F0F7;     /* app-like lavender grey */
  --paper-2:    #E9E8F0;     /* card surface on canvas */
  --white:      #FFFFFF;

  --accent:     #0B726D;     /* app primary teal */
  --accent-2:   #FF653D;     /* app voice/boost orange */
  --accent-ink: #053F3C;     /* deep teal for outlines */
  --app-mint:   #C8E7E2;     /* weekly/progress cards */
  --app-aqua:   #58BDB5;     /* selected nav/action states */
  --app-violet: #CF73FF;     /* subtle gradient border */
  --app-cyan:   #3AC6C1;     /* subtle gradient border */

  --ok:         #0B726D;
  --warn:       #C2410C;

  /* Typography */
  --font-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-sans:    "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --text-sm:   clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --text-lg:   clamp(1.15rem, 1.08rem + 0.4vw, 1.35rem);
  --text-xl:   clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --text-2xl:  clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  --text-3xl:  clamp(2.6rem, 2rem + 2.6vw, 3.75rem);
  --text-hero: clamp(2.6rem, 1.9rem + 4.2vw, 5rem);

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

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

  --shadow-sm: 0 1px 2px rgba(15, 12, 30, 0.06);
  --shadow:    0 10px 30px -12px rgba(15, 12, 30, 0.18);
  --shadow-lg: 0 24px 60px -22px rgba(15, 12, 30, 0.30);

  --container: 1200px;
}

/* --- Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #fff; }

/* --- Utilities ----------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
h2 { font-size: var(--text-3xl); letter-spacing: -0.025em; }
h3 { font-size: var(--text-xl); font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-size: var(--text-lg); font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0; }
.lede {
  font-size: var(--text-lg);
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.5;
}

/* --- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px -16px rgba(11,114,109,.38);
}
.btn-primary .app-icon { color: var(--paper); transition: color .25s ease; }
.btn-primary:hover .app-icon { color: #fff; }

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

.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 13px; }

/* App store button */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid var(--ink);
  transition: transform .25s ease, background-color .25s ease;
}
.btn-appstore:hover { transform: translateY(-2px); background: #000; }
.btn-appstore .as-mark { width: 28px; height: 28px; }
.btn-appstore .as-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-appstore .as-top { font-size: 10px; letter-spacing: 0.08em; opacity: 0.85; }
.btn-appstore .as-bot { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

/* --- Header -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav__brand .logo { width: 28px; height: 28px; }
.nav__links {
  display: none;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__links a { transition: color .2s ease; }
.nav__links a:hover { color: var(--accent); }
.nav__cta { display: inline-flex; gap: 10px; align-items: center; }
.nav-demo { display: none; }

@media (min-width: 860px) {
  .nav__links { display: inline-flex; }
}
@media (min-width: 1120px) {
  .nav-demo { display: inline-flex; }
}

/* --- Hero ---------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 1fr; }
}

.hero__title {
  font-size: var(--text-hero);
  letter-spacing: -0.035em;
  line-height: 1;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  margin-top: 24px;
  font-size: var(--text-lg);
  max-width: 56ch;
  color: var(--ink-2);
  line-height: 1.5;
}
.hero__ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}
.hero__meta strong { color: var(--ink); font-weight: 600; }

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

/* Decorative ring behind phone */
.hero__halo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 38%, rgba(200,231,226,0.72), transparent 48%),
    radial-gradient(ellipse at 72% 64%, rgba(255,101,61,0.15), transparent 56%);
  filter: blur(20px);
  z-index: 0;
}

/* --- Phone mockup -------------------------------------------- */
.phone {
  position: relative;
  width: 300px;
  height: 600px;
  border-radius: 44px;
  background: linear-gradient(160deg, #20242E 0%, #07090F 100%);
  padding: 12px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.04) inset,
    var(--shadow-lg);
  z-index: 1;
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 16px;
  z-index: 4;
}
.phone__screen {
  position: relative;
  height: 100%;
  width: 100%;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(255,255,255,0.54), transparent 34%),
    var(--paper);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__status {
  padding: 14px 22px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.phone__status .icons { display: inline-flex; gap: 4px; align-items: center; }
.phone__status .bar { width: 18px; height: 8px; background: var(--ink); border-radius: 2px; }

.phone__body {
  flex: 1;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.phone__body--home {
  padding-top: 42px;
  gap: 16px;
}
.app-home-title {
  font-family: var(--font-sans);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 400;
  text-align: center;
  color: var(--ink);
  margin: 0 6px 8px;
}
.app-talk {
  width: calc(100% - 22px);
  margin: 0 auto;
  border-radius: 999px;
  background: var(--accent-ink);
  color: #fff;
  padding: 12px 12px 12px 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 28px -18px rgba(5,63,60,.8);
}
.app-talk__mic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.app-talk__mic i {
  display: block;
  width: 3px;
  border-radius: 99px;
  background: #fff;
}
.app-talk__mic i:nth-child(1) { height: 12px; }
.app-talk__mic i:nth-child(2) { height: 20px; }
.app-talk__mic i:nth-child(3) { height: 15px; }
.app-talk__mic i:nth-child(4) { height: 24px; }
.app-week {
  border-radius: 24px;
  background: var(--app-mint);
  border: 6px solid rgba(255,255,255,.55);
  padding: 15px 14px;
  min-height: 122px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  overflow: hidden;
}
.app-week span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.app-week strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.05em;
}
.app-gauge {
  width: 58px;
  height: 58px;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--app-mint) 0 48%, transparent 50%),
    conic-gradient(var(--app-aqua) 0 42deg, rgba(255,255,255,.82) 42deg 270deg, transparent 270deg 360deg);
}
.app-gauge span {
  display: none;
}
.app-gauge span:first-child { background: var(--app-aqua); }
.app-gauge span:nth-child(1) { transform: rotate(-67deg); }
.app-gauge span:nth-child(2) { transform: rotate(-40deg); }
.app-gauge span:nth-child(3) { transform: rotate(-13deg); }
.app-gauge span:nth-child(4) { transform: rotate(14deg); }
.app-gauge span:nth-child(5) { transform: rotate(41deg); }
.app-gauge span:nth-child(6) { transform: rotate(68deg); }
.app-gauge em {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
  background: transparent;
}
.app-gauge small {
  display: block;
  font-size: 8px;
  margin-top: 1px;
  letter-spacing: 0;
  color: var(--ink-2);
}
.app-drafts-label {
  margin-top: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.app-draft-card {
  border-radius: 20px;
  box-shadow: 0 14px 34px -22px rgba(15,16,30,.4);
}
.app-draft-card .mock-row { align-items: flex-start; }
.app-draft-card .mock-meta {
  display: inline-flex;
  margin-top: 2px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

/* Floating chips around phone */
.float-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: floatY 6s ease-in-out infinite;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; }

.float-chip--a {
  top: 8%;
  left: -2%;
  animation-delay: 0s;
}
.float-chip--b {
  top: 42%;
  right: -8%;
  animation-delay: 1.2s;
}
.float-chip--c {
  bottom: 8%;
  left: -6%;
  animation-delay: 2.4s;
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Voice → post composer mockup */
.mock-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.mock-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--app-aqua), var(--app-mint));
  flex-shrink: 0;
}
.mock-name { font-weight: 600; font-size: 11px; }
.mock-meta { font-size: 10px; color: var(--muted); }
.mock-text {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-2);
}
.mock-text strong { color: var(--ink); }

.mock-image {
  margin-top: 10px;
  height: 90px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 28% 32%, #B6F06D, transparent 38%),
    radial-gradient(circle at 78% 72%, #715BFF, transparent 46%),
    linear-gradient(135deg, #092E31, #130F2F);
  position: relative;
  overflow: hidden;
}
.mock-image::after {
  content: "AI";
  position: absolute;
  top: 8px; right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35);
  padding: 2px 6px;
  border-radius: 4px;
}

.mock-actions {
  margin-top: 10px;
  display: flex;
  gap: 6px;
}
.mock-pill {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
}
.mock-pill--primary { background: var(--ink); color: var(--paper); }
.mock-pill--accent { background: var(--accent); color: #fff; }

/* Voice waveform */
.mock-voice {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: color-mix(in oklab, var(--app-mint) 45%, var(--white));
  border-radius: 999px;
  padding: 8px 12px;
}
.mock-voice .wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.mock-voice .wave i {
  display: inline-block;
  width: 2px;
  background: var(--accent-2);
  border-radius: 1px;
  animation: bar 1.2s ease-in-out infinite;
}
.mock-voice .wave i:nth-child(1) { height: 6px; animation-delay: 0s; }
.mock-voice .wave i:nth-child(2) { height: 14px; animation-delay: .1s; }
.mock-voice .wave i:nth-child(3) { height: 10px; animation-delay: .2s; }
.mock-voice .wave i:nth-child(4) { height: 18px; animation-delay: .3s; }
.mock-voice .wave i:nth-child(5) { height: 8px; animation-delay: .4s; }
.mock-voice .wave i:nth-child(6) { height: 14px; animation-delay: .5s; }
.mock-voice .wave i:nth-child(7) { height: 6px; animation-delay: .6s; }
@keyframes bar { 0%,100% { transform: scaleY(.6); } 50% { transform: scaleY(1.4); } }

.mock-voice .label { font-size: 11px; color: var(--ink-2); font-weight: 500; }
.mock-voice .time { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--muted); }

/* Section primitives ----------------------------------------- */
section { padding: clamp(64px, 8vw, 120px) 0; position: relative; scroll-margin-top: 80px; }
.section-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: var(--text-lg); line-height: 1.5; }

/* Trust strip */
.trust-strip {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 18px var(--container-pad);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-strip .marquee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  max-width: var(--container);
  margin: 0 auto;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 12px; }
.trust-strip span::before { content: "✦"; color: var(--app-aqua); }

/* --- Problem ------------------------------------------------- */
.problem {
  background: var(--ink);
  color: var(--paper);
}
.problem h2 { color: var(--paper); }
.problem .lede { color: rgba(246,244,238,0.78); }
.problem-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.problem-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: rgba(255,255,255,.02);
}
.problem-card h3 { color: var(--paper); font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); letter-spacing: -0.01em; }
.problem-card p { margin-top: 10px; color: rgba(246,244,238,0.7); font-size: 15px; line-height: 1.5; }
.problem-card .num {
  font-family: var(--font-mono);
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.14em;
}

/* --- How it works ------------------------------------------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (min-width: 960px) {
  .how-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

.steps { display: flex; flex-direction: column; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.step h3 { font-size: var(--text-lg); }
.step p { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

.how-preview {
  position: sticky;
  top: 100px;
  display: flex;
  justify-content: center;
}

/* --- Demo ---------------------------------------------------- */
.demo {
  background:
    radial-gradient(ellipse at 20% 18%, rgba(200,231,226,.55), transparent 42%),
    radial-gradient(ellipse at 82% 84%, rgba(255,101,61,.12), transparent 42%),
    var(--paper);
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .demo-grid { grid-template-columns: .9fr 1.1fr; }
}
.demo-points {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.demo-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}
.demo-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--app-aqua);
}
.demo-player {
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: var(--shadow);
}
.demo-player__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11,114,109,.86), rgba(5,63,60,.94)),
    radial-gradient(circle at 72% 24%, rgba(255,101,61,.52), transparent 34%);
  color: #fff;
  display: grid;
  place-items: center;
}
.demo-player__frame::before {
  content: "Voice → Post → Image → Boost";
  position: absolute;
  left: 24px;
  bottom: 38px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 10ch;
}
.demo-player__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.76);
}
.demo-play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.54);
  background: rgba(255,255,255,.96);
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  padding-left: 4px;
  box-shadow: 0 22px 50px -22px rgba(0,0,0,.55);
  cursor: default;
}
.demo-timeline {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.26);
  overflow: hidden;
}
.demo-timeline span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--app-aqua), var(--accent-2));
}
.demo-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.demo-note code {
  font-family: var(--font-mono);
  color: var(--accent);
}

/* --- Features ----------------------------------------------- */
.features {
  background: var(--paper-2);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.feature h3 { font-size: var(--text-lg); }
.feature p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--app-aqua));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature__visual {
  margin-top: auto;
  height: 130px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.feature--wide { grid-column: span 12; }
.feature--half { grid-column: span 12; }
.feature--third { grid-column: span 12; }
@media (min-width: 720px) {
  .feature--half  { grid-column: span 6; }
  .feature--third { grid-column: span 6; }
}
@media (min-width: 1000px) {
  .feature--wide  { grid-column: span 8; }
  .feature--half  { grid-column: span 4; }
  .feature--third { grid-column: span 4; }
}

/* Feature visual variants */
.fv-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.fv-prompt .strike { text-decoration: line-through; text-decoration-color: var(--warn); }
.fv-prompt .ok { color: var(--ok); font-weight: 600; }

.fv-image {
  background:
    radial-gradient(circle at 20% 30%, #B6F06D, transparent 45%),
    radial-gradient(circle at 80% 70%, #715BFF, transparent 50%),
    linear-gradient(135deg, #092E31, #130F2F);
  position: relative;
}
.fv-image::after {
  content: "Generated for your post";
  position: absolute;
  bottom: 10px; left: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.fv-comment {
  padding: 14px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fv-comment .post {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink-2);
}
.fv-comment .reply {
  background: var(--accent);
  color: var(--white);
  padding: 8px 10px;
  border-radius: 8px;
  align-self: flex-end;
  max-width: 80%;
}

.fv-boost {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 12px;
}
.fv-boost .meter {
  width: 80%;
  height: 8px;
  background: color-mix(in oklab, var(--app-mint) 36%, var(--white));
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.fv-boost .meter::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 72%;
  background: linear-gradient(90deg, var(--accent), var(--app-aqua), var(--accent-2));
  border-radius: 999px;
}
.fv-boost .labels {
  display: flex;
  justify-content: space-between;
  width: 80%;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
}

.fv-voice {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 4px;
}
.fv-voice i {
  display: inline-block;
  width: 4px;
  background: var(--accent-2);
  border-radius: 2px;
  animation: bar 1.4s ease-in-out infinite;
}
.fv-voice i:nth-child(1) { height: 20px; animation-delay: 0s; }
.fv-voice i:nth-child(2) { height: 40px; animation-delay: .1s; }
.fv-voice i:nth-child(3) { height: 60px; animation-delay: .2s; }
.fv-voice i:nth-child(4) { height: 80px; animation-delay: .3s; }
.fv-voice i:nth-child(5) { height: 50px; animation-delay: .4s; }
.fv-voice i:nth-child(6) { height: 70px; animation-delay: .5s; }
.fv-voice i:nth-child(7) { height: 30px; animation-delay: .6s; }
.fv-voice i:nth-child(8) { height: 50px; animation-delay: .7s; }
.fv-voice i:nth-child(9) { height: 20px; animation-delay: .8s; }

.fv-consistency {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 14px;
  height: 100%;
}
.fv-consistency .day {
  background: var(--paper-2);
  border-radius: 4px;
  position: relative;
}
.fv-consistency .day.on { background: var(--accent); }
.fv-consistency .day.partial { background: color-mix(in oklab, var(--accent) 50%, var(--paper-2)); }

/* --- Maturity Model ----------------------------------------- */
.maturity {
  background: var(--ink);
  color: var(--paper);
}
.maturity h2 { color: var(--paper); }
.maturity .lede { color: rgba(246,244,238,0.78); }

.stages {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 860px) {
  .stages { grid-template-columns: repeat(3, 1fr); }
}
.stage {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform .3s ease, border-color .3s ease;
}
.stage:hover { transform: translateY(-3px); border-color: var(--accent); }
.stage .badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.stage h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  color: var(--paper);
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.stage p { margin-top: 10px; color: rgba(246,244,238,0.72); font-size: 15px; line-height: 1.5; }
.stage ul { margin-top: 14px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: rgba(246,244,238,0.78); }
.stage ul li::before { content: "—"; color: var(--accent); margin-right: 8px; }

.stage--magnet { border-color: var(--app-aqua); background: linear-gradient(180deg, rgba(11,114,109,0.22), rgba(255,255,255,0.02)); }
.stage--magnet .badge { color: var(--accent-2); }

/* --- Pricing ------------------------------------------------ */
.pricing-card {
  margin: 0 auto;
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.pricing-toggle {
  display: inline-flex;
  background: var(--paper-2);
  padding: 4px;
  border-radius: 999px;
  font-size: 13px;
}
.pricing-toggle button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background-color .25s ease, color .25s ease;
}
.pricing-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}
.pricing-toggle .save {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-left: 6px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 24px;
}
.price__amount {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price__per { color: var(--muted); font-size: 14px; }
.price__annual { margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.price__annual span { font-family: var(--font-mono); color: var(--accent); }

.pricing-features {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 24px;
  list-style: none;
  padding: 0;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.pricing-features svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.pricing-cta { margin-top: 32px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pricing-note { font-size: 13px; color: var(--muted); }
.business-card {
  margin: 28px auto 0;
  max-width: 720px;
  border: 1px solid color-mix(in oklab, var(--accent) 28%, var(--line));
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 88% 20%, rgba(255,101,61,.12), transparent 42%),
    var(--white);
  padding: clamp(24px, 3.5vw, 34px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 760px) {
  .business-card { grid-template-columns: 1fr auto; }
}
.business-card h3 {
  margin-top: 10px;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
}
.business-card p {
  margin-top: 8px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* --- Trust/Control ----------------------------------------- */
.control-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 860px) {
  .control-grid { grid-template-columns: repeat(3, 1fr); }
}
.control-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.control-card .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--paper-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* --- Reviews ------------------------------------------------ */
.reviews {
  background: var(--paper-2);
}
.reviews-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
}
@media (min-width: 900px) {
  .reviews-head { grid-template-columns: minmax(0, 1fr) 320px; }
}
.trustpilot-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.trustpilot-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.trustpilot-star {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #00B67A;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}
.trustpilot-card p {
  margin-top: 14px;
  font-weight: 700;
}
.trustpilot-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}
.review-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .review-grid { grid-template-columns: repeat(4, 1fr); }
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
.review-stars {
  color: #00B67A;
  letter-spacing: .04em;
  font-size: 14px;
}
.review-card p {
  margin-top: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  font-size: 15px;
}
.review-card footer {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-card footer span {
  font-weight: 700;
  color: var(--ink);
}
.review-card footer small {
  color: var(--muted);
}

/* --- Who it's for ------------------------------------------ */
.audience {
  background: var(--paper-2);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.audience-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s ease, border-color .3s ease;
}
.audience-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.audience-card .role {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.audience-card .use { font-size: 14px; color: var(--ink-2); }

/* --- Parent / Pixis ---------------------------------------- */
.parent {
  text-align: center;
}
.parent .pixis-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.parent h2 { margin-top: 28px; }
.parent p { margin: 18px auto 0; max-width: 60ch; color: var(--ink-2); font-size: var(--text-lg); line-height: 1.5; }
.parent .pixis-link {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* --- Final CTA --------------------------------------------- */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(58,198,193,0.26), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(255,101,61,0.18), transparent 50%);
  pointer-events: none;
}
.final-cta__inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.final-cta h2 { color: var(--paper); font-size: var(--text-hero); line-height: 1; letter-spacing: -0.035em; }
.final-cta h2 em { font-style: italic; color: var(--accent-2); }
.final-cta p { margin-top: 22px; color: rgba(246,244,238,0.78); font-size: var(--text-lg); }
.final-cta .ctas { margin-top: 40px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.final-cta .btn-appstore { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.final-cta .btn-appstore:hover { background: var(--app-mint); border-color: var(--app-mint); }
.final-cta .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.2); }
.final-cta .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* --- Footer ------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(246,244,238,0.7);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand .logo { color: var(--paper); }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 38ch; line-height: 1.5; }
.footer-col h5 { color: var(--paper); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: rgba(246,244,238,0.5);
}

/* --- Faint accent typography on hero badge ----------------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  position: relative;
}
.hero-badge .pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent-2);
  opacity: 0.5;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}

/* --- Reveal on scroll -------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
