/* ==========================================================================
   Conduit Bending – Styles
   Static site CSS: design tokens, clean cards, components, responsive.
   Light theme with electric blue accent. Inter typeface throughout.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Skip Link (Accessibility)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --color-accent: #3b82f6;
  --color-accent-light: #2563eb;
  --color-accent-bg: rgba(59, 130, 246, 0.12);
  --color-accent-glow: rgba(59, 130, 246, 0.25);
  --color-link: #2563eb;
  --color-star: #f59e0b;

  /* Text */
  --text-primary: #111827;
  --text-body: #374151;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-faint: #d1d5db;

  /* Surfaces */
  --surface-dark: #ffffff;
  --surface-card: #ffffff;
  --surface-nav: rgba(255, 255, 255, 0.75);
  --surface-overlay: rgba(255, 255, 255, 0.98);
  --surface-dropdown: rgba(255, 255, 255, 0.96);

  /* Borders */
  --border-card: #e5e7eb;
  --border-strong: rgba(0, 0, 0, 0.15);
  --border-default: rgba(0, 0, 0, 0.1);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-faint: rgba(0, 0, 0, 0.04);

  /* Backgrounds */
  --bg-hover: rgba(0, 0, 0, 0.05);
  --bg-hover-strong: rgba(0, 0, 0, 0.08);
  --bg-subtle: rgba(0, 0, 0, 0.03);
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-faint: rgba(0, 0, 0, 0.015);
  --bg-image: rgba(0, 0, 0, 0.03);

  /* Liquid Glass */
  --lg-bg-color: rgba(255, 255, 255, 0.25);
  --lg-highlight: rgba(255, 255, 255, 0.75);
  --lg-highlight-strong: rgba(255, 255, 255, 0.9);

  /* Layout */
  --max-width: 1200px;
  --section-padding: 80px;
  --card-radius: 24px;
  --pill-radius: 365px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--surface-dark);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--text-body);
  background: var(--surface-dark);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: hidden;
}

::selection {
  background: var(--color-accent-bg);
  color: var(--color-accent-light);
}
::-moz-selection {
  background: var(--color-accent-bg);
  color: var(--color-accent-light);
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Layout Containers
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
}

.section {
  padding: var(--section-padding) 0;
}

/* --------------------------------------------------------------------------
   Liquid Glass System
   3-layer glass: filter (backdrop-blur + SVG lens) + overlay (tint) +
   specular (edge highlight). Content sits on top at z-index 3.
   -------------------------------------------------------------------------- */
.glass-container {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.07), 0 0 20px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.glass-container--rounded {
  border-radius: 3rem;
}

.glass-filter,
.glass-overlay,
.glass-specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.glass-filter {
  z-index: 0;
  backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  /* saturate + brightness handled by backdrop-filter */
}

.glass-overlay {
  z-index: 1;
  background: var(--lg-bg-color);
}

.glass-specular {
  z-index: 2;
  box-shadow:
    inset 1px 1px 0 var(--lg-highlight),
    inset 0 0 5px var(--lg-highlight);
}

.glass-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Navigation (Fixed Pill Nav)
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 900px;
  border-radius: var(--pill-radius);
  border: 1px solid transparent;
  background: transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease,
              backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease,
              box-shadow 0.4s ease;
}

.site-nav.scrolled {
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.06),
    0 0 20px rgba(0, 0, 0, 0.03),
    inset 1px 1px 0 var(--lg-highlight),
    inset 0 0 5px rgba(255, 255, 255, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 17px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--pill-radius);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--pill-radius);
  text-decoration: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  opacity: 0.85;
  color: #fff;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Pill Button
   -------------------------------------------------------------------------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 55px;
  padding: 0 32px;
  background: var(--color-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: var(--pill-radius);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-pill:hover {
  opacity: 0.9;
  color: #fff;
}

.btn-pill:active {
  transform: scale(0.97);
}

.btn-pill svg {
  width: 20px;
  height: 20px;
}

.btn-pill--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}
.btn-pill--outline:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Hero Section
   Clean white with subtle amber radial gradient at top.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(160px + env(safe-area-inset-top)) 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 600px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(59, 130, 246, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 30% 60%, rgba(59, 130, 246, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 70% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

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

.hero-actions img {
  height: 64px;
  width: auto;
}

.hero-online-link {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-online-link a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-online-link a:hover {
  color: var(--color-accent-light);
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-rating .stars {
  color: var(--color-star);
  letter-spacing: -1px;
}

.hero-mockup {
  max-width: 320px;
  margin: 32px auto 0;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.hero-mockup video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

/* Hero Phone Trio */
.hero-phones {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}

.hero-phone {
  position: absolute;
}

.hero-phone img {
  display: block;
  width: 280px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.hero-phone--center {
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-phone--center img {
  width: 300px;
}

.hero-phone--left {
  left: 180px;
  top: 46%;
  transform: perspective(800px) rotateY(12deg) rotate(-8deg);
  z-index: 1;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

.hero-phone--right {
  right: 180px;
  top: 46%;
  transform: perspective(800px) rotateY(-12deg) rotate(8deg);
  z-index: 1;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

/* --------------------------------------------------------------------------
   Section Headings
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 17px;
}

.section-header.section-header--left {
  text-align: left;
  margin-bottom: 0;
}

.section-header.section-header--left p {
  max-width: none;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Feature Cards (Clean white cards with subtle shadow)
   -------------------------------------------------------------------------- */
.features-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: start;
}

.features-phone img {
  width: 280px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.features-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: var(--card-radius);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.07), 0 0 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2), box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 24px rgba(0, 0, 0, 0.05);
}

.feature-card .glass-filter,
.feature-card .glass-overlay,
.feature-card .glass-specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.feature-card .glass-filter {
  z-index: 0;
  backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  /* saturate + brightness handled by backdrop-filter */
}

.feature-card .glass-overlay {
  z-index: 1;
  background: var(--lg-bg-color);
}

.feature-card .glass-specular {
  z-index: 2;
  box-shadow: inset 1px 1px 0 var(--lg-highlight), inset 0 0 5px var(--lg-highlight);
}

.feature-card .glass-content {
  position: relative;
  z-index: 3;
  padding: 28px;
}

.feature-card--wide {
  grid-column: span 2;
}

.feature-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-accent-light);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   How It Works — Steps / Bento Grid
   -------------------------------------------------------------------------- */
.steps-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.step-bento-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: var(--card-radius);
  padding: 0;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.07), 0 0 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2), box-shadow 0.3s ease;
}

.step-bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 24px rgba(0, 0, 0, 0.05);
}

.step-bento-card .glass-filter,
.step-bento-card .glass-overlay,
.step-bento-card .glass-specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.step-bento-card .glass-filter {
  z-index: 0;
  backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  /* saturate + brightness handled by backdrop-filter */
}

.step-bento-card .glass-overlay {
  z-index: 1;
  background: var(--lg-bg-color);
}

.step-bento-card .glass-specular {
  z-index: 2;
  box-shadow: inset 1px 1px 0 var(--lg-highlight), inset 0 0 5px var(--lg-highlight);
}

.step-bento-card > .glass-content {
  position: relative;
  z-index: 3;
  padding: 32px;
}

.step-bento-card--wide {
  grid-column: span 2;
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 12px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-accent-bg);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--color-accent-light);
  font-weight: 600;
  font-size: 18px;
  flex-shrink: 0;
}

.step-bento-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.step-bento-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Testimonials Ticker
   -------------------------------------------------------------------------- */
.testimonials-overflow {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  margin: -20px 0;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.testimonial-card {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  background: transparent;
  border: none;
  border-radius: var(--card-radius);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.07), 0 0 20px rgba(0, 0, 0, 0.04);
}

.testimonial-card > .glass-filter,
.testimonial-card > .glass-overlay,
.testimonial-card > .glass-specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.testimonial-card > .glass-filter {
  z-index: 0;
  backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  /* saturate + brightness handled by backdrop-filter */
}

.testimonial-card > .glass-overlay {
  z-index: 1;
  background: var(--lg-bg-color);
}

.testimonial-card > .glass-specular {
  z-index: 2;
  box-shadow: inset 1px 1px 0 var(--lg-highlight), inset 0 0 5px var(--lg-highlight);
}

.testimonial-card > .glass-content {
  position: relative;
  z-index: 3;
  padding: 28px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.testimonial-stars {
  color: var(--color-star);
  font-size: 13px;
  letter-spacing: -1px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.testimonial-date {
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   FAQ Section (Accordion)
   -------------------------------------------------------------------------- */
.faq-section details {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-section details:last-child {
  border-bottom: none;
}
.faq-section summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.faq-section summary::-webkit-details-marker {
  display: none;
}
.faq-section .faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-section .faq-icon .faq-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 20px;
  background: var(--text-faint);
  border-radius: 40px;
  transition: transform 0.3s ease;
}
.faq-section .faq-line-h {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.faq-section .faq-line-v {
  transform: translate(-50%, -50%) rotate(-180deg);
}
.faq-section details[open] .faq-line-h {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.faq-section details[open] .faq-line-v {
  transform: translate(-50%, -50%) rotate(-90deg);
}
.faq-section details p {
  margin-top: 0;
  padding-bottom: 16px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Download / CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  text-align: center;
  padding: 64px 40px;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 3rem;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.07), 0 0 20px rgba(0, 0, 0, 0.04);
}

.cta-section > .glass-filter,
.cta-section > .glass-overlay,
.cta-section > .glass-specular {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.cta-section > .glass-filter {
  z-index: 0;
  backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(140%) brightness(1.1);
  /* saturate + brightness handled by backdrop-filter */
}

.cta-section > .glass-overlay {
  z-index: 1;
  background: var(--lg-bg-color);
}

.cta-section > .glass-specular {
  z-index: 2;
  box-shadow: inset 1px 1px 0 var(--lg-highlight), inset 0 0 5px var(--lg-highlight);
}

.cta-section > .glass-content {
  position: relative;
  z-index: 3;
  padding: 0;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 17px;
}

.cta-section img {
  height: 64px;
  width: auto;
  margin: 0 auto;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

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

.footer-brand .nav-logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-badges {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-badges a {
  display: inline-block;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-badges a:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
  padding-top: 24px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Install Tray (Sticky Bottom Bar)
   -------------------------------------------------------------------------- */
.install-tray {
  display: none;
}

@media (max-width: 1023.98px) {
  .install-tray {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(540px, 94vw);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 10px 16px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 20;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .install-tray.hidden {
    opacity: 0;
    transform: translate(-50%, calc(100% + 40px));
    pointer-events: none;
  }

  .tray-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    text-decoration: none;
    color: inherit;
    min-height: 44px;
  }

  .tray-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .tray-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
  }

  .tray-info strong {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
  }

  .tray-info small {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.3;
  }

  .tray-action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
  }

  .tray-get {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.07);
    color: #007AFF;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    padding: 4px 18px;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }

  .tray-price {
    position: absolute;
    top: 100%;
    margin-top: 3px;
    color: #8E8E93;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   Mobile Hamburger Menu
   -------------------------------------------------------------------------- */
.mobile-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 12px;
  z-index: 10;
  flex-shrink: 0;
}
.mobile-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-hamburger span:first-child {
  margin-bottom: 6px;
}
.mobile-hamburger.open span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}
.mobile-hamburger.open span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 28%, rgba(59, 130, 246, 0.05) 0%, transparent 100%),
    rgba(255, 255, 255, 0.98);
  z-index: 99;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-overlay.open {
  display: block;
}
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  padding: calc(120px + env(safe-area-inset-top)) max(32px, env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) max(32px, env(safe-area-inset-left));
  min-height: 100%;
}
.mobile-menu-overlay .mobile-menu-cta {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  align-self: center;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}
.mobile-menu-overlay .mobile-menu-cta img {
  height: 44px;
  width: auto;
  display: block;
}
.mobile-menu-overlay .mobile-menu-cta:hover {
  opacity: 0.85;
}
.mobile-menu-divider {
  border: none;
  border-top: 1px solid var(--bg-hover);
  margin: 24px 0;
  width: 100%;
}
.mobile-menu-section {
  display: flex;
  flex-direction: column;
}
.mobile-menu-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mobile-menu-section a {
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  transition: opacity 0.2s;
}
.mobile-menu-section a:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Article Wrapper (shared across article + listing pages)
   -------------------------------------------------------------------------- */
.article-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: calc(120px + env(safe-area-inset-top)) 24px 80px;
  color: var(--text-body);
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.article-wrapper a {
  color: var(--color-link);
  text-decoration: none;
}
.article-wrapper a:hover {
  text-decoration: underline;
}
.article-breadcrumbs {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.article-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.article-breadcrumbs a:hover {
  color: var(--text-secondary);
}
.article-breadcrumbs span {
  margin: 0 8px;
}
.article-wrapper h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 24px;
  letter-spacing: -0.025em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.article-meta time {
  color: var(--text-secondary);
}
.article-wrapper h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 56px 0 20px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.article-wrapper h3 {
  font-family: "Inter", sans-serif;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 16px;
  line-height: 1.3;
}
.article-wrapper p {
  margin: 0 0 20px;
  color: var(--text-body);
}
.article-wrapper figure {
  margin: 32px 0;
}
.article-wrapper figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--bg-image);
}
.article-wrapper figcaption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}
.article-wrapper img.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  margin: 16px 0;
  background: var(--bg-image);
}
.article-wrapper ul,
.article-wrapper ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.article-wrapper li {
  margin-bottom: 10px;
  color: var(--text-body);
}
.article-wrapper li strong {
  color: var(--text-primary);
}
.article-wrapper strong {
  color: var(--text-primary);
  font-weight: 500;
}
.article-wrapper blockquote {
  border-left: 3px solid var(--color-accent);
  margin: 24px 0;
  padding: 12px 0 12px 20px;
  font-style: italic;
  color: var(--text-secondary);
}
.article-wrapper hr {
  border: none;
  border-top: 1px solid var(--border-default);
  margin: 48px 0;
}

/* --------------------------------------------------------------------------
   Key Takeaways Box
   -------------------------------------------------------------------------- */
.key-takeaways {
  background: var(--bg-image);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}
.key-takeaways h3 {
  margin: 0 0 12px !important;
  font-size: 13px !important;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.key-takeaways ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.key-takeaways li {
  padding: 6px 0;
  font-size: 15px;
}
.key-takeaways li::before {
  content: none;
}

/* --------------------------------------------------------------------------
   Comparison Table
   -------------------------------------------------------------------------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 15px;
}
.comparison-table caption {
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  caption-side: bottom;
}
.comparison-table thead th {
  text-align: left;
  font-weight: 500;
  color: var(--text-primary);
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-strong);
  font-size: 14px;
}
.comparison-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-faint);
  color: var(--text-secondary);
  vertical-align: top;
}
.comparison-table tbody tr:hover {
  background: var(--bg-faint);
}
.comparison-table tbody td:first-child {
  font-weight: 500;
  color: var(--text-primary);
}
.comparison-table a {
  color: var(--color-link);
}

/* --------------------------------------------------------------------------
   Table of Contents
   -------------------------------------------------------------------------- */
.toc {
  background: var(--bg-faint);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 20px;
  margin: 24px 0;
}
.toc h3 {
  margin: 0 0 8px !important;
  font-size: 13px !important;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.toc ol {
  margin: 0;
  padding-left: 18px;
  counter-reset: toc;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 24px;
}
.toc li {
  font-size: 14px;
  padding: 3px 0;
  color: var(--text-muted);
}
.toc a {
  color: var(--text-secondary);
}
.toc a:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   App Card (Comparison articles – quick-pick list)
   -------------------------------------------------------------------------- */
.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none !important;
  color: inherit;
  transition: background 0.2s ease;
}
.app-card:first-of-type {
  border-top: 1px solid var(--border-subtle);
}
.app-card:hover {
  background: var(--bg-faint);
}
.app-card .app-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
}
.app-card .app-card-info {
  flex: 1;
  min-width: 0;
}
.app-card .app-card-name {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 3px;
}
.app-card .app-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 4px;
  line-height: 1.4;
}
.app-card .app-card-rating {
  font-size: 13px;
  color: var(--text-muted);
}
.app-card .app-card-rating .stars {
  color: var(--color-star);
  letter-spacing: -1px;
}
.app-card .app-card-chevron {
  font-size: 20px;
  color: var(--text-faint);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Insights Hub — Hero
   -------------------------------------------------------------------------- */
.article-wrapper.insights-listing {
  max-width: 1200px;
  text-align: center;
}
.article-wrapper.insights-listing .category-tabs {
  margin: 0 auto 48px;
}
.article-wrapper.insights-listing .category-dropdown {
  justify-content: center;
}
.insights-hero {
  text-align: center;
  max-width: 100%;
  padding: 80px 0 0;
  margin-bottom: 48px;
}
.insights-hero-label {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
}
.insights-hero .insights-hero-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 32px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.insights-hero .insights-hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 auto 20px;
  max-width: 640px;
  line-height: 1.6;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Category Tabs (Desktop)
   -------------------------------------------------------------------------- */
.category-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  padding: 4px;
  background: var(--bg-subtle);
  border-radius: 40px;
  width: fit-content;
}
a.category-tab,
a.category-tab:link,
a.category-tab:visited,
a.category-tab:active {
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s;
  background: transparent;
}
a.category-tab:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
a.category-tab.active,
a.category-tab.active:link,
a.category-tab.active:visited,
a.category-tab.active:hover {
  background: var(--bg-hover);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Category Dropdown (Mobile)
   -------------------------------------------------------------------------- */
.category-dropdown {
  display: none;
  position: relative;
  margin-bottom: 32px;
}
.category-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-hover);
  border: none;
  border-radius: 40px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.category-dropdown-trigger:hover {
  background: var(--bg-hover-strong);
}
.category-dropdown-trigger .arrow {
  font-size: 14px;
  transition: transform 0.2s;
}
.category-dropdown.open .category-dropdown-trigger .arrow {
  transform: rotate(180deg);
}
.category-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  min-width: 200px;
  padding: 12px;
  background: var(--surface-dropdown);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 4px;
}
.category-dropdown.open .category-dropdown-menu {
  display: flex;
}
a.category-dropdown-item,
a.category-dropdown-item:link,
a.category-dropdown-item:visited {
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}
a.category-dropdown-item:hover,
a.category-dropdown-item.active {
  background: var(--bg-hover);
}

/* --------------------------------------------------------------------------
   Category Card Grid (Insights listing)
   -------------------------------------------------------------------------- */
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  text-decoration: none;
  transition: opacity 0.2s;
  overflow: visible;
}
.category-card,
.category-card:hover,
.category-card * {
  text-decoration: none !important;
}
.category-card:hover .card-img {
  border-radius: 32px;
}
.category-card .card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 16px 0 0;
  text-align: left;
}
.category-card .card-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: bottom;
  border-radius: var(--card-radius);
  order: -1;
  transition: border-radius 0.3s ease;
  background: var(--bg-card);
}
.category-card .card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0 0 8px;
  order: 1;
}
.category-card .card-date {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  order: 2;
}
.category-card .card-desc {
  display: none;
}

/* --------------------------------------------------------------------------
   Blog Card Grid
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-card);
  filter: grayscale(30%) brightness(0.95);
  transition: filter 0.4s ease;
}

.blog-card:hover .blog-card-img {
  filter: grayscale(0%) brightness(1);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-date {
  font-size: 14px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   404 Error Page
   -------------------------------------------------------------------------- */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 40px 24px;
}
.error-page h1 {
  font-size: 120px;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h2 {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.error-page p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 400px;
}

/* --------------------------------------------------------------------------
   Legal Pages
   -------------------------------------------------------------------------- */
.legal-content {
  padding-top: calc(120px + env(safe-area-inset-top));
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   Support Page
   -------------------------------------------------------------------------- */
.support-hero {
  text-align: center;
  padding-top: calc(120px + env(safe-area-inset-top));
  padding-bottom: 0;
}

.support-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.support-hero p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   Features Page
   -------------------------------------------------------------------------- */
.features-hero {
  text-align: center;
  padding: calc(160px + env(safe-area-inset-top)) 0 60px;
}

.features-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.features-hero p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 18px;
}

.feature-detail {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--card-radius);
  padding: 48px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.feature-detail h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.feature-detail p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-detail p:last-child {
  margin-bottom: 0;
}

.feature-detail ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.feature-detail li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 15px;
}

/* Feature detail with screenshot — side-by-side layout */
.feature-detail--with-screenshot .feature-detail-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.feature-detail--with-screenshot .feature-text {
  flex: 1;
  min-width: 0;
}

.feature-screenshot {
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.feature-screenshot--side {
  width: 180px;
}

.feature-screenshot--center {
  display: block;
  margin: 24px auto 0;
  width: 140px;
}

/* Feature row — alternating image + text */
.feature-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.feature-row.reverse {
  grid-template-columns: 1fr 260px;
}

.feature-row.reverse .feature-row-img {
  order: 2;
}

.feature-row-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.12));
}

.feature-row-text h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.feature-row-text > p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-row-text ul {
  padding-left: 20px;
}

.feature-row-text li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

/* Feature hero landscape banner */
.feature-hero-banner {
  max-width: 720px;
  margin: 32px auto 0;
}

.feature-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

/* --------------------------------------------------------------------------
   Blog Listing Hero
   -------------------------------------------------------------------------- */
.blog-hero {
  text-align: center;
  padding: calc(160px + env(safe-area-inset-top)) 0 60px;
}

.blog-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.blog-hero p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   Scroll Animation States (JS toggles these)
   -------------------------------------------------------------------------- */
[data-fade-up] {
  opacity: 0;
  transform: translateY(40px);
}

[data-blur-fade] {
  opacity: 0;
  filter: blur(8px);
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (768-1023px)
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  :root {
    --section-padding: 60px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .mobile-hamburger {
    display: block;
  }

  .hero-phone--left,
  .hero-phone--right {
    display: none;
  }

  .steps-bento {
    grid-template-columns: 1fr;
  }

  .step-bento-card--wide {
    grid-column: span 1;
  }

  .features-split {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .features-phone {
    display: flex;
    justify-content: center;
  }

  .features-phone img {
    width: 220px;
  }

  .section-header.section-header--left {
    text-align: center;
  }

  .feature-detail--with-screenshot .feature-detail-inner {
    flex-direction: column;
    gap: 24px;
  }

  .feature-screenshot--side {
    width: 180px;
    margin: 0 auto;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
  }

  .feature-row.reverse .feature-row-img {
    order: 0;
  }

  .feature-row-img {
    max-width: 220px;
    margin: 0 auto;
  }

  .feature-row-text {
    text-align: center;
  }

  .feature-row-text ul {
    text-align: left;
    display: inline-block;
  }

  .feature-hero-banner {
    max-width: 360px;
  }

  .category-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .install-tray {
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .tray-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .tray-info strong {
    font-size: 14px;
  }

  .tray-info small {
    font-size: 12px;
  }

  .insights-hero .insights-hero-title {
    font-size: 56px;
    letter-spacing: -0.035em;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Mobile (<768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --section-padding: 48px;
  }

  .site-nav {
    width: calc(100% - 32px);
    top: 12px;
  }

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

  .hero-phones {
    position: relative;
    inset: auto;
    display: flex;
    justify-content: center;
    margin-top: 24px;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  }

  .hero-phone--center {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
  }

  .hero-phone--center img {
    width: 240px;
  }

  .hero-mockup {
    max-width: 260px;
  }

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

  .feature-card--wide {
    grid-column: span 1;
  }

  .features-phone img {
    width: 200px;
  }

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

  .category-card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .category-card .card-img {
    height: 300px;
    object-fit: contain;
    object-position: bottom;
  }

  .category-card .card-text {
    padding: 12px 8px 0;
  }

  .category-tabs {
    display: none;
  }

  .category-dropdown {
    display: flex;
    justify-content: center;
  }

  .toc ol {
    grid-template-columns: 1fr;
  }

  .article-wrapper {
    padding: calc(100px + env(safe-area-inset-top)) 16px 60px;
  }

  .article-wrapper img.hero-img {
    height: 280px;
  }

  .comparison-table {
    font-size: 13px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 12px;
  }

  .feature-screenshot--side {
    width: 160px;
  }

  .feature-screenshot--center {
    width: 120px;
  }

  .insights-hero .insights-hero-title {
    font-size: 36px;
    letter-spacing: -0.03em;
    line-height: 1.1;
  }

  .app-card {
    align-items: flex-start;
  }

  .app-card .app-card-icon {
    margin-top: 4px;
  }

  .cta-section {
    padding: 40px 24px;
  }

  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }

}
