:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --surface: #f9fafb;

  --primary: #111827;
  --primary-hover: #0b1220;

  --radius: 14px;
  --shadow: 0 10px 24px rgba(17, 24, 39, 0.08);

  --container: 1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

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

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.kicker {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface);
}

h1, h2, h3 { margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; }
h3 { font-size: 18px; }

p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.lede { font-size: 18px; color: var(--muted); max-width: 70ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary {
  background: transparent;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}
.card p { margin-bottom: 0; }

.list {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
}
.list li { margin: 8px 0; }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  font-weight: 800;
  display: inline-flex;
  flex-direction: column;
}
.brand-sub {
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a { color: var(--muted); font-weight: 600; }
.nav a.btn { color: #fff; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-nav-inner {
  display: grid;
  gap: 12px;
  padding: 16px 0;
}
.mobile-nav-inner a { color: var(--muted); font-weight: 700; }
.mobile-nav-inner a.btn { color: #fff; }

.hero {
  padding: 72px 0 48px;
}
.hero-inner {
  display: grid;
  gap: 22px;
  align-items: start;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.footer-title { font-weight: 800; }
.footer-sub { color: var(--muted); font-weight: 600; margin-top: 4px; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 700; }
.footer-bottom { margin-top: 18px; color: var(--muted); }

.form {
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
label { font-weight: 700; font-size: 14px; }
input, textarea, select {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }

.note {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
  .footer-inner { flex-direction: column; }
}



/* Interaction + accessibility */
:focus-visible { outline: 3px solid rgba(17,24,39,0.22); outline-offset: 3px; border-radius: 10px; }

.nav a.active { color: var(--text); }

a.card { transition: transform 120ms ease, box-shadow 120ms ease; }
a.card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(17, 24, 39, 0.10); }

/* Typography tuning */
p { color: #374151; }        /* slightly darker than muted for readability */
.lede { color: #4b5563; }    /* keep lede softer */
.note { color: #6b7280; }

/* Small utility */
.stack { display: grid; gap: 10px; }
.hr { height: 1px; background: var(--border); border: 0; margin: 18px 0; }
