:root {
  --bg: #050a14;
  --bg-elevated: #0b1526;
  --bg-soft: #101c31;
  --text: #e9f1ff;
  --muted: #93a4bf;
  --line: rgba(148, 180, 220, 0.16);
  --blue-100: #d7ecff;
  --blue-300: #7ec4ff;
  --blue-400: #4aa8ff;
  --blue-500: #2b7fdb;
  --blue-700: #134f9a;
  --blue-900: #08274f;
  --accent: #5ec8ff;
  --ok: #3dce8b;
  --warn: #d9a441;
  --danger: #e25d6a;
  --radius: 18px;
  --shell: min(1120px, calc(100% - 2.5rem));
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(74, 168, 255, 0.22), transparent 55%),
    radial-gradient(900px 600px at 0% 20%, rgba(19, 79, 154, 0.35), transparent 50%),
    linear-gradient(180deg, #04070f 0%, var(--bg) 40%, #07101f 100%);
  line-height: 1.6;
}

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

a {
  color: var(--blue-300);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-100);
}

.bg-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 180, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 220, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black 20%, transparent 75%);
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 36px, 36px 72px; }
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 10, 20, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 10, 20, 0.88);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}

.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 18px rgba(94, 200, 255, 0.35));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-100) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  padding: 1.25rem 0 2rem;
  overflow: clip;
  text-align: center;
}

.hero-media {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  width: min(100%, 340px);
  margin: 0 auto;
}

.hero-cube {
  position: relative;
  width: min(38vw, 220px);
  margin: 0 auto;
  filter: drop-shadow(0 22px 48px rgba(10, 40, 90, 0.5));
  animation: floatCube 8s ease-in-out infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-orb-a {
  width: 240px;
  height: 240px;
  background: rgba(74, 168, 255, 0.35);
  left: 8%;
  top: 10%;
  animation: pulseOrb 7s ease-in-out infinite;
}

.hero-orb-b {
  width: 200px;
  height: 200px;
  background: rgba(19, 79, 154, 0.55);
  right: 6%;
  bottom: 8%;
  animation: pulseOrb 9s ease-in-out infinite reverse;
}

@keyframes floatCube {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.12); opacity: 0.7; }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--shell), 100%);
  max-width: 640px;
  margin-inline: auto;
  padding-bottom: 0;
  text-align: center;
}

.hero-copy--showcase {
  max-width: min(820px, 100%);
}

.hero .brand-mark {
  margin: 0.15rem 0 0.25rem;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
}

.hero-copy .lede,
.hero-copy .cta-row {
  justify-content: center;
  margin-inline: auto;
}

.hero-copy .brand-mark,
.hero-copy h1 {
  text-wrap: balance;
}

.offer-showcase {
  margin-top: 0.85rem;
  text-align: left;
}

.offer-showcase-frame {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.offer-showcase-stage {
  position: relative;
  min-height: 0;
}

.offer-slide {
  display: none;
  grid-template-columns: minmax(100px, 160px) 1fr;
  gap: 0.9rem;
  align-items: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.offer-slide.is-active {
  display: grid;
}

.offer-slide[hidden] {
  display: none !important;
}

.offer-slide.is-active.is-fading {
  opacity: 0.12;
  transform: translateX(10px);
}

.offer-slide-media {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(94, 200, 255, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(16, 28, 49, 0.95), rgba(8, 39, 79, 0.55));
  border: 1px solid var(--line);
  padding: 0.65rem;
}

.offer-slide-copy {
  display: grid;
  gap: 0.3rem;
  align-content: start;
}

.offer-slide-kicker {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.offer-slide-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.offer-slide-text {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 42ch;
}

.offer-slide .btn {
  justify-self: start;
  min-height: 40px;
  padding: 0.5rem 1rem;
}

.offer-nav {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.offer-nav:hover {
  border-color: rgba(126, 196, 255, 0.5);
  background: rgba(74, 168, 255, 0.12);
  transform: translateY(-1px);
}

.offer-showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  padding-inline: 3.05rem;
}

.offer-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.offer-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 55%, transparent);
  cursor: pointer;
}

.offer-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

.offer-counter {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-mark {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  background: linear-gradient(120deg, #f4f9ff 10%, var(--blue-300) 55%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.lede {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
  color: #fff;
  box-shadow: 0 12px 30px rgba(43, 127, 219, 0.35);
}

.btn-primary:hover {
  color: #fff;
}

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

.btn-ghost:hover {
  border-color: rgba(126, 196, 255, 0.45);
  color: var(--text);
}

.section {
  padding: 5.5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, transparent, rgba(16, 28, 49, 0.55), transparent);
}

.section-feature {
  border-block: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(8, 39, 79, 0.45), rgba(5, 10, 20, 0.2));
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

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

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.feature-visual {
  display: grid;
  place-items: center;
  min-height: 260px;
  background:
    radial-gradient(circle at 50% 40%, rgba(94, 200, 255, 0.18), transparent 55%),
    linear-gradient(160deg, rgba(16, 28, 49, 0.9), rgba(5, 10, 20, 0.4));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
}

.feature-visual.inline {
  margin-top: 2rem;
  min-height: auto;
}

.feature-visual img {
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-link {
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem 1.3rem;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.service-link:hover {
  background: rgba(126, 196, 255, 0.05);
  border-top-color: var(--blue-400);
  color: inherit;
}

.service-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-link strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.service-link span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.quote-panel {
  display: grid;
  gap: 1rem;
  align-content: center;
  min-height: 240px;
  padding: 2rem;
  border-left: 2px solid var(--blue-400);
  background: linear-gradient(90deg, rgba(19, 79, 154, 0.18), transparent);
}

.page-hero {
  padding: 4.5rem 0 2rem;
}

.detail-list {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.detail-list article {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.endpoint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.endpoint-block {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 21, 38, 0.65);
}

.endpoint-block h2 {
  margin-bottom: 1.2rem;
}

.endpoint-block dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.endpoint-block dt {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.endpoint-block dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: var(--blue-100);
}

.api-table {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.api-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.api-row strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
}

.api-row a {
  word-break: break-all;
}

.status-pill {
  flex: 0 0 auto;
  min-width: 88px;
  text-align: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-pill.is-up {
  color: var(--ok);
  border-color: rgba(61, 206, 139, 0.4);
}

.status-pill.is-down {
  color: var(--danger);
  border-color: rgba(226, 93, 106, 0.4);
}

.plain-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.plain-list li + li {
  margin-top: 0.4rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.disclaimer,
.resource-group {
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 21, 38, 0.5);
  overflow: hidden;
}

.disclaimer summary,
.resource-group summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.disclaimer summary::-webkit-details-marker,
.resource-group summary::-webkit-details-marker {
  display: none;
}

.disclaimer p,
.resource-list {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

.resource-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.resource-list li {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.resource-list a {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.resource-toolbar {
  display: flex;
  gap: 0.6rem;
  margin: 1.2rem 0 1.6rem;
}

.buyback-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.buyback-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.buyback-form input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font: inherit;
}

.buyback-result {
  margin: 0 0 1.2rem;
  padding: 1.5rem 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(88, 166, 255, 0.35);
  background: linear-gradient(145deg, rgba(19, 79, 154, 0.38), rgba(5, 10, 20, 0.55));
  text-align: center;
}

.buyback-result.is-ready {
  animation: buyback-pop 0.45s ease-out;
}

@keyframes buyback-pop {
  from {
    opacity: 0.35;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.buyback-label {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.buyback-total {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.buyback-total span {
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.42em;
  color: var(--muted);
  letter-spacing: 0.1em;
  vertical-align: 0.15em;
}

.buyback-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.buyback-loading,
.buyback-error {
  margin: 0;
  color: var(--muted);
}

.buyback-error {
  color: var(--danger);
}

.youtube-channel {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.youtube-channel strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.youtube-channel p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 48ch;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  transition: opacity 0.28s ease;
}

.video-grid--mini {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.video-card {
  display: grid;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  color: inherit;
}

.video-card--mini {
  gap: 0.45rem;
}

.video-thumb {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #07101d;
  aspect-ratio: 16 / 9;
}

.video-card--mini .video-thumb {
  border-radius: 10px;
}

.video-thumb--playlist {
  position: relative;
}

.playlist-badge {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.82);
  color: var(--blue-100);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.video-carousel {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.video-carousel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.video-carousel-head .eyebrow {
  margin: 0;
}

.video-carousel-counter {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.video-carousel-stage {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.video-carousel-stage.is-fading {
  opacity: 0.15;
  transform: translateY(6px);
}

.video-carousel-card {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: 1.1rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.video-carousel-card:hover {
  color: inherit;
}

.video-carousel-media {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #07101d;
}

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

.video-carousel-meta {
  display: grid;
  gap: 0.45rem;
}

.video-carousel-meta strong {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.video-carousel-meta span {
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
  justify-content: center;
}

.video-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 55%, transparent);
  cursor: pointer;
}

.video-carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-meta {
  display: grid;
  gap: 0.3rem;
}

.video-meta strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.video-card--mini .video-meta strong {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta span {
  color: var(--muted);
  font-size: 0.92rem;
}

.video-card--mini .video-meta span {
  font-size: 0.7rem;
}

.platform-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.platform-panel {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.platform-panel--solo {
  max-width: 28rem;
}

.platform-panel img,
.platform-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(74, 168, 255, 0.25));
}

.platform-panel h3 {
  margin: 0;
  font-size: 1.45rem;
}

.platform-panel p {
  margin: 0;
  color: var(--muted);
}

.platform-media {
  margin: 0.2rem 0 0.4rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #05070d;
  /* intro_pack.mp4 is portrait 464x688 */
  aspect-ratio: 464 / 688;
  max-width: min(100%, 360px);
}

.platform-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05070d;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pack-tile {
  display: grid;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pack-tile:hover {
  transform: translateY(-4px);
  color: inherit;
}

.pack-tile-media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(19, 79, 154, 0.35), rgba(5, 10, 20, 0.8));
}

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

.pack-tile-meta {
  display: grid;
  gap: 0.2rem;
}

.pack-tile-meta strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.pack-tile-price {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.pack-empty {
  color: var(--muted);
}

.steps-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.85rem;
}

.steps-list strong {
  color: var(--text);
}

.mint-notice {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(19, 79, 154, 0.18);
  color: var(--text);
  font-size: 0.98rem;
}

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

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

.footer-grid h3 {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

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

.brand-footer {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

.contact-note {
  margin-top: 2rem;
}

@media (max-width: 960px) {
  .split,
  .service-strip,
  .endpoint-grid,
  .footer-grid,
  .video-grid,
  .platform-strip,
  .youtube-channel,
  .pack-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero {
    padding: 0.85rem 0 1.5rem;
  }

  .hero-cube {
    width: min(48vw, 180px);
  }

  .hero-media {
    width: min(100%, 240px);
  }

  .hero .brand-mark {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-copy {
    max-width: none;
    width: var(--shell);
  }

  .offer-showcase {
    margin-top: 0.7rem;
  }

  .offer-showcase-frame {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .offer-showcase-stage {
    order: -1;
    width: 100%;
  }

  .offer-slide.is-active {
    grid-template-columns: 72px 1fr;
    gap: 0.7rem;
  }

  .offer-slide-media {
    padding: 0.4rem;
  }

  .offer-showcase-foot {
    padding-inline: 0;
  }

  .buyback-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.25rem 1.2rem;
    background: rgba(5, 10, 20, 0.96);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
  }

  .api-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-mark {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

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

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-atmosphere,
  .hero-cube,
  .hero-orb,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
