/* CasinoPerflyn: casino interface anatomy design (seafoam, midnight navy, copper) */
@font-face { font-family: "Perflyn Display"; src: url("/static/fonts/perflyn-display.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0f2236; --navy-2: #163049; --sea: #1c6e66; --sea-2: #24897f; --sea-3: #2fa597; --mint: #e4f3ef; --mint-2: #cfe9e3;
  --copper: #96491f; --copper-2: #a3552f; --gold: #e0b44c; --paper: #f6faf9; --white: #fff;
  --ink: #0f2236; --text: #2f3f51; --muted: #536476; --line: #d9e6e3; --line-2: #e9f1ef;
  --good: #1b7a4f; --good-bg: #dcf3e7; --mid: #8a5a00; --mid-bg: #fbecd2; --bad: #b3261e; --bad-bg: #fbe1de;
  --display: "Perflyn Display", "Times New Roman", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1440px; --r: 8px; --shadow: 0 1px 2px rgba(15, 34, 54, .06), 0 8px 24px rgba(15, 34, 54, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.6 var(--sans); overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #e08a2c; outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 1.06rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
.cpf-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.cpf-narrow { max-width: 860px; }
.cpf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cpf-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.cpf-skip:focus { top: 10px; color: #fff; }
.cpf-i { flex: none; }
main { display: block; }
main:focus { outline: none; }

/* strip and header */
.cpf-strip { background: var(--navy); color: #d8e4ee; font: 600 .7rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.cpf-strip-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.cpf-strip p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0; }
.cpf-strip p > span + span::before { content: "·"; margin: 0 10px; color: #7f95aa; }
.cpf-strip .cpf-i { margin-right: 8px; color: var(--sea-3); }
.cpf-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.cpf-head-in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.cpf-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; }
.cpf-brand img { width: 52px; height: 52px; }
.cpf-brand-t { display: flex; flex-direction: column; min-width: 0; }
.cpf-brand-n { font: 700 1.6rem/1.05 var(--sans); letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.cpf-brand-n b { font-weight: 500; color: var(--sea); }
.cpf-brand-s { font: 600 .6rem/1.3 var(--sans); letter-spacing: .16em; white-space: nowrap; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.cpf-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.cpf-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.cpf-nav li a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.cpf-nav li a:hover, .cpf-nav li a[aria-current] { border-bottom-color: var(--copper-2); }
.cpf-find-btn { display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); border-radius: 50%; }
.cpf-find-btn:hover { background: var(--mint); color: var(--navy); }
.cpf-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 8px; place-items: center; cursor: pointer; color: var(--navy); }
.cpf-search { border-top: 1px solid var(--line); background: #fff; padding: 16px 0 20px; }
.cpf-search label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cpf-find-row { display: flex; align-items: center; gap: 10px; border: 1px solid #a9bfbb; border-radius: 8px; background: #fff; padding: 0 12px; max-width: 720px; }
.cpf-find-row input { flex: 1; min-width: 0; border: 0; padding: 12px 0; background: transparent; }
.cpf-find-row input:focus { outline: none; }
.cpf-find-row:focus-within { outline: 3px solid #e08a2c; outline-offset: 2px; }
.cpf-hint { display: block; font-size: .85rem; color: var(--muted); margin-top: 6px; }
.cpf-sq-list { list-style: none; margin: 10px 0 0; padding: 0; max-width: 720px; display: grid; gap: 6px; }
.cpf-sq-list a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--navy); background: var(--paper); }
.cpf-sq-list a:hover, .cpf-sq-list a:focus-visible { border-color: var(--sea); }
.cpf-sq-list small { display: block; color: var(--muted); }

/* buttons */
.cpf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; }
.cpf-btn-sea { background: var(--sea); color: #fff; box-shadow: 0 2px 0 #12514b; }
.cpf-btn-sea:hover { background: #155a54; color: #fff; }
.cpf-btn-line { background: #fff; color: var(--navy); border-color: var(--navy); }
.cpf-btn-line:hover { background: var(--mint); color: var(--navy); }
.cpf-btn-copper { background: linear-gradient(180deg, var(--copper-2), var(--copper)); color: #fff; }
.cpf-btn-copper:hover { color: #fff; background: var(--copper); }
.cpf-btn-dark { background: var(--navy); color: #fff; }
.cpf-btn-dark:hover { background: #1d3a58; color: #fff; }

/* hero */
.cpf-hero { background: radial-gradient(1200px 500px at 70% 30%, #e6f3f1 0%, #f3f8f8 45%, #f6faf9 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.cpf-hero-in { display: grid; grid-template-columns: minmax(0, 5.6fr) minmax(0, 7.4fr) minmax(0, 2.6fr); gap: 16px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.cpf-eyebrow { font: 700 .76rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin: 0 0 14px; }
.cpf-hero h1 { font-size: clamp(2.4rem, 1.2rem + 2.75vw, 3.75rem); line-height: 1.02; margin-bottom: .45em; letter-spacing: -.012em; }
.cpf-hero h1 span { display: block; white-space: nowrap; }
.cpf-hero .cpf-lede { font-size: 1.1rem; color: var(--text); max-width: 34em; }
.cpf-trio { display: flex; flex-wrap: wrap; gap: 14px 0; list-style: none; padding: 0; margin: 22px 0 26px; }
.cpf-trio li { display: flex; align-items: center; gap: 10px; font: 700 .7rem/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line); }
.cpf-trio li:last-child { border-right: 0; }
.cpf-trio .cpf-i { width: 38px; height: 38px; padding: 8px; border: 1.5px solid var(--sea-3); border-radius: 50%; color: var(--sea); background: #fff; }
.cpf-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.cpf-anatomy { margin: 0; position: relative; }
.cpf-anatomy img { width: 100%; }
@media (min-width: 1400px) { .cpf-anatomy img { width: 106%; max-width: none; margin-left: -3%; } }
@media (min-width: 1200px) {
  .cpf-trio { flex-wrap: nowrap; }
  .cpf-trio li { padding-right: 12px; margin-right: 12px; font-size: .64rem; }
  .cpf-trio .cpf-i { width: 32px; height: 32px; padding: 6px; }
  .cpf-impact-c td, .cpf-impact-c th { white-space: nowrap; padding-block: 6px; font-size: .84rem; }
}
.cpf-anatomy figcaption { font-size: .78rem; color: var(--muted); text-align: right; margin-top: -8px; }
.cpf-vitals { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 10px; padding: 18px 16px; box-shadow: var(--shadow); }
.cpf-vitals h2 { font: 700 .76rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 0 0 6px; }
.cpf-vitals h2 span { display: block; font-weight: 600; color: var(--muted); letter-spacing: .06em; margin-top: 2px; }
.cpf-vitals ul { list-style: none; margin: 0; padding: 0; }
.cpf-vitals li { border-top: 1px solid var(--line-2); padding: 12px 0; }
.cpf-v-k { font: 700 1.05rem/1 var(--sans); color: var(--navy); margin: 0; display: flex; align-items: center; gap: 8px; }
.cpf-v-k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sea-3); }
.cpf-v-name { font-size: .8rem; color: var(--muted); margin: 2px 0 6px 17px; }
.cpf-v-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px 17px; }
.cpf-v-row strong { font: 600 1.55rem/1 var(--sans); color: var(--sea); white-space: nowrap; }
.cpf-pill { background: var(--good-bg); color: var(--good); font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.cpf-v-note { font-size: .76rem; color: var(--muted); margin: 0 0 0 17px; line-height: 1.4; }
.cpf-v-src { font-size: .72rem; color: var(--muted); line-height: 1.4; margin: 6px 0 0; border-top: 1px solid var(--line-2); padding-top: 10px; }

/* sections on home */
.cpf-sec { padding: 46px 0 10px; }
.cpf-sec-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; }
.cpf-sec-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.3rem); margin: 0; }
.cpf-kicker { font: 600 .74rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.cpf-viewall { margin-left: auto; font-weight: 600; font-size: .92rem; color: var(--sea); display: inline-flex; gap: 6px; align-items: center; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.cpf-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cpf-feat { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.cpf-feat:hover { border-color: var(--sea-3); }
.cpf-feat-art { position: relative; }
.cpf-feat-art img { width: 100%; aspect-ratio: 360 / 220; object-fit: cover; }
.cpf-flag { position: absolute; left: 10px; top: 10px; background: #fff; color: var(--copper); font: 700 .62rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; }
.cpf-feat-in { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.cpf-feat h3 { font-family: var(--display); font-size: 1.2rem; line-height: 1.18; font-weight: 700; }
.cpf-feat h3 a { color: var(--ink); text-decoration: none; }
.cpf-feat h3 a::after { content: ""; position: absolute; inset: 0; }
.cpf-feat p { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.cpf-more { margin-top: auto; color: var(--sea); font-weight: 600; font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; }
.cpf-factors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.cpf-factor { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 12px 18px; text-align: center; }
.cpf-factor:hover { border-color: var(--sea-3); }
.cpf-factor .cpf-i { width: 64px; height: 64px; padding: 17px; margin: 0 auto 12px; border-radius: 50%; background: var(--mint); color: var(--navy); }
.cpf-factor h3 { font-size: .92rem; margin-bottom: 6px; }
.cpf-factor h3 a { color: var(--ink); text-decoration: none; }
.cpf-factor h3 a::after { content: ""; position: absolute; inset: 0; }
.cpf-factor p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* budget calculator */
.cpf-budget { background: linear-gradient(180deg, #e6f4f1, #eef7f5); border: 1px solid var(--mint-2); border-radius: 12px; padding: 22px; margin: 34px 0 10px; }
.cpf-budget-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
.cpf-budget-head h2 { font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.3rem); margin: 0 0 4px; }
.cpf-budget-ctl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin: 0; }
.cpf-budget-ctl p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.cpf-budget-ctl label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.cpf-budget-ctl select { min-height: 46px; border: 1px solid #a9bfbb; border-radius: 6px; padding: 8px 12px; background: #fff; max-width: 100%; width: 320px; }
.cpf-budget-ctl p:nth-child(2) select { width: 240px; }
.cpf-budget-grid { display: grid; grid-template-columns: 1.35fr repeat(6, minmax(0, 1fr)) 1.15fr; gap: 12px; margin: 0; }
.cpf-bt { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.cpf-bt label, .cpf-bt-h { font-weight: 700; color: var(--navy); font-size: .9rem; margin: 0 0 8px; }
.cpf-bt { position: relative; }
.cpf-bt-row { display: flex; align-items: center; gap: 6px; margin: 0; }
.cpf-bt-row input { width: 100%; min-width: 0; font: 600 1.1rem/1.2 var(--sans); color: var(--navy); border: 1px solid #a9bfbb; border-radius: 6px; padding: 8px; background: var(--paper); }
.cpf-bt-row input[aria-invalid="true"] { border-color: var(--bad); background: var(--bad-bg); }
.cpf-unit { font-weight: 600; color: var(--muted); font-size: .85rem; }
.cpf-bt-ic { color: var(--muted); position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; }
.cpf-bt label { padding-right: 26px; }
.cpf-share { font-size: .86rem; color: var(--muted); margin: 8px 0 6px; min-height: 1.4em; }
.cpf-bar { display: block; height: 7px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-top: auto; }
.cpf-bar span { display: block; height: 100%; width: 0; background: var(--sea-3); border-radius: 99px; transition: width .2s; }
.cpf-bar span.cpf-hot { background: #d0533f; }
.cpf-bar span.cpf-warm { background: #e08a2c; }
.cpf-bt-total { border-color: var(--sea-3); box-shadow: inset 0 0 0 1px var(--sea-3); }
.cpf-total, .cpf-time { font: 700 2.2rem/1.05 var(--sans); color: var(--sea); margin: 2px 0 8px; white-space: nowrap; }
.cpf-total span { font-size: 1.1rem; }
.cpf-time { font-size: 1.9rem; color: var(--navy); }
.cpf-bt-note { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.4; }
.cpf-unit-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.cpf-budget-err { background: var(--bad-bg); color: #7d1a14; border: 1px solid #efb7b1; border-radius: 6px; padding: 10px 12px; margin: 12px 0 0; font-size: .92rem; }
.cpf-budget-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; margin-top: 14px; font-size: .88rem; }
.cpf-budget-foot p { margin: 0; max-width: 62em; }
.cpf-budget-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* impact + methodology */
.cpf-duo { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 44px; padding-top: 40px; padding-bottom: 10px; }
.cpf-duo > section + section { border-left: 1px solid var(--line); padding-left: 44px; }
.cpf-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cpf-table { font-size: .88rem; }
.cpf-table caption { text-align: left; font-size: .8rem; color: var(--muted); padding: 10px 14px; caption-side: bottom; border-top: 1px solid var(--line-2); }
.cpf-table th, .cpf-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.cpf-table thead th { background: #eef4f3; color: var(--navy); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.cpf-table tbody th { font-weight: 600; color: var(--navy); }
.cpf-table tbody th a { color: var(--navy); }
.cpf-impact .cpf-why { color: var(--muted); min-width: 16em; }
.cpf-impact td:nth-child(4) { white-space: nowrap; }
.cpf-impact:not(.cpf-impact-c) td:nth-child(3) { min-width: 14em; }
.cpf-risk { display: inline-block; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-right: 6px; }
.cpf-risk-high { background: var(--bad-bg); color: var(--bad); }
.cpf-risk-medium { background: var(--mid-bg); color: var(--mid); }
.cpf-risk-low { background: var(--good-bg); color: var(--good); }
.cpf-dots { white-space: nowrap; }
.cpf-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 3px; }
.cpf-dot-high { background: #d0533f; } .cpf-dot-medium { background: #e08a2c; } .cpf-dot-low { background: #2f9e62; }
.cpf-steps { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.cpf-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; margin-bottom: 20px; align-items: start; }
.cpf-steps b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 1.1rem/1 var(--sans); background: radial-gradient(circle at 35% 30%, var(--copper-2), var(--copper)); box-shadow: 0 0 0 4px #f3e1d6; }
.cpf-steps h3 { margin: 4px 0 4px; }
.cpf-steps p { font-size: .88rem; color: var(--muted); margin: 0; }
.cpf-method { position: relative; }
.cpf-method-art { position: absolute; right: 0; bottom: -10px; width: 34%; opacity: .45; z-index: 0; }

/* latest */
.cpf-lates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cpf-late { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.cpf-late:hover { border-color: var(--sea-3); }
.cpf-late img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; }
.cpf-late h3 { font-size: .95rem; margin-bottom: 4px; }
.cpf-late h3 a { color: var(--ink); text-decoration: none; }
.cpf-late h3 a::after { content: ""; position: absolute; inset: 0; }
.cpf-late p { font-size: .82rem; color: var(--muted); margin: 0 0 6px; line-height: 1.45; }
.cpf-late-meta { display: flex; align-items: center; gap: 6px; font-size: .78rem !important; }
.cpf-late-go { margin-left: auto; color: var(--navy); }

/* contact band and footer */
.cpf-band { margin: 46px 0 0; }
.cpf-band-in { background: radial-gradient(800px 200px at 20% 0%, #23605c, #174b49 60%, #123c3b); color: #e6f2ef; border-radius: 12px; padding: 24px 28px; display: grid; grid-template-columns: auto minmax(0, 1.4fr) auto minmax(0, 1fr); gap: 18px 26px; align-items: center; }
.cpf-band-ic { width: 64px; height: 64px; border: 2px solid #8fc9bf; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.cpf-band h2 { color: #fff; font-size: 1.65rem; margin: 0 0 4px; }
.cpf-band p { margin: 0; font-size: .92rem; }
.cpf-band-cta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cpf-band-mail { color: #fff; font-size: .92rem; }
.cpf-band-mail:hover { color: #fff; }
.cpf-band-pts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .86rem; }
.cpf-band-pts li { display: flex; gap: 8px; align-items: center; }
.cpf-foot { background: #fff; margin-top: 30px; border-top: 1px solid var(--line); }
.cpf-foot .cpf-brand-n { font-size: 1.35rem; }
.cpf-foot-in { display: grid; grid-template-columns: 2.4fr repeat(4, 1fr) 1.6fr; gap: 28px; padding-top: 34px; padding-bottom: 26px; }
.cpf-foot h2 { font: 700 .95rem/1.3 var(--sans); color: var(--navy); margin: 0 0 10px; }
.cpf-foot ul { list-style: none; margin: 0; padding: 0; }
.cpf-foot li { margin-bottom: 6px; }
.cpf-foot li a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.cpf-foot li a:hover { color: var(--sea); text-decoration: underline; }
.cpf-foot-note { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.55; }
.cpf-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; border-top: 1px solid var(--line-2); padding-top: 14px; padding-bottom: 22px; font-size: .78rem; color: var(--muted); }
.cpf-foot-base p { margin: 0; }
.cpf-foot-base p:last-child { letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

/* inner pages */
.cpf-pagehead { background: linear-gradient(180deg, #edf6f4, var(--paper)); border-bottom: 1px solid var(--line); padding: 26px 0 26px; }
.cpf-pagehead h1 { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.3rem); max-width: 22em; }
.cpf-pagehead .cpf-lede { font-size: 1.12rem; max-width: 46em; color: var(--text); }
.cpf-hubhead { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: center; }
.cpf-hubhead img { border-radius: 10px; border: 1px solid var(--line); }
.cpf-crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .84rem; color: var(--muted); }
.cpf-crumbs li + li::before { content: "/"; margin: 0 6px; color: #8aa0a6; }
.cpf-crumbs a { color: var(--muted); }
.cpf-byline { font-size: .86rem; color: var(--muted); margin: 0; }
.cpf-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 34px; align-items: start; }
.cpf-aside { position: sticky; top: 104px; display: grid; gap: 16px; }
.cpf-toc, .cpf-aside-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.cpf-toc h2, .cpf-aside-box h2 { font: 700 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 0 0 10px; }
.cpf-toc ol { margin: 0; padding-left: 18px; font-size: .88rem; }
.cpf-toc li { margin-bottom: 6px; }
.cpf-toc a { color: var(--text); text-decoration: none; }
.cpf-toc a:hover { color: var(--sea); text-decoration: underline; }
.cpf-aside-box p { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.cpf-aside-box a { font-weight: 600; }
.cpf-prose { font-size: 1.04rem; max-width: 820px; }
.cpf-prose h2 { font-size: clamp(1.5rem, 1.2rem + .9vw, 1.95rem); margin-top: 1.7em; }
.cpf-prose h3 { margin-top: 1.4em; font-size: 1.12rem; }
.cpf-prose ul, .cpf-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.cpf-prose li { margin-bottom: .45em; }
.cpf-prose .cpf-tablewrap { margin: 1.2em 0 1.4em; }
.cpf-prose code { font-size: .9em; background: #e9f2f0; padding: .08em .35em; border-radius: 4px; }
.cpf-prose pre { background: var(--navy); color: #e8f0f6; padding: 14px 16px; border-radius: 8px; overflow-x: auto; font-size: .86rem; line-height: 1.5; }
.cpf-prose pre code { background: none; padding: 0; color: inherit; }
.cpf-glance { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sea-3); border-radius: 8px; padding: 16px 20px; margin: 0 0 1.4em; }
.cpf-glance h2 { font: 700 .8rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); margin: 0 0 8px; }
.cpf-glance ul { margin: 0; }
.cpf-callout { background: #fdf4ec; border: 1px solid #f0d3bd; border-radius: 8px; padding: 14px 18px; margin: 1.2em 0; font-size: .96rem; }
.cpf-callout strong:first-child { color: var(--copper); }
.cpf-faq { margin-top: 2em; }
.cpf-qa { border-top: 1px solid var(--line); padding: 12px 0 2px; }
.cpf-qa h3 { margin: 0 0 6px; font-size: 1.04rem; }
.cpf-refs { font-size: .9rem; padding-left: 1.3em; color: var(--muted); }
.cpf-refs li { margin-bottom: .55em; }
.cpf-rel { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.cpf-rel h2 { font-size: 1.6rem; }
.cpf-rel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cpf-rel li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.cpf-rel a { font-weight: 700; color: var(--navy); }
.cpf-rel span { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
.cpf-hub { padding-top: 30px; }
.cpf-hub > .cpf-prose { margin-bottom: 18px; }
.cpf-cards { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cpf-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.cpf-card:hover { border-color: var(--sea-3); }
.cpf-card img { width: 100%; aspect-ratio: 360 / 220; object-fit: cover; }
.cpf-card-in { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.cpf-card h3 { font-family: var(--display); font-size: 1.28rem; }
.cpf-card h3 a { color: var(--ink); text-decoration: none; }
.cpf-card h3 a::after { content: ""; position: absolute; inset: 0; }
.cpf-card p { font-size: .9rem; color: var(--muted); }
.cpf-card-meta { margin: auto 0 0 !important; font-size: .8rem !important; }
.cpf-chip { font: 700 .66rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--copper); margin: 0 0 6px; }
.cpf-toolbody { padding-top: 10px; }
.cpf-toolbody .cpf-prose { margin-top: 26px; }
.cpf-policy { padding-top: 28px; }

/* archive */
.cpf-archive { padding-top: 24px; }
.cpf-find { margin-bottom: 14px; }
.cpf-find label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.cpf-seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.cpf-seg button { min-height: 40px; padding: 6px 14px; border: 1px solid #a9bfbb; background: #fff; border-radius: 99px; cursor: pointer; font-size: .9rem; color: var(--navy); }
.cpf-seg button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cpf-find-n { font-size: .9rem; color: var(--muted); }
.cpf-arcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cpf-arc { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.cpf-arc:hover, .cpf-arc:focus-within { border-color: var(--sea-3); }
.cpf-arc h3 { font-family: var(--display); font-size: 1.2rem; }
.cpf-arc h3 a { color: var(--ink); text-decoration: none; }
.cpf-arc h3 a::after { content: ""; position: absolute; inset: 0; }
.cpf-arc p:last-child { font-size: .88rem; color: var(--muted); margin: 0; }
.cpf-arc[hidden] { display: none; }
.cpf-empty { background: #fff; border: 1px dashed #a9bfbb; border-radius: 8px; padding: 18px; margin-top: 10px; }

/* glossary, forms, notes */
.cpf-terms div { border-top: 1px solid var(--line); padding: 12px 0; }
.cpf-terms dt { font-weight: 700; color: var(--navy); }
.cpf-terms dd { margin: 4px 0 0; }
.cpf-form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-top: 10px; }
.cpf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cpf-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cpf-f label { font-weight: 600; color: var(--navy); }
.cpf-f input, .cpf-f select, .cpf-f textarea { border: 1px solid #8fa7a3; border-radius: 6px; padding: 11px 12px; background: #fff; min-height: 46px; }
.cpf-opt { font-weight: 400; color: var(--muted); }
.cpf-agree { flex-direction: row; align-items: flex-start; gap: 10px; }
.cpf-agree input { min-height: 0; width: 20px; height: 20px; margin-top: 3px; flex: none; }
.cpf-agree label { font-weight: 400; }
.cpf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cpf-note { border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.cpf-note-ok { background: var(--good-bg); color: #0f4d31; border: 1px solid #a8dcc0; }
.cpf-note-err { background: var(--bad-bg); color: #7d1a14; border: 1px solid #efb7b1; }
.cpf-note-wait { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--copper-2); }
.cpf-note-h { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.cpf-note p:last-child { margin-bottom: 0; }

/* responsive */
@media (max-width: 1280px) {
  .cpf-nav ul { gap: 18px; }
  .cpf-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .cpf-vitals { grid-column: 1 / -1; }
  .cpf-vitals ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
  .cpf-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cpf-factors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cpf-budget-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cpf-bt-total, .cpf-bt-time { grid-column: span 2; }
  .cpf-lates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpf-foot-in { grid-template-columns: repeat(4, 1fr); }
  .cpf-foot-brand, .cpf-foot-note { grid-column: 1 / -1; }
  .cpf-band-in { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cpf-band-pts { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .cpf-burger { display: grid; }
  .cpf-head-in { flex-wrap: wrap; min-height: 72px; }
  .cpf-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 0 0 16px; margin: 0; }
  .cpf-nav.cpf-open { display: flex; }
  .cpf-nav ul { flex-direction: column; gap: 0; }
  .cpf-nav li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
  .cpf-find-btn { width: auto; height: auto; border-radius: 8px; justify-content: flex-start; padding: 10px 4px; }
  .cpf-hero-in { grid-template-columns: minmax(0, 1fr); }
  .cpf-duo { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cpf-duo > section + section { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 30px; }
  .cpf-article { grid-template-columns: minmax(0, 1fr); }
  .cpf-aside { position: static; order: -1; }
  .cpf-hubhead { grid-template-columns: minmax(0, 1fr); }
  .cpf-hubhead img { max-width: 360px; }
  .cpf-cards, .cpf-arcs, .cpf-rel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cpf-wrap { padding-left: 16px; padding-right: 16px; }
  .cpf-strip-r { display: none !important; }
  .cpf-strip p > span:nth-child(n+3) { display: none; }
  .cpf-hubhead img { display: none; }
  .cpf-brand img { width: 42px; height: 42px; }
  .cpf-brand-n { font-size: 1.25rem; }
  .cpf-brand-s { font-size: .54rem; letter-spacing: .1em; white-space: normal; }
  .cpf-brand { flex: 1; }
  .cpf-head-in { flex-wrap: wrap; gap: 12px; }
  .cpf-vitals ul { grid-template-columns: minmax(0, 1fr); }
  .cpf-feats, .cpf-cards, .cpf-arcs, .cpf-rel ul, .cpf-lates { grid-template-columns: minmax(0, 1fr); }
  .cpf-factors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpf-budget { padding: 16px; }
  .cpf-budget-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpf-budget-ctl, .cpf-budget-ctl p { width: 100%; }
  .cpf-trio li { border-right: 0; margin-right: 0; width: 100%; }
  .cpf-band-in { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .cpf-foot-in { grid-template-columns: 1fr 1fr; }
  .cpf-form-grid { grid-template-columns: minmax(0, 1fr); }
  .cpf-method-art { display: none; }
  .cpf-sec-head .cpf-viewall { margin-left: 0; }
}
@media (max-width: 400px) {
  .cpf-budget-grid { grid-template-columns: minmax(0, 1fr); }
  .cpf-bt-total, .cpf-bt-time { grid-column: auto; }
  .cpf-factors { grid-template-columns: minmax(0, 1fr); }
  .cpf-late { grid-template-columns: 88px 1fr; }
  .cpf-late img { width: 88px; height: 80px; }
  .cpf-foot-in { grid-template-columns: minmax(0, 1fr); }
  .cpf-ctas .cpf-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .cpf-strip, .cpf-head, .cpf-band, .cpf-foot, .cpf-aside { display: none; } }
