/* Contextual guidance is optional. Only the first choice is modal. */
.hk-onboarding [hidden], .hk-onboarding-coach[hidden], .hk-onboarding-resume[hidden], .hk-onboarding-coach [hidden], .usage-guide [hidden] { display: none !important; }
.hk-onboarding button, .hk-onboarding a, .hk-onboarding-coach button, .hk-onboarding-coach a, .usage-guide a, .usage-guide button { touch-action: manipulation; }
.hk-onboarding button:focus-visible, .hk-onboarding a:focus-visible, .hk-onboarding-coach button:focus-visible, .hk-onboarding-coach a:focus-visible, .hk-onboarding-more summary:focus-visible, .hk-onboarding-resume:focus-visible, .usage-guide a:focus-visible, .usage-guide button:focus-visible { outline: 3px solid #3157ce; outline-offset: 4px; }
.hk-onboarding-choice { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid #dce0eb; border-radius: 18px; color: #222536; background: #fff; box-shadow: 0 24px 80px #161b3533; overflow-y: auto; }
.hk-onboarding-choice::backdrop { background: #121b397a; }
.hk-onboarding-choice-head, .hk-onboarding-coach-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hk-onboarding-wordmark { font-size: 14px; font-weight: 800; color: #292767; letter-spacing: -.03em; }
.hk-onboarding-choice h2 { margin: 16px 0 12px; max-width: 14em; font-size: clamp(25px, 4vw, 32px); font-weight: 750; line-height: 1.5; letter-spacing: -.03em; }
.hk-onboarding-choice p { margin: 0; color: #5a6071; font-size: 14px; line-height: 1.8; }
.hk-onboarding-close { flex-shrink: 0; width: 44px; min-height: 44px; border: 0; border-radius: 6px; background: transparent; color: #596074; font-size: 25px; line-height: 1; cursor: pointer; }
.hk-onboarding-close:hover { background: #f0f2f7; }
.hk-onboarding-choices { display: grid; gap: 12px; margin: 24px 0 18px; }
.hk-onboarding-choices > button { position: relative; padding: 20px 20px 20px 72px; min-height: 130px; border: 1px solid #d8ddeb; border-radius: 10px; text-align: left; background: #fff; color: #252940; font: inherit; cursor: pointer; transition: border-color 120ms, background 120ms; }
.hk-onboarding-choices > button:first-child { background: #f5f7ff; border-color: #aebce9; }
.hk-onboarding-choices > button:hover { border-color: #4765c8; background: #f0f3ff; }
.hk-onboarding-choices strong { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 18px; line-height: 1.6; }
.hk-onboarding-choices strong > span { font-size: 20px; font-weight: 400; }
.hk-onboarding-choices > button > span:not(.hk-onboarding-choice-symbol) { display: block; margin-top: 5px; font-size: 14px; line-height: 1.75; color: #565e73; }
.hk-onboarding-choices small { display: block; margin-top: 9px; color: #64718f; font-size: 12px; line-height: 1.6; }
.hk-onboarding-choice-symbol { position: absolute; top: 22px; left: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #e8edfd; color: #3b54b9; font-size: 24px; }
.hk-onboarding-choice-symbol svg { width: 19px; height: 19px; }
.hk-onboarding-choice-foot, .hk-onboarding-coach-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
.hk-onboarding-choice-foot a, .hk-onboarding-coach-foot a { display: inline-flex; align-items: center; min-height: 44px; color: #425a9e; text-decoration: underline; text-underline-offset: 3px; }
.hk-onboarding-choice .hk-onboarding-small, .hk-onboarding-small { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: #656d80; }
.hk-onboarding-text-button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #566079; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 13px; cursor: pointer; }
.hk-onboarding-coach { position: fixed; z-index: 1050; top: var(--onboarding-top, 100px); left: var(--onboarding-left, 12px); width: min(360px, calc(100vw - 24px)); max-width: var(--onboarding-max-width, calc(100vw - 24px)); max-height: var(--onboarding-max-height, calc(100dvh - 24px)); box-sizing: border-box; padding: 12px 20px; border: 1px solid #c4cdea; border-top: 3px solid #4961c6; border-radius: 10px; background: #fff; color: #252b42; box-shadow: 0 12px 35px #17284b26; overflow-y: auto; font-family: inherit; }
.hk-onboarding-coach h2 { margin: 0 0 10px; font-size: 19px; font-weight: 750; line-height: 1.55; letter-spacing: -.015em; }
.hk-onboarding-coach h2:focus { outline: none; }
.hk-onboarding-coach > p { margin: 0 0 10px; font-size: 14px; line-height: 1.8; }
.hk-onboarding-coach > .hk-onboarding-small { font-size: 12px; line-height: 1.7; }
.hk-onboarding-progress { font-size: 12px; font-weight: 700; color: #465eb2; }
.hk-onboarding-coach .hk-onboarding-close { margin-right: -10px; }
.hk-onboarding-target-button { width: 100%; min-height: 44px; border: 1px solid #cbd5f1; border-radius: 6px; padding: 10px 12px; background: #f3f6ff; color: #304c9c; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.hk-onboarding-coach-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.hk-onboarding-coach-actions > .button { min-height: 44px; white-space: normal; max-width: 72%; text-align: center; }
.hk-onboarding-coach-foot { border-top: 1px solid #e5e9f2; margin-top: 8px; font-size: 12px; }
.hk-onboarding-more { margin: 0 0 10px; border-bottom: 1px solid #e5e9f2; }
.hk-onboarding-more summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: #49609f; font-size: 13px; cursor: pointer; list-style: none; }
.hk-onboarding-more summary::-webkit-details-marker { display: none; }
.hk-onboarding-more summary::after { content: '+'; font-size: 19px; }
.hk-onboarding-more[open] summary::after { content: '−'; }
.hk-onboarding-more p { margin: 0 0 14px; font-size: 13px; line-height: 1.8; color: #55617a; }
.hk-onboarding-anchor { outline: 3px solid #596bce !important; outline-offset: 5px; scroll-margin-block: 140px; }
.hk-onboarding-spotlight { pointer-events: none; position: fixed; z-index: 1040; top: var(--spotlight-top); left: var(--spotlight-left); width: var(--spotlight-width); height: var(--spotlight-height); border-radius: 6px; box-shadow: 0 0 0 9999px #18254a21; }
.hk-onboarding-coach[data-placement=inline] { position: relative; top: auto; left: auto; z-index: 1; width: 100%; max-width: 560px; max-height: none; margin-block: 20px; grid-column: 1 / -1; justify-self: start; box-shadow: none; overflow: visible; }
.hk-onboarding-save-status { position: relative; max-width: 100%; margin: 12px 0 0; padding: 12px 16px; border: 1px solid #d8c38d; border-radius: 8px; background: #fff9e9; color: #554319; font-size: 13px; line-height: 1.6; }
.hk-onboarding-resume { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; grid-column: 1 / -1; min-height: 44px; max-width: 100%; margin-block: 12px; padding: 10px 16px; border: 1px solid #acbce8; border-radius: 6px; background: #fff; color: #3c55a3; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.founding-invitation { background: #eeefff; color: #29246b; border-bottom: 1px solid #d9dbf3; }
.founding-invitation > .container { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 14px; }
.founding-invitation > .container > div { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; min-width: 0; }
.founding-invitation strong { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 14px; line-height: 1.6; }
.founding-invitation strong span { display: inline-block; padding: 2px 9px; border: 1px solid #c5c5e9; border-radius: 999px; background: #fff; color: #46369d; font-size: 12px; white-space: nowrap; }
.founding-invitation p { margin: 0; color: #57557b; font-size: 12px; line-height: 1.7; }
.founding-invitation a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; color: #4033a0; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.onboarding-home-reminder { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 2px 12px; padding-block: 6px; color: #646078; font-size: 12px; line-height: 1.7; }
.onboarding-home-reminder a { display: inline-flex; align-items: center; min-height: 44px; color: #46359a; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.founding-invitation a:focus-visible, .onboarding-home-reminder a:focus-visible { outline: 3px solid #302ca5; outline-offset: 4px; }
.usage-guide { padding-block: 40px 72px; max-width: 1040px; }
.usage-guide-header { max-width: 760px; margin-bottom: 28px; }
.usage-guide-header h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.35; margin: 12px 0 18px; }
.usage-guide-header > p { color: #5f5c6d; line-height: 1.9; }
.usage-guide-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 22px 32px; padding-bottom: 22px; border-bottom: 1px solid #e4e2ee; }
.usage-guide-nav a { display: block; padding: 10px 16px; border: 1px solid #dcd7ee; border-radius: 999px; background: #fff; color: #473586; font-size: 14px; font-weight: 700; }
.usage-guide-section { scroll-margin-top: 24px; display: grid; grid-template-columns: 215px 1fr; gap: 32px; padding-block: 32px; border-bottom: 1px solid #e4e2ee; }
.usage-guide-section > header h2 { margin: 8px 0 12px; font-size: 23px; line-height: 1.5; }
.usage-guide-section > header p { font-size: 14px; color: #625c72; line-height: 1.8; }
.usage-guide-number { font-size: 12px; color: #6b58ad; font-weight: 800; letter-spacing: .1em; }
.usage-guide-steps { display: grid; gap: 16px; padding-left: 23px; margin: 0; }
.usage-guide-steps li { padding-left: 8px; line-height: 1.85; }
.usage-guide-steps li::marker { color: #615096; font-weight: 700; }
.usage-guide-steps strong { display: block; font-size: 16px; }
.usage-guide-steps p { margin: 4px 0 0; color: #5f5a6d; font-size: 14px; }
.usage-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.usage-guide-note { margin: 20px 0 0; padding: 14px 17px; border-left: 3px solid #8472be; background: #f3f0fa; font-size: 13px; line-height: 1.85; color: #544767; }
.usage-guide-note a { color: #493987; text-decoration: underline; }
.usage-guide-fees { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.usage-guide-fees th, .usage-guide-fees td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #e0dbe9; line-height: 1.65; }
.usage-guide-fees th { background: #f5f2fa; }
.usage-guide-bottom { margin-top: 34px; }
@media (max-width: 620px) {
  .founding-invitation > .container { align-items: flex-start; flex-wrap: wrap; gap: 2px 12px; padding-block: 12px 8px; }
  .founding-invitation > .container > div { display: block; }
  .founding-invitation strong { font-size: 13px; }
  .founding-invitation p { margin-top: 6px; }
  .founding-invitation a { min-height: 44px; }
  .onboarding-home-reminder { justify-content: flex-start; column-gap: 8px; padding-block: 4px; }
  .hk-onboarding-choice { padding: 20px; width: calc(100vw - 24px); }
  .hk-onboarding-choices > button { padding: 16px 16px 16px 58px; }
  .hk-onboarding-choices strong { font-size: 17px; }
  .hk-onboarding-choice-symbol { left: 14px; }
  .hk-onboarding-coach { padding: 10px 16px; max-height: min(400px, var(--onboarding-max-height, calc(100dvh - 24px))); }
  .hk-onboarding-coach h2 { font-size: 18px; }
  .hk-onboarding-coach > p { font-size: 14px; line-height: 1.75; }
  .hk-onboarding-coach > .hk-onboarding-small { font-size: 12px; }
  .hk-onboarding-coach[data-placement=inline] { max-width: 100%; max-height: none; }
  .usage-guide { padding-block: 26px 48px; }
  .usage-guide-section { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .usage-guide-section > header h2 { margin-top: 4px; }
  .usage-guide-nav a { padding: 9px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .hk-onboarding *, .hk-onboarding-anchor, .usage-guide * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
