/* Redline Insurance Group. Single dark theme by design (brand: black, red, silver, white, gray).
   Layout: centered hero over a red horizon glow, hairline-ruled credibility row, 4-up dark cards,
   numbered steps, about split, FAQ, CTA band, footer with license + VA disclaimer. */
:root {
  --bg: #0a0a0b;
  --surface: #121214;
  --surface-2: #18181b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f3f4;
  --muted: #a3a3ab;
  --silver: #c9ccd2;
  --red: #d61f2c;
  --red-deep: #8f0f18;
  --on-red: #ffffff;
  --font-ui: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-mark: "Cinzel", "Trajan Pro", Georgia, serif;
  --r: 18px;
  --wrap: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
@media (min-width: 900px) { .wrap { padding-inline: 32px; } }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 11, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: auto; }
.wordmark { display: grid; line-height: 1; }
.wordmark b { font-family: var(--font-mark); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; color: var(--silver); }
.wordmark b span { color: var(--red); }
.wordmark small { font-size: 9.5px; font-weight: 600; letter-spacing: 0.34em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }
.nav { display: none; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
@media (min-width: 900px) { .nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--on-red); box-shadow: 0 8px 30px rgba(214, 31, 44, 0.35); }
.btn-red:hover { background: #e4232f; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--silver); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; padding-block: 88px clamp(150px, 17vw, 250px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: auto -20% -70% -20%; height: 110%; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 31, 44, 0.55), rgba(143, 15, 24, 0.25) 55%, transparent 72%); z-index: -1; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 140%; aspect-ratio: 8 / 1; transform: translateX(-50%); border-top: 1px solid rgba(255, 120, 120, 0.45); border-radius: 50% 50% 0 0 / 100% 100% 0 0; box-shadow: 0 -18px 60px rgba(214, 31, 44, 0.35); background: var(--bg); z-index: -1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); font-size: 13.5px; color: var(--silver); margin-bottom: 26px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(214, 31, 44, 0.2); }
.hero h1 { font-size: clamp(40px, 7.2vw, 78px); max-width: 15ch; margin-inline: auto; }
.hero h1 .serif { color: var(--silver); font-size: 1.08em; }
.hero .lede { max-width: 58ch; margin: 22px auto 0; color: var(--muted); font-size: clamp(17px, 2vw, 19px); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.hero .mark { width: 76px; margin: 0 auto 28px; filter: drop-shadow(0 10px 30px rgba(214, 31, 44, 0.35)); }

/* Credibility row */
.facts { border-block: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .facts .wrap { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 24px 18px; border-left: 1px solid var(--line); }
.fact:first-child, .fact:nth-child(3) { border-left: 0; }
@media (min-width: 900px) { .fact:nth-child(3) { border-left: 1px solid var(--line); } }
.fact b { display: block; font-size: 15.5px; }
.fact span { color: var(--muted); font-size: 14px; }

/* Sections */
section.block { padding-block: 96px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); }
.section-head p { color: var(--muted); margin-top: 16px; }

.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card .num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .bar { width: 28px; height: 3px; border-radius: 3px; background: var(--red); }

/* Served */
.served { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .served { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.served-panel { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 40px 32px; background: radial-gradient(120% 90% at 50% 120%, rgba(214, 31, 44, 0.32), transparent 60%), var(--surface); overflow: hidden; }
.served-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.served-panel li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.served-panel li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(214, 31, 44, 0.18); }
.body-copy { display: grid; gap: 16px; color: var(--muted); }
.body-copy strong { color: var(--text); font-weight: 600; }
.disclaimer-inline { color: var(--muted); }

/* Steps */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border-top: 1px solid var(--line-strong); padding-top: 22px; display: grid; gap: 10px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-serif); font-style: italic; font-size: 34px; color: var(--red); line-height: 1; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); }

/* About */
.about { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(90% 70% at 50% 100%, rgba(214, 31, 44, 0.28), transparent 70%), var(--surface); display: grid; place-items: center; overflow: hidden; }
.portrait img { width: 46%; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.6)); }
.portrait img.photo { width: 100%; height: 100%; object-fit: cover; filter: none; }
.signature { margin-top: 8px; font-family: var(--font-serif); font-style: italic; font-size: 26px; color: var(--silver); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 2px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2px 22px; max-width: 70ch; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; border: 1px solid var(--line); border-radius: 28px; padding: 64px 24px; background: radial-gradient(70% 120% at 50% 130%, rgba(214, 31, 44, 0.55), transparent 65%), var(--surface); }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 50px); }
.cta-band p { color: var(--muted); margin: 14px auto 28px; max-width: 52ch; }

/* Page hero (inner pages) */
.page-hero { padding-block: 72px 40px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 50% -20%, rgba(214, 31, 44, 0.22), transparent 70%); }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 58px); }
.page-hero p { color: var(--muted); margin-top: 14px; max-width: 60ch; }
.prose { max-width: 760px; padding-block: 56px 96px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #cfcfd4; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.prose .updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

/* Contact */
.contact-grid { display: grid; gap: 14px; padding-block: 48px 96px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; display: grid; gap: 10px; align-content: start; }
.contact-card h2 { font-size: 21px; }
.contact-card p { color: var(--muted); }
.contact-card .big { font-size: 24px; font-weight: 700; color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours li { display: flex; justify-content: space-between; gap: 12px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 56px 40px; color: var(--muted); font-size: 14.5px; }
.foot-top { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 13.5px; line-height: 1.6; }
.foot-legal .va { color: var(--silver); }

/* Small screens: keep the header on one line */
.btn { white-space: nowrap; }
@media (max-width: 420px) {
  .site-head .btn-sm { padding: 0 14px; font-size: 13px; min-height: 38px; }
  .brand img { width: 34px; }
  .wordmark b { font-size: 17px; }
  .wordmark small { letter-spacing: 0.26em; font-size: 8.5px; }
}
