@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/source-sans-700.woff2") format("woff2");
}

:root {
  --ink: #1c1915;
  --ink-soft: #3a342c;
  --muted: #5e564c;
  --paper: #f4efe6;
  --paper-2: #ebe4d8;
  --card: #fffdf8;
  --line: #e3d8c8;
  --line-strong: #d1c2ac;
  --copper: #b24a22;
  --copper-dark: #8c3516;
  --navy: #1b3348;
  --forest: #1e6a4a;
  --forest-dark: #145038;
  --focus: #0b57d0;
  --danger: #8d2b24;
  --danger-bg: #fdeceb;
  --shadow: 0 16px 40px rgba(48, 32, 14, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(178, 74, 34, 0.08), transparent 50%),
    linear-gradient(180deg, #fbf8f3 0%, var(--paper) 280px);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.has-dock.dock-on { padding-bottom: 92px; }

img { max-width: 100%; height: auto; }

a { color: var(--copper-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
}

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 32px));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 20px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  margin-right: auto;
}
.wordmark strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.wordmark strong span { color: var(--copper); }
.wordmark small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--card);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 14px;
  font: 700 0.95rem/1 var(--sans);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a,
.menu > summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  cursor: pointer;
}
.site-nav > a:hover,
.menu > summary:hover,
.site-nav > a[aria-current="page"] {
  background: var(--paper-2);
}
.site-nav > a[aria-current="page"] { color: var(--copper-dark); }

.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: "";
  width: 0.4em;
  height: 0.4em;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(560px, 80vw);
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}
.menu-panel h2 {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu-panel a {
  display: block;
  padding: 4px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.menu-panel a:hover { color: var(--copper-dark); text-decoration: underline; }
.menu-panel a[aria-current="page"] { color: var(--copper-dark); }
.menu-panel--guides { width: min(760px, 88vw); grid-template-columns: 1fr 1fr 1fr; }

.inew-ddc { margin: 8px 0 22px; }
.inew-ddc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}
.inew-ddc-grid--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inew-ddc fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.inew-ddc legend { font-family: var(--serif); font-weight: 560; color: var(--navy); padding: 0 6px; }
.inew-ddc label { display: block; margin: 8px 0 6px; font-weight: 700; }
.inew-ddc input,
.inew-ddc select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 8px 12px;
  font: 600 1rem/1.3 var(--sans);
  background: #fff;
}
.inew-ddc-hint { font-weight: 500; color: var(--muted); }
.inew-ddc-actions { display: flex; gap: 8px; margin-top: 14px; }
.inew-ddc-go, .inew-ddc-cta {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--copper);
  color: #fff;
  font: 700 1rem/1 var(--sans);
  padding: 0 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.inew-ddc-reset {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font: 700 1rem/1 var(--sans);
  padding: 0 16px;
  cursor: pointer;
}
.inew-ddc-err:empty { display: none; }
.inew-ddc-err { color: var(--danger); font-weight: 700; }
.inew-ddc-invalid { border-color: var(--danger) !important; }
.inew-ddc-out {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f3faf6;
  border: 1px solid #cfe5d8;
}
.inew-ddc-res { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.inew-ddc-be { font-family: var(--serif); font-size: 1.7rem; color: var(--navy); }
.inew-ddc-small, .inew-ddc-verdict { color: var(--ink-soft); }
.inew-ll { border: 1px solid var(--line) !important; border-radius: 16px !important; background: var(--card); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.crumbs a { color: var(--muted); }
.crumbs span[aria-current="page"] { color: var(--ink); font-weight: 600; }

.page-main { padding-bottom: 48px; }

.insnew-page { color: var(--ink); }
.insnew-page p,
.prose p {
  margin: 0 0 14px;
  text-align: start;
  font-size: 1.075rem;
  line-height: 1.7;
}
.insnew-page h1,
.page-main h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.insnew-page h2,
.page-main h2 {
  margin: 1.6em 0 0.45em;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.insnew-page h3,
.page-main h3 {
  margin: 1.3em 0 0.35em;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--navy);
}
.insnew-lead {
  font-size: 1.2rem !important;
  line-height: 1.55 !important;
  color: var(--ink-soft);
  max-width: 68ch;
}
.insnew-eyebrow {
  display: inline-flex;
  margin: 0 0 10px !important;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--copper-dark);
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.insnew-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  margin-bottom: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.insnew-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.insnew-hero__badges span,
.insnew-stat-card,
.insnew-number {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.insnew-hero__badges span {
  padding: 7px 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.insnew-hero__side,
.insnew-number-grid {
  display: grid;
  gap: 10px;
}
.insnew-stat-card,
.insnew-number { padding: 14px 14px 12px; }
.insnew-stat-card strong,
.insnew-number strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--copper-dark);
  line-height: 1.15;
}
.insnew-stat-card span,
.insnew-number span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.insnew-panel,
.insnew-quote-card,
.quote-card,
.insn-glance,
.insn-rhythm-tip,
.next-step,
.tool-card,
.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(48, 32, 14, 0.04);
}
.insnew-panel { margin: 18px 0; padding: 22px; }
.insnew-panel--highlight { border-left: 5px solid var(--copper); }
.insnew-panel--forms { background: linear-gradient(180deg, #fffdf8, #f7f1e7); }
.insnew-panel--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
  gap: 22px;
  align-items: center;
}
.insnew-split__media img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.insnew-section-head { max-width: 70ch; margin-bottom: 8px; }
.insnew-forms-grid,
.insn-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.insnew-quote-card,
.quote-card,
.insn-formbox { padding: 18px; }
.quote-card--home { background: #f4faf6; }
.quote-card--auto { background: #f8f4ef; }
.insnew-card-top,
.quote-card__icon { margin-bottom: 8px; }
.insnew-number-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
}

.insn-zip-aside {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.7fr);
  gap: 14px;
  align-items: stretch;
  margin: 16px 0 8px;
}
.insn-rhythm-tip {
  margin: 0;
  padding: 16px;
}
.insn-rhythm-tip strong { display: block; margin-bottom: 4px; color: var(--navy); }
.insn-rhythm-tip span { color: var(--muted); font-size: 0.95rem; }

.insn-glance {
  margin: 18px 0;
  padding: 18px 18px 8px;
}
.insn-glance__title { margin-top: 0 !important; font-size: 1.15rem !important; }
.insn-glance dl { margin: 0; }
.insn-glance dt {
  margin-top: 10px;
  font-weight: 700;
  color: var(--navy);
}
.insn-glance dd { margin: 2px 0 0; color: var(--ink-soft); }
.insn-byline,
.insn-trust,
.insn-sources,
.sf-intro {
  color: var(--muted);
  font-size: 0.95rem;
}
.insn-byline a { font-weight: 600; }

.insnew-tip,
.insn-note,
.callout {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--forest);
  background: #f3faf6;
  border-radius: 12px;
}
.insn-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
.insn-fit > div,
.insn-fit > section {
  padding: 14px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.insnew-table-wrap,
.insn-table {
  width: 100%;
  overflow-x: auto;
  margin: 12px 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.insnew-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-variant-numeric: lining-nums;
}
.insnew-page th,
.insnew-page td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.insnew-page th {
  background: #f6f0e6;
  font-size: 0.92rem;
  color: var(--navy);
}
.insnew-page tr:last-child td { border-bottom: 0; }

.insnew-page ul,
.insnew-page ol,
.prose ul,
.prose ol { margin: 0 0 14px; padding-left: 1.2rem; }
.insnew-page li,
.prose li { margin: 0.28em 0; }

.insnew-page details {
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px;
}
.insnew-page summary { cursor: pointer; font-weight: 700; min-height: 36px; }

.quote-form { margin: 0; }
.zip-label,
.quote-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}
.insn-hero-row,
.quote-form .row,
.insnew-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="number"],
.quote-form input[name="zipcode"],
.tool-card input,
.tool-card select,
.contact-card input,
.contact-card select,
.contact-card textarea,
.filter-bar input {
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: 600 1.05rem/1.3 var(--sans);
}
.contact-card textarea { min-height: 120px; font-weight: 500; }
.quote-form input[name="zipcode"] { max-width: 220px; flex: 1; }
.btn-quote,
.button,
button.primary {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--copper);
  color: #fff;
  font: 700 1rem/1 var(--sans);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-quote:hover,
.button:hover,
button.primary:hover { background: var(--copper-dark); }
.quote-card--home .btn-quote,
.home-action { background: var(--forest); }
.quote-card--home .btn-quote:hover,
.home-action:hover { background: var(--forest-dark); }
.insn-hero-form {
  background: var(--navy);
  color: #fff;
  padding: 16px;
  border-radius: 18px;
}
.insn-hero-form .zip-label,
.insn-hero-form label { color: #fff; }
.insn-hero-note,
.form-note,
.zip-error {
  margin: 8px 0 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
}
.insn-hero-form .insn-hero-note,
.insn-hero-form .form-note { color: #d5e2ee; }
.zip-error {
  color: var(--danger);
  background: var(--danger-bg);
  border-radius: 8px;
  padding: 6px 8px;
}
.insn-hero-form .zip-error { background: #fff; }
input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(141, 43, 36, 0.15); }

.check-progress {
  margin: 8px 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3faf6;
  border: 1px solid #cfe5d8;
  font-weight: 700;
  color: var(--forest-dark);
}
.insnew-page li.can-check {
  list-style: none;
  margin-left: -1.2rem;
  padding: 8px 10px;
  border-radius: 10px;
}
.insnew-page li.can-check:hover { background: rgba(255, 255, 255, 0.7); }
.insnew-page li.can-check label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  cursor: pointer;
}
.insnew-page li.can-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--forest);
}

.filter-bar { margin: 8px 0 12px; max-width: 420px; }
.filter-bar label { font-weight: 700; display: block; margin-bottom: 6px; }

.tool-card,
.contact-card,
.next-step { margin: 22px 0; padding: 20px; }
.tool-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tool-result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--paper);
  font-size: 1.15rem;
}
.tool-result strong { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); display: block; }

.page-doc .insnew-page { max-width: 74ch; }
.page-doc .next-step { max-width: 74ch; }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 30;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
  font: 700 0.92rem/1 var(--sans);
  box-shadow: var(--shadow);
  cursor: pointer;
}
body.has-dock .to-top { bottom: 86px; }

.site-footer {
  margin-top: 12px;
  background: var(--navy);
  color: #e7eef5;
  padding: 36px 0 28px;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
}
.site-footer h2 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7c9d8;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.footer-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c5d4e2;
  font-size: 0.92rem;
  max-width: 85ch;
}

.dock {
  display: none;
}

@media (min-width: 980px) {
  .insn-spoke::after {
    content: "";
    display: block;
    clear: both;
  }
  .insn-spoke > .insn-glance {
    float: right;
    width: 290px;
    margin: 8px 0 18px 28px;
  }
}

@media (max-width: 980px) {
  .nav-burger { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fffdf8;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - var(--header));
    overflow: auto;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .menu-panel {
    position: static;
    width: auto;
    box-shadow: none;
    grid-template-columns: 1fr;
    padding: 8px 8px 8px 12px;
  }
  .insnew-hero,
  .insnew-panel--split,
  .insnew-forms-grid,
  .insn-forms,
  .insn-zip-aside,
  .insnew-number-grid,
  .insn-fit,
  .footer-grid,
  .tool-grid,
  .contact-grid,
  .inew-ddc-grid--2,
  .menu-panel--guides {
    grid-template-columns: 1fr;
  }
  .inew-ddc-actions { flex-direction: column; }
  .inew-ddc-go, .inew-ddc-reset, .inew-ddc-cta { width: 100%; justify-content: center; }
  .quote-form input[name="zipcode"] { max-width: none; }
  .insn-hero-row,
  .insnew-form { flex-direction: column; }
  .btn-quote,
  .button,
  button.primary { width: 100%; }
  body.has-dock.dock-on .dock {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(27, 51, 72, 0.96);
    color: #fff;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.16);
  }
  .dock .insn-hero-row { display: flex; flex-direction: row; gap: 8px; align-items: center; }
  .dock label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dock .form-note { display: none; }
  .dock input { flex: 1; min-height: 48px; max-width: none; }
  .dock .btn-quote { width: auto; }
  .dock .zip-error { position: absolute; left: 12px; right: 12px; bottom: 68px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 20px)); }
  .insnew-hero,
  .insnew-panel { padding: 16px; border-radius: 18px; }
}

.wordmark img.site-logo { height: 46px; width: auto; max-width: min(260px, 64vw); display: block; }
