:root {
  --paper: #f8f6f0;
  --white: #fffefa;
  --ink: #273d34;
  --muted: #5d685e;
  --green: #355f46;
  --green-dark: #254a34;
  --sage: #e8eddf;
  --line: #dadfd3;
  --orange: #bd6038;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 17px; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
a { color: var(--green-dark); text-underline-offset: 4px; }
a:hover { color: #944727; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: not-allowed; }
:focus-visible, #feedback:focus { outline: 3px solid #a4512d; outline-offset: 4px; }
h1:focus { outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 28px; }
h2 { font-size: 1.55rem; margin-bottom: 14px; }
h3 { font-size: 1rem; margin-bottom: 6px; }
p { margin-bottom: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 10; left: 20px; top: -100px; padding: 12px 20px; background: var(--white); border: 2px solid var(--green); }
.skip-link:focus { top: 10px; }
.site-header, .site-footer { width: min(100% - 48px, 960px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { padding-block: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 2rem; font-weight: 650; letter-spacing: -.07em; line-height: 1; color: var(--ink); }
.brand-dot { color: var(--orange); }
.brand-mark { width: 28px; height: 29px; display: block; border-bottom: 3px solid var(--orange); overflow: hidden; }
.brand-mark span { display: block; background: var(--orange); border-radius: 25px 25px 0 0; height: 16px; width: 26px; margin-top: 6px; }
#main-nav, .site-footer nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
#main-nav a, .site-footer a { padding-block: 12px; font-size: .9rem; text-decoration: none; }
#main-nav a[aria-current], .site-footer a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
#main { flex: 1; width: 100%; padding: 30px 24px 56px; }
.task-card, .loading-panel { width: 100%; max-width: 620px; margin: 0 auto; padding: 38px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.task-card > :last-child { margin-bottom: 0; }
.auth-card { max-width: 480px; }
.landing { text-align: center; padding-block: 60px; background: linear-gradient(155deg, var(--white) 65%, #f3eddb); }
.landing h1 { font-size: clamp(2.8rem, 7vw, 4rem); max-width: 440px; margin-inline: auto; }
.lead { color: var(--muted); font-size: 1.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 24px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: 1rem; line-height: 1.4; font-weight: 600; text-align: center; }
.button.primary { background: var(--green); color: white; }
.button.primary:hover:not(:disabled) { background: var(--green-dark); }
.button.secondary { background: transparent; border-color: #aebca9; color: var(--green-dark); }
.button.secondary:hover:not(:disabled) { background: var(--sage); }
.button.small { min-height: 44px; padding: 9px 16px; font-size: .9rem; }
form > .button, .landing > .button { width: 100%; }
.landing > .button { max-width: 300px; }
.field-hint { color: var(--muted); font-size: .88rem; line-height: 1.5; margin-block: 16px 22px; }
.eyebrow { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
label, legend { display: block; font-weight: 600; margin-bottom: 8px; }
input:not([type=checkbox]):not([type=radio]), select { width: 100%; min-height: 54px; border: 1px solid #aebca9; border-radius: 8px; background: white; color: var(--ink); padding: 12px; margin-bottom: 22px; }
input[aria-describedby=password-hint] { margin-bottom: 0; }
fieldset { padding: 0; margin: 0 0 24px; border: 0; min-width: 0; }
.device-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.device-choice { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px; border: 1px solid #aebca9; border-radius: 9px; margin: 0; font-weight: 400; cursor: pointer; }
.device-choice:has(input:checked) { background: var(--sage); border-color: var(--green); }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--green); }
.check-label { display: flex; align-items: flex-start; gap: 12px; padding-block: 8px; margin-bottom: 16px; font-size: .9rem; font-weight: 400; cursor: pointer; }
.check-label input { margin-top: 2px; }
.auth-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; font-size: .88rem; }
.auth-links a { padding-block: 5px; }
.action-row { display: flex; gap: 12px; flex-wrap: wrap; }
.divider { border-top: 1px solid var(--line); margin: 26px 0; }
.notice { padding: 14px 16px; border-radius: 9px; background: var(--sage); font-size: .95rem; }
.feedback { width: min(100% - 48px, 620px); margin: 16px auto 0; padding: 18px; border: 1px solid #ba704f; border-radius: 9px; background: #fff0e6; }
.feedback .action-row { margin-top: 12px; }
.activity-facts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0; border-block: 1px solid var(--line); }
.activity-facts strong { display: block; font-size: 1.2rem; }
.balances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.balances dt { color: var(--muted); font-size: .9rem; }
.balances dd { font-size: clamp(1.15rem, 4vw, 1.65rem); font-weight: 600; margin: 4px 0 0; overflow-wrap: anywhere; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; }
.history-list { list-style: none; margin: 0; padding: 0; }
.history-list li { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.history-list p { color: var(--muted); font-size: .85rem; margin: 0; }
.history-result { display: flex; flex-direction: column; text-align: right; font-size: .85rem; }
.account-details { margin: 0 0 28px; }
.account-details > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.account-details dt { color: var(--muted); }
.account-details dd { margin: 0; overflow-wrap: anywhere; }
.steps { padding-left: 24px; }
.steps li { padding: 0 0 18px 8px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { padding: 18px 0; cursor: pointer; font-weight: 600; }
.faq-list p { color: var(--muted); font-size: .95rem; }
.task-card > details { margin-top: 24px; border-top: 1px solid var(--line); }
.task-card > details > summary { padding: 18px 0; cursor: pointer; font-weight: 600; }
.notice > :last-child { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 18px; }
.footer-brand { font-weight: 650; letter-spacing: -.04em; }
.nojs { padding: 20px; text-align: center; }
@media (max-width: 540px) {
  .site-header, .site-footer { width: calc(100% - 32px); gap: 12px; }
  .site-header { flex-wrap: wrap; padding-block: 20px; }
  #main-nav { gap: 16px; }
  #main { padding: 20px 16px 36px; }
  .task-card, .loading-panel { padding: 26px 22px; }
  .landing { padding-block: 42px; }
  .device-options { gap: 8px; }
  .device-choice { padding: 10px; font-size: .9rem; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .site-footer nav { gap: 16px; }
  .history-list li { flex-direction: column; gap: 8px; }
  .history-result { text-align: left; }
  .action-row > .button { flex: 1 1 auto; }
}
