/*
 * Insurance agencies: the declarations page.
 * Every class is prefixed dp-. Evergreen desk under a paper dec page, typed
 * fields in mono, pen-blue for what a person writes, stamp red for what is lost.
 */
.dp-page {
  --dp-desk: #0f2f2b;
  --dp-desk-2: #17453e;
  --dp-desk-3: #24605a;
  --dp-ink: #17232d;
  --dp-soft: #3d4b57;
  --dp-muted: #526070;
  --dp-paper: #f5f2e9;
  --dp-linen: #ebe6d6;
  --dp-sheet: #fdfcf7;
  --dp-rule: #cbc4ae;
  --dp-blue: #23448f;
  --dp-blue-wash: #dfe6f5;
  --dp-red: #a3271e;
  --dp-red-deep: #7d1d16;
  --dp-red-wash: #f7ddd8;
  --dp-green: #14634a;
  --dp-green-wash: #d8ede3;
  --dp-brass: #c9962d;
  --dp-highlight: #f5e08b;
  --dp-on-desk: #eef3ef;
  --dp-on-desk-soft: #b9cfc5;
  --dp-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Courier New", monospace;
  background: var(--dp-paper);
  color: var(--dp-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
.dp-page *, .dp-page *::before, .dp-page *::after { box-sizing: border-box; }
.dp-page ::selection { background: var(--dp-highlight); color: var(--dp-ink); }
.dp-page a:focus-visible,
.dp-page summary:focus-visible,
.dp-page [tabindex]:focus-visible {
  outline: 2px solid var(--dp-blue);
  outline-offset: 4px;
}
.dp-desk a:focus-visible,
.dp-close a:focus-visible { outline-color: var(--dp-brass); }
.dp-page section[id] { scroll-margin-top: 130px; }
.dp-wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }
.dp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dp-page h1, .dp-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.dp-page h2 { font-size: clamp(2.05rem, 3.3vw, 3.4rem); line-height: 1.08; }
.dp-page h1 em, .dp-page h2 em { font-style: italic; }
.dp-page h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.3; }
.dp-section { padding: clamp(64px, 8vw, 108px) 0; }
.dp-section p { max-width: 68ch; }
.dp-section h2 + p { margin-top: 18px; }
.dp-page p a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.dp-page p a:hover { color: var(--dp-blue); }
.dp-tie { margin-top: 24px; font-weight: 500; }
.dp-source { margin-top: 14px; font-size: 13px; color: var(--dp-muted); }
.dp-table-scroll { overflow-x: auto; }

/* Pen-circled numbers */
.dp-pin {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--dp-blue);
  border-radius: 50%;
  font-family: var(--dp-mono);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: var(--dp-blue);
  background: var(--dp-sheet);
  transform: rotate(-6deg);
}

/* Buttons and quiet links */
.dp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }
.dp-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--dp-brass);
  color: var(--dp-ink);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(15, 47, 43, 0.7);
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.dp-button:hover { background: #d8a53e; transform: translateY(-1px); }
.dp-hero .dp-button { background: var(--dp-desk); color: var(--dp-on-desk); }
.dp-hero .dp-button:hover { background: var(--dp-desk-3); color: #fff; }
.dp-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(23, 35, 45, 0.4);
  text-underline-offset: 5px;
}
.dp-close .dp-quiet-link { text-decoration-color: rgba(238, 243, 239, 0.45); }
.dp-quiet-link:hover { text-decoration-color: currentColor; }

/* Hero */
.dp-hero-shell {
  padding-top: 101px;
  background-color: var(--dp-paper);
  background-image: repeating-linear-gradient(transparent 0 35px, rgba(203, 196, 174, 0.55) 35px 36px);
  border-bottom: 1px solid var(--dp-rule);
}
.dp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-top: 12px; font-size: 12.5px; color: var(--dp-muted); }
.dp-breadcrumb a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.dp-breadcrumb a:hover { color: var(--dp-ink); text-decoration: underline; }
.dp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
  padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 6vw, 84px);
}
.dp-hero-copy { background: linear-gradient(90deg, var(--dp-paper) 90%, transparent); padding: 6px 0; }
.dp-hero h1 { font-size: clamp(2.5rem, 4.3vw, 4.1rem); line-height: 1.03; }
.dp-hero h1 .h1-kicker {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--dp-blue);
}
.dp-h1-line { display: block; }
.dp-hero h1 em { color: var(--dp-red-deep); }
.dp-lede { margin-top: 20px; max-width: 56ch; font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.6; color: var(--dp-soft); }
.dp-price { display: grid; gap: 4px; margin-top: 20px; font-size: 15.5px; }
.dp-price span strong { display: inline-block; margin-right: 6px; font-weight: 800; }
.dp-price small { margin-top: 4px; font-size: 13px; color: var(--dp-muted); }

/* The desk: dec page and its six reasons */
.dp-desk {
  margin: 0;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 10px;
  background: var(--dp-desk);
  background-image: radial-gradient(120% 90% at 20% 0%, var(--dp-desk-2) 0%, transparent 70%);
  color: var(--dp-on-desk);
  box-shadow: 0 30px 50px -34px rgba(15, 47, 43, 0.9);
}
.dp-line { padding: 22px 22px 18px; background: var(--dp-sheet); border-radius: 6px; box-shadow: 0 18px 30px -22px rgba(0,0,0,0.6); }
.dp-line-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--dp-desk); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dp-muted); }
.dp-line-head b { color: var(--dp-green); }
.dp-line-talk { display: grid; gap: 10px; margin-top: 14px; }
.dp-line-talk p { margin: 0; padding: 10px 14px; background: #fff; border: 1px solid var(--dp-rule); border-radius: 10px 10px 10px 2px; font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.3; color: var(--dp-ink); }
.dp-line-talk p em { display: block; margin-bottom: 2px; font-family: var(--font-sans); font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dp-muted); }
.dp-line-agent { background: var(--dp-green-wash) !important; border-color: #b8d8c8 !important; border-radius: 10px 10px 2px 10px !important; }
.dp-line-agent em { color: var(--dp-green) !important; }
.dp-line-arrow { margin: 12px 0 0; text-align: center; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dp-blue); }
.dp-line-arrow::before { content: "\2193  "; }
.dp-line-out { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 8px; }
.dp-line-text, .dp-line-booked { padding: 10px 12px; border: 1px solid var(--dp-rule); border-radius: 8px; background: #fff; }
.dp-line-text { background: var(--dp-blue-wash); border-color: #c3d0ec; }
.dp-line-booked { background: var(--dp-highlight); border-color: #d9c25c; }
.dp-line-label { margin: 0 0 3px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dp-muted); }
.dp-line-text p:last-child, .dp-line-booked p:last-child { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--dp-ink); }
.dp-line-booked strong { display: block; font-size: 1.15rem; }
.dp-line-note { margin: 12px 0 0; font-size: 12.5px; color: var(--dp-muted); }
.dp-desk-caption { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--dp-on-desk-soft); }
.dp-reasons { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dp-reasons a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(253, 252, 247, 0.08);
  border: 1px solid rgba(238, 243, 239, 0.22);
  color: var(--dp-on-desk);
  text-decoration: none;
  transition: background-color 160ms ease-out;
}
.dp-reasons a:hover { background: rgba(253, 252, 247, 0.16); }
.dp-reasons .dp-pin { background: var(--dp-sheet); }
.dp-reason-text { display: grid; gap: 1px; min-width: 0; }
.dp-reason-says { font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.25; }
.dp-reason-meta { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--dp-on-desk-soft); }

/* Sticky jump nav */
.dp-jump {
  position: sticky;
  top: 72px;
  z-index: 5;
  background: rgba(245, 242, 233, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--dp-rule);
}
.dp-jump .dp-wrap { display: flex; gap: 6px 22px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.dp-jump a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dp-soft);
  text-decoration: none;
}
.dp-jump a:hover { color: var(--dp-blue); text-decoration: underline; }

/* The comparison: quote slips */
.dp-shoppers { background: var(--dp-paper); }
.dp-shoppers-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.dp-shoppers-copy p + p { margin-top: 16px; }
.dp-shoppers-copy h2 + p { margin-top: 20px; }
.dp-slips { margin: 0; padding: clamp(20px, 3vw, 34px); background: var(--dp-sheet); border: 1px solid var(--dp-rule); border-radius: 6px; box-shadow: 0 22px 40px -30px rgba(23, 35, 45, 0.5); }
.dp-slips figcaption { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dp-muted); }
.dp-slip-row { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dp-slip {
  display: grid;
  gap: 4px;
  align-content: start;
  min-height: 112px;
  padding: 12px 12px 14px;
  background: var(--dp-linen);
  border: 1px solid var(--dp-rule);
  border-top: 5px solid var(--dp-muted);
  border-radius: 3px;
  font-size: 13px;
  line-height: 1.35;
}
.dp-slip-n { font-family: var(--dp-mono); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dp-soft); }
.dp-slip-b { font-weight: 600; }
.dp-slip-you { background: var(--dp-green-wash); border-top-color: var(--dp-green); }
.dp-slip-you .dp-slip-n { color: #0d4a37; }
.dp-slip-half { min-height: 62px; align-self: end; background: transparent; border-style: dashed; border-top-style: dashed; border-top-color: var(--dp-rule); }
.dp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; padding-top: 20px; border-top: 1px dashed var(--dp-rule); }
.dp-stats dt { font-family: var(--font-serif); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; color: var(--dp-blue); }
.dp-stats dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--dp-soft); }

/* Chapters: shared */
.dp-chapter-head { max-width: 780px; }
.dp-chapter-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 4px 14px 4px 5px;
  border: 1px solid var(--dp-rule);
  border-radius: 999px;
  background: var(--dp-sheet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dp-soft);
}

/* 1: the renewal notice */

/* 2: the quote sheet */
.dp-quote { background: var(--dp-linen); }
.dp-quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.dp-quote .dp-chapter-head p + p { margin-top: 16px; }
.dp-notes { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 60ch; }
.dp-notes li { padding-left: 26px; position: relative; color: var(--dp-soft); }
.dp-notes li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 10px; height: 10px; border: 2px solid var(--dp-red); border-radius: 2px; }
.dp-form { margin: 0; }
.dp-form figcaption { margin-bottom: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dp-muted); }
.dp-form-sheet { padding: 20px 22px; background: var(--dp-sheet); border: 1px solid var(--dp-rule); border-radius: 4px; box-shadow: 0 18px 30px -22px rgba(23, 35, 45, 0.5); }
.dp-form-head { padding-bottom: 8px; border-bottom: 3px double var(--dp-ink); font-family: var(--dp-mono); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.dp-form dl { margin: 0; }
.dp-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--dp-rule); }
.dp-row dt { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dp-muted); padding-top: 3px; }
.dp-row dd { margin: 0; font-family: var(--dp-mono); font-size: 14px; line-height: 1.45; }
.dp-row-hot { background: var(--dp-highlight); }
.dp-row-hot dt { color: #4a3d0a; }
.dp-form-foot { margin-top: 12px; font-size: 13px; color: var(--dp-muted); }

/* 3: the claim card and the exclusions */

/* 4: the deadline board */

/* 5: endorsements and the missing policy */

/* 6: where the number lives */

/* Who covers the phone */
.dp-compare { background: var(--dp-sheet); }
.dp-compare-head { max-width: 780px; margin-bottom: 30px; }
.dp-compare-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14.5px; }
.dp-compare-table th, .dp-compare-table td { padding: 14px 16px 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dp-rule); }
.dp-compare-table thead th { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dp-muted); border-bottom: 2px solid var(--dp-ink); }
.dp-compare-table tbody th { width: 17%; font-weight: 800; }
.dp-compare-table .dp-ours { background: var(--dp-green-wash); color: #0d3f2f; font-weight: 600; }
.dp-compare-table thead .dp-ours { color: #0d3f2f; border-bottom-color: var(--dp-green); }
.dp-models { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; font-size: 13.5px; color: var(--dp-muted); }
.dp-models ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.dp-models li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--dp-ink); }
.dp-models li span { font-weight: 500; color: var(--dp-muted); }

/* Setup */
.dp-how { background: var(--dp-paper); }
.dp-setup { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: dpstep; border-top: 2px solid var(--dp-ink); }
.dp-setup li { counter-increment: dpstep; position: relative; padding: 18px 0 18px 54px; border-bottom: 1px solid var(--dp-rule); }
.dp-setup li::before { content: counter(dpstep); position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--dp-ink); color: var(--dp-sheet); font-family: var(--dp-mono); font-weight: 800; font-size: 14px; }
.dp-setup p { margin-top: 3px; color: var(--dp-soft); max-width: 58ch; }

/* FAQ */
.dp-faq { background: var(--dp-linen); }
.dp-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.dp-faq-grid > div:first-child { position: sticky; top: 140px; }
.dp-faq-list { border-top: 2px solid var(--dp-ink); }
.dp-faq-list details { border-bottom: 1px solid var(--dp-rule); }
.dp-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.005em; }
.dp-faq-list summary::-webkit-details-marker { display: none; }
.dp-faq-list summary span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--dp-sheet); font-family: var(--font-sans); font-size: 1.2rem; transition: transform 160ms ease-out; }
.dp-faq-list details[open] summary span { transform: rotate(45deg); background: var(--dp-highlight); }
.dp-faq-list details p { padding: 0 0 20px; max-width: 70ch; font-size: 16px; color: var(--dp-soft); }
.dp-faq-list details p + p { margin-top: -8px; font-size: 14px; }

/* Close */
.dp-close { background: var(--dp-desk); color: var(--dp-on-desk); padding: clamp(64px, 8vw, 108px) 0; }
.dp-close h2 { color: #fff; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.05rem, 3.3vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.dp-close h2 em { color: var(--dp-brass); font-style: italic; }
.dp-close-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.dp-close-grid > div > p { margin-top: 18px; max-width: 62ch; color: var(--dp-on-desk); }
.dp-close aside { display: grid; gap: 0; border-top: 2px solid var(--dp-brass); }
.dp-close aside strong { padding: 14px 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dp-brass); }
.dp-close aside a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 0; border-top: 1px solid rgba(238, 243, 239, 0.2); color: #fff; font-weight: 600; text-decoration: none; }
.dp-close aside a:hover { color: var(--dp-highlight); }

/* Six systems: the endorsements */

@media (max-width: 1080px) {
  .dp-hero, .dp-shoppers-grid, .dp-quote-grid, .dp-close-grid, .dp-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .dp-faq-grid > div:first-child { position: static; }
  .dp-hero-copy { background: none; }
}
@media (max-width: 720px) {
  .dp-line-out { grid-template-columns: 1fr; }
  .dp-wrap { width: min(100% - 32px, 1280px); }
  .dp-hero-shell { padding-top: 92px; background-image: none; }
  .dp-hero h1 { font-size: 2.3rem; }
  .dp-hero h1 .h1-kicker { margin-bottom: 12px; font-size: 11.5px; }
  .dp-lede { margin-top: 14px; font-size: 15.5px; line-height: 1.55; }
  .dp-price { margin-top: 14px; font-size: 14.5px; }
  .dp-actions { margin-top: 18px; }
  .dp-hero { padding-top: 10px; }
  .dp-jump { top: 64px; }
  .dp-reasons { grid-template-columns: minmax(0, 1fr); }
  .dp-slip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-slip-half { align-self: stretch; min-height: 0; }
  .dp-stats { grid-template-columns: minmax(0, 1fr); }
  .dp-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .dp-button, .dp-reasons a, .dp-faq-list summary span { transition: none; }
}

/* Touch targets inside the shared plans block */
.dp-page .nj-section .nj-link,
.dp-page .nj-section li > p:last-child > a,
.dp-page .nj-section a:not([class]) { display: inline-flex; align-items: center; min-height: 44px; }

/* The website desk continues the quote chapter without replacing its paperwork. */
.dp-webdesk { margin-top: 46px; padding-top: 32px; border-top: 2px solid var(--dp-rule); scroll-margin-top: 145px; }
.dp-webdesk > h3 { font-family: var(--font-serif); font-size: clamp(1.65rem, 2.6vw, 2.35rem); font-weight: 500; max-width: 30ch; }
.dp-webdesk > p { margin-top: 18px; max-width: 82ch; }
.dp-webdesk > .dp-chapter-tag { margin-top: 0; }
.dp-web-routes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; margin: 26px 0 0; }
.dp-web-routes > div { padding: 20px 0; border-top: 1px solid var(--dp-blue); }
.dp-web-routes dt { color: var(--dp-blue); font-weight: 700; }
.dp-web-routes dd { margin: 10px 0 0; color: var(--dp-soft); }
@media (max-width: 720px) { .dp-web-routes { grid-template-columns: 1fr; gap: 0; } }
