/* OrdinanceIQ microsite — matches the app's blue/green palette */
:root {
  --blue-1: #2F80FF;
  --blue-2: #123CC8;
  --green:  #2FBF71;
  --green-d:#218a52;
  --ink:    #0c1b33;
  --muted:  #5b6b86;
  --line:   #e6ebf3;
  --card:   #ffffff;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(10, 30, 80, .12);
  --maxw: 1080px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #f6f8fc;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-1); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .4em; }
h2 { font-size: clamp(26px, 4vw, 38px); }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--green-d); }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,248,252,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav .links { margin-left: auto; display: flex; gap: 22px; }
.nav .links a { color: var(--ink); font-weight: 600; font-size: 15px; }
.btn {
  display: inline-block; font-weight: 700; border-radius: 999px; padding: 11px 20px;
  background: var(--blue-1); color: #fff !important; border: 0; cursor: pointer; text-decoration: none !important;
  transition: transform .08s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(47,128,255,.35); }
.btn.ghost { background: #fff; color: var(--blue-2) !important; border: 1px solid var(--line); }
.btn.green { background: var(--green); }
@media (max-width: 720px){ .nav .links { display: none; } }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--blue-1), var(--blue-2));
  color: #fff; padding: 64px 0 0; overflow: hidden;
}
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); }
.hero p { color: rgba(255,255,255,.9); font-size: clamp(17px, 2.4vw, 21px); max-width: 33ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .pills { display:flex; gap:18px; flex-wrap:wrap; margin-top: 30px; color: rgba(255,255,255,.85); font-size: 14px; }
.hero .pills span { display:flex; align-items:center; gap:7px; }
.dot { width:8px;height:8px;border-radius:50%; background: var(--green); display:inline-block; }
.phone-hero { display:flex; justify-content:center; }
.phone-hero img {
  width: min(300px, 80%); border-radius: 34px; box-shadow: 0 30px 60px rgba(0,0,20,.4);
  border: 6px solid rgba(255,255,255,.18); transform: translateY(34px);
}
.hero .disclaimer-strip {
  margin-top: 46px; background: rgba(0,0,0,.18); padding: 10px 0; font-size: 13px;
  color: rgba(255,255,255,.85); text-align:center;
}
@media (max-width: 820px){ .hero .grid { grid-template-columns: 1fr; } .phone-hero img{ transform:none; margin-top: 10px; } }

/* ---------- sections ---------- */
section { padding: 70px 0; }
.section-head { max-width: 60ch; margin-bottom: 38px; }
.center { text-align: center; margin-left:auto; margin-right:auto; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; margin-bottom: 14px;
  background: linear-gradient(160deg, var(--blue-1), var(--blue-2)); color:#fff; font-size: 22px; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 820px){ .features { grid-template-columns: 1fr; } }

/* tutorials / how it works */
.steps { display: flex; flex-direction: column; gap: 64px; }
.step { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; }
.step:nth-child(even) { grid-template-columns: 360px 1fr; }
.step:nth-child(even) .copy { order: 2; }
.step .num { display:inline-grid; place-items:center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color:#fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 24px; }
.step p { color: var(--muted); font-size: 16px; }
.shot { display:flex; justify-content:center; }
.shot img { width: 300px; max-width: 86%; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 820px){
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .copy { order: 0; }
}

/* coverage band */
.band { background: linear-gradient(160deg, #0c1b33, #102a55); color:#fff; }
.band .stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; text-align:center; margin-top: 20px;}
.band .stat .n { font-size: clamp(28px,4vw,40px); font-weight: 800; }
.band .stat .l { color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width:720px){ .band .stats{ grid-template-columns: repeat(2,1fr);} }

/* contact */
.contact .card {
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px; max-width: 640px; margin: 0 auto;
}
.field { margin-bottom: 16px; }
.field label { display:block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea {
  width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink);
  background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline:0; border-color: var(--blue-1); box-shadow: 0 0 0 3px rgba(47,128,255,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.hp { position:absolute; left:-9999px; } /* honeypot */
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: var(--green-d); }
.form-status.err { color: #c0392b; }

/* FAQ (support page) */
.faq details { background:#fff; border:1px solid var(--line); border-radius:14px; padding: 4px 18px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(10,30,80,.05); }
.faq summary { cursor:pointer; font-weight: 700; padding: 14px 0; list-style:none; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; float:right; color: var(--blue-1); font-weight:800; }
.faq details[open] summary::after { content:"–"; }
.faq p { color: var(--muted); margin: 0 0 14px; }

/* legal page */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; font-size: 19px; }
.prose p, .prose li { color: #33425e; }
.callout { background: #fff7e6; border:1px solid #ffe2a8; border-radius: 12px; padding: 16px 18px; color:#6b4e00; font-size: 14px; }

/* footer */
footer { background:#0c1b33; color: rgba(255,255,255,.8); padding: 48px 0 30px; font-size: 14px; }
footer .cols { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer a { color: #cfe0ff; }
footer .brand { color:#fff; margin-bottom: 12px; }
footer .disc { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; color: rgba(255,255,255,.6); font-size: 12.5px; line-height: 1.7; }
@media (max-width:720px){ footer .cols{ grid-template-columns: 1fr; } }
