:root {
  --ink: #142427;
  --muted: #5b6b6d;
  --paper: #f3f6f4;
  --card: #ffffff;
  --line: #d7e0dc;
  --accent: #1f7a72;
  --accent-dark: #165e58;
  --max: 1040px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f7a72, #8fd0c4);
}
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 24px 0 56px;
}
.hero h1 {
  font-weight: 560;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.lede { font-size: 18px; color: var(--muted); margin: 0 0 24px; }

.flow {
  height: 320px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 20%, #c9ebe4 0, transparent 42%),
    radial-gradient(circle at 80% 30%, #9fd4cc 0, transparent 38%),
    linear-gradient(160deg, #1f7a72 0%, #143c3e 100%);
  box-shadow: 0 18px 40px rgba(20, 36, 39, 0.14);
  position: relative;
  overflow: hidden;
}
.flow::after {
  content: "";
  position: absolute;
  inset: 18% 12% auto 12%;
  height: 2px;
  background: rgba(255,255,255,0.45);
  border-radius: 999px;
}
.flow::before {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  right: 18%;
  top: 36%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-left: 8px;
}

.grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-weight: 600; }
.muted { color: var(--muted); }
section { padding: 10px 0 48px; }
.section-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

form { display: grid; gap: 12px; }
label { font-size: 13px; color: var(--muted); }
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
button { font: inherit; border: 0; cursor: pointer; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .hero, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .flow { height: 220px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
}
