@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy:         #1A2B3C;
  --navy-mid:     #243447;
  --navy-light:   #EEF2F6;
  --slate:        #3D5268;
  --slate-light:  #C8D4DF;
  --warm:         #F8F5F0;
  --white:        #FFFFFF;
  --stone:        #EDE8E1;
  --sand:         #D4C9B8;
  --copper:       #8B5E3C;
  --copper-light: #F2E8DF;
  --copper-dark:  #6B4428;
  --charcoal:     #2C2C2C;
  --mid:          #5A5A5A;
  --muted:        #8A8A8A;
  --r:            8px;
  --r-lg:         12px;
  --sh:           0 2px 14px rgba(26,43,60,.08);
  --sh-md:        0 4px 22px rgba(26,43,60,.13);
  --max:          1060px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 15px; background: var(--warm); color: var(--charcoal); line-height: 1.65; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--copper); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Announcement ── */
.announcement { background: var(--navy); color: rgba(255,255,255,.65); font-size: .73rem; text-align: center; padding: 8px 16px; letter-spacing: .05em; }
.announcement strong { color: rgba(255,255,255,.9); }

/* ── Header ── */
.site-header { background: var(--white); border-bottom: 1px solid var(--slate-light); box-shadow: var(--sh); position: sticky; top: 0; z-index: 200; }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.logo-block { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo-mark { width: 44px; height: 44px; background: var(--navy); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.logo-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.logo-tagline { font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 1px; }

/* ── Nav ── */
.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav > li { position: relative; }
.main-nav > li > a { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .03em; color: var(--slate); padding: 8px 13px; border-radius: var(--r); transition: background .15s, color .15s; white-space: nowrap; }
.main-nav > li > a:hover, .main-nav > li:hover > a { background: var(--navy-light); color: var(--navy); }
.sub-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--slate-light); border-radius: var(--r); box-shadow: var(--sh-md); z-index: 300; }
.sub-menu li a { display: block; padding: 10px 16px; font-size: .8rem; color: var(--slate); border-bottom: 1px solid var(--stone); transition: background .12s, color .12s; }
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { background: var(--warm); color: var(--navy); }
.main-nav > li:hover .sub-menu { display: block; }
.nav-cta { background: var(--navy) !important; color: #fff !important; font-weight: 500; border-radius: var(--r); }
.nav-cta:hover { background: var(--slate) !important; color: #fff !important; }

/* ── Hamburger ── */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 400; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mob-nav { display: none; position: fixed; inset: 0; background: var(--navy); z-index: 350; flex-direction: column; align-items: center; justify-content: center; gap: 4px; overflow-y: auto; padding: 60px 20px; }
.mob-nav.open { display: flex; }
.mob-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.mob-section { color: rgba(255,255,255,.4); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 18px; padding: 4px 0; border-top: 1px solid rgba(255,255,255,.12); width: 240px; text-align: center; }
.mob-nav a { color: rgba(255,255,255,.85); font-size: .95rem; padding: 10px 24px; border-radius: var(--r); transition: background .14s, color .14s; width: 240px; text-align: center; }
.mob-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ── Homepage Hero ── */
.hero-section { background: var(--navy); color: #fff; padding: 64px 24px 56px; border-bottom: 4px solid var(--copper); }
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.hero-kicker::before { content: ''; display: block; width: 20px; height: 1px; background: var(--copper); }
.hero-h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 18px; }
.hero-h1 span { color: rgba(255,255,255,.45); }
.hero-body { font-size: .97rem; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 30px; max-width: 460px; }
.hero-pillar { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.hero-pillar-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); margin-top: 7px; flex-shrink: 0; }
.hero-pillar strong { display: block; font-size: .88rem; color: #fff; margin-bottom: 2px; }
.hero-pillar span { font-size: .83rem; color: rgba(255,255,255,.6); }
.hero-panel { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.hero-panel-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.hero-panel-sub { font-size: .78rem; color: var(--muted); margin-bottom: 18px; }
.hero-panel-label { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 8px; }

/* ── Inner page hero ── */
.page-hero { background: var(--navy); color: #fff; padding: 44px 24px 40px; border-bottom: 4px solid var(--copper); }
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 10px; }
.page-kicker::before { content: ''; display: block; width: 20px; height: 1px; background: var(--copper); }
.page-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; color: #fff; line-height: 1.2; }
.page-hero p { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 8px; max-width: 540px; }

/* ── State search ── */
.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.state-btn { display: block; background: var(--navy-light); color: var(--navy); border-radius: 6px; padding: 10px 4px; text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .04em; border: 1.5px solid transparent; transition: all .14s; }
.state-btn:hover { background: var(--navy); color: #fff; }
.state-btn.active { background: var(--copper); color: #fff; }
.panel-divider { height: 1px; background: var(--stone); margin: 14px 0; }
.report-btn { display: block; width: 100%; background: var(--copper); color: #fff; border-radius: var(--r); padding: 13px; text-align: center; font-weight: 600; font-size: .85rem; letter-spacing: .04em; transition: background .15s; }
.report-btn:hover { background: var(--copper-dark); color: #fff; }
.report-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }

/* ── Two-col layout ── */
.site-body { max-width: var(--max); margin: 40px auto; padding: 0 24px; display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }

/* ── Sidebar ── */
.sidebar-card { background: var(--white); border-radius: var(--r); border: 1px solid var(--stone); padding: 20px; margin-bottom: 16px; box-shadow: var(--sh); }
.sidebar-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: .95rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--stone); }
.slink { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--stone); color: var(--charcoal); font-size: .83rem; line-height: 1.4; transition: color .13s; }
.slink:last-child { border-bottom: none; }
.slink:hover { color: var(--copper); }
.slink.active { color: var(--copper); font-weight: 600; }
.slink-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; flex-shrink: 0; }
.ig { background: #EBF3EB; color: #2E7D32; }
.ir { background: #FDECEA; color: #C62828; }
.ib { background: var(--navy-light); color: var(--navy); }
.ic { background: var(--copper-light); color: var(--copper-dark); }

/* ── Cards ── */
.content-main {}
.card { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--stone); padding: 28px; box-shadow: var(--sh); margin-bottom: 22px; }
.card-kicker { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); margin-bottom: 8px; }
.card h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; margin-top: 20px; }
.card h4 { font-size: .88rem; font-weight: 600; color: var(--navy); margin: 16px 0 6px; }
.card p { font-size: .88rem; color: var(--mid); margin-bottom: 10px; line-height: 1.75; }
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--charcoal); }
.card ul.dotlist { padding-left: 18px; list-style: disc; }
.card ul.dotlist li { font-size: .88rem; color: var(--mid); margin-bottom: 6px; line-height: 1.6; }
.card a { color: var(--copper); }
.card a:hover { color: var(--copper-dark); }
.card-divider { height: 1px; background: var(--stone); margin: 20px 0; }

/* ── Scenario block ── */
.scenario { background: var(--warm); border: 1px solid var(--sand); border-left: 4px solid var(--copper); border-radius: 0 var(--r) var(--r) 0; padding: 20px 22px; margin-top: 20px; }
.scenario-label { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--copper-dark); margin-bottom: 12px; }
.scenario-row { margin-bottom: 12px; }
.scenario-row-lbl { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.scenario-row p { font-size: .85rem; color: var(--mid); line-height: 1.6; }
.scenario-verdict { font-family: 'Playfair Display', Georgia, serif; font-size: .97rem; font-weight: 600; color: var(--navy); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sand); }

/* ── Trust card ── */
.trust-card { background: var(--navy); border-radius: var(--r-lg); padding: 28px; margin-bottom: 22px; }
.trust-card h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; color: #fff; margin-bottom: 6px; }
.trust-card .sub { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.trust-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 14px; }
.trust-item-head { font-size: .78rem; font-weight: 600; color: #fff; margin-bottom: 5px; }
.trust-item-body { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.55; }
.trust-warn { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 14px; }
.trust-warn p { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.65; }
.trust-warn strong { color: rgba(255,255,255,.9); }

/* ── Search panel (inner pages) ── */
.search-panel { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--stone); padding: 24px; box-shadow: var(--sh-md); margin-bottom: 22px; }
.search-panel h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.search-panel .sub { font-size: .78rem; color: var(--muted); margin-bottom: 18px; }

/* ── Forms ── */
.form-section-head { font-family: 'Playfair Display', Georgia, serif; font-size: .95rem; color: var(--navy); background: var(--navy-light); padding: 10px 14px; border-radius: var(--r); margin: 20px 0 14px; }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: start; }
.form-row label { font-size: .83rem; color: var(--mid); padding-top: 9px; }
.form-row input[type=text], .form-row input[type=email], .form-row textarea, .form-row select { width: 100%; padding: 9px 12px; border: 1px solid var(--sand); border-radius: var(--r); font-family: 'Inter', sans-serif; font-size: .85rem; color: var(--charcoal); background: var(--white); transition: border-color .15s; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--copper); }
.form-row textarea { min-height: 110px; resize: vertical; }
.radio-row { display: flex; gap: 20px; padding-top: 9px; flex-wrap: wrap; }
.radio-row label { font-size: .85rem; color: var(--mid); padding-top: 0; display: flex; align-items: center; gap: 6px; }
.req { color: #C62828; font-weight: 600; }
.submit-btn { background: var(--copper); color: #fff; border: none; border-radius: var(--r); padding: 11px 28px; font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 600; letter-spacing: .04em; cursor: pointer; transition: background .15s; }
.submit-btn:hover { background: var(--copper-dark); }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* ── Agency list (Who can help) ── */
.agency-list { display: grid; gap: 16px; }
.agency { border: 1px solid var(--stone); border-radius: var(--r); padding: 16px 18px; background: var(--white); }
.agency-state { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); margin-bottom: 4px; }
.agency-name { font-family: 'Playfair Display', Georgia, serif; font-size: .95rem; color: var(--navy); margin-bottom: 6px; font-weight: 600; }
.agency p { font-size: .82rem; color: var(--mid); margin-bottom: 3px; }
.agency a { color: var(--copper); font-size: .82rem; }
.agency a:hover { color: var(--copper-dark); }

/* ── Report order options ── */
.report-option { border: 1px solid var(--sand); border-radius: var(--r); padding: 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; display: block; }
.report-option:hover { border-color: var(--copper); background: var(--copper-light); }
.report-option input { margin-right: 10px; accent-color: var(--copper); }
.report-option-title { font-weight: 600; font-size: .9rem; color: var(--navy); }
.report-option-price { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; color: var(--copper); float: right; }
.report-option-desc { font-size: .8rem; color: var(--mid); margin-top: 6px; line-height: 1.6; clear: both; }

/* ── B2B ── */
.b2b-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.b2b-feature { background: var(--navy-light); border-radius: var(--r); padding: 14px; }
.b2b-feature-head { font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.b2b-feature-body { font-size: .78rem; color: var(--mid); }
.price-circle { width: 100px; height: 100px; background: var(--copper); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.price-circle span { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; color: #fff; font-weight: 700; }

/* ── Iframe wrapper ── */
.iframe-wrap { border: 1px solid var(--stone); border-radius: var(--r); overflow: hidden; background: var(--white); margin-top: 16px; }
.iframe-wrap iframe { width: 100%; min-height: 600px; border: none; display: block; }

/* ── Footer ── */
.site-footer { background: var(--navy-mid); color: rgba(255,255,255,.55); padding: 44px 24px 20px; margin-top: 48px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; margin-bottom: 28px; }
.footer-accent { width: 28px; height: 2px; background: var(--copper); border-radius: 2px; margin-bottom: 12px; }
.footer-col h4 { font-family: 'Playfair Display', Georgia, serif; font-size: .92rem; color: rgba(255,255,255,.88); margin-bottom: 12px; }
.footer-col a { display: block; color: rgba(255,255,255,.5); font-size: .8rem; padding: 3px 0; transition: color .13s; }
.footer-col a:hover { color: var(--copper-light); }
.footer-col p { font-size: .78rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; text-align: center; font-size: .7rem; color: rgba(255,255,255,.3); max-width: var(--max); margin: 0 auto; }

/* ── Accessibility ── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

/* ── Responsive 900px ── */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-panel { max-width: 480px; }
  .site-body { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .content-main { order: 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .b2b-features { grid-template-columns: 1fr; }
}

/* ── Responsive 600px ── */
@media (max-width: 600px) {
  .header-inner { min-height: 62px; padding: 0 16px; }
  .logo-name { font-size: .95rem; }
  .hero-section { padding: 40px 16px 36px; }
  .hero-panel { padding: 20px; }
  .hero-body { font-size: .9rem; }
  .page-hero { padding: 32px 16px 28px; }
  .site-body { padding: 0 16px; margin: 28px auto; }
  .card { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-row label { padding-top: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .state-grid { grid-template-columns: repeat(4, 1fr); gap: 5px; }
}

/* ── Print ── */
@media print {
  .site-header, .mob-nav, .announcement, .site-footer { display: none; }
  .site-body { display: block; }
  .sidebar { display: none; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
