:root {
  --bg: #f4f1eb;
  --bg-deep: #e8e2d6;
  --ink: #1a1f1c;
  --ink-soft: #3d4740;
  --muted: #6b756e;
  --line: #cfc7b8;
  --accent: #0f5c4c;
  --accent-2: #1a7a66;
  --card: #fffdf8;
  --danger: #8b3a2a;
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #dfece7 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #efe6d4 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

img {
  max-width: 100%;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #f7fffc;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}

.hero {
  padding: 4.5rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 0 1.5rem;
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 18px 40px -28px rgba(26, 31, 28, 0.45);
}

.hero-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: color-mix(in srgb, var(--bg-deep) 55%, transparent);
  border-block: 1px solid var(--line);
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.25rem 1.3rem;
  height: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.85rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.tag {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 70%, white);
  padding: 0.25rem 0.55rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.form {
  display: grid;
  gap: 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.35rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius);
  color: var(--ink);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.form-success {
  display: none;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, white);
  padding: 0.9rem 1rem;
  color: var(--ink-soft);
}

.form.is-ok .form-success {
  display: block;
}

.form.is-ok .form-fields {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s var(--ease) forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}
.reveal:nth-child(3) {
  animation-delay: 0.16s;
}
.reveal:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .card,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

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

.prose {
  max-width: 68ch;
}

.prose p {
  color: var(--ink-soft);
}

.cta-band {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fffdf8, #eaf3ef);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
