/* Garbage TD — shared styles for the landing page and the privacy policy. */

:root {
  --night: #0b0f19;
  --night-2: #121a2a;
  --card: #151e30;
  --card-2: #1a2539;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f2ea;
  --ink-soft: #cbd3e1;
  --muted: #94a0b5;
  --orange: #ffb21f;
  --orange-deep: #ff7f0a;
  --orange-shadow: #b35300;
  --lime: #93dd2f;
  --lime-deep: #57b01a;
  --sky: #3d9cff;
  --radius: 20px;
  --wrap: 1120px;
  --font-display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--night);
  background-image:
    radial-gradient(1100px 620px at 88% -8%, rgba(61, 156, 255, 0.2), transparent 62%),
    radial-gradient(820px 520px at -12% 6%, rgba(255, 178, 31, 0.12), transparent 60%),
    radial-gradient(900px 600px at 50% 105%, rgba(147, 221, 47, 0.07), transparent 60%),
    linear-gradient(180deg, #0e1422 0%, var(--night) 55%, #090c14 100%);
}

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

a {
  color: var(--orange);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffd27a;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: #1a1206;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(11, 15, 25, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

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

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.brand .td {
  color: var(--lime);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- Buttons and badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 16px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  color: #2a1503;
  background: linear-gradient(180deg, #ffd04a 0%, var(--orange) 45%, var(--orange-deep) 100%);
  box-shadow: 0 4px 0 var(--orange-shadow), 0 12px 28px rgba(255, 127, 10, 0.28);
}

.btn-primary:hover {
  color: #2a1503;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--orange-shadow), 0 16px 32px rgba(255, 127, 10, 0.34);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--orange-shadow), 0 6px 16px rgba(255, 127, 10, 0.25);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

/* "Coming soon" store-style badge. Swap it for a link to the store page at launch. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 10px 22px 10px 16px;
  border-radius: 16px;
  background: #05070c;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22), 0 10px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
  text-decoration: none;
}

.store-badge svg {
  width: 34px;
  height: 34px;
  flex: none;
  color: #fff;
}

.store-badge small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #b9c2d3;
  line-height: 1.2;
}

.store-badge strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(147, 221, 47, 0.1);
  box-shadow: inset 0 0 0 1px rgba(147, 221, 47, 0.38);
  color: #c8f28c;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pill .dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.pill .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  opacity: 0;
  animation: ping 2.2s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 40px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin: 20px 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 6.4vw, 80px);
  line-height: 0.98;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}

.hero h1 .hl {
  color: var(--orange);
  background: linear-gradient(180deg, #ffe066 0%, var(--orange) 50%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* A text-shadow would show through the transparent fill and muddy the gradient. */
  text-shadow: none;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.35));
}

.hero .lead {
  margin: 0 0 30px;
  max-width: 34em;
  font-size: 19px;
  color: var(--ink-soft);
}

.hero .lead strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 470px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 4% -4%;
  border-radius: 40px;
  background: radial-gradient(closest-side, rgba(61, 156, 255, 0.55), rgba(147, 221, 47, 0.18) 60%, transparent);
  filter: blur(40px);
  z-index: -1;
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 34px 80px rgba(0, 0, 0, 0.6);
  transform: rotate(2.5deg);
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-10px); }
}

/* ---------- Stats ---------- */

.stats {
  padding: 24px 0 8px;
}

.stats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
}

.stats li {
  padding: 22px 16px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
}

.stats li + li {
  border-left: 1px solid var(--line);
}

.stats b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  color: var(--orange);
}

.stats li:nth-child(even) b {
  color: var(--lime);
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--lime);
}

.section h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0.3px;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

/* ---------- Features ---------- */

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

.feature {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, 0.25);
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #241303;
  background: linear-gradient(180deg, #ffd04a, var(--orange-deep));
  box-shadow: 0 4px 0 var(--orange-shadow);
}

.feature:nth-child(even) .icon {
  color: #10240a;
  background: linear-gradient(180deg, #b8f05a, var(--lime-deep));
  box-shadow: 0 4px 0 #2f6e0c;
}

.feature .icon svg {
  width: 28px;
  height: 28px;
}

.feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: 0.3px;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Media placeholders ---------- */

.media {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

/* The trailer fills the left two thirds, as tall as the two screenshots stacked beside it. */
.media .trailer {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.slot {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: #0f1626;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.025) 0 14px,
    transparent 14px 28px
  );
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--muted);
  text-align: center;
}

.slot img,
.slot video,
.slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.slot-label {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px;
  font-weight: 800;
  font-size: 15px;
}

.slot-label svg {
  width: 30px;
  height: 30px;
  opacity: 0.75;
}

.trailer .play {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: #2a1503;
  background: linear-gradient(180deg, #ffd04a, var(--orange-deep));
  box-shadow: 0 5px 0 var(--orange-shadow), 0 0 0 10px rgba(255, 178, 31, 0.12);
}

.trailer .play svg {
  width: 34px;
  height: 34px;
  margin-left: 5px;
  opacity: 1;
}

.trailer .slot-label {
  gap: 18px;
  font-size: 18px;
  color: var(--ink-soft);
}

/* ---------- Support ---------- */

.support-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px;
  border-radius: 26px;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(120deg, var(--orange), var(--lime) 55%, var(--sky)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.support-card .icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  color: #10240a;
  background: linear-gradient(180deg, #b8f05a, var(--lime-deep));
  box-shadow: 0 5px 0 #2f6e0c;
}

.support-card .icon svg {
  width: 36px;
  height: 36px;
}

.support-card h2 {
  margin: 0 0 6px;
}

.support-card p {
  margin: 0;
  color: var(--ink-soft);
}

.support-card .note {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.email {
  word-break: break-word;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 96px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.site-footer .brand {
  font-size: 19px;
}

.site-footer .brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.legal {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  color: #6f7b90;
}

/* ---------- Privacy policy ---------- */

/* .wrap.doc so the mobile .wrap padding doesn't drop the top padding. */
.wrap.doc {
  max-width: 780px;
  padding-top: 56px;
}

.doc h1 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 60px);
  line-height: 1.02;
  letter-spacing: 0.4px;
}

.doc .updated {
  margin: 0 0 32px;
  color: var(--muted);
  font-weight: 700;
}

.doc .intro {
  font-size: 18px;
  color: var(--ink-soft);
}

.summary {
  margin: 32px 0 8px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: rgba(147, 221, 47, 0.06);
  box-shadow: inset 0 0 0 1px rgba(147, 221, 47, 0.3);
}

.summary h2 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 24px !important;
}

.doc .summary ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.summary li {
  position: relative;
  padding-left: 30px;
  margin: 8px 0;
  color: var(--ink-soft);
}

.summary li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--lime);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.toc {
  margin: 28px 0 0;
  padding: 22px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}

.toc p {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  margin: 3px 0;
  break-inside: avoid;
}

.toc a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
}

.toc a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.doc section {
  scroll-margin-top: 88px;
}

.doc h2 {
  margin: 52px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0.3px;
}

.doc h3 {
  margin: 28px 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--orange);
}

.doc p,
.doc li {
  color: var(--ink-soft);
}

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

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin: 6px 0;
}

.doc li::marker {
  color: var(--lime);
}

.services {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.service {
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

.service h3 {
  margin: 0 0 4px;
  color: var(--ink);
}

.service p {
  margin: 0 0 8px;
}

.contact-box {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}

.contact-box p {
  margin: 0;
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 120px 0 40px;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
}

.not-found p {
  margin: 0;
  max-width: 30em;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero {
    padding-top: 36px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art {
    order: -1;
    max-width: 380px;
  }

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

  .support-card .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .stats ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats li:nth-child(3) {
    border-left: 0;
  }

  .stats li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

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

  .media .trailer {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .toc ol {
    columns: 1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .site-header .wrap {
    height: 60px;
  }

  .brand {
    font-size: 20px;
    gap: 10px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 14px;
  }

  .site-nav .nav-optional {
    display: none;
  }

  .hero .lead {
    font-size: 17px;
  }

  .hero-actions > * {
    width: 100%;
    justify-content: center;
  }

  .hero-art {
    max-width: 300px;
  }

  .section {
    padding-top: 64px;
  }

  .feature {
    padding: 22px;
  }

  .media {
    gap: 10px;
  }

  .slot {
    border-radius: 14px;
  }

  .media .shot .slot-label span {
    display: none;
  }

  .slot-label svg {
    width: 24px;
    height: 24px;
  }

  .trailer .play {
    width: 64px;
    height: 64px;
  }

  .trailer .play svg {
    width: 26px;
    height: 26px;
  }

  .support-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 22px;
  }

  .support-card .icon {
    width: 60px;
    height: 60px;
  }

  .support-card .btn {
    width: 100%;
    justify-self: stretch;
  }

  .summary,
  .toc {
    padding: 20px;
  }

  .doc h2 {
    font-size: 26px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
