:root {
  --bg0: #0e1412;
  --bg1: #15201c;
  --ink: #e8f2ee;
  --muted: #9bb0a8;
  --accent: #7ec8b8;
  --accent-deep: #2f6b5e;
  --line: rgba(126, 200, 184, 0.22);
  --font: "DM Sans", "Segoe UI", sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(47, 107, 94, 0.35), transparent 55%),
    radial-gradient(900px 600px at -10% 40%, rgba(126, 200, 184, 0.12), transparent 50%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 45%, #101816);
  line-height: 1.5;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.nav, main, footer { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 6vw;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}

.nav nav { display: flex; gap: 1.5rem; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: 2rem 6vw 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 16ch;
}

.lede {
  margin: 1.1rem 0 1.75rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36ch;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.35rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--accent);
  color: #0c1512;
}
.btn.primary:hover { background: #95d8c9; }
.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.btn.ghost:hover { border-color: var(--accent); }
.btn.large { padding: 1rem 1.6rem; font-size: 1.05rem; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.shield-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 200, 184, 0.28), transparent 65%);
  filter: blur(8px);
}
.shield {
  width: min(280px, 70vw);
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.hero-copy.animate { animation: rise 700ms ease both; }
.hero-visual.animate { animation: float-in 900ms ease both; }
.hero-visual.animate .shield { animation: breathe 5s ease-in-out infinite; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 6vw;
  border-top: 1px solid var(--line);
}
.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
}
.section-lede {
  margin: 0.75rem 0 2rem;
  color: var(--muted);
  max-width: 42ch;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.feature-list li {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; padding-bottom: 0; }
.feature-list strong {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.feature-list span { color: var(--muted); max-width: 52ch; }

.download { text-align: left; }
.fine {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 48ch;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 6vw 3rem;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }
  .hero-visual { order: -1; min-height: 240px; }
  .brand-mark { font-size: 2.2rem; }
  .nav nav { gap: 1rem; }
}
