/* ═══════════════════════════════════════════════════════════
   LUMA — Quiet Luminosity / Editorial Wellness
   Design system: Fraunces (display serif) + Geist (body sans)
   Palette: warm ivory · deep ink · moss green · amber glow
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ── Color ── */
  --paper:      #F4EFE5;
  --paper-2:    #ECE5D6;
  --paper-3:    #E4DCC9;
  --cream:      #FAF6EE;
  --ink:        #1A1714;
  --ink-2:      #322C25;
  --ink-soft:   #5C544A;
  --ink-mute:   #948B7E;
  --line:       rgba(26, 23, 20, 0.12);
  --line-soft:  rgba(26, 23, 20, 0.07);

  --moss:       #3A4A2C;
  --moss-2:     #4F6440;
  --moss-soft:  #8FA07A;
  --sage:       #C8D0B8;

  --amber:      #C18A3D;
  --amber-2:    #D9A458;
  --amber-soft: #F0DDB4;

  --dark:       #141210;
  --dark-2:     #1E1B17;
  --dark-line:  rgba(255, 255, 255, 0.10);

  /* ── Type ── */
  --serif: "Fraunces", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans: "Geist", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ── Layout ── */
  --max: 1280px;
  --gutter: 32px;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 12px rgba(26, 23, 20, 0.06);
  --shadow:    0 18px 50px rgba(26, 23, 20, 0.10);
  --shadow-lg: 0 30px 80px rgba(26, 23, 20, 0.14);
  --shadow-phone: 0 40px 100px rgba(20, 18, 16, 0.30), 0 12px 30px rgba(20, 18, 16, 0.18);

  /* ── Easing ── */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── Grain texture overlay ── */
body::before {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ── Luminous background mesh ── */
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(200, 138, 61, 0.10), transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(58, 74, 44, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(200, 138, 61, 0.06), transparent 50%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

::selection {
  background: var(--moss);
  color: var(--cream);
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

h1 {
  font-size: clamp(52px, 8.5vw, 116px);
  font-weight: 350;
}

h2 {
  font-size: clamp(36px, 5.5vw, 76px);
}

h3 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

h1 em, h2 em, .manifesto-statement em {
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

p { line-height: 1.6; }

/* ── Section label (editorial numbering) ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.label-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--moss);
  background: rgba(58, 74, 44, 0.08);
  border-radius: 999px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(244, 239, 229, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.site-header nav a {
  position: relative;
  transition: color 0.25s var(--ease);
}

.site-header nav a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--moss);
  transition: width 0.3s var(--ease);
  content: "";
}

.site-header nav a:hover {
  color: var(--ink);
}

.site-header nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.lang-toggle:hover {
  border-color: var(--moss);
  box-shadow: 0 0 0 4px rgba(58, 74, 44, 0.06);
}

.lang-option {
  color: var(--ink-mute);
  transition: color 0.25s var(--ease);
  padding: 2px 4px;
  border-radius: 999px;
}

.lang-option.is-active {
  color: var(--cream);
  background: var(--moss);
}

.lang-divider {
  color: var(--ink-mute);
  margin: 0 1px;
  user-select: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.header-cta:hover {
  border-color: var(--moss);
  box-shadow: 0 0 0 4px rgba(58, 74, 44, 0.08);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--moss-2);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(79, 100, 64, 0.5);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 100, 64, 0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(79, 100, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 100, 64, 0); }
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  cursor: pointer;
}

.btn-primary {
  color: var(--cream);
  background: var(--moss);
  box-shadow: 0 8px 24px rgba(58, 74, 44, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(58, 74, 44, 0.30);
  background: var(--ink);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  color: var(--dark);
  background: var(--cream);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   PHONE MOCKUP
   ═══════════════════════════════════════════════════════════ */

.phone {
  position: relative;
  padding: 9px;
  background: linear-gradient(150deg, #2a2520, #0d0c0a);
  border-radius: 46px;
  box-shadow: var(--shadow-phone);
}

.phone-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
}

.phone img {
  border-radius: 38px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  background: #000;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 160px);
  padding-bottom: 60px;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  margin-bottom: 28px;
}

.hero-lede {
  max-width: 520px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(58, 74, 44, 0.05);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}

/* ── Hero visual ── */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}

.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(217, 164, 88, 0.45), transparent 55%),
    radial-gradient(circle at 65% 65%, rgba(143, 160, 122, 0.30), transparent 50%);
  filter: blur(30px);
  animation: glow-breathe 6s var(--ease) infinite;
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: min(80vw, 320px);
  transform: rotate(3deg);
  animation: float 7s var(--ease) infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%      { transform: rotate(3deg) translateY(-14px); }
}

/* ── Floating data cards ── */
.float-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 16px 18px;
  background: rgba(250, 246, 238, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(20, 18, 16, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.float-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

.float-card strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.float-card strong small {
  font-size: 16px;
  color: var(--ink-soft);
}

.float-note {
  font-size: 12px;
  color: var(--ink-mute);
}

.float-card--1 {
  top: 80px;
  right: -10px;
  animation: float-card-1 5s var(--ease) infinite;
}

.float-card--2 {
  left: -20px;
  bottom: 180px;
  animation: float-card-2 6s var(--ease) infinite;
}

.float-card--3 {
  right: 0;
  bottom: 60px;
  animation: float-card-3 5.5s var(--ease) infinite;
}

@keyframes float-card-1 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes float-card-2 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes float-card-3 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── Hero strip ── */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 32px 28px 32px 0;
  border-right: 1px solid var(--line-soft);
}

.strip-item:last-child {
  border-right: none;
  padding-right: 0;
}

.strip-item:not(:first-child) {
  padding-left: 28px;
}

.strip-num {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--amber);
  line-height: 1.2;
}

.strip-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.strip-item span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   MANIFESTO
   ═══════════════════════════════════════════════════════════ */

.manifesto {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter);
}

.manifesto-inner {
  max-width: 960px;
}

.manifesto-statement {
  font-size: clamp(44px, 7vw, 100px);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 56px;
  letter-spacing: -0.03em;
}

.manifesto-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 820px;
  margin-left: auto;
}

.manifesto-copy p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEAD (shared)
   ═══════════════════════════════════════════════════════════ */

.section-head {
  max-width: var(--max);
  margin: 0 auto 56px;
  padding: 0 var(--gutter);
}

.section-head h2 {
  max-width: 720px;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT TOUR
   ═══════════════════════════════════════════════════════════ */

.tour-section {
  padding: 80px 0 100px;
}

.tour-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 200px 1fr 360px;
  gap: 36px;
  align-items: stretch;
  min-height: 580px;
}

/* Tabs */
.tour-tabs {
  display: grid;
  gap: 4px;
  align-content: start;
}

.tour-tab {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  width: 100%;
}

.tour-tab:last-child {
  border-bottom: none;
}

.tab-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  transition: color 0.25s var(--ease);
}

.tab-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink-mute);
  transition: color 0.25s var(--ease);
}

.tour-tab:hover .tab-name,
.tour-tab:hover .tab-num {
  color: var(--ink-soft);
}

.tour-tab.is-active .tab-name {
  color: var(--ink);
}

.tour-tab.is-active .tab-num {
  color: var(--amber);
}

.tour-tab.is-active {
  border-bottom-color: var(--ink);
}

/* Copy */
.tour-copy {
  position: relative;
  align-self: center;
  padding: 20px 0;
}

.screen-copy {
  display: none;
}

.screen-copy.is-active {
  display: block;
  animation: fade-up 0.5s var(--ease);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.copy-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 18px;
}

.screen-copy h3 {
  margin-bottom: 18px;
}

.screen-copy p {
  max-width: 440px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Stage */
.tour-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 164, 88, 0.14), transparent 55%),
    linear-gradient(165deg, var(--cream) 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tour-stage-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(217, 164, 88, 0.22), transparent 60%);
  filter: blur(32px);
  animation: glow-breathe 6s var(--ease) infinite;
}

.stage-decor {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 240px;
  font-weight: 300;
  color: var(--ink);
  opacity: 0.045;
  line-height: 0.8;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.tour-phone {
  position: absolute;
  z-index: 2;
  width: min(75%, 258px);
  opacity: 0;
  transform: translateY(30px) scale(0.95) rotate(-2deg);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}

.tour-phone.is-active {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(2deg);
  pointer-events: auto;
}

/* ── Floating annotations ── */
.tour-annotations {
  display: none;
}

.tour-annotations.is-active {
  display: block;
}

.annotation {
  position: absolute;
  z-index: 5;
  padding: 7px 13px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  background: rgba(250, 246, 238, 0.96);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(26, 23, 20, 0.10);
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.tour-annotations.is-active .annotation {
  opacity: 1;
  transform: scale(1);
}

.tour-annotations.is-active .annotation:nth-child(1) { transition-delay: 0.25s; }
.tour-annotations.is-active .annotation:nth-child(2) { transition-delay: 0.35s; }
.tour-annotations.is-active .annotation:nth-child(3) { transition-delay: 0.45s; }

.annotation--tl { top: 14%; left: 6%; }
.annotation--tr { top: 32%; right: 4%; }
.annotation--br { bottom: 16%; right: 8%; }

.annotation::after {
  content: "";
  position: absolute;
  background: var(--ink-mute);
  opacity: 0.25;
}

.annotation--tl::after {
  width: 22px;
  height: 1px;
  right: -22px;
  top: 50%;
}

.annotation--tr::after {
  width: 22px;
  height: 1px;
  left: -22px;
  top: 50%;
}

.annotation--br::after {
  width: 1px;
  height: 22px;
  left: 28%;
  top: -22px;
}

/* ═══════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════ */

.features-section {
  padding: 100px 0;
}

.features-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.feature-card {
  padding: 44px 36px;
  background: var(--paper);
  transition: background 0.35s var(--ease);
}

.feature-card:hover {
  background: var(--cream);
}

.feature-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 24px;
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ── Extra features ("Also tracking") ── */
.features-extra {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 0 var(--gutter);
}

.features-extra-label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.features-extra-label span {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.features-extra-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.features-extra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.extra-card {
  padding: 28px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.extra-card:hover {
  transform: translateY(-4px);
  border-color: var(--moss-soft);
  box-shadow: var(--shadow);
}

.extra-badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  background: rgba(58, 74, 44, 0.08);
  border-radius: 999px;
  margin-bottom: 18px;
}

.extra-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.extra-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ═══════════════════════════════════════════════════════════
   MEDICATIONS
   ═══════════════════════════════════════════════════════════ */

.meds-section {
  padding: 100px 0;
}

.meds-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}

.meds-copy h2 {
  margin-bottom: 24px;
}

.meds-copy > p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 420px;
}

.med-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.med-cloud span {
  padding: 14px 22px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.med-cloud span:nth-child(3n + 1) {
  background: rgba(143, 160, 122, 0.14);
  border-color: rgba(58, 74, 44, 0.14);
}

.med-cloud span:nth-child(3n + 2) {
  background: rgba(217, 164, 88, 0.12);
  border-color: rgba(193, 138, 61, 0.16);
}

.med-cloud span:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════
   REPORT
   ═══════════════════════════════════════════════════════════ */

.report-section {
  padding: 100px 0;
}

.report-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 64px;
  align-items: center;
}

.report-visual {
  display: grid;
  place-items: center;
  min-height: 560px;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 164, 88, 0.16), transparent 55%),
    linear-gradient(165deg, var(--cream) 0%, var(--paper-2) 100%);
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.report-visual::before {
  position: absolute;
  width: 320px;
  height: 320px;
  content: "";
  background: radial-gradient(circle, rgba(217, 164, 88, 0.22), transparent 60%);
  filter: blur(32px);
  animation: glow-breathe 6s var(--ease) infinite;
}

.report-visual::after {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 200px;
  font-weight: 300;
  color: var(--ink);
  opacity: 0.045;
  line-height: 0.8;
  content: "06";
  bottom: 8%;
  right: 8%;
  user-select: none;
  pointer-events: none;
}

.report-sheet {
  position: relative;
  z-index: 1;
  width: min(86%, 380px);
  padding: 32px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(26, 23, 20, 0.14);
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.report-visual:hover .report-sheet {
  transform: rotate(0deg);
  box-shadow: 0 30px 70px rgba(26, 23, 20, 0.18);
}

.sheet-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.sheet-header img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.sheet-header strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.sheet-header span {
  font-size: 12px;
  color: var(--ink-mute);
}

.sheet-rows {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.sheet-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.sheet-row span {
  font-size: 13px;
  color: var(--ink-mute);
}

.sheet-row strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: right;
}

.sheet-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  height: 80px;
  padding: 14px;
  background: rgba(58, 74, 44, 0.06);
  border-radius: 14px;
  margin-bottom: 18px;
}

.sheet-chart i {
  display: block;
  height: var(--h);
  background: linear-gradient(180deg, var(--moss-2), var(--moss-soft));
  border-radius: 4px 4px 2px 2px;
}

.sheet-foot {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
}

.report-copy h2 {
  margin-bottom: 24px;
}

.report-copy > p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 500px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.check-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  color: var(--cream);
  background: var(--moss);
  border-radius: 999px;
  flex-shrink: 0;
}

.check-list li:hover {
  border-color: var(--moss);
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   PRIVACY
   ═══════════════════════════════════════════════════════════ */

.privacy-section {
  padding: 100px 0;
}

.privacy-head {
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 0 var(--gutter);
}

.privacy-head h2 {
  max-width: 700px;
}

.privacy-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.privacy-card {
  padding: 36px 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.privacy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.privacy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--moss);
  background: rgba(58, 74, 44, 0.08);
  border-radius: 999px;
}

.privacy-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.privacy-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */

.faq-section {
  padding: 100px 0;
}

.faq-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 64px;
  align-items: start;
}

.faq-aside h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  list-style: none;
  transition: color 0.25s var(--ease);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-mute);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-list details[open] summary::after {
  content: "−";
  color: var(--amber);
}

.faq-list summary:hover { color: var(--moss); }

.faq-list p {
  max-width: 540px;
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════════════════════ */

.final-cta {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 0 var(--gutter) 80px;
}

.cta-inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 90px 32px;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 20%, rgba(217, 164, 88, 0.18), transparent 50%),
    linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 50%, #100D0A 100%);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-glow {
  position: absolute;
  top: -40%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 164, 88, 0.25), transparent 60%);
  filter: blur(40px);
  animation: glow-breathe 7s var(--ease) infinite;
}

.cta-icon {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-eyebrow {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-2);
  margin-bottom: 20px;
}

.cta-inner h2 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--cream);
}

.cta-sub {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-bottom: 36px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(250, 246, 238, 0.68);
}

.cta-inner .btn {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 300px;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 14px;
}

.site-footer nav a {
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.site-footer nav a:hover {
  color: var(--ink);
}

.disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 360px;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .tour-layout {
    grid-template-columns: 180px 1fr 300px;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding-bottom: 40px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
    padding: 24px 0;
  }

  .strip-item:not(:first-child) { padding-left: 0; }

  .strip-item:last-child {
    border-bottom: none;
  }

  .manifesto-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tour-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .tour-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .tour-tab {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  .tab-name { font-size: 16px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-extra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tour-stage {
    min-height: 500px;
  }

  .annotation {
    font-size: 10px;
    padding: 5px 10px;
  }

  .annotation--tl::after,
  .annotation--tr::after { width: 14px; }
  .annotation--tl::after { right: -14px; }
  .annotation--tr::after { left: -14px; }
  .annotation--br::after { height: 14px; top: -14px; }

  .stage-decor { font-size: 180px; }

  .meds-grid,
  .report-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .med-cloud { justify-content: flex-start; }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }

  .header-cta { display: none; }

  .hero {
    padding-top: 24px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-phone {
    width: min(70vw, 260px);
  }

  .float-card {
    min-width: 124px;
    padding: 12px 14px;
  }

  .float-card strong { font-size: 22px; }

  .float-card--1 { top: 40px; right: 0; }
  .float-card--2 { left: 0; bottom: 120px; }
  .float-card--3 { right: 0; bottom: 30px; }

  .manifesto { padding: 80px var(--gutter); }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-extra-grid {
    grid-template-columns: 1fr;
  }

  .feature-card { padding: 32px 24px; }

  .annotation { display: none; }

  .stage-decor { font-size: 140px; }

  .report-visual { min-height: 480px; }

  .report-sheet {
    width: min(90%, 320px);
    padding: 24px 20px;
  }

  .cta-inner {
    padding: 64px 22px;
    border-radius: 28px;
  }

  .tour-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .tour-stage { min-height: 440px; }
}

/* ── Chinese typography adjustments ── */
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3 {
  letter-spacing: 0;
  font-weight: 400;
}

html[lang="zh"] .hero-title {
  font-weight: 500;
}

html[lang="zh"] .manifesto-statement {
  font-weight: 400;
}

html[lang="zh"] p {
  line-height: 1.7;
}

html[lang="zh"] .section-label {
  letter-spacing: 0.08em;
}

html[lang="zh"] .lang-option[data-lang="zh"] {
  color: var(--cream);
  background: var(--moss);
}

html[lang="zh"] .lang-option[data-lang="en"] {
  color: var(--ink-mute);
  background: transparent;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL / PRIVACY PAGE
   ═══════════════════════════════════════════════════════════ */

.legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 96px;
}

.legal-head {
  max-width: 760px;
  margin: 0 auto 64px;
}

.legal-head .section-label {
  margin-bottom: 24px;
}

.legal-head h1 {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 350;
  margin-bottom: 24px;
}

.legal-meta {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.legal-intro {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 104px;
}

.legal-toc > p {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
}

.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0 8px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  border-left: 1px solid var(--line-soft);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: var(--ink);
  border-left-color: var(--moss);
}

.toc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-mute);
  min-width: 18px;
  transition: color 0.25s var(--ease);
}

.legal-toc a:hover .toc-num,
.legal-toc a.is-active .toc-num {
  color: var(--amber);
}

.legal-body {
  max-width: 680px;
}

.legal-body section {
  scroll-margin-top: 104px;
}

.legal-body h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 56px 0 18px;
  letter-spacing: -0.02em;
}

.legal-body section:first-child h2 {
  margin-top: 0;
}

.legal-body h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 32px 0 10px;
  line-height: 1.3;
}

.legal-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 16px;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.7;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body li::marker {
  color: var(--amber);
}

.legal-body strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-body a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.25s var(--ease);
}

.legal-body a:hover {
  color: var(--ink);
}

.legal-callout {
  padding: 22px 24px;
  margin: 0 0 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--moss);
  border-radius: 12px;
}

.legal-callout p {
  margin: 0;
  color: var(--ink-2);
}

.legal-callout p + p {
  margin-top: 8px;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 24px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.legal-body th,
.legal-body td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.55;
}

.legal-body thead th {
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.legal-body tbody tr:last-child td {
  border-bottom: none;
}

.legal-body td {
  color: var(--ink-soft);
}

.legal-body td strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}

.legal-foot {
  margin-top: 64px;
  padding: 36px 32px;
  background:
    radial-gradient(circle at 80% 0%, rgba(217, 164, 88, 0.16), transparent 55%),
    linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: 24px;
  color: var(--cream);
}

.legal-foot h2 {
  color: var(--cream);
  margin: 0 0 10px;
}

.legal-foot p {
  color: rgba(250, 246, 238, 0.7);
  margin: 0 0 22px;
}

.legal-foot .btn {
  margin: 0;
}

/* ── Privacy section “read more” link (home) ── */
.privacy-more-wrap {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 0 var(--gutter);
}

.privacy-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--moss);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.privacy-more:hover {
  gap: 16px;
  color: var(--ink);
}

/* ── Legal page responsive ── */
@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .legal-toc {
    position: static;
    top: auto;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .legal-toc a {
    border-left: none;
    border-bottom: 1px solid transparent;
    padding: 8px 14px 8px 0;
  }
}

@media (max-width: 600px) {
  .legal {
    padding: 32px var(--gutter) 72px;
  }

  .legal-head {
    margin-bottom: 44px;
  }

  .legal-body table,
  .legal-body tbody,
  .legal-body tr,
  .legal-body td {
    display: block;
  }

  .legal-body thead {
    display: none;
  }

  .legal-body table {
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .legal-body tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-body tr:last-child {
    border-bottom: none;
  }

  .legal-body td {
    border: none;
    padding: 4px 0;
  }

  .legal-foot {
    padding: 28px 24px;
  }
}
