:root {
  --bg: #0c1412;
  --bg-deep: #121c19;
  --ink: #e6f0ec;
  --muted: #8fa39c;
  --line: rgba(230, 240, 236, 0.1);
  --brand: #7ecfc0;
  --brand-soft: #4fd1b5;
  --brand-fill: #0f3d38;
  --accent: #1aae7a;
  --accent-bright: #3dcc9a;
  --surface: #1a2623;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --on-brand: #04261c;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", "Space Grotesk", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(26, 174, 122, 0.22), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(79, 209, 181, 0.14), transparent 50%),
    linear-gradient(160deg, var(--bg), var(--bg-deep));
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-soft);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
}

.site-header.on-hero .brand-link span {
  color: #f4fffa;
}

.site-header.on-hero .nav a {
  color: rgba(244, 255, 250, 0.92);
}

.site-header.on-hero .nav a:hover,
.site-header.on-hero .nav a[aria-current="page"] {
  background: rgba(244, 255, 250, 0.14);
  color: #fff;
}

.site-header.on-hero .nav .nav-cta {
  background: var(--accent-bright);
  color: var(--on-brand);
}

.site-header.on-hero .nav .nav-cta:hover {
  background: #62e6ad;
  color: var(--on-brand);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-link img {
  width: 40px;
  height: 40px;
}

.brand-link span {
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--brand);
}

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

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(126, 207, 192, 0.1);
}

.nav .nav-cta {
  background: var(--brand-fill);
  color: #f4fffa;
  margin-left: 4px;
}

.nav .nav-cta:hover {
  background: #145c56;
  color: #f4fffa;
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(61, 220, 151, 0.16), transparent 58%),
    linear-gradient(145deg, #0a1a17 0%, #0c2420 48%, #0f3d38 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 255, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 255, 250, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
  opacity: 0.45;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0 8px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  color: #f4fffa;
  padding-bottom: 0;
  animation: rise 0.8s ease both;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 0 6px;
}

.hero-pronounce {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  color: rgba(244, 255, 250, 0.55);
}

.hero-line {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.45;
  max-width: 30ch;
  margin: 0 0 22px;
  color: rgba(244, 255, 250, 0.9);
  font-weight: 400;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  appearance: none;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: var(--accent-bright);
  color: var(--on-brand);
  box-shadow: 0 10px 30px rgba(61, 204, 154, 0.28);
}

.btn-primary:hover {
  background: #62e6ad;
}

.btn-ghost {
  background: rgba(244, 255, 250, 0.12);
  color: #f4fffa;
  border: 1px solid rgba(244, 255, 250, 0.28);
}

.btn-ghost:hover {
  background: rgba(244, 255, 250, 0.2);
}

.btn-solid {
  background: var(--brand-fill);
  color: #f4fffa;
}

.btn-solid:hover {
  background: #145c56;
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: rgba(126, 207, 192, 0.1);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hero-visual {
  animation: rise 0.9s ease 0.12s both;
}

.app-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(230, 240, 236, 0.12);
  background: #101c19;
  line-height: 0;
}

.app-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.shot-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101c19;
  box-shadow: var(--shadow);
}

.shot-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-grid figcaption {
  padding: 10px 14px 12px;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

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

.section-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-soft);
  margin: 0 0 10px;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--brand);
  max-width: 16ch;
}

.section-lead {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
  max-width: 42ch;
}

.feature-stack {
  display: grid;
  gap: 0;
}

.feature {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-index {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.95rem;
  padding-top: 6px;
}

.feature h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--brand);
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 52ch;
}

.band {
  margin: 24px 0 0;
  padding: 64px 0;
  background:
    linear-gradient(120deg, rgba(15, 61, 56, 0.92), rgba(20, 92, 86, 0.88)),
    var(--brand-fill);
  color: #f4fffa;
  border-block: 1px solid var(--line);
}

.band .section {
  padding: 0;
}

.band h2 {
  color: #f4fffa;
}

.band .section-lead {
  color: rgba(244, 255, 250, 0.78);
}

.band-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.band-points li {
  border-top: 1px solid rgba(244, 255, 250, 0.2);
  padding-top: 16px;
}

.band-points strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.band-points span {
  color: rgba(244, 255, 250, 0.78);
  line-height: 1.45;
  font-size: 0.98rem;
}

.page-hero {
  padding: 130px 0 40px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  animation: rise 0.7s ease both;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: -0.04em;
  color: var(--brand);
  margin: 0 0 12px;
  line-height: 0.98;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 42ch;
  line-height: 1.5;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 80px;
}

.download-slot {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: #0a1f1c;
  color: var(--accent-bright);
}

.download-slot h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.download-slot p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.download-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner a {
  color: var(--brand-soft);
  text-decoration: none;
  font-weight: 600;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-header.on-hero {
    position: relative;
    width: min(var(--max), calc(100% - 40px));
  }

  .hero {
    padding: 0 0 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 8px 0 0;
    gap: 20px;
  }

  .hero-bg {
    inset: 0;
    height: auto;
    min-height: 100%;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .band-points,
  .download-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

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