:root {
  --copper: #b87333;
  --copper-bright: #d98c52;
  --copper-burnished: #985128;
  --copper-deep: #6f351c;
  --patina: #347d75;
  --patina-soft: #68a49d;
  --charcoal: #181411;
  --brown-black: #231a15;
  --ink: #241d18;
  --ink-soft: #5f554d;
  --ivory: #fff9f4;
  --warm-white: #fffcf9;
  --sand: #f2e5d9;
  --border-warm: #e7d4c4;
  --positive: #18785b;
  --negative: #b43f39;
  --shadow-sm: 0 1px 2px rgb(46 28 15 / 6%), 0 8px 30px rgb(67 35 16 / 5%);
  --shadow-lg: 0 26px 80px rgb(61 31 14 / 14%);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--copper-deep); text-underline-offset: .2em; }
a:hover { color: var(--patina); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--patina) 65%, white); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, 100%); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; translate: 0 -150%; padding: 10px 14px; border-radius: 8px; background: var(--charcoal); color: white; }
.skip-link:focus { translate: 0; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgb(111 53 28 / 12%); background: rgb(255 249 244 / 92%); backdrop-filter: blur(16px); }
.header-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--charcoal); text-decoration: none; font-size: 19px; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand em { color: var(--copper-burnished); font-style: normal; }
.desktop-nav { display: flex; align-items: center; gap: 26px; }
.desktop-nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 680; }
.desktop-nav a[aria-current="page"], .desktop-nav a:hover { color: var(--copper-deep); }
.nav-cta { padding: 9px 14px; border: 1px solid var(--border-warm); border-radius: 999px; background: var(--warm-white); }
.menu-button { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--border-warm); border-radius: 12px; background: var(--warm-white); color: var(--ink); cursor: pointer; }
.menu-button svg { width: 22px; margin: auto; }
.mobile-nav { display: none; border-top: 1px solid var(--border-warm); padding: 8px 20px 18px; background: var(--ivory); }
.mobile-nav a { display: block; padding: 11px 6px; color: var(--ink); text-decoration: none; font-weight: 700; }

main { overflow: clip; }
.breadcrumb { padding-top: 24px; color: var(--ink-soft); font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #9d8b7d; }
.breadcrumb a { color: inherit; text-decoration: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--copper-deep); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--copper-deep), var(--copper-bright)); }
h1, h2, h3 { color: var(--charcoal); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; text-wrap: balance; }
h1 { margin: 14px 0 18px; font-size: clamp(2.4rem, 6.4vw, 4.9rem); letter-spacing: -.055em; }
h2 { margin: 0 0 12px; font-size: clamp(1.75rem, 4vw, 2.65rem); letter-spacing: -.035em; }
h3 { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.lede { max-width: 760px; color: var(--ink-soft); font-size: clamp(1.02rem, 2vw, 1.18rem); }
.section-kicker { margin-bottom: 10px; color: var(--copper-burnished); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.section-copy { max-width: 720px; color: var(--ink-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading > div { max-width: 760px; }

.home-intro { padding: 58px 0 26px; }
.price-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: 20px; }
.price-panel { position: relative; min-height: 390px; overflow: hidden; padding: clamp(28px, 5vw, 54px); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--charcoal) 0%, var(--brown-black) 58%, #392116 100%); color: var(--ivory); box-shadow: var(--shadow-lg); isolation: isolate; }
.price-panel::before, .price-panel::after { content: ""; position: absolute; z-index: -1; border: 2px solid rgb(210 138 82 / 16%); border-radius: 50%; }
.price-panel::before { width: 350px; height: 350px; right: -110px; top: -90px; box-shadow: inset 0 0 0 40px rgb(184 115 51 / 3%), inset 0 0 0 80px rgb(184 115 51 / 3%); }
.price-panel::after { width: 210px; height: 210px; right: -40px; top: -20px; }
.live-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 26px; color: #e2c3aa; font-size: 12px; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--patina-soft); box-shadow: 0 0 0 5px rgb(104 164 157 / 13%); }
.status-dot.stale { background: var(--copper-bright); box-shadow: 0 0 0 5px rgb(217 140 82 / 13%); }
.price-label { margin-top: 42px; color: #cfbbae; font-size: 14px; }
.headline-price { margin: 8px 0 14px; font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 820; line-height: .96; letter-spacing: -.075em; white-space: nowrap; }
.headline-price small { color: #cfbbae; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 650; letter-spacing: 0; }
.change-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 999px; background: rgb(255 255 255 / 6%); color: #e8ded7; font-size: 14px; font-weight: 760; }
.change-pill.up { color: #9fdbc7; }
.change-pill.down { color: #f2aaa4; }
.updated-line { margin: 34px 0 0; color: #bfaea2; font-size: 12px; }
.price-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: 999px; background: var(--copper-burnished); color: white; text-decoration: none; font-weight: 780; cursor: pointer; }
.button:hover { background: var(--copper-deep); color: white; }
.button.secondary { border-color: var(--border-warm); background: var(--warm-white); color: var(--ink); }
.button.secondary:hover { border-color: var(--copper); color: var(--copper-deep); }
.price-panel .button.secondary { border-color: rgb(255 255 255 / 18%); background: rgb(255 255 255 / 7%); color: white; }
.snapshot-side { display: grid; gap: 14px; }
.metric-card, .card { border: 1px solid var(--border-warm); border-radius: var(--radius); background: var(--warm-white); box-shadow: var(--shadow-sm); }
.metric-card { position: relative; overflow: hidden; padding: 23px; }
.metric-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--copper-deep), var(--copper-bright), var(--patina)); opacity: .65; }
.metric-label { color: var(--ink-soft); font-size: 12px; font-weight: 730; text-transform: uppercase; letter-spacing: .07em; }
.metric-value { margin-top: 7px; font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 820; letter-spacing: -.035em; }
.metric-note { margin-top: 5px; color: var(--ink-soft); font-size: 12px; }
.data-notice { margin-top: 16px; padding: 13px 16px; border: 1px solid #e5bc94; border-radius: var(--radius-sm); background: #fff3e8; color: #6e4024; font-size: 13px; }

.quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.quick-stat { padding: 20px; }
.section { padding: 82px 0; }
.section.compact { padding: 52px 0; }
.section.tint { border-block: 1px solid var(--border-warm); background: #f8eee5; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { padding: 26px; }
.feature-card p, .content-card p, .content-card li { color: var(--ink-soft); }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 20px; border-radius: 14px; background: linear-gradient(145deg, #f7d7ba, #fff5eb); color: var(--copper-deep); font-weight: 900; }

.chart-card { padding: clamp(20px, 4vw, 34px); }
.chart-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.range-buttons { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border: 1px solid var(--border-warm); border-radius: 14px; background: var(--sand); }
.range-buttons button { min-width: 44px; min-height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-soft); font-size: 12px; font-weight: 800; cursor: pointer; }
.range-buttons button.active { background: var(--warm-white); color: var(--copper-deep); box-shadow: 0 2px 8px rgb(68 36 20 / 10%); }
.range-buttons button:disabled { cursor: not-allowed; opacity: .42; }
.chart-wrap { position: relative; height: 390px; margin-top: 24px; }
.chart-wrap canvas { width: 100%; height: 100%; touch-action: pan-y; }
.chart-tooltip { position: absolute; z-index: 2; translate: -50% calc(-100% - 12px); min-width: 148px; padding: 9px 11px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 10px; background: rgb(24 20 17 / 96%); color: white; font-size: 12px; line-height: 1.45; pointer-events: none; box-shadow: var(--shadow-sm); }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; color: var(--ink-soft); text-align: center; }
.chart-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--ink-soft); font-size: 12px; }
.accessible-chart { margin-top: 18px; }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.insight { padding: 22px; border-left: 3px solid var(--patina); }
.insight strong { display: block; margin-bottom: 6px; color: var(--charcoal); font-size: 1.05rem; }
.insight p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.coverage-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border: 1px dashed #c9956a; border-radius: var(--radius-sm); background: #fff7ef; color: #674630; font-size: 13px; }

.table-card { overflow: hidden; }
.table-card-header { padding: 24px 26px 8px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { padding: 0 26px 18px; color: var(--ink-soft); text-align: left; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--border-warm); text-align: right; white-space: nowrap; }
th:first-child, td:first-child { padding-left: 26px; text-align: left; }
th:last-child, td:last-child { padding-right: 26px; }
th { background: #fbf3ec; color: #6c594b; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fff8f1; }
.positive { color: var(--positive); }
.negative { color: var(--negative); }
.table-status { padding: 24px 26px; color: var(--ink-soft); text-align: center; }

.content-card { padding: clamp(24px, 4vw, 36px); }
.content-card ul, .content-card ol { padding-left: 22px; }
.content-card li + li { margin-top: 9px; }
.definition-list { display: grid; gap: 12px; margin: 24px 0 0; }
.definition-list > div { padding: 18px; border: 1px solid var(--border-warm); border-radius: 14px; background: #fffaf6; }
.definition-list dt { color: var(--copper-deep); font-weight: 820; }
.definition-list dd { margin: 4px 0 0; color: var(--ink-soft); }
.callout { padding: 24px; border-left: 4px solid var(--copper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #fbecdf; color: #563621; }
.faq details { border-bottom: 1px solid var(--border-warm); }
.faq summary { padding: 19px 4px; color: var(--charcoal); font-weight: 800; cursor: pointer; }
.faq details p { max-width: 800px; padding: 0 4px 20px; color: var(--ink-soft); }

.page-hero { padding: 54px 0 48px; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.45rem, 6vw, 4.3rem); }
.page-shell { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; align-items: start; }
.page-aside { position: sticky; top: 100px; padding: 20px; }
.page-aside strong { display: block; margin-bottom: 8px; }
.page-aside a { display: block; padding: 7px 0; color: var(--ink-soft); font-size: 14px; text-decoration: none; }
.prose { max-width: 820px; }
.prose section + section { margin-top: 54px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--ink-soft); }

.calculator-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr); gap: 20px; }
.calculator-card { padding: clamp(24px, 4vw, 36px); }
.field-grid { display: grid; grid-template-columns: 1fr 180px; gap: 12px; }
label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 790; }
input, select { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #cdb7a5; border-radius: 12px; background: white; color: var(--ink); }
input:focus, select:focus { border-color: var(--patina); outline: 3px solid rgb(58 132 124 / 15%); }
.calc-result { margin-top: 20px; padding: 22px; border-radius: 16px; background: var(--charcoal); color: white; }
.calc-result span { display: block; color: #cdbdb2; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.calc-result strong { display: block; margin-top: 4px; font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: -.045em; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick-chips button { min-height: 38px; padding: 7px 11px; border: 1px solid var(--border-warm); border-radius: 999px; background: var(--warm-white); color: var(--ink); cursor: pointer; }
.quick-chips button:hover { border-color: var(--copper); color: var(--copper-deep); }

.cta-band { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius-lg); background: linear-gradient(120deg, #311d13, #17130f); color: white; }
.cta-band h2 { color: white; }
.cta-band p { max-width: 680px; color: #d4c3b7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.disclaimer { margin: 30px 0 0; padding: 18px 20px; border: 1px solid var(--border-warm); border-radius: var(--radius-sm); background: #fbf0e7; color: #624532; font-size: 13px; }

.site-footer { margin-top: 76px; border-top: 1px solid var(--border-warm); background: var(--charcoal); color: #cbbdb4; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 34px; padding: 48px 0 36px; }
.footer-brand .brand { color: white; }
.site-footer .brand em { color: #e5a16b; }
.footer-brand p { max-width: 350px; margin-top: 16px; font-size: 14px; }
.footer-col strong { display: block; margin-bottom: 12px; color: white; font-size: 13px; }
.footer-col a { display: block; padding: 4px 0; color: #cbbdb4; font-size: 13px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 30px; border-top: 1px solid rgb(255 255 255 / 8%); font-size: 12px; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.no-js .requires-js { display: none; }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; }
  .mobile-nav.open { display: block; }
  .price-stage, .calculator-shell { grid-template-columns: 1fr; }
  .snapshot-side { grid-template-columns: repeat(2, 1fr); }
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .page-shell { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--content)); }
  .header-shell { min-height: 68px; }
  .home-intro { padding-top: 42px; }
  .section { padding: 62px 0; }
  .grid-2, .grid-3, .insight-grid { grid-template-columns: 1fr; }
  .section-heading, .chart-toolbar { align-items: stretch; flex-direction: column; }
  .range-buttons { align-self: flex-start; }
  .chart-wrap { height: 330px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 22px, var(--content)); }
  .brand { font-size: 17px; }
  .brand img { width: 34px; height: 34px; }
  .price-panel { min-height: 360px; padding: 25px 21px; }
  .headline-price { white-space: normal; }
  .snapshot-side, .quick-stats { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-card, .quick-stat { padding: 16px; }
  .metric-value { font-size: 1.22rem; }
  .chart-card { padding: 18px 12px; }
  .chart-toolbar { padding-inline: 6px; }
  .chart-wrap { height: 290px; }
  .field-grid { grid-template-columns: 1fr; }
  th, td { padding: 12px 14px; }
  th:first-child, td:first-child { padding-left: 18px; }
  th:last-child, td:last-child { padding-right: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .price-actions, .menu-button, .range-buttons { display: none !important; }
  body { background: white; }
  .card, .price-panel { break-inside: avoid; box-shadow: none; }
}
