:root {
  --bg: #f7f5ef;
  --ink: #19201f;
  --muted: #64706d;
  --line: #d8ded8;
  --surface: #ffffff;
  --surface-strong: #edf4f1;
  --accent: #0f8b7a;
  --accent-dark: #09695d;
  --coral: #f26f4c;
  --shadow: 0 24px 70px rgba(25, 32, 31, 0.12);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 222, 216, 0.75);
  background: rgba(247, 245, 239, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.contact,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 35%, var(--accent) 35% 65%, transparent 65%),
    linear-gradient(0deg, transparent 40%, var(--coral) 40% 60%, transparent 60%);
}

.site-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(36px, 8vw, 90px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.flow-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.flow-card {
  padding: 22px;
  box-shadow: var(--shadow);
}

.flow-card.is-active {
  background: var(--surface-strong);
  border-color: rgba(15, 139, 122, 0.35);
}

.flow-card span,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
}

.flow-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.flow-card p,
.feature-card p,
.steps,
.contact p,
.site-footer {
  color: var(--muted);
}

.section,
.workflow,
.contact {
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-heading,
.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 80px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  background: var(--accent);
}

.workflow {
  background: #eaf0eb;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
}

.steps li {
  padding-left: 10px;
}

.steps span {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.contact {
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.site-footer {
  justify-content: center;
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    position: sticky;
    top: 74px;
    z-index: 9;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 245, 239, 0.96);
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .hero,
  .section-heading,
  .workflow {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }
}
