/* BuddhaBattles Website: Celestial Starry Obsidian & Luminous Sterling Silver Design System */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Lora:ital,wght@0,500;0,600;1,500&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Core Surfaces — Pure Jet Black & Translucent Obsidian */
  --bg: #030406;
  --bg-soft: rgba(9, 11, 16, 0.84);
  --surface: rgba(11, 13, 19, 0.82);
  --surface-solid: #0C0E14;
  --surface-elevated: rgba(20, 24, 33, 0.9);
  --surface-tint: rgba(6, 8, 12, 0.76);

  /* Silver Hairline & Specular Rim Borders (Matching image.png & landing.png) */
  --border: rgba(226, 234, 245, 0.14);
  --border-strong: rgba(235, 242, 252, 0.3);
  --border-bright: rgba(255, 255, 255, 0.56);

  /* Brand Accents — 100% Pure Sterling Silver & Moonlight White (Zero Orange) */
  --primary: #E8EEF6;
  --primary-light: #FFFFFF;
  --primary-dark: #C8D2E0;
  --primary-soft: rgba(232, 238, 246, 0.1);
  --primary-glow: rgba(232, 238, 246, 0.24);

  --silver: #EBF0F7;
  --silver-muted: #B8C2D1;
  --silver-soft: rgba(235, 240, 247, 0.08);

  /* Subtle Monochrome / Cool Semantic Tones */
  --sage-soft: rgba(226, 234, 245, 0.12);
  --sage-text: #E8EEF6;
  --amber-soft: rgba(206, 215, 228, 0.11);
  --amber-text: #D5DFEC;
  --blush-soft: rgba(226, 234, 245, 0.09);
  --blush-text: #D0DAE8;

  /* Typography */
  --text: #F7F9FC;
  --text-secondary: #A6B0C0;
  --text-muted: #707A8C;

  --font-display: 'Cinzel', 'Lora', Georgia, serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.52);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.68);
  --shadow-lg: 0 28px 78px rgba(0, 0, 0, 0.85);
  --silver-halo: 0 0 26px rgba(235, 242, 255, 0.12);
  --rim-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.16);

  --container: 1120px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: #030406;
  background-image:
    linear-gradient(180deg, rgba(3, 4, 6, 0.14) 0%, rgba(3, 4, 6, 0.34) 48%, rgba(3, 4, 6, 0.72) 100%),
    url('/assets/images/cosmic-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
}

/* Extra Fine Twinkling Starlight Dust Across Full Page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 28% 36%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 46% 12%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 67% 44%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.4px 1.4px at 84% 26%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 91% 62%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.3px 1.3px at 19% 78%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 54% 84%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.4px 1.4px at 76% 89%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 7% 52%, rgba(255, 255, 255, 0.55), transparent);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(232, 238, 246, 0.28);
  color: #FFFFFF;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 780px;
}

/* =========================================================
   Header & Navigation (Obsidian Glass + Silver Rim)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 4, 6, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
  transition: opacity 0.18s ease;
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-link img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 4px 14px rgba(0, 0, 0, 0.55);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s ease, text-shadow 0.18s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}

.chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-item:hover .chevron,
.nav-item.open .chevron {
  transform: rotate(180deg);
}

/* Submenu & Mega-Menu (Ready for Future Blog Pillars) */
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  min-width: 260px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  list-style: none;
  margin: 0;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.submenu a:hover {
  background: var(--surface-elevated);
}

.submenu-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.submenu-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-item.has-mega {
  position: static;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  width: min(920px, calc(100vw - 48px));
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px 24px 16px;
  box-shadow: var(--shadow-lg), var(--rim-highlight);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 120;
}

.mega-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item.has-mega:hover .mega-menu,
.nav-item.has-mega:focus-within .mega-menu,
.nav-item.has-mega.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  padding: 0 8px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease;
}

.mega-heading:hover {
  color: var(--primary-light);
}

.mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-links a {
  display: block;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.mega-links a:hover {
  background: var(--surface-elevated);
}

.mega-link-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.mega-link-sub {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

.mega-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.mega-footer a {
  font-weight: 600;
  color: var(--silver);
}

.mega-footer a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.mobile-pillar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
  padding: 12px 0 4px;
}

/* =========================================================
   Buttons — Brushed Sterling Silver & Glowing Silver Rim
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, #FFFFFF 0%, #D7DFE9 100%);
  color: #050608;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 26px rgba(235, 242, 255, 0.2), inset 0 1px 0 #FFFFFF;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #E7EDF5 100%);
  box-shadow: 0 10px 32px rgba(235, 242, 255, 0.34), inset 0 1px 0 #FFFFFF;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(8, 10, 15, 0.84);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 18px rgba(235, 242, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(18, 22, 31, 0.94);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 24px rgba(235, 242, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 15.5px;
}

/* =========================================================
   App Store & Google Play Badges + Coming Soon Overlay
   ========================================================= */
.store-badges {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(11, 13, 19, 0.92);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  padding: 8px 15px;
  min-height: 46px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.16s ease, background 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.store-badge:hover {
  background: rgba(20, 24, 34, 0.98);
  transform: translateY(-2px);
}

.store-badge:active {
  transform: scale(0.98);
}

.store-badge-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.store-badge-kicker {
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

.store-badge-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.store-badges-sm {
  gap: 8px;
  flex-wrap: wrap;
}

.store-badge-sm {
  padding: 6px 12px;
  min-height: 38px;
  border-radius: 9px;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.store-badge-sm .store-badge-icon {
  width: 16px;
  height: 16px;
}

.store-badge-sm .store-badge-kicker {
  font-size: 8.5px;
}

.store-badge-sm .store-badge-title {
  font-size: 12.5px;
  margin-top: 1px;
}

.store-badges.is-coming-soon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-badges.is-coming-soon .store-badge {
  opacity: 0.54;
  filter: grayscale(1) brightness(0.95);
  pointer-events: none;
  user-select: none;
}

.coming-soon-cover {
  position: absolute;
  inset: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(3, 4, 6, 0.28);
  backdrop-filter: blur(1.8px);
  -webkit-backdrop-filter: blur(1.8px);
  text-decoration: none;
  transition: background 0.18s ease;
}

.coming-soon-cover:hover {
  background: rgba(3, 4, 6, 0.16);
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 10, 15, 0.94);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-pill);
  padding: 7px 17px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(235, 242, 255, 0.16), var(--rim-highlight);
  transition: transform 0.16s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.coming-soon-cover:hover .coming-soon-pill {
  transform: translateY(-1px);
  background: #FFFFFF;
  color: #050608;
  border-color: #FFFFFF;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.34);
}

.store-badges-sm.is-coming-soon .coming-soon-cover {
  border-radius: 11px;
}

.store-badges-sm.is-coming-soon .coming-soon-pill {
  padding: 5px 12px;
  font-size: 10.5px;
}

/* =========================================================
   Launch Waitlist Email Capture
   ========================================================= */
.waitlist-card {
  margin-top: 22px;
  max-width: 470px;
  background: linear-gradient(160deg, rgba(16, 19, 27, 0.84), rgba(7, 9, 13, 0.9));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm), var(--silver-halo), var(--rim-highlight);
  scroll-margin-top: 96px;
}

.waitlist-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.waitlist-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.waitlist-input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(3, 4, 6, 0.78);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-input:focus {
  border-color: var(--border-bright);
  background: rgba(6, 8, 12, 0.95);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.waitlist-submit {
  height: 44px;
  padding: 0 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.waitlist-submit:disabled {
  opacity: 0.72;
  cursor: default;
  transform: none;
}

.waitlist-note {
  margin: 9px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.waitlist-status {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  padding: 9px 13px;
  border-radius: 12px;
  display: none;
}

.waitlist-status.is-visible {
  display: block;
}

.waitlist-status.is-success {
  background: rgba(232, 238, 246, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.waitlist-status.is-error {
  background: rgba(232, 238, 246, 0.08);
  color: #D5DFEC;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.waitlist-status a {
  text-decoration: underline;
  font-weight: 700;
}

.waitlist-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cta-banner .waitlist-inline {
  max-width: 460px;
  margin: 22px auto 0;
  text-align: left;
}

.cta-banner .waitlist-label {
  text-align: center;
  color: var(--text);
  margin-bottom: 10px;
}

.cta-banner .waitlist-note {
  text-align: center;
}

.cta-banner .waitlist-status {
  text-align: center;
}

.waitlist-section {
  padding: 0 0 72px;
}

.waitlist-section .cta-banner {
  margin-top: 0;
}

/* Mobile Navigation */
.mobile-toggle {
  display: none;
  background: rgba(11, 13, 19, 0.86);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.mobile-drawer {
  display: none;
  background: rgba(7, 9, 13, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 11px 0;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer .mobile-sub {
  padding-left: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* =========================================================
   Hero Section (Starry Silver Sky + Crescent Moon + Dual Phones)
   ========================================================= */
.hero {
  position: relative;
  padding: 56px 0 84px;
  background:
    radial-gradient(circle at 72% 42%, rgba(235, 242, 255, 0.09) 0%, transparent 48%),
    linear-gradient(180deg, rgba(3, 4, 6, 0.05) 0%, rgba(3, 4, 6, 0.42) 100%);
  overflow: hidden;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
}

.hero-copy {
  text-align: left;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 4.3vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 530px;
  margin: 0 0 18px;
  font-weight: 600;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
}

.hero h1 .accent {
  color: #DCE4F0;
  text-shadow: 0 0 28px rgba(235, 242, 255, 0.34);
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-secondary);
  max-width: 475px;
  margin: 0 0 28px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   Dual Vertical iPhone Showcase
   ========================================================= */
.phone-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
}

/* Subtle Celestial Silver Halo Ring Behind Phones */
.phone-showcase::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 70px rgba(235, 242, 255, 0.12), inset 0 0 55px rgba(235, 242, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

.iphone-frame {
  position: relative;
  z-index: 1;
  width: 248px;
  background: linear-gradient(155deg, #323846 0%, #14171F 45%, #090B10 100%);
  border-radius: 42px;
  padding: 8px;
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 28px rgba(235, 242, 255, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.32);
  text-align: left;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iphone-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 36px 82px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.38),
    0 0 36px rgba(235, 242, 255, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.42);
}

.iphone-frame.offset {
  transform: translateY(22px);
}

.iphone-frame.offset:hover {
  transform: translateY(18px);
}

.iphone-screen {
  background: #030406;
  border-radius: 34px;
  height: 518px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.iphone-screen img.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.iphone-screen.battle-screen img.app-screenshot {
  object-position: center top;
}

.dynamic-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: #030406;
  border-radius: 14px;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-caption-pill {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(3, 4, 6, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 249, 252, 0.9);
  white-space: nowrap;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.iphone-frame:hover .phone-caption-pill {
  opacity: 1;
}

/* =========================================================
   Sections
   ========================================================= */
.section {
  padding: 88px 0;
  position: relative;
}

.section-tinted {
  background:
    radial-gradient(ellipse 65% 45% at 50% 0%, rgba(235, 242, 255, 0.05) 0%, transparent 70%),
    rgba(5, 7, 11, 0.64);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 52px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-muted);
  margin-bottom: 10px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 14px;
  text-shadow: 0 0 24px rgba(235, 242, 255, 0.08);
}

.section-header p {
  font-size: 16.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* =========================================================
   3-Step How It Works
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: linear-gradient(165deg, rgba(16, 19, 27, 0.84) 0%, rgba(7, 9, 13, 0.92) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm), var(--silver-halo), var(--rim-highlight);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md), 0 0 32px rgba(235, 242, 255, 0.14), var(--rim-highlight);
}

.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: rgba(235, 242, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(235, 242, 255, 0.12);
}

.step-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
}

.step-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.step-preview {
  margin-top: auto;
  background: rgba(3, 4, 6, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.preset-row-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.preset-chip-demo {
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 99px;
  background: rgba(16, 19, 27, 0.9);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.preset-chip-demo.active {
  background: linear-gradient(180deg, #FFFFFF 0%, #D7DFE9 100%);
  border-color: #FFFFFF;
  color: #050608;
  font-weight: 700;
}

.notif-banner {
  background: linear-gradient(155deg, rgba(19, 23, 32, 0.94), rgba(9, 11, 16, 0.96));
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 13px;
  box-shadow: var(--shadow-sm);
}

.notif-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--silver);
  margin-bottom: 5px;
}

.notif-body {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.battle-pill-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text);
  background: linear-gradient(180deg, rgba(22, 26, 36, 0.94), rgba(7, 9, 13, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 0 24px rgba(235, 242, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.pass-progress-mini {
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--text-secondary);
}

.pass-bar-mini {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pass-bar-mini span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #B8C4D4, #FFFFFF);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

/* =========================================================
   Interactive Meditation Battle Preview (Play a Preview / Try a Battle)
   ========================================================= */
.demo-box {
  max-width: 740px;
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 0%, rgba(235, 242, 255, 0.08) 0%, transparent 56%),
    linear-gradient(160deg, rgba(15, 18, 26, 0.88) 0%, rgba(6, 8, 12, 0.94) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--silver-halo), var(--rim-highlight);
}

.demo-tabs {
  display: inline-flex;
  background: rgba(3, 4, 6, 0.84);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  margin-bottom: 24px;
}

.demo-tab {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s ease;
}

.demo-tab:hover {
  color: var(--text);
}

.demo-tab.active {
  background: linear-gradient(180deg, #FFFFFF 0%, #D7DFE9 100%);
  color: #050608;
  font-weight: 700;
}

.demo-meta-row {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-muted);
}

.demo-timer {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  line-height: 1.1;
  margin: 0 0 14px;
  text-shadow: 0 0 26px rgba(235, 242, 255, 0.32);
  font-variant-numeric: tabular-nums;
}

.demo-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.48;
  color: var(--text);
  margin: 0 auto 14px;
  max-width: 560px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-cue {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 0 auto 24px;
  max-width: 520px;
}

.demo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-feedback {
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--silver);
  min-height: 22px;
}

/* =========================================================
   Core Features Grid (4-Card Clean Grid with Silver Iconography)
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  background: linear-gradient(165deg, rgba(15, 18, 26, 0.84) 0%, rgba(7, 9, 13, 0.92) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm), var(--silver-halo), var(--rim-highlight);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md), 0 0 30px rgba(235, 242, 255, 0.14), var(--rim-highlight);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 242, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #F4F7FC;
  margin-bottom: 16px;
  box-shadow: 0 0 18px rgba(235, 242, 255, 0.1);
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
  margin: 0 0 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}

/* =========================================================
   Blog Cards & Empty State (Ready for Future Content)
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  background: linear-gradient(165deg, rgba(15, 18, 26, 0.86) 0%, rgba(7, 9, 13, 0.94) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm), var(--rim-highlight);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--silver-halo);
  border-color: var(--border-bright);
}

.tag-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  background: var(--primary-soft);
  color: var(--silver);
  border: 1px solid var(--border-strong);
}

.tag-badge.sage,
.tag-badge.amber,
.tag-badge.blush {
  background: rgba(232, 238, 246, 0.1);
  color: var(--silver);
  border-color: rgba(255, 255, 255, 0.24);
}

.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 10px;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 18px;
  flex: 1;
}

.blog-meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--silver);
}

/* Clean Editorial Empty State */
.blog-empty-state {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(15, 18, 26, 0.86), rgba(6, 8, 12, 0.94));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm), var(--silver-halo), var(--rim-highlight);
}

.blog-empty-emblem {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  object-fit: cover;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.26), 0 10px 28px rgba(0, 0, 0, 0.6);
}

.blog-empty-state h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text);
  margin: 0 0 10px;
}

.blog-empty-state p {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.blog-empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(10, 12, 18, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--border-strong);
  box-shadow: var(--silver-halo);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-plus {
  font-size: 20px;
  color: var(--silver);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.68;
}

.faq-item.open .faq-answer {
  display: block;
}

/* =========================================================
   Article, Support & Legal Page Layouts
   ========================================================= */
.page-hero {
  padding: 58px 0 38px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 65% 80% at 50% 0%, rgba(235, 242, 255, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(10, 12, 18, 0.55) 0%, rgba(3, 4, 6, 0.2) 100%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumbs a:hover {
  color: var(--primary-light);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 44px;
  padding: 48px 0 88px;
  align-items: start;
}

.toc-sidebar {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.toc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver);
  margin: 0 0 12px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
  padding: 3px 0;
}

.toc-list a:hover {
  color: var(--primary-light);
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--text);
  margin: 40px 0 14px;
  line-height: 1.28;
  scroll-margin-top: 96px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--silver);
  margin: 26px 0 10px;
}

.prose p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.prose ul, .prose ol {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.prose strong {
  color: var(--text);
}

.prose a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  opacity: 0.85;
}

.callout-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--silver);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.callout-box p:last-child {
  margin-bottom: 0;
}

.cta-banner {
  background:
    radial-gradient(circle at 50% 0%, rgba(235, 242, 255, 0.1) 0%, transparent 62%),
    linear-gradient(155deg, rgba(16, 19, 27, 0.9) 0%, rgba(6, 8, 12, 0.95) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  margin-top: 44px;
  box-shadow: var(--shadow-md), var(--silver-halo), var(--rim-highlight);
}

.cta-banner h2,
.cta-banner h3 {
  font-family: var(--font-serif);
  color: var(--text);
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.cta-banner p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
}

/* Blog Filter Pills (Ready for Future Posts) */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #050608;
}

/* =========================================================
   Footer (Exact 4-Column Gratefuller Layout)
   ========================================================= */
.site-footer {
  background: rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14.5px;
  max-width: 280px;
  margin: 12px 0 20px;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================================
   Editorial SEO Components (Pre-Built for Future Blog Posts)
   ========================================================= */
.direct-answer-box {
  background: linear-gradient(155deg, rgba(16, 19, 27, 0.9), rgba(7, 9, 13, 0.94));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 0 0 32px;
  box-shadow: var(--shadow-sm);
}

.direct-answer-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}

.direct-answer-box p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.68;
}

.mid-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 32px 0;
}

.mid-cta-card h3 {
  margin: 0 0 6px !important;
  font-size: 18px !important;
  color: var(--text) !important;
}

.mid-cta-card p {
  margin: 0 !important;
  font-size: 14.5px !important;
  color: var(--text-secondary);
}

.mid-cta-card .btn {
  flex-shrink: 0;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}

.comparison-table th,
.comparison-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}

.comparison-table th {
  background: var(--surface-elevated);
  color: var(--text);
  font-weight: 700;
  font-size: 13.5px;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight-col {
  background: rgba(235, 242, 255, 0.06);
}

.comparison-table th.highlight-col {
  background: rgba(235, 242, 255, 0.12);
  color: #FFFFFF;
}

.related-silo {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related-silo h2 {
  margin-top: 0 !important;
  font-size: 22px !important;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.related-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-sm);
}

.related-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}

.related-card span {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 1060px) {
  .hero-grid {
    gap: 28px;
  }

  .phone-showcase {
    gap: 14px;
  }

  .iphone-frame {
    width: 204px;
    border-radius: 36px;
    padding: 7px;
  }

  .iphone-screen {
    height: 432px;
    border-radius: 29px;
  }

  .dynamic-island {
    width: 60px;
    height: 16px;
  }
}

@media (max-width: 980px) {
  .steps-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .mid-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 840px) {
  .hero {
    padding: 32px 0 54px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 3.8vw, 2.45rem);
  }

  .hero-sub {
    font-size: 0.96rem;
    margin-bottom: 22px;
  }

  .iphone-frame {
    width: 184px;
    border-radius: 31px;
    padding: 6px;
  }

  .iphone-frame.offset {
    transform: translateY(14px);
  }

  .iphone-screen {
    height: 396px;
    border-radius: 25px;
  }

  .dynamic-island {
    width: 52px;
    height: 14px;
    top: 7px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .demo-box {
    padding: 28px 20px;
  }

  .cta-banner {
    padding: 32px 22px;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .waitlist-card {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .waitlist-input {
    flex: none;
    width: 100%;
    height: 46px;
  }

  .waitlist-submit {
    width: 100%;
    height: 46px;
  }

  .phone-showcase {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .iphone-frame {
    width: min(44vw, 198px);
  }

  .iphone-screen {
    height: min(92vw, 412px);
  }

  .iphone-frame.offset {
    transform: translateY(12px);
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc-sidebar,
  .mid-cta-card,
  .cta-banner,
  .waitlist-card,
  .waitlist-section,
  .related-silo,
  .breadcrumbs,
  .no-print {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #111111;
    font-size: 12pt;
  }

  body::before,
  body::after {
    display: none !important;
  }

  .article-layout {
    display: block;
    padding: 0;
  }
}
