/* TrekCrumbs — components.css
   Component-level styles: hero, feature cards, comparison table, crumb grid,
   screenshot gallery, philosophy list, footer, floating bottom bar.
*/

/* =========================================================
   HERO  (Section 01) — dark two-column layout
   ========================================================= */
.hero {
  padding: 20px 0 var(--space-9);
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

/* Radial orb — blue, top-left */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,110,219,0.22) 0%, transparent 65%);
  pointer-events: none;
}

/* Radial orb — coral, bottom-right */
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,85,79,0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Two-column grid: copy left, screenshot right */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  /* left column — intentionally unstyled; child elements handle spacing */
}

.hero__screenshot {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: start;
}

.hero__screenshot-img {
  max-height: 540px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.40);
}

.hero__logo {
  margin-bottom: var(--space-8); /* 64px gap before the headline */
}

.hero__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.hero__logo-icon {
  height: 80px;
  width: auto;
}

.hero__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hero__wordmark-accent {
  color: var(--color-coral);
}

/* Hero heading: white on dark */
.hero h1,
.hero__headline {
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  font-family: var(--font-body);
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.hero__badges {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}

.hero__badges a {
  display: inline-block;
}

.hero__badges img {
  height: 44px;
  width: auto;
}

/* =========================================================
   WHY THIS EXISTS  (Section 02) — split layout with image
   ========================================================= */
.why-exists-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  margin-top: var(--space-5);
}

.why-exists-image {
  background: transparent;
}

.why-exists-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.why-exists p {
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.why-exists h3 {
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

/* =========================================================
   FEATURE CARDS  (Section 04)
   Three columns on desktop — prevents Fast Exports orphan on desktop.
   ========================================================= */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin: var(--space-5) 0;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.feature-card__body {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.65;
}

/* =========================================================
   COMPARISON TABLE  (Section 04)
   ========================================================= */
.comparison-wrap {
  margin-top: var(--space-6);
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  min-width: 480px;
}

.comparison-table th {
  background: var(--color-dark);
  color: var(--color-blue);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}

.comparison-table th:first-child {
  color: rgba(255,255,255,0.8);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text);
  vertical-align: middle;
  line-height: 1.5;
}

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

.comparison-table tr:hover td {
  background: var(--color-bg);
}

/* =========================================================
   CRUMB GRID  (Section 03)
   Four columns on desktop, two on mobile — eight items, no orphan.
   ========================================================= */
.crumb-grid-wrap {
  margin-bottom: var(--space-5);
}

.crumb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
}

.crumb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-2);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  user-select: none;
}

.crumb-item:hover {
  background: rgba(42, 110, 219, 0.07);
  box-shadow: 0 0 0 1.5px var(--color-blue), var(--shadow-sm);
}

.crumb-item.is-active {
  background: var(--color-blue);
  box-shadow: 0 4px 16px rgba(42, 110, 219, 0.30);
}

.crumb-item.is-active .crumb-item__icon {
  filter: brightness(0) invert(1);
}

.crumb-item.is-active .crumb-item__label {
  color: #ffffff;
}

.crumb-item__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.crumb-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-body);
}

/* Crumb panel — content panel below the grid */
.crumb-panel {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-top: var(--space-2);
  transition: opacity 0.15s ease;
}

.crumb-panel__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

.crumb-panel__body {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.65;
}

/* Portrait screenshot sizing inside split layout */
.why-exists-image .screenshot-portrait {
  max-height: 440px;
  width: auto;
  margin: 0 auto;
}

/* =========================================================
   SCREENSHOT GALLERY  (Section 05)
   ========================================================= */
.screenshot-gallery {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding: var(--space-3) 0 var(--space-2);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshot-gallery::-webkit-scrollbar {
  height: 4px;
}

.screenshot-gallery::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: 2px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  background: var(--color-blue);
  border-radius: 2px;
}

.screenshot-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-item img {
  height: 400px;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.screenshot-item figcaption {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: var(--space-1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================
   PHILOSOPHY FIVE-LINER  (Section 06)
   ========================================================= */
.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-5) 0;
}

.philosophy-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Render pin.svg as Trek Blue mask */
.philosophy-item__pin {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-color: var(--color-blue);
  -webkit-mask-image: url('/images/logos/pin.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url('/images/logos/pin.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.philosophy-item__text {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* =========================================================
   FINAL DOWNLOAD CTA  (Section 07)
   ========================================================= */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: var(--space-2);
}

.cta-section h3 {
  color: var(--color-muted);
  font-weight: 400;
  margin-bottom: var(--space-5);
}

.badge-row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-row a {
  display: inline-block;
}

.badge-row img {
  height: 48px;
  width: auto;
}

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: var(--space-5) 0 var(--space-3);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-6);
}

.footer-brand__wordmark {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.footer-brand__tagline {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: var(--space-1);
  line-height: 1.5;
}

.footer-brand__copy {
  font-size: 12px;
  color: var(--color-muted);
}

.footer-col__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  display: block;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-col a {
  font-size: 13px;
  color: var(--color-muted);
  text-decoration: none;
}

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

.footer-credit {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: 11px;
  color: var(--color-muted);
  text-align: center;
}

.footer-credit a {
  color: var(--color-muted);
  text-decoration: underline;
}

/* =========================================================
   FLOATING BOTTOM BAR — centered pill, always visible
   Replaces the old full-width fixed bar.
   ========================================================= */
.bottom-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1000px;
  z-index: 1000;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0 var(--space-4);
  min-height: var(--bar-height);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.12);
}

.bottom-bar__badges {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-shrink: 0;
}

.bottom-bar__badges a {
  display: inline-flex;
  align-items: center;
}

.bottom-bar__badges img {
  height: 32px;
  width: auto;
}

.bottom-bar__divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.bottom-bar__nav {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.bottom-bar__nav a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.bottom-bar__nav a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet — 768px */
@media (max-width: 768px) {
  /* Hero: stack to single column */
  .hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .hero__screenshot-img {
    max-height: 320px;
  }


  /* Section 02: stack image above copy */
  .why-exists-layout {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .why-exists-image {
    order: -1;
  }

  /* Feature cards: two columns at tablet */
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer inner: two columns */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Screenshot gallery */
  .screenshot-item img {
    height: 280px;
  }

  /* Philosophy */
  .philosophy-item__text {
    font-size: 18px;
  }

  /* Bottom bar: shrink badges and nav gap for pill at mobile */
  .bottom-bar {
    padding: 0 var(--space-3);
  }

  .bottom-bar__badges img {
    height: 28px;
  }

  .bottom-bar__nav {
    gap: var(--space-2);
  }

  .bottom-bar__nav a {
    font-size: 12px;
  }

  .bottom-bar__nav .hide-mobile {
    display: none;
  }
}

/* Small mobile — 480px */
@media (max-width: 480px) {
  /* Crumb grid: two columns on mobile */
  .crumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Feature cards: single column on small mobile */
  .feature-cards {
    grid-template-columns: 1fr;
  }

  /* Footer: single column */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .footer-brand {
    grid-column: auto;
  }

  .bottom-bar__nav .hide-small {
    display: none;
  }
}

/* =========================================================
   INNER PAGE HERO
   Tier 1 (expressive): why-trekcrumbs, how-it-works, faq,
                         release-notes, roadmap
   Tier 2 (minimal):    contact, legal, privacy, terms
   ========================================================= */
.inner-hero {
  padding: var(--space-8) 0 var(--space-7);
  background: var(--color-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inner-hero > .container {
  position: relative;
  z-index: 1;
}

.inner-hero .eyebrow {
  color: var(--color-blue);
}

.inner-hero h1 {
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.inner-hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  font-family: var(--font-body);
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Radial orbs — blue top-left */
.inner-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,110,219,0.22) 0%, transparent 65%);
  pointer-events: none;
}

/* Radial orb — coral bottom-right */
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,85,79,0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Tier 2 — minimal (less padding, no orbs) */
.inner-hero--minimal {
  padding: var(--space-6) 0 var(--space-5);
}

.inner-hero--minimal::before,
.inner-hero--minimal::after {
  display: none;
}

/* =========================================================
   PROSE LAYOUT — legal and policy pages
   ========================================================= */
.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.prose h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-1);
}

.prose p {
  margin-bottom: var(--space-2);
}

.prose ul,
.prose ol {
  list-style: disc;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
}

.prose li {
  margin-bottom: var(--space-1);
  line-height: 1.75;
}

.prose address {
  font-style: normal;
  margin-bottom: var(--space-2);
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-list {
  max-width: 800px;
  margin: var(--space-5) 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-3) 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.faq-question__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-body);
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item.is-open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 var(--space-3);
  color: var(--color-text);
  line-height: 1.75;
  font-size: 15px;
}

.faq-answer.is-open {
  display: block;
}

.faq-answer code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  background: var(--color-border);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  white-space: nowrap;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  margin-top: var(--space-5);
}

.contact-email-link {
  display: inline-block;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--color-blue);
  margin-top: var(--space-2);
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.social-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.social-item:hover {
  text-decoration: none;
}

.social-item:hover .social-item__name {
  color: var(--color-blue);
}

.social-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.social-item__name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 15px;
  transition: color 0.15s;
}

/* =========================================================
   RELEASE NOTES — two-column layout
   ========================================================= */
.relnotes-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-top: var(--space-5);
}

.relnotes-sidebar {
  position: sticky;
  top: calc(var(--bar-height) + 32px);
}

.relnotes-sidebar__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
  display: block;
}

.relnotes-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.relnotes-nav__item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}

.relnotes-nav__item:hover {
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
}

.relnotes-nav__item.is-active {
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.relnotes-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-blue);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 100px;
  flex-shrink: 0;
}

.relnotes-content {
  min-height: 400px;
}

.relnotes-content__loading {
  color: var(--color-muted);
  font-style: italic;
  padding: var(--space-3) 0;
}

/* Rendered markdown in release notes */
.relnotes-body h1,
.relnotes-body h2,
.relnotes-body h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.relnotes-body h1:first-child,
.relnotes-body h2:first-child {
  margin-top: 0;
}

.relnotes-body p {
  margin-bottom: var(--space-2);
}

.relnotes-body ul,
.relnotes-body ol {
  list-style: disc;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
}

.relnotes-body li {
  margin-bottom: 4px;
  line-height: 1.7;
}

.relnotes-body code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  background: var(--color-border);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.relnotes-body pre {
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: var(--space-3);
}

.relnotes-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* =========================================================
   ROADMAP FEATURE LISTS
   ========================================================= */
.roadmap-features {
  list-style: none;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roadmap-features li {
  padding: var(--space-2) var(--space-3);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.roadmap-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-left: 8px;
  background: var(--color-bg);
  padding: 1px 6px;
  border-radius: 100px;
  vertical-align: middle;
}

/* =========================================================
   404 PAGE
   ========================================================= */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.page-404__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-404__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.page-404__number {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  color: var(--color-coral);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-3);
}

.page-404 h1 {
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.page-404 h2 {
  color: rgba(255,255,255,0.6);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  font-family: var(--font-body);
  margin-bottom: var(--space-5);
  line-height: 1.5;
  letter-spacing: 0;
}

.page-404__body {
  color: rgba(255,255,255,0.55);
  font-size: 16px;
  margin-bottom: var(--space-5);
}

.btn-primary {
  display: inline-block;
  background: var(--color-coral);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.15s;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  opacity: 0.88;
  text-decoration: none;
  color: #ffffff;
}

/* =========================================================
   INNER PAGE RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

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

  .relnotes-sidebar {
    position: static;
  }

  .relnotes-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .relnotes-nav__item {
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .inner-hero {
    padding: var(--space-6) 0 var(--space-5);
  }

  .faq-list {
    margin: var(--space-4) 0;
  }
}
