/* TheInsuranceData.com — dark data-terminal design system */
:root {
  --bg: #0a0e15;
  --bg2: #0e141f;
  --panel: #111a29;
  --panel2: #16213453;
  --line: #1e2c42;
  --line2: #2a3d5c;
  --text: #e7eef8;
  --muted: #93a3ba;
  --dim: #64748b;
  --green: #2ee6a8;
  --green-dim: #1fae80;
  --amber: #ffc94d;
  --red: #ff6b6b;
  --mono: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
.logo { display: flex; align-items: baseline; gap: 2px; font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: -0.02em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo .tick { color: var(--green); font-family: var(--mono); }
.nav { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block; background: var(--green); color: #04120c !important;
  font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 8px;
  border: none; cursor: pointer; transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.1); text-decoration: none !important; }
.btn:active { transform: translateY(1px); }
.btn.big { font-size: 17px; padding: 14px 30px; }
.btn.ghost { background: transparent; color: var(--green) !important; border: 1px solid var(--line2); }
.btn.ghost:hover { border-color: var(--green-dim); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 6px; padding: 6px 10px; font-size: 18px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 50% -10%, #12233d66, transparent), var(--bg); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; max-width: 850px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero .sub { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 700px; margin: 18px 0 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.count-banner { margin-top: 44px; display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-end; }
.count-banner .big-count { font-size: clamp(40px, 6vw, 68px); font-weight: 700; color: var(--green); line-height: 1; }
.count-banner .lbl { color: var(--dim); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; margin-top: 8px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 7px; animation: pulse 2s infinite; vertical-align: 2px; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ---------- sections ---------- */
section { padding: 60px 0; }
.section-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 34px; max-width: 720px; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- vertical tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; display: block; color: var(--text); transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: var(--green-dim); text-decoration: none; transform: translateY(-2px); }
.tile h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.tile .tag { color: var(--muted); font-size: 13.5px; line-height: 1.45; min-height: 40px; }
.tile .cnt { font-size: 26px; font-weight: 700; color: var(--green); margin-top: 14px; }
.tile .cnt-lbl { color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px; }
.step .n { font-family: var(--mono); color: var(--green); font-size: 13px; letter-spacing: .1em; }
.step h3 { margin: 8px 0 6px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- trust row ---------- */
.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.trust { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; background: var(--panel2); font-size: 14.5px; color: var(--muted); }
.trust b { color: var(--text); display: block; margin-bottom: 3px; font-size: 15px; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
table.data th { text-align: left; padding: 12px 16px; background: var(--panel); color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid var(--line); }
table.data td { padding: 11px 16px; border-bottom: 1px solid var(--line); }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #14203466; }
table.data .r { text-align: right; }
table.data td.cnt-cell { color: var(--green); font-weight: 600; }

/* ---------- content pages ---------- */
.content { max-width: 800px; }
.content h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 38px 0 12px; }
.content h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.content p { color: #c3cede; margin-bottom: 14px; }
.content ul, .content ol { margin: 0 0 16px 22px; color: #c3cede; }
.content li { margin-bottom: 6px; }
.crumbs { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--green); }
.page-head { padding: 46px 0 30px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.page-head h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; max-width: 880px; }
.page-head .sub { color: var(--muted); margin-top: 10px; max-width: 760px; font-size: 17px; }
.statline { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 26px; }
.statline .stat .v { font-size: 30px; font-weight: 700; color: var(--green); }
.statline .stat .k { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: var(--panel); }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15.5px; list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--green); font-size: 20px; font-family: var(--mono); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { padding: 0 20px 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- forms / request builder ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.panel h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 14px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line2); border-radius: 100px; padding: 7px 15px; font-size: 14px; cursor: pointer; user-select: none; color: var(--muted); background: transparent; transition: all .12s; }
.chip:hover { border-color: var(--green-dim); color: var(--text); }
.chip.on { background: #12463550; border-color: var(--green); color: var(--green); font-weight: 600; }
.chip.small { padding: 5px 11px; font-size: 12.5px; font-family: var(--mono); }
label.f-label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin: 16px 0 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line2);
  border-radius: 8px; padding: 11px 13px; font-size: 15px; font-family: var(--sans); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--green-dim); }
textarea { min-height: 90px; resize: vertical; }
.rail { position: sticky; top: 82px; }
.rail .count-line { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.rail .count-line .v { color: var(--text); font-weight: 600; }
.rail .avail { font-size: 42px; font-weight: 700; color: var(--green); line-height: 1.1; }
.rail .avail-lbl { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.rail .note { color: var(--dim); font-size: 12.5px; margin-top: 12px; line-height: 1.5; }
.msg-ok { background: #0d2c2153; border: 1px solid var(--green-dim); color: var(--green); padding: 14px 16px; border-radius: 10px; margin-top: 14px; font-size: 14.5px; display: none; }
.msg-err { background: #33131353; border: 1px solid #7a2e2e; color: var(--red); padding: 14px 16px; border-radius: 10px; margin-top: 14px; font-size: 14.5px; display: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 70px 20px; background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 50px 0 30px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.foot-grid h4 { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 7px; }
.foot-grid a { color: var(--muted); }
.foot-grid a:hover { color: var(--green); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 20px; font-size: 12.5px; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .rail { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 18px 20px; gap: 16px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header .wrap { position: relative; }
  section { padding: 44px 0; }
  .count-banner { gap: 24px; }
}
