:root {
  --bg: #0b1218;
  --bg-2: #121c26;
  --ink: #e8eef4;
  --muted: #8fa0b0;
  --line: rgba(232, 238, 244, 0.12);
  --accent: #2ec4b6;
  --accent-2: #f0a202;
  --panel: rgba(18, 28, 38, 0.72);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1080px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1100px 560px at 8% -10%, rgba(46, 196, 182, 0.18), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(240, 162, 2, 0.12), transparent 50%),
    linear-gradient(180deg, #0b1218 0%, #0e1620 40%, #0b1218 100%);
  min-height: 100vh;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 0;
  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");
}

.top, main, .foot { position: relative; z-index: 1; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #06201d;
  font-family: var(--font-display);
  font-weight: 800;
}

.logo-text {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.logo-text strong { font-weight: 800; }

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--bg) !important;
  background: var(--accent);
  padding: 0.45rem 0.85rem;
  font-weight: 600;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7rem) 1.25rem 4.5rem;
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-hero {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  animation: rise 0.8s ease both;
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  animation: rise 0.9s 0.08s ease both;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
  animation: rise 1s 0.14s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: rise 1s 0.2s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn.primary {
  background: var(--accent);
  color: #06201d;
}

.btn.primary:hover { background: #45d4c6; }

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn.ghost:hover { border-color: rgba(232, 238, 244, 0.35); }

.btn.large { padding: 1rem 1.5rem; font-size: 1.05rem; }

.hero-meta {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  animation: rise 1s 0.26s ease both;
}

.band {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(46, 196, 182, 0.06), transparent 40%, rgba(240, 162, 2, 0.05));
}

.band-inner,
.features,
.flow,
.quote,
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.band-inner h2,
.features h2,
.flow h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.band-inner > p,
.section-lede,
.contact > p {
  color: var(--muted);
  max-width: 40rem;
  margin: 1rem 0 0;
}

.pillars {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.pillars li {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.pillars strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.feature-grid {
  margin-top: 2.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-grid article {
  padding: 1.35rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-grid code {
  font-size: 0.9em;
  color: var(--accent);
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.step-n {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-2);
  font-size: 1.1rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.quote {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.quote blockquote {
  margin: 0;
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  border-left: 3px solid var(--accent);
  padding-left: 1.1rem;
}

.contact {
  text-align: left;
}

.contact .btn { margin-top: 1.75rem; }

.fine {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-hero, .hero h1, .lede, .cta-row, .hero-meta { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 680px) {
  .nav a:not(.nav-cta) { display: none; }
}
