:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0f0f0f;
  --surface-soft: #111116;
  --surface-deep: #07070a;
  --border: #1c1c1c;
  --border-strong: #2c2c34;
  --accent: #6c63ff;
  --accent-2: #9b8cff;
  --text: #ffffff;
  --muted: #8b8b92;
  --dim: #666666;
  --article: #cccccc;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(108, 99, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #050508 0%, #000000 28%, #000000 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 62%);
}

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

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

main,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

body.page-exit main {
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  filter: blur(6px);
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(20px, 5vw, 64px);
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px);
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header.is-solid {
  background: rgba(0, 0, 0, 0.92);
  border-color: var(--border);
}

.brand-lockup {
  display: inline-flex;
  width: 112px;
  height: 34px;
  overflow: hidden;
  align-items: center;
}

.brand-lockup img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center 58%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c6c6ce;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 29px 0 27px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  padding: 0 20px;
  color: white;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(108, 99, 255, 0.38);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.primary-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(108, 99, 255, 0.48);
}

.hero-stage {
  min-height: 74vh;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.55);
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.56) 45%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), #000000 96%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  min-height: 74vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: 108px 0 72px;
}

.hero-home {
  align-items: end;
}

.tiny-label,
.eyebrow {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 16px 0 14px;
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 1.02;
  font-weight: 900;
}

.hero-copy p {
  max-width: 650px;
  margin: 0;
  color: #b8b8c1;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.62;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.primary-pill {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.read-time {
  color: #dedee6;
  font-size: 13px;
  font-weight: 900;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  width: 178px;
  overflow: hidden;
}

.play-badge img {
  width: 100%;
  transform: scale(1.09);
  transform-origin: left center;
}

.device-panel {
  justify-self: end;
}

.phone-frame {
  width: min(390px, 100%);
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 14%),
    #060607;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72), 0 0 0 10px rgba(255, 255, 255, 0.04);
  padding: 24px;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: #cfcfd8;
  font-size: 13px;
  font-weight: 900;
}

.phone-top img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.phone-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, #121218, #09090c);
  padding: 20px;
  margin-top: 14px;
}

.phone-card.active {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(108, 99, 255, 0.18), transparent 46%),
    #0b0b0f;
}

.phone-card span,
.tag,
.worth-card span {
  display: inline-flex;
  width: fit-content;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-card h2 {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.1;
}

.phone-card p {
  margin: 12px 0 0;
  color: #a8a8b3;
  font-size: 13px;
  line-height: 1.55;
}

.phone-card.mini {
  opacity: 0.76;
}

.section-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}

.editorial-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 46px;
}

.stat-tile,
.story-card,
.worth-card,
.side-panel,
.article-card-small {
  border: 1px solid var(--border);
  background: rgba(15, 15, 15, 0.82);
  backdrop-filter: blur(18px);
}

.stat-tile {
  min-height: 132px;
  border-radius: 18px;
  padding: 24px;
}

.stat-tile span {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 900;
}

.stat-tile p,
.section-head p,
.story-card p,
.worth-card p,
.site-footer p {
  color: #a7a7b1;
  line-height: 1.62;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.section-head.simple {
  display: block;
}

.section-head h2,
.section-head .eyebrow {
  margin: 0;
}

.section-head p {
  max-width: 420px;
  margin: 0;
  font-size: 14px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.story-card {
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.story-card:hover,
.worth-card:hover,
.article-card-small:hover {
  border-color: rgba(108, 99, 255, 0.82);
  transform: translateY(-4px);
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92);
}

.story-card .tag {
  margin: 18px 18px 10px;
}

.story-card h2 {
  margin: 0 18px 10px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.story-card p {
  margin: 0 18px 18px;
  font-size: 14px;
}

.story-card small {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: auto 18px 20px;
  color: var(--dim);
  font-size: 13px;
  font-weight: 900;
}

.download-band {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #6c63ff, #4f46e5);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 24px 72px rgba(108, 99, 255, 0.24);
}

.download-band h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.12;
  font-weight: 900;
}

.download-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 700;
}

.band-badge,
.footer-badge {
  flex: 0 0 auto;
}

.worth-section {
  padding-top: 48px;
}

.worth-section h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

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

.worth-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border-radius: 18px;
  padding: 16px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.worth-card img {
  width: 170px;
  height: 128px;
  border-radius: 14px;
  object-fit: cover;
}

.worth-card h3 {
  margin: 9px 0 8px;
  font-size: 21px;
  line-height: 1.14;
}

.worth-card p {
  margin: 0;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 34px;
  align-items: start;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: #08080b;
  padding: 48px clamp(20px, 5vw, 64px);
}

.footer-logo {
  margin-bottom: 18px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 14px;
  color: #b6b6bf;
  font-size: 14px;
  font-weight: 800;
}

.article-main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  padding: 128px 0 60px;
}

.article-shell {
  min-width: 0;
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #898994;
  font-size: 13px;
  font-weight: 900;
}

.article-shell h1 {
  margin: 18px 0 22px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  font-weight: 900;
}

.article-dek {
  width: min(760px, 100%);
  margin: 0 0 30px;
  color: #b7b7c0;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 600;
}

.featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: 18px;
  object-fit: cover;
}

.article-body {
  width: min(760px, 100%);
  margin-top: 34px;
  color: var(--article);
  font-size: 17px;
  line-height: 1.86;
}

.article-body h2 {
  margin: 42px 0 12px;
  color: white;
  font-size: 26px;
  line-height: 1.2;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: #92929d;
  font-size: 19px;
}

.source-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0 16px;
  color: white;
  font-weight: 900;
  transition: border-color 180ms ease, transform 180ms ease;
}

.source-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.article-divider {
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.article-side {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.side-panel {
  border-radius: 18px;
  padding: 20px;
}

.side-panel h2,
.side-panel h3 {
  margin: 0 0 14px;
  font-size: 19px;
}

.side-panel p,
.side-panel li {
  color: #a7a7b1;
  line-height: 1.58;
}

.side-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-panel li + li {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.side-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--accent);
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
}

.article-card-small {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 14px;
  padding: 10px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.article-card-small img {
  width: 90px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.article-card-small h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-grid .story-card {
  min-height: 330px;
}

.related-grid .story-card h2 {
  font-size: 19px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 580ms ease, transform 580ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-shell,
  .editorial-strip,
  .story-grid,
  .worth-grid,
  .site-footer,
  .article-main,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .device-panel {
    justify-self: stretch;
  }

  .phone-frame {
    width: 100%;
    min-height: auto;
  }

  .article-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand-lockup {
    width: 86px;
  }

  .brand-lockup img {
    width: 86px;
    height: 86px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero-shell {
    width: min(100% - 24px, var(--max));
    gap: 32px;
    padding-top: 104px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 13vw, 52px);
    line-height: 0.98;
  }

  .hero-actions,
  .download-band {
    align-items: stretch;
    flex-direction: column;
  }

  .play-badge {
    width: 164px;
  }

  .primary-pill {
    width: 100%;
  }

  .story-card {
    min-height: 430px;
  }

  .worth-card {
    grid-template-columns: 1fr;
  }

  .worth-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }
}
