/* ─── Self-hosted Sora font (baked at build, no external network requests) ─── */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/sora-regular-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
  --bg: #0b0f12;
  --surface: #131a1f;
  --surface-soft: #1a242c;
  --text: #ecf2f7;
  --muted: #9ca9b5;
  --brand: #ff6a1a;
  --brand-strong: #e25208;
  --line: #27313a;
  --ok: #21b57f;
  --radius: 20px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  --theme-glow: rgba(255, 162, 79, 0.24);
  --theme-glow-soft: rgba(223, 112, 78, 0.16);
  --surface-air: color-mix(in oklab, var(--surface) 72%, transparent 28%);
  --surface-air-soft: color-mix(in oklab, var(--surface-soft) 64%, transparent 36%);
  --line-soft: rgba(255, 255, 255, 0.12);
  --theme-bg-image: image-set(url('/backgrounds/atmo-dawn.png') type('image/png'),
      url('/backgrounds/atmo-dawn.webp') type('image/webp'),
      url('/backgrounds/atmo-dawn.svg') type('image/svg+xml'));
  --scroll-shift: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 90% -10%, var(--theme-glow), transparent 70%),
    radial-gradient(900px 500px at -20% 10%, var(--theme-glow-soft), transparent 60%),
    var(--bg);
  line-height: 1.6;
}



.page-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--theme-bg-image);
  background-size: cover;
  background-position: center calc(50% + var(--scroll-shift));
  opacity: 0.44;
  pointer-events: none;
  transition: background-image 280ms ease, opacity 280ms ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #ff6a1a, #ffd084);
  box-shadow: 0 0 16px rgba(255, 106, 26, 0.8);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 18, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.7rem;
  z-index: 999;
  border-radius: 8px;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--brand), #ff8c49);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff6a1a, #ffd084);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links a.btn {
  color: #fff;
}

.nav-links a.btn::after {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero.hero--with-media {
  position: relative;
  overflow: clip;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 9, 14, 0.34), rgba(5, 9, 14, 0.6)),
    radial-gradient(72% 56% at 30% 44%, rgba(255, 130, 56, 0.22), transparent 70%);
}

.hero-media-poster,
.hero-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media-poster {
  opacity: 0.45;
}

.hero-media-video {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: clamp(1.02rem, 2.1vw, 1.3rem);
  max-width: 760px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
}

.section {
  padding: 2.5rem 0;
}

.section h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  margin: 0 0 0.8rem;
  line-height: 1.15;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: color-mix(in oklab, var(--surface) 76%, transparent 24%);
  backdrop-filter: blur(8px) saturate(112%);
  padding: 1.1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin-top: 0;
}

.card p,
.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.6rem;
}

.page-title {
  padding: 3rem 0 1rem;
}

.page-title h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.1;
  margin: 0;
}

.text-block {
  border: 1px solid var(--line-soft);
  background: var(--surface-air);
  backdrop-filter: blur(10px) saturate(112%);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.text-block h2,
.text-block h3 {
  margin-top: 0;
}

.text-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.text-block p:last-child,
.card p:last-child,
.cta-panel p:last-child {
  margin-bottom: 0;
}

.cta-panel {
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(255, 148, 87, 0.16), transparent 70%),
    var(--surface-air-soft);
  border: 1px solid rgba(255, 168, 121, 0.26);
  backdrop-filter: blur(12px) saturate(118%);
  border-radius: 24px;
  padding: 1.3rem;
  color: var(--text);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.cta-panel h2,
.cta-panel p {
  margin-top: 0;
}

.cta-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.section-card {
  background: var(--surface-air);
  border-color: var(--line-soft);
}

.section-card--wide {
  max-width: min(920px, 100%);
}

.section-card--accent {
  background:
    linear-gradient(150deg, rgba(255, 106, 26, 0.07), rgba(255, 106, 26, 0.015)),
    var(--surface-air-soft);
}





.grid-3 .card {
  background: color-mix(in oklab, var(--surface) 74%, transparent 26%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0.35rem 0;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(520px, calc(100% - 2rem));
  z-index: 90;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(10, 14, 18, 0.68);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  padding: 0.6rem 0.7rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  justify-content: space-between;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: color-mix(in oklab, var(--muted) 86%, #fff 14%);
  font-size: 0.84rem;
  line-height: 1.4;
}

.cookie-banner p a {
  color: var(--text);
}

.cookie-actions {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 0.45rem 0.62rem;
  border-radius: 10px;
  font-size: 0.78rem;
}

.cookie-actions [data-cookie-dismiss] {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.reveal {
  opacity: 0;
  transform: translateY(15px) scale(0.99);
  transition: opacity 300ms ease, transform 300ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Markdown Rendering Styles */
.prose {
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1.5em;
  margin-bottom: 0.8em;
  color: #fff;
}

.prose h1 {
  font-size: 2.2rem;
}

.prose h2 {
  font-size: 1.8rem;
}

.prose h3 {
  font-size: 1.4rem;
}

.prose p {
  margin-bottom: 1.2em;
  color: var(--muted);
}

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

.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(255, 106, 26, 0.4);
  text-underline-offset: 4px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.prose a:hover {
  text-decoration-color: var(--brand);
  color: #fff;
}

.prose ul,
.prose ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.5em;
}

.prose strong,
.prose b {
  color: #fff;
  font-weight: 700;
}

.prose blockquote {
  border-left: 4px solid var(--brand);
  margin-left: 0;
  padding-left: 1.2em;
  font-style: italic;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Sliding Marquee Component */
.marquee-section {
  padding: 2.5rem 0;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
}

.marquee-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  padding: 0 1.5rem;
  animation: slide 60s linear infinite;
  width: max-content;
}

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

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

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

.marquee-card {
  width: 340px;
  flex: 0 0 auto;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: color-mix(in oklab, var(--surface) 76%, transparent 24%);
  backdrop-filter: blur(8px) saturate(112%);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}

.marquee-card:hover,
.marquee-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 26, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.marquee-card h3 {
  margin: 0.5rem 0;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #fff;
}

.marquee-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.marquee-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
}

@media (max-width: 920px) {
  .container {
    width: min(1120px, calc(100% - 1.6rem));
  }

  .hero {
    padding: 4.2rem 0 2.6rem;
  }

  .page-title {
    padding: 2.4rem 0 0.9rem;
  }

  .section {
    padding: 2.1rem 0;
  }

  .grid {
    gap: 0.92rem;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    line-height: 1.55;
  }

  .container {
    width: min(1120px, calc(100% - 1.2rem));
  }

  .site-header-inner {
    min-height: 66px;
  }

  .brand {
    letter-spacing: 0.04em;
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .nav-toggle {
    display: inline-block;
    padding: 0.5rem 0.68rem;
    border-radius: 10px;
    font-size: 0.86rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    background: rgba(11, 15, 18, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.72rem 0.7rem 0.84rem;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-links a {
    font-size: 0.92rem;
  }

  .btn {
    width: 100%;
    min-height: 44px;
    padding: 0.74rem 0.88rem;
    border-radius: 12px;
    font-size: 0.92rem;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    right: 0.6rem;
    left: 0.6rem;
    width: auto;
    border-radius: 12px;
    padding: 0.55rem 0.6rem;
    gap: 0.5rem;
  }

  .cookie-banner p {
    font-size: 0.8rem;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    gap: 0.68rem;
  }

  .stat {
    padding: 0.85rem;
  }

  .stat strong {
    font-size: 1.42rem;
  }

  .hero {
    padding: 3.2rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 10vw, 2.4rem);
    line-height: 1.12;
  }

  .hero p {
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 1rem;
    gap: 0.6rem;
  }

  .page-title {
    padding: 2rem 0 0.75rem;
  }

  .page-title h1 {
    font-size: clamp(1.72rem, 8.6vw, 2.5rem);
    line-height: 1.13;
  }

  .section {
    padding: 1.55rem 0;
  }

  .section h2 {
    font-size: clamp(1.3rem, 7vw, 1.75rem);
    line-height: 1.2;
    margin-bottom: 0.62rem;
  }

  .grid {
    gap: 0.74rem;
  }

  .card {
    border-radius: 16px;
    padding: 0.96rem;
  }

  .card h3 {
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 0.45rem;
  }

  .card p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .eyebrow {
    font-size: 0.67rem;
    letter-spacing: 0.11em;
    margin-bottom: 0.46rem;
  }

  .text-block,
  .cta-panel {
    border-radius: 18px;
    padding: 1.05rem;
  }

  .text-block p,
  .text-block li,
  .cta-panel p {
    font-size: 0.93rem;
    line-height: 1.52;
  }

  .text-block ul {
    padding-left: 1rem;
  }


  @media (max-width: 480px) {
    .container {
      width: min(1120px, calc(100% - 0.9rem));
    }

    .hero {
      padding: 2.75rem 0 1.7rem;
    }

    .section {
      padding: 1.25rem 0;
    }

    .page-title {
      padding: 1.65rem 0 0.62rem;
    }

    .page-title h1 {
      font-size: clamp(1.58rem, 8.8vw, 2rem);
    }

    .card,
    .text-block,
    .cta-panel {
      border-radius: 14px;
      padding: 0.9rem;
    }

    .btn {
      min-height: 42px;
      font-size: 0.9rem;
    }

    .cookie-banner {
      left: 0.45rem;
      right: 0.45rem;
    }
  }

  @media (max-width: 390px) {
    .container {
      width: min(1120px, calc(100% - 0.7rem));
    }

    .site-header-inner {
      min-height: 62px;
    }

    .brand {
      font-size: 0.88rem;
    }

    .brand-mark {
      width: 30px;
      height: 30px;
      border-radius: 8px;
    }

    .nav-links {
      top: 62px;
      padding: 0.62rem 0.55rem 0.72rem;
      gap: 0.42rem;
    }

    .hero {
      padding: 2.45rem 0 1.45rem;
    }

    .hero h1 {
      font-size: clamp(1.46rem, 9.4vw, 1.8rem);
      line-height: 1.14;
    }

    .hero p {
      font-size: 0.92rem;
      line-height: 1.48;
    }

    .hero-actions {
      margin-top: 0.82rem;
      gap: 0.5rem;
    }

    .page-title {
      padding: 1.45rem 0 0.55rem;
    }

    .page-title h1 {
      font-size: clamp(1.4rem, 8.6vw, 1.72rem);
    }

    .section {
      padding: 1.05rem 0;
    }

    .section h2 {
      font-size: clamp(1.16rem, 6.8vw, 1.45rem);
      margin-bottom: 0.52rem;
    }

    .grid,
    .footer-grid {
      gap: 0.62rem;
    }

    .stats {
      margin-top: 1.2rem;
      gap: 0.56rem;
    }

    .stat {
      padding: 0.74rem;
    }

    .stat strong {
      font-size: 1.3rem;
    }

    .card,
    .text-block,
    .cta-panel {
      border-radius: 12px;
      padding: 0.78rem;
    }

    .card h3 {
      font-size: 0.98rem;
      margin-bottom: 0.4rem;
    }

    .card p,
    .text-block p,
    .text-block li,
    .cta-panel p {
      font-size: 0.89rem;
      line-height: 1.46;
    }

    .eyebrow {
      font-size: 0.63rem;
      margin-bottom: 0.4rem;
    }

    .btn {
      min-height: 40px;
      font-size: 0.87rem;
      padding: 0.64rem 0.76rem;
      border-radius: 11px;
    }

    .cookie-banner {
      left: 0.35rem;
      right: 0.35rem;
      padding: 0.48rem 0.52rem;
    }

    .cookie-banner p {
      font-size: 0.76rem;
    }

    .cookie-actions .btn {
      font-size: 0.76rem;
      padding: 0.42rem 0.52rem;
      min-height: 36px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }

    .reveal {
      opacity: 1;
      filter: none;
      transform: none;
    }

    .hero-media-video {
      display: none;
    }
  }