/* =============================================================
   Crownview Financial — site styles
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 600;
}

p { margin: 0; }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose-wrap { max-width: var(--wrap-prose); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-head {
  background: var(--navy-900);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18.5px; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-name span { color: var(--brass-400); }
.head-right { display: flex; align-items: center; gap: 22px; }
.head-phone {
  color: var(--navy-200); font-size: 14.5px; font-weight: 500;
  white-space: nowrap;
}
.head-phone:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, color .15s, transform .08s;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brass-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--brass-400); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-lg { font-size: 16.5px; padding: 16px 32px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 72% -12%, rgba(184,137,59,0.16), transparent 62%),
    linear-gradient(176deg, var(--navy-900) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
  color: #fff;
  padding: 84px 0 92px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: start;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-400); margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--brass-500);
}
.hero h1 {
  color: #fff; font-size: clamp(38px, 5.2vw, 57px); font-weight: 600;
  letter-spacing: -0.028em;
}
.hero h1 em { font-style: normal; color: var(--brass-400); }
.hero-sub {
  margin-top: 20px; font-size: 18.5px; line-height: 1.6;
  color: var(--navy-200); max-width: 33em;
}
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero-points {
  margin: 36px 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.hero-points li {
  font-size: 14.5px; color: var(--navy-100); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.hero-points svg { width: 16px; height: 16px; flex: none; color: var(--brass-400); }

/* price card in hero */
.price-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  backdrop-filter: blur(6px);
}
.price-card .pc-label {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--brass-400);
}
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.price-row .amt {
  font-family: var(--font-display); font-size: 58px; font-weight: 700;
  color: #fff; line-height: 1; letter-spacing: -0.03em;
}
.price-row .per { font-size: 16px; color: var(--navy-200); font-weight: 500; }
.price-card .pc-note {
  margin-top: 16px; font-size: 14.5px; line-height: 1.55; color: var(--navy-200);
}
.pc-split {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.pc-split div .k {
  font-family: var(--font-display); font-size: 25px; font-weight: 700; color: #fff;
  display: block; line-height: 1.1;
}
.pc-split div .v {
  font-size: 13px; color: var(--navy-200); margin-top: 5px; display: block; line-height: 1.4;
}
.pc-fine {
  margin-top: 20px; font-size: 11.5px; line-height: 1.5; color: rgba(191,208,226,0.72);
}

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--border-soft); }
.section-head { max-width: 36em; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(29px, 3.3vw, 39px); }
.section-head p { margin-top: 15px; font-size: 17.5px; color: var(--text-muted); line-height: 1.6; }
.kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-600); margin-bottom: 13px;
}

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.section-alt .card { background: var(--paper); }
.card-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--brass-50);
  color: var(--brass-600); display: grid; place-items: center; margin-bottom: 17px;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 20px; margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--text-muted); line-height: 1.58; }
.card .card-meta {
  margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--border-soft);
  font-size: 13px; color: var(--ink-500); font-weight: 500;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step .num {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--navy-900); color: var(--brass-400);
  display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { font-size: 20.5px; margin-bottom: 9px; }
.step p { font-size: 15.5px; color: var(--text-muted); }

/* ---------- Carriers ---------- */
.carrier-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.carrier {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px 14px; text-align: center;
  font-size: 14.5px; font-weight: 600; color: var(--navy-700); line-height: 1.35;
  display: grid; place-items: center; min-height: 78px;
}
.carrier-note {
  margin-top: 24px; font-size: 13.5px; color: var(--text-fine); line-height: 1.6;
  max-width: 62em;
}

/* ---------- FAQ ---------- */
.faq { max-width: var(--wrap-prose); margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer; font-family: var(--font-display); font-size: 19px; font-weight: 600;
  color: var(--text-head); list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-body); font-size: 23px; font-weight: 400;
  color: var(--brass-600); flex: none; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 13px; font-size: 15.5px; color: var(--text-muted); }

/* =============================================================
   Quote form
   ============================================================= */
.quote-section {
  background: linear-gradient(178deg, var(--navy-900), var(--navy-800));
  padding: 86px 0;
}
.quote-grid {
  display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 56px; align-items: start;
}
.quote-copy h2 { color: #fff; font-size: clamp(29px, 3.3vw, 38px); }
.quote-copy > p { margin-top: 16px; font-size: 17px; color: var(--navy-200); line-height: 1.62; }
.quote-assure { margin: 30px 0 0; padding: 0; list-style: none; }
.quote-assure li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 15px; color: var(--navy-100); line-height: 1.55; margin-bottom: 14px;
}
.quote-assure svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brass-400); }

.form-card {
  background: var(--card); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 23px; margin-bottom: 6px; }
.form-card .fc-sub { font-size: 14.5px; color: var(--text-muted); margin-bottom: 26px; }

.field { margin-bottom: 17px; }
.field label {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-800);
  margin-bottom: 6px;
}
.field .opt { font-weight: 400; color: var(--ink-400); }
.field input, .field select {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--ink-900);
  padding: 12px 14px; border: 1px solid var(--ink-300); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .12s, box-shadow .12s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236E7784' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px var(--navy-50);
}
.field input:invalid:not(:placeholder-shown) { border-color: #B4493C; }
.field .hint { font-size: 12.5px; color: var(--ink-500); margin-top: 5px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: 1.5fr 0.9fr 0.9fr; gap: 14px; }

/* ---------- Consent ---------- */
.consent-block {
  margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border);
}
.consent-block > .cb-title {
  font-size: 13.5px; font-weight: 600; color: var(--ink-800); margin-bottom: 4px;
}
.consent-block > .cb-lede {
  font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.55;
}
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--ink-50); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 15px; margin-bottom: 13px;
}
.consent input[type="checkbox"] {
  flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--navy-600);
  cursor: pointer;
}
.consent label {
  font-size: 12.8px; line-height: 1.58; color: var(--ink-700); cursor: pointer;
}
.consent label strong { color: var(--ink-900); font-weight: 600; }
.consent label a { color: var(--text-link); text-decoration: underline; }

.form-fine {
  margin-top: 18px; font-size: 11.8px; line-height: 1.55; color: var(--text-fine);
}
.form-actions { margin-top: 22px; }
.form-status {
  margin-top: 14px; font-size: 14px; font-weight: 500; display: none;
  padding: 12px 14px; border-radius: var(--radius-sm); line-height: 1.5;
}
.form-status.err { display: block; background: #FCEDEB; color: #8E3327; border: 1px solid #F0C6BF; }
.form-status.ok  { display: block; background: var(--sage-50); color: var(--sage-600); border: 1px solid #C5DDD0; }

/* ---------- Disclosure ---------- */
.disclosure {
  background: var(--ink-50); border-top: 1px solid var(--border);
  padding: 48px 0;
}
.disclosure h2 {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-600);
  margin-bottom: 16px;
}
.disclosure p {
  font-size: 12.8px; line-height: 1.68; color: var(--text-fine); margin-bottom: 12px;
  max-width: 82em;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--navy-900); color: var(--navy-200); padding: 56px 0 40px;
  font-size: 14.5px;
}
.foot-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-foot .brand-name { font-size: 17.5px; }
.foot-about { margin-top: 16px; line-height: 1.62; max-width: 34em; color: var(--navy-200); }
.foot-col h4 {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: #fff; margin-bottom: 15px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a, .foot-col address {
  color: var(--navy-200); font-style: normal; line-height: 1.6;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: space-between; font-size: 13px; color: rgba(191,208,226,0.75);
}
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* =============================================================
   Legal / prose pages
   ============================================================= */
.legal { padding: 60px 0 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 42px); }
.legal .updated {
  font-size: 13px; color: var(--text-muted); margin-top: 11px;
  padding-bottom: 26px; border-bottom: 1px solid var(--border);
}
.legal h2 { font-size: 22.5px; margin-top: 42px; margin-bottom: 11px; }
.legal h3 { font-size: 17.5px; margin-top: 26px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 15.8px; line-height: 1.68; color: var(--text-body); }
.legal p { margin-bottom: 13px; }
.legal ul { padding-left: 21px; margin: 0 0 15px; }
.legal li { margin-bottom: 9px; }
.legal a { text-decoration: underline; }
.legal .callout {
  background: var(--brass-50); border: 1px solid var(--brass-200);
  border-radius: var(--radius); padding: 20px 22px; margin: 22px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.legal .back { display: inline-block; margin-top: 48px; font-weight: 600; }

/* ---------- Thanks page ---------- */
.thanks { padding: 92px 0 110px; text-align: center; }
.thanks .tick {
  width: 62px; height: 62px; border-radius: 999px; background: var(--sage-50);
  color: var(--sage-600); display: grid; place-items: center; margin: 0 auto 26px;
  border: 1px solid #C5DDD0;
}
.thanks .tick svg { width: 29px; height: 29px; }
.thanks h1 { font-size: clamp(31px, 4vw, 42px); }
.thanks > .prose-wrap > p { margin-top: 17px; font-size: 17.5px; color: var(--text-muted); }
.thanks .next {
  margin: 38px auto 0; max-width: 480px; text-align: left;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 28px;
}
.thanks .next h2 { font-size: 18px; margin-bottom: 15px; }
.thanks .next ol { margin: 0; padding-left: 20px; }
.thanks .next li { font-size: 15.3px; color: var(--text-muted); margin-bottom: 11px; line-height: 1.55; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 980px) {
  .hero-grid, .quote-grid { grid-template-columns: 1fr; gap: 42px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .carrier-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  .section, .quote-section { padding: 58px 0; }
  .hero { padding: 56px 0 64px; }
  .site-head .wrap { min-height: 62px; }
  .head-phone { display: none; }
  .cards, .carrier-grid { grid-template-columns: 1fr 1fr; }
  .row-2, .row-3 { grid-template-columns: 1fr; }
  .pc-split { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 24px 20px; }
  .price-card { padding: 24px 22px; }
  .price-row .amt { font-size: 48px; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
