:root {
  --ink: #14201b;
  --muted: #3d5248;
  --paper: #f3f6f2;
  --accent: #0f6b4c;
  --accent-2: #c45c26;
  --line: rgba(20, 32, 27, 0.12);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(15, 107, 76, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 92, 38, 0.1), transparent 55%),
    linear-gradient(180deg, #e8efe9 0%, var(--paper) 40%, #eef2eb 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--accent);
}

.ghost {
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}

.ghost:hover {
  border-bottom-color: var(--ink);
}

main {
  flex: 1;
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: grid;
  gap: 2.5rem;
  align-items: end;
  min-height: calc(100vh - 12rem);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.85rem;
  max-width: 28ch;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36ch;
  margin: 0 0 1.5rem;
}

.cta {
  display: flex;
  gap: 0.75rem;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #f7faf6;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}

.glow {
  position: absolute;
  inset: 10% 5% 0;
  background: linear-gradient(135deg, rgba(15, 107, 76, 0.35), rgba(196, 92, 38, 0.25));
  filter: blur(40px);
  opacity: 0.85;
  animation: pulse 6s ease-in-out infinite;
}

.code-panel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: rgba(20, 32, 27, 0.92);
  color: #d7e8de;
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: rise 0.9s ease both;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.objections {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.objections ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  max-width: 40ch;
}

.objections li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
  padding-left: 1.35rem;
  position: relative;
}

.objections li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
  border-radius: 50%;
}

footer {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Legal stubs */
.legal-page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 1rem;
}

.legal-page p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.legal-page .back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.legal-page .back:hover {
  text-decoration: underline;
}
