/* ============================================================
   Vega OS Migration — 2Coders × Apple-grade design
   ============================================================ */

:root {
  --royal-blue: #0032DB;
  --royal-blue-hover: #0023C2;
  --dark-blue:  #01114A;
  --cyan:       #00D3C6;   /* light backgrounds only */
  --pure-cyan:  #45F3DC;   /* dark backgrounds only */
  --black:      #010101;
  --dark-gray:  #434343;
  --gray:       #666666;
  --n-100:      #F5F5F5;
  --n-300:      #D4D4D4;
  --gradient:   linear-gradient(57deg, #0032DB 0%, #01114A 100%);
  --font:       'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --radius-card: 24px;
  --radius-pill: 980px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--black);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: var(--royal-blue); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.sec-dark :focus-visible, .site-nav :focus-visible {
  outline-color: var(--pure-cyan);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 max(24px, 5vw); }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 max(24px, 5vw); }

/* ---------- Typography ---------- */

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.sec-dark .eyebrow { color: var(--pure-cyan); }
.sec-light .eyebrow { color: var(--royal-blue); }

.display-1 {
  font-size: clamp(2.5rem, 6.8vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display-2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.subhead {
  font-size: clamp(1.0625rem, 1.8vw, 1.375rem);
  font-weight: 400;
  line-height: 1.55;
  max-width: 720px;
  text-wrap: pretty;
}
.sec-dark .subhead { color: rgba(255, 255, 255, 0.72); }
.sec-light .subhead { color: var(--gray); }

/* ---------- Sections ---------- */

section { padding: clamp(88px, 11vw, 160px) 0; }
.sec-dark  { background: var(--black); color: #fff; }
.sec-light { background: #fff; color: var(--black); }

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--royal-blue);
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  padding: 18px 36px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-primary:hover { background: var(--royal-blue-hover); transform: scale(1.03); }
.btn-primary:active { transform: scale(0.99); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 500;
  color: var(--royal-blue);
}
.link-arrow .chev { transition: transform 0.3s var(--ease); font-size: 1.2em; line-height: 1; }
.link-arrow:hover .chev { transform: translateX(4px); }
.sec-dark .link-arrow { color: var(--pure-cyan); }

.cta-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

/* ---------- Scroll reveals ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease), filter 0.95s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .btn-primary, .link-arrow .chev { transition: none; }
  [data-plx] { transform: none !important; }
}

/* ---------- Parallax background media ---------- */

.bg-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.bg-media img {
  position: absolute;
  left: 0;
  top: -90px;
  width: 100%;
  height: calc(100% + 180px);
  object-fit: cover;
  will-change: transform;
}
.bg-media::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* ---------- Hero headline word reveal ---------- */

.display-1.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.display-1.split .wi {
  display: inline-block;
  transform: translateY(112%);
  opacity: 0;
  animation: wordUp 1s var(--ease) forwards;
  animation-delay: calc(0.12s + var(--i) * 0.05s);
}
@keyframes wordUp {
  to { transform: none; opacity: 1; }
}

/* ---------- Sticky nav ---------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(1, 1, 1, 0.5);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s var(--ease);
}
.site-nav.scrolled { background: rgba(1, 1, 1, 0.78); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(24px, 5vw);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.4s var(--ease);
}
.site-nav.scrolled .nav-inner { height: 52px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 20px; width: auto; filter: brightness(0) invert(1); }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-cta { font-size: 14px; padding: 10px 22px; }

@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(140px, 16vh, 200px) 0 0;
  background:
    radial-gradient(1000px 620px at 72% -12%, rgba(0, 50, 219, 0.4), transparent 65%),
    linear-gradient(180deg, var(--dark-blue) 0%, var(--black) 62%);
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; text-align: center; }
.hero-copy .display-1 { margin: 0 auto 28px; max-width: 17ch; }
.hero-copy .subhead { margin: 0 auto 40px; }
.hero .cta-row { justify-content: center; }

.hero-media {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 96px);
  display: flex;
  justify-content: center;
}
.hero-media .frame {
  position: relative;
  width: min(1080px, 92vw);
  border-radius: clamp(12px, 1.6vw, 20px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 90px rgba(0, 50, 219, 0.35),
    0 8px 30px rgba(1, 1, 1, 0.7);
  will-change: transform;
  transform-origin: 50% 100%;
}
.hero-copy { will-change: transform, opacity; }
.hero-glow { will-change: opacity; transition: opacity 0.2s linear; }
.hero-media img { width: 100%; height: auto; }
.hero-media .frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 17, 74, 0) 60%, rgba(1, 1, 1, 0.35) 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  bottom: -22%; left: 50%;
  width: min(1400px, 130vw); height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 50, 219, 0.45) 0%, rgba(69, 243, 220, 0.08) 50%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: clamp(56px, 7vw, 96px);
  background: rgba(1, 1, 1, 0.4);
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px max(24px, 5vw);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-inner span {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}
.trust-inner span:first-child { border-left: none; }
.trust-inner strong { color: #fff; font-weight: 500; }
@media (max-width: 760px) {
  .trust-inner { flex-direction: column; align-items: center; gap: 10px; }
  .trust-inner span { border-left: none; padding: 0; white-space: normal; text-align: center; }
}

/* ---------- Urgency / countdown ---------- */

.urgency { position: relative; overflow: hidden; }
.urgency .bg-media::after {
  background: linear-gradient(180deg, rgba(1, 1, 1, 0.92) 0%, rgba(1, 17, 74, 0.82) 50%, rgba(1, 1, 1, 0.96) 100%);
}
.urgency > .container { position: relative; z-index: 1; }

.countdown {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(12px, 3vw, 36px);
  margin: clamp(40px, 5vw, 64px) 0 20px;
}
.count-unit { text-align: center; }
.count-unit .num {
  display: inline-block;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.count-unit .num.tick { animation: numTick 0.45s var(--ease); }
@keyframes numTick {
  0%   { opacity: 0.25; transform: translateY(0.12em); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .count-unit .num.tick { animation: none; }
}
.count-unit .lbl {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pure-cyan);
}
.count-sep {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300;
  color: rgba(69, 243, 220, 0.5);
  transform: translateY(-0.4em);
}
.countdown-note {
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 640px;
  margin: 0 auto;
}

/* Glass cards */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(56px, 7vw, 88px);
}
@media (max-width: 900px) { .glass-grid { grid-template-columns: 1fr; } }

.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .glass-card, .glass-card:hover { transition: none; transform: none; }
}
.glass-card .index {
  font-size: 14px;
  font-weight: 600;
  color: var(--pure-cyan);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 18px;
}
.glass-card h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 12px;
  text-wrap: balance;
}
.glass-card p { font-size: 15px; color: rgba(255, 255, 255, 0.65); }

/* ---------- Migration paths (light) ---------- */

.seg-toggle {
  display: inline-flex;
  background: var(--n-100);
  border: 1px solid var(--n-300);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin: 40px 0 48px;
}
.seg-toggle button {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  cursor: pointer;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.seg-toggle button[aria-selected="true"] {
  background: var(--royal-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 50, 219, 0.3);
}

.path-panel { display: none; }
.path-panel.active { display: block; animation: panelIn 0.55s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px) scale(0.985); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .path-panel.active { animation: none; }
}

.path-card {
  background: var(--n-100);
  border-radius: var(--radius-card);
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
@media (max-width: 860px) { .path-card { grid-template-columns: 1fr; } }

.path-card .headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.path-card .headline em { font-style: normal; color: var(--royal-blue); font-weight: 400; }
.path-card .scope { font-size: 15px; color: var(--gray); }
.path-card .scope strong { color: var(--black); font-weight: 500; }

.path-lists { display: grid; gap: 28px; align-content: start; }
.path-lists h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 12px;
}
.path-lists ul { list-style: none; display: grid; gap: 8px; }
.path-lists li {
  font-size: 15px;
  color: var(--dark-gray);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.path-lists li::before {
  content: '';
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  transform: translateY(-1px);
}
.path-lists .survives li::before { background: var(--cyan); }
.path-lists .rebuilt  li::before { background: var(--royal-blue); }

.path-footnote {
  margin-top: 40px;
  font-size: 15px;
  color: var(--gray);
  max-width: 720px;
}
.path-footnote strong { color: var(--black); font-weight: 500; }

/* ---------- Process timeline ---------- */

.process { background: var(--n-100); }
.process-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(48px, 6vw, 80px);
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }

.process-rail {
  position: sticky;
  top: 120px;
  align-self: start;
  display: grid;
  gap: 8px;
}
@media (max-width: 900px) { .process-rail { display: none; } }

.rail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  background: transparent;
  border: none;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.rail-item .n {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  border: 1.5px solid var(--n-300);
  background: #fff;
  transition: all 0.3s var(--ease);
}
.rail-item.active { color: var(--black); background: #fff; }
.rail-item.active .n { background: var(--royal-blue); border-color: var(--royal-blue); color: #fff; }

.phase {
  background: #fff;
  border-radius: var(--radius-card);
  padding: clamp(28px, 3.5vw, 48px);
  margin-bottom: 24px;
  border: 1px solid rgba(1, 1, 1, 0.06);
  transition: box-shadow 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.phase.active {
  box-shadow: 0 24px 60px rgba(1, 17, 74, 0.1);
  border-color: rgba(0, 50, 219, 0.25);
  transform: scale(1.012);
}
@media (prefers-reduced-motion: reduce) {
  .phase, .phase.active { transform: none; }
}
.phase-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.phase-meta .ph-n {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--royal-blue);
}
.phase-meta .ph-wks {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  background: var(--n-100);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  white-space: nowrap;
}
.phase h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.phase p { font-size: 15.5px; color: var(--gray); max-width: 56ch; }
.phase p strong { color: var(--dark-gray); font-weight: 500; }

/* ---------- Why 2Coders ---------- */

.why {
  background: linear-gradient(57deg, #0032DB 0%, #01114A 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 500px at 85% 10%, rgba(69, 243, 220, 0.1), transparent 60%);
  pointer-events: none;
}
.why .container { position: relative; z-index: 1; }
.why .eyebrow { color: var(--pure-cyan); }
.why .subhead { color: rgba(255, 255, 255, 0.72); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: clamp(56px, 7vw, 88px) 0;
}
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }

.stat .num {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--pure-cyan);
  font-variant-numeric: tabular-nums;
}
.stat .lbl {
  display: block;
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 22ch;
}

.why .glass-grid { margin-top: 0; }
.why .glass-card { background: rgba(1, 1, 1, 0.22); border-color: rgba(255, 255, 255, 0.14); }
.why .glass-card .index { color: var(--pure-cyan); }

.why-photo {
  margin: clamp(48px, 6vw, 72px) 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  height: clamp(300px, 40vw, 500px);
}
.why-photo img {
  position: absolute;
  left: 0;
  top: -56px;
  width: 100%;
  height: calc(100% + 112px);
  object-fit: cover;
  will-change: transform;
}
.why-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 17, 74, 0.15) 0%, rgba(1, 17, 74, 0.55) 100%);
}
.why-photo figcaption {
  position: absolute;
  left: 28px; bottom: 22px;
  z-index: 1;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.nda-line {
  margin-top: 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- FAQ ---------- */

.faq-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--n-300); }
.faq-item { border-bottom: 1px solid var(--n-300); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--black);
  text-align: left;
  padding: 26px 4px;
  cursor: pointer;
}
.faq-q .chevron {
  flex: none;
  width: 22px; height: 22px;
  color: var(--royal-blue);
  transition: transform 0.4s var(--ease);
}
.faq-q[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq-a-inner {
  padding: 0 4px 28px;
  font-size: 15.5px;
  color: var(--gray);
  max-width: 68ch;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s var(--ease) 0.08s, transform 0.5s var(--ease) 0.08s;
}
.faq-item:has(.faq-q[aria-expanded="true"]) .faq-a-inner {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .faq-a-inner { opacity: 1; transform: none; transition: none; }
}
.faq-a-inner strong { color: var(--dark-gray); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(120px, 14vw, 200px) 0;
}
.final-cta .bg-media::after {
  background: linear-gradient(57deg, rgba(0, 50, 219, 0.88) 0%, rgba(1, 17, 74, 0.94) 100%);
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta .display-2 { color: #fff; margin-bottom: 24px; }
.final-cta .subhead { margin: 0 auto 44px; color: rgba(255, 255, 255, 0.75); }
.final-cta .cta-row { justify-content: center; }
.final-cta .link-arrow { color: var(--pure-cyan); }
.promise {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(24px, 5vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner img { height: 18px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-inner .copyright { font-size: 13px; }
.footer-inner a { font-size: 13px; color: var(--pure-cyan); }

/* ============================================================
   Image fallbacks — binary photos host on R2 later; until then
   these gradient placeholders keep the layout intentional.
   ============================================================ */
.img-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background:
    radial-gradient(120% 90% at 70% 0%, rgba(0,72,255,.35), transparent 60%),
    linear-gradient(160deg, #01114A 0%, #010101 80%);
}
.hero-media .frame .img-fallback {
  position: relative; aspect-ratio: 2000 / 849; height: auto;
  background:
    radial-gradient(90% 120% at 50% -10%, rgba(0,72,255,.5), transparent 60%),
    linear-gradient(160deg, #021a6b 0%, #01092a 100%);
  display: grid; place-items: center;
}
.hero-media .frame .img-fallback::after {
  content: 'Fire TV'; font-family: var(--font); font-weight: 300;
  font-size: clamp(28px, 4vw, 56px); letter-spacing: -.02em;
  color: rgba(255,255,255,.16);
}
.bg-media .img-fallback { background: linear-gradient(160deg, #021a6b, #010101); }
.why-photo .img-fallback {
  background:
    radial-gradient(80% 100% at 80% 0%, rgba(69,243,220,.18), transparent 55%),
    linear-gradient(160deg, #01114A, #010101);
}
