:root { color-scheme: light; font-family: system-ui, -apple-system, Segoe UI, sans-serif; color: #182740; background: #f5f8fc; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: #112b50; color: #fff; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.brand span { color: #71d7c9; }
nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: .94rem; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus-visible, .back-link:hover, .back-link:focus-visible { text-decoration: underline; }
main { flex: 1; }
.hero { padding: 78px 0 52px; max-width: 760px; }
.hero-small { padding-bottom: 110px; }
.eyebrow { color: #087c75; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-size: clamp(2.7rem, 7vw, 5rem); line-height: 1.05; letter-spacing: -.05em; margin: 14px 0 20px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.035em; margin: 10px 0 26px; }
h3 { font-size: 1.3rem; margin: 18px 0 10px; }
p { line-height: 1.6; }
.hero > p:first-of-type { font-size: 1.25rem; color: #3f536b; }
.notice { padding: 16px 20px; border-left: 4px solid #0b9e91; background: #e8f5f3; border-radius: 0 10px 10px 0; font-size: .94rem; }
.section-block { padding-bottom: 96px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.section-card { display: block; min-height: 215px; padding: 24px; background: white; border: 1px solid #dbe5ef; border-radius: 18px; box-shadow: 0 7px 22px rgba(17,43,80,.04); text-decoration: none; }
.section-card:hover, .section-card:focus-visible { border-color: #0b9e91; box-shadow: 0 10px 28px rgba(17,43,80,.12); }
.section-card p { color: #53667c; margin-bottom: 20px; }
.card-status { display: inline-block; color: #066b62; background: #e8f5f3; border-radius: 30px; padding: 6px 10px; font-size: .75rem; font-weight: 700; }
.card-link, .back-link { color: #087c75; font-weight: 700; }
.site-footer { background: #e8eef5; color: #50627a; font-size: .86rem; padding: 24px 0; }
@media (max-width: 570px) { .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; gap: 12px; } nav { gap: 14px; } .hero { padding-top: 48px; } }
.form-page, .account-page { max-width: 780px; padding: 54px 0 100px; }
.form-page h1, .account-page h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
.demo-form { display: grid; gap: 12px; max-width: 520px; margin: 28px 0; }
.demo-form label { display: grid; gap: 6px; font-weight: 700; }
.demo-form input, .demo-form textarea, .demo-form select { width: 100%; padding: 12px 14px; border: 1px solid #9aacc0; border-radius: 9px; font: inherit; background: #fff; }
.demo-form textarea { resize: vertical; }
.demo-form button:disabled { opacity: .55; cursor: not-allowed; }
.demo-form button, .actions a { display: inline-block; background: #0b706a; color: #fff; padding: 13px 18px; border: 0; border-radius: 9px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.demo-form button:hover, .actions a:hover { background: #075a55; }
.form-error, .field-error { color: #9e1c29; }
.form-error { padding: 12px 14px; background: #ffeded; border-radius: 8px; }
.form-success { padding: 12px 14px; background: #e1f6ec; border-radius: 8px; }
.balance-card { display: grid; gap: 8px; background: #112b50; color: #fff; border-radius: 18px; padding: 26px; margin: 28px 0; }
.balance-card strong { font-size: 2.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.entry-list { list-style: none; padding: 0; border: 1px solid #dbe5ef; border-radius: 12px; background: #fff; }
.entry-list li { display: flex; justify-content: space-between; gap: 18px; padding: 16px; border-bottom: 1px solid #e4eaf0; }
.entry-list li:last-child { border-bottom: 0; }
.entry-list small { display: block; color: #67798c; margin-top: 4px; }
.entry-list strong { white-space: nowrap; }
.entry-list .credit { color: #087c75; }
.entry-list .debit { color: #9e1c29; }
.text-button { border: 0; background: none; padding: 0; color: #087c75; text-decoration: underline; cursor: pointer; font: inherit; }
.account-page form button { background: #0b706a; color: #fff; border: 0; border-radius: 9px; padding: 12px 17px; font: inherit; font-weight: 700; cursor: pointer; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; background: #fff; }
.table-wrap th, .table-wrap td { padding: 12px; text-align: left; border-bottom: 1px solid #dbe5ef; }
.table-wrap th { color: #112b50; }
