:root {
  color-scheme: light;
  --bg: #0f3029;
  --panel: #ffffff;
  --ink: #f7fbf7;
  --muted: #c8d7cf;
  --line: rgba(255, 255, 255, 0.18);
  --accent: #00d852;
  --accent-strong: #30f071;
  --deep: #09241f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 216, 82, 0.18), transparent 24rem),
    linear-gradient(135deg, #123b32 0%, #0d3029 52%, #071c18 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.18;
}

a {
  color: inherit;
}

.hero {
  flex: 1;
  width: min(100%, 1180px);
  min-height: 38vh;
  margin: 0 auto;
  padding: 86px 24px 32px;
  display: flex;
  align-items: flex-end;
}

.hero-copy {
  max-width: 760px;
}

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

.hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.tagline {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.22rem;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--accent);
  color: #061a14;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.screenshots img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.screenshots {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 18px 24px 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screenshots img {
  aspect-ratio: 1125 / 2436;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.site-footer {
  padding: 28px 24px 34px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}

.site-footer p {
  margin-bottom: 0;
}

.topbar {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.topbar nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand,
.topbar a {
  font-weight: 700;
  text-decoration: none;
}

.topbar nav a {
  color: var(--muted);
}

.topbar nav a:hover,
.topbar nav a:focus-visible,
.topbar nav a[aria-current="page"] {
  color: #fff;
}

.policy {
  flex: 1;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.policy article {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #17211d;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.eyebrow {
  margin-bottom: 10px;
  color: #0e6a42;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.policy h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.policy h2 {
  margin: 34px 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.policy p {
  color: #5b665f;
}

.policy a {
  color: #0e6a42;
  font-weight: 700;
}

.compact {
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 44px;
    display: block;
  }

  .screenshots {
    width: 100%;
    padding: 8px 18px 46px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78vw);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 18px;
    scroll-snap-type: inline mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshots img {
    scroll-snap-align: center;
  }

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

  .button {
    width: 100%;
  }

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

  .policy {
    padding-top: 24px;
  }

  .policy article {
    padding: 28px 22px;
  }
}
