:root {
  color-scheme: dark;
  --page: #07111f;
  --surface: #0c1828;
  --surface-strong: #111f32;
  --text: #f7f9fc;
  --muted: #9eacbf;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #4aa8ff;
  --cyan: #5ee8d2;
  --focus: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(45, 137, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(94, 232, 210, 0.08), transparent 26rem),
    var(--page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #07111f;
  background: var(--focus);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-180%);
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark span {
  border-radius: 2px;
  background: var(--blue);
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  background: var(--cyan);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.text-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #06111e;
  background: linear-gradient(135deg, #f8fbff 0%, #c9e8ff 100%);
  box-shadow: 0 10px 30px rgba(48, 139, 229, 0.2);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(48, 139, 229, 0.3);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  border-radius: 12px;
  font-size: 0.82rem;
}

.button-note {
  padding-left: 8px;
  border-left: 1px solid rgba(6, 17, 30, 0.2);
  color: #38536b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  padding-block: clamp(76px, 11vw, 132px) 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(94, 232, 210, 0.85);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.hero-copy {
  max-width: 710px;
  margin-bottom: 36px;
  color: #bfccdb;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.65;
}

.hero-copy a {
  color: var(--text);
  font-weight: 800;
  text-decoration-color: rgba(94, 232, 210, 0.5);
  text-underline-offset: 4px;
}

.disclosure {
  display: flex;
  max-width: 760px;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid rgba(94, 232, 210, 0.24);
  border-radius: 14px;
  background: rgba(94, 232, 210, 0.075);
  color: #ccdae8;
  font-size: 0.91rem;
}

.disclosure svg {
  width: 20px;
  min-width: 20px;
  margin-top: 1px;
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-width: 1.7;
}

.disclosure p {
  margin: 0;
}

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

.feed-section {
  padding-bottom: 92px;
  scroll-margin-top: 96px;
}

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

.section-heading .section-kicker,
.storefront-callout .section-kicker {
  margin-bottom: 8px;
}

.section-heading h2,
.storefront-callout h2,
.legal-page h1 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading > p {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feed-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.feed-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 9, 17, 0.96) 0%, rgba(3, 9, 17, 0.14) 54%, transparent 72%);
  content: "";
  pointer-events: none;
}

.feed-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.paid-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: #f7fbff;
  background: rgba(5, 13, 23, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.card-copy {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 17px;
  left: 18px;
}

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

.card-copy strong {
  margin-bottom: 7px;
  font-size: clamp(0.9rem, 1.8vw, 1.16rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.card-copy > span {
  color: #b7ecff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.storefront-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 96px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(125deg, rgba(74, 168, 255, 0.14), rgba(94, 232, 210, 0.05)),
    var(--surface);
  box-shadow: var(--shadow);
}

.storefront-callout h2 {
  max-width: 590px;
  margin-bottom: 14px;
}

.storefront-callout p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--muted);
}

.storefront-callout .button {
  flex: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 10, 18, 0.52);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-block: 48px 36px;
}

.brand-footer {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-inner p,
.legal-line p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-inner nav a {
  color: #c4cfdd;
  font-size: 0.8rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.legal-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}

.legal-page {
  max-width: 780px;
  padding-block: 88px 120px;
}

.legal-page h1 {
  margin-bottom: 22px;
}

.legal-page h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.legal-page p,
.legal-page li {
  color: #bdc9d7;
}

.legal-page .updated {
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-page a {
  color: #a9dcff;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--cyan) !important;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.error-page {
  display: grid;
  min-height: 75vh;
  place-items: center;
  text-align: center;
}

.error-page h1 {
  margin-bottom: 18px;
}

.error-page p {
  margin-bottom: 28px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

  .header-links .text-link,
  .button-small .button-note {
    display: none;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 13px;
  }

  .hero {
    padding-block: 62px 48px;
  }

  .feed-section {
    width: 100%;
    padding-bottom: 70px;
  }

  .section-heading {
    width: calc(100% - 24px);
    margin-inline: auto;
  }

  .feed-grid {
    gap: 3px;
  }

  .feed-card {
    border: 0;
    border-radius: 2px;
    box-shadow: none;
  }

  .paid-badge {
    top: 7px;
    right: 7px;
    padding: 4px 6px;
    font-size: 0.52rem;
  }

  .card-copy {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .card-copy strong {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 4px;
    font-size: clamp(0.67rem, 2.5vw, 0.84rem);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .card-copy > span {
    font-size: 0.52rem;
  }

  .storefront-callout {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 68px;
  }

  .footer-inner,
  .legal-line {
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}

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

  .brand {
    font-size: 0.95rem;
  }

  .button-small {
    font-size: 0.74rem;
  }

  .section-heading > p {
    display: none;
  }

  .paid-badge {
    letter-spacing: 0.03em;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
