/* Citi website — single stylesheet. Values measured from the captured online.citi.com dashboard. */
/* Interstate is served by the Adobe Fonts kit linked in site/layout.blade.php (family "interstate", weights 400/500/700).
   Overpass (SIL OFL, bundled) stands in when the kit cannot load. */
@font-face { font-family: "Overpass"; font-weight: 300 700; font-style: normal; font-display: swap; src: url("../fonts/overpass/Overpass-Variable.woff2") format("woff2"); }

:root {
  --citi-blue: #056DAE;        /* links, buttons */
  --citi-blue-deep: #015E97;   /* hero tile base */
  --citi-navy: #002D72;        /* account names */
  --nav-ink: #04208F;          /* top nav links */
  --ink: #333333;
  --ink-strong: #111111;
  --muted: #666666;
  --page-bg: #FCFCFC;
  --center-bg: #EFF3F8;
  --nav-bg: #F0F5F7;
  --strip-bg: #EFF3F8;
  --line: #EEEEEE;
  --tile-bg: #FFFFFF;
  --footer-bg: #333333;
  --error: #C8102E;
  --ok-bg: #E7F4EC;
  --ok-ink: #0C4B0C;
  --error-bg: #FBE9EC;
  --font: "interstate", "Overpass", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tile-shadow: rgba(0, 0, 0, 0.06) 0 0 5px 0, rgba(68, 82, 96, 0.1) 0 2px 5px 0;
  --sidebar-w: 450px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; font: 300 16px/24px var(--font); color: var(--ink); background: var(--page-bg); }
a { color: var(--citi-blue); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
strong, b { font-weight: 700; }
.muted { color: var(--muted); font-size: 12px; line-height: 18px; }
.inline { display: inline; }
.link { background: none; border: 0; padding: 0; color: var(--citi-blue); cursor: pointer; font: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: 1185px; margin: 0 auto; }

/* ---------- Masthead + navigation ---------- */
.masthead { background: #fff; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 35px 0 20px; }
.masthead .logo img { width: 68px; height: auto; }
.masthead-tools { display: flex; align-items: center; gap: 28px; }
.icon-link { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: 11px; line-height: 16px; font-weight: 400; text-transform: uppercase; }
.icon-link svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.icon-link:hover { text-decoration: none; color: var(--ink); }
.fdic { font-size: 12px; line-height: 16px; color: var(--ink); font-weight: 400; }
.fdic strong { font-size: 15px; letter-spacing: .5px; margin-right: 6px; }
.fdic em { font-style: italic; }
.topnav { background: var(--nav-bg); box-shadow: rgba(0, 0, 0, 0.12) 0 1px 10px 0; position: relative; z-index: 10; }
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 46px; }
.topnav ul { list-style: none; padding: 0 0 0 20px; display: flex; }
.topnav li { position: relative; }
.topnav a, .topnav .menu-toggle {
  display: flex; align-items: center; padding: 0 20px; line-height: 30px; height: 46px; color: var(--nav-ink); font-weight: 400; font-size: 16px;
  background: none; border: 0; cursor: pointer; border-radius: 8px 8px 0 0; white-space: nowrap; margin: 0;
}
.topnav a:hover, .topnav .menu-toggle:hover, .topnav li.open > .menu-toggle, .topnav li:hover > .menu-toggle { background: #fff; text-decoration: none; }
.topnav .signoff { padding-right: 40px; }
.topnav .menu {
  display: none; position: absolute; left: 0; top: 46px; min-width: 280px; background: #fff; color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15); z-index: 20; padding: 12px 0;
}
.topnav li:hover > .menu, .topnav li:focus-within > .menu, .topnav li.open > .menu { display: block; }
.topnav .menu a, .topnav .menu .link { display: block; height: auto; padding: 8px 20px; line-height: 20px; color: var(--ink); font-size: 14px; border-radius: 0; text-align: left; width: 100%; }
.topnav .menu a:hover, .topnav .menu .link:hover { background: var(--nav-bg); }
.topnav .menu-title { margin: 4px 20px 6px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); font-weight: 700; }

/* ---------- Dashboard shell ---------- */
.dashboard { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
.left-field { padding: 32px 28px 20px 20px; background: var(--page-bg); }
.center-field { background: var(--center-bg); padding: 12px 10px 30px; min-height: 60vh; }
.greeting h1 { font-size: 21px; line-height: 27px; font-weight: 400; color: var(--ink); }
.greeting .last-sign-on { font-size: 12px; line-height: 18px; color: var(--muted); margin-top: 10px; }
.side-heading { font-size: 12px; line-height: 14px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--ink); margin: 20px 0 8px; }
.side-tile { background: var(--tile-bg); border: 1px solid var(--line); border-radius: 10px; margin: 20px 0; overflow: hidden; }
.summary-tile { display: block; padding: 28px 23px; font-weight: 700; font-size: 16px; color: var(--citi-navy); }
.summary-tile:hover { text-decoration: none; background: var(--strip-bg); }
.account-tile .body { display: block; padding: 15px 20px 10px; color: inherit; }
.account-tile .body:hover { text-decoration: none; }
.account-tile .row1 { display: flex; justify-content: space-between; gap: 12px; }
.account-tile h3 { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--citi-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-tile .last-four { font-size: 12px; line-height: 14px; letter-spacing: 2px; color: var(--muted); font-weight: 400; display: block; }
.account-tile .amount { text-align: right; font-size: 16px; line-height: 24px; color: #000; font-weight: 400; white-space: nowrap; }
.account-tile .amount small { display: block; font-size: 12px; color: var(--muted); }
.account-tile .row2 { margin-top: 10px; font-size: 12px; line-height: 24px; color: var(--muted); }
.account-tile .strip { background: var(--strip-bg); padding: 5px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; line-height: 16px; font-weight: 700; }
.account-tile .strip a { color: var(--citi-blue); }
.account-tile .strip a::after { content: " ›"; }
.account-tile.is-selected { background: var(--citi-blue-deep) url("../images/balance-graphic.svg") center / cover no-repeat; border-color: transparent; box-shadow: rgba(0, 0, 0, 0.3) -6px 7px 8px 0; color: #fff; }
.account-tile.is-selected h3, .account-tile.is-selected .amount, .account-tile.is-selected .last-four, .account-tile.is-selected .row2, .account-tile.is-selected .amount small { color: #fff; }
.account-tile.is-selected .strip { background: #fff; }
.account-tile.is-closed { border-left: 5px solid var(--ink); border-radius: 8px 10px 10px 8px; }
.account-tile .strip .closed { color: #000; }
.badge { display: inline-block; font-size: 11px; line-height: 16px; font-weight: 700; padding: 0 6px; border-radius: 3px; vertical-align: middle; margin-left: 6px; }
.badge-closed { background: var(--error-bg); color: var(--error); }
.badge-locked { background: var(--strip-bg); color: var(--muted); border: 1px solid var(--line); }
.account-tile.is-selected .badge-locked { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.4); }

.offer-tile { margin-top: 40px; }
.offer-tile .next { background: var(--strip-bg); border: 2px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0; padding: 12px; display: flex; gap: 14px; position: relative; }
.offer-tile .next .plus { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--citi-blue); color: var(--citi-blue); display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; font-weight: 300; }
.offer-tile .next h3 { font-size: 14px; line-height: 21px; font-weight: 700; color: var(--ink); }
.offer-tile .next p { font-size: 12px; line-height: 18px; color: var(--ink); margin: 2px 0 8px; }
.offer-tile .explore { background: #fff; border: 2px solid var(--line); border-top: 0; padding: 12px 15px 0; }
.offer-tile .explore h3 { font-size: 14px; line-height: 21px; font-weight: 700; }
.offer-tile .explore ul { list-style: none; padding: 14px 0 12px; display: flex; justify-content: space-around; }
.offer-tile .explore li a { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 700; }
.offer-tile .explore li a span.ic { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--citi-blue); display: flex; align-items: center; justify-content: center; }
.offer-tile .explore li a svg { width: 22px; height: 22px; stroke: var(--citi-blue); fill: none; stroke-width: 1.5; }
.offer-tile .all { background: var(--strip-bg); border: 2px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; padding: 8px 15px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.offer-tile .all::after { content: "›"; color: var(--citi-blue); font-size: 22px; }

/* ---------- Center tiles ---------- */
.tile { background: var(--tile-bg); border-radius: 10px; box-shadow: var(--tile-shadow); margin: 20px 10px 0; }
.tile-pad { padding: 16px; }
.tile-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tile-row .tile { align-self: start; }
.banner { background: #fff; border-left: 5px solid var(--ink); border-radius: 10px; box-shadow: var(--tile-shadow); margin: 20px 10px 0; padding: 14px 20px; display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 21px; font-weight: 400; }
.banner svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; flex: 0 0 22px; margin-top: 1px; }
.flash { margin: 20px 10px 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 21px; font-weight: 400; box-shadow: var(--tile-shadow); }
.flash-ok { background: var(--ok-bg); color: var(--ok-ink); }
.flash-error { background: var(--error-bg); color: #7A0A1C; }

.promo { display: flex; align-items: center; gap: 0; height: 90px; padding: 0 20px 0 15px; }
.promo .ic { flex: 0 0 48px; display: flex; align-items: center; }
.promo .ic svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.promo h2 { font-size: 16px; line-height: 24px; font-weight: 300; color: var(--ink); padding: 0 15px 0 0; flex: 0 0 auto; max-width: 180px; }
.promo .copy { border-left: 1px solid var(--line); padding: 0 15px; font-size: 12px; line-height: 18px; font-weight: 400; color: var(--ink); flex: 1; }
.promo .copy + .copy { border-left: 1px solid var(--line); }
.promo .btn { flex: 0 0 auto; }

/* Buttons */
.btn { display: inline-block; background: var(--citi-blue); color: #fff; border: 0; border-radius: 8px; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; }
.btn:hover, .btn:focus { background: #045A92; text-decoration: none; }
.btn-md { font-size: 16px; line-height: 24px; padding: 8px 12px; }
.btn-sm { font-size: 12px; line-height: 18px; padding: 4px 25px; }
.btn-xs { font-size: 12px; line-height: 18px; padding: 2px 18px; }
.btn-outline { background: #fff; color: var(--citi-blue); border: 1px solid var(--citi-blue); }
.btn-outline:hover { background: var(--strip-bg); }
.btn[disabled] { opacity: .5; cursor: default; }
.link-bold { font-weight: 700; font-size: 16px; }

/* Hero (balance summary) tile */
.hero-tile { background: var(--citi-blue-deep) url("../images/balance-graphic.svg") center / cover no-repeat; color: #fff; padding: 24px; }
.hero-tile h1 { font-size: 21px; line-height: 27px; font-weight: 300; color: #fff; margin-bottom: 20px; }
.hero-tile .body { display: flex; gap: 20px; align-items: flex-start; }
.hero-tile .thumb { flex: 0 0 56px; width: 56px; height: auto; border-radius: 4px; margin-top: 6px; }
.hero-tile .thumb-card { flex: 0 0 56px; width: 56px; height: 36px; border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: center; margin-top: 6px; }
.hero-tile .thumb-card img { width: 32px; }
.hero-tile .label { font-size: 15.2px; line-height: 23px; font-weight: 300; white-space: nowrap; }
.hero-tile .label .info { display: inline-block; width: 16px; height: 16px; border: 1px solid #fff; border-radius: 50%; font-size: 10px; line-height: 14px; text-align: center; margin-left: 6px; vertical-align: 1px; font-weight: 700; }
.hero-tile .current { flex: 0 0 auto; min-width: 200px; }
.hero-tile .big { font-size: 49.6px; line-height: 74px; font-weight: 300; letter-spacing: -.5px; }
.hero-tile .sub { font-size: 15.2px; line-height: 23px; }
.hero-tile .available { flex: 1; padding-top: 8px; }
.hero-tile .available .amt { font-size: 25.6px; line-height: 38px; font-weight: 300; }
.hero-tile .limit { display: flex; gap: 24px; align-items: flex-start; }
.hero-tile .limit > div { flex: 0 0 auto; }
.hero-tile .limit-label { font-size: 15.2px; line-height: 23px; white-space: nowrap; }
.hero-tile .bar { height: 10px; border-radius: 5px; background: rgba(255,255,255,.35); margin-top: 10px; overflow: hidden; }
.hero-tile .bar > span { display: block; height: 100%; background: #fff; }
.hero-tile .links { border-left: 1.5px solid #fff; padding-left: 19px; align-self: stretch; display: flex; align-items: center; }
.hero-tile .links a { color: #fff; font-weight: 700; font-size: 15.2px; }
.hero-tile.hero-loan .available { padding-top: 0; }
.hero-tile .ulink { color: #fff; text-decoration: underline; font-size: 12px; font-weight: 700; }

/* Payment tile */
.payment-tile .body { padding: 12px 15px; }
.payment-tile .head { font-size: 18px; line-height: 24px; font-weight: 400; color: var(--ink); padding-bottom: 23px; }
.payment-tile .balances { display: flex; gap: 10px; margin-bottom: 10px; }
.payment-tile .balance { flex: 1; }
.payment-tile .balance .lbl { font-size: 14px; line-height: 21px; color: var(--muted); font-weight: 300; min-height: 42px; }
.payment-tile .balance .amt { font-size: 22px; line-height: 30px; font-weight: 300; color: var(--ink); }
.payment-tile .big { font-size: 26px; line-height: 32px; font-weight: 300; }
.payment-tile .row-2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.payment-tile .strip { background: var(--strip-bg); border-radius: 0 0 10px 10px; padding: 15px 16px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.payment-tile .strip svg { width: 20px; height: 20px; stroke: var(--citi-blue); fill: none; stroke-width: 1.5; }

/* I want to tile */
.wants .title { font-size: 12px; line-height: 18px; font-weight: 700; padding: 10px 15px 0; }
.wants ul { list-style: none; padding: 8px 10px 10px; display: grid; grid-template-columns: 1fr 1fr; }
.wants li a { display: flex; align-items: center; gap: 12px; padding: 10px 5px; font-size: 12px; line-height: 18px; font-weight: 700; color: var(--citi-navy); min-height: 56px; }
.wants li a svg { width: 24px; height: 24px; stroke: var(--citi-blue); fill: none; stroke-width: 1.4; flex: 0 0 24px; }

/* Rewards tile */
.rewards { display: flex; align-items: center; padding: 20px 0; gap: 10px; }
.rewards .wordmark { padding: 5px 5px 5px 24px; font-weight: 700; color: var(--citi-blue); font-size: 15px; line-height: 1; display: flex; flex-direction: column; }
.rewards .wordmark small { font-size: 8px; color: var(--ink); letter-spacing: .3px; }
.rewards .heading { font-size: 16px; font-weight: 700; padding: 5px; flex: 1; }
.rewards .amount { font-size: 26px; line-height: 32px; padding: 5px; flex: 1; }
.rewards .redeem { padding: 5px 19px 5px 5px; font-size: 12px; font-weight: 700; }

/* Transactions tile */
.tx-tile { padding: 16px; }
.tx-tile .title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; }
.tx-tile h2 { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink-strong); }
.tx-tile .title-links { font-size: 14px; font-weight: 400; display: flex; gap: 10px; align-items: center; color: var(--muted); }
.tx-tile .title-links a { color: var(--citi-blue); }
.tx-tile .controls { display: grid; grid-template-columns: 231px 195px minmax(0, 1fr); gap: 16px; align-items: end; margin-bottom: 24px; }
.tx-tile .controls label { display: block; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--ink); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctl { width: 100%; height: 48px; border: 1px solid #949494; border-radius: 8px; background: #fff; font: 700 16px/24px var(--font); color: var(--citi-blue); padding: 0 40px 0 16px; appearance: none; -webkit-appearance: none; }
select.ctl { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23056DAE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input.ctl { font-weight: 300; color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23056DAE' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.ctl:focus { outline: 2px solid var(--citi-blue); outline-offset: 1px; }
.tx-tile .actions { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.tx-tile .actions .field-error { margin: 0; }
.tx-tile .period-note { font-size: 14px; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
table.tx { width: 100%; border-collapse: collapse; }
table.tx th, table.tx td { padding: 12px 8px 12px 4px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 21px; }
table.tx th { font-size: 14.4px; line-height: 18px; font-weight: 700; color: var(--citi-blue); padding: 0 0 8px 4px; border-bottom: 1px solid var(--line); }
table.tx th.plain { color: var(--ink); }
table.tx .num { text-align: right; padding: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.tx th.num { padding: 0 12px 8px; }
table.tx td.date { white-space: nowrap; }
table.tx td.exp { width: 42px; color: var(--citi-blue); font-size: 22px; line-height: 21px; padding: 8px 7px; font-weight: 300; }
table.tx .group-row td { padding: 16px 8px; font-size: 16px; font-weight: 600; border-bottom: 0; }
table.tx .group-row .info { display: inline-block; width: 16px; height: 16px; border: 1px solid var(--citi-blue); border-radius: 50%; font-size: 10px; line-height: 14px; text-align: center; color: var(--citi-blue); margin: 0 8px 0 4px; vertical-align: 1px; font-weight: 700; }
table.tx .pending td { font-style: italic; color: var(--muted); }
table.tx .desc { color: var(--ink); }
table.tx .desc .small { display: block; font-size: 12px; line-height: 16px; color: var(--muted); font-style: normal; }
table.tx .empty { text-align: center; color: var(--muted); padding: 24px; }
.truncated { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Generic content tiles (statements, payments, profile) */
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 10px 0; }
.page-head h1 { font-size: 21px; line-height: 27px; font-weight: 400; }
.crumbs { margin: 16px 10px 0; font-size: 12px; line-height: 18px; color: var(--muted); font-weight: 400; }
.content-tile { padding: 16px 20px 20px; }
.content-tile h2 { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink-strong); margin-bottom: 12px; }
.statement-list { list-style: none; }
.statement-list li { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.statement-list li:last-child { border-bottom: 0; }
.statement-list .muted { font-size: 12px; }
table.plain { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; font-weight: 400; }
table.plain th, table.plain td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.plain th { font-size: 14.4px; font-weight: 700; color: var(--citi-blue); }
table.plain .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.plain td:first-child, table.plain td:nth-last-child(2), table.plain td:nth-last-child(3) { white-space: nowrap; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 10px 16px; font-size: 16px; line-height: 24px; }
.kv dt { color: var(--muted); font-size: 14px; font-weight: 300; }
.kv dd { font-weight: 400; }
.confirmation { font-size: 26px; line-height: 32px; font-weight: 300; color: var(--citi-navy); margin-bottom: 4px; }
.amount-lg { font-size: 32px; line-height: 40px; font-weight: 300; }
.form-actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Forms */
label.lbl { display: block; font-size: 16px; line-height: 24px; font-weight: 400; margin: 16px 0 6px; }
.field { width: 100%; height: 48px; border: 1px solid #949494; border-radius: 8px; padding: 0 16px; font: 300 16px/24px var(--font); color: var(--ink); background: #fff; }
.field:focus { outline: 2px solid var(--citi-blue); outline-offset: 1px; }
.field[disabled] { background: var(--strip-bg); color: var(--muted); }
.field-error { color: var(--error); font-size: 13px; line-height: 18px; font-weight: 400; margin: 4px 0 0; }
.check { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 400; margin: 12px 0 0; }
.radio-list { list-style: none; }
.radio-list li { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; }
.radio-list li.is-disabled { color: var(--muted); background: var(--strip-bg); }
.radio-list label { margin: 0; padding: 12px 14px; display: flex; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 16px; font-weight: 400; }
.radio-list label strong { font-variant-numeric: tabular-nums; font-weight: 400; }
.radio-list input[type="number"] { width: 140px; height: 36px; border: 1px solid #949494; border-radius: 6px; padding: 0 10px; font: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #fff; font-weight: 400; }
.site-footer .cols { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 20px; padding: 40px 79px 0; }
.site-footer .cols h3 { font-size: 14px; line-height: 20px; font-weight: 700; margin-bottom: 14px; }
.site-footer .cols ul { list-style: none; }
.site-footer .cols li { margin-bottom: 6px; }
.site-footer .cols a { color: #fff; font-size: 12px; line-height: 18px; }
.site-footer .legal { padding: 24px 79px 30px; border-top: 1px solid #555; margin-top: 30px; font-size: 12px; line-height: 18px; color: #ddd; }
.site-footer .legal p { margin-bottom: 12px; }
.site-footer .legal .links a { color: #fff; margin-right: 16px; }
.site-footer .logo-row { padding: 10px 79px 30px; }
.site-footer .logo-row img { width: 60px; filter: brightness(0) invert(1); }

/* ---------- Sign-on (public) ---------- */
body.is-public { background: #fff; }
.public-nav { background: #EEF4FA; box-shadow: rgba(0, 0, 0, 0.12) 0 1px 10px 0; }
.public-nav ul { list-style: none; padding: 0 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.public-nav a { display: block; padding: 12px 14px; color: var(--citi-blue); font-size: 16px; }
.public-main { padding: 0 20px 40px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 360px; gap: 32px; align-items: center; padding: 24px 0 32px; }
.hero-copy .eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; font-weight: 400; }
.hero-copy h1 { font-size: 40px; line-height: 48px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.hero-copy p { font-size: 16px; color: var(--ink); max-width: 420px; margin-bottom: 20px; font-weight: 400; }
.hero-art { width: 100%; height: auto; max-width: 340px; justify-self: center; }
.signon { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 20px 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.signon-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.signon label { display: block; margin: 0 0 6px; font-weight: 400; font-size: 16px; }
.password-field { position: relative; }
.password-field input { padding-right: 56px; }
.show-password { position: absolute; right: 4px; top: 4px; bottom: 4px; border: 0; background: none; color: var(--citi-blue); font-weight: 700; cursor: pointer; font-size: 13px; }
.signon .btn-block { display: block; width: 100%; margin-top: 14px; }
.signon-links { margin-top: 12px; font-size: 13px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 400; }
.signon-links a { text-decoration: underline; }
.demo-hint { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.quick-links { list-style: none; margin: 0 0 24px; padding: 14px 8px; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 8px; border: 1px solid var(--line); border-radius: 8px; }
.quick-links a { font-weight: 700; font-size: 15px; }
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; font-weight: 400; }
.promo-card .eyebrow { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.promo-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; margin-bottom: 14px; }
.promo-card h2 { font-size: 18px; margin-bottom: 8px; font-weight: 400; }
.promo-card p { color: #444; flex: 1; font-size: 14px; line-height: 21px; }
.promo-card .btn { align-self: flex-start; margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .dashboard { grid-template-columns: 1fr; }
  .left-field { padding: 20px 16px; }
  .tile-row { grid-template-columns: 1fr; }
  .tx-tile .controls { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: repeat(2, 1fr); padding: 30px 20px 0; }
  .site-footer .legal, .site-footer .logo-row { padding-left: 20px; padding-right: 20px; }
  .hero { grid-template-columns: 1fr; padding: 16px 0; }
  .hero-art { display: none; }
  .promos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .masthead .wrap { padding: 0 16px; }
  .topnav .wrap { height: auto; }
  .topnav ul { flex-direction: column; padding: 0; width: 100%; }
  .topnav .menu { position: static; box-shadow: none; }
  .hero-tile .body { flex-wrap: wrap; }
  .hero-tile .links { border-left: 0; padding-left: 0; }
  .hero-tile .big { font-size: 36px; line-height: 48px; }
  table.tx th:nth-child(n+5), table.tx td:nth-child(n+5) { display: none; }
  .wants ul { grid-template-columns: 1fr; }
  .signon-fields { grid-template-columns: 1fr; }
}
