:root {
  --ink: #183b37;
  --green: #176653;
  --paper: #f7f7f0;
  --line: #d9dfd5;
  --muted: #586a64;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Segoe UI, Arial, sans-serif; font-size: 16px; line-height: 1.65; }
a { color: var(--green); text-underline-offset: 4px; }
a:hover { color: #0b392f; }
header, main, footer { max-width: 1320px; margin: auto; padding: 0 48px; }
header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
nav { display: flex; gap: 28px; flex-wrap: wrap; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 23px; font-weight: 750; color: var(--ink); text-decoration: none; }
.logo { display: block; flex-shrink: 0; width: 40px; height: 40px; }
.beta { font-size: 10px; background: #e0e7d6; padding: 3px 6px; border-radius: 4px; letter-spacing: 1px; }
section { padding: 54px 0; }
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; padding: 76px 0 52px; align-items: center; }
.eyebrow, .number { font-size: 11px; font-weight: 750; letter-spacing: 1.7px; text-transform: uppercase; }
h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.11; letter-spacing: -2.3px; font-weight: 650; margin: 18px 0 26px; }
em { font-family: Georgia, serif; font-weight: 400; color: var(--green); }
h2 { font-size: 30px; font-weight: 650; line-height: 1.25; letter-spacing: -0.6px; }
h3 { font-size: 20px; line-height: 1.35; }
p { margin: 14px 0; }
.lead { max-width: 730px; font-size: 18px; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 28px; margin: 30px 0; }
.button, button { display: inline-block; background: var(--green); color: white; border: 0; border-radius: 6px; padding: 13px 22px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { background: #0b4638; color: white; }
.button span { margin-left: 24px; }
.stats { display: flex; gap: 28px; margin-top: 35px; font-size: 12px; color: var(--muted); }
.stats strong { display: block; font-size: 23px; color: var(--ink); }
.hero-card { background: #e5ebdd; border: 1px solid #d4dfca; border-radius: 18px; padding: 38px; transform: rotate(1deg); }
.hero-card h2 { font-size: 34px; }
.hero-card ol { padding-left: 24px; }
.hero-card li { padding: 12px 0; border-bottom: 1px solid #cad5c1; }
.hero-card a { display: inline-block; margin-top: 22px; font-weight: 650; }
.notice { background: #f0ebdc; border-left: 3px solid #a88b46; border-radius: 4px; padding: 16px 20px; font-size: 13px; line-height: 1.65; margin: 22px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.branch-grid, .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.branch-grid { grid-template-columns: repeat(3, 1fr); }
.branch { display: block; background: var(--ink); color: white; border-radius: 12px; padding: 32px; text-decoration: none; }
.branch:hover { color: white; background: #245147; }
.branch h3 { font-size: 32px; font-weight: 550; }
.branch p { color: #d5e5dc; }
.branch > span:last-child { display: block; margin-top: 36px; font-size: 14px; font-weight: 600; }
.branch.pale { background: #e3e9dc; color: var(--ink); }
.branch.pale p { color: var(--muted); }
.branch.property { background: #ebe5d4; color: var(--ink); }
.branch.property p { color: var(--muted); }
.three, .claims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.three article { border-top: 2px solid var(--line); padding: 15px 0; }
.claims article, .panel { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.claims article small, table small, .panel small { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }
.claims article h2 { font-size: 21px; }
.claims a, table td a { font-size: 12px; }
.muted { color: var(--muted); font-size: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: white; margin-top: 24px; }
table { border-collapse: collapse; width: 100%; min-width: 700px; font-size: 14px; }
caption { text-align: left; padding: 16px; color: var(--muted); }
th, td { text-align: left; padding: 18px; border-top: 1px solid var(--line); vertical-align: top; min-width: 200px; }
thead th { background: #e4ecdf; font-size: 18px; }
tbody th { background: #f6f8f2; font-weight: 600; min-width: 190px; }
.tag { display: inline-block; padding: 3px 9px; font-size: 12px; border-radius: 5px; background: #eef0ec; color: #58615b; }
.tag.yes { background: #deefe4; color: #14503c; }
.tag.addon { background: #f5ebce; color: #694d0d; }
.status-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-size: 24px; font-weight: 700; line-height: 1; }
.status-icon.yes { color: #18713f; background: #e4f1e7; }
.status-icon.unknown { color: #6b706e; background: #edf0ee; }
.status-legend { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0 8px; font-size: 13px; color: var(--muted); }
.status-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.claim-evidence { margin-top: 8px; }
.claim-evidence summary { font-size: 11px; font-weight: 500; color: var(--muted); }
.conflict { color: #775711 !important; }
fieldset { border: 0; margin: 0; padding: 10px 0; }
legend { font-weight: 650; margin-bottom: 10px; }
fieldset label { display: inline-flex; gap: 6px; margin: 6px 18px 6px 0; align-items: center; }
.selection { background: #edf1e7; padding: 20px; border-radius: 8px; }
.selection a { margin-left: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
.fields label, .panel > label { display: block; font-size: 13px; font-weight: 600; }
input[type=number], select { display: block; width: 100%; border: 1px solid #b8c7b8; background: white; color: var(--ink); padding: 12px; font: inherit; border-radius: 5px; margin-top: 6px; }
input[type=checkbox] { accent-color: var(--green); width: 17px; height: 17px; }
summary { cursor: pointer; font-weight: 600; }
.result { background: var(--ink); color: white; }
.result .muted { color: #d1e1d7; }
.result table { min-width: 0; }
.result th, .result td { min-width: 0; padding: 10px; border-color: #58766c; background: transparent; color: white; }
.result .total { font-size: 42px; font-weight: 650; letter-spacing: -1px; }
.error { color: #ffdc98; }
.big-price { font-size: 30px; font-weight: 650; }
.formula { margin-top: 34px; border-top: 1px solid var(--line); }
.prose { max-width: 860px; }
.prose h2 { margin-top: 36px; }
footer { padding-top: 38px; padding-bottom: 34px; border-top: 1px solid var(--line); margin-top: 36px; }
footer p, footer small { color: var(--muted); font-size: 13px; }
footer small { display: block; margin-top: 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 15px; top: 10px; background: white; padding: 12px; z-index: 10; }
:focus-visible { outline: 3px solid #b38e2f; outline-offset: 4px; }
@media (max-width: 850px) {
  header, main, footer { padding-left: 24px; padding-right: 24px; }
  header { flex-direction: column; align-items: start; padding-top: 22px; padding-bottom: 22px; }
  nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-top: 40px; }
  .hero-card { transform: none; }
  .branch-grid, .detail-grid { grid-template-columns: 1fr; }
  .three, .claims { grid-template-columns: 1fr 1fr; }
  .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 500px) {
  header, main, footer { padding-left: 18px; padding-right: 18px; }
  .three, .claims, .fields { grid-template-columns: 1fr; }
  h1 { letter-spacing: -1px; }
  .actions { flex-direction: column; align-items: start; gap: 16px; }
  .stats { gap: 22px; }
  section { padding: 32px 0; }
  .panel, .hero-card { padding: 22px; }
}
@media print {
  header, footer, button, .selection { display: none; }
  body { background: white; }
  .table-scroll { overflow: visible; }
  main { padding: 0; }
}

[hidden] { display: none !important; }

.branch h3 { overflow-wrap: anywhere; }
html { scroll-behavior: smooth; }
