:root{
  --bg:#ffffff;
  --text:#1b1f23;
  --muted:#5a6b7b;
  --primary:#1f3b4d;   /* deep calm blue */
  --accent:#c89a5b;    /* warm sand */
  --card:#f6f8fa;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
}

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

h1,h2,h3{
  font-family: Merriweather, Georgia, serif;
  line-height:1.25;
  margin:0 0 .5rem 0;
}

h1{font-size: clamp(1.8rem, 2.4vw + 1rem, 3rem)}
h2{font-size: clamp(1.4rem, 1.6vw + .8rem, 2rem)}
h3{font-size: clamp(1.2rem, 1.2vw + .6rem, 1.4rem)}

a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}

.container{width:min(1100px, 92%);margin-inline:auto}

.site-header{
  box-shadow: var(--shadow);
  position: sticky; top:0; background:var(--bg); z-index:10;
}

.header-grid{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1rem; padding:.8rem 0;
}

.brand{display:flex;align-items:center;gap:.6rem;font-weight:700;color:var(--text)}
.brand-mark{width:36px;height:36px;display:inline-grid;place-items:center;border-radius:50%;background:var(--primary);color:#fff;font-weight:700}
.brand-text{letter-spacing:.2px}

.nav ul{display:flex;gap:1rem;list-style:none;margin:0;padding:0;align-items:center}
.nav a{padding:.4rem .6rem;border-radius:.4rem}
.nav a.cta{background:var(--primary);color:#fff;border:1px solid var(--primary)}
.nav a.cta:hover{background:#173041}

.nav-toggle{display:none;border:1px solid #d0d7de;padding:.4rem .6rem;border-radius:.4rem;background:#fff}

.hero{
  padding: clamp(2rem, 4vw + 1rem, 5rem) 0;
  background:linear-gradient(180deg, rgba(31,59,77,.06), transparent);
}
.hero-grid{display:grid;grid-template-columns: 1.2fr .8fr; gap:2rem; align-items:center}
.hero p.lead{font-size:clamp(1.05rem, .7vw + .9rem, 1.25rem);color:var(--muted);margin:.75rem 0 1.25rem}
.tag{display:inline-block;padding:.25rem .5rem;border:1px solid #d0d7de;border-radius:999px;font-size:.85rem;color:#2f3a45;margin-right:.5rem}

.button{display:inline-block;padding:.7rem 1rem;border-radius:.5rem;border:1px solid var(--primary);color:#fff;background:var(--primary);font-weight:600}
.button.secondary{background:transparent;color:var(--primary)}
.button + .button{margin-left:.6rem}

.grid-3{display:grid;grid-template-columns: repeat(3,1fr); gap:1rem}
.card{background:var(--card);padding:1rem;border-radius:.75rem;box-shadow:var(--shadow)}

.section{padding:2.5rem 0}
.section h2{margin-bottom:1rem}

.kicker{font-weight:700; letter-spacing:.12em; text-transform:uppercase; font-size:.78rem; color:var(--muted)}

.list-plain{list-style:none;margin:0;padding:0}
.muted{color:var(--muted)}
.small{font-size:.9rem}

.quote{border-left:4px solid var(--accent);padding-left:1rem;margin:1rem 0;font-style:italic}

.site-footer{border-top:1px solid #eaeef2;padding:2rem 0;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns: 2fr 1fr 1fr; gap:1rem; align-items:start}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .header-grid{grid-template-columns: auto auto 1fr}
  .nav{display:none}
  .nav.open{display:block}
  .nav ul{flex-direction:column;align-items:flex-start;padding:1rem 0}
  .nav-toggle{display:inline-block;justify-self:end}
  .footer-grid{grid-template-columns:1fr}
}
