:root {
  --bg: #02060d;
  --bg-soft: #050b15;
  --panel: #07111d;
  --panel-strong: #0a1827;
  --panel-glass: rgba(7, 17, 29, 0.82);
  --text: #f4f8fc;
  --muted: #a7b8c8;
  --muted-2: #73889b;
  --blue: #0b69ff;
  --cyan: #35d9ff;
  --ice: #a6ebff;
  --orange: #ff7900;
  --orange-soft: #ffb23d;
  --line: rgba(120, 183, 255, 0.18);
  --line-strong: rgba(53, 217, 255, 0.42);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --max: 1220px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(11, 105, 255, 0.12), transparent 34%),
    radial-gradient(circle at 88% 24%, rgba(53, 217, 255, 0.06), transparent 26%),
    var(--bg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: #ffffff;
  background: rgba(11, 105, 255, 0.72);
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section + .section {
  border-top: 1px solid rgba(120, 183, 255, 0.08);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 48px;
}

.section-heading h2,
.app-detail-header h2,
.athena-message-copy h2,
.enterprise-copy h2,
.journey-copy h2,
.rmw-copy h2 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.enterprise-copy > p,
.journey-copy > p,
.rmw-copy > p {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.04rem;
}

.text-link,
.slider-text-link {
  color: var(--cyan);
  font-weight: 760;
  text-decoration: none;
}

.text-link:hover,
.slider-text-link:hover {
  color: #ffffff;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #0751c8);
  border-color: rgba(80, 184, 255, 0.36);
  box-shadow: 0 14px 38px rgba(11, 105, 255, 0.22);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line);
}

.skip-link {
  position: fixed;
  z-index: 5000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #ffffff;
  background: #000000;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* ================================================================
   HEADER
   ================================================================ */

.site-header {
  position: fixed;
  z-index: 2000;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(2, 6, 13, 0.92), rgba(2, 6, 13, 0.56));
  backdrop-filter: blur(12px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(2, 6, 13, 0.96);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  line-height: 1;
}

.brand-main,
.brand-domain {
  color: var(--orange);
}

.brand-main {
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: 0.045em;
}

.brand-domain {
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: #d5e3ef;
  font-size: 0.78rem;
  font-weight: 730;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--cyan);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(7, 17, 29, 0.85);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  min-height: 940px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  z-index: -4;
  inset: 0;
  background-image: url("../images/athena-hero-sales.png");
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
}

.hero-scrim {
  position: absolute;
  z-index: -3;
  inset: 0;
  /* Edge-only shading: the central image stays completely clear. */
  background:
    linear-gradient(90deg, rgba(2, 6, 13, 0.85) 0%, transparent 12%, transparent 88%, rgba(2, 6, 13, 0.85) 100%),
    linear-gradient(180deg, #02060d 0%, #02060d 13%, transparent 18%, transparent 82%, #02060d 87%, #02060d 100%);
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(53, 217, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 217, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}

.hero-content {
  padding-top: calc(var(--header-height) + 50px);
}

.hero-copy {
  width: min(680px, 62vw);
}

.hero-copy h1 {
  margin: 0 0 26px;
  max-width: 650px;
  font-size: clamp(3.6rem, 7.5vw, 7.6rem);
  line-height: 0.91;
  letter-spacing: -0.068em;
}

.hero-copy h1 em {
  display: block;
  color: var(--orange);
  font-style: normal;
}

.hero-copy blockquote {
  max-width: 620px;
  margin: 0 0 26px;
  padding: 20px 22px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  color: #e5f5ff;
  background: rgba(4, 12, 22, 0.55);
  font-size: 1.04rem;
}

.hero-intro {
  max-width: 650px;
  margin: 0;
  color: #bdd0df;
  font-size: 1.04rem;
}

/* ================================================================
   AI-FLOAT + PAPARAZZI INTRO
   ================================================================ */

.portal-intro-section {
  padding-top: 84px;
}

.portal-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: stretch;
}

.portal-product,
.papa-image-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(11, 105, 255, 0.09), rgba(255, 121, 0, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
}

.portal-product {
  padding: 34px;
}

.portal-product-primary {
  grid-row: span 2;
}

.portal-logo {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.portal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portal-logo-large {
  min-height: 330px;
}

.portal-logo-large img {
  max-height: 320px;
}

.portal-logo-medium img {
  max-height: 190px;
}

.portal-product-copy p {
  color: var(--muted);
}

.product-kicker {
  margin: 0 0 8px;
  color: var(--orange-soft) !important;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.papa-image-card {
  min-height: 280px;
  margin: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.papa-image {
  width: 100%;
  min-height: 250px;
  flex: 1;
  object-fit: cover;
  object-position: center 23%;
  border-radius: 16px;
}

.papa-image-card figcaption {
  padding: 13px 4px 2px;
  color: var(--orange-soft);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.purchase-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.coming-soon-buy {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px dashed rgba(255, 178, 61, 0.58);
  border-radius: 999px;
  color: #ffca78;
  background: rgba(255, 121, 0, 0.06);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

/* ================================================================
   ORCA + FOX MONKEY
   ================================================================ */

.package-section {
  background:
    linear-gradient(180deg, rgba(11, 105, 255, 0.03), transparent 34%),
    var(--bg-soft);
}

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

.package-card {
  min-height: 720px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.package-card-business {
  background:
    radial-gradient(circle at 85% 0%, rgba(11, 105, 255, 0.14), transparent 34%),
    var(--panel);
}

.package-card-personal {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 121, 0, 0.11), transparent 34%),
    var(--panel);
}

.package-super {
  min-height: 58px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.075em;
}

.package-logo {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.package-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.package-app-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: package-counter;
}

.package-app-list li {
  counter-increment: package-counter;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(120, 183, 255, 0.12);
}

.package-app-list li::before {
  content: counter(package-counter, decimal-leading-zero) " ·";
  color: var(--orange-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.package-app-list li strong,
.package-app-list li span {
  grid-column: 2;
}

.package-app-list li strong {
  margin-top: -22px;
  font-size: 0.9rem;
}

.package-app-list li span {
  color: var(--muted);
  font-size: 0.92rem;
}

.package-description {
  margin: 24px 0;
  color: #d1dce5;
  font-weight: 650;
}

.package-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================================================================
   MUSIC DISCOVERY
   ================================================================ */

.music-discovery-section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.athena-message-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(53, 217, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(11, 105, 255, 0.12), rgba(255, 121, 0, 0.025)),
    var(--panel);
  box-shadow: var(--shadow);
}

.athena-message-image img {
  width: 300px;
  height: 370px;
  object-fit: cover;
  object-position: center 23%;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.athena-subject,
.athena-pretitle {
  margin: 0 0 10px;
}

.athena-subject {
  color: #d9eef9;
  font-weight: 850;
}

.athena-pretitle {
  color: var(--muted);
}

.athena-message-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.athena-message-copy h2 em {
  display: block;
  color: var(--cyan);
  font-style: normal;
}

.athena-message-copy > p:not(.eyebrow):not(.athena-subject):not(.athena-pretitle) {
  max-width: 700px;
  color: var(--muted);
}

.athena-note {
  margin-top: 16px !important;
  font-size: 0.84rem;
}

/* ================================================================
   APP SLIDER
   ================================================================ */

.sales-apps-section {
  background:
    linear-gradient(180deg, rgba(53, 217, 255, 0.025), transparent),
    #030914;
}

.strip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}

.strip-head h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: -0.035em;
}

.strip-controls {
  display: flex;
  gap: 8px;
}

.strip-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  background: var(--panel);
  cursor: pointer;
}

.strip-controls button:hover:not(:disabled) {
  border-color: var(--line-strong);
  color: var(--cyan);
}

.strip-controls button:disabled {
  opacity: 0.34;
  cursor: default;
}

.swipe-hint {
  margin: 0 0 20px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.app-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(305px, 340px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(53, 217, 255, 0.35) transparent;
  padding: 4px 2px 18px;
}

.slider-app-card {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  overflow: hidden;
}

.slider-app-logo {
  min-height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 30%, rgba(11, 105, 255, 0.12), transparent 56%),
    rgba(0, 0, 0, 0.23);
  text-decoration: none;
}

.slider-app-logo img {
  width: 100%;
  height: 205px;
  object-fit: contain;
}

.slider-app-copy {
  padding: 24px 24px 10px;
}

.slider-app-copy h4 {
  margin: 0 0 7px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.app-tag,
.feature-tag {
  color: var(--orange-soft) !important;
  font-weight: 850;
}

.slider-app-copy p {
  color: var(--muted);
  font-size: 0.92rem;
}

.slider-app-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 24px 24px;
}

.slider-text-link {
  font-size: 0.8rem;
}

/* ================================================================
   MUSIC BUTTONS / PLAYER
   ================================================================ */

.music-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(53, 217, 255, 0.28);
  border-radius: 10px;
  color: #c7f5ff;
  background: rgba(11, 105, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 790;
  cursor: pointer;
}

.music-button:hover {
  border-color: var(--cyan);
  background: rgba(11, 105, 255, 0.17);
}

.music-button[aria-pressed="true"] {
  border-color: var(--orange);
  color: #ffd19a;
  background: rgba(255, 121, 0, 0.12);
}

.music-icon {
  font-size: 1.06rem;
}

.music-bars {
  display: none;
  height: 14px;
  align-items: center;
  gap: 2px;
}

.music-bars i {
  width: 2px;
  height: 8px;
  background: currentColor;
  animation: fox-eq 0.7s ease-in-out infinite alternate;
}

.music-bars i:nth-child(2) {
  height: 13px;
  animation-delay: -0.3s;
}

.music-bars i:nth-child(3) {
  height: 5px;
  animation-delay: -0.5s;
}

.music-bars i:nth-child(4) {
  height: 11px;
  animation-delay: -0.2s;
}

.music-button[aria-pressed="true"] .music-bars {
  display: flex;
}

@keyframes fox-eq {
  to {
    height: 3px;
  }
}

.fox-music-player {
  position: fixed;
  z-index: 2500;
  inset: auto 0 0;
  border-top: 1px solid rgba(53, 217, 255, 0.35);
  background: rgba(2, 8, 15, 0.97);
  box-shadow: 0 -14px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.fox-player-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 15px 0;
}

.fox-player-info {
  min-width: 0;
  flex: 1;
}

.fox-player-info span {
  display: block;
  color: var(--cyan);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.fox-player-info strong {
  display: block;
  margin-top: 3px;
  font-size: 0.94rem;
}

.fox-player-info small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.69rem;
}

.fox-player-main {
  min-width: 440px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.fox-player-main > button {
  padding: 8px 12px;
  border: 1px solid rgba(120, 183, 255, 0.3);
  border-radius: 8px;
  color: #e7f6ff;
  background: #0a1a2a;
  cursor: pointer;
}

.fox-player-progress {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.fox-player-progress input {
  width: 100%;
  accent-color: var(--blue);
}

.fox-player-progress span {
  color: var(--muted);
  font-size: 0.66rem;
  text-align: right;
}

.fox-audio-status:not(:empty) {
  margin: 0;
  padding: 8px 20px;
  border-top: 1px solid rgba(255, 121, 0, 0.2);
  color: #ffd19a;
  font-size: 0.78rem;
  text-align: center;
}

.has-player .site-footer {
  padding-bottom: 120px;
}

/* ================================================================
   APP DETAILS
   ================================================================ */

.app-detail-section {
  padding: 96px 0;
}

.app-detail-section.alternate {
  background: var(--bg-soft);
}

.app-detail {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(11, 105, 255, 0.055), transparent 38%),
    var(--panel);
  box-shadow: var(--shadow);
}

.app-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.app-detail-header h2 {
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.detail-logo {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.23);
}

.detail-logo img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.detail-logo-wide img {
  max-height: 165px;
}

.dual-logo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.split-logo-header {
  grid-template-columns: minmax(0, 1fr) 520px;
}

.detail-body {
  max-width: 1000px;
  padding-top: 30px;
}

.detail-body > p,
.capability-block p,
.comparison-list {
  color: var(--muted);
  font-size: 1.02rem;
}

.capability-block {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid rgba(53, 217, 255, 0.18);
  border-radius: 16px;
  background: rgba(11, 105, 255, 0.045);
}

.capability-block h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.25rem;
}

.capability-block p {
  margin: 0;
}

.key-features {
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  color: #d8e7f0 !important;
  background: rgba(255, 121, 0, 0.045);
}

.key-features strong {
  display: block;
  margin-bottom: 5px;
  color: var(--orange-soft);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.comparison-list {
  margin: 28px 0;
  padding-left: 22px;
}

.comparison-list li + li {
  margin-top: 10px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.compact-purchase-pair {
  width: auto;
  flex: 1;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  margin-top: 0;
}

.two-music-actions {
  align-items: stretch;
}

.full-action-row {
  flex-basis: 100%;
}

/* ================================================================
   HOW FOX WORKS
   ================================================================ */

.how-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(11, 105, 255, 0.11), transparent 32%),
    #020711;
}

.technology-grid,
.licensing-grid,
.reliability-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.technology-card,
.licensing-card,
.reliability-card,
.support-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
}

.technology-card h3,
.licensing-card h3,
.reliability-card h3,
.support-card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.technology-card p,
.licensing-card p,
.reliability-card p,
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-link-row {
  margin-top: 34px;
}

/* ================================================================
   LICENSING
   ================================================================ */

.licensing-section {
  background: var(--bg-soft);
}

.licensing-card {
  background:
    linear-gradient(145deg, rgba(255, 121, 0, 0.035), transparent 48%),
    var(--panel);
}

/* ================================================================
   RELIABILITY
   ================================================================ */

.reliability-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(53, 217, 255, 0.06), transparent 28%),
    #020711;
}

.reliability-close {
  margin-top: 42px;
  padding: 30px;
  border: 1px solid rgba(53, 217, 255, 0.22);
  border-radius: 18px;
  background: rgba(11, 105, 255, 0.06);
}

.reliability-close p {
  margin: 0 0 8px;
  color: #d8edf8;
  font-size: 1.08rem;
  font-weight: 760;
}

.reliability-close strong {
  color: var(--orange-soft);
  font-size: 1.18rem;
}

/* ================================================================
   FOX PLATFORM ENTERPRISE
   ================================================================ */

.enterprise-section {
  background:
    linear-gradient(110deg, rgba(11, 105, 255, 0.11), transparent 48%),
    var(--panel);
}

.enterprise-grid,
.rmw-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 70px;
  align-items: center;
}

.enterprise-logo,
.rmw-logo {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.24);
}

.enterprise-logo img,
.rmw-logo img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

/* ================================================================
   JOURNEY
   ================================================================ */

.journey-section {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 48%, rgba(255, 121, 0, 0.12), transparent 28%),
    radial-gradient(circle at 20% 28%, rgba(11, 105, 255, 0.15), transparent 34%),
    #02060d;
}

.journey-copy {
  max-width: 900px;
}

.journey-copy h2 {
  max-width: 850px;
}

.power-purpose {
  display: block;
  margin-top: 34px;
  color: var(--orange);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.04em;
}

/* ================================================================
   CUSTOMER SUPPORT
   ================================================================ */

.support-section {
  background: var(--bg-soft);
}

.support-contact {
  display: inline-block;
  margin-top: 20px;
  color: #ffca78;
  font-size: 0.82rem;
  font-weight: 800;
}

/* ================================================================
   RAPID MODULAR WEB
   ================================================================ */

.rmw-section {
  background:
    linear-gradient(120deg, rgba(255, 121, 0, 0.06), transparent 38%),
    var(--panel);
}

.rmw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.support-capture-share {
  display: block;
  margin-top: 34px;
  color: var(--cyan);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #01040a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
}

.footer-inner strong {
  color: var(--orange);
  letter-spacing: 0.08em;
}

.footer-inner p,
.footer-inner > span {
  margin: 2px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
}

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

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

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

/* ================================================================
   REVEAL MOTION
   ================================================================ */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* ================================================================
   RESPONSIVE — TABLET
   ================================================================ */

@media (max-width: 1020px) {
  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 0.72rem;
  }

  .hero-copy {
    width: min(660px, 72vw);
  }

  .portal-intro-grid,
  .enterprise-grid,
  .rmw-grid {
    grid-template-columns: 1fr;
  }

  .portal-product-primary {
    grid-row: auto;
  }

  .papa-image-card {
    min-height: 320px;
  }

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

  .package-card {
    min-height: auto;
  }

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

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

  .app-detail-header,
  .split-logo-header {
    grid-template-columns: 1fr;
  }

  .detail-logo {
    max-width: 460px;
  }

  .dual-logo-row {
    max-width: 680px;
  }

  .enterprise-logo,
  .rmw-logo {
    min-height: 250px;
  }
}

/* ================================================================
   RESPONSIVE — MOBILE NAV / CONTENT
   ================================================================ */

@media (max-width: 800px) {
  :root {
    --header-height: 68px;
  }

  .shell,
  .nav-shell {
    width: min(calc(100% - 30px), var(--max));
  }

  .section {
    padding: 82px 0;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 15px;
    width: min(320px, calc(100vw - 30px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(2, 6, 13, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: rgba(11, 105, 255, 0.09);
  }

  .hero {
    min-height: 900px;
    align-items: flex-start;
  }

  .hero-image {
    background-size: auto 100%;
    background-position: 61% center;
    opacity: 1;
  }


  .hero-content {
    padding-top: 132px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: 560px;
    font-size: clamp(3.1rem, 12vw, 5.2rem);
  }

  .hero-copy blockquote,
  .hero-intro {
    max-width: 94%;
  }

  .portal-logo-large {
    min-height: 250px;
  }

  .purchase-pair,
  .compact-purchase-pair {
    grid-template-columns: 1fr;
  }

  .athena-message-block {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 26px;
    padding: 26px;
  }

  .athena-message-image img {
    width: 180px;
    height: 250px;
  }

  .technology-grid,
  .licensing-grid,
  .reliability-grid {
    grid-template-columns: 1fr;
  }

  .app-detail {
    padding: 28px;
  }

  .dual-logo-row {
    grid-template-columns: 1fr 1fr;
  }

  .fox-player-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .fox-player-main {
    min-width: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE
   ================================================================ */

@media (max-width: 560px) {
  .section-heading h2,
  .app-detail-header h2,
  .enterprise-copy h2,
  .journey-copy h2,
  .rmw-copy h2 {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.25rem);
  }

  .portal-product,
  .package-card,
  .app-detail {
    padding: 22px;
  }

  .portal-logo-large {
    min-height: 210px;
  }

  .package-logo {
    height: 195px;
  }

  .athena-message-block {
    grid-template-columns: 1fr;
  }

  .athena-message-image img {
    width: 100%;
    height: 330px;
  }

  .athena-message-copy h2 {
    font-size: 2.7rem;
  }

  .strip-head {
    align-items: center;
  }

  .app-strip {
    grid-auto-columns: min(285px, 86vw);
  }

  .dual-logo-row {
    grid-template-columns: 1fr;
  }

  .detail-actions,
  .package-actions,
  .rmw-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .music-button,
  .coming-soon-buy,
  .button {
    width: 100%;
  }

  .fox-player-main {
    gap: 8px;
  }

  .fox-player-main > button {
    padding: 7px 9px;
  }
}


/* ================================================================
   STORE-ALIGNED BUYFOXAI REVISION — OCTOBER 2026
   ================================================================ */
.prediction-reality-grid {
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:22px;
  margin:34px 0 42px;
}
.narrative-card {
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px;
  background:rgba(7,15,26,.88);
  box-shadow:var(--shadow);
}
.reality-card { border-color:rgba(255,142,43,.55); }
.narrative-label {
  display:block;
  margin-bottom:9px;
  color:var(--orange);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.narrative-card h3 { margin-top:0; font-size:clamp(1.55rem,3vw,2.35rem); }
.narrative-card blockquote {
  margin:18px 0;
  padding:18px 20px;
  border-left:3px solid var(--cyan);
  background:rgba(3,9,17,.72);
  color:#e5f5ff;
}
.narrative-list { padding-left:20px; }
.narrative-list li { margin:11px 0; color:var(--muted); }
.reality-close { margin-top:20px; color:#fff; }
.revised-three-shot { margin-top:18px; }
.core-product-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:30px;
}
.core-product-card {
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px;
  background:rgba(5,13,23,.86);
}
.core-product-card h3 { font-size:2rem; margin:.25rem 0 .4rem; }
.core-product-card p { color:var(--muted); }
.store-cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:28px;
  padding:24px 26px;
  border:1px solid rgba(255,142,43,.5);
  border-radius:18px;
  background:linear-gradient(90deg,rgba(255,142,43,.08),rgba(53,217,255,.05));
}
.store-cta h3 { margin:.3rem 0 0; }
.commercial-app-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.commercial-app-grid .app-feature {
  grid-column:auto;
}
.commercial-app-grid .button { margin-top:12px; }

@media (max-width: 980px) {
  .prediction-reality-grid,
  .core-product-grid,
  .commercial-app-grid {
    grid-template-columns:1fr;
  }
}
@media (max-width: 700px) {
  .narrative-card,
  .core-product-card { padding:22px; }
  .store-cta { flex-direction:column; align-items:flex-start; }
}


/* ================================================================
   REVAMP PASS 1 — PRODUCT LOGOS, GATEWAYS, ENTERPRISE BRIDGE
   ================================================================ */
.product-logo-large {
  display:block;
  width:min(100%, 250px);
  height:180px;
  object-fit:contain;
  margin:0 auto 22px;
  border-radius:18px;
  background:#02050a;
}
.product-logo-small {
  display:block;
  width:112px;
  height:112px;
  object-fit:contain;
  margin:0 0 16px;
  border-radius:14px;
  background:#02050a;
}
.platform-logo-large {
  float:right;
  width:150px;
  height:150px;
  object-fit:contain;
  margin:0 0 16px 22px;
  border-radius:16px;
  background:#02050a;
}
.platform-logo-small {
  width:94px;
  height:94px;
  object-fit:contain;
  margin:0 0 18px;
  border-radius:12px;
  background:#02050a;
}
.gateway-section {
  background:
    radial-gradient(circle at 50% 15%, rgba(82,74,255,.10), transparent 38%),
    linear-gradient(180deg, rgba(4,10,19,.96), rgba(2,7,13,.98));
}
.gateway-heading {
  max-width:900px;
}
.gateway-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  margin-top:30px;
}
.gateway-card {
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  background:rgba(5,12,22,.92);
  box-shadow:var(--shadow);
}
.gateway-card img {
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}
.gateway-card h3 {
  margin:0;
  padding:20px 22px 24px;
  font-size:1.55rem;
  text-align:center;
}
.enterprise-bridge-section {
  padding-top:clamp(4rem,8vw,8rem);
  padding-bottom:clamp(4rem,8vw,8rem);
}
.enterprise-bridge {
  display:grid;
  grid-template-columns:minmax(230px,360px) minmax(0,1fr);
  gap:clamp(30px,6vw,80px);
  align-items:center;
  padding:clamp(26px,5vw,54px);
  border:1px solid rgba(255,142,43,.45);
  border-radius:24px;
  background:
    linear-gradient(120deg,rgba(255,142,43,.07),rgba(53,217,255,.06)),
    rgba(5,12,22,.92);
  box-shadow:var(--shadow);
}
.enterprise-bridge img {
  width:100%;
  max-width:340px;
  aspect-ratio:1/1;
  object-fit:contain;
  border-radius:20px;
}
.enterprise-bridge h2 {
  margin:.35rem 0 1.4rem;
  max-width:720px;
}

@media (max-width: 820px) {
  .gateway-grid,
  .enterprise-bridge {
    grid-template-columns:1fr;
  }
  .enterprise-bridge {
    text-align:center;
  }
  .enterprise-bridge img {
    margin:0 auto;
    max-width:260px;
  }
  .platform-logo-large {
    float:none;
    display:block;
    width:120px;
    height:120px;
    margin:0 auto 18px;
  }
}
@media (max-width: 560px) {
  .product-logo-large {
    height:auto;
    max-height:220px;
  }
  .product-logo-small {
    width:92px;
    height:92px;
  }
  .gateway-card h3 {
    font-size:1.3rem;
  }
}


/* ================================================================
   REVAMP PASS 2 — GATEWAYS + ATLAS
   ================================================================ */
.gateway-grid {
  align-items:start;
}
.gateway-card.gateway-card-text-top {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:26px 24px 30px;
}
.gateway-card.gateway-card-text-top .gateway-copy {
  width:100%;
  margin-bottom:18px;
}
.gateway-card.gateway-card-text-top h3 {
  padding:0;
  text-align:center;
}
.gateway-card.gateway-card-text-top img {
  width:min(100%, 420px);
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.05);
  box-shadow:0 18px 42px rgba(0,0,0,0.25);
}

.atlas-section {
  background:
    radial-gradient(circle at 18% 14%, rgba(11,105,255,0.14), transparent 34%),
    radial-gradient(circle at 84% 24%, rgba(53,217,255,0.08), transparent 28%),
    linear-gradient(180deg, rgba(3,8,16,0.98), rgba(4,10,18,0.98));
}
.atlas-layout {
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap:clamp(28px, 4vw, 54px);
  align-items:center;
}
.atlas-copy {
  max-width:700px;
}
.atlas-copy h2 {
  margin:0 0 18px;
  font-size:clamp(2.5rem, 5vw, 4.7rem);
  line-height:0.98;
  letter-spacing:-0.05em;
}
.atlas-copy h2 span {
  color:var(--ice);
}
.atlas-copy blockquote {
  margin:0 0 24px;
  padding:18px 20px;
  border-left:3px solid var(--cyan);
  border-radius:14px;
  background:rgba(9, 18, 32, 0.72);
  color:var(--text);
  font-size:1.14rem;
  font-weight:700;
}
.atlas-copy p {
  color:var(--muted);
  font-size:1.05rem;
}
.atlas-copy .atlas-problem {
  color:var(--text);
}
.atlas-copy .atlas-highlight {
  color:var(--ice);
  font-weight:800;
}
.atlas-hero {
  justify-self:end;
  width:100%;
}
.atlas-hero img {
  width:100%;
  max-width:760px;
  border-radius:28px;
  border:1px solid rgba(53,217,255,0.16);
  box-shadow:0 30px 80px rgba(0,0,0,0.38);
}

@media (max-width: 980px) {
  .atlas-layout {
    grid-template-columns:1fr;
  }
  .atlas-copy {
    max-width:none;
  }
  .atlas-hero {
    justify-self:center;
  }
}
@media (max-width: 560px) {
  .gateway-card.gateway-card-text-top {
    padding:20px 18px 22px;
  }
  .atlas-copy blockquote {
    font-size:1rem;
  }
}

/* BUYFOXAI ICMS R2 — October 6, 2026 */
.icms-explanation {
  max-width: 880px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.icms-explanation p { margin: 0 0 1.25em; }
.icms-explanation p:first-child { color: var(--text); }
.icms-explanation p:last-child { margin-bottom: 0; }
.hero-copy h1,
.hero-copy .eyebrow,
.hero-note,
.hero-bottom p { text-shadow: 0 2px 5px #02060d, 0 0 2px #02060d; }
