:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #626975;
  --line: #dde1e7;
  --accent: #273b5b;
  --accent-2: #405a82;
  --soft: #eef2f7;
  --success: #1d6a42;
  --error: #9c2d2d;
  --max: 1120px;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(64, 90, 130, .10), transparent 34rem),
    var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(221, 225, 231, .85);
  background: rgba(246, 247, 249, .92);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: .8rem; text-decoration: none;
  font-weight: 750; letter-spacing: -.02em;
}
.mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: white; display: grid; place-items: center;
  font-size: .78rem; letter-spacing: .08em;
}
.nav-links { display: flex; gap: 1.25rem; align-items: center; font-size: .95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.hero { padding: 7rem 0 5rem; }
.eyebrow {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); background: rgba(255,255,255,.68);
  border-radius: 999px; padding: .38rem .7rem;
  color: var(--muted); font-size: .85rem; font-weight: 650;
}
.hero h1 {
  margin: 1.2rem 0 1rem; max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.3rem); line-height: .98; letter-spacing: -.06em;
}
.hero p {
  max-width: 690px; margin: 0; color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  appearance: none; border: 0; border-radius: 12px;
  padding: .85rem 1.1rem; font: inherit; font-weight: 700;
  cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.button.primary { color: white; background: var(--accent); }
.button.secondary { border: 1px solid var(--line); background: var(--surface); }
.section { padding: 2rem 0 5rem; }
.section-title { margin-bottom: 1.4rem; }
.section-title h2 {
  margin: 0 0 .35rem; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.04em;
}
.section-title p { margin: 0; color: var(--muted); }
.grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
.card {
  min-height: 270px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.86); padding: 1.6rem;
  box-shadow: 0 12px 40px rgba(21, 30, 45, .05);
}
.card .tag {
  color: var(--muted); font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.card h3 { margin: .6rem 0 .7rem; font-size: 2rem; letter-spacing: -.04em; }
.card p { margin: 0; color: var(--muted); }
.card a { margin-top: 1.2rem; font-weight: 750; color: var(--accent); text-decoration: none; }
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: clamp(1.3rem, 4vw, 2.2rem);
}
.prose { max-width: 780px; }
.prose h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -.05em;
  line-height: 1; margin-bottom: 1rem;
}
.prose h2 { margin-top: 2.3rem; letter-spacing: -.03em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.form-grid { display: grid; gap: 1rem; }
label { display: grid; gap: .42rem; font-weight: 700; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); background: white;
  border-radius: 11px; padding: .8rem .9rem; font: inherit; color: var(--text);
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(64, 90, 130, .13); border-color: var(--accent-2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.honeypot {
  position: absolute !important; left: -10000px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}
.form-status { min-height: 1.5rem; color: var(--muted); }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }
.callout {
  border-left: 4px solid var(--accent-2); background: var(--soft);
  padding: 1rem 1.1rem; border-radius: 0 12px 12px 0; color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--line); padding: 2rem 0 3rem;
  color: var(--muted); font-size: .9rem;
}
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-row a { color: var(--muted); }

@media (max-width: 720px) {
  .nav { align-items: flex-start; padding: 1rem 0; }
  .nav-links { gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
  .brand span:last-child { max-width: 160px; line-height: 1.15; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .grid, .form-row { grid-template-columns: 1fr; }
}
