:root {
  --ink: #10110f;
  --paper: #f7f8f4;
  --muted: #62665d;
  --line: rgba(16, 17, 15, 0.15);
  --accent: #c5e384;
  --accent-strong: #a4cf46;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 28px;
  color: var(--white);
  background: rgba(16, 17, 15, 0.38);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 248, 244, 0.92);
  border-bottom-color: var(--line);
}

.brand,
.site-nav,
.header-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 5px solid var(--accent);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(32deg);
}

.site-nav {
  gap: 22px;
  font-size: 14px;
}

.site-nav a,
.header-action {
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.header-action:hover {
  color: var(--accent);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"],
.site-header.is-scrolled .header-action:hover {
  color: #5f7f11;
}

.header-action {
  justify-self: end;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  animation: hero-zoom 1200ms ease forwards;
}

.hero-home .hero-media {
  background-image: url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=2200&q=80");
}

.hero-app .hero-media {
  background-image: url("https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=2200&q=80");
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 17, 15, 0.88), rgba(16, 17, 15, 0.50) 44%, rgba(16, 17, 15, 0.18)),
    linear-gradient(180deg, rgba(16, 17, 15, 0.20), rgba(16, 17, 15, 0.62));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  padding: 164px 0 96px;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  font-size: 18px;
  line-height: 1.62;
}

.hero-copy {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button-quiet {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
}

.section {
  padding: 96px 20px;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}

.copy-stack p {
  color: var(--muted);
}

.section-dark .copy-stack p,
.section-dark .final-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.image-band {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.image-band img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  opacity: 0.68;
  transform: scale(1.01);
}

.image-band-copy {
  position: absolute;
  left: max(20px, calc((100vw - 1120px) / 2));
  bottom: 72px;
  max-width: 520px;
}

.image-band-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.final-cta {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.download-panel,
.contact-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.download-panel {
  padding: 36px;
}

.download-panel p {
  color: var(--muted);
}

.page-hero {
  padding: 156px 20px 72px;
  background: var(--ink);
  color: var(--white);
}

.page-hero > * {
  width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.legal-content {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 96px;
}

.legal-content h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: 26px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a,
.text-link {
  color: #5f7f11;
  font-weight: 800;
}

.support-list {
  display: grid;
  gap: 18px;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.contact-row p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

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

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.01);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 64px;
    gap: 14px;
    padding: 14px 18px;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .header-action {
    font-size: 13px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 17, 15, 0.88), rgba(16, 17, 15, 0.52)),
      linear-gradient(180deg, rgba(16, 17, 15, 0.18), rgba(16, 17, 15, 0.70));
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 150px 0 66px;
    margin-left: 18px;
  }

  h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  h2 {
    font-size: 32px;
  }

  p {
    font-size: 16px;
  }

  .section {
    padding: 68px 18px;
  }

  .two-column,
  .download-grid,
  .contact-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .image-band,
  .image-band img {
    min-height: 540px;
    height: 540px;
  }

  .image-band-copy {
    left: 18px;
    right: 18px;
    bottom: 48px;
  }

  .download-panel,
  .contact-row {
    padding: 24px;
  }

  .page-hero {
    padding-top: 150px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .button {
    padding-left: 14px;
    padding-right: 14px;
  }
}

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

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