:root {
  --night: #080f1c;
  --navy: #0e192c;
  --panel: #14233d;
  --panel-light: #1a2d4d;
  --line: #2a3c5d;
  --ink: #f4f7f2;
  --muted: #9ca9bd;
  --acid: #bef04a;
  --acid-bright: #d7ff69;
  --biomass: #74c94f;
  --danger: #ef6156;
  --gold: #f4bf4a;
  --shadow: #040812;
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 8%, rgba(99, 76, 220, 0.16), transparent 28rem),
    radial-gradient(circle at 12% 44%, rgba(116, 201, 79, 0.08), transparent 24rem),
    var(--night);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 18px auto 0;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(190, 240, 74, 0.18);
  border-radius: 18px;
  background: rgba(8, 15, 28, 0.82);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.9px;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 2px solid var(--acid);
  border-radius: 11px;
  object-fit: cover;
}

.brand b {
  color: var(--acid);
}

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

nav a {
  padding: 10px 13px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: 160ms ease;
}

nav a:hover {
  color: var(--ink);
  background: var(--panel);
}

nav .nav-cta {
  margin-left: 6px;
  color: var(--night);
  background: var(--acid);
}

nav .nav-cta:hover {
  color: var(--night);
  background: var(--acid-bright);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 760px;
  margin: 0 auto;
  padding: 80px 0 65px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--acid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.benefit-copy h2,
.download-section h2,
.legal-hero h1 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(64px, 9vw, 112px);
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.23);
}

.hero h1 span {
  color: var(--acid);
}

.hero-lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-width: 178px;
  min-height: 58px;
  gap: 11px;
  padding: 9px 15px;
  border: 1px solid #43516a;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(180deg, #152038, #080e19);
  box-shadow:
    0 5px 0 #02050b,
    0 12px 24px rgba(0, 0, 0, 0.25);
  text-align: left;
  transition: 170ms ease;
}

a.store-badge:hover {
  border-color: var(--acid);
  box-shadow:
    0 3px 0 #02050b,
    0 15px 30px rgba(190, 240, 74, 0.12);
  transform: translateY(-3px);
}

.store-badge svg {
  width: 29px;
  height: 33px;
  flex: 0 0 auto;
}

.store-badge .app-store-icon {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
}

.store-badge span {
  display: grid;
}

.store-badge small {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1;
}

.store-badge strong {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.4px;
  line-height: 1;
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.4px;
  transition: 170ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #14200b;
  border-color: #9fc73d;
  background: linear-gradient(180deg, var(--acid-bright), var(--acid));
  box-shadow:
    0 5px 0 #617e1e,
    0 12px 28px rgba(190, 240, 74, 0.17);
}

.button-primary:hover {
  box-shadow:
    0 3px 0 #617e1e,
    0 15px 34px rgba(190, 240, 74, 0.25);
}

.button-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(20, 35, 61, 0.78);
  box-shadow: 0 5px 0 #08101f;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 46px;
}

.quick-stats div {
  display: grid;
}

.quick-stats strong {
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
}

.quick-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 115%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(190, 240, 74, 0.22),
    rgba(92, 67, 211, 0.12) 42%,
    transparent 68%
  );
  filter: blur(8px);
}

.art-frame {
  position: relative;
  width: min(100%, 470px);
  padding: 7px;
  border-radius: 29%;
  background: linear-gradient(135deg, var(--acid), #6ab64b 45%, #5543bc);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(2deg);
}

.art-frame::after {
  position: absolute;
  inset: 7px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: calc(29% - 5px);
}

.art-frame img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: calc(29% - 5px);
  object-fit: cover;
}

.floating-tag {
  position: absolute;
  padding: 8px 12px;
  border: 2px solid var(--shadow);
  border-radius: 10px;
  color: var(--night);
  background: var(--acid);
  box-shadow: 0 5px 0 var(--shadow);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1px;
}

.tag-top {
  top: 13%;
  right: -4%;
  transform: rotate(4deg);
}

.tag-bottom {
  bottom: 9%;
  left: -6%;
  color: var(--ink);
  background: var(--panel-light);
  transform: rotate(-4deg);
}

.ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 42px);
  padding: 17px 24px;
  overflow: hidden;
  color: var(--night);
  background: var(--acid);
  box-shadow: 0 7px 0 #587218;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.ticker i {
  font-size: 8px;
}

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

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 25px 70px;
  margin-bottom: 45px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -6px;
}

.section-heading h2,
.benefit-copy h2,
.download-section h2 {
  font-size: clamp(42px, 6vw, 70px);
}

.section-heading > p:last-child,
.benefit-copy > p:last-child,
.download-section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 52px;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered p:last-child {
  margin-top: 23px;
}

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

.feature-card {
  position: relative;
  min-height: 320px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 50%),
    var(--panel);
  box-shadow: 0 12px 0 rgba(4, 8, 18, 0.62);
}

.feature-card::after {
  position: absolute;
  right: -50px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  content: "";
  border-radius: 50%;
  background: rgba(190, 240, 74, 0.05);
}

.feature-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.12);
  font-size: 38px;
  font-weight: 950;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 58px;
  border: 1px solid rgba(190, 240, 74, 0.4);
  border-radius: 16px;
  color: var(--acid);
  background: rgba(190, 240, 74, 0.08);
  font-size: 27px;
}

.feature-card h3,
.owner-card h3,
.facility-grid h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.feature-card p,
.owner-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.owners-section {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 16px;
  width: min(calc(100% - 40px), 1280px);
  margin: 25px auto 0;
  padding: 75px 50px;
  border: 1px solid rgba(190, 240, 74, 0.16);
  border-radius: 36px;
  background:
    radial-gradient(circle at 15% 50%, rgba(81, 68, 174, 0.18), transparent 36%),
    radial-gradient(circle at 85% 50%, rgba(116, 201, 79, 0.14), transparent 36%),
    #0b1425;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
}

.owner-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 12px 0 rgba(4, 8, 18, 0.65);
}

.owner-card img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.owner-card > div {
  padding: 24px 26px 28px;
}

.owner-card .eyebrow {
  margin-bottom: 8px;
}

.tycoon-card {
  border-color: rgba(190, 240, 74, 0.38);
}

.evolution-arrow {
  display: grid;
  place-items: center;
  color: var(--acid);
  font-size: 40px;
}

.evolution-arrow span {
  writing-mode: vertical-rl;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}

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

.facility-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 10px 0 rgba(4, 8, 18, 0.68);
  transition: 180ms ease;
}

.facility-grid article:hover {
  border-color: rgba(190, 240, 74, 0.5);
  transform: translateY(-7px);
}

.facility-grid img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 65%, rgba(116, 201, 79, 0.13), transparent 45%),
    #0a1425;
}

.facility-grid article > div {
  padding: 20px 22px 23px;
  border-top: 1px solid var(--line);
}

.facility-grid span {
  color: var(--acid);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.benefit-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 85px;
  margin-bottom: 110px;
  padding: 70px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(190, 240, 74, 0.06), transparent 48%),
    var(--panel);
  box-shadow: 0 15px 0 rgba(4, 8, 18, 0.6);
}

.benefit-copy p:last-child {
  margin-top: 25px;
}

.benefit-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: #dce3eb;
  background: rgba(8, 15, 28, 0.55);
  font-size: 13px;
  font-weight: 700;
}

.benefit-list span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--night);
  background: var(--acid);
  font-weight: 950;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 95px;
  padding: 55px 60px;
  border: 2px solid var(--acid);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(190, 240, 74, 0.18), transparent 30%),
    linear-gradient(135deg, #182945, #101d33);
  box-shadow:
    0 12px 0 #070d18,
    0 25px 70px rgba(0, 0, 0, 0.3);
}

.download-section > div:first-child {
  max-width: 690px;
}

.download-section p:last-child {
  margin-top: 20px;
}

.store-buttons {
  display: grid;
  flex: 0 0 auto;
  gap: 12px;
}

.store-buttons .store-badge {
  min-width: 205px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 35px;
  padding: 34px max(24px, calc((100% - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(4, 8, 18, 0.55);
}

.footer-brand {
  color: var(--ink);
}

footer > p {
  margin: 0;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--acid);
}

footer small {
  text-align: right;
}

/* Legal pages */
.legal-page .site-header {
  position: relative;
}

.legal-main {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 90px 0 120px;
}

.legal-hero {
  padding: 55px;
  border: 1px solid rgba(190, 240, 74, 0.25);
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(190, 240, 74, 0.08), transparent),
    var(--panel);
  box-shadow: 0 12px 0 rgba(4, 8, 18, 0.65);
}

.legal-hero h1 {
  font-size: clamp(44px, 8vw, 72px);
}

.legal-hero p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
}

.legal-content {
  padding: 45px 18px 0;
}

.legal-content section {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 14px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.legal-content strong {
  color: var(--ink);
}

.legal-note {
  padding: 18px 20px;
  border-left: 4px solid var(--acid);
  border-radius: 0 12px 12px 0;
  background: rgba(190, 240, 74, 0.06);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 65px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .quick-stats {
    justify-content: center;
  }

  .text-link {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-art {
    width: min(85%, 500px);
    margin: 15px auto 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-icon {
    margin-bottom: 42px;
  }

  .owners-section {
    grid-template-columns: 1fr 55px 1fr;
    padding: 40px 24px;
  }

  .owner-card > div {
    padding: 20px;
  }

  .benefit-section {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 48px 40px;
  }

  .download-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .site-header {
    width: min(calc(100% - 22px), var(--max-width));
    margin-top: 10px;
  }

  .brand span {
    max-width: 100px;
    line-height: 1.15;
  }

  nav .nav-cta {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 11px;
  }

  .hero,
  .section,
  .download-section {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    min-height: auto;
    padding: 70px 0 90px;
  }

  .hero h1 {
    font-size: clamp(57px, 19vw, 82px);
  }

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

  .hero-actions .store-badge {
    justify-content: flex-start;
    width: min(100%, 245px);
    margin: 0 auto;
  }

  .quick-stats {
    gap: 20px;
  }

  .quick-stats div {
    min-width: 80px;
  }

  .tag-top {
    right: -8%;
  }

  .ticker {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading h2,
  .benefit-copy h2,
  .download-section h2 {
    font-size: 43px;
  }

  .owners-section {
    grid-template-columns: 1fr;
    width: min(calc(100% - 20px), 520px);
    padding: 25px;
  }

  .evolution-arrow {
    grid-auto-flow: column;
    justify-content: center;
  }

  .evolution-arrow span {
    writing-mode: initial;
  }

  .evolution-arrow b {
    transform: rotate(90deg);
  }

  .benefit-section {
    margin-bottom: 75px;
    padding: 38px 25px;
  }

  .download-section {
    margin-bottom: 70px;
    padding: 40px 27px;
  }

  .store-buttons,
  .store-buttons .store-badge {
    width: 100%;
  }

  .store-buttons .store-badge {
    justify-content: center;
    min-width: 0;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer > p,
  footer small {
    text-align: center;
  }

  .footer-brand,
  .footer-links {
    justify-content: center;
  }

  .legal-main {
    width: min(calc(100% - 24px), 900px);
    padding-top: 55px;
  }

  .legal-hero {
    padding: 36px 25px;
  }

  .legal-content {
    padding-right: 10px;
    padding-left: 10px;
  }
}

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

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