:root {
  color-scheme: light;
  --bg: #f4efe6;
  --surface: rgba(255, 251, 245, 0.9);
  --surface-strong: #fffaf3;
  --ink: #12211b;
  --muted: #54625d;
  --line: rgba(18, 33, 27, 0.1);
  --accent: #0d6c60;
  --accent-strong: #0a4f45;
  --accent-soft: rgba(13, 108, 96, 0.1);
  --shadow: 0 22px 65px rgba(35, 28, 18, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(13, 108, 96, 0.16), transparent 28rem),
    radial-gradient(circle at top right, rgba(18, 33, 27, 0.08), transparent 24rem),
    linear-gradient(180deg, #faf6ee, var(--bg));
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(16px);
  background: rgba(250, 246, 238, 0.78);
  border-bottom: 1px solid rgba(18, 33, 27, 0.06);
}

.brand-mark {
  text-decoration: none;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font: inherit;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
}

.section {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
  min-height: calc(100vh - 5rem);
  padding-top: 3rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.95;
  max-width: 13ch;
}

.hero-text {
  max-width: 48rem;
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 13rem;
  padding: 0.92rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(10, 79, 69, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-note {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel,
.info-card,
.panel-card,
.story-card,
.contact-card,
.process-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.stat-card {
  padding: 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 33, 27, 0.08);
}

.stat-card strong {
  display: block;
  margin-top: 0.35rem;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.1rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.82rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 0;
}

.trust-chip {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--muted);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.card-grid,
.story-layout,
.contact-layout,
.process-grid {
  display: grid;
  gap: 1rem;
}

.card-grid,
.contact-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.2rem;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.story-card,
.panel-card,
.contact-card,
.process-card {
  padding: 1.25rem;
}

.info-card h3,
.story-card h3,
.panel-card h3,
.contact-card h3,
.process-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.12rem;
}

.accent-band {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

.demo-flow > div {
  padding: 1rem;
  border-top: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.52);
}

.demo-step {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.demo-detail {
  margin: 0;
  color: var(--muted);
}

.process-number {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

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

.panel-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.contact-section {
  padding-bottom: 4.5rem;
}

.contact-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .card-grid,
  .story-layout,
  .split-layout,
  .contact-layout,
  .demo-flow,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    display: none;
    flex-direction: column;
    min-width: 13rem;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(255, 250, 244, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}
