/* Shared styles for the inner pages (sample deal pack, area snapshot).
   Same tokens as the home page, so they read as one site. */
:root {
  --green: #1B4B45; --green-deep: #133631; --teal: #1E8E6E; --teal-tint: #E7F2EE;
  --navy: #10213B; --ink: #17221F; --muted: #55625E; --line: #DCE3E0; --band: #F3F6F5; --white: #FFFFFF;
  --bad: #A8431F; --bad-tint: #FDEEE6;
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --radius: 6px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0; }
.prose { display: grid; gap: 14px; max-width: 68ch; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border-radius: var(--radius);
       font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: #187A5E; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.top { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.top img { height: 46px; width: auto; display: block; }
.top nav { display: flex; gap: 20px; align-items: center; font-size: .9rem; font-weight: 600; }
.top nav a { color: var(--navy); text-decoration: none; }
.top nav a:hover { color: var(--teal); }
.top nav .btn { padding: 9px 16px; color: var(--white); }
@media (max-width: 700px) { .top nav a:not(.btn) { display: none; } .top img { height: 38px; } }

.head { background: var(--green); color: var(--white); padding-block: clamp(40px, 7vw, 72px); }
.head .wrap { display: grid; gap: 14px; }
.head .kicker { font-size: .9rem; font-weight: 600; color: #BFD9D0; }
.head h1 { color: var(--white); font-size: clamp(1.8rem, 4.4vw, 2.8rem); font-weight: 800; max-width: 22ch; }
.head p { color: #D7E6E1; max-width: 62ch; font-size: 1.05rem; }

section { padding-block: clamp(36px, 6vw, 60px); border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }
.sec-head { display: grid; gap: 10px; margin-bottom: 24px; max-width: 68ch; }

/* key figures */
.keys { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.keys div { padding: 20px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.keys div + div { border-left: 1px solid var(--line); }
.keys b { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; line-height: 1.1; }
.keys span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .keys { grid-template-columns: 1fr 1fr; } .keys div:nth-child(3) { border-left: 0; } .keys div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.t { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.t th { text-align: left; font-size: .8rem; font-weight: 700; color: var(--muted); padding: 11px 14px; border-bottom: 2px solid var(--line); vertical-align: bottom; }
.t td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.t tr:last-child td { border-bottom: 0; }
.t .n { text-align: right; white-space: nowrap; }
.t th.n { text-align: right; }
.t tr.total td { font-weight: 800; color: var(--navy); background: var(--band); }
.t tr.win td { font-weight: 800; color: var(--white); background: var(--green); }
.t tr.group td { background: var(--band); font-weight: 700; color: var(--navy); font-size: .85rem; }
.t .neg { color: var(--bad); font-weight: 700; }
.t td.dim { color: var(--muted); }
.t-note { margin-top: 10px; font-size: .82rem; color: var(--muted); max-width: 80ch; }

/* share bar inside a table cell: single series, value always printed */
.share { display: grid; grid-template-columns: 3.2em minmax(60px, 1fr); gap: 8px; align-items: center; }
.share i { display: block; height: 8px; border-radius: 0 4px 4px 0; background: var(--teal); min-width: 2px; }
.share .track { background: var(--band); border-radius: 0 4px 4px 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.cta { background: var(--band); }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } }

.risk { border-left: 4px solid var(--teal); background: var(--teal-tint); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-weight: 600; color: var(--navy); max-width: 68ch; }

footer { background: var(--navy); color: #B9C4D4; padding-block: 36px; font-size: .82rem; }
footer .wrap { display: grid; gap: 10px; }
footer a { color: #DCE6F2; }
footer b { color: var(--white); }
