:root { --ink: #102230; --paper: #f5f2eb; --white: #fffdfa; --gold: #bd8b3e; --muted: #61707a; --line: #d9d4ca; --alert: #fff2db; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
.topbar, main, footer { max-width: 1180px; margin: auto; }
.topbar { min-height: 82px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 1.2rem; font-weight: 700; letter-spacing: .17em; text-decoration: none; }
.brand span { display: block; color: var(--gold); font-family: Arial, sans-serif; font-size: .52rem; font-weight: 600; letter-spacing: .30em; margin-top: 3px; }
.toplink { color: var(--ink); font-family: Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.toplink:hover, .toplink:focus { color: var(--gold); }
.hero { padding: 98px 9% 84px; background: linear-gradient(125deg, #102230 0%, #1b3949 65%, #234958 100%); color: var(--white); }
.eyebrow { margin: 0 0 17px; color: var(--gold); font-family: Arial, sans-serif; font-size: .67rem; font-weight: 700; letter-spacing: .17em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1; }
h1 { font-size: clamp(3.1rem, 7vw, 5.8rem); letter-spacing: -.055em; }
h1 em { color: #e5bd75; font-weight: 400; }
.hero > p:not(.eyebrow) { max-width: 570px; margin: 29px 0 33px; color: #dce2df; font-size: 1.08rem; line-height: 1.55; }
.button { display: inline-block; border: 1px solid var(--gold); background: var(--gold); color: #fff; font-family: Arial, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding: 15px 20px; text-decoration: none; text-transform: uppercase; }
.button:hover, .button:focus { background: transparent; color: #e5bd75; }
.notice { margin: 34px 9% 0; padding: 17px 19px; border-left: 4px solid var(--gold); background: var(--alert); font-family: Arial, sans-serif; font-size: .86rem; line-height: 1.5; }
.calculator { padding: 72px 9% 92px; }
.section-heading > p:not(.eyebrow) { max-width: 570px; color: var(--muted); line-height: 1.5; }
.section-heading h2, .results h2 { font-size: clamp(2.3rem, 4.2vw, 4rem); letter-spacing: -.045em; }
.tables { margin-top: 45px; display: grid; gap: 24px; }
.cost-group { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.cost-group h3 { padding: 22px 24px 0; font-size: 1.6rem; letter-spacing: -.03em; }
.cost-group > p { margin: 8px 24px 21px; color: var(--muted); font-family: Arial, sans-serif; font-size: .82rem; line-height: 1.5; }
table { width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; font-size: .85rem; }
th, td { padding: 13px 15px; border-top: 1px solid var(--line); text-align: left; }
thead { background: #f0ede6; color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
tbody th { font-weight: 600; }
td { min-width: 135px; }
input { width: 100%; min-width: 100px; border: 1px solid #c8c2b7; border-radius: 0; background: #fff; color: var(--ink); font: inherit; padding: 9px; }
input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(189,139,62,.2); outline: none; }
.calculated, .group-total { font-weight: 700; white-space: nowrap; }
tfoot { background: #f7f4ed; }
tfoot th { text-align: right; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.results { margin-top: 56px; padding: 36px; background: var(--ink); color: var(--white); }
.results .eyebrow { color: #d8b375; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 31px; background: #36505c; }
.result-card { min-height: 170px; padding: 25px; background: #18313e; }
.result-card.featured { background: var(--gold); }
.result-card span { display: block; font-family: Arial, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.result-card output { display: block; margin: 27px 0 9px; font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.05em; white-space: nowrap; }
.result-card small, .formula-note { font-family: Arial, sans-serif; font-size: .8rem; line-height: 1.5; }
.formula-note { margin: 25px 0 0; color: #c6d1d4; }
.reset { margin-top: 22px; border: 1px solid #d8b375; background: transparent; color: #f1d7a4; cursor: pointer; font-family: Arial, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: 11px 13px; text-transform: uppercase; }
.reset:hover, .reset:focus { background: #d8b375; color: var(--ink); }
footer { display: flex; justify-content: space-between; padding: 25px 28px; color: var(--muted); font-family: Arial, sans-serif; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 700px) { .topbar { padding: 0 20px; } .hero, .calculator { padding-left: 7%; padding-right: 7%; } .notice { margin-left: 7%; margin-right: 7%; } .result-grid { grid-template-columns: 1fr; } .results { padding: 26px; } .cost-group { overflow-x: auto; } table { min-width: 620px; } footer { align-items: flex-start; flex-direction: column; gap: 9px; } }
