:root {
  --bg: #07090f;
  --surface: #10141f;
  --surface-2: #171d2b;
  --line: #293044;
  --text: #eef3ff;
  --muted: #a8b1c7;
  --subtle: #727d99;
  --cyan: #2ff3c5;
  --gold: #ffcf5a;
  --rose: #ff4d7d;
  --violet: #8c6cff;
  --blue: #31a8ff;
  --lime: #9dff57;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 243, 197, 0.14), transparent 28rem),
    radial-gradient(circle at 84% 8%, rgba(255, 77, 125, 0.13), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(255, 207, 90, 0.09), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 10;
  background: var(--cyan);
  color: #06100f;
  padding: 8px 12px;
  border-radius: 6px;
}

.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 9, 15, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner,
.section,
.footer-grid,
.article-shell,
.legal-page {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(47, 243, 197, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(47, 243, 197, 0.18), rgba(255, 77, 125, 0.14));
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.84rem;
}

.brand strong {
  display: block;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--subtle);
  font-size: 0.74rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 9, 15, 0.98) 0%, rgba(7, 9, 15, 0.82) 42%, rgba(7, 9, 15, 0.22) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 9, 15, 0) 38%);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  min-width: 0;
}

.hero-showcase {
  position: relative;
  min-height: 390px;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 40px 14px 24px 34px;
  border-radius: 50%;
  background: conic-gradient(from 130deg, rgba(47, 243, 197, 0.26), rgba(255, 207, 90, 0.24), rgba(255, 77, 125, 0.22), rgba(140, 108, 255, 0.24), rgba(47, 243, 197, 0.26));
  filter: blur(34px);
  opacity: 0.86;
}

.screen-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: #080b12;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-screen {
  right: 10px;
  top: 38px;
  width: min(100%, 470px);
  aspect-ratio: 526 / 296;
  transform: rotate(2deg);
}

.secondary-screen {
  left: 0;
  bottom: 28px;
  width: min(74%, 330px);
  aspect-ratio: 526 / 296;
  transform: rotate(-6deg);
  border-color: rgba(255, 207, 90, 0.38);
}

.screen-frame::after,
.screenshot-card::after,
.media-card::after,
.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%, rgba(47, 243, 197, 0.08));
}

.eyebrow,
.breadcrumb {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.breadcrumb {
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--cyan);
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 {
  max-width: 820px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.45rem, 6vw, 5.4rem);
}

h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--muted);
  margin: 0 0 18px;
}

.lede {
  max-width: 760px;
  font-size: 1.16rem;
  color: #d8deed;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.meta-row span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-header p {
  max-width: 620px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 44px;
  padding: 64px 0 88px;
}

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

.article-body > p,
.article-body li {
  font-size: 1.04rem;
}

.article-body h2 {
  margin-top: 48px;
}

.article-body a,
.legal-page a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(47, 243, 197, 0.34);
}

.article-image,
.media-card,
.story-card,
.sidebar-panel,
.contact-panel,
.notice {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.article-image {
  margin: 36px 0;
  overflow: hidden;
}

.caption {
  padding: 12px 14px;
  color: var(--subtle);
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-panel {
  padding: 22px;
  margin-bottom: 18px;
}

.sidebar-panel h2 {
  font-size: 1.28rem;
}

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

.sidebar-panel li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-panel a {
  display: block;
  padding: 12px 0;
  color: #dfe6f5;
  font-weight: 700;
}

.sidebar-panel a:hover {
  color: var(--cyan);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.story-card,
.media-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.story-card:hover,
.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 243, 197, 0.4);
}

.story-card img,
.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0b0f16;
}

.story-card div,
.media-card div {
  padding: 18px;
}

.story-card .category {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
}

.color-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(47, 243, 197, 0.1), rgba(255, 77, 125, 0.08) 45%, rgba(255, 207, 90, 0.08)),
    #090d15;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 18px;
}

.screenshot-card {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #0a0e17;
  box-shadow: var(--shadow);
}

.screenshot-card:first-child {
  grid-row: span 2;
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.screenshot-card:hover img {
  transform: scale(1.035);
}

.screenshot-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 18px 16px;
  background: linear-gradient(0deg, rgba(3, 5, 10, 0.95), rgba(3, 5, 10, 0));
}

.screenshot-card strong,
.screenshot-card span {
  display: block;
}

.screenshot-card strong {
  color: #fff;
  font-size: 1.02rem;
}

.screenshot-card span {
  color: #cad4e8;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 4px;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 34px 0;
}

.pros-cons section {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 22px;
}

.pros-cons ul,
.article-body ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.quote-block {
  border-left: 3px solid var(--cyan);
  padding: 8px 0 8px 22px;
  margin: 34px 0;
  color: #dce4f4;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.contact-layout {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-panel {
  padding: 26px;
}

label {
  display: block;
  color: #dfe6f5;
  font-weight: 700;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0c1019;
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.form-row {
  margin-bottom: 18px;
}

.button {
  border: 1px solid rgba(47, 243, 197, 0.55);
  border-radius: 6px;
  background: rgba(47, 243, 197, 0.12);
  color: var(--text);
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: rgba(47, 243, 197, 0.2);
}

.notice {
  padding: 14px 16px;
  margin-bottom: 18px;
}

.notice.success {
  border-color: rgba(47, 243, 197, 0.4);
}

.notice.error {
  border-color: rgba(255, 77, 125, 0.45);
}

.legal-page {
  padding: 64px 0 88px;
  max-width: 880px;
}

.legal-page h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 1.65rem;
}

.site-footer {
  background: #05070b;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 30px;
}

.footer-grid h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.96rem;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 9px;
}

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

.copyright {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 0;
  color: var(--subtle);
  font-size: 0.88rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in,
  .story-card,
  .media-card {
    transition: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #0b0f16;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

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

  .hero {
    min-height: 560px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-showcase {
    min-height: 310px;
  }

  .article-shell,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .grid.three,
  .grid.two,
  .pros-cons,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card:first-child {
    grid-row: auto;
  }
}

@media (max-width: 580px) {
  .brand small {
    display: none;
  }

  .hero-content {
    padding: 96px 0 58px;
  }

  .hero-showcase {
    min-height: 250px;
  }

  .primary-screen {
    width: 92%;
    right: 0;
  }

  .secondary-screen {
    width: 66%;
  }

  .section,
  .article-shell,
  .legal-page,
  .contact-layout {
    padding-top: 48px;
    padding-bottom: 64px;
  }
}
