/* ==========================================================================
   VV Watch Official Website · Cloud Periwinkle (晴空云朵)
   Editorial product website · Soothing palette · GPU-only 60/120fps motion
   ========================================================================== */

:root {
  /* Cloud Periwinkle Soothing Surface Palette */
  --bg-canvas: #f3f4fc;
  --bg-canvas-alt: #f8f9fe;
  --bg-surface: #ffffff;
  --bg-surface-soft: rgba(255, 255, 255, 0.82);
  --bg-glass: rgba(246, 247, 254, 0.78);

  /* Ink Hierarchy (Deep Twilight Navy — soft, readable, zero glare) */
  --ink-primary: #192038;
  --ink-secondary: #515b7a;
  --ink-muted: #7f89a8;

  /* Cloud Periwinkle + Pearl Rainbow Accents */
  --primary: #6672e5;
  --primary-deep: #4e59cf;
  --primary-soft: #eceefe;
  --sakura: #e480a4;
  --sakura-deep: #be547c;
  --sakura-soft: #fdf0f5;
  --mint: #32b68d;
  --mint-deep: #1f8a69;
  --mint-soft: #e6f7f1;
  --sky: #56a8e8;
  --sky-soft: #ebf5fd;
  --amber: #e4954c;
  --amber-soft: #fef4ea;
  --coral: #e0677e;
  --coral-soft: #fdeef1;

  /* Borders & Atmospheric Layered Shadows */
  --border-subtle: rgba(34, 44, 102, 0.075);
  --border-strong: rgba(34, 44, 102, 0.13);
  --border-glass: rgba(255, 255, 255, 0.84);
  --shadow-xs: 0 2px 10px rgba(48, 58, 128, 0.045);
  --shadow-sm: 0 8px 24px rgba(48, 58, 128, 0.065), 0 1px 2px rgba(48, 58, 128, 0.03);
  --shadow-md: 0 18px 46px rgba(48, 58, 128, 0.09), 0 3px 10px rgba(48, 58, 128, 0.04);
  --shadow-lg: 0 28px 72px rgba(48, 58, 128, 0.12), 0 6px 20px rgba(48, 58, 128, 0.05);
  --shadow-shot: 0 28px 66px rgba(42, 52, 118, 0.16), 0 6px 18px rgba(42, 52, 118, 0.07);

  /* Radii */
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  /* Spring Physics Curves */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bouncy: cubic-bezier(0.34, 1.48, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg-canvas);
  color: var(--ink-primary);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-primary);
  background: var(--bg-canvas);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---------- Ambient Pearl-Cloud Sky (Pure radial-gradient, zero blur = 120fps) ---------- */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #eff1fc 0%, #f5f6fd 46%, #f1f5fc 100%);
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.aurora-orb--periwinkle {
  width: 72vw;
  max-width: 960px;
  aspect-ratio: 1;
  top: -280px;
  left: -160px;
  background: radial-gradient(circle, rgba(112, 124, 240, 0.20) 0%, rgba(138, 166, 248, 0.08) 44%, rgba(112, 124, 240, 0) 72%);
  animation: cloudFloatA 20s ease-in-out infinite alternate;
}

.aurora-orb--sakura {
  width: 64vw;
  max-width: 860px;
  aspect-ratio: 1;
  top: -190px;
  right: -170px;
  background: radial-gradient(circle, rgba(236, 152, 188, 0.18) 0%, rgba(244, 194, 212, 0.07) 45%, rgba(236, 152, 188, 0) 72%);
  animation: cloudFloatB 24s ease-in-out infinite alternate;
}

.aurora-orb--mint {
  width: 58vw;
  max-width: 780px;
  aspect-ratio: 1;
  top: 36vh;
  left: 30vw;
  background: radial-gradient(circle, rgba(72, 204, 162, 0.14) 0%, rgba(108, 198, 242, 0.07) 45%, rgba(72, 204, 162, 0) 72%);
  animation: cloudFloatC 26s ease-in-out infinite alternate;
}

@keyframes cloudFloatA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(50px, 34px, 0) scale(1.06); }
}
@keyframes cloudFloatB {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-46px, 38px, 0) scale(1.06); }
}
@keyframes cloudFloatC {
  0%   { transform: translate3d(0, 0, 0) scale(0.96); }
  100% { transform: translate3d(32px, -36px, 0) scale(1.05); }
}

/* ---------- Rainbow-Pearl Top Reading Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #e78cb0 0%, #7d86ed 38%, #5ab3ec 70%, #3dc69c 100%);
  pointer-events: none;
  will-change: transform;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 96px 0;
}

/* ---------- Floating Cloud-Glass Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
}

.nav-shell {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 60px;
  padding: 0 12px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  transition: background 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 12px 34px rgba(48, 58, 128, 0.10), 0 1px 2px rgba(48, 58, 128, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(64, 74, 150, 0.16);
  transition: transform 0.45s var(--ease-bouncy);
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-5deg);
}

.brand-name {
  font-size: 16px;
  color: var(--ink-primary);
  line-height: 1.1;
}

.brand-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-muted);
  display: block;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-secondary);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: var(--ink-primary);
  background: rgba(102, 114, 229, 0.07);
}

.nav-link.is-active {
  color: var(--primary-deep);
  background: var(--primary-soft);
  font-weight: 650;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 0.34s var(--ease-bouncy), background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  will-change: transform;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.96);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 13.5px;
}

.btn--primary {
  background: linear-gradient(135deg, #707ced 0%, #5864da 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(96, 108, 226, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2.5px) scale(1.015);
  box-shadow: 0 16px 34px rgba(96, 108, 226, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(102, 114, 229, 0.34);
  box-shadow: var(--shadow-sm);
}

.nav-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.82);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 80px 16px auto 16px;
  z-index: 99;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  opacity: 0;
  transform: translate3d(0, -12px, 0) scale(0.98);
  pointer-events: none;
  transition: opacity 0.28s var(--ease-spring), transform 0.28s var(--ease-spring);
}

.mobile-drawer.is-open {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink-primary);
}

.mobile-drawer a:hover,
.mobile-drawer a.is-active {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

/* ---------- Typography Helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  font-weight: 650;
  color: var(--primary-deep);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sakura), var(--primary), var(--mint));
  box-shadow: 0 0 0 4px rgba(102, 114, 229, 0.16);
  animation: dotPulse 2.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.28); opacity: 0.72; }
}

.section-header {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-title {
  margin: 16px 0 14px;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
}

.section-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.74;
  color: var(--ink-secondary);
}

/* ---------- Scroll Reveal Choreography ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.76s var(--ease-spring), transform 0.76s var(--ease-spring);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.07s; }
.reveal-delay-2 { transition-delay: 0.14s; }
.reveal-delay-3 { transition-delay: 0.21s; }
.reveal-delay-4 { transition-delay: 0.28s; }

/* ---------- Editorial Hero Section (Clean Product Showcase, No Watch Gadget) ---------- */
.hero {
  padding: 58px 0 72px;
}

.hero-top {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  margin: 20px 0 18px;
  font-size: clamp(40px, 5.4vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.034em;
  color: var(--ink-primary);
}

.hero-title .pearl-gradient {
  background: linear-gradient(122deg, #5d6ae4 0%, #9b70dc 44%, #df7da5 74%, #35b992 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.76;
  color: var(--ink-secondary);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero Floating Screen Triptych Stage (Clean Modern App Website Showcase) */
.hero-canvas-stage {
  position: relative;
  margin-top: 52px;
  padding: 42px 32px 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.88) 0%, rgba(238, 240, 254, 0.86) 52%, rgba(253, 241, 247, 0.86) 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  perspective: 1200px;
}

.hero-canvas-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 30%, rgba(112, 124, 240, 0.22) 0%, rgba(232, 146, 186, 0.16) 40%, rgba(72, 206, 166, 0.12) 66%, transparent 78%);
  animation: auraBreathe 7.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auraBreathe {
  0%   { transform: scale(0.96); opacity: 0.82; }
  100% { transform: scale(1.04); opacity: 1; }
}

.hero-triptych {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 26px;
  max-width: 960px;
  margin: 0 auto;
  transform-style: preserve-3d;
  will-change: transform;
}

.screen-card {
  position: relative;
  border-radius: 34px 34px 0 0;
  background: #ffffff;
  padding: 8px 8px 0;
  box-shadow: var(--shadow-shot);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  overflow: hidden;
  transition: transform 0.55s var(--ease-spring), box-shadow 0.55s var(--ease-spring);
  will-change: transform;
}

.screen-card img {
  width: 100%;
  display: block;
  border-radius: 27px 27px 0 0;
}

.screen-card--side {
  width: 248px;
  height: 370px;
  opacity: 0.94;
}

.screen-card--center {
  width: 296px;
  height: 446px;
  z-index: 3;
}

.screen-card--side:hover {
  transform: translateY(-10px);
}

.screen-card--center:hover {
  transform: translateY(-6px);
}

.screen-card--side img,
.screen-card--center img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Floating Telemetry Chips in Hero Canvas */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(48, 58, 128, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  z-index: 4;
}

.float-chip--left {
  top: 44px;
  left: 34px;
  animation: chipDriftA 5.6s ease-in-out infinite alternate;
}

.float-chip--right {
  top: 44px;
  right: 34px;
  animation: chipDriftB 6.4s ease-in-out infinite alternate;
}

@keyframes chipDriftA {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -7px, 0); }
}
@keyframes chipDriftB {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 7px, 0); }
}

.chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.chip-icon--primary { background: var(--primary-soft); color: var(--primary-deep); }
.chip-icon--sakura  { background: var(--sakura-soft); color: var(--sakura-deep); }
.chip-icon--mint    { background: var(--mint-soft); color: var(--mint-deep); }

.chip-meta strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink-primary);
}

.chip-meta span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* ---------- Liquid Segment Track (Signature VV Watch Control) ---------- */
.liquid-segment {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(56, 66, 140, 0.065);
  border: 1px solid rgba(56, 66, 140, 0.06);
  gap: 2px;
  user-select: none;
}

.liquid-segment-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  border-radius: var(--radius-pill);
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(56, 66, 140, 0.11), 0 1px 2px rgba(56, 66, 140, 0.05);
  transition: transform 0.44s var(--ease-bouncy), width 0.44s var(--ease-spring);
  will-change: transform, width;
  pointer-events: none;
}

.liquid-segment button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-secondary);
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

.liquid-segment button.is-active {
  color: var(--ink-primary);
}

.state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Interactive Living Signals Stage (Pure Clean Software Card) ---------- */
.signals-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  overflow: hidden;
  contain: layout style;
}

.signals-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.65s var(--ease-smooth);
}

.signals-ambient.is-active { opacity: 1; }
.signals-ambient[data-state="calm"] {
  background: radial-gradient(circle at 20% 45%, rgba(56, 198, 152, 0.16) 0%, transparent 56%);
}
.signals-ambient[data-state="balanced"] {
  background: radial-gradient(circle at 20% 45%, rgba(102, 114, 229, 0.18) 0%, transparent 56%);
}
.signals-ambient[data-state="elevated"] {
  background: radial-gradient(circle at 20% 45%, rgba(232, 154, 84, 0.18) 0%, transparent 56%);
}
.signals-ambient[data-state="overloaded"] {
  background: radial-gradient(circle at 20% 45%, rgba(228, 128, 164, 0.18) 0%, transparent 56%);
}

.signals-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

/* Clean Soft Cloud Live Card (NO watch hardware / straps) */
.mood-visual-card {
  position: relative;
  border-radius: 34px;
  padding: 28px 26px 24px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 24px 54px rgba(48, 58, 128, 0.18);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mood-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s var(--ease-smooth);
  pointer-events: none;
}

.mood-bg-layer.is-active { opacity: 1; }
.mood-bg-layer[data-state="calm"] {
  background: linear-gradient(155deg, #32b48d 0%, #248a76 58%, #1d6b66 100%);
}
.mood-bg-layer[data-state="balanced"] {
  background: linear-gradient(155deg, #6f7cf0 0%, #5b66dc 58%, #4b52bd 100%);
}
.mood-bg-layer[data-state="elevated"] {
  background: linear-gradient(155deg, #e59852 0%, #d17c3c 58%, #b26332 100%);
}
.mood-bg-layer[data-state="overloaded"] {
  background: linear-gradient(155deg, #e47494 0%, #cb5679 58%, #a73e62 100%);
}

.mood-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.mood-pill-tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 12px;
}

.mood-sprite-stage {
  position: relative;
  z-index: 2;
  height: 158px;
  display: grid;
  place-items: center;
}

.breath-ring {
  position: absolute;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transform: scale(0.75);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mood-visual-card.is-breathing .breath-ring {
  opacity: 1;
  animation: breathCycle 8s ease-in-out infinite;
}

@keyframes breathCycle {
  0%, 100% { transform: scale(0.78); opacity: 0.4; }
  50%      { transform: scale(1.26); opacity: 0.95; }
}

.mood-sprite {
  width: 140px;
  height: 140px;
  object-fit: contain;
  animation: spriteBob 3.3s ease-in-out infinite alternate;
  will-change: transform, opacity;
  transition: opacity 0.18s ease, transform 0.36s var(--ease-bouncy);
  cursor: pointer;
}

.mood-sprite.is-swapping {
  opacity: 0;
  transform: scale(0.8) translateY(8px);
}

.mood-sprite.is-boop {
  animation: none;
  transform: scale(1.13, 0.90) translateY(-6px);
}

@keyframes spriteBob {
  0%   { transform: translate3d(0, 3px, 0); }
  100% { transform: translate3d(0, -7px, 0); }
}

.mood-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mood-score-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.mood-score-big {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.mood-score-big small {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.78;
  margin-left: 2px;
}

.mood-state-badge {
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 700;
}

.spectrum-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6ef0c2 0%, #86aeff 36%, #ffd07c 70%, #ff8ea8 100%);
}

.spectrum-knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.30), 0 2px 8px rgba(0, 0, 0, 0.22);
  transform: translate3d(34px, -50%, 0);
  transition: transform 0.55s var(--ease-bouncy);
  will-change: transform;
}

/* Right Controls */
.signals-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.control-group-label {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.companion-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.companion-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 9px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-canvas-alt);
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-secondary);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.34s var(--ease-bouncy), color 0.25s ease, box-shadow 0.25s ease;
}

.companion-pill img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.companion-pill:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.companion-pill.is-active {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--ink-primary);
  box-shadow: 0 8px 20px rgba(102, 114, 229, 0.16);
}

.breath-cue-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-canvas-alt);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-secondary);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-bouncy);
}

.breath-cue-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 114, 229, 0.32);
  color: var(--primary-deep);
}

.breath-cue-pill.is-active {
  background: var(--mint-soft);
  border-color: rgba(50, 182, 141, 0.4);
  color: var(--mint-deep);
}

.telemetry-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.telemetry-box {
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--bg-canvas-alt);
  border: 1px solid var(--border-subtle);
}

.telemetry-label {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.telemetry-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-primary);
  line-height: 1.2;
}

.telemetry-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-left: 3px;
}

.state-narrative {
  padding: 18px 22px;
  border-radius: 22px;
  background: linear-gradient(125deg, #f8f9fe 0%, #f3f5fe 100%);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.state-narrative p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-secondary);
}

.state-narrative strong {
  color: var(--ink-primary);
}

.hrv-wave-svg {
  width: 126px;
  height: 36px;
  flex-shrink: 0;
}

.hrv-wave-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 0;
  animation: waveDraw 3s linear infinite;
  transition: stroke 0.4s ease;
}

@keyframes waveDraw {
  0%   { stroke-dashoffset: 220; }
  100% { stroke-dashoffset: -220; }
}

/* ---------- Interactive App Screen Showcase (Clean Borderless Card Frame) ---------- */
.showcase-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}

.showcase-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.showcase-halo {
  position: absolute;
  width: 360px;
  height: 360px;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 122, 238, 0.24) 0%, rgba(232, 146, 186, 0.14) 45%, transparent 72%);
  pointer-events: none;
}

.clean-screen-frame {
  position: relative;
  z-index: 1;
  width: 300px;
  aspect-ratio: 720 / 1565;
  padding: 9px;
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-shot);
}

.screen-stack {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #eff1fc;
}

.screen-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.46s var(--ease-spring), transform 0.56s var(--ease-spring);
  will-change: opacity, transform;
}

.screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-tab-card {
  position: relative;
  text-align: left;
  width: 100%;
  padding: 20px 24px;
  border-radius: 26px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.36s var(--ease-spring), box-shadow 0.36s ease;
}

.feature-tab-card:hover {
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(4px);
}

.feature-tab-card.is-active {
  background: #ffffff;
  border-color: rgba(102, 114, 229, 0.34);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.feature-tab-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.feature-tab-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.feature-tab-title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 720;
  color: var(--ink-primary);
}

.feature-tab-desc {
  margin: 0;
  padding-left: 48px;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--ink-secondary);
}

/* ---------- Companion Roster Grid (Clean Character Cards, No Watch Mockups) ---------- */
.companion-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.companion-card {
  position: relative;
  border-radius: 28px;
  padding: 26px 18px 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.42s var(--ease-bouncy), box-shadow 0.42s var(--ease-spring), border-color 0.3s ease;
  will-change: transform;
}

.companion-card:hover {
  transform: translateY(-8px);
  border-color: rgba(102, 114, 229, 0.28);
  box-shadow: var(--shadow-md);
}

.companion-card.is-popping {
  transform: translateY(-10px) scale(1.04);
  border-color: var(--sakura);
}

.companion-avatar-well {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  padding: 12px;
  margin-bottom: 16px;
  transition: transform 0.38s var(--ease-bouncy);
}

.companion-card:hover .companion-avatar-well {
  transform: scale(1.08) rotate(-3deg);
}

.companion-avatar-well img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.companion-card h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
  font-weight: 750;
}

.companion-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.custom-banner {
  border-radius: 30px;
  padding: 30px 36px;
  background: linear-gradient(122deg, #ffffff 0%, #f1f3fe 52%, #fdf2f7 86%, #eef9f4 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sticker-quote {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

/* ---------- Bento Feature Cards ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: 30px;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
  will-change: transform;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-6 { grid-column: span 6; }

.bento-card--periwinkle {
  background: linear-gradient(148deg, #ffffff 0%, #eef0fe 100%);
}
.bento-card--sakura {
  background: linear-gradient(148deg, #ffffff 0%, #fdf1f6 100%);
}
.bento-card--mint {
  background: linear-gradient(148deg, #ffffff 0%, #ebf8f3 100%);
}
.bento-card--sky {
  background: linear-gradient(148deg, #ffffff 0%, #edf6fd 100%);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.bento-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.74;
  color: var(--ink-secondary);
}

.bento-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mini-pill {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
}

/* ---------- Privacy Spotlight (Soft Cloud-Indigo Sanctuary) ---------- */
.privacy-spotlight {
  border-radius: var(--radius-xl);
  padding: 52px;
  background: linear-gradient(135deg, #2b3266 0%, #3d468a 52%, #4a539c 100%);
  color: #f6f7fe;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.privacy-spotlight::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -130px;
  top: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 146, 186, 0.28) 0%, rgba(92, 214, 178, 0.16) 44%, transparent 70%);
  pointer-events: none;
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: center;
}

.privacy-spotlight h2 {
  margin: 16px 0 14px;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.privacy-spotlight p {
  margin: 0 0 26px;
  color: rgba(246, 247, 254, 0.84);
  font-size: 16px;
  line-height: 1.76;
}

.privacy-pill-list {
  display: grid;
  gap: 12px;
}

.privacy-pill-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.privacy-pill-item strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 2px;
}

.privacy-pill-item span {
  display: block;
  font-size: 13.5px;
  color: rgba(246, 247, 254, 0.78);
}

/* ---------- Free vs Plus Comparison ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tier-card {
  border-radius: 32px;
  padding: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.38s var(--ease-spring), box-shadow 0.38s ease;
}

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

.tier-card--plus {
  background: linear-gradient(155deg, #ffffff 0%, #f1f2fe 54%, #fdf2f7 100%);
  border-color: rgba(102, 114, 229, 0.26);
  box-shadow: var(--shadow-md);
}

.tier-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
}

.tier-badge--free { background: var(--mint-soft); color: var(--mint-deep); }
.tier-badge--plus { background: var(--primary-soft); color: var(--primary-deep); }

.tier-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 780;
}

.tier-sub {
  margin: -10px 0 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

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

.tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.tier-check {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-deep);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.tier-card--plus .tier-check {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

/* ---------- Download CTA Banner ---------- */
.cta-banner {
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(132deg, #ffffff 0%, #eef0fe 48%, #fdf1f6 80%, #ecf9f4 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.cta-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  margin: 0 auto 20px;
  box-shadow: 0 14px 34px rgba(58, 68, 148, 0.18);
  transition: transform 0.45s var(--ease-bouncy);
}

.cta-banner:hover .cta-icon {
  transform: scale(1.06) rotate(-4deg);
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: -0.026em;
}

.cta-banner p {
  margin: 0 auto 28px;
  max-width: 540px;
  font-size: 16.5px;
  color: var(--ink-secondary);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 48px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.64);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-col {
  max-width: 360px;
}

.footer-brand-col p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  font-size: 14px;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-deep);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Subpages: Privacy Policy & Support Center
   ========================================================================== */
.subpage-hero {
  padding: 54px 0 36px;
}

.subpage-hero-card {
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  background: linear-gradient(132deg, #ffffff 0%, #eff1fe 55%, #fdf2f7 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.subpage-hero-card h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.028em;
  line-height: 1.18;
}

.subpage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 22px;
}

.subpage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-primary);
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.doc-layout {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 36px;
  padding: 12px 0 88px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.doc-toc-title {
  margin: 0 0 12px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.doc-toc a {
  display: block;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}

.doc-toc a:hover {
  background: rgba(102, 114, 229, 0.06);
  color: var(--ink-primary);
}

.doc-toc a.is-active {
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-weight: 650;
}

.doc-articles {
  display: grid;
  gap: 18px;
}

.doc-card {
  scroll-margin-top: 98px;
  padding: 30px 34px;
  border-radius: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease;
}

.doc-card:hover {
  box-shadow: var(--shadow-sm);
}

.doc-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  gap: 11px;
}

.doc-num {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 750;
  flex-shrink: 0;
}

.doc-card p {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.84;
  color: var(--ink-secondary);
}

.doc-card p:last-child {
  margin-bottom: 0;
}

.doc-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.82;
}

.doc-card li {
  margin-bottom: 8px;
}

.doc-card li strong {
  color: var(--ink-primary);
}

.doc-card a {
  color: var(--primary-deep);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(102, 114, 229, 0.35);
  text-underline-offset: 3px;
}

.doc-card a:hover {
  text-decoration-color: var(--primary-deep);
}

.doc-note-box {
  padding: 22px 26px;
  border-radius: 24px;
  background: linear-gradient(125deg, #eceefe 0%, #f8eff6 100%);
  border: 1px solid rgba(102, 114, 229, 0.16);
  color: #2f3564;
  font-size: 14.5px;
  line-height: 1.78;
}

.doc-note-box a {
  color: var(--primary-deep);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Support Page */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 12px 0 88px;
  align-items: start;
}

.contact-card {
  padding: 34px;
  border-radius: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.contact-card p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.76;
}

.email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.email-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink-primary);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(102, 114, 229, 0.34);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink-primary);
}

.faq-chevron {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-canvas);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-bouncy), background 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease-spring);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-content {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-secondary);
}

/* Toast Notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate3d(-50%, 16px, 0) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-spring), transform 0.34s var(--ease-bouncy);
}

.toast.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .showcase-shell,
  .privacy-grid,
  .signals-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .companion-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento-span-7,
  .bento-span-5,
  .bento-span-6 {
    grid-column: span 12;
  }

  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .doc-toc-title {
    width: 100%;
    margin-bottom: 4px;
  }

  .float-chip {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-menu-btn {
    display: inline-flex;
  }

  .mobile-drawer {
    display: block;
  }

  .hero {
    padding: 32px 0 48px;
  }

  .hero-canvas-stage {
    padding: 28px 16px 0;
    border-radius: 30px;
  }

  .screen-card--side {
    display: none;
  }

  .screen-card--center {
    width: 260px;
    height: 390px;
  }

  .signals-card {
    padding: 26px 20px;
    border-radius: 28px;
  }

  .liquid-segment {
    width: 100%;
  }

  .liquid-segment button {
    padding: 9px 8px;
    font-size: 12.5px;
    gap: 5px;
  }

  .telemetry-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .telemetry-box {
    padding: 12px 10px;
  }

  .telemetry-value {
    font-size: 20px;
  }

  .state-narrative {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .custom-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .sticker-quote {
    white-space: normal;
  }

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

  .privacy-spotlight {
    padding: 32px 22px;
  }

  .subpage-hero-card {
    padding: 28px 22px;
  }

  .doc-card {
    padding: 24px 20px;
  }
}

/* ---------- Respect Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
