:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --ink: #1b1b1b;
  --muted: #5e5a55;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --tint: #efe9e2;
  --border: rgba(27, 27, 27, 0.12);
  --radius: 20px;
  --maxw: 1080px;
  --gutter: clamp(20px, 4vw, 48px);
  font-family: "Manrope", "Source Sans 3", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(900px 500px at 80% -10%, #ece3da 0%, transparent 55%),
    radial-gradient(800px 400px at -10% 10%, #ede7df 0%, transparent 60%),
    var(--bg);
  min-height: 100vh;
}

h1,
h2,
.brand {
  font-family: "Fraunces", "Newsreader", Georgia, serif;
}

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--gutter) 72px;
}

.site-header {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
}

.brand {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin-bottom: 64px;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin: 0 0 16px;
}

.subhead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 60ch;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.cta-form input {
  flex: 1 1 220px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.cta-button:hover {
  background: var(--accent-hover);
}

.cta-button:focus-visible,
.cta-form input:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 2px;
}

.cta-helper,
.trust,
.status,
.fallback {
  color: var(--muted);
  margin: 6px 0 0;
}

.status {
  min-height: 1.4rem;
  color: var(--accent-hover);
  font-weight: 600;
}

.hero-visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(27, 27, 27, 0.08);
}

.hero-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-visual rect:first-of-type {
  fill: #ffffff;
  stroke: var(--border);
  stroke-width: 1;
}

.hero-visual .line {
  fill: var(--accent);
}

.hero-visual .soft {
  fill: #e7ded5;
}

.section {
  margin: 0 0 48px;
}

.section h2 {
  font-size: 1.3rem;
  margin: 0 0 12px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  max-width: 60ch;
}

.scope {
  font-weight: 600;
  margin: 0 0 6px;
}

.scope-note {
  margin: 0 0 16px;
  color: var(--muted);
}

.cta-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 16px;
  gap: 6px;
}

.footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer a {
  color: var(--accent-hover);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  animation: rise 0.7s ease-out both;
  animation-delay: var(--delay, 0s);
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 32px var(--gutter) 56px;
  }

  .cta-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
  }
}
