/* ==========================================================================
   Blank Starter
   Change the look here: edit the colors and fonts below and the whole site follows.
   ========================================================================== */
:root {
  --brand: #2563eb;        /* main color: buttons, links, highlights */
  --brand-dark: #1d4ed8;   /* hover color for buttons */
  --ink: #0f172a;          /* main text */
  --muted: #475569;        /* secondary text */
  --bg: #ffffff;           /* page background */
  --soft: #f1f5f9;         /* section and card background */
  --line: #e2e8f0;         /* borders */
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--ink); background: var(--soft); }
.site-nav a[aria-current="page"] { color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, white); }
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
}

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer; font: inherit; font-weight: 700; transition: background 0.2s, transform 0.2s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--soft); color: var(--brand-dark); }

/* Hero */
.hero { padding: 72px 0 64px; background: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--brand) 14%, white), transparent 55%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin: 0 0 10px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 1.1rem; margin: 0 0 26px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.placeholder { border-radius: var(--radius); min-height: 300px; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-weight: 600;
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(15,23,42,0.035) 14px 28px), linear-gradient(135deg, var(--soft), color-mix(in srgb, var(--brand) 16%, white)); border: 1px dashed color-mix(in srgb, var(--brand) 35%, white); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .placeholder { min-height: 200px; } }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 0; }

/* Form */
.form { max-width: 620px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field .error { color: #b91c1c; font-size: 0.88rem; margin: 6px 0 0; min-height: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b91c1c; }
.form-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; border-radius: 10px; padding: 14px 16px; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-inner p { margin: 0; }
