/* ==========================================================================
   babble.ing — Visual-First Tactile Paper & Real-Screen Showcase Styles
   ========================================================================== */

:root {
  --paper: #F7F4EE;
  --paper-elevated: #FAF8F3;
  --surface: #EDE6D8;
  --surface-strong: #E4DAC8;
  --card: #FFFEFC;
  --border-dots: #D9D2C3;
  --border-strong: #C5BCAA;

  --ink: #22201E;
  --ink-secondary: #5E5047;
  --terracotta: #A64B2E;
  --terracotta-hover: #8E3F26;
  --terracotta-text: #8E3F26;
  --terracotta-tint: rgba(166, 75, 46, 0.11);
  --on-terracotta: #FFF9F5;

  --indigo: #3E4C8A;
  --sage: #6E8B74;
  --sage-tint: rgba(110, 139, 116, 0.15);

  --sticky-ink: #22201E;
  --sticky-honey: #FFE17D;
  --sticky-coral: #FFA896;
  --sticky-mint: #9BE6BE;
  --sticky-sky: #9BD4FF;

  --r-control: 12px;
  --r-card: 18px;
  --r-panel: 26px;
  --r-pill: 999px;

  --shadow-paper: 0 2px 6px rgba(34, 32, 30, 0.05), 0 12px 30px rgba(34, 32, 30, 0.06);
  --shadow-phone: 0 22px 54px rgba(28, 24, 20, 0.18), 0 6px 16px rgba(28, 24, 20, 0.10);
  --shadow-sticky: 0 4px 12px rgba(34, 32, 30, 0.10);

  --ease-paper: cubic-bezier(0.2, 0, 0, 1);
  --dur-fast: 160ms;
  --dur-panel: 240ms;
}

[data-theme="dark"] {
  --paper: #151817;
  --paper-elevated: #1B201E;
  --surface: #202624;
  --surface-strong: #2A322F;
  --card: #232A27;
  --border-dots: #363E3A;
  --border-strong: #4A544F;

  --ink: #EFECE4;
  --ink-secondary: #A8A397;
  --terracotta: #B2462A;
  --terracotta-hover: #C85335;
  --terracotta-text: #E08A62;
  --terracotta-tint: rgba(224, 138, 98, 0.16);
  --on-terracotta: #FFF7F2;

  --shadow-paper: 0 6px 18px rgba(0, 0, 0, 0.30);
  --shadow-phone: 0 26px 64px rgba(0, 0, 0, 0.55), 0 8px 20px rgba(0, 0, 0, 0.35);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--terracotta-text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2.5px solid var(--terracotta-text);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 999;
  background: var(--terracotta);
  color: var(--on-terracotta);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

@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;
  }
}

.dotted-paper {
  background-color: var(--paper);
  background-image: radial-gradient(var(--border-dots) 1.35px, transparent 1.35px);
  background-size: 24px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Floating Clean Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dots);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }

.brand-tag-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface);
  border: 1px solid var(--border-dots);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

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

.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none !important;
  transition: background var(--dur-fast) var(--ease-paper), color var(--dur-fast) var(--ease-paper);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
}

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

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-dots);
  background: var(--surface);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-drawer {
  display: none;
  border-top: 1px solid var(--border-dots);
  background: var(--paper);
  padding: 14px 24px 20px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-drawer.open { display: flex; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .hide-mobile { display: none !important; }
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-dots);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none !important;
  transition: transform var(--dur-fast) var(--ease-paper),
              background var(--dur-fast) var(--ease-paper),
              border-color var(--dur-fast) var(--ease-paper);
  user-select: none;
}

.btn:hover { border-color: var(--terracotta-text); }
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--on-terracotta);
  box-shadow: 0 6px 18px rgba(166, 75, 46, 0.24);
}

.btn-primary:hover {
  background: var(--terracotta-hover);
  border-color: var(--terracotta-hover);
  color: var(--on-terracotta);
}

.btn-outline {
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  color: var(--ink);
}

.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }

.sticky-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
  background: var(--sticky-honey);
  color: var(--sticky-ink);
  padding: 6px 16px;
  border-radius: 10px;
  border: 1px solid rgba(34, 32, 30, 0.12);
  box-shadow: var(--shadow-sticky);
  transform: rotate(-1.8deg);
}

.section-label {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--terracotta-text);
  background: var(--terracotta-tint);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}

/* ==========================================================================
   Realistic Hardware Phone Frame
   ========================================================================== */
.phone-bezel {
  position: relative;
  border-radius: 38px;
  padding: 10px;
  background: #1C1B1A;
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: transform var(--dur-panel) var(--ease-paper), box-shadow var(--dur-panel) var(--ease-paper);
}

.phone-bezel::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 6px;
  border-radius: 99px;
  background: rgba(20, 20, 20, 0.35);
  z-index: 4;
  pointer-events: none;
}

.phone-screen {
  border-radius: 29px;
  overflow: hidden;
  background: #F7F4EE;
  aspect-ratio: 390 / 844;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 200ms var(--ease-paper);
}

/* ==========================================================================
   HERO — 3-Phone Fanned Stage + Interactive Live Screen Switcher
   ========================================================================== */
.hero-showcase {
  padding: 44px 0 68px;
  border-bottom: 1px solid var(--border-dots);
  overflow: hidden;
}

.hero-showcase-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.22fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 1020px) {
  .hero-showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-headline {
  font-size: clamp(42px, 5.6vw, 66px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 18px 0 16px;
}

.hero-headline em {
  font-style: normal;
  color: var(--terracotta-text);
}

.hero-subline {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-secondary);
  max-width: 440px;
  margin-bottom: 26px;
}

@media (max-width: 1020px) {
  .hero-subline {
    margin-left: auto;
    margin-right: auto;
  }
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 1020px) {
  .store-badges-row {
    justify-content: center;
  }
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px;
  border-radius: 15px;
  background: var(--terracotta);
  color: var(--on-terracotta) !important;
  border: 1.5px solid var(--terracotta);
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(166, 75, 46, 0.25);
  transition: transform var(--dur-fast) var(--ease-paper), opacity var(--dur-fast) var(--ease-paper);
}

.store-badge-btn:hover { opacity: 0.94; }
.store-badge-btn:active { transform: scale(0.97); }

.store-badge-btn.secondary-store {
  background: var(--card);
  color: var(--ink) !important;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-paper);
}

.store-badge-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-badge-small { font-size: 10.5px; opacity: 0.85; font-weight: 500; }
.store-badge-big { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }

.micro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

@media (max-width: 1020px) {
  .micro-pills { justify-content: center; }
}

.micro-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface);
  border: 1px solid var(--border-dots);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

/* 3-Phone Fan Stage */
.phone-trio-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.phone-trio-stage {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-center {
  width: 274px;
  z-index: 5;
  position: relative;
}

.hero-phone-side {
  width: 226px;
  position: absolute;
  z-index: 2;
  opacity: 0.94;
  cursor: pointer;
}

.hero-phone-side.left {
  transform: translateX(-185px) translateY(22px) rotate(-7deg);
}

.hero-phone-side.right {
  transform: translateX(185px) translateY(22px) rotate(7deg);
}

.hero-phone-side:hover {
  z-index: 4;
  opacity: 1;
}

.hero-phone-side.left:hover {
  transform: translateX(-188px) translateY(12px) rotate(-5deg);
}

.hero-phone-side.right:hover {
  transform: translateX(188px) translateY(12px) rotate(5deg);
}

@media (max-width: 680px) {
  .phone-trio-stage { min-height: 490px; }
  .hero-phone-center { width: 252px; }
  .hero-phone-side.left { width: 185px; transform: translateX(-105px) translateY(24px) rotate(-7deg); }
  .hero-phone-side.right { width: 185px; transform: translateX(105px) translateY(24px) rotate(7deg); }
}

.floating-sticker {
  position: absolute;
  z-index: 7;
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.floating-sticker.top-left {
  top: 12px;
  left: calc(50% - 190px);
  transform: rotate(-10deg);
}

.floating-sticker.bottom-right {
  bottom: 14px;
  right: calc(50% - 198px);
  transform: rotate(9deg);
}

@media (max-width: 540px) {
  .floating-sticker { width: 64px; height: 64px; }
  .floating-sticker.top-left { left: 10px; }
  .floating-sticker.bottom-right { right: 10px; }
}

/* Screen Switcher Dock under Hero Phone */
.screen-switcher-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  background: var(--card);
  border: 1.5px solid var(--border-strong);
  padding: 6px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-paper);
}

.screen-pill-btn {
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-paper), color var(--dur-fast) var(--ease-paper);
}

.screen-pill-btn:hover {
  color: var(--ink);
}

.screen-pill-btn.active {
  background: var(--terracotta);
  color: var(--on-terracotta);
}

/* ==========================================================================
   SECTION 2 — Dark Inkwell 4-Beat Story Cinema ("Escape the Scroll")
   ========================================================================== */
.cinema-band {
  background: #171918;
  color: #F2EFE8;
  padding: 76px 0;
  border-bottom: 1px solid var(--border-dots);
}

.cinema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .cinema-grid {
    grid-template-columns: 1fr;
  }
}

.cinema-copy h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.cinema-copy > p {
  font-size: 18px;
  color: #B0ABA0;
  margin-bottom: 28px;
}

.story-beats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-beat-btn {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 15px 18px;
  color: #EAE6DD;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background var(--dur-fast) var(--ease-paper), border-color var(--dur-fast) var(--ease-paper);
}

.story-beat-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.story-beat-btn.active {
  background: rgba(224, 138, 98, 0.15);
  border-color: #E08A62;
}

.beat-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: #E08A62;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.story-beat-btn.active .beat-num {
  background: #E08A62;
  color: #171918;
}

.beat-title {
  font-size: 16px;
  font-weight: 700;
  display: block;
}

.beat-desc {
  font-size: 13.5px;
  color: #B0ABA0;
  display: block;
}

.cinema-phone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cinema-phone {
  width: 286px;
  background: #272A28;
}

.cinema-phone .phone-screen {
  aspect-ratio: 9 / 16;
}

/* ==========================================================================
   SECTION 3 — 5 Real Original Babble Screens Gallery
   ========================================================================== */
.section {
  padding: 76px 0;
  border-bottom: 1px solid var(--border-dots);
}

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

.section-head-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.section-head-compact h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head-compact p {
  font-size: 17px;
  color: var(--ink-secondary);
  max-width: 420px;
}

.screens-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 1100px) {
  .screens-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
  }
  .screen-showcase-item {
    min-width: 224px;
    scroll-snap-align: start;
  }
}

.screen-showcase-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.screen-showcase-item .phone-bezel {
  border-radius: 30px;
  padding: 7px;
}

.screen-showcase-item .phone-screen {
  border-radius: 24px;
}

.screen-showcase-item:hover .phone-bezel {
  transform: translateY(-6px);
}

.screen-caption h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.screen-caption p {
  font-size: 13.5px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 4 — 3 Interactive Superpower Toys (Minimal Copy!)
   ========================================================================== */
.toys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .toys-grid {
    grid-template-columns: 1fr;
  }
}

.toy-card {
  background: var(--card);
  border: 1px solid var(--border-dots);
  border-radius: var(--r-panel);
  padding: 24px;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.toy-stage {
  height: 215px;
  border-radius: 18px;
  border: 1px solid var(--border-dots);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toy-copy h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.toy-copy p {
  font-size: 14.5px;
  color: var(--ink-secondary);
}

/* Toy 1: 15s Shaped Peek */
.peek-blob {
  width: 136px;
  height: 136px;
  border-radius: 42% 58% 60% 40% / 45% 42% 58% 55%;
  background: linear-gradient(135deg, #D97E54 0%, #A64B2E 48%, #3E4C8A 100%);
  border: 3px dashed #A64B2E;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 12px 28px rgba(166, 75, 46, 0.25);
  transition: transform 220ms var(--ease-paper), opacity 220ms var(--ease-paper);
}

.peek-blob.vanished {
  transform: scale(0.75);
  opacity: 0;
}

/* Toy 2: Googly Eyes Photo Shield */
.googly-photo-card {
  width: 86%;
  height: 170px;
  border-radius: 14px;
  background: linear-gradient(135deg, #E29B76 0%, #9E4326 52%, #2B3668 100%);
  padding: 12px;
  color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}

.googly-overlay {
  position: absolute;
  inset: 0;
  background: #202220;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease-paper);
}

.googly-active .googly-overlay {
  opacity: 1;
}

.googly-eyes-pair {
  display: flex;
  gap: 10px;
}

.googly-eye {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFF;
  border: 3px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.googly-pupil {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #111;
  transform: translate(5px, 3px);
}

.googly-eye:nth-child(2) .googly-pupil {
  transform: translate(-5px, -3px);
}

/* Toy 3: CAD (.dxf) Viewer */
.cad-mini-stage {
  background: #12161D;
  flex-direction: column;
  padding: 12px;
  justify-content: space-between;
}

.cad-layer-pills {
  display: flex;
  gap: 6px;
  width: 100%;
}

.cad-layer-btn {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  border: 1px solid #2E3746;
  background: #1D2430;
  color: #CBD5E1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  cursor: pointer;
}

.cad-layer-btn.active {
  border-color: #E08A62;
  background: rgba(224, 138, 98, 0.22);
  color: #FFD7C4;
}

/* ==========================================================================
   SECTION 5 — Interactive "Tap to Slam!" Animated Sticker Desk
   ========================================================================== */
.sticker-slam-board {
  border-radius: var(--r-panel);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-paper);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.slammed-layer {
  position: relative;
  height: 230px;
  border-radius: 18px;
  border: 1px dashed var(--border-strong);
  overflow: hidden;
  cursor: crosshair;
}

.slammed-hint {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  pointer-events: none;
}

.slammed-sticker {
  position: absolute;
  width: 88px;
  height: 88px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.16));
  animation: stampSlam 190ms var(--ease-paper) forwards;
}

@keyframes stampSlam {
  from { transform: scale(1.38) rotate(var(--rot, 0deg)); opacity: 0.4; }
  to   { transform: scale(1) rotate(var(--rot, 0deg)); opacity: 1; }
}

.sticker-tray-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--border-dots);
  border-radius: 20px;
  padding: 10px;
}

@media (max-width: 980px) {
  .sticker-tray-strip {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 520px) {
  .sticker-tray-strip {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 8px;
  }
}

.sticker-tray-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 8px 4px;
  height: 92px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform var(--dur-fast) var(--ease-paper), background var(--dur-fast) var(--ease-paper);
}

.sticker-tray-btn:hover {
  background: var(--surface);
  border-color: var(--border-dots);
  transform: translateY(-3px);
}

.sticker-tray-btn:active {
  transform: scale(0.93);
}

.sticker-tray-btn img {
  width: 56px;
  height: 56px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  object-fit: contain;
}

.sticker-tray-btn span {
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Compact Trust Grid & CTA Banner
   ========================================================================== */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

@media (max-width: 1000px) {
  .trust-badges-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
}

.trust-mini-card {
  background: var(--card);
  border: 1px solid var(--border-dots);
  border-radius: 16px;
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-mini-card strong {
  font-size: 14px;
  font-weight: 700;
}

.trust-mini-card span {
  font-size: 12px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Shared Support, Policy, Data Safety & Deletion Page Styles
   ========================================================================== */
.attributes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 960px) { .attributes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .attributes-grid { grid-template-columns: 1fr; } }

.attribute-card {
  background: var(--card);
  border: 1px solid var(--border-dots);
  border-radius: var(--r-card);
  padding: 18px;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.attribute-card h3 { font-size: 15.5px; font-weight: 700; }
.attribute-card p { font-size: 13.5px; color: var(--ink-secondary); }

.page-hero {
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--border-dots);
}

.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 12px 0 10px;
}

.page-hero p {
  font-size: 16.5px;
  color: var(--ink-secondary);
  max-width: 640px;
}

.policy-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  background: var(--card);
  border: 1px solid var(--border-dots);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

.policy-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  padding: 40px 0 76px;
  align-items: start;
}

@media (max-width: 880px) { .policy-layout { grid-template-columns: 1fr; } }

.policy-toc {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--border-dots);
  border-radius: var(--r-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 880px) { .policy-toc { position: static; } }

.policy-toc-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-secondary);
  padding: 2px 8px 6px;
}

.policy-toc a {
  font-size: 13.5px;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
}

.policy-toc a:hover {
  background: var(--card);
  color: var(--terracotta-text);
}

.policy-prose { display: flex; flex-direction: column; gap: 22px; }

.policy-card {
  background: var(--card);
  border: 1px solid var(--border-dots);
  border-radius: var(--r-panel);
  padding: 28px 30px;
  box-shadow: var(--shadow-paper);
}

@media (max-width: 600px) { .policy-card { padding: 20px; } }

.policy-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.015em; }
.policy-card h3 { font-size: 16.5px; font-weight: 600; margin: 16px 0 6px; }
.policy-card p, .policy-card li { font-size: 15px; color: var(--ink-secondary); line-height: 1.62; }
.policy-card p + p { margin-top: 10px; }
.policy-card ul, .policy-card ol { padding-left: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 7px; }
.policy-card strong { color: var(--ink); font-weight: 600; }

.callout-box {
  background: var(--surface);
  border-left: 4px solid var(--terracotta);
  border-radius: 12px;
  padding: 15px 18px;
  margin-top: 14px;
}

.callout-box.safe { border-left-color: var(--sage); }
.callout-box p { font-size: 14.5px; color: var(--ink); }

.table-scroll {
  overflow-x: auto;
  margin-top: 14px;
  border: 1px solid var(--border-dots);
  border-radius: 14px;
}

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-dots); vertical-align: top; }
.data-table th { background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; }
.data-table tr:last-child td { border-bottom: none; }

.badge-yes, .badge-no {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-yes { background: var(--sage-tint); color: var(--ink); }
.badge-no { background: var(--terracotta-tint); color: var(--terracotta-text); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-control);
}

.form-textarea { min-height: 104px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--terracotta); }

/* Help & Support Workspace */
.search-shell { position: relative; max-width: 660px; margin: 20px 0 14px; }
.search-shell.centered { margin-left: auto; margin-right: auto; }
.search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--ink-secondary); pointer-events: none;
}
.search-input {
  width: 100%; height: 54px; padding: 0 88px 0 48px;
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--border-strong);
  border-radius: var(--r-pill); box-shadow: var(--shadow-paper);
}
.search-input:focus { outline: none; border-color: var(--terracotta); }
.search-shortcut, .search-clear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.search-shortcut {
  font-size: 12px; color: var(--ink-secondary); background: var(--surface);
  border: 1px solid var(--border-dots); border-radius: 8px; padding: 3px 8px; pointer-events: none;
}
.search-clear {
  border: none; background: var(--surface); color: var(--terracotta-text);
  font-family: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); cursor: pointer;
}

.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-chips.centered { justify-content: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--border-dots);
  color: var(--ink); font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.chip:hover, .chip.active { border-color: var(--terracotta); background: var(--terracotta-tint); }

.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 12px; margin-bottom: 22px; }
.category-card {
  text-align: left; background: var(--surface); border: 1px solid var(--border-dots);
  border-radius: var(--r-card); padding: 15px; font-family: inherit; color: var(--ink);
  cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.category-card:hover { border-color: var(--terracotta); }
.category-card.selected { border: 1.5px solid var(--terracotta); background: var(--card); box-shadow: var(--shadow-paper); }
.category-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.category-card h3 { font-size: 15.5px; font-weight: 600; }
.category-card p { font-size: 13px; color: var(--ink-secondary); }
.count-pill {
  font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: var(--r-pill);
  background: var(--paper); border: 1px solid var(--border-dots); color: var(--terracotta-text);
}

.help-workspace { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
@media (max-width: 880px) { .help-workspace { grid-template-columns: 1fr; } }

.article-list-panel {
  background: var(--surface); border: 1px solid var(--border-dots); border-radius: 20px;
  padding: 14px; display: flex; flex-direction: column; gap: 8px; max-height: 660px; overflow-y: auto;
}
.list-header { padding: 4px 6px 6px; }
.list-header h2 { font-size: 14px; font-weight: 600; color: var(--ink-secondary); }
.article-row {
  text-align: left; width: 100%; background: var(--paper); border: 1px solid var(--border-dots);
  border-radius: 13px; padding: 12px 14px; font-family: inherit; color: var(--ink); cursor: pointer;
}
.article-row:hover { border-color: var(--terracotta); }
.article-row.active { background: var(--card); border: 1.5px solid var(--terracotta); }
.article-row-title { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.article-row-snippet {
  font-size: 12.5px; color: var(--ink-secondary);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
mark { background: var(--sticky-honey); color: #222; padding: 0 3px; border-radius: 4px; }

.reader-card { background: var(--card); border: 1px solid var(--border-dots); border-radius: var(--r-panel); padding: 28px; box-shadow: var(--shadow-paper); }
.reader-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.reader-title { font-size: 25px; font-weight: 700; line-height: 1.22; margin-bottom: 10px; }
.reader-body { font-size: 15.5px; color: var(--ink-secondary); margin-bottom: 20px; }
.app-path-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  background: var(--surface); border: 1px solid var(--border-dots); border-radius: 13px;
  padding: 12px 16px; margin-bottom: 20px; font-size: 14px;
}
.app-path-banner strong { color: var(--terracotta-text); }
.reader-section { margin-bottom: 20px; }
.reader-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.steps-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.steps-list li {
  display: flex; gap: 12px; align-items: flex-start; background: var(--paper);
  border: 1px solid var(--border-dots); border-radius: 13px; padding: 11px 14px; font-size: 14.5px;
}
.step-num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: var(--r-pill);
  background: var(--terracotta-tint); color: var(--terracotta-text); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.trouble-card { background: var(--surface); border: 1px solid var(--border-dots); border-radius: 13px; padding: 13px 16px; margin-bottom: 9px; }
.trouble-card h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.trouble-card p { font-size: 14px; color: var(--ink-secondary); }
.helpful-bar {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-dots);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-secondary);
}

.faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 12px; }
@media (max-width: 540px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item { background: var(--card); border: 1px solid var(--border-dots); border-radius: var(--r-card); padding: 15px 18px; }
.faq-item summary { font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--terracotta-text); font-size: 20px; line-height: 1; transition: transform var(--dur-fast) var(--ease-paper); }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-body { margin-top: 10px; font-size: 14px; color: var(--ink-secondary); }
.faq-jump { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--terracotta-text); background: none; border: none; cursor: pointer; text-decoration: underline; font-family: inherit; }

/* Site Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border-dots);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-dots);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { margin-top: 10px; font-size: 14px; color: var(--ink-secondary); max-width: 280px; }
.footer-col h3 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col a { font-size: 14px; color: var(--ink-secondary); }
.footer-col a:hover { color: var(--terracotta-text); }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Motion layer (added 2 Dec 2026): entrances, scroll reveals, sticker drift,
   sticker marquee and pointer-follow phone fan. All of it switches off with
   prefers-reduced-motion (see the block at the end of this section).
   ========================================================================== */

/* Hero entrance: tag, headline words, subline, badges rise in turn */
.hero-showcase .sticky-tag,
.hero-showcase .hero-subline,
.hero-showcase .store-badges-row,
.hero-showcase .micro-pills {
  animation: riseIn 0.9s var(--ease-paper) both;
}
.hero-showcase .hero-subline { animation-delay: 0.45s; }
.hero-showcase .store-badges-row { animation-delay: 0.6s; }
.hero-showcase .micro-pills { animation-delay: 0.75s; }

.hero-headline .w {
  display: inline-block;
  animation: wordIn 0.8s var(--ease-paper) both;
  animation-delay: calc(0.12s + var(--i) * 0.08s);
}
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(0.45em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Hand-drawn underline that draws itself under "canvas." */
.hero-headline em { position: relative; font-style: normal; color: var(--terracotta-text); }
.hero-headline .ink-underline {
  position: absolute; left: -2%; right: -2%; bottom: -0.12em; width: 104%; height: 0.32em;
  overflow: visible; pointer-events: none;
}
.hero-headline .ink-underline path {
  fill: none; stroke: var(--terracotta); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: drawLine 1.1s 0.9s var(--ease-paper) forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* Phone fan: deal the phones in, then follow the pointer gently */
.phone-trio-stage { perspective: 1400px; }
.phone-trio-stage .tilt-layer {
  position: relative; width: 100%; min-height: inherit;
  display: flex; align-items: center; justify-content: center;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.5s var(--ease-paper);
  transform-style: preserve-3d;
}
.hero-phone-center { animation: phoneDeal 1s 0.2s var(--ease-paper) both; }
.hero-phone-side.left { animation: phoneDealLeft 1.1s 0.45s var(--ease-paper) both; }
.hero-phone-side.right { animation: phoneDealRight 1.1s 0.55s var(--ease-paper) both; }
@keyframes phoneDeal { from { opacity: 0; transform: translateY(60px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes phoneDealLeft { from { opacity: 0; transform: translateX(-40px) translateY(60px) rotate(0deg); } }
@keyframes phoneDealRight { from { opacity: 0; transform: translateX(40px) translateY(60px) rotate(0deg); } }

/* Floating hero stickers drift instead of sitting still */
.floating-sticker.top-left { animation: driftA 5.5s ease-in-out infinite; }
.floating-sticker.bottom-right { animation: driftB 6.5s ease-in-out infinite; }
@keyframes driftA { 0%,100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-14px); } }
@keyframes driftB { 0%,100% { transform: rotate(9deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-12px); } }

/* Screen switcher: soft crossfade + scale on the centre screen */
#hero-center-screen-img { transition: opacity 0.25s var(--ease-paper), transform 0.35s var(--ease-paper); }
#hero-center-screen-img.swapping { transform: scale(0.97); }
#cinema-screen-img { transition: opacity 0.35s var(--ease-paper); }
#cinema-screen-img.swapping { opacity: 0.2; }

/* Sticker marquee band between hero and story */
.sticker-marquee {
  background: var(--ink); color: var(--paper);
  overflow: hidden; padding: 18px 0; position: relative;
  border-block: 1.5px solid var(--ink);
}
.sticker-marquee::before, .sticker-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.sticker-marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.sticker-marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 38s linear infinite;
}
.sticker-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { width: 58px; height: 58px; object-fit: contain; transition: transform 0.3s var(--ease-paper); }
.marquee-track img:hover { transform: scale(1.25) rotate(-6deg); }
.marquee-track span {
  font-family: 'Caveat', cursive; font-size: 30px; font-weight: 600; white-space: nowrap;
  color: var(--sticky-honey);
}
[data-theme="dark"] .sticker-marquee { background: #0E100F; border-color: #0E100F; }
[data-theme="dark"] .sticker-marquee::before { background: linear-gradient(90deg, #0E100F, transparent); }
[data-theme="dark"] .sticker-marquee::after { background: linear-gradient(-90deg, #0E100F, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll reveals: sections and cards rise into place as they enter */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-paper), transform 0.9s var(--ease-paper); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-paper), transform 0.7s var(--ease-paper); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }

/* Screens strip: lift and tilt on hover */
.screen-showcase-item .phone-bezel { transition: transform 0.45s var(--ease-paper), box-shadow 0.45s var(--ease-paper); }
.screen-showcase-item:hover .phone-bezel { transform: translateY(-10px) rotate(-1.5deg); }
.screen-showcase-item:nth-child(even):hover .phone-bezel { transform: translateY(-10px) rotate(1.5deg); }

/* Trust cards: small sticky-note wobble on hover */
.trust-mini-card { transition: transform 0.35s var(--ease-paper); }
.trust-mini-card:hover { transform: translateY(-4px) rotate(-1deg); }

/* Scroll progress line under the header */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100;
  background: var(--terracotta); transform-origin: 0 50%; transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-headline .ink-underline path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .phone-trio-stage .tilt-layer { transform: none !important; }
}
