/* Resident Smart Wallet journey. Shared brand tokens live in ../styles.css. */
.individual-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at 90% 18%, rgba(30, 100, 115, .12), transparent 42%), var(--night);
  font-size: 15px;
  line-height: 1.6;
}
.individual-page [hidden] { display: none !important; }
.individual-page button, .individual-page input { font: inherit; }
.individual-page button { cursor: pointer; }
.individual-page button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.individual-page :is(button, input, summary):focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.individual-page a { text-underline-offset: 4px; }
.individual-header { min-height: 100px; }
.individual-header .site-nav { gap: 24px; }
.individual-header .site-nav a[aria-current] { color: var(--cyan); }
.individual-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 30px;
  padding: 12px 18px;
  border: 1px solid rgba(230, 189, 117, .24);
  border-radius: 10px;
  background: rgba(230, 189, 117, .045);
  color: #c9d3d6;
  font-size: 12px;
  line-height: 1.6;
}
.individual-notice strong { color: var(--gold); font-weight: 750; }
.individual-notice p { margin: 0; }
.individual-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  padding-bottom: 60px;
}
.journey-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 680px;
  padding: 38px 34px 32px;
  border: 1px solid rgba(122, 211, 228, .16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(5, 20, 33, .94), rgba(5, 20, 33, .83) 66%, rgba(5, 20, 33, .7)), url('../assets/hero-alaska-illustrated-water.png') 62% center / cover no-repeat;
}
.journey-intro .eyebrow { font-size: 10px; letter-spacing: .18em; }
.individual-page .journey-intro h1 {
  max-width: 450px;
  margin: 25px 0 22px;
  font-size: clamp(43px, 4.7vw, 64px);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-transform: none;
  text-wrap: balance;
}
.journey-intro > p:not(.eyebrow) { max-width: 360px; margin-bottom: 0; color: #bed1da; font-size: 15px; line-height: 1.75; }
.journey-steps { display: grid; gap: 0; margin: 38px 0 30px; padding: 0; list-style: none; }
.journey-steps li { position: relative; display: flex; align-items: start; gap: 14px; padding: 0 0 25px; color: #93aebd; }
.journey-steps li:last-child { padding-bottom: 0; }
.journey-steps li:not(:last-child)::after { content: ''; position: absolute; top: 33px; bottom: 7px; left: 15px; width: 1px; background: rgba(122, 211, 228, .2); }
.step-number { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(122, 211, 228, .27); border-radius: 50%; color: #9cbac7; font-size: 12px; font-weight: 750; line-height: 1; }
.step-copy { display: grid; gap: 1px; padding-top: 2px; }
.step-copy strong { color: #abc1cc; font-size: 13px; font-weight: 700; line-height: 1.5; }
.step-copy small { font-size: 11px; line-height: 1.5; }
.is-current .step-number { border-color: var(--gold); background: var(--gold); color: var(--night); box-shadow: 0 0 0 5px rgba(230, 189, 117, .07); }
.is-current .step-copy strong { color: var(--cream); }
.is-current .step-copy small { color: #c5d9df; }
.is-complete .step-number { border-color: var(--cyan); background: rgba(122, 211, 228, .1); color: var(--cyan); }
.is-complete .step-copy strong { color: var(--cyan-soft); }
.journey-help { display: inline-block; padding-block: 3px; color: var(--cyan-soft); font-size: 12px; text-decoration: underline; text-decoration-color: rgba(122, 211, 228, .45); }
.journey-help:hover { color: var(--cream); }
.signup-panel { min-width: 0; overflow: hidden; border: 1px solid rgba(122, 211, 228, .25); border-radius: 22px; background: linear-gradient(155deg, rgba(15, 45, 61, .9), rgba(7, 24, 37, .98) 68%); box-shadow: 0 26px 70px rgba(0, 0, 0, .19); }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 32px; border-bottom: 1px solid var(--line); }
.panel-kicker { color: var(--cyan-soft); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.session-tag { padding: 5px 9px; border: 1px solid rgba(230, 189, 117, .25); border-radius: 5px; color: var(--gold); font-size: 9px; font-weight: 750; letter-spacing: .08em; white-space: nowrap; }
#screen { padding: 30px 32px 32px; }
.screen-heading { margin-bottom: 27px; }
.individual-page .screen-heading h2 { margin: 0 0 12px; font-size: clamp(28px, 2.8vw, 34px); font-weight: 750; line-height: 1.15; letter-spacing: -.04em; text-transform: none; }
.screen-heading p { margin: 0; color: #bcd0da; font-size: 14px; line-height: 1.7; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin: 24px 0; }
.sample-field { display: grid; gap: 8px; min-width: 0; color: #d5e4eb; font-size: 12px; font-weight: 650; }
.sample-field input { min-width: 0; width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid rgba(122, 211, 228, .24); border-radius: 8px; background: rgba(4, 18, 29, .58); color: var(--cream); font-size: 14px; font-weight: 500; }
.sample-field input[readonly] { color: #d2e4ea; }
.sample-field small { color: #9db8c5; font-weight: 400; }
.sample-field.full-width { grid-column: 1 / -1; }
.sample-identity { display: flex; align-items: center; gap: 13px; margin-block: 24px; padding: 17px; border: 1px solid rgba(122, 211, 228, .18); border-radius: 12px; background: rgba(122, 211, 228, .04); }
.sample-identity .avatar { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border: 1px solid rgba(122, 211, 228, .3); border-radius: 50%; background: rgba(122, 211, 228, .09); color: var(--cyan-soft); font-size: 15px; font-weight: 700; }
.sample-identity > :last-child { min-width: 0; display: grid; gap: 1px; }
.sample-identity strong { color: var(--cream); font-size: 14px; font-weight: 650; }
.sample-identity small { color: #a8c1ce; font-size: 12px; overflow-wrap: anywhere; }
.summary-list { display: grid; gap: 0; margin: 23px 0; border-block: 1px solid var(--line); }
.summary-item { display: grid; grid-template-columns: minmax(100px, .75fr) minmax(0, 1.25fr); gap: 18px; padding-block: 14px; }
.summary-item + .summary-item { border-top: 1px solid rgba(180, 224, 232, .1); }
.summary-item label, .summary-item > span:first-child { color: #a9c1ce; font-size: 12px; }
.summary-item p { margin: 0; color: #e4eef2; font-size: 13px; line-height: 1.6; }
.summary-item > strong { font-size: 13px; }
.review-disclosures { margin-block: 23px; }
.review-disclosures details { border-bottom: 1px solid var(--line); }
.review-disclosures summary { padding: 14px 0; color: #d2e5eb; font-size: 13px; font-weight: 650; cursor: pointer; }
.review-disclosures[open] summary { color: var(--cyan); }
.review-disclosures p { padding-right: 15px; color: #afc5d0; font-size: 12px; line-height: 1.75; }
.consent-check { display: flex; align-items: start; gap: 11px; padding: 16px; border: 1px solid rgba(122, 211, 228, .22); border-radius: 9px; background: rgba(122, 211, 228, .035); color: #c7dce4; font-size: 12px; line-height: 1.7; cursor: pointer; }
.consent-check input { flex: none; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--cyan); cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 28px; }
.individual-page .button { justify-content: center; min-height: 48px; font-family: inherit; font-size: 12px; }
.individual-page .button:hover { transform: translateY(-1px); }
.individual-page .button:disabled:hover { transform: none; }
.form-actions .button-primary { flex: 1; }
.panel-footer { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; padding: 17px 32px; border-top: 1px solid var(--line); color: #91adbd; font-size: 11px; line-height: 1.65; }
.panel-footer p { margin: 0; }
.panel-footer a { color: var(--cyan-soft); text-decoration: underline; }
.inline-note { margin: 18px 0 0; color: #9db8c6; font-size: 12px; line-height: 1.75; }
.inline-note strong { color: #d4e4eb; font-weight: 650; }
.connection-note { color: #a9c5ce; font-size: 11px; }
.form-caption { margin: 16px 0 0; color: #9db8c6; font-size: 12px; line-height: 1.7; }
.status-illustration { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 23px; border: 1px solid rgba(122, 211, 228, .35); border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(122, 211, 228, .13), rgba(122, 211, 228, .025)); color: var(--cyan); font-size: 27px; line-height: 1; }
.request-status { margin: 22px 0; padding: 20px; border: 1px solid rgba(122, 211, 228, .2); border-radius: 12px; background: rgba(4, 18, 29, .38); }
.request-status > strong { display: block; margin-bottom: 12px; color: var(--cream); font-size: 14px; font-weight: 650; }
.status-list { display: grid; gap: 13px; }
.status-list > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #b6cdd7; font-size: 12px; }
.status-list strong { font-size: 12px; font-weight: 650; text-align: right; }
.status-chip { display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%; padding: 4px 8px; border: 1px solid rgba(180, 224, 232, .24); border-radius: 999px; background: rgba(180, 224, 232, .04); color: #b6cbd4; font-size: 9px; font-weight: 750; letter-spacing: .035em; line-height: 1.6; white-space: normal; }
.status-chip.good { border-color: rgba(122, 211, 228, .35); background: rgba(122, 211, 228, .08); color: var(--cyan-soft); }
.status-chip.pending { border-color: rgba(230, 189, 117, .32); background: rgba(230, 189, 117, .07); color: var(--gold); }
.provider-preview { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.provider-preview > summary { width: fit-content; color: #afc8d3; font-size: 12px; cursor: pointer; }
.provider-preview p { margin: 13px 0; color: #a4bfcc; font-size: 12px; line-height: 1.7; }
.preview-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.preview-actions button { min-height: 38px; padding: 8px 12px; border: 1px solid rgba(122, 211, 228, .28); border-radius: 6px; background: rgba(122, 211, 228, .055); color: var(--cyan-soft); font-size: 11px; font-weight: 650; }
.preview-actions button:hover { border-color: var(--cyan); background: rgba(122, 211, 228, .11); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 24px 0; }
.balance-panel { min-width: 0; padding: 20px; border: 1px solid rgba(122, 211, 228, .22); border-radius: 14px; background: rgba(4, 18, 29, .4); }
.balance-panel > p, .balance-panel > small { margin-bottom: 7px; color: #afc7d3; font-size: 11px; }
.amount { display: block; margin: 5px 0 15px; color: var(--cream); font-size: clamp(30px, 3.2vw, 43px); font-weight: 650; line-height: 1.2; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.balance-breakdown { display: grid; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
.balance-breakdown > div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.balance-breakdown small { color: #96b4c3; font-size: 10px; }
.balance-breakdown strong { color: #d2e4eb; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.digital-card { position: relative; isolation: isolate; min-width: 0; min-height: 174px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 19px; border: 1px solid rgba(122, 211, 228, .42); border-radius: 14px; background: radial-gradient(ellipse at 100% 0%, rgba(122, 211, 228, .17), transparent 65%), linear-gradient(135deg, #174455, #0c2535 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.digital-card::before, .digital-card::after { content: ''; position: absolute; z-index: -1; width: 220px; height: 220px; right: -135px; bottom: -120px; border: 1px solid rgba(122, 211, 228, .2); border-radius: 50%; }
.digital-card::after { width: 270px; height: 270px; right: -160px; bottom: -145px; border-color: rgba(230, 189, 117, .17); }
.digital-card .card-brand, .digital-card > strong { color: var(--cream); font-size: 12px; font-weight: 750; letter-spacing: .06em; }
.digital-card .card-number { margin: 20px 0 14px; color: #c9e2e9; font-size: 14px; letter-spacing: .16em; }
.digital-card .card-caption, .digital-card small { color: #a9cad6; font-size: 9px; line-height: 1.6; letter-spacing: .06em; }
.digital-card p { margin-bottom: 0; }
.digital-card > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.digital-card .mini-icon { width: 44px; height: 44px; background-size: 216.61px 324.93px; background-position: -58.81px -93.71px; }
.wallet-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 24px 0; }
.wallet-detail-grid > :is(article, section, div) { min-width: 0; padding: 17px; border: 1px solid rgba(122, 211, 228, .19); border-radius: 10px; background: rgba(122, 211, 228, .025); }
.wallet-detail-grid .summary-item { display: block; }
.wallet-detail-grid .status-chip { margin-bottom: 10px; }
.wallet-detail-grid .summary-item > strong { display: block; margin-bottom: 8px; }
.activity-heading { margin: 28px 0 0; font-size: 15px; }
.individual-page .wallet-detail-grid h3 { margin-bottom: 8px; color: #d5e5eb; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.wallet-detail-grid p { margin-bottom: 10px; color: #a4bfcc; font-size: 12px; line-height: 1.7; }
.wallet-detail-grid p:last-child { margin-bottom: 0; }
.wallet-detail-grid small { color: #97b4c3; font-size: 10px; }
.activity-list { margin: 20px 0 0; padding: 0; list-style: none; }
.activity-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.activity-list li:first-child { border-top: 1px solid var(--line); }
.activity-title { color: #d7e7ed; font-size: 12px; font-weight: 650; }
.activity-detail { grid-column: 1; color: #9db8c6; font-size: 11px; line-height: 1.65; }
.activity-time { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #90afbf; font-size: 10px; text-align: right; }
.error-box { margin: 22px 0; padding: 18px; border: 1px solid rgba(230, 189, 117, .4); border-radius: 10px; background: rgba(230, 189, 117, .06); }
.error-box strong { color: var(--gold); font-size: 13px; }
.error-box p { margin: 7px 0 0; color: #cfdbdf; font-size: 12px; line-height: 1.7; }
.error-box .button { margin-top: 14px; }
.individual-footer { display: flex; align-items: start; justify-content: space-between; gap: 25px; padding-block: 26px 36px; border-top: 1px solid var(--line); color: #8eaab9; font-size: 11px; }
.individual-footer p { max-width: 680px; margin: 0; }
.individual-footer a { color: var(--cyan-soft); white-space: nowrap; }
.individual-footer details { max-width: 430px; }
.individual-footer summary { cursor: pointer; color: var(--cyan-soft); }
.individual-footer details p { margin-top: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .journey-intro { padding: 32px 26px; }
  .overview-grid { grid-template-columns: 1fr; }
  .digital-card { min-height: 185px; }
}
@media (max-width: 920px) {
  .individual-layout { grid-template-columns: 1fr; gap: 24px; max-width: 720px; }
  .journey-intro { min-height: 0; padding: 30px; background-position: center 40%; }
  .individual-page .journey-intro h1 { max-width: 570px; margin-top: 19px; font-size: clamp(43px, 7.5vw, 60px); }
  .journey-intro > p:not(.eyebrow) { max-width: 540px; }
  .journey-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 26px 0 22px; }
  .journey-steps li { display: flex; flex-direction: column; gap: 10px; padding: 0; }
  .journey-steps li:not(:last-child)::after { top: 15px; bottom: auto; left: 41px; width: calc(100% - 40px); height: 1px; }
  .step-copy small { font-size: 10px; }
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .individual-notice { max-width: 720px; }
  .individual-footer { max-width: 720px; }
}
@media (max-width: 600px) {
  .individual-page .wrap, .individual-header { width: calc(100% - 32px); }
  .individual-header { min-height: 83px; gap: 12px; }
  .individual-header .brand { min-width: 0; gap: 10px; }
  .individual-header .brand strong { font-size: 12px; }
  .individual-header .brand small { font-size: 8px; }
  .individual-header .preview-badge { padding: 7px 9px; font-size: 8px; letter-spacing: .08em; }
  .individual-notice { margin-top: 2px; margin-bottom: 20px; padding: 12px 14px; font-size: 11px; }
  .individual-layout { padding-bottom: 36px; }
  .journey-intro { padding: 25px 22px; border-radius: 16px; }
  .individual-page .journey-intro h1 { font-size: clamp(39px, 10vw, 52px); }
  .journey-intro > p:not(.eyebrow) { font-size: 14px; line-height: 1.7; }
  .journey-steps { grid-template-columns: 1fr; gap: 0; margin-top: 25px; }
  .journey-steps li { flex-direction: row; gap: 12px; padding-bottom: 17px; }
  .journey-steps li:not(:last-child)::after { top: 33px; left: 15px; bottom: 4px; width: 1px; height: auto; }
  .step-copy { padding-top: 0; }
  .step-copy strong { font-size: 12px; }
  .step-copy small { font-size: 10px; }
  .signup-panel { border-radius: 16px; }
  .panel-top { padding: 19px 22px; }
  .panel-kicker { font-size: 9px; letter-spacing: .12em; }
  .session-tag { font-size: 8px; }
  #screen { padding: 25px 22px; }
  .individual-page .screen-heading h2 { font-size: 30px; }
  .screen-heading p { font-size: 13px; }
  .field-grid, .overview-grid, .wallet-detail-grid { grid-template-columns: 1fr; }
  .field-grid { gap: 16px; }
  .summary-item { grid-template-columns: 1fr; gap: 3px; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .button { width: 100%; }
  .panel-footer { padding: 16px 22px; }
  .status-list > div { align-items: start; }
  .status-list strong { max-width: 52%; }
  .digital-card { min-height: 185px; }
  .preview-actions { flex-direction: column; }
  .preview-actions button { width: 100%; }
  .individual-footer { flex-direction: column; gap: 13px; padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .individual-page { scroll-behavior: auto; }
  html:has(.individual-page) { scroll-behavior: auto; }
  .individual-page *, .individual-page *::before, .individual-page *::after { animation: none !important; transition: none !important; }
}
