/* ==========================================================================
   Visual Steps — Official Landing Page Stylesheet
   Strict 8-Pixel Grid Alignment & Flutter Design System Tokens
   docs/design/DESIGN_SYSTEM.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Self-Hosted Fonts (Local-First & Private by Design)
   -------------------------------------------------------------------------- */
/* Nunito Variable Font (Latin Ext) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('./assets/fonts/nunito-latin-ext-variable.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nunito Variable Font (Latin) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('./assets/fonts/nunito-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Material Symbols Rounded (Subsetted opsz 20..48, wght 400..700) */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./assets/fonts/material-symbols-rounded-subset.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   1. Design System Tokens (:root)
   -------------------------------------------------------------------------- */
:root {
  /* Yellow / Sunshine (Primary Brand Theme) */
  --yellow-base: #FFD23F;
  --yellow-shadow: #E09B00;
  --yellow-light: #FFF8DC;

  /* Orange / Tangerine (First-Then Board) */
  --orange-base: #FF9B45;
  --orange-shadow: #DB5C0E;
  --orange-light: #FFF1E3;
  --orange-tint: #FFD9B8;

  /* Pink / Rose (Celebration & Delighters) */
  --pink-base: #FA7298;
  --pink-shadow: #D4436F;
  --pink-light: #FFF0F4;

  /* Violet / Grape (Visual Schedule Board) */
  --violet-base: #B78CFF;
  --violet-shadow: #7146C5;
  --violet-light: #F6F0FF;
  --violet-tint: #E0D2FA;

  /* Blue / Sky (School & Structure) */
  --blue-base: #55B8F5;
  --blue-shadow: #2183BE;
  --blue-light: #EDF7FF;

  /* Teal / Mint (Choice Board) */
  --teal-base: #45CCC3;
  --teal-shadow: #15948E;
  --teal-light: #E8FBF9;
  --teal-tint: #BDF0EC;

  /* Success States */
  --success-base: #22C55E;
  --success-shadow: #16A34A;
  --success-light: #DCFCE7;
  --success-dark: #15803D;

  /* Neutrals (High to Low Contrast) */
  --neutral-500: #292624;
  /* Primary text */
  --neutral-400: #625D59;
  /* Secondary text */
  --neutral-300: #AAA5A0;
  /* Disabled borders & muted text */
  --neutral-200: #E5E1DC;
  /* Default borders & card edges */
  --neutral-100: #F7F5F2;
  /* Subtle neutral surface */
  --neutral-0: #FFFFFF;
  /* Pure white card surface */
  --canvas-bg: #FFFDF6;
  /* Warm default page canvas */
  --screen-canvas-bg: #FDF8E1;
  /* Warm mockup screen canvas */

  /* 8-Pixel Grid Spacing Scale */
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-36: 36px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-72: 72px;
  --space-80: 80px;
  --space-88: 88px;
  --space-96: 96px;

  /* Section Padding */
  --pad-top: var(--space-72);
  --pad-bottom: var(--space-72);
  /* Gap between a section header and its content */
  --header-gap: var(--space-48);

  /* Border Radii */
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;
  --radius-28: 28px;
  --radius-32: 32px;
  --radius-40: 40px;
  --radius-48: 48px;
  --radius-pill: 9999px;

  /* Typography Scale Tokens (Accessible rem scale respecting browser preferences) */
  --font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-size-12: 0.75rem;   /* 12px / 16px — Micro labels, metadata, chips, uppercase eyebrows */
  --font-size-14: 0.875rem;  /* 14px / 16px — Marquee card sub-items, caption text */
  --font-size-15: 0.9375rem; /* 15px / 16px — Supporting body copy */
  --font-size-16: 1rem;      /* 16px / 16px — Body text, nav links, buttons */
  --font-size-18: 1.125rem;  /* 18px / 16px — Supporting leads */
  --font-size-20: 1.25rem;   /* 20px / 16px — Subheadings, card titles, large labels */
  --font-size-24: 1.5rem;    /* 24px / 16px — Section subheaders, card titles */
  --font-size-28: 1.75rem;   /* 28px / 16px — Sub-display, mobile section headers */
  --font-size-32: 2rem;      /* 32px / 16px — Mobile hero title, display small */
  --font-size-36: 2.25rem;   /* 36px / 16px — Medium display */
  --font-size-40: 2.5rem;    /* 40px / 16px — Section headers desktop */
  --font-size-48: 3rem;      /* 48px / 16px — Hero title desktop */

  --lh-16: 1rem;
  --lh-20: 1.25rem;
  --lh-24: 1.5rem;
  --lh-28: 1.75rem;
  --lh-32: 2rem;
  --lh-36: 2.25rem;
  --lh-40: 2.5rem;
  --lh-48: 3rem;
  --lh-56: 3.5rem;
  --container-max: 1280px;
}

/* --------------------------------------------------------------------------
   2. CSS Reset, Base Elements & Accessibility
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  color: var(--neutral-500);
  background-color: var(--canvas-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background-color: var(--canvas-bg);
  color: var(--neutral-500);
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 500;
  line-height: 1.5;
}

p {
  text-wrap: pretty;
}

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

img {
  height: auto;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Accessible Focus Indicators (WCAG 2.1 AA) */
:focus-visible {
  outline: 3px solid var(--violet-base);
  outline-offset: 3px;
  border-radius: var(--radius-8);
}

.btn:focus-visible,
.store-btn:focus-visible {
  outline: 3px solid var(--violet-shadow);
  outline-offset: 4px;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: var(--space-16);
  z-index: 1000;
  padding: var(--space-12) var(--space-24);
  background: var(--neutral-500);
  color: var(--neutral-0);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: var(--font-size-16);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
  top: var(--space-16);
}

/* --------------------------------------------------------------------------
   3. Material Symbols Icon Utility
   -------------------------------------------------------------------------- */
.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: 500;
  font-size: var(--font-size-32);
  line-height: 1;
  font-style: normal;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  display: inline-block;
  color: var(--neutral-500);
  user-select: none;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Reusable Section Headers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-32);
  padding-right: var(--space-32);
}

.section {
  padding-top: var(--pad-top);
  padding-bottom: var(--pad-bottom);
  scroll-margin-top: calc(var(--space-72) + var(--space-16));
}

.section--hero {
  background: linear-gradient(180deg, var(--yellow-light) 0%, var(--canvas-bg) 100%);
  min-height: min(calc(82dvh - var(--space-72)), 820px);
  display: flex;
  align-items: center;
  padding-top: var(--space-16);
  padding-bottom: var(--space-24);
  box-sizing: border-box;
}


.section--cards-ribbon {
  overflow: hidden;
  position: relative;
}







/* Reusable Section Headers */
.section-header {
  margin-bottom: var(--header-gap);
  max-width: 660px;
}

.faq-header {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--header-gap);
}

.faq-header .h2 {
  margin-bottom: 0;
}

/* Split Section Header (Title Left, Description Right for Full-Width Balance) */
.section-split-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-48);
  margin-bottom: var(--header-gap);
  width: 100%;
}

.section-split-header__left {
  flex: 1 1 54%;
  max-width: 600px;
}

.section-split-header__left .h2 {
  margin-bottom: 0;
}

.section-split-header__right {
  flex: 1 1 46%;
  max-width: 500px;
  padding-top: var(--space-24);
}

.section-split-header__right .lead {
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Typography & Eyebrow Color Modifiers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-weight: 800;
  font-size: var(--font-size-12);
  line-height: var(--lh-16);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-shadow);
  margin-bottom: var(--space-12);
}

.eyebrow--orange {
  color: var(--orange-shadow);
}

.eyebrow--teal {
  color: var(--teal-shadow);
}

.h1 {
  font-size: clamp(2.25rem, 1.5rem + 2vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.625rem, 1.15rem + 1.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

.h3 {
  font-size: var(--font-size-24);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: var(--lh-32);
  text-wrap: balance;
}

.h4 {
  font-size: var(--font-size-20);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: var(--lh-28);
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: 500;
  line-height: var(--lh-28);
  color: var(--neutral-400);
  text-wrap: pretty;
}

.body-text {
  font-size: var(--font-size-16);
  font-weight: 500;
  line-height: var(--lh-24);
  color: var(--neutral-400);
}

.board-bento-title,
.who-card-title,
.why-pillar-title,
.walkthrough-item-title,
.walkthrough-title,
.why-editorial-title,
.faq-question-btn span:first-child {
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   6. Unified Theme Modifiers & Badges
   -------------------------------------------------------------------------- */
.theme--yellow {
  background-color: var(--yellow-light);
  color: var(--yellow-shadow);
  border-color: var(--yellow-base);
}

.theme--orange {
  background-color: var(--orange-light);
  color: var(--orange-shadow);
  border-color: var(--orange-base);
}

.theme--violet {
  background-color: var(--violet-light);
  color: var(--violet-shadow);
  border-color: var(--violet-base);
}

.theme--teal {
  background-color: var(--teal-light);
  color: var(--teal-shadow);
  border-color: var(--teal-base);
}

.theme--blue {
  background-color: var(--blue-light);
  color: var(--blue-shadow);
  border-color: var(--blue-base);
}

.theme--pink {
  background-color: var(--pink-light);
  color: var(--pink-shadow);
  border-color: var(--pink-base);
}

/* Category Badges for Visual Cards */
.card-cat-badge {
  font-size: var(--font-size-12);
  line-height: var(--lh-16);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-8);
  border-radius: var(--radius-8);
  display: inline-block;
  user-select: none;
}

.card-cat-badge--blue {
  background-color: var(--blue-light);
  color: var(--blue-shadow);
}

.card-cat-badge--yellow {
  background-color: var(--yellow-light);
  color: var(--yellow-shadow);
}

.card-cat-badge--orange {
  background-color: var(--orange-light);
  color: var(--orange-shadow);
}

.card-cat-badge--violet {
  background-color: var(--violet-light);
  color: var(--violet-shadow);
}

.card-cat-badge--teal {
  background-color: var(--teal-light);
  color: var(--teal-shadow);
}

.card-cat-badge--pink {
  background-color: var(--pink-light);
  color: var(--pink-shadow);
}

/* --------------------------------------------------------------------------
   7. Tactile 3D Buttons & Store Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  height: var(--space-56);
  padding: 0 var(--space-32);
  border-radius: var(--radius-pill);
  background-color: var(--yellow-base);
  color: var(--neutral-500);
  font-weight: 800;
  font-size: var(--font-size-16);
  line-height: var(--lh-24);
  text-decoration: none;
  box-shadow: 0 4px 0 var(--yellow-shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  user-select: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--yellow-shadow);
}

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--yellow-shadow);
}

.btn--sm {
  height: var(--space-48);
  padding: 0 var(--space-24);
  font-size: var(--font-size-16);
  line-height: var(--lh-24);
  box-shadow: 0 3px 0 var(--yellow-shadow);
}

.btn--sm:hover {
  transform: translateY(1px);
  box-shadow: 0 2px 0 var(--yellow-shadow);
}

.btn--sm:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--yellow-shadow);
}

/* Outline Button Variant (Lightweight & Unobtrusive) */
.btn--outline {
  background-color: transparent;
  color: var(--neutral-500);
  border: 2px solid var(--neutral-500);
  box-shadow: none;
  transition: color 0.12s ease, border-color 0.12s ease, background-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.btn--outline:hover,
.btn--sm.btn--outline:hover {
  background-color: var(--neutral-500);
  color: var(--neutral-0);
  border-color: var(--neutral-500);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(41, 38, 36, 0.1);
}

.btn--outline:active,
.btn--sm.btn--outline:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Tactile Black App Store / Play Store Button */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  height: 48px;
  padding: 0 var(--space-16) 0 var(--space-12);
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-12);
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  flex: none;
  box-sizing: border-box;
  user-select: none;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.store-btn:active {
  transform: translateY(1px);
  box-shadow: none;
}

.store-btn svg {
  width: 22px;
  height: 22px;
  flex: none;
  display: block;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
}

.store-btn small {
  display: block;
  font-size: var(--font-size-12);
  font-weight: 700;
  line-height: var(--lh-16);
  letter-spacing: 0.02em;
  color: #D1D5DB;
  white-space: nowrap;
}

.store-btn b {
  display: block;
  font-size: var(--font-size-15);
  font-weight: 800;
  line-height: var(--lh-20);
  letter-spacing: -0.01em;
  color: #FFFFFF;
  white-space: nowrap;
}

/* Pre-Launch Coming Soon Badges */
.store-btn--coming-soon {
  cursor: default;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  user-select: none;
}

.store-btn--coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.35);
}

.store-btn--coming-soon small {
  color: #FEE89D;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--font-size-12);
}

/* --------------------------------------------------------------------------
   8. Surface Cards Base
   -------------------------------------------------------------------------- */
.card {
  background: var(--neutral-0);
  border-radius: var(--radius-24);
  padding: var(--space-32);
  border: 2px solid var(--neutral-200);
  box-shadow: 0 4px 0 var(--neutral-200);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

/* --------------------------------------------------------------------------
   9. Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--yellow-light);
  border-bottom: 2px solid transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease, -webkit-backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.nav.scrolled {
  background-color: rgba(255, 253, 246, 0.94);
  border-bottom: 2px solid var(--neutral-200);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(41, 38, 36, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  height: var(--space-72);
}

.brand-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  flex: none;
}

.brand-logo {
  height: var(--space-48);
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-28);
  margin-left: auto;
  margin-right: var(--space-36);
}

.nav-link {
  color: var(--neutral-400);
  font-weight: 700;
  font-size: var(--font-size-16);
  line-height: var(--lh-24);
  text-decoration: none;
  padding: var(--space-8) var(--space-8);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--neutral-500);
}

.burger-btn {
  display: none;
  width: var(--space-48);
  height: var(--space-48);
  border-radius: var(--radius-16);
  border: 2px solid var(--neutral-200);
  background: var(--neutral-0);
  box-shadow: 0 3px 0 var(--neutral-200);
  cursor: pointer;
  place-items: center;
  padding: 0;
  color: var(--neutral-500);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.burger-btn:active {
  transform: translateY(3px);
  box-shadow: none;
}

.mobile-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--canvas-bg);
  border-bottom: 2px solid var(--neutral-200);
  box-shadow: 0 16px 32px rgba(41, 38, 36, 0.08);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.is-open {
  max-height: 520px;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  padding-bottom: var(--space-24);
}

.mobile-link {
  display: block;
  padding: var(--space-16) 0;
  font-weight: 800;
  font-size: var(--font-size-20);
  line-height: var(--lh-28);
  color: var(--neutral-500);
  text-decoration: none;
  border-bottom: 2px solid var(--neutral-100);
}

.mobile-nav .btn {
  width: 100%;
  margin-top: var(--space-24);
}

/* --------------------------------------------------------------------------
   10. Hero Section
   -------------------------------------------------------------------------- */
.hero-layout {
  display: flex;
  align-items: center;
  gap: var(--space-56);
}

.hero-content {
  flex: 1.2;
  min-width: 0;
  margin-top: calc(-1 * var(--space-24));
}

.hero-highlight {
  color: var(--yellow-shadow);
}

.text-nowrap {
  white-space: nowrap;
}

.text-violet {
  color: var(--violet-shadow);
  font-weight: 700;
}

.text-orange {
  color: var(--orange-shadow);
  font-weight: 700;
}

.text-teal {
  color: var(--teal-shadow);
  font-weight: 700;
}

.hero-subtitle {
  margin-top: var(--space-24);
  max-width: 608px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-16);
  margin-top: var(--space-32);
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-12);
  margin-top: var(--space-20);
  font-size: var(--font-size-12);
  line-height: var(--lh-16);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--neutral-400);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  white-space: nowrap;
}

.ms-trust-check {
  font-size: var(--font-size-16);
  line-height: 1;
  color: var(--success-base);
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 20;
  flex: none;
  vertical-align: middle;
}

.trust-bullet {
  color: var(--neutral-300);
  font-size: var(--font-size-12);
  user-select: none;
}

.hero-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* --------------------------------------------------------------------------
   11. Unified Hardware Phone Mockup Component
   Strict 8px Grid:
     - Outer Chassis: max 304px (38×8px), radius 32px (4×8px), border 2px, padding 6px
     - Bezel total: 8px (2px rim + 6px padding)
     - Inner Screen: radius 24px (3×8px, exactly 32px - 8px), aspect-ratio: 9 / 19.5
   -------------------------------------------------------------------------- */
.phone-mockup {
  width: 100%;
  max-width: 304px;
  padding: var(--space-6);
  border: 2px solid #2A2A2A;
  border-radius: var(--radius-32);
  background: #141414;
  box-sizing: border-box;
  position: relative;
  flex: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 48px -12px rgba(20, 20, 20, 0.24),
    0 8px 16px -4px rgba(20, 20, 20, 0.14);
}

.hero-visual .phone-mockup {
  width: clamp(232px, 30vh, 304px);
  max-width: 100%;
}

.phone-mockup--compact {
  max-width: 272px;
  margin: 0 auto;
}

.phone-mockup__screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: var(--radius-24);
  overflow: hidden;
  isolation: isolate;
  position: relative;
  background: var(--screen-canvas-bg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.phone-mockup__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* --------------------------------------------------------------------------
   12. Bento Grid Section (#boards)
   -------------------------------------------------------------------------- */
.boards-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  align-items: stretch;
}

.board-bento-card {
  background: var(--neutral-0);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 0 var(--neutral-200), 0 8px 16px -4px rgba(41, 38, 36, 0.05);
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.board-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 0 var(--neutral-200), 0 20px 32px -6px rgba(41, 38, 36, 0.12);
  z-index: 2;
}

.board-bento-card--orange:hover {
  border-color: var(--orange-base);
  box-shadow: 0 10px 0 var(--orange-base), 0 20px 32px -6px rgba(255, 155, 69, 0.22);
}

.board-bento-card--violet:hover {
  border-color: var(--violet-base);
  box-shadow: 0 10px 0 var(--violet-base), 0 20px 32px -6px rgba(183, 140, 255, 0.22);
}

.board-bento-card--teal:hover {
  border-color: var(--teal-base);
  box-shadow: 0 10px 0 var(--teal-base), 0 20px 32px -6px rgba(69, 204, 195, 0.22);
}

.board-bento-visual {
  position: relative;
  height: 352px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-16) var(--space-24) 0;
  border-bottom: 2px solid var(--neutral-200);
}

.board-bento-visual--orange {
  background: linear-gradient(180deg, var(--orange-light) 0%, rgba(255, 241, 227, 0.45) 100%);
}

.board-bento-visual--violet {
  background: linear-gradient(180deg, var(--violet-light) 0%, rgba(246, 240, 255, 0.45) 100%);
}

.board-bento-visual--teal {
  background: linear-gradient(180deg, var(--teal-light) 0%, rgba(232, 251, 249, 0.45) 100%);
}

.board-bento-canvas {
  width: 200px;
  border-radius: var(--radius-20) var(--radius-20) 0 0;
  background: var(--screen-canvas-bg);
  border: 2px solid rgba(41, 38, 36, 0.12);
  border-bottom: none;
  overflow: hidden;
  margin-top: var(--space-32);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.board-bento-card:hover .board-bento-canvas {
  transform: translateY(-4px);
}

.board-bento-img {
  width: 100%;
  height: auto;
  display: block;
}

.board-bento-body {
  padding: var(--space-24) var(--space-24) var(--space-32);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.board-bento-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.ic {
  width: var(--space-56);
  height: var(--space-56);
  border-radius: var(--radius-16);
  display: grid;
  place-items: center;
  flex: none;
}

.ic--board {
  width: var(--space-36);
  height: var(--space-36);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.board-bento-card--orange .ic--board {
  background-color: var(--orange-light);
  color: var(--orange-shadow);
}

.board-bento-card--violet .ic--board {
  background-color: var(--violet-light);
  color: var(--violet-shadow);
}

.board-bento-card--teal .ic--board {
  background-color: var(--teal-light);
  color: var(--teal-shadow);
}

.board-icon-svg {
  width: var(--space-20);
  height: var(--space-20);
  stroke: currentColor;
}

.board-bento-title-row .h3 {
  margin: 0;
  font-size: var(--font-size-20);
  font-weight: 800;
  line-height: var(--lh-28);
  letter-spacing: -0.01em;
}

.board-bento-desc {
  margin: 0;
  color: var(--neutral-400);
  font-size: var(--font-size-16);
  font-weight: 500;
  line-height: var(--lh-24);
}

/* --------------------------------------------------------------------------
   13. Visual Cards Ribbon Section (#cards)
   -------------------------------------------------------------------------- */
.cards-marquee-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

.cards-marquee-wrap+.cards-marquee-wrap {
  margin-top: var(--space-8);
}

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

.cards-marquee-group {
  display: flex;
  gap: var(--space-16);
  padding-right: var(--space-16);
  flex-shrink: 0;
}

.marquee-left {
  animation: marqueeScrollLeft 140s linear infinite;
}

.marquee-right {
  animation: marqueeScrollRight 205s linear infinite;
}

.cards-marquee-wrap:hover .cards-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeScrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.visual-card-item {
  width: 192px;
  height: 224px;
  background: var(--neutral-0);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-20);
  box-shadow: 0 0 0 var(--neutral-200), 0 0 0 rgba(41, 38, 36, 0);
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  flex: none;
  user-select: none;
  position: relative;
  z-index: 1;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease-out;
}

.visual-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 0 var(--neutral-200), 0 14px 24px -4px rgba(41, 38, 36, 0.09);
  z-index: 2;
}

.card-img-wrapper {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-100);
  margin: var(--space-4) 0;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease-out;
}

.visual-card-item:hover .card-img {
  transform: scale(1.06);
}

.card-item-title {
  font-size: var(--font-size-16);
  font-weight: 800;
  line-height: var(--lh-20);
  color: var(--neutral-500);
  margin-bottom: var(--space-4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}


/* --------------------------------------------------------------------------
   14. Why Visual Steps — Editorial Split Section (#why)
   -------------------------------------------------------------------------- */
.why-editorial-layout {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: var(--space-72);
  align-items: start;
}

.why-editorial-lead {
  position: sticky;
  top: calc(var(--space-72) + var(--space-32));
}

.why-editorial-subtitle {
  margin-top: var(--space-16);
  color: var(--neutral-400);
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: var(--lh-28);
  font-weight: 500;
  max-width: 460px;
}

.why-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-48) var(--space-40);
}

.why-pillar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.why-glyph {
  width: var(--space-48);
  height: var(--space-48);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--font-size-24);
  line-height: 1;
  flex: none;
  margin-bottom: var(--space-16);
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  border-width: 2px;
  border-style: solid;
}

.why-pillar:hover .why-glyph {
  transform: translateY(-2px);
}

.why-pillar-title {
  font-size: var(--font-size-20);
  line-height: var(--lh-28);
  font-weight: 800;
  color: var(--neutral-500);
  margin: 0 0 var(--space-8) 0;
  letter-spacing: -0.01em;
}

.why-pillar-desc {
  margin: 0;
  font-size: var(--font-size-16);
  line-height: var(--lh-24);
  font-weight: 500;
  color: var(--neutral-400);
}

/* --------------------------------------------------------------------------
   15. Unified Split Walkthrough Component (#how-it-works & #spaces)
   -------------------------------------------------------------------------- */
.walkthrough-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-72);
  align-items: center;
}

.walkthrough-layout--reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.walkthrough-layout--reverse .walkthrough-content {
  order: 2;
}

.walkthrough-layout--reverse .walkthrough-preview {
  order: 1;
}

.walkthrough-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.walkthrough-title {
  margin-bottom: var(--space-16);
}

.walkthrough-lead {
  color: var(--neutral-400);
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: var(--lh-28);
  font-weight: 500;
  margin: 0 0 var(--header-gap) 0;
  max-width: 520px;
}

.walkthrough-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.walkthrough-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-20);
}

.walkthrough-badge {
  width: var(--space-40);
  height: var(--space-40);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: var(--font-size-16);
  border-width: 2px;
  border-style: solid;
  flex: none;
  box-shadow: none;
  user-select: none;
}

.walkthrough-badge .ms {
  font-size: var(--font-size-20);
}

.walkthrough-text {
  flex: 1;
  padding-top: 1px;
}

.walkthrough-item-title {
  font-size: var(--font-size-20);
  line-height: var(--lh-28);
  font-weight: 800;
  color: var(--neutral-500);
  margin: 0 0 var(--space-6) 0;
  letter-spacing: -0.01em;
}

.walkthrough-item-desc {
  font-size: var(--font-size-16);
  line-height: var(--lh-24);
  font-weight: 500;
  color: var(--neutral-400);
  margin: 0;
  max-width: 480px;
}

.walkthrough-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section--spaces .walkthrough-lead {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   16. Who It's For Section (#who)
   -------------------------------------------------------------------------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
  align-items: stretch;
}

.who-card {
  background: var(--neutral-0);
  border-radius: var(--radius-24);
  border: 2px solid var(--neutral-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 0 var(--neutral-200);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 0 var(--neutral-200);
}

.who-card--yellow:hover {
  border-color: var(--yellow-shadow);
  box-shadow: 0 8px 0 var(--yellow-shadow);
}

.who-card--blue:hover {
  border-color: var(--blue-shadow);
  box-shadow: 0 8px 0 var(--blue-shadow);
}

.who-card--violet:hover {
  border-color: var(--violet-shadow);
  box-shadow: 0 8px 0 var(--violet-shadow);
}

.who-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--canvas-bg);
  border-bottom: 2px solid var(--neutral-200);
}

.who-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.who-card-body {
  padding: var(--space-24) var(--space-24) var(--space-32);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.who-card-title {
  font-size: var(--font-size-20);
  font-weight: 800;
  line-height: var(--lh-28);
  letter-spacing: -0.01em;
  color: var(--neutral-500);
  margin: 0 0 var(--space-12) 0;
}

.who-card p {
  color: var(--neutral-400);
  font-size: var(--font-size-16);
  font-weight: 500;
  line-height: var(--lh-24);
  margin: 0;
}

/* --------------------------------------------------------------------------
   17. FAQ Section (#faq)
   -------------------------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: var(--space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.faq-item {
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-20);
  background: var(--neutral-0);
  box-shadow: 0 4px 0 var(--neutral-200);
  overflow: hidden;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  border-color: var(--yellow-shadow);
  background-color: var(--yellow-light);
  box-shadow: none;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-20) var(--space-32);
  background: none;
  border: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-20);
  line-height: var(--lh-28);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  color: var(--neutral-500);
  transition: padding-bottom 0.2s ease;
}

.faq-question-btn:focus-visible {
  outline: 3px solid var(--violet-base);
  outline-offset: -3px;
  border-radius: var(--radius-16);
}

.faq-item.is-open .faq-question-btn {
  padding-bottom: var(--space-12);
}

.faq-question-btn .ms {
  font-size: var(--font-size-28);
  transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
  color: var(--neutral-500);
  flex: none;
}

.faq-item.is-open .faq-question-btn .ms {
  transform: rotate(180deg);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.3s ease;
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-content {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-text {
  margin: 0;
  padding: 0 var(--space-32) var(--space-24);
  color: var(--neutral-400);
  font-size: var(--font-size-16);
  font-weight: 500;
  line-height: var(--lh-24);
}

.faq-answer-text.has-list {
  padding-bottom: var(--space-12);
}

.faq-answer-list {
  margin: 0;
  padding: 0 var(--space-32) var(--space-24) calc(var(--space-32) + var(--space-16));
  list-style-type: disc;
  color: var(--neutral-400);
}

.faq-answer-list li {
  font-size: var(--font-size-16);
  line-height: var(--lh-24);
  margin-bottom: var(--space-8);
}

.faq-answer-list li:last-child {
  margin-bottom: 0;
}

.faq-answer-list strong {
  color: var(--neutral-500);
  font-weight: 700;
}

.faq-link {
  color: var(--yellow-shadow);
  text-decoration: underline;
  font-weight: 700;
}

.faq-link:hover {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   18. Download Banner (#download) & Footer
   -------------------------------------------------------------------------- */
.download-card {
  background-color: var(--yellow-base);
  border-radius: var(--radius-48);
  padding: clamp(var(--space-48), 7vw, var(--space-88)) var(--space-24);
  text-align: center;
  border: 4px solid var(--yellow-shadow);
}

.download-card .h2 {
  font-size: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  line-height: 1.2;
  text-wrap: balance;
}

.download-subtitle {
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem);
  line-height: var(--lh-28);
  margin-top: var(--space-16);
  font-weight: 500;
  color: var(--neutral-500);
}

.download-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-32);
}

.site-footer {
  border-top: 2px solid var(--neutral-200);
  padding-top: var(--space-56);
  padding-bottom: var(--space-40);
  background-color: var(--canvas-bg);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-40);
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  margin-top: var(--space-12);
  color: var(--neutral-400);
}

.footer-links-group {
  display: flex;
  align-items: center;
  gap: var(--space-32);
  flex-wrap: wrap;
  padding-top: var(--space-8);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-4) 0;
  font-weight: 700;
  font-size: var(--font-size-16);
  line-height: var(--lh-24);
  color: var(--neutral-500);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--violet-shadow);
}

.footer-link[aria-current="page"] {
  color: var(--neutral-500);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16) var(--space-24);
  justify-content: space-between;
  margin-top: var(--space-40);
  padding-top: var(--space-24);
  border-top: 2px solid var(--neutral-200);
  color: var(--neutral-400);
  font-size: var(--font-size-12);
  line-height: var(--lh-16);
}

/* --------------------------------------------------------------------------
   18c. My Images (inside #cards)
   -------------------------------------------------------------------------- */
.my-images-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-72);
  align-items: center;
  margin-top: var(--space-72);
}

.my-images-title {
  margin-bottom: var(--space-16);
}

.my-images-lead {
  max-width: 520px;
}

.my-images-lead--follow {
  margin-top: var(--space-16);
}

.my-images-preview {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-56) var(--space-24);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-24);
  background: linear-gradient(180deg, var(--teal-light) 0%, rgba(232, 251, 249, 0.45) 100%);
}

.sheet-mock {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 312px;
  padding: var(--space-24);
  background: var(--neutral-0);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-28);
  box-shadow: 0 4px 0 var(--neutral-200), 0 24px 48px -12px rgba(20, 20, 20, 0.16);
  user-select: none;
}

/* Saved "My Images" tiles peeking out behind the sheet */
.my-image-tile {
  position: absolute;
  width: 124px;
  padding: var(--space-8) var(--space-8) var(--space-12);
  background: var(--neutral-0);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-20);
  box-shadow: 0 4px 0 var(--neutral-200);
  text-align: center;
  user-select: none;
}

.my-image-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-12);
}

.my-image-tile span {
  display: block;
  margin-top: var(--space-8);
  font-size: var(--font-size-14);
  line-height: var(--lh-20);
  font-weight: 800;
  color: var(--neutral-500);
  white-space: nowrap;
}

.my-image-tile--back-left {
  left: 3%;
  top: 12%;
  transform: rotate(-7deg);
}

.my-image-tile--back-right {
  right: 3%;
  bottom: 10%;
  transform: rotate(6deg);
}

.sheet-mock__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-12);
}

.sheet-mock__title {
  font-size: var(--font-size-20);
  font-weight: 800;
  line-height: var(--lh-28);
  color: var(--neutral-500);
}

.sheet-mock__sub {
  font-size: var(--font-size-14);
  line-height: var(--lh-20);
  color: var(--neutral-400);
}

.sheet-mock__close {
  width: var(--space-36);
  height: var(--space-36);
  flex: none;
  display: grid;
  place-items: center;
  border: 2px solid var(--neutral-200);
  border-radius: 50%;
  color: var(--neutral-500);
}

.sheet-mock__close svg {
  width: var(--space-16);
  height: var(--space-16);
}

.sheet-mock__avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: var(--space-24) auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  border: 3px dashed var(--yellow-shadow);
  border-radius: 50%;
  background: var(--yellow-light);
  color: var(--neutral-400);
  font-size: var(--font-size-14);
  font-weight: 800;
}

.sheet-mock__avatar > svg {
  width: var(--space-32);
  height: var(--space-32);
}

.sheet-mock__avatar--filled {
  border: 3px solid var(--yellow-base);
  background: var(--neutral-0);
}

.sheet-mock__photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.sheet-mock__field--filled {
  background: var(--neutral-0);
  color: var(--neutral-500);
  font-weight: 800;
}

.sheet-mock__badge {
  position: absolute;
  right: 0;
  bottom: var(--space-4);
  width: var(--space-32);
  height: var(--space-32);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow-base);
  box-shadow: 0 3px 0 var(--yellow-shadow);
  color: var(--neutral-500);
}

.sheet-mock__badge svg {
  width: var(--space-16);
  height: var(--space-16);
}

.sheet-mock__field {
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0 var(--space-16);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-pill);
  background: var(--neutral-100);
  color: var(--neutral-400);
  font-size: var(--font-size-15);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}

.sheet-mock__btn {
  height: 52px;
  margin-top: var(--space-16);
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--yellow-base);
  box-shadow: 0 4px 0 var(--yellow-shadow);
  color: var(--neutral-500);
  font-size: var(--font-size-16);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   18d. Our Story (#story)
   -------------------------------------------------------------------------- */
.story-card {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-56);
  background: var(--neutral-0);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-32);
  box-shadow: 0 4px 0 var(--neutral-200);
}

.story-mark {
  width: var(--space-56);
  height: var(--space-56);
  margin-bottom: var(--space-24);
}

.story-title {
  margin-bottom: var(--space-16);
}

.story-body p {
  font-size: var(--font-size-18);
  line-height: 1.7;
  font-weight: 500;
  color: var(--neutral-500);
}

.story-body p + p {
  margin-top: var(--space-16);
}

.story-signoff {
  margin-top: var(--space-24);
  font-size: var(--font-size-16);
  font-weight: 800;
  color: var(--neutral-500);
}

@media (max-width: 960px) {
  .my-images-layout {
    grid-template-columns: 1fr;
    gap: var(--space-40);
    margin-top: var(--space-56);
  }
}

@media (max-width: 560px) {
  .my-images-preview {
    padding: var(--space-32) var(--space-16);
  }

  /* Too little room beside the sheet on phones: show the sheet alone */
  .my-image-tile {
    display: none;
  }

  .sheet-mock {
    padding: var(--space-20);
  }

  .story-card {
    padding: var(--space-32) var(--space-20);
    border-radius: var(--radius-24);
  }

  .story-body p {
    font-size: var(--font-size-16);
  }
}

/* --------------------------------------------------------------------------
   19. Scroll-Triggered Entrance Animations
   -------------------------------------------------------------------------- */
/* Only hidden when JS is running (html.js is set inline in <head>),
   so the page stays fully visible if script.js fails to load. */
.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   20. Consolidated Responsive Media Queries & Accessibility
   -------------------------------------------------------------------------- */
@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-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Tablet & Medium Breakpoint (<= 960px) */
@media (max-width: 960px) {
  .section-split-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-16);
  }

  .section-split-header__left,
  .section-split-header__right {
    max-width: 100%;
    flex: none;
    padding-top: 0;
  }

  .why-editorial-layout {
    grid-template-columns: 1fr;
    gap: var(--space-40);
  }

  .why-editorial-lead {
    position: static;
    max-width: 640px;
  }

  .walkthrough-layout {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }

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

  .walkthrough-layout--reverse .walkthrough-content {
    order: 1;
  }

  .walkthrough-layout--reverse .walkthrough-preview {
    order: 2;
  }

  .walkthrough-list {
    gap: var(--space-24);
  }

  .phone-mockup--compact {
    max-width: 256px;
  }

  .nav-links {
    gap: var(--space-16);
    margin-left: auto;
    margin-right: var(--space-20);
  }

  .nav-link {
    font-size: var(--font-size-15);
    padding: var(--space-8) var(--space-4);
  }
}

/* Mobile Navigation Breakpoint (<= 860px) */
@media (max-width: 860px) {
  :root {
    --pad-top: var(--space-56);
    --pad-bottom: var(--space-56);
    --header-gap: var(--space-40);
  }

  .nav-links,
  .nav-cta-btn {
    display: none;
  }

  .burger-btn {
    display: grid;
  }

  .mobile-nav {
    display: block;
  }

  .section--hero {
    min-height: auto;
    padding-top: var(--space-32);
    padding-bottom: var(--space-48);
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-layout {
    flex-direction: column !important;
    text-align: center;
  }

  .hero-visual .phone-mockup {
    width: 100%;
    max-width: 272px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  /* Three Board Types: Horizontal Snap-Scroll Carousel (Tablet & Mobile) */
  .boards-bento-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--space-32);
    -webkit-overflow-scrolling: touch;
    gap: var(--space-16);
    padding: var(--space-4) var(--space-32) var(--space-20);
    margin-left: calc(-1 * var(--space-32));
    margin-right: calc(-1 * var(--space-32));
    max-width: none;
    scrollbar-width: none;
  }

  .boards-bento-grid::-webkit-scrollbar {
    display: none;
  }

  .board-bento-card {
    flex: 0 0 320px;
    max-width: 84vw;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .board-bento-visual {
    height: 320px;
  }

  .board-bento-canvas {
    width: 200px;
    margin-top: var(--space-24);
  }

  .board-bento-body {
    padding: var(--space-20);
  }

  /* Who It's For: Horizontal Snap-Scroll Carousel (Tablet & Mobile) */
  .who-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--space-32);
    -webkit-overflow-scrolling: touch;
    gap: var(--space-16);
    padding: var(--space-4) var(--space-32) var(--space-20);
    margin-left: calc(-1 * var(--space-32));
    margin-right: calc(-1 * var(--space-32));
    scrollbar-width: none;
  }

  .who-grid::-webkit-scrollbar {
    display: none;
  }

  .who-card {
    flex: 0 0 320px;
    max-width: 84vw;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

/* Small Mobile Breakpoint (<= 560px) */
@media (max-width: 560px) {
  :root {
    --pad-top: var(--space-48);
    --pad-bottom: var(--space-48);
    --header-gap: var(--space-32);
  }

  .wrap {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }

  .navbar {
    height: var(--space-72);
  }

  .brand-logo {
    height: var(--space-40);
  }

  /* Mobile Store Buttons */
  .store-btn {
    height: 48px;
    padding: 0 var(--space-16) 0 var(--space-12);
    gap: var(--space-8);
    flex: 0 0 auto;
    box-sizing: border-box;
  }

  .store-btn svg {
    width: var(--space-20);
    height: var(--space-20);
  }

  .store-btn small {
    font-size: var(--font-size-12);
    line-height: var(--lh-16);
  }

  .store-btn b {
    font-size: var(--font-size-15);
    line-height: var(--lh-20);
  }

  .store-btn--coming-soon small {
    font-size: var(--font-size-12);
  }

  .hero-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-12);
  }

  .hero-cta .store-btn {
    min-width: 136px;
    justify-content: center;
  }

  /* Hero trust bar */
  .trust-bullet {
    display: none;
  }

  .hero-trust-bar {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: var(--space-8) var(--space-20);
    justify-content: center;
  }

  /* Bento boards on small mobile */
  .boards-bento-grid {
    scroll-padding-left: var(--space-16);
    padding: var(--space-4) var(--space-16) var(--space-16);
    margin-left: calc(-1 * var(--space-16));
    margin-right: calc(-1 * var(--space-16));
    gap: var(--space-12);
  }

  .board-bento-card {
    flex: 0 0 calc(100vw - 52px);
    max-width: 310px;
  }

  .board-bento-visual {
    height: 296px;
  }

  .board-bento-canvas {
    width: 184px;
    margin-top: var(--space-20);
  }

  .board-bento-body {
    padding: var(--space-16);
  }

  /* Who It's For on small mobile */
  .who-grid {
    scroll-padding-left: var(--space-16);
    padding: var(--space-4) var(--space-16) var(--space-16);
    margin-left: calc(-1 * var(--space-16));
    margin-right: calc(-1 * var(--space-16));
    gap: var(--space-12);
  }

  .who-card {
    flex: 0 0 calc(100vw - 52px);
    max-width: 310px;
  }

  /* How It Works tight mobile rhythm */
  .walkthrough-layout {
    gap: var(--space-36);
  }

  .walkthrough-list {
    gap: var(--space-16);
  }

  .walkthrough-item {
    gap: var(--space-16);
  }

  /* Pillars grid */
  .why-pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-28);
  }

  .card {
    padding: var(--space-24);
  }

  .who-card-body {
    padding: var(--space-20);
  }

  .who-card-title {
    font-size: var(--font-size-20);
    line-height: var(--lh-28);
  }

  /* FAQ Accordion on Mobile */
  .faq-list {
    gap: var(--space-12);
  }

  .faq-question-btn {
    padding: var(--space-16) var(--space-20);
    font-size: var(--font-size-18);
    line-height: var(--lh-24);
  }

  .faq-item.is-open .faq-question-btn {
    padding-bottom: var(--space-8);
  }

  .faq-question-btn .ms {
    font-size: var(--font-size-24);
  }

  .faq-answer-text {
    padding: 0 var(--space-20) var(--space-16);
    font-size: var(--font-size-16);
    line-height: var(--lh-24);
  }

  .faq-answer-text.has-list {
    padding-bottom: var(--space-8);
  }

  .faq-answer-list {
    padding: 0 var(--space-20) var(--space-16) calc(var(--space-20) + var(--space-16));
    font-size: var(--font-size-16);
    line-height: var(--lh-24);
  }

  .faq-answer-list li {
    font-size: var(--font-size-16);
    line-height: var(--lh-24);
    margin-bottom: var(--space-8);
  }

  /* Download Banner (#download) on Mobile */
  .download-card {
    padding: var(--space-48) var(--space-20);
    border-radius: var(--radius-32);
    border: 3px solid var(--yellow-shadow);
    box-shadow: 0 6px 0 var(--yellow-shadow);
  }

  .download-card .h2 {
    font-size: var(--font-size-28);
    line-height: var(--lh-32);
    letter-spacing: -0.015em;
  }

  .download-subtitle {
    font-size: var(--font-size-16);
    line-height: var(--lh-24);
    margin-top: var(--space-12);
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .download-cta-row {
    margin-top: var(--space-28);
    gap: var(--space-12);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .download-cta-row .store-btn {
    min-width: 136px;
    justify-content: center;
  }

  /* Footer on Mobile */
  .site-footer {
    padding-top: var(--space-40);
    padding-bottom: var(--space-32);
  }

  .footer-row {
    flex-direction: column;
    gap: var(--space-24);
  }

  .footer-links-group {
    padding-top: 0;
    gap: var(--space-12) var(--space-24);
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    text-align: center;
    margin-top: var(--space-32);
    padding-top: var(--space-20);
    border-top: 2px solid var(--neutral-200);
  }

  /* Legal Page on Mobile */
  .legal-simple-page {
    padding-top: var(--space-24);
    padding-bottom: var(--space-48);
  }

  .legal-paper {
    padding: var(--space-28) var(--space-20);
    border-radius: var(--radius-20);
  }

  .legal-short-version {
    padding: var(--space-16) var(--space-16);
    margin-top: var(--space-16);
  }

  .legal-short-version p {
    font-size: var(--font-size-16);
    line-height: var(--lh-24);
  }

  .legal-doc-title {
    font-size: var(--font-size-28);
  }

  .legal-doc-divider {
    margin: var(--space-24) 0;
  }
}

/* Narrow Mobile Screens (<= 360px) */
@media (max-width: 360px) {

  .hero-cta .store-btn,
  .download-cta-row .store-btn {
    width: 100%;
    max-width: 220px;
    justify-content: center;
  }

  .download-card .h2 {
    font-size: var(--font-size-24);
    line-height: var(--lh-28);
  }
}

/* ==========================================================================
   8. Legal & Privacy Policy Page Styles (Simple & Clean Reader)
   ========================================================================== */
.legal-simple-page {
  padding-top: var(--space-48);
  padding-bottom: var(--space-80);
  background-color: var(--canvas-bg);
  min-height: calc(100vh - var(--space-72) - 200px);
}

.legal-simple-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.legal-paper {
  background: var(--neutral-0);
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius-28);
  padding: var(--space-48) var(--space-56);
}

.legal-doc-title {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--neutral-500);
  margin-bottom: var(--space-20);
  text-wrap: balance;
}

.legal-doc-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  font-size: var(--font-size-14);
  line-height: var(--lh-20);
  color: var(--neutral-400);
}

.legal-doc-meta strong {
  color: var(--neutral-500);
  font-weight: 700;
}

.legal-short-version {
  background-color: var(--yellow-light);
  border: 2px solid var(--yellow-base);
  border-radius: var(--radius-16);
  padding: var(--space-20) var(--space-24);
  margin-top: var(--space-24);
}

.legal-short-version p {
  font-size: var(--font-size-18);
  line-height: var(--lh-28);
  font-weight: 600;
  color: var(--neutral-500);
  margin: 0;
}

.legal-short-version strong {
  font-weight: 800;
  color: var(--neutral-500);
}

.legal-doc-divider {
  border: none;
  border-top: 2px solid var(--neutral-200);
  margin: var(--space-32) 0;
}

.legal-doc-section h2 {
  font-size: var(--font-size-24);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: var(--lh-32);
  color: var(--neutral-500);
  margin-bottom: var(--space-16);
  text-wrap: balance;
}

.legal-doc-section h3 {
  font-size: var(--font-size-20);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: var(--lh-28);
  color: var(--neutral-500);
  margin-top: var(--space-24);
  margin-bottom: var(--space-12);
  text-wrap: balance;
}

.legal-doc-section p {
  font-size: var(--font-size-16);
  font-weight: 500;
  line-height: var(--lh-24);
  color: var(--neutral-500);
  margin-bottom: var(--space-16);
  text-wrap: pretty;
}

.legal-doc-section p strong {
  font-weight: 700;
  color: var(--neutral-500);
}

.legal-doc-section ul {
  list-style: disc;
  padding-left: var(--space-24);
  margin-bottom: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.legal-doc-section ul li {
  font-size: var(--font-size-16);
  font-weight: 500;
  line-height: var(--lh-24);
  color: var(--neutral-500);
}

.legal-doc-section ul li strong {
  font-weight: 700;
  color: var(--neutral-500);
}

.legal-doc-section a {
  color: var(--yellow-shadow);
  text-decoration: underline;
  font-weight: 700;
}

.legal-doc-section a:hover {
  opacity: 0.8;
}

.legal-doc-section code {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-8);
  font-size: var(--font-size-14);
  font-family: inherit;
  font-weight: 700;
  color: var(--neutral-500);
}

/* --------------------------------------------------------------------------
   Touch Device Carousel & Interaction Optimization
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .board-bento-card:hover,
  .who-card:hover {
    transform: none;
    box-shadow: 0 4px 0 var(--neutral-200);
  }

  .board-bento-card:hover .board-bento-canvas {
    transform: none;
  }
}
