/* Current-account guide. The global stylesheet supplies the site header and footer. */
.account-guide {
  --rule: #cedde7;
  --quiet: #4e6377;
  --link: #084f8c;
  --teal: #075e5b;
  padding-block: 18px 64px;
  line-height: 1.62;
}
.account-guide a { color: var(--link); text-decoration: underline; text-underline-offset: .17em; }
.account-guide a:hover { color: var(--teal); }
.account-guide a:focus-visible, .account-guide summary:focus-visible, .account-guide [tabindex]:focus-visible {
  outline: 3px solid #1670ad; outline-offset: 3px;
}
.account-guide section[id] { scroll-margin-top: 96px; }
.account-guide .crumbs, .guide-heading > p { color: var(--quiet); font-size: .88rem; }
.guide-heading { margin: 28px 0 24px; }
.account-guide h1, .account-guide h2, .account-guide h3, .account-guide h4 {
  color: #102b44; line-height: 1.16; letter-spacing: -.023em;
}
.account-guide h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); margin: 0 0 .18em; }
.account-guide h1 span { color: var(--teal); }
.account-guide h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin: 0 0 .55em; }
.account-guide h3 { font-size: 1.35rem; margin: 0 0 .5em; }
.account-guide p { max-width: 80ch; margin: .55em 0 .9em; }
.account-guide article > section + section, .account-guide .jump + section { margin-top: 52px; }
.picks { border-top: 3px solid #126b70; padding-top: 19px; }
.picks > h2 { font-size: clamp(1.42rem, 2.4vw, 1.9rem); }
.pick-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #f3f8fa; }
.pick-grid > div { padding: 18px 17px; border-left: 1px solid var(--rule); }
.pick-grid > div:first-child { border-left: 0; background: #e6f3f1; }
.pick-grid h3 { font-size: .9rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; color: var(--quiet); }
.pick-grid > div > a { display: inline-block; font-size: 1.25rem; line-height: 1.22; font-weight: 760; }
.pick-grid p { font-size: .93rem; margin-bottom: 0; }
.jump { display: flex; flex-wrap: wrap; gap: .45em 1.3em; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: .9rem; font-weight: 640; }
.account-guide .jump + section { margin-top: 32px; }
.account-guide table { border-collapse: collapse; width: 100%; text-align: left; font-size: .92rem; line-height: 1.46; }
.account-guide caption { text-align: left; color: var(--quiet); font-size: .88rem; padding: 7px 0 10px; }
.account-guide th, .account-guide td { border-bottom: 1px solid var(--rule); vertical-align: top; padding: 13px 11px; }
.account-guide thead { color: #fff; background: #133a54; }
.account-guide thead th { vertical-align: middle; }
.account-guide thead a { color: inherit; }
.account-guide thead a:hover { color: #b4f0e7; }
.account-guide tbody tr:nth-child(even) { background: #f0f6f9; }
.comparison td:last-child { white-space: nowrap; color: var(--teal); font-variant-numeric: tabular-nums; }
.comparison td b { font-size: 1.15rem; }
.comparison small { display: block; font-weight: 550; color: var(--quiet); margin-top: .2rem; }
.comparison th:first-child { width: 15%; }
.comparison th:nth-child(2) { width: 9%; }
.comparison th:nth-child(3), .comparison th:nth-child(4) { width: 23%; }
.account-guide .note, .account-guide .sources { font-size: .88rem; color: var(--quiet); }
.account-guide .atm-intro { max-width: 74ch; margin-bottom: 1.2rem; }
.atm-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.account-guide .atm-fees { table-layout: fixed; font-size: 1rem; font-variant-numeric: tabular-nums; }
.atm-fees th:first-child { width: 42%; }
.atm-fees th, .atm-fees td { padding: .64rem 1rem; vertical-align: middle; }
.atm-fees thead th { padding-block: .75rem; }
.atm-fees thead small { display: block; color: #d7e9f3; font-size: .84em; font-weight: 500; white-space: nowrap; }
.atm-fees th:not(:first-child), .atm-fees td { text-align: right; }
.atm-fees td { font-weight: 700; }
.atm-fees .fee-zero { color: var(--teal); }
.atm-layout .atm-chart { border: 0; }
.atm-chart summary { width: fit-content; }
.atm-chart img { display: block; width: min(100%, 470px); height: auto; border-radius: 12px; }
.atm-example { border-left: 3px solid #198078; padding: 4px 0 4px 1.1rem; }
.atm-example h3 { font-size: 1.17rem; margin: 0 0 .6rem; }
.atm-example p:last-child { margin-bottom: 0; }
.fx-model { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 760px; margin: 1rem 0; border-block: 1px solid var(--rule); }
.fx-model > div { padding: 14px 14px 12px 0; }
.fx-model > div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.fx-model h3 { font-size: 1rem; }
.fx-model strong { color: var(--teal); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.25; }
.fx-model p { margin-bottom: 0; }
.profile { max-width: 940px; border-top: 1px solid var(--rule); padding: 20px 0 12px; }
.profile h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
.profile h3 span { font-weight: 530; }
.account-guide .sources a { display: inline-block; }
.partner-box { max-width: 900px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #edf6f5; border-left: 3px solid #08716b; padding: 15px 20px; margin: 1.3rem 0 .6rem; }
.partner-box h3, .partner-box h4 { font-size: 1.1rem; margin: .25em 0; }
.partner-box small { color: var(--quiet); font-weight: 650; }
.partner-box p { margin: 0; font-size: .94rem; }
.account-guide .partner-box > a { color: #fff; background: #075e5b; border-radius: 6px; padding: 9px 16px; font-weight: 700; text-decoration: none; flex: none; }
.account-guide .partner-box > a:hover { background: #034844; }
.steps { max-width: 82ch; padding-left: 1.6rem; }
.steps li { margin-block: .85em; padding-left: .3em; }
.steps li::marker { color: var(--teal); font-weight: 800; }
.account-guide details { border-block-end: 1px solid var(--rule); max-width: 88ch; }
.account-guide details summary { padding: 13px 0; color: #153a55; font-weight: 700; cursor: pointer; }
.account-guide .score-details { max-width: 100%; }
.scroll-table { overflow-x: auto; }
.scroll-table table { min-width: 760px; }
@media (max-width: 920px) {
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .pick-grid > div:nth-child(3) { border-left: 0; }
  .pick-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .comparison { display: block; }
  .comparison caption, .comparison tbody, .comparison tr, .comparison tbody th, .comparison td { display: block; width: 100%; }
  .comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .comparison tbody { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
  .comparison tbody tr { border: 1px solid var(--rule); background: white; border-radius: 8px; padding: 0 13px; }
  .comparison tbody th:first-child { width: 100%; font-size: 1.15rem; }
  .comparison td, .comparison tbody th { padding: 8px 0; }
  .comparison td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; color: var(--quiet); }
  .comparison td:last-child { border: 0; }
}
@media (max-width: 800px) {
  .atm-layout { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 640px) {
  .account-guide { width: min(100% - 28px, var(--shell)); }
  .guide-heading { margin: 18px 0; }
  .pick-grid, .comparison tbody { grid-template-columns: 1fr; }
  .pick-grid > div { border: 0; padding: 13px; }
  .pick-grid > div + div { border-top: 1px solid var(--rule); }
  .pick-grid h3 { margin-bottom: .25rem; }
  .pick-grid p { margin-top: .28rem; }
  .comparison td { display: grid; grid-template-columns: minmax(76px, .72fr) minmax(0, 1.65fr); gap: 9px; }
  .comparison td:last-child { display: block; }
  .comparison td:last-child::before { display: inline-block; margin-right: 12px; }
  .account-guide article > section + section { margin-top: 35px; }
  .partner-box { align-items: flex-start; flex-direction: column; padding: 15px; }
  .fx-model p { font-size: .9rem; }
  .account-guide .atm-fees { font-size: .94rem; }
  .atm-fees th, .atm-fees td { padding: .65rem .45rem; }
}
@media (max-width: 375px) {
  .fx-model { grid-template-columns: 1fr; }
  .fx-model > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
}
