/* ============================================================
   TortoiseAI — Complete Homepage Stylesheet
   Combined from Claude Design v4 bundle
   ============================================================ */

:root {
  --sage: #F7F8F5;
  --sage-deep: #EEF4F0;
  --cream: #FAF8F1;
  --white: #FFFFFF;
  --ink: #15231A;
  --ink-soft: #3D4F43;
  --ink-mute: #6B7C70;
  --forest: #1C3A28;
  --green: #2E6B47;
  --green-soft: #8FB89E;
  --dark: #0F1511;
  --dark-2: #161D17;
  --line: rgba(21, 35, 26, 0.10);
  --line-dark: rgba(255, 255, 255, 0.10);
  --serif: var(--font-serif), Georgia, serif;
  --sans: var(--font-sans), -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --clay: #BE5E37;
  --clay-deep: #A24A28;
  --clay-soft: #E3A57C;
  --apricot: #E0A05A;
  --clay-tint: rgba(190, 94, 55, 0.12);
  --gold: #B7821F;
  --gold-tint: rgba(224, 160, 90, 0.16);
  --warm-bg: #F4E7DB;
  --warm-bg-2: #EFDAC8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--forest); color: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.page { background: var(--cream); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-soft));
  z-index: 200; transition: width 0.1s linear;
  box-shadow: 0 0 14px rgba(46, 107, 71, 0.6);
}

/* ---------- Reveal system ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; }
}

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 300; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ---------- Stacked rounded sections ---------- */
.round-top {
  border-radius: 44px 44px 0 0;
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

/* ---------- Intro veil ---------- */
.intro-veil {
  position: fixed; inset: 0; z-index: 500; background: var(--dark);
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.intro-veil.gone { opacity: 0; visibility: hidden; }
.intro-mark {
  font-family: var(--serif); font-style: italic; font-size: 64px; color: var(--cream);
  display: flex; align-items: center; gap: 16px;
}
.intro-mark .ring {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--green-soft);
  border-top-color: transparent; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 22px;
  border-radius: 100px;
  background: rgba(250, 248, 241, 0.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(21, 35, 26, 0.07);
  box-shadow: 0 8px 32px rgba(21, 35, 26, 0.06);
  z-index: 100;
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
}
.nav.is-hidden { transform: translateX(-50%) translateY(-120%); }
.nav.is-scrolled { box-shadow: 0 12px 40px rgba(21, 35, 26, 0.12); }

.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 0 !important; font-style: italic;
  overflow: hidden;
}
.nav-logo-mark img { width: 78%; height: 78%; object-fit: contain; display: block; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 9px 16px; border-radius: 100px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); transition: background 0.25s, color 0.25s;
  position: relative;
}
.nav-links a:hover { background: rgba(21, 35, 26, 0.06); color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 1.5px; background: var(--forest);
  transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.nav-links a:hover::after { transform: scaleX(1); opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-signin { padding: 9px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); border-radius: 100px; transition: color 0.25s; }
.nav-signin:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform;
}
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(28, 58, 40, 0.35); background: var(--green); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(21, 35, 26, 0.22); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-dark::after, .btn-light::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn-dark:hover::after, .btn-light:hover::after { left: 130%; }
.btn.magnetic { will-change: transform; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: #F7F8F5;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 160, 90, 0.22), transparent 65%);
  left: -12%; bottom: -8%; pointer-events: none; z-index: 0;
  animation: glowPulse 9s ease-in-out 1s infinite alternate;
}
.hero-contours { display: none !important; }
.hero-contours--anim g {
  stroke: #276152 !important;
  stroke-opacity: 0.10 !important;
}

.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 184, 158, 0.35), transparent 65%);
  top: 10%; right: -10%; pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
  opacity: 0.35;
}
@keyframes glowPulse { from { opacity: 0.6; } to { opacity: 1; transform: scale(1.08); } }

.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  z-index: 1;
  transform: translateY(calc(var(--hero-p, 0) * 120px));
  opacity: calc(1 - var(--hero-p, 0) * 1.15);
  will-change: transform, opacity;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green); margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 107, 71, 0.4); } 50% { box-shadow: 0 0 0 8px rgba(46, 107, 71, 0); } }

.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: 1.02; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 30px;
}
.hero h1 em { font-style: italic; color: var(--forest); }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .w > span {
  display: inline-block; transform: translateY(110%);
  animation: wordRise 1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 0.07s + 0.15s);
}
@keyframes wordRise { to { transform: translateY(0); } }

.hero-sub {
  font-size: 18px; line-height: 1.7; color: var(--ink-soft);
  max-width: 540px; margin-bottom: 38px;
  text-wrap: pretty;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { width: 100%; margin-top: 18px; font-size: 13.5px; color: var(--ink-mute); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--green); flex: none; }

/* Hero visual / orb */
.hero-visual { position: relative; height: 560px; overflow: visible !important; border: none !important; }
.orb-wrap { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; overflow: visible !important; }

.new-orb-shell { position: relative; width: min(520px, 100%); height: min(520px, 100%); }
.new-orb-svg {
  display: block; width: 100%; height: 100%;
  filter: drop-shadow(0 16px 64px rgba(27,77,62,0.20));
  animation: orbSlowSpin 50s linear infinite;
}
@keyframes orbSlowSpin { to { transform: rotate(360deg); } }
.orb-dot-grid {
  position: absolute; top: 7%; left: 6%; width: 36%; height: 36%;
  background-image: radial-gradient(circle, rgba(39,97,82,0.25) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  pointer-events: none; z-index: 1;
}
.orb-center-circle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  background: #FFFFFF; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(27,77,62,0.16), 0 2px 8px rgba(0,0,0,0.05);
  z-index: 3;
}
.orb-audio-bars { display: flex; align-items: center; gap: 5px; }
.orb-audio-bars span {
  display: block; width: 4px; border-radius: 3px;
  background: #276152;
  animation: audioBarPulse 1.35s ease-in-out infinite;
}
.orb-audio-bars span:nth-child(1) { height: 14px; animation-delay: 0.00s; }
.orb-audio-bars span:nth-child(2) { height: 26px; animation-delay: 0.15s; }
.orb-audio-bars span:nth-child(3) { height: 38px; animation-delay: 0.30s; }
.orb-audio-bars span:nth-child(4) { height: 22px; animation-delay: 0.45s; }
.orb-audio-bars span:nth-child(5) { height: 12px; animation-delay: 0.60s; }
@keyframes audioBarPulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.6; }
  50%       { transform: scaleY(1);    opacity: 1; }
}

.orb-label {
  position: absolute; left: 50%; bottom: 8%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 11px;
  background: rgba(15, 21, 17, 0.62); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--cream); border-radius: 100px; padding: 11px 20px 11px 16px;
  box-shadow: 0 18px 44px rgba(15, 21, 17, 0.3);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  animation: floatY 7s ease-in-out 0.6s infinite;
  z-index: 4;
}
.orb-label .lc-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #6FCF97; flex: none;
  box-shadow: 0 0 0 0 rgba(111, 207, 151, 0.6);
  animation: dotPulse 1.5s ease-in-out infinite;
}
.orb-label small { color: rgba(250, 248, 241, 0.55); font-weight: 500; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 13px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px; padding: 15px 20px;
  box-shadow: 0 18px 44px rgba(21, 35, 26, 0.13);
  animation: floatY 6s ease-in-out infinite;
  transition: transform 0.3s ease-out;
  will-change: transform;
}
.float-card .fc-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--sage); color: var(--forest);
}
.float-card b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.float-card small { font-size: 13px; color: var(--ink-mute); }
.hero-visual .float-card { z-index: 5; }
.fc-1 { top: 4%; right: -2%; animation-delay: 0s; }
.fc-3 { bottom: 40%; left: -14%; right: auto; animation-delay: 3.2s; }
.hero-visual .fc-3 .fc-icon { background: var(--clay-tint); color: var(--clay-deep); }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-scroll .line {
  width: 1.5px; height: 44px; background: rgba(21, 35, 26, 0.2);
  position: relative; overflow: hidden;
}
.hero-scroll .line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--forest); animation: scrollLine 1.8s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--forest); color: var(--cream);
  padding: 20px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 0 28px;
  font-family: var(--serif); font-size: 22px; font-style: italic; letter-spacing: 0.01em;
  white-space: nowrap; opacity: 0.92;
}
.marquee-track span::after { content: "✦"; font-size: 13px; opacity: 0.5; font-style: normal; }

/* ---------- Section scaffolding ---------- */
.section { padding: 130px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-sage { background: var(--sage); }
.section-dark { background: var(--dark); color: var(--cream); position: relative; overflow: hidden; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--green); margin-bottom: 22px;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--green); }
.section-dark .kicker { color: var(--green-soft); }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.06; letter-spacing: -0.01em;
  text-wrap: balance;
}
.h2 em { font-style: italic; color: var(--forest); }
.section-dark .h2 em { color: var(--green-soft); }

.lede { font-size: 17.5px; color: var(--ink-soft); line-height: 1.7; max-width: 520px; text-wrap: pretty; }
.section-dark .lede { color: rgba(250, 248, 241, 0.65); }
.lede-lg { font-size: 19px; color: var(--ink-soft); line-height: 1.7; max-width: 600px; text-wrap: pretty; }
.section-dark .lede-lg { color: rgba(250,248,241,0.7); }

/* ---------- Manifesto ---------- */
.manifesto { padding: 180px 0; }
.manifesto .fill-text {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.22; letter-spacing: -0.01em;
  max-width: 1000px; text-wrap: balance;
}
.fill-text .fw { opacity: 0.13; transition: opacity 0.45s ease; }
.fill-text .fw.lit { opacity: 1; }
.fill-text .fw em { font-style: italic; color: var(--forest); }
.manifesto-foot { margin-top: 56px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Reality ---------- */
.reality-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.reality-head .kicker { justify-content: center; }
.reality-head .kicker::before { display: none; }
.reality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.reality-img {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 4.6;
}
.reality-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reality-img:hover img { transform: scale(1.05); }
.reality-img-tag {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(15, 21, 17, 0.55); backdrop-filter: blur(12px);
  color: var(--cream); border-radius: 14px; padding: 14px 18px;
  font-size: 14.5px; font-weight: 600;
}

[data-plx] { will-change: transform; }
.plx-clip { overflow: hidden; border-radius: var(--r-lg); }
.plx-clip img { height: 118%; width: 100%; object-fit: cover; }

.pain-list { display: flex; flex-direction: column; gap: 18px; }
.pain-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pain-card:hover { transform: translateX(8px); box-shadow: 0 16px 40px rgba(21, 35, 26, 0.09); }
.pain-icon {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: var(--sage); color: var(--forest);
}
.pain-list .pain-card:nth-child(2) .pain-icon { background: var(--clay-tint); color: var(--clay-deep); }
.pain-list .pain-card:nth-child(3) .pain-icon { background: var(--gold-tint); color: var(--gold); }
.pain-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.pain-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

.reality-quote { margin: 80px auto 0; max-width: 720px; text-align: center; }
.reality-quote blockquote {
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 33px); font-style: italic;
  line-height: 1.4; color: var(--forest);
}
.reality-quote cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--ink-mute); }

/* ---------- How It Works (horizontal scroll) ---------- */
.hsteps { position: relative; height: 100vh; background: #FFFFFF; }
.hsteps-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.hsteps-head {
  position: absolute; top: clamp(70px, 11vh, 120px); left: 0; right: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  z-index: 2; pointer-events: none;
}
.hsteps-head .h2 { font-size: clamp(30px, 3.4vw, 50px); }
.hsteps-counter {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; color: var(--green); white-space: nowrap;
  display: flex; align-items: center; gap: 18px;
}
.hsteps-bar { width: 150px; height: 2px; background: rgba(28, 58, 40, 0.14); border-radius: 2px; overflow: hidden; }
.hsteps-bar i { display: block; height: 100%; width: 0%; background: var(--forest); transition: width 0.2s linear; }

.hsteps-track {
  display: flex; gap: 4vw; align-items: center;
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  will-change: transform;
  margin-top: clamp(60px, 12vh, 130px);
}
.hpanel {
  flex: none; width: min(78vw, 980px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 32px; padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 30px 70px rgba(21, 35, 26, 0.08);
  transform: scale(calc(0.92 + var(--pp, 0) * 0.08));
  opacity: calc(0.45 + var(--pp, 0) * 0.55);
  transition: transform 0.1s linear, opacity 0.1s linear;
}

.step-num {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; color: var(--green);
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.step-num::after { content: ""; flex: 1; max-width: 60px; height: 1px; background: rgba(46, 107, 71, 0.35); }
.hpanel h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3vw, 44px); line-height: 1.1; margin-bottom: 16px;
}
.hpanel h3 em { font-style: italic; color: var(--forest); }
.hpanel p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
.hpanel-visual {
  border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4.2;
  display: grid; place-items: center; background: var(--white);
  border: 1px solid var(--line);
}
.hpanel-visual.has-img { border: none; }
.hpanel-visual.has-img img { width: 100%; height: 100%; object-fit: cover; }

/* Schedule widget */
.sched-widget {
  width: min(360px, 85%); background: var(--cream);
  border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  box-shadow: 0 24px 60px rgba(21, 35, 26, 0.1);
}
.sched-widget header { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.sched-days { display: flex; gap: 8px; margin-bottom: 22px; }
.sched-days b {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13.5px; font-weight: 700;
  background: rgba(21, 35, 26, 0.05); color: var(--ink-mute);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.sched-days b.on { background: var(--forest); color: var(--cream); }
.sched-time { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.sched-time span { font-size: 14px; color: var(--ink-mute); }
.sched-time b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

/* Report widget */
.report-widget {
  width: min(380px, 88%); background: var(--white);
  border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  box-shadow: 0 24px 60px rgba(21, 35, 26, 0.1);
}
.report-widget header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.report-widget header b { font-size: 15px; font-weight: 700; }
.report-pill { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 100px; background: var(--sage); color: var(--forest); }
.report-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.report-stats div { background: var(--cream); border-radius: 14px; padding: 14px 10px; text-align: center; }
.report-stats b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.report-stats small { font-size: 12px; color: var(--ink-mute); }
.report-summary { font-size: 14px; line-height: 1.6; color: var(--ink-soft); background: var(--cream); border-radius: 14px; padding: 16px; }
.report-summary b { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }

/* ---------- Product Showcase ---------- */
.showcase { background: var(--cream); padding: 130px 0 150px; position: relative; }
.showcase-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.showcase-head .kicker { justify-content: center; }
.showcase-head .kicker::before { display: none; }

.device-frame {
  position: relative; max-width: 1060px; margin: 0 auto;
  border-radius: 20px; background: #20271F;
  padding: 14px 14px 16px; box-shadow: 0 50px 110px -30px rgba(21,35,26,0.45);
}
.device-bar { display: flex; align-items: center; gap: 7px; padding: 6px 8px 12px; }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.device-bar .device-url {
  margin-left: 14px; flex: 1; height: 26px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center;
  padding: 0 14px; font-size: 12.5px; color: rgba(255,255,255,0.5); gap: 8px;
}
.device-screen { border-radius: 11px; overflow: hidden; background: var(--white); aspect-ratio: 16 / 10; position: relative; }

.showcase-badges { position: absolute; inset: 0; pointer-events: none; }
.showcase-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9); border-radius: 14px;
  padding: 11px 16px; box-shadow: 0 18px 44px rgba(21,35,26,0.16);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  animation: floatY 7s ease-in-out infinite;
}
.showcase-chip .dotg { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.showcase-chip.sc-1 { top: 12%; left: 16px; }
.showcase-chip.sc-2 { bottom: 16%; right: 16px; animation-delay: 2.5s; }

/* ---------- Daily Report Anatomy ---------- */
.anatomy { background: var(--sage); }
.anatomy-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; margin-top: 64px; }

.rcard {
  background: var(--white); border-radius: 24px; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(21,35,26,0.4); overflow: hidden;
  position: relative;
}
.rcard-top { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.rcard-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--forest); color: var(--cream); display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; font-style: italic;
}
.rcard-top h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.rcard-top small { font-size: 12.5px; color: var(--ink-mute); }
.rcard-status { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--green); background: var(--sage); padding: 6px 12px; border-radius: 100px; white-space: nowrap; }

.rcard-body { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.rcard-hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.mood-ring { position: relative; width: 104px; height: 104px; flex: none; }
.mood-ring svg { transform: rotate(-90deg); }
.mood-ring-val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.mood-ring-val b { font-family: var(--serif); font-size: 30px; line-height: 1; }
.mood-ring-val small { font-size: 10.5px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-vitals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vchip { background: var(--cream); border-radius: 12px; padding: 11px 14px; }
.vchip span { font-size: 11.5px; color: var(--ink-mute); display: flex; align-items: center; gap: 6px; }
.vchip b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; display: block; margin-top: 2px; }
.vchip .up { color: var(--green); } .vchip .down { color: #C2603F; }

.rcard-alert { display: flex; gap: 12px; align-items: flex-start; background: #FBF1E8; border: 1px solid #F0D9C4; border-radius: 12px; padding: 13px 15px; }
.rcard-alert svg { color: #C2603F; flex: none; margin-top: 1px; }
.rcard-alert b { font-size: 13.5px; font-weight: 700; color: #8A4A2C; }
.rcard-alert p { font-size: 13px; color: #A6663F; line-height: 1.5; }

.rcard-summary { background: var(--cream); border-radius: 12px; padding: 15px 16px; }
.rcard-summary b { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 6px; }
.rcard-summary p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

.rcard-transcript { display: flex; flex-direction: column; gap: 9px; }
.tline { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; }
.tline b { flex: none; width: 58px; color: var(--green); font-weight: 700; }
.tline.ai b { color: var(--ink-mute); }
.tline p { color: var(--ink-soft); }

.amark {
  position: absolute; width: 24px; height: 24px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(21,35,26,0.3); z-index: 4;
  transform: scale(0); transition: transform 0.5s var(--ease);
}
.rcard.in .amark { transform: scale(1); }
.rcard.in .amark:nth-child(1) { transition-delay: 0.25s; }
.amark.m1 { top: 16px; right: 96px; }
.amark.m2 { top: 130px; left: 96px; }
.amark.m3 { top: 250px; right: 28px; }

.anatomy-legend { display: flex; flex-direction: column; gap: 4px; }
.aleg {
  display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.aleg:last-child { border-bottom: none; }
.aleg-num {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--forest);
  color: var(--forest); display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.aleg h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 5px; }
.aleg p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Trends ---------- */
.trends { background: var(--dark); color: var(--cream); }
.trends-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 64px; }
.tcard { background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: 22px; padding: 28px; }
.tcard.span4 { grid-column: span 4; }
.tcard.span2 { grid-column: span 2; }
.tcard.span3 { grid-column: span 3; }
.tcard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.tcard-head > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tcard-head h4 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.tcard-head small { font-size: 12px; color: rgba(250,248,241,0.45); }
.tcard-delta { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 100px; white-space: nowrap; flex: none; }
.tcard-delta.good { color: #9BE3B4; background: rgba(111,207,151,0.14); }
.tcard-delta.warn { color: #F0C08A; background: rgba(240,192,138,0.14); }

.linechart { width: 100%; height: 150px; display: block; }
.linechart .grid-l { stroke: rgba(250,248,241,0.07); stroke-width: 1; }
.linechart .area { fill: url(#moodGrad); opacity: 0; transition: opacity 1s ease 0.6s; }
.tcard.in .linechart .area { opacity: 1; }
.linechart .line {
  fill: none; stroke: var(--green-soft); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.4s var(--ease) 0.2s;
}
.tcard.in .linechart .line { stroke-dashoffset: 0; }
.linechart .pt { fill: var(--cream); opacity: 0; transition: opacity 0.4s ease; }
.tcard.in .linechart .pt { opacity: 1; }

.barchart { display: flex; align-items: flex-end; gap: 10px; height: 150px; }
.barchart .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.barchart .bar i {
  width: 100%; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--green-soft), var(--green));
  height: var(--h, 50%); transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.8s var(--ease);
}
.tcard.in .barchart .bar i { transform: scaleY(1); }
.barchart .bar:nth-child(1) i { transition-delay: 0.05s; }
.barchart .bar:nth-child(2) i { transition-delay: 0.12s; }
.barchart .bar:nth-child(3) i { transition-delay: 0.19s; }
.barchart .bar:nth-child(4) i { transition-delay: 0.26s; }
.barchart .bar:nth-child(5) i { transition-delay: 0.33s; }
.barchart .bar:nth-child(6) i { transition-delay: 0.40s; }
.barchart .bar:nth-child(7) i { transition-delay: 0.47s; }
.barchart .bar span { font-size: 11px; color: rgba(250,248,241,0.4); }
.trends-grid .tcard:nth-child(3) .barchart .bar i { background: linear-gradient(180deg, var(--apricot), var(--clay)); }
.trends-grid .tcard:nth-child(3) .tcard-delta.good { color: #F0C08A; background: rgba(224, 160, 90, 0.16); }

.adh-ring { display: grid; place-items: center; height: 150px; position: relative; }
.adh-ring svg { transform: rotate(-90deg); }
.adh-ring .track { fill: none; stroke: rgba(250,248,241,0.1); stroke-width: 12; }
.adh-ring .prog {
  fill: none; stroke: var(--green-soft); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: var(--circ, 339); stroke-dashoffset: var(--circ, 339);
  transition: stroke-dashoffset 1.4s var(--ease) 0.3s;
}
.tcard.in .adh-ring .prog { stroke-dashoffset: var(--off, 40); }
.adh-ring .adh-val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.adh-ring .adh-val b { font-family: var(--serif); font-size: 34px; }
.adh-ring .adh-val small { font-size: 11px; color: rgba(250,248,241,0.45); display: block; }

/* ---------- Weekly Report ---------- */
.weekly { background: var(--cream); }
.weekly-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; margin-top: 56px; }
.weekly-points { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.weekly-points li { display: flex; gap: 15px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.weekly-points li:last-child { border-bottom: none; }
.weekly-points svg { color: var(--green); flex: none; margin-top: 2px; }
.weekly-points b { font-size: 16px; font-weight: 700; display: block; margin-bottom: 3px; letter-spacing: -0.01em; }
.weekly-points span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

.docpage { background: var(--white); border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(21,35,26,0.4); overflow: hidden; }
.docpage-top {
  background: var(--forest); color: var(--cream); padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.docpage-top > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.docpage-top h4 { font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.1; }
.docpage-top small { font-size: 12px; color: rgba(250,248,241,0.6); }
.doc-stamp {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid var(--green-soft); color: var(--green-soft);
  padding: 7px 12px; border-radius: 8px; white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
}
.docpage-body { padding: 28px 30px; display: flex; flex-direction: column; gap: 22px; }
.doc-section h5 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.doc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.doc-metric { background: var(--cream); border-radius: 12px; padding: 14px; }
.doc-metric .mlabel { font-size: 12px; color: var(--ink-mute); }
.doc-metric b { font-family: var(--serif); font-size: 28px; display: block; margin: 4px 0 2px; line-height: 1; }
.doc-metric .trend { font-size: 12px; font-weight: 700; }
.doc-metric .trend.good { color: var(--green); } .doc-metric .trend.warn { color: #C2603F; }
.doc-rec { display: flex; flex-direction: column; gap: 10px; }
.doc-rec-item { display: flex; gap: 11px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.doc-rec-item .rn { width: 22px; height: 22px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }

/* ---------- Features Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 80px; }
.bento-card {
  border-radius: var(--r-lg); padding: 40px 36px;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 320px; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--white);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.bento-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(21, 35, 26, 0.12); }
.bento-card.dark { background: var(--dark-2); color: var(--cream); border-color: transparent; }
.bento-card.green { background: var(--forest); color: var(--cream); border-color: transparent; }
.bento-card.wide { grid-column: span 2; }

.bento-ghost {
  position: absolute; right: -10px; bottom: -28px;
  font-family: var(--serif); font-style: italic;
  font-size: 120px; line-height: 1; opacity: 0.055;
  pointer-events: none; user-select: none; white-space: nowrap;
  transition: opacity 0.5s, transform 0.7s var(--ease);
}
.bento-card:hover .bento-ghost { opacity: 0.11; transform: translateX(-8px); }
.bento-card.dark .bento-ghost, .bento-card.green .bento-ghost { opacity: 0.1; }
.bento-card.dark:hover .bento-ghost, .bento-card.green:hover .bento-ghost { opacity: 0.18; }

.bento-card .spot {
  position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(143,184,158,0.22), transparent 70%);
  pointer-events: none;
}
.bento-card:hover .spot { opacity: 1; }
.bento-card.dark .spot, .bento-card.green .spot {
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(143,184,158,0.28), transparent 70%);
}
.bento-card > *:not(.spot):not(.bento-ghost) { position: relative; z-index: 1; }

.bento-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: auto; }
.bento-card.dark .bento-tag, .bento-card.green .bento-tag { color: var(--green-soft); }
.bento-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 26px 0 12px; }
.bento-card p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 420px; }
.bento-card.dark p, .bento-card.green p { color: rgba(250, 248, 241, 0.66); }

/* Alert card warm */
.bento .bento-card:nth-child(3) {
  background: linear-gradient(155deg, var(--clay) 0%, var(--clay-deep) 100%);
  color: var(--cream); border-color: transparent;
}
.bento .bento-card:nth-child(3) .bento-tag { color: #F6D8BF; }
.bento .bento-card:nth-child(3) h3 { color: var(--cream); }
.bento .bento-card:nth-child(3) p { color: rgba(255, 248, 242, 0.78); }
.bento .bento-card:nth-child(3) .bento-ghost { opacity: 0.12; }
.bento .bento-card:nth-child(3):hover .bento-ghost { opacity: 0.2; }
.bento .bento-card:nth-child(3) .spot {
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 222, 196, 0.26), transparent 70%);
}

.mini-stats { display: flex; gap: 10px; margin-top: 22px; }
.mini-stats div { background: var(--cream); border-radius: 12px; padding: 10px 16px; text-align: center; }
.mini-stats b { display: block; font-size: 17px; }
.mini-stats small { font-size: 11.5px; color: var(--ink-mute); }

/* Languages card */
.langs-card { padding-bottom: 34px; }
.lang-rows {
  margin: 26px -36px -10px; display: flex; flex-direction: column; gap: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  overflow: hidden;
}
.lang-row { display: flex; gap: 8px; width: max-content; }
.lang-row.rtl { animation: langScrollR 36s linear infinite; }
.lang-row.ltr { animation: langScrollL 42s linear infinite; }
@keyframes langScrollR { to { transform: translateX(-50%); } }
@keyframes langScrollL { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.lang-row span {
  flex: none; font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 100px;
  background: rgba(250, 248, 241, 0.1); border: 1px solid rgba(250, 248, 241, 0.16);
  white-space: nowrap;
}
.langs-count { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--green-soft); margin-top: 20px; display: block; }

/* ---------- Stats ---------- */
.stats-head { max-width: 600px; margin-bottom: 80px; }
.stat-rows { border-top: 1px solid var(--line-dark); }
.stat-row {
  display: grid; grid-template-columns: 320px 1fr; gap: 50px;
  align-items: center; position: relative;
  padding: 44px 0; border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s, padding-left 0.4s var(--ease);
}
.stat-row:hover { background: rgba(255, 255, 255, 0.025); padding-left: 16px; }
.stat-row::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  height: 1px; width: calc(var(--sp, 0) * 100%);
  background: var(--green-soft); transition: width 0.2s linear;
}
.stat-num {
  font-family: var(--serif); font-size: clamp(56px, 6vw, 84px); line-height: 1;
  color: var(--cream); letter-spacing: -0.02em;
  transition: text-shadow 0.6s;
}
.stat-row:hover .stat-num { text-shadow: 0 0 40px rgba(143, 184, 158, 0.4); }
.stat-num em { font-style: italic; font-size: 0.5em; color: var(--green-soft); }
.stat-copy h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.stat-copy p { font-size: 15px; line-height: 1.65; color: rgba(250, 248, 241, 0.55); max-width: 560px; }

/* Warm accent on alternating stats */
.stat-rows .stat-row:nth-child(2) .stat-num em,
.stat-rows .stat-row:nth-child(4) .stat-num em { color: var(--apricot); }
.stat-rows .stat-row:nth-child(2):hover .stat-num,
.stat-rows .stat-row:nth-child(4):hover .stat-num { text-shadow: 0 0 40px rgba(224, 160, 90, 0.45); }
.stat-rows .stat-row:nth-child(2)::after,
.stat-rows .stat-row:nth-child(4)::after { background: var(--apricot); }

/* ---------- Testimonials ---------- */
.section-warm { background: #FFFFFF !important; color: var(--ink) !important; }
.section-warm .testi-mark { color: rgba(21,35,26,0.12) !important; animation: markFloat 6s ease-in-out infinite; }
@keyframes markFloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

.testi { text-align: center; max-width: 860px; margin: 0 auto; }
.testi-mark { font-family: var(--serif); font-size: 110px; line-height: 0.5; display: block; margin-bottom: 36px; }
.testi-viewport { position: relative; min-height: 270px; }
.testi-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.testi-slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.testi-slide blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.35; color: var(--ink);
  text-wrap: balance;
}
.testi-slide cite { display: block; margin-top: 30px; font-style: normal; }
.testi-slide cite b { display: block; font-size: 16px; font-weight: 700; }
.testi-slide cite span { font-size: 14px; color: var(--ink-mute); }

.testi-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 44px; }
.testi-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(21, 35, 26, 0.2);
  display: grid; place-items: center; color: var(--ink);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.testi-arrow:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); transform: scale(1.06); }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button {
  width: 8px; height: 8px; border-radius: 100px; background: rgba(21, 35, 26, 0.18);
  transition: width 0.4s var(--ease), background 0.3s;
}
.testi-dots button.active { width: 30px; background: var(--forest); }

/* ---------- Privacy ---------- */
.privacy { background: var(--dark); color: var(--cream); }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.trust-list { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(143,184,158,0.12); color: var(--green-soft); }
.trust-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; }
.trust-item p { font-size: 14.5px; line-height: 1.6; color: rgba(250,248,241,0.6); }

.lang-pill-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.lang-pill-grid span {
  font-size: 13.5px; font-weight: 600; padding: 8px 15px; border-radius: 100px;
  background: rgba(250,248,241,0.07); border: 1px solid rgba(250,248,241,0.14);
}
.lang-pill-grid .more { background: var(--green-soft); color: var(--forest); border-color: transparent; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.price-features { list-style: none; margin-top: 36px; display: flex; flex-direction: column; }
.price-features li {
  display: flex; align-items: center; gap: 16px;
  padding: 17px 4px; border-bottom: 1px solid var(--line);
  font-size: 16px; font-weight: 500;
  transition: padding-left 0.35s var(--ease);
}
.price-features li:hover { padding-left: 12px; }
.price-features svg { color: var(--green); flex: none; }

.price-card {
  background: var(--dark); color: var(--cream);
  border-radius: 32px; padding: 56px 48px;
  position: relative; overflow: hidden;
  text-align: center;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.price-card:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 40px 80px rgba(15, 21, 17, 0.35); }
.price-card::before {
  content: ""; position: absolute; top: -60%; left: -20%;
  width: 140%; height: 120%;
  background: radial-gradient(circle at 30% 0%, rgba(143, 184, 158, 0.18), transparent 60%);
  pointer-events: none;
}
.price-beta { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-soft); }
.price-amount { font-family: var(--serif); font-size: 110px; line-height: 1; margin: 24px 0 4px; }
.price-amount sup { font-size: 0.42em; vertical-align: 30px; }
.price-per { font-size: 15px; color: rgba(250, 248, 241, 0.55); margin-bottom: 36px; }
.price-foot { margin-top: 22px; font-size: 13px; color: rgba(250, 248, 241, 0.45); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px; text-align: left;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  transition: color 0.25s, padding-left 0.3s var(--ease);
}
.faq-q:hover { color: var(--green); padding-left: 10px; }
.faq-icon {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1.5px solid rgba(21, 35, 26, 0.2);
  display: grid; place-items: center;
  transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--forest); border-color: var(--forest); color: var(--cream); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.55s var(--ease), opacity 0.4s; opacity: 0; }
.faq-item.open .faq-a { opacity: 1; }
.faq-a p { padding: 0 40px 28px 4px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); max-width: 600px; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; padding: 170px 0; position: relative; overflow: hidden; }
.cta-final .h2 { font-size: clamp(48px, 6vw, 86px); margin-bottom: 22px; }
.cta-final .lede { margin: 0 auto 46px; }
.cta-contours { position: absolute; inset: 0; opacity: 0.12; pointer-events: none; animation: contourDrift 50s ease-in-out infinite alternate; }
@keyframes contourDrift { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-2.5%, 1.5%) rotate(1deg); } }
.cta-final .hero-note { justify-content: center; margin-top: 26px; color: rgba(250, 248, 241, 0.5); }
.cta-final .hero-note svg { color: var(--green-soft); }
.cta-final .wrap {
  transform: scale(calc(0.88 + var(--cta-p, 0) * 0.12));
  opacity: calc(0.3 + var(--cta-p, 0) * 0.7);
  will-change: transform, opacity;
}

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--cream); padding: 80px 0 40px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin-top: 18px; font-size: 15px; color: rgba(250, 248, 241, 0.55); max-width: 320px; line-height: 1.7; }
.footer h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250, 248, 241, 0.45); margin-bottom: 22px; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 15px; color: rgba(250, 248, 241, 0.75); transition: color 0.25s, padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--green-soft); padding-left: 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 36px; font-size: 13.5px; color: rgba(250, 248, 241, 0.4); flex-wrap: wrap; }

/* ---------- Aurora ---------- */
.section-dark .aurora {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(46,107,71,0.35), transparent 60%),
    radial-gradient(35% 45% at 80% 70%, rgba(143,184,158,0.22), transparent 60%);
  filter: blur(20px);
  animation: auroraDrift 16s ease-in-out infinite alternate;
}
@keyframes auroraDrift { from { transform: translate(-3%, -2%) scale(1); } to { transform: translate(4%, 3%) scale(1.1); } }
.section-dark .wrap { position: relative; z-index: 1; }

/* ---------- Section number tags ---------- */
.sec-index {
  position: absolute; top: 40px; right: max(24px, calc((100vw - 1240px) / 2));
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--ink-mute); opacity: 0.5; letter-spacing: 0.05em;
}
.section-dark .sec-index { color: var(--green-soft); }

/* ---------- Custom cursor ---------- */
@media (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 400;
    pointer-events: none; border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor-dot {
    width: 8px; height: 8px;
    background: var(--forest);
    box-shadow: 0 0 12px 2px rgba(46, 107, 71, 0.6);
    transition: opacity 0.3s;
  }
  .cursor-ring {
    width: 40px; height: 40px;
    border: 1.5px solid rgba(46, 107, 71, 0.55);
    box-shadow: 0 0 22px rgba(46, 107, 71, 0.25), inset 0 0 16px rgba(143, 184, 158, 0.18);
    background: rgba(143, 184, 158, 0.04);
    transition: width 0.28s var(--ease), height 0.28s var(--ease), background 0.28s, border-color 0.28s, opacity 0.3s;
  }
  .cursor-ring.is-hover { width: 66px; height: 66px; background: rgba(143, 184, 158, 0.14); border-color: rgba(46, 107, 71, 0.8); }
  .cursor-ring.is-down { width: 30px; height: 30px; }
  body.has-cursor, body.has-cursor * { cursor: none !important; }
}
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 420px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.wide { grid-column: span 2; }
  .stat-row { grid-template-columns: 200px 1fr; gap: 30px; }
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  .hsteps { height: auto; padding: 90px 0; }
  .hsteps-sticky { position: static; height: auto; overflow: visible; display: block; }
  .hsteps-head { position: static; margin-bottom: 40px; flex-direction: column; align-items: flex-start; }
  .hsteps-track { flex-direction: column; transform: none !important; padding: 0 24px; margin-top: 0; gap: 24px; }
  .hpanel { width: 100%; grid-template-columns: 1fr; gap: 28px; transform: none; opacity: 1; }
  .manifesto { padding: 110px 0; }
  .round-top { border-radius: 28px 28px 0 0; margin-top: -28px; }
  .anatomy-grid, .weekly-grid, .privacy-grid { grid-template-columns: 1fr; gap: 44px; }
  .trends-grid { grid-template-columns: 1fr 1fr; }
  .tcard.span4, .tcard.span3, .tcard.span2 { grid-column: span 2; }
  .amark { display: none; }
  .device-frame { margin: 0 16px; }
  .sec-index { display: none; }
}
@media (max-width: 760px) {
  .section { padding: 90px 0; }
  .reality-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .stat-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 120px; }
  .hero-scroll { display: none; }
  .fc-2 { left: 0; }
  .showcase-chip { display: none; }
}
@media (max-width: 600px) {
  .trends-grid { grid-template-columns: 1fr; }
  .tcard.span4, .tcard.span3, .tcard.span2 { grid-column: span 1; }
  .hero-vitals, .doc-metrics { grid-template-columns: 1fr 1fr; }
  /* Disable grain animation on mobile — pure GPU waste */
  .grain { display: none; }
  /* Disable cursor effects on touch devices */
  .cursor-dot, .cursor-ring { display: none; }
}

@media (hover: none) {
  /* Touch devices: disable mouse-only effects */
  .cursor-dot, .cursor-ring { display: none; }
  .grain { animation: none; }
  .float-card { animation: none; }
}
