:root {
  --bg: #000000;
  --bg-alt: #0A0A0C;
  --surface: #121215;
  --surface-hover: #18181C;
  --border: rgba(255, 255, 255, 0.10);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text: #F5F5F7;
  --subtext: #86868B;
  --muted: #515154;
  --accent-blue: #2997FF;
  --success: #30D158;

  /* Dynamic Emotion Custom Properties (scoped to Milo's display) */
  --emo-primary: #72DDF7;
  --emo-secondary: #A7F3FF;
  --emo-glow: rgba(114, 221, 247, 0.26);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--text);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1040px, 100% - 48px);
  margin-inline: auto;
}

/* Crisp Single-Row Apple-Style Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(245, 245, 247, 0.72);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-text-btn {
  background: none;
  border: none;
  color: rgba(245, 245, 247, 0.76);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-text-btn:hover {
  color: var(--text);
}

/* Clean Studio Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

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

.btn-primary {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.btn-primary:hover {
  background: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-blue);
  border-color: transparent;
  padding-inline: 14px;
}

.btn-secondary:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-nav {
  background: var(--accent-blue);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
}

.btn-nav:hover {
  background: #40A2FF;
}

/* Hero Section — Clean, Confident, Centered */
.hero {
  padding: 64px 0 88px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 62%, var(--emo-glow), transparent 72%);
  transition: background 0.6s ease;
}

.hero-intro {
  max-width: 720px;
  margin: 0 auto 44px;
}

.hero-kicker {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--subtext);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: clamp(1.06rem, 1.8vw, 1.25rem);
  color: var(--subtext);
  max-width: 54ch;
  margin: 0 auto 28px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Hardware Stage — Anodized Aluminum Bezel & Stand */
.product-showcase {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.milo-hardware-unit {
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iphone-landscape-frame {
  width: 100%;
  position: relative;
  border-radius: 40px;
  padding: 13px;
  background: linear-gradient(160deg, #2C2C30 0%, #141416 60%, #0D0D0F 100%);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.85),
    0 0 60px var(--emo-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: box-shadow 0.5s ease;
  z-index: 2;
}

.iphone-notch {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 70px;
  background: #000000;
  border-radius: 999px;
  z-index: 6;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.milo-screen {
  position: relative;
  aspect-ratio: 16 / 9.2;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, var(--emo-glow) 0%, transparent 66%),
    #040406;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 22px 18px 38px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.milo-body-neck {
  width: 96px;
  height: 16px;
  background: linear-gradient(90deg, #161618, #2E2E32, #161618);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.milo-body-base {
  width: 280px;
  height: 30px;
  border-radius: 20px 20px 10px 10px;
  background: linear-gradient(180deg, #27272B 0%, #111113 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.base-led-strip {
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: var(--emo-primary);
  box-shadow: 0 0 10px var(--emo-primary);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* Screen Top Controls */
.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
}

.hud-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hud-pill-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.hud-pill-btn:hover,
.hud-pill-btn[aria-pressed="true"] {
  border-color: var(--emo-primary);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.hud-emotion-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
}

.hud-emotion-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emo-primary);
  box-shadow: 0 0 8px var(--emo-primary);
}

/* Face Canvas */
.face-body-split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  flex: 1;
  gap: 16px;
  transition: grid-template-columns 0.35s ease;
}

.face-body-split.tracking-open {
  grid-template-columns: 1.35fr 0.9fr;
}

.milo-face-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 10px 0;
}

.eyes-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.milo-eye {
  width: 102px;
  height: 62px;
  border-radius: 31px;
  background: linear-gradient(135deg, var(--emo-primary), var(--emo-secondary));
  box-shadow: 0 0 34px var(--emo-primary);
  position: relative;
  transition:
    width 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.32s ease,
    border-radius 0.28s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.milo-eye::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 18%;
  width: 22%;
  height: 14%;
  min-height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  transition: opacity 0.2s ease;
}

.milo-eye.blinking {
  height: 7px !important;
}
.milo-eye.blinking::before {
  opacity: 0;
}

/* Emotion-specific eye geometry */
.milo-screen[data-emotion="veryHappy"] .milo-eye { height: 42px; transform: translateY(-5px); }
.milo-screen[data-emotion="happy"] .milo-eye { height: 48px; transform: translateY(-3px); }
.milo-screen[data-emotion="sad"] .milo-eye.left { height: 50px; transform: rotate(8deg) translateY(4px); }
.milo-screen[data-emotion="sad"] .milo-eye.right { height: 50px; transform: rotate(-8deg) translateY(4px); }
.milo-screen[data-emotion="angry"] .milo-eye.left { height: 46px; transform: rotate(-11deg); }
.milo-screen[data-emotion="angry"] .milo-eye.right { height: 46px; transform: rotate(11deg); }
.milo-screen[data-emotion="thoughtful"] .milo-eye.left { height: 52px; transform: rotate(-4deg); }
.milo-screen[data-emotion="thoughtful"] .milo-eye.right { height: 52px; transform: rotate(5deg); }
.milo-screen[data-emotion="listening"] .milo-eye.left { width: 92px; height: 52px; transform: rotate(4deg); }
.milo-screen[data-emotion="listening"] .milo-eye.right { width: 92px; height: 52px; transform: rotate(-4deg); }
.milo-screen[data-emotion="surprised"] .milo-eye { width: 80px; height: 80px; border-radius: 50%; }
.milo-screen[data-emotion="sleeping"] .milo-eye { height: 9px; opacity: 0.72; }
.milo-screen[data-emotion="sleeping"] .milo-eye::before { opacity: 0; }

.milo-mouth {
  width: 66px;
  height: 10px;
  border-radius: 999px;
  background: var(--emo-primary);
  box-shadow: 0 0 16px var(--emo-primary);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.milo-screen[data-emotion="veryHappy"] .milo-mouth {
  width: 78px;
  height: 34px;
  background: transparent;
  border-bottom: 8px solid var(--emo-primary);
  border-radius: 0 0 48px 48px;
  box-shadow: none;
  filter: drop-shadow(0 4px 10px var(--emo-primary));
}

.milo-screen[data-emotion="happy"] .milo-mouth {
  width: 68px;
  height: 28px;
  background: transparent;
  border-bottom: 7px solid var(--emo-primary);
  border-radius: 0 0 40px 40px;
  box-shadow: none;
  filter: drop-shadow(0 4px 10px var(--emo-primary));
}

.milo-screen[data-emotion="sad"] .milo-mouth {
  width: 62px;
  height: 24px;
  background: transparent;
  border-top: 7px solid var(--emo-primary);
  border-radius: 40px 40px 0 0;
  box-shadow: none;
  transform: translateY(6px);
}

.milo-screen[data-emotion="angry"] .milo-mouth { width: 52px; height: 8px; transform: rotate(-5deg); }
.milo-screen[data-emotion="thoughtful"] .milo-mouth { width: 38px; height: 8px; transform: translateX(12px); }
.milo-screen[data-emotion="surprised"] .milo-mouth {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 6px solid var(--emo-primary);
}
.milo-screen[data-emotion="listening"] .milo-mouth {
  width: 48px;
  height: 22px;
  border-radius: 12px;
  background: rgba(122, 251, 255, 0.22);
  border: 2px solid var(--emo-primary);
}
.milo-screen[data-emotion="sleeping"] .milo-mouth { width: 28px; height: 6px; opacity: 0.5; }

.milo-mouth.speaking {
  width: 58px !important;
  height: 34px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 3px solid var(--emo-primary) !important;
}

/* Eye Contact Panel */
.tracking-hud-panel {
  background: rgba(14, 14, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 12px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 170px;
  text-align: left;
}

.face-body-split.tracking-open .tracking-hud-panel {
  display: flex;
}

.tracking-reticle {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #08080B;
}

.tracking-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tracking-video.is-live {
  opacity: 1;
}

.tracking-fallback-msg {
  position: relative;
  z-index: 2;
  font-size: 0.7rem;
  color: var(--subtext);
  text-align: center;
  padding: 0 10px;
}

.tracking-fallback-msg.hidden {
  display: none;
}

.reticle-box {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border: 2px solid var(--emo-primary);
  border-radius: 14px;
  box-shadow: 0 0 14px var(--emo-glow);
}

.tracking-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--subtext);
}

.hud-bottom {
  display: flex;
  justify-content: center;
  z-index: 3;
}

.ai-speech-bubble {
  background: rgba(10, 10, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  max-width: 90%;
}

/* Minimalist Emotion Selector Bar */
.emotion-dock {
  margin-top: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.emotion-dock-header {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--subtext);
}

.emotion-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.emo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--subtext);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.emo-btn:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.emo-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: var(--emo-primary);
}

.emo-swatch {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* Editorial Sections */
.section {
  padding: 104px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 660px;
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--subtext);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--subtext);
  font-size: 1.1rem;
  line-height: 1.55;
}

/* Refined Editorial Feature Grid (No Glassmorphism Blobs) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

.editorial-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s ease;
}

.editorial-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.card-icon {
  width: 36px;
  height: 36px;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0.88;
}

.editorial-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text);
}

.editorial-card p {
  color: var(--subtext);
  font-size: 0.98rem;
  line-height: 1.6;
}

.card-example {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

/* Scroll Entry Animation */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes card-enter {
      from {
        opacity: 0;
        transform: translateY(22px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal-on-scroll {
      animation: card-enter auto ease-out backwards;
      animation-timeline: view();
      animation-range: entry 5% cover 22%;
    }
  }
}

/* Interactive Life Moments Showcase */
.playground-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.prompt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prompt-btn {
  text-align: left;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--subtext);
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.2s ease;
}

.prompt-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.prompt-btn[aria-selected="true"] {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
}

.prompt-utterance {
  font-weight: 500;
  font-size: 0.96rem;
  line-height: 1.45;
}

.prompt-tag {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--subtext);
  white-space: nowrap;
}

.experience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.exp-moment-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  display: block;
  margin-bottom: 16px;
}

.exp-reply-quote {
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.02em;
}

.exp-reactions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.exp-reaction-label {
  display: block;
  font-size: 0.76rem;
  color: var(--subtext);
  margin-bottom: 4px;
}

.exp-reaction-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

/* Clean Typographic Capabilities List (SF-Symbols Style) */
.cap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 0;
}

.cap-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cap-row-icon {
  width: 24px;
  height: 24px;
  color: var(--text);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
}

.cap-row h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cap-row p {
  font-size: 0.9rem;
  color: var(--subtext);
  line-height: 1.5;
}

/* 3 Steps — Editorial Numbered Columns */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.step-col {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.step-num {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--subtext);
  display: block;
  margin-bottom: 12px;
}

.step-col h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.step-col p {
  font-size: 0.95rem;
  color: var(--subtext);
  line-height: 1.6;
}

/* Clean Hairline FAQ Accordion */
.faq-container {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
}

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

details.faq-item summary {
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
}

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

details.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--subtext);
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding-bottom: 24px;
  color: var(--subtext);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 68ch;
}

/* Closing Banner */
.closing-section {
  text-align: center;
  padding: 112px 0;
  border-top: 1px solid var(--border-subtle);
}

.closing-section h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.closing-section p {
  color: var(--subtext);
  font-size: 1.12rem;
  max-width: 48ch;
  margin: 0 auto 30px;
}

/* Native Modal Dialog */
dialog.milo-modal {
  margin: auto;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 32px;
  max-width: 480px;
  width: calc(100% - 32px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
}

dialog.milo-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  background: var(--bg);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--subtext);
  font-size: 0.8rem;
}

/* Integrations Marquee Banner */
.integrations-marquee-section {
  padding: 28px 0 34px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
  overflow: hidden;
}

.marquee-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.marquee-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--subtext);
  letter-spacing: -0.01em;
}

.marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes milo-marquee {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  .marquee-track {
    animation: milo-marquee 36s linear infinite;
  }

  .marquee-track:hover,
  .marquee-track.is-paused {
    animation-play-state: paused;
  }
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.brand-chip:hover {
  border-color: var(--border);
  background: var(--surface-hover);
}

.brand-svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.brand-img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Corporate Promotion & Employee Gifting */
.corporate-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.corporate-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.corporate-lead {
  color: var(--subtext);
  font-size: 1.06rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.corporate-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.corporate-pillars {
  display: flex;
  flex-direction: column;
}

.pillar-item {
  padding: 22px 0;
  border-top: 1px solid var(--border-subtle);
}

.pillar-item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.pillar-item h3 {
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--subtext);
  line-height: 1.55;
}

/* Corporate Modal Form */
.corp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--subtext);
}

.form-field input {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.form-field input:focus-visible {
  outline: 2px solid var(--accent-blue);
  border-color: transparent;
}

.corp-form-status {
  font-size: 0.84rem;
  color: var(--success);
  text-align: center;
  min-height: 1.2em;
}

/* Responsive */
@media (max-width: 960px) {
  .playground-box,
  .cap-list,
  .steps-grid,
  .corporate-showcase {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .exp-reactions,
  .form-row {
    grid-template-columns: 1fr;
  }

  .milo-eye {
    width: 74px;
    height: 46px;
  }

  .face-body-split.tracking-open {
    grid-template-columns: 1fr;
  }
}
