/* Harborline CU mini-site — scoped case-brand styles; zero Lofty tokens.
   AA gates: navy/fog 9.8:1 · ink/fog 13.7:1 · white/navy 10.9:1 · channel links 5.1:1 · red = action only. */
:root {
  --nv: #163a57;
  --rd: #c8472e;
  --fg: #f3f1ec;
  --ch: #2e6e8e;
  --ik: #1b1b1b;
}
* { box-sizing: border-box; margin: 0; }
body {
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--fg);
  color: var(--ik);
  line-height: 1.6;
}
:focus-visible { outline: 3px solid var(--nv); outline-offset: 2px; }
.hb-visually-hidden, .hb-skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.hb-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 50; background: #fff; color: var(--nv); padding: 10px 14px; }

.hb-header {
  background: var(--nv);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 22px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
}
.hb-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.hb-brand svg { width: 44px; }
.hb-brand span { font-weight: 700; font-size: 19px; line-height: 1.1; display: grid; }
.hb-brand small { font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.hb-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hb-nav a { color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 6px 2px; }
.hb-nav a:hover { text-decoration: underline; }
.hb-external { border: 1.5px solid rgba(255,255,255,.6); padding: 7px 12px !important; border-radius: 4px; }
.hb-ext-note { font-size: 11.5px; flex-basis: 100%; text-align: right; color: #d8e2ea; margin: 0; }
.hb-demo-note a { color: #fff; }

.hb-hero { text-align: center; padding: 56px 22px 50px; background: linear-gradient(var(--fg), #e9e4d9); }
.hb-hero h1 { color: var(--nv); font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 8px; }
.hb-hero > p { max-width: 50ch; margin: 0 auto 26px; }
.hb-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; max-width: 760px; margin: 0 auto; }
.hb-tile {
  background: var(--nv);
  color: #fff;
  text-decoration: none;
  padding: 22px 18px;
  border-radius: 6px;
  display: grid;
  gap: 4px;
  text-align: left;
}
.hb-tile strong { font-size: 17px; }
.hb-tile span { font-size: 13px; opacity: 0.85; }
.hb-tile:hover { background: #1d4a6e; }

.hb-section { max-width: 820px; margin: 0 auto; padding: 44px 22px; }
.hb-section h2 { color: var(--nv); font-size: 26px; margin-bottom: 6px; }
.hb-alt { background: #fff; max-width: none; }
.hb-alt > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.hb-asof { font-size: 13.5px; margin-bottom: 14px; }

.hb-rates { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--nv); }
.hb-rates th, .hb-rates td { text-align: left; padding: 12px 14px; font-size: 15px; }
.hb-rates thead th { background: var(--nv); color: #fff; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.hb-rates tbody tr:nth-child(4n+3) td { background: var(--fg); }
.hb-rates td:nth-child(2), .hb-rates td:nth-child(3) { font-weight: 700; color: var(--nv); font-variant-numeric: tabular-nums; }
.hb-foot {
  font: 600 13px inherit;
  color: var(--ch);
  background: none;
  border: 1.5px solid var(--ch);
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
}
.hb-foot[aria-expanded="true"] { background: var(--ch); color: #fff; }
.hb-footnote td { font-size: 13px; background: #eef3f5 !important; border-top: 1px dashed var(--ch); }
.hb-disclosure { font-size: 12.5px; margin-top: 10px; }

.hb-book { background: var(--fg); border: 2px solid var(--nv); border-radius: 8px; padding: 26px 24px; }
.hb-steps { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 18px; }
.hb-steps li {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 2px solid var(--nv);
  border-radius: 50%;
  font-weight: 700;
  color: var(--nv);
  background: #fff;
}
.hb-steps li.is-on { background: var(--nv); color: #fff; }
.hb-step { border: 0; padding: 0; margin: 0; }
.hb-step legend { font-weight: 700; color: var(--nv); font-size: 17px; margin-bottom: 12px; }
.hb-choices { display: grid; gap: 8px; margin-bottom: 18px; }
.hb-choices label { display: flex; gap: 10px; align-items: center; background: #fff; border: 1.5px solid var(--nv); border-radius: 6px; padding: 11px 14px; font-size: 15px; cursor: pointer; }
.hb-choices input { accent-color: var(--nv); width: 18px; height: 18px; }
.hb-field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--nv); margin-bottom: 14px; }
.hb-field select, .hb-field input { font: 400 15px inherit; color: var(--ik); padding: 11px 12px; border: 1.5px solid var(--nv); border-radius: 6px; background: #fff; }
.hb-field input[aria-invalid="true"] { border-color: var(--rd); }
.hb-btn {
  font: 700 15px inherit;
  background: var(--rd);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 13px 26px;
  cursor: pointer;
}
.hb-btn:hover { background: #ad3a24; }
.hb-btn-quiet { background: transparent; color: var(--nv); border: 2px solid var(--nv); }
.hb-btn-quiet:hover { background: #e4ded2; }
.hb-rowbtns { display: flex; gap: 10px; }
.hb-form-status { min-height: 1.4em; font-weight: 600; color: var(--rd); font-size: 14px; }
.hb-confirm h3 { color: var(--nv); font-size: 22px; margin-bottom: 8px; }
.hb-confirm p { margin-bottom: 10px; }

.hb-branches { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hb-branches li { background: #fff; border: 2px solid var(--nv); border-radius: 6px; padding: 18px; }
.hb-branches h3 { color: var(--nv); margin-bottom: 4px; }
.hb-branches p { font-size: 14px; }

.hb-footer { background: var(--nv); color: #fff; text-align: center; padding: 26px 22px; font-size: 13px; display: grid; gap: 6px; }
.hb-demo-note { opacity: 0.75; font-size: 12px; }
