@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

:root {
  --ink: #071018;
  --fog: #9aa7b2;
  --paper: #f3f1eb;
  --brass: #c9a45c;
  --brass-soft: #e8d5a3;
  --teal: #1a8f7c;
  --line: rgba(255, 252, 247, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: #fffcf7;
  background: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.85), transparent);
  backdrop-filter: blur(2px);
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-links a { opacity: 0.78; transition: opacity 0.15s ease; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--brass);
  color: var(--ink) !important;
  opacity: 1 !important;
  padding: 0.55rem 1rem;
  border-radius: 4px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 4rem);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 55% at 70% 35%, rgba(26, 143, 124, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(201, 164, 92, 0.2), transparent 50%),
    linear-gradient(160deg, #050b11 0%, #0a1a22 42%, #071018 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 252, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 252, 247, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  animation: gridDrift 28s linear infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: auto -10% -20% 40%;
  height: 70%;
  background:
    radial-gradient(circle at 30% 40%, rgba(201, 164, 92, 0.35), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(26, 143, 124, 0.3), transparent 40%);
  filter: blur(40px);
  animation: glowPulse 7s ease-in-out infinite alternate;
}

.hero-copy {
  max-width: 920px;
  animation: heroRise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 1.25rem;
}

.hero-brand em {
  font-style: normal;
  background: linear-gradient(120deg, #fffcf7 20%, var(--brass-soft) 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 18ch;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero p {
  max-width: 42ch;
  color: rgba(255, 252, 247, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 1.45rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: #fffcf7;
  color: var(--ink);
}
.btn-primary:hover { background: var(--brass-soft); }
.btn-ghost {
  border-color: rgba(255, 252, 247, 0.28);
  color: #fffcf7;
}
.btn-ghost:hover { border-color: var(--brass-soft); }

.section {
  padding: clamp(3.5rem, 8vh, 6rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--paper);
  color: var(--ink);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}
.section-head .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a7a35;
  margin-bottom: 0.6rem;
}
.section-head h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.7rem;
}
.section-head p {
  color: #3d4a55;
  line-height: 1.55;
  max-width: 48ch;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tool-link {
  display: block;
  padding: 1.5rem 1.35rem;
  border: 1px solid #d9d3c6;
  border-radius: 4px;
  background: #fffcf7;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 160px;
}
.tool-link:hover {
  transform: translateY(-3px);
  border-color: #b8954a;
  box-shadow: 0 16px 40px rgba(7, 16, 24, 0.08);
}
.tool-link .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: #9a7a35;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}
.tool-link h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}
.tool-link p {
  color: #3d4a55;
  font-size: 0.92rem;
  line-height: 1.45;
}

.monetize {
  background: #0a1a22;
  color: #fffcf7;
}
.monetize .section-head .eyebrow { color: var(--brass-soft); }
.monetize .section-head p { color: rgba(255, 252, 247, 0.68); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.pillar h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.pillar p {
  color: rgba(255, 252, 247, 0.65);
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer {
  background: #050b11;
  color: rgba(255, 252, 247, 0.65);
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid rgba(255, 252, 247, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 0.85rem;
}
.footer-grid a, .footer-grid p {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  line-height: 1.5;
}
.footer-grid a:hover { color: #fffcf7; }
.footer-note {
  font-size: 0.75rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 252, 247, 0.08);
  padding-top: 1.25rem;
}

.ad-slot {
  margin: 0 auto 1.5rem;
  max-width: 980px;
  min-height: 90px;
  border: 1px dashed rgba(201, 164, 92, 0.4);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: rgba(255, 252, 247, 0.03);
}
.ad-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.ad-size { font-size: 0.8rem; color: var(--fog); }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-72px, -36px, 0); }
}
@keyframes glowPulse {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 0.95; transform: scale(1.05); }
}

@media (max-width: 900px) {
  .tool-grid, .pillars, .footer-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-brand { font-size: clamp(3rem, 16vw, 4.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
