:root {
  --ink: #0e1412;
  --paper: #e7efe8;
  --muted: #8a9a90;
  --line: rgba(231, 239, 232, 0.14);
  --accent: #c4a35a;
  --accent-2: #2f6f5e;
  --glow: rgba(47, 111, 94, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 80% -10%, var(--glow), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(196, 163, 90, 0.16), transparent 50%),
    linear-gradient(165deg, #0a100e 0%, #121a17 45%, #0e1412 100%);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(231, 239, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 239, 232, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(14, 20, 18, 0.72);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.02em;
}
nav {
  display: flex;
  gap: 1.25rem;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
nav a:hover { color: var(--paper); }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.04em;
  line-height: 0.95;
  background: linear-gradient(120deg, #f3ead2 10%, var(--accent) 45%, #7dbaa8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s ease-out both;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  max-width: 16ch;
  animation: rise 0.9s ease-out 0.08s both;
}
.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
  animation: rise 0.9s ease-out 0.16s both;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s ease-out 0.24s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--accent);
  color: #1a160c;
}
.btn.primary:hover { background: #d4b56d; }
.btn.ghost {
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(231, 239, 232, 0.03);
}
.btn.ghost:hover { border-color: rgba(231, 239, 232, 0.35); }

.hero-visual {
  min-height: min(58vh, 520px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(47, 111, 94, 0.25), transparent 40%),
    linear-gradient(20deg, rgba(196, 163, 90, 0.12), transparent 35%),
    repeating-linear-gradient(
      90deg,
      rgba(231, 239, 232, 0.04) 0 1px,
      transparent 1px 56px
    ),
    linear-gradient(#15201c, #0f1613);
  position: relative;
  overflow: hidden;
  animation: fade 1.1s ease-out 0.2s both;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.hero-visual::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14%;
  height: 38%;
  border: 1px solid rgba(231, 239, 232, 0.16);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(18, 26, 23, 0.2), rgba(14, 20, 18, 0.85));
  backdrop-filter: blur(2px);
}
.hero-visual::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 28%;
  top: 18%;
  height: 42%;
  background:
    linear-gradient(90deg, transparent, rgba(125, 186, 168, 0.55), transparent),
    linear-gradient(transparent 60%, rgba(196, 163, 90, 0.35));
  clip-path: polygon(0 70%, 12% 55%, 28% 62%, 42% 30%, 58% 48%, 72% 22%, 88% 40%, 100% 18%, 100% 100%, 0 100%);
  opacity: 0.85;
  animation: pulse 4.5s ease-in-out infinite;
}

.section {
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.section-lede {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(231, 239, 232, 0.02);
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  align-self: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #1a160c;
  background: var(--accent);
}
.steps strong { font-size: 1.05rem; }
.steps span { color: var(--muted); grid-column: 2; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.features li {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent-2);
  background: rgba(47, 111, 94, 0.12);
  color: var(--paper);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.foot a { color: var(--paper); }

.page {
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 900px;
}
.page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}
.download-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.download-card {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  background: rgba(231, 239, 232, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.download-card:hover {
  border-color: rgba(196, 163, 90, 0.55);
  transform: translateY(-2px);
}
.download-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.download-card span { color: var(--muted); font-size: 0.95rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2.5rem; }
  .hero-visual { min-height: 280px; order: -1; }
  nav { gap: 0.85rem; font-size: 0.9rem; }
}
