/* ==========================================================================
   Libre Launcher & Ecosystem — Material You (Material Design 3) Theme
   Palette: Dark Espresso & Vibrant Amber
   Version: 7.0 (Mobile Right-Edge Alignment & Layout Containment)
   ========================================================================== */

:root {
  /* Surface and Background Tones */
  --md-sys-color-surface: #14110F;
  --md-sys-color-surface-container-lowest: #0E0C0A;
  --md-sys-color-surface-container-low: #1A1613;
  --md-sys-color-surface-container: #1F1A17;
  --md-sys-color-surface-container-high: #2B221C;
  --md-sys-color-surface-container-highest: #372D26;

  /* Accent Tones */
  --md-sys-color-primary: #FFB870;
  --md-sys-color-on-primary: #4B2800;
  --md-sys-color-primary-container: #683D00;
  --md-sys-color-on-primary-container: #FFDDB8;
  
  --md-sys-color-secondary: #E6BE9A;
  --md-sys-color-on-secondary: #442B10;
  --md-sys-color-secondary-container: #5D4124;
  --md-sys-color-on-secondary-container: #FFDDB8;

  --md-sys-color-tertiary: #C7C699;
  --md-sys-color-on-tertiary: #30310F;

  /* Neutral Text and Borders */
  --md-sys-color-on-surface: #EDE0D4;
  --md-sys-color-on-surface-variant: #D7C2B4;
  --md-sys-color-outline: #938F99;
  --md-sys-color-outline-variant: rgba(147, 143, 153, 0.22);
  --md-sys-color-outline-subtle: rgba(147, 143, 153, 0.12);

  /* Status Colors */
  --md-sys-color-success: #78DC77;
  --md-sys-color-on-success: #003A03;
  --md-sys-color-warning: #FFBA28;
  --md-sys-color-error: #FFB4AB;

  /* Metrics & Corner Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-squircle: 28px;
  --radius-pill: 9999px;

  /* Motion & Transitions */
  --motion-easing: cubic-bezier(0.2, 0, 0, 1);
  --motion-duration-quick: 180ms;
  --motion-duration-standard: 260ms;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: var(--font-main);
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--md-sys-color-surface);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(255, 184, 112, 0.08), transparent 70%),
    radial-gradient(circle at 10% 85%, rgba(230, 190, 154, 0.04), transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

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

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

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

.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   Header & Sticky Pill Navigation Bar
   ========================================================================== */
.header-wrapper {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 16px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.nav-pill-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 8px 14px;
  background-color: rgba(31, 26, 23, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  gap: 12px;
  box-sizing: border-box;
}

.nav-top-row {
  display: contents; /* Flat flex layout on desktop */
}

.brand-pill {
  order: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--md-sys-color-surface-container-high);
  transition: transform var(--motion-duration-quick) var(--motion-easing),
              background var(--motion-duration-quick) var(--motion-easing);
  flex-shrink: 0;
}

.brand-pill:hover {
  transform: scale(1.02);
  background: var(--md-sys-color-surface-container-highest);
}

.brand-icon-img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--md-sys-color-primary);
  white-space: nowrap;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 184, 112, 0.15);
  color: var(--md-sys-color-primary);
  border: 1px solid rgba(255, 184, 112, 0.3);
  white-space: nowrap;
}

/* Tab Switcher in Pill */
.nav-tabs {
  order: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  background: var(--md-sys-color-surface-container-lowest);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--md-sys-color-outline-subtle);
}

.nav-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--md-sys-color-on-surface-variant);
  transition: color var(--motion-duration-standard) var(--motion-easing),
              background var(--motion-duration-standard) var(--motion-easing),
              box-shadow var(--motion-duration-standard) var(--motion-easing);
  white-space: nowrap;
}

.nav-tab-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.nav-tab-btn:hover {
  color: var(--md-sys-color-on-surface);
  background: rgba(255, 255, 255, 0.04);
}

.nav-tab-btn.active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 2px 10px rgba(255, 184, 112, 0.35);
}

.nav-tab-btn.active svg {
  fill: var(--md-sys-color-on-primary);
}

.tab-label-full {
  display: inline;
}

.tab-label-short {
  display: none;
}

/* Top-Right CTA Pills */
.nav-actions {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
  transition: background var(--motion-duration-quick) var(--motion-easing),
              border-color var(--motion-duration-quick) var(--motion-easing),
              color var(--motion-duration-quick) var(--motion-easing),
              transform var(--motion-duration-quick) var(--motion-easing);
  white-space: nowrap;
}

.btn-pill-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-pill-cta:hover {
  background: var(--md-sys-color-surface-container-highest);
  border-color: var(--md-sys-color-secondary);
  color: var(--md-sys-color-secondary);
  transform: translateY(-1px);
}

.btn-pill-cta.btn-discord:hover {
  border-color: #7289da;
  color: #a4b3f5;
}

/* Mobile & Tablet Top Nav Rules (<= 960px) */
@media (max-width: 960px) {
  .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 14px;
    box-sizing: border-box;
  }

  .header-wrapper {
    top: 8px;
    padding: 0 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-pill-bar {
    flex-direction: column;
    padding: 8px 10px;
    border-radius: var(--radius-xl);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 6px;
    overflow: hidden;
  }

  .brand-pill {
    padding: 4px 8px;
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .brand-icon-img {
    width: 20px;
    height: 20px;
  }

  .brand-name {
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .brand-badge {
    font-size: 0.65rem;
    padding: 1px 5px;
    flex-shrink: 0;
  }

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

  .btn-pill-cta {
    padding: 6px 10px;
    font-size: 0.78rem;
    gap: 4px;
    box-sizing: border-box;
  }

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

  .nav-tabs {
    width: 100%;
    display: flex;
    padding: 3px;
    gap: 2px;
    box-sizing: border-box;
  }

  .nav-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 4px;
    font-size: 0.82rem;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border-radius: var(--radius-pill);
    gap: 0;
  }

  .nav-tab-btn svg {
    display: none; /* Hide icon on mobile tabs for zero clipping */
  }

  .tab-label-full {
    display: none;
  }

  .tab-label-short {
    display: inline;
  }
}

/* Extra Compact Nav for Very Small Displays (< 390px) */
@media (max-width: 390px) {
  .header-wrapper {
    padding: 0 6px;
  }
  .nav-pill-bar {
    padding: 6px 8px;
  }
  .brand-pill {
    padding: 3px 6px;
    gap: 4px;
  }
  .brand-name {
    font-size: 0.8rem;
  }
  .brand-badge {
    display: none; /* Hide badge on sub-390px so GitHub button is never clipped */
  }
  .btn-pill-cta {
    padding: 5px 8px;
    font-size: 0.74rem;
    gap: 3px;
  }
}

/* ==========================================================================
   Tab Content Panels
   ========================================================================== */
.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity var(--motion-duration-quick) var(--motion-easing);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.tab-panel.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 16px 0 40px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-content {
  width: 100%;
  max-width: 100%;
  padding: 0;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 184, 112, 0.12);
  border: 1px solid rgba(255, 184, 112, 0.35);
  color: var(--md-sys-color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 32px;
  margin-bottom: 20px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--md-sys-color-primary);
  box-shadow: 0 0 8px var(--md-sys-color-primary);
  animation: pulse-dot 2s infinite ease-in-out;
  flex-shrink: 0;
  will-change: opacity;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(1.85rem, 7.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #FFF;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 100%;
  min-width: 0;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #FFB870 20%, #E6BE9A 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 28px;
  max-width: 620px;
  line-height: 1.65;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 768px) {
  .hero-pill-badge {
    white-space: normal;
    font-size: 0.74rem;
    line-height: 1.35;
    min-height: 32px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
    min-height: 4.14rem;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    min-width: 0;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    min-width: 0;
    box-sizing: border-box;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 100%;
    min-width: 0;
  }
  .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    min-width: 0;
  }
}

/* Split-Pill Download Control */
.download-action-group {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  max-width: 100%;
}

.split-pill-container {
  display: inline-flex;
  align-items: stretch;
  background: var(--md-sys-color-primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(255, 184, 112, 0.3);
  transition: transform var(--motion-duration-quick) var(--motion-easing),
              box-shadow var(--motion-duration-quick) var(--motion-easing);
  z-index: 10;
  max-width: 100%;
  min-height: 48px;
}

.split-pill-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 184, 112, 0.45);
}

.split-pill-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  color: var(--md-sys-color-on-primary);
  font-weight: 700;
  font-size: 0.98rem;
  border-top-left-radius: var(--radius-pill);
  border-bottom-left-radius: var(--radius-pill);
  transition: background var(--motion-duration-quick) var(--motion-easing);
  white-space: nowrap;
  min-height: 48px;
  box-sizing: border-box;
}

.split-pill-primary svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.split-pill-primary:hover {
  background: rgba(0, 0, 0, 0.06);
}

.split-pill-divider {
  width: 1px;
  background: rgba(75, 40, 0, 0.25);
  margin: 10px 0;
  flex-shrink: 0;
}

.split-pill-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--md-sys-color-on-primary);
  border-top-right-radius: var(--radius-pill);
  border-bottom-right-radius: var(--radius-pill);
  transition: background var(--motion-duration-quick) var(--motion-easing);
  flex-shrink: 0;
}

.split-pill-dropdown-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--motion-duration-standard) var(--motion-easing);
}

.split-pill-dropdown-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.split-pill-dropdown-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* Variant Selector Pill Dropdown Menu */
.variant-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  width: 100%;
  max-width: 320px;
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-xl);
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-sizing: border-box;
  min-width: 0;
}

@media (min-width: 769px) {
  .variant-dropdown-menu {
    width: 360px;
    max-width: 360px;
  }
}

.variant-dropdown-menu.show {
  display: flex;
  animation: dropdown-fade-in 200ms var(--motion-easing);
}

@keyframes dropdown-fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.variant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--md-sys-color-on-surface);
  transition: background var(--motion-duration-quick) var(--motion-easing);
  font-size: 0.9rem;
  gap: 10px;
}

.variant-item:hover {
  background: var(--md-sys-color-surface-container-high);
}

.variant-item-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.variant-item-title {
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
  white-space: nowrap;
}

.variant-item-desc {
  font-size: 0.76rem;
  color: var(--md-sys-color-on-surface-variant);
}

.variant-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--md-sys-color-surface-container-highest);
  color: var(--md-sys-color-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Release Quick Stats Chips & Hero Spec Pills */
.hero-specs-chips,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.spec-chip,
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  min-height: 28px;
  line-height: 1.25;
  border-radius: var(--radius-pill);
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-subtle);
  font-size: 0.78rem;
  color: var(--md-sys-color-on-surface-variant);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
}

.spec-chip strong,
.hero-pill strong {
  color: var(--md-sys-color-primary);
  font-family: var(--font-mono);
}

/* Hero Showcase Card & Media Preview with Non-Overlapping Bottom Status Bar */
.hero-media-card,
.hero-preview-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-squircle);
  padding: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  contain: layout;
}

.hero-img-wrap {
  border-radius: calc(var(--radius-squircle) - 10px);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1440 / 3216;
  height: auto;
  box-sizing: border-box;
  background: var(--md-sys-color-surface-container-high);
}

.hero-img-wrap img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 1440 / 3216;
  object-fit: contain;
  border-radius: calc(var(--radius-squircle) - 10px);
  display: block;
  transition: transform var(--motion-duration-standard) var(--motion-easing);
}

.hero-media-card:hover .hero-img-wrap img,
.hero-preview-card:hover .hero-img-wrap img {
  transform: scale(1.02);
}

.media-card-status-bar,
.hero-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 14px;
  min-height: 38px;
  border-radius: var(--radius-pill);
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-subtle);
  font-size: clamp(0.72rem, 2.5vw, 0.8rem);
  font-weight: 600;
  color: var(--md-sys-color-primary);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.status-indicator svg {
  flex-shrink: 0;
}

.status-arch {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--md-sys-color-on-surface-variant);
  flex-shrink: 0;
}

/* ==========================================================================
   Disambiguation Notice Card
   ========================================================================== */
.disambiguation-card {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--md-sys-color-surface-container-high);
  border-left: 5px solid var(--md-sys-color-secondary);
  border-radius: var(--radius-xl);
  border-top: 1px solid var(--md-sys-color-outline-subtle);
  border-right: 1px solid var(--md-sys-color-outline-subtle);
  border-bottom: 1px solid var(--md-sys-color-outline-subtle);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-sizing: border-box;
}

.disambiguation-card svg {
  width: 22px;
  height: 22px;
  fill: var(--md-sys-color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.disambiguation-card h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--md-sys-color-secondary);
  margin-bottom: 4px;
}

.disambiguation-card p {
  font-size: 0.86rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.5;
}

/* ==========================================================================
   Feature Cards Grid (24px–28px Squircles)
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--md-sys-color-primary);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFF;
  margin-bottom: 12px;
  word-break: break-word;
}

.section-description {
  font-size: 0.98rem;
  color: var(--md-sys-color-on-surface-variant);
  max-width: 650px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-squircle);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-duration-standard) var(--motion-easing),
              border-color var(--motion-duration-standard) var(--motion-easing),
              box-shadow var(--motion-duration-standard) var(--motion-easing);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 112, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--md-sys-color-primary);
  transition: background var(--motion-duration-quick) var(--motion-easing);
  flex-shrink: 0;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-card:hover .feature-icon-wrapper {
  background: rgba(255, 184, 112, 0.15);
}

.feature-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--md-sys-color-on-surface);
}

.feature-body {
  font-size: 0.92rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.55;
  margin-bottom: 18px;
}

.feature-metric-pill {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-primary);
  border: 1px solid rgba(255, 184, 112, 0.2);
}

/* ==========================================================================
   Interface Showcase — Real Libre Launcher Screenshots (2-col desktop, 1-col mobile)
   ========================================================================== */
.screenshots-section {
  margin-bottom: 70px;
}

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

.gallery-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-duration-standard) var(--motion-easing),
              border-color var(--motion-duration-standard) var(--motion-easing),
              box-shadow var(--motion-duration-standard) var(--motion-easing);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 112, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.gallery-img-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--md-sys-color-surface-container-high);
  overflow: hidden;
  position: relative;
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--motion-duration-standard) var(--motion-easing);
}

.gallery-card:hover .gallery-img-container img {
  transform: scale(1.03);
}

.gallery-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(20, 17, 15, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 184, 112, 0.3);
  color: var(--md-sys-color-primary);
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.9;
  transition: opacity var(--motion-duration-quick) var(--motion-easing);
}

.gallery-zoom-badge svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.gallery-card:hover .gallery-zoom-badge {
  opacity: 1;
}

.gallery-caption {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--md-sys-color-outline-subtle);
  background: var(--md-sys-color-surface-container);
}

.gallery-caption-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
}

.gallery-caption-desc {
  font-size: 0.84rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.45;
}

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

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 12, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: fadeIn 200ms ease;
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 880px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  animation: zoomIn 220ms var(--motion-easing);
  overflow: hidden;
  box-sizing: border-box;
}

.lightbox-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.lightbox-close-btn {
  position: static;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-subtle);
  color: var(--md-sys-color-on-surface);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--motion-duration-quick) var(--motion-easing),
              color var(--motion-duration-quick) var(--motion-easing),
              border-color var(--motion-duration-quick) var(--motion-easing);
  flex-shrink: 0;
}

.lightbox-close-btn:hover {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

.lightbox-image-wrapper {
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 12px;
  width: 100%;
}

.lightbox-image-wrapper img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.lightbox-caption {
  text-align: center;
  width: 100%;
  padding: 0 10px;
}

.lightbox-caption h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--md-sys-color-primary);
  margin-bottom: 4px;
}

.lightbox-caption p {
  font-size: 0.88rem;
  color: var(--md-sys-color-on-surface-variant);
}

/* ==========================================================================
   Interactive "Comparison" Tab
   ========================================================================== */
.comparison-section {
  padding: 16px 0 70px;
}

/* Animated Storage Footprint Bars */
.storage-benchmark-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-squircle);
  padding: 32px 28px;
  margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.benchmark-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 14px;
}

.benchmark-title-wrap h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 6px;
}

.benchmark-title-wrap p {
  font-size: 0.9rem;
  color: var(--md-sys-color-on-surface-variant);
}

.storage-bars-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.storage-bar-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.storage-bar-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 8px;
  width: 100%;
}

.storage-target-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.storage-target-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 184, 112, 0.15);
  color: var(--md-sys-color-primary);
  border: 1px solid rgba(255, 184, 112, 0.3);
  white-space: nowrap;
}

.storage-size-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.storage-track {
  width: 100%;
  height: 18px;
  background: var(--md-sys-color-surface-container-highest);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--md-sys-color-outline-subtle);
}

.storage-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.storage-fill.libre {
  background: linear-gradient(90deg, #FFB870, #FFA74A);
  box-shadow: 0 0 12px rgba(255, 184, 112, 0.4);
}

.storage-fill.competitor-1 {
  background: #B0A093;
}

.storage-fill.competitor-2 {
  background: #8F8175;
}

.storage-fill.competitor-3 {
  background: #6D6056;
}

/* Material You Comparison Table (Desktop >= 640px) */
.table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-squircle);
  border: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .comparison-table {
    min-width: 620px;
  }
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--md-sys-color-outline-subtle);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  min-width: 140px;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  min-width: 130px;
}

.comparison-table th {
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.comparison-table th.col-highlight {
  background: var(--md-sys-color-surface-container-highest);
  color: var(--md-sys-color-primary);
  border-left: 2px solid var(--md-sys-color-primary);
  border-right: 2px solid var(--md-sys-color-primary);
  border-top: 2px solid var(--md-sys-color-primary);
}

.comparison-table td.col-highlight {
  background: rgba(255, 184, 112, 0.05);
  font-weight: 600;
  color: var(--md-sys-color-on-surface);
  border-left: 2px solid var(--md-sys-color-primary);
  border-right: 2px solid var(--md-sys-color-primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:last-child td.col-highlight {
  border-bottom: 2px solid var(--md-sys-color-primary);
}

.table-feature-title {
  font-weight: 700;
  color: var(--md-sys-color-on-surface);
  display: block;
}

.table-feature-desc {
  font-size: 0.78rem;
  color: var(--md-sys-color-on-surface-variant);
  font-weight: normal;
}

.badge-tag-libre {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 184, 112, 0.16);
  color: var(--md-sys-color-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-tag-alt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--md-sys-color-on-surface-variant);
  white-space: nowrap;
}

/* Mobile Stacked Comparison Cards (< 640px) */
.comparison-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.matrix-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.matrix-card-header {
  border-bottom: 1px solid var(--md-sys-color-outline-subtle);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.matrix-feature-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFF;
}

.matrix-feature-sub {
  font-size: 0.78rem;
  color: var(--md-sys-color-on-surface-variant);
}

.matrix-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--md-sys-color-surface-container-high);
  font-size: 0.84rem;
  gap: 10px;
}

.matrix-row.libre-highlight {
  background: rgba(255, 184, 112, 0.12);
  border: 1px solid rgba(255, 184, 112, 0.35);
}

.matrix-label {
  color: var(--md-sys-color-on-surface-variant);
  font-weight: 600;
}

.matrix-row.libre-highlight .matrix-label {
  color: var(--md-sys-color-primary);
  font-weight: 700;
}

.matrix-val {
  font-family: var(--font-mono);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .table-wrapper {
    display: none;
  }
  .comparison-cards-mobile {
    display: flex;
  }
  .matrix-row {
    flex-wrap: wrap;
  }
  .matrix-row.libre-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .matrix-val,
  .matrix-row .badge-tag-libre,
  .matrix-row .badge-tag-alt {
    white-space: normal;
    text-align: left;
    max-width: 100%;
    font-size: 0.76rem;
    line-height: 1.35;
  }
}

/* ==========================================================================
   Libre Ecosystem Tab (Balanced 3-column desktop / 1-column mobile)
   ========================================================================== */
.ecosystem-section {
  padding: 16px 0 70px;
  width: 100%;
  box-sizing: border-box;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  box-sizing: border-box;
}

.ecosystem-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-squircle);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-duration-standard) var(--motion-easing),
              border-color var(--motion-duration-standard) var(--motion-easing),
              box-shadow var(--motion-duration-standard) var(--motion-easing);
  position: relative;
  box-sizing: border-box;
}

.ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 190, 154, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.ecosystem-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.ecosystem-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--md-sys-color-surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-sys-color-secondary);
  flex-shrink: 0;
}

.ecosystem-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.ecosystem-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(230, 190, 154, 0.14);
  color: var(--md-sys-color-secondary);
  border: 1px solid rgba(230, 190, 154, 0.25);
  white-space: nowrap;
}

.ecosystem-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 10px;
}

.ecosystem-desc {
  font-size: 0.9rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ecosystem-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.eco-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-outline);
  white-space: nowrap;
}

.ecosystem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid var(--md-sys-color-outline-variant);
  transition: background var(--motion-duration-quick) var(--motion-easing),
              border-color var(--motion-duration-quick) var(--motion-easing),
              color var(--motion-duration-quick) var(--motion-easing),
              transform var(--motion-duration-quick) var(--motion-easing);
  margin-top: auto;
}

.ecosystem-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.ecosystem-btn:hover {
  background: var(--md-sys-color-secondary);
  color: var(--md-sys-color-on-secondary);
  border-color: var(--md-sys-color-secondary);
}

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

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: var(--md-sys-color-surface-container-lowest);
  border-top: 1px solid var(--md-sys-color-outline-subtle);
  padding: 40px 0 28px;
  box-sizing: border-box;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--md-sys-color-primary);
}

.footer-brand-tag {
  font-size: 0.82rem;
  color: var(--md-sys-color-on-surface-variant);
}

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

.footer-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--md-sys-color-on-surface-variant);
  transition: color var(--motion-duration-quick) var(--motion-easing);
  white-space: nowrap;
}

.footer-link-pill:hover {
  color: var(--md-sys-color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--md-sys-color-outline);
  padding-top: 20px;
  border-top: 1px solid var(--md-sys-color-outline-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Overview & FAQ Section (Google AI Overview & Rich Snippets)
   ========================================================================== */
.overview-faq-section {
  margin-top: 60px;
  margin-bottom: 60px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.faq-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.faq-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 44px;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--motion-duration-quick) var(--motion-easing),
              background var(--motion-duration-quick) var(--motion-easing),
              color var(--motion-duration-quick) var(--motion-easing),
              border-color var(--motion-duration-quick) var(--motion-easing),
              box-shadow var(--motion-duration-quick) var(--motion-easing);
  box-sizing: border-box;
}

.faq-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.faq-btn-primary {
  background: linear-gradient(135deg, var(--md-sys-color-primary), #FFA742);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 4px 16px rgba(255, 184, 112, 0.25);
}

.faq-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 184, 112, 0.4);
}

.faq-btn-secondary {
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  border: 1px solid var(--md-sys-color-outline-variant);
}

.faq-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-primary);
  background: var(--md-sys-color-surface-container-highest);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.faq-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--radius-squircle);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-duration-standard) var(--motion-easing),
              border-color var(--motion-duration-standard) var(--motion-easing),
              box-shadow var(--motion-duration-standard) var(--motion-easing);
  position: relative;
  overflow: hidden;
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 112, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

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

.faq-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--md-sys-color-primary);
  flex-shrink: 0;
}

.faq-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.faq-question {
  font-size: 1.08rem;
  font-weight: 700;
  color: #FFF;
  margin: 0;
  line-height: 1.35;
}

.faq-answer {
  font-size: 0.94rem;
  color: var(--md-sys-color-on-surface-variant);
  line-height: 1.6;
  margin: 0;
}

.faq-answer a {
  color: var(--md-sys-color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: #FFF;
}

/* Responsive Adaptations */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.15;
    min-height: 4.14rem;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .split-pill-container {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
  }

  .split-pill-primary {
    flex: 1;
    justify-content: center;
    font-size: clamp(0.74rem, 3.2vw, 0.84rem);
    padding: 12px 8px;
    min-width: 0;
    min-height: 48px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.25;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .split-pill-dropdown-btn {
    padding: 0 12px;
    flex-shrink: 0;
  }

  .variant-dropdown-menu {
    width: 100%;
    max-width: 100%;
    left: 0;
  }

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

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

  .faq-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-btn {
    justify-content: center;
    width: 100%;
  }
}
