:root {
  color-scheme: dark;
  --bg: #0b120e;
  --pond: #101b13;
  --pond-2: #15251a;
  --text: #f3f7ee;
  --muted: rgba(243, 247, 238, 0.72);
  --soft: rgba(243, 247, 238, 0.12);
  --line: rgba(132, 209, 80, 0.24);
  --green: #84d150;
  --green-dark: #356f2c;
  --amber: #ffb23e;
  --coral: #ff6b62;
  --water: #55c9b8;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(11, 18, 14, 0.94), rgba(11, 18, 14, 1)),
    radial-gradient(
      circle at 72% 18%,
      rgba(132, 209, 80, 0.14),
      transparent 28%
    ),
    radial-gradient(circle at 24% 48%, rgba(85, 201, 184, 0.1), transparent 26%);
  color: var(--text);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-200%);
  border-radius: 6px;
  background: var(--amber);
  color: var(--bg);
  font-weight: 800;
}

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

#hero-title,
#roadmap-title,
#privacy-title,
#terms-title {
  scroll-margin-top: 80px;
}

.nav-links a[aria-current="page"],
.footer-links a[aria-current="page"] {
  color: var(--amber);
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(243, 247, 238, 0.1);
  background: rgba(11, 18, 14, 0.78);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 64px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(11, 18, 14, 0.94) 0%,
      rgba(11, 18, 14, 0.68) 48%,
      rgba(11, 18, 14, 0.2) 100%
    ),
    linear-gradient(180deg, rgba(11, 18, 14, 0.08), rgba(11, 18, 14, 0.9)),
    url("./assets/app-general.png") center right / min(930px, 82vw) auto
      no-repeat;
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 72px;
}

.eyebrow {
  color: var(--amber);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(243, 247, 238, 0.82);
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.42;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(132, 209, 80, 0.72);
  background: var(--green);
  color: #0e1c0c;
}

.button:hover {
  border-color: var(--amber);
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 870px;
  overflow: hidden;
  border: 1px solid rgba(243, 247, 238, 0.1);
  border-radius: 8px;
  background: rgba(243, 247, 238, 0.1);
}

.status-row span {
  display: block;
  min-height: 66px;
  padding: 14px 16px;
  background: rgba(16, 27, 19, 0.78);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.status-row strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 3px;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: rgba(21, 37, 26, 0.62);
  border-top: 1px solid rgba(243, 247, 238, 0.08);
  border-bottom: 1px solid rgba(243, 247, 238, 0.08);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.section-head h1,
.section-head h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.step,
.feature,
.notice,
.model-row {
  border: 1px solid rgba(243, 247, 238, 0.12);
  border-radius: 8px;
  background: rgba(16, 27, 19, 0.74);
}

.step {
  padding: 24px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 178, 62, 0.14);
  color: var(--amber);
  font-weight: 900;
}

.step h3,
.feature h3,
.model-main strong {
  margin-bottom: 9px;
  font-size: 18px;
}

.step p,
.feature p,
.model-main p,
.notice p {
  color: var(--muted);
  line-height: 1.55;
}

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

.feature {
  padding: 22px;
}

.feature h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(132, 209, 80, 0.12);
}

.screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.screenshot {
  margin: 0;
}

.screenshot img {
  border: 1px solid rgba(132, 209, 80, 0.3);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

.screenshot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.model-list {
  display: grid;
  gap: 10px;
}

.model-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
}

.model-main p {
  margin-bottom: 0;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid rgba(255, 178, 62, 0.38);
  border-radius: 999px;
  color: #ffd89a;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
}

.size {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.notice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
  padding: 22px;
  border-color: rgba(255, 107, 98, 0.34);
}

.notice strong {
  color: #ffaaa4;
}

.install {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(132, 209, 80, 0.24);
  border-radius: 8px;
  background: #080d0a;
  color: #dff7d0;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid rgba(243, 247, 238, 0.1);
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

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

.footer-links a {
  text-decoration: none;
}

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

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(243, 247, 238, 0.12);
  border-radius: 8px;
  background: rgba(16, 27, 19, 0.74);
}

.roadmap-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.roadmap-card-head h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.roadmap-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.roadmap-link {
  margin-top: auto;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

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

.status-pill {
  flex-shrink: 0;
  align-self: center;
  padding: 4px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.status-shipped {
  border-color: rgba(132, 209, 80, 0.4);
  background: rgba(132, 209, 80, 0.12);
  color: var(--green);
}

.status-progress {
  border-color: rgba(255, 178, 62, 0.42);
  background: rgba(255, 178, 62, 0.12);
  color: var(--amber);
}

.status-planned {
  border-color: rgba(85, 201, 184, 0.4);
  background: rgba(85, 201, 184, 0.12);
  color: var(--water);
}

.status-exploring {
  border-color: rgba(255, 107, 98, 0.4);
  background: rgba(255, 107, 98, 0.12);
  color: var(--coral);
}

.legal-hero {
  padding: 132px 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 850px;
}

.legal-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.data-card {
  padding: 20px;
  border: 1px solid rgba(243, 247, 238, 0.12);
  border-radius: 8px;
  background: rgba(16, 27, 19, 0.78);
}

.data-card h2 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.data-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.data-label {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 52px;
  align-items: start;
  justify-content: center;
}

.legal-toc {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid rgba(243, 247, 238, 0.1);
  border-radius: 8px;
  background: rgba(16, 27, 19, 0.72);
}

.legal-toc h2 {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 13px;
}

.legal-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc li {
  list-style: none;
}

.legal-toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--green);
}

.legal-document {
  min-width: 0;
}

.legal-section {
  scroll-margin-top: 90px;
  padding: 0 0 34px;
}

.legal-section + .legal-section {
  padding-top: 34px;
  border-top: 1px solid rgba(243, 247, 238, 0.1);
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.legal-section h3 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  color: var(--green);
  text-underline-offset: 3px;
}

.legal-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 178, 62, 0.08);
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 74svh;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(11, 18, 14, 0.82), rgba(11, 18, 14, 0.96)),
      url("./assets/app-general.png") center bottom / 900px auto no-repeat;
    opacity: 0.82;
  }

  .hero-inner {
    padding: 42px 0 24px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .lede {
    font-size: 18px;
  }

  .actions {
    margin-bottom: 20px;
  }

  .status-row span {
    min-height: 0;
    padding: 10px 14px;
    font-size: 13px;
  }

  .status-row,
  .steps,
  .feature-grid,
  .screens,
  .install,
  .roadmap-grid,
  .data-grid {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    padding: 108px 0 34px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-toc {
    position: static;
  }

  .section-head,
  .notice,
  .site-footer .wrap {
    display: block;
  }

  .footer-links {
    margin-top: 14px;
  }

  .section-head p,
  .notice .button {
    margin-top: 14px;
  }

  .model-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  .legal-toc {
    position: static;
  }
}

/* Swamp ambiance. Two decorative layers, both pointer-transparent and
   motion-reduced aware: drifting mist sits behind everything (body::before,
   z-index -1) so it never washes out text; the fireflies are a thin
   foreground layer (.swamp, z-index 5) that drifts over the content but
   below the fixed header, so they stay visible on a card-dense page. */
body::before {
  content: "";
  position: fixed;
  inset: -25% -15%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      42% 30% at 22% 82%,
      rgba(85, 201, 184, 0.1),
      transparent 70%
    ),
    radial-gradient(
      46% 34% at 78% 72%,
      rgba(53, 111, 44, 0.13),
      transparent 72%
    ),
    radial-gradient(
      34% 24% at 54% 92%,
      rgba(132, 209, 80, 0.09),
      transparent 70%
    );
  animation: mist-drift 46s ease-in-out infinite alternate;
}

.swamp {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.swamp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    120px 180px 5px 1px rgba(255, 201, 112, 0.8),
    340px 520px 4px 0 rgba(150, 222, 110, 0.7),
    560px 280px 5px 1px rgba(255, 201, 112, 0.8),
    760px 640px 4px 0 rgba(255, 201, 112, 0.75),
    980px 200px 5px 1px rgba(150, 222, 110, 0.7),
    1180px 480px 4px 0 rgba(255, 201, 112, 0.8),
    1380px 320px 5px 1px rgba(255, 201, 112, 0.75),
    1560px 600px 4px 0 rgba(120, 220, 200, 0.7),
    1740px 260px 5px 1px rgba(255, 201, 112, 0.8),
    240px 760px 4px 0 rgba(255, 201, 112, 0.7),
    620px 80px 4px 0 rgba(150, 222, 110, 0.7),
    880px 820px 5px 1px rgba(255, 201, 112, 0.8),
    1120px 720px 4px 0 rgba(120, 220, 200, 0.65),
    1480px 800px 4px 0 rgba(255, 201, 112, 0.75),
    1660px 120px 5px 1px rgba(150, 222, 110, 0.7),
    60px 440px 4px 0 rgba(255, 201, 112, 0.75);
  animation:
    firefly-drift 13s ease-in-out infinite alternate,
    firefly-glow 5s ease-in-out infinite;
}

@keyframes mist-drift {
  0% {
    transform: translate3d(-2%, 0, 0);
  }
  100% {
    transform: translate3d(3%, -2%, 0);
  }
}

@keyframes firefly-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(26px, -28px, 0);
  }
}

@keyframes firefly-glow {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.85;
  }
}

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

  body::before {
    animation: none;
  }

  .swamp::before {
    animation: none;
    opacity: 0.5;
  }
}
