/* High Desert Risk — shared styles */
:root {
  --navy: #12304a;
  --navy-deep: #0c2235;
  --sky: #4fa9e8;
  --copper: #c97a2b;
  --copper-hover: #b36a22;
  --paper: #fafafa;
  --white: #ffffff;
  --ink: #1a2332;
  --muted: #5a6a7a;
  --line: #d7dee6;
  --green: #2f7d4a;
  --yellow: #c9a227;
  --orange: #c97a2b;
  --red: #b42318;
  --shadow: 0 12px 40px rgba(18, 48, 74, 0.12);
  --radius: 14px;
  --header-h: 78px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: Montserrat, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 48, 74, 0.96);
  backdrop-filter: blur(10px);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand:hover { text-decoration: none; color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav-drop > button {
  color: #e8eef4;
  background: none;
  border: 0;
  font: 600 0.92rem/1 Montserrat, sans-serif;
  padding: 10px 12px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 8px;
}
.nav a:hover, .nav-drop > button:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.nav-drop { position: relative; }
.nav-drop .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 60;
}
.nav-drop.open .menu, .nav-drop:focus-within .menu { display: block; }
.nav-drop .menu a {
  display: block;
  color: var(--navy);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}
.nav-drop .menu a:hover { background: #eef6fc; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--copper);
  color: #fff !important;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--copper-hover); }
.btn-sky { background: var(--sky); }
.btn-sky:hover { background: #3b94d2; }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--navy); }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; color: #fff; cursor: pointer;
}
.hamburger span { display: block; height: 2px; background: #fff; margin: 6px 8px; }

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fafafa;
  background-color: #12304a;
  background-image:
    linear-gradient(105deg, rgba(18, 48, 74, 0.88) 0%, rgba(18, 48, 74, 0.52) 46%, rgba(18, 48, 74, 0.22) 100%),
    url("hero-meeting.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 180px;
  background:
    linear-gradient(transparent, var(--paper) 90%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath fill='%2312304a' d='M0 80l80 12c80 12 240 36 400 32s320-28 480-28 320 24 400 32l80 8v44H0z'/%3E%3Cpath fill='%230c2235' d='M0 110l120 18c120 18 360 54 600 48s480-42 720-42l0 46H0z'/%3E%3C/svg%3E") bottom / 100% 180px no-repeat;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 72px 20px 120px; max-width: 860px; }
.hero .eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-family: Montserrat, sans-serif;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 12px;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.2rem; color: #d7e6f2; max-width: 640px; margin: 0 auto 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.page-hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, #1a4a6d);
  color: #fff;
  padding: 56px 0 48px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d5e4f0; max-width: 720px; }

section { padding: 72px 0; }
.section-kicker {
  color: var(--copper);
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(18,48,74,0.04);
}
.card h3 { margin-top: 0; }
.icon-dot {
  width: 42px; height: 42px; border-radius: 12px;
  background: #e8f4fc; color: var(--navy);
  display: grid; place-items: center;
  font-weight: 800; font-family: Montserrat, sans-serif;
  margin-bottom: 12px;
}
.industry-card {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 180px;
}
.industry-card .btn { margin-top: auto; align-self: flex-start; }

.disclaimer {
  background: #eef3f7;
  border-left: 4px solid var(--sky);
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

form label { display: block; font-weight: 600; font-size: 0.92rem; margin: 14px 0 6px; color: var(--navy); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--sky);
  border-color: var(--sky);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 0.92rem; }
.checkbox input { width: auto; margin-top: 4px; }
.q-block { margin: 22px 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.q-block h4 { font-size: 1rem; margin-bottom: 8px; }
.q-block .cat { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); font-family: Montserrat, sans-serif; }
.q-block label.choice {
  display: flex; gap: 10px; align-items: flex-start;
  font-weight: 500; margin: 8px 0; color: var(--ink); cursor: pointer;
}
.q-block input[type=radio] { width: auto; margin-top: 4px; }

.result-panel { display: none; }
.result-panel.show { display: block; }
.score-ring {
  width: 160px; height: 160px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  border: 10px solid var(--line);
  font-family: Montserrat, sans-serif;
}
.score-ring strong { font-size: 2.4rem; color: var(--navy); }
.zone-green { border-color: var(--green); }
.zone-yellow { border-color: var(--yellow); }
.zone-orange { border-color: var(--orange); }
.zone-red { border-color: var(--red); }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; font-family: Montserrat, sans-serif;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-green { background: #e4f5ea; color: var(--green); }
.badge-yellow { background: #fbf3d0; color: #8a7010; }
.badge-orange { background: #f8ead8; color: var(--copper); }
.badge-red { background: #f8d7d4; color: var(--red); }

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
}
.cta-band h2 { color: #fff; }
.footer {
  background: var(--navy-deep);
  color: #c5d3de;
  padding: 48px 0 24px;
  font-size: 0.92rem;
}
.footer a { color: #dceaf5; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 6px 0; }
.legal { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; font-size: 0.82rem; color: #9aafbf; }

.alert { padding: 12px 14px; border-radius: 10px; margin: 12px 0; }
.alert-ok { background: #e4f5ea; color: #215c35; }
.alert-err { background: #f8d7d4; color: #7a1c16; }

@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-2, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .hamburger { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav-drop .menu { position: static; box-shadow: none; background: rgba(255,255,255,0.06); }
  .nav-drop .menu a { color: #fff; }
}
