/* assets/styles.css (v2 - lighter, PNW-inspired) */
:root{
  /* PNW palette: mist, sky, evergreen, slate */
  --bg: #f6f8fb;
  --paper: #ffffff;
  --mist: #e9f1f6;
  --sky: #bfe3ff;
  --evergreen: #2f6f57;
  --slate: #1f2a36;
  --text: #18222e;
  --muted: #4e657a;
  --line: rgba(31,42,54,0.12);
  --accent: #2f6f57;
  --accent2: #3f8fd8;

  --shadow: 0 16px 50px rgba(31,42,54,0.10);
  --radius: 16px;
  --radius2: 22px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height: 1.6;
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(63,143,216,0.14), transparent 55%),
    radial-gradient(900px 520px at 85% 8%, rgba(47,111,87,0.14), transparent 60%),
    linear-gradient(180deg, var(--bg), #ffffff);
}

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

.container{
  max-width: var(--max);
  padding: 0 20px;
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246,248,251,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand.small{ font-weight: 800; }
.brand-logo{
  width: 34px;
  height: 34px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 12px;               /* keeps it soft if SVG loads slowly */
  box-shadow: 0 12px 22px rgba(31,42,54,0.10);
}

.brand-mark{
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  box-shadow: 0 10px 18px rgba(63,143,216,0.18);
}
.brand-name{ font-size: 15px; }
.brand-tag{
  font-weight: 650;
  font-size: 12px;
  color: var(--muted);
  margin-left: 2px;
}

.nav{
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-link{
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
}
.nav-link.is-active{
  color: var(--text);
  background: rgba(191,227,255,0.38);
  border: 1px solid rgba(31,42,54,0.10);
}

/* Hero */
.hero{
  position: relative;
  padding: 46px 0 26px;
  overflow: hidden;
}
.hero-sky{
  position: absolute;
  inset: -120px -40px auto -40px;
  height: 360px;
  background:
    radial-gradient(520px 320px at 20% 35%, rgba(191,227,255,0.90), transparent 60%),
    radial-gradient(520px 320px at 80% 45%, rgba(233,241,246,0.95), transparent 60%);
  pointer-events: none;
}
.hero-ridge{
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -120px;
  height: 280px;
  background:
    radial-gradient(800px 220px at 50% 40%, rgba(47,111,87,0.12), transparent 60%),
    radial-gradient(900px 260px at 55% 60%, rgba(31,42,54,0.10), transparent 62%);
  transform: rotate(-2deg);
  pointer-events: none;
}
.hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.kicker{
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 750;
  letter-spacing: 0.25px;
}
h1{
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}
.lead{
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}

.cta-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-row.center{ justify-content: center; margin-top: 18px; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31,42,54,0.14);
  background: rgba(255,255,255,0.70);
  font-weight: 750;
}
.btn:hover{ text-decoration: none; border-color: rgba(31,42,54,0.22); }
.btn.primary{
  background: linear-gradient(135deg, rgba(63,143,216,0.95), rgba(47,111,87,0.90));
  color: #ffffff;
  border-color: rgba(31,42,54,0.12);
}
.btn.soft{
  background: rgba(233,241,246,0.90);
  color: var(--text);
}

.micro-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill{
  font-size: 12px;
  font-weight: 700;
  color: var(--slate);
  background: rgba(233,241,246,0.95);
  border: 1px solid rgba(31,42,54,0.10);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Panels / cards */
.hero-panel .panel{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(31,42,54,0.12);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.panel-title{
  margin: 0 0 10px;
  font-size: 16px;
}
.panel-line{
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}
.panel-note{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.bullets{ margin: 0; padding-left: 18px; color: var(--muted); }
.bullets li{ margin: 8px 0; }

.section{
  padding: 34px 0;
}
.section.alt{
  background: linear-gradient(180deg, rgba(233,241,246,0.65), rgba(255,255,255,0.85));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section.soft-bottom{ padding-bottom: 54px; }

h2{
  margin: 0 0 10px;
  font-size: 22px;
}
.section-lead{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 78ch;
}

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

.tile{
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(31,42,54,0.12);
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: 0 10px 30px rgba(31,42,54,0.06);
}
.tile h3{
  margin: 0 0 8px;
  font-size: 16px;
}
.tile p{
  margin: 0;
  color: var(--muted);
}

.card{
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(31,42,54,0.12);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card.light{ box-shadow: 0 12px 34px rgba(31,42,54,0.08); }

.card-title{ margin: 0 0 10px; font-size: 16px; }
.examples{ margin: 0; padding-left: 18px; color: var(--muted); }
.examples li{ margin: 8px 0; }

.callout{
  margin-top: 18px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(47,111,87,0.22);
  background: rgba(47,111,87,0.06);
}
.callout p{ margin: 0; color: var(--muted); }

.split{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}
.note{
  background: rgba(233,241,246,0.85);
  border: 1px solid rgba(31,42,54,0.12);
  border-radius: 16px;
  padding: 14px;
}
.mini-title{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.checklist{ margin: 0; padding-left: 18px; color: var(--muted); }
.checklist li{ margin: 8px 0; }

.muted{ color: var(--muted); }
.small{ font-size: 13px; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* Contact page */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.contact-line{ margin: 0 0 10px; }
.label{ color: var(--muted); margin-right: 8px; }

.template{
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(31,42,54,0.12);
  background: rgba(233,241,246,0.65);
  overflow-x: auto;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 22px 0;
  margin-top: 4px;
  background: rgba(233,241,246,0.55);
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-text{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-link{ color: var(--muted); }
.footer-link.muted{ color: var(--muted); }
.footer-sep{ color: var(--muted); margin: 0 8px; }

/* Responsive */
@media (max-width: 950px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .brand-tag{ display: none; }
}

.copyright{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}
