:root {
  --ink: #101820;
  --paper: #f4f2ec;
  --cloud: #dce4e7;
  --line: #a8b2b6;
  --teal: #0b5558;
  --yellow: #f1c84b;
  --red: #b74a3a;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, "Microsoft YaHei", sans-serif; letter-spacing: 0; }
button, input, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar { position: fixed; z-index: 20; inset: 0 0 auto; height: 66px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.36); backdrop-filter: blur(8px); background: rgba(12,24,30,.34); }
.brand { color: inherit; text-decoration: none; font-size: 18px; font-weight: 800; }
.brand span { color: var(--yellow); }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: inherit; text-decoration: none; font-size: 13px; }
.icon-button { width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.55); color: inherit; background: transparent; cursor: pointer; font-size: 20px; }

.hero { position: relative; min-height: min(760px, 92vh); color: var(--white); overflow: hidden; display: flex; align-items: center; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(7,18,24,.46); }
.rain-layer { position: absolute; inset: 0; opacity: .12; background: rgba(210,230,236,.18); animation: rain 3s ease-in-out infinite alternate; pointer-events: none; }
@keyframes rain { from { opacity: .06; } to { opacity: .16; } }
.hero-content { position: relative; z-index: 2; width: min(860px, calc(100% - 40px)); margin: 30px auto 0; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; color: var(--red); text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow); }
h1 { max-width: 780px; margin: 0; font-size: clamp(44px, 7vw, 96px); line-height: 1.02; font-weight: 700; }
.hero-content > p:not(.eyebrow) { max-width: 620px; font-size: clamp(17px, 2vw, 23px); line-height: 1.6; }
.mode-control { display: inline-grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; border: 1px solid rgba(255,255,255,.58); }
.mode-control button { min-height: 46px; padding: 0 22px; color: var(--white); border: 0; border-right: 1px solid rgba(255,255,255,.45); background: transparent; cursor: pointer; }
.mode-control button:last-child { border-right: 0; }
.mode-control button.active { color: var(--ink); background: var(--yellow); }
.continue { position: absolute; z-index: 2; left: clamp(20px, 4vw, 64px); bottom: 24px; color: var(--white); text-decoration: none; font-size: 13px; }
.continue span { margin-left: 10px; color: var(--yellow); }

.workspace, .monthly { padding: 88px max(20px, calc((100vw - 1180px) / 2)); }
.section-heading { display: grid; grid-template-columns: 130px minmax(260px, 1fr) minmax(260px, .75fr); gap: 28px; align-items: end; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.section-heading .eyebrow { align-self: start; }
h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.08; }
.section-heading > p:last-child { margin: 0; color: #4e5b60; line-height: 1.65; }
.priority-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 38px; border: 1px solid var(--ink); }
.priority-item { min-height: 190px; padding: 24px; display: grid; grid-template-columns: 52px 1fr; gap: 16px; background: var(--white); }
.priority-item + .priority-item { border-left: 1px solid var(--ink); }
.priority-item > span { color: var(--red); font-weight: 800; }
textarea, input { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; outline: none; resize: vertical; }
textarea:focus, input:focus { border-color: var(--teal); }
.priority-item textarea { font-size: 22px; line-height: 1.5; }
.today-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; margin-top: 26px; }
.check-panel, .timer-panel { padding: 30px; border: 1px solid var(--line); background: var(--cloud); }
.panel-title h3, .timer-panel h3 { margin: 0 0 28px; font-size: 25px; }
.check-panel label { min-height: 48px; display: flex; gap: 14px; align-items: center; border-top: 1px solid rgba(16,24,32,.22); cursor: pointer; }
.check-panel input { width: 18px; height: 18px; accent-color: var(--teal); }
.timer-panel { color: var(--white); background: var(--teal); }
.timer-panel .eyebrow { color: var(--yellow); }
.timer { margin: 32px 0; font-variant-numeric: tabular-nums; font-size: clamp(52px, 7vw, 84px); line-height: 1; }
.timer-actions { display: flex; gap: 10px; }
.timer-actions button { min-height: 44px; padding: 0 20px; border: 1px solid var(--white); color: var(--teal); background: var(--white); cursor: pointer; }
.timer-actions .secondary { color: var(--white); background: transparent; }

.monthly { background: var(--white); }
.account-list { margin-top: 20px; }
.account-list label { display: grid; grid-template-columns: 58px 260px 1fr; gap: 20px; align-items: center; min-height: 118px; border-bottom: 1px solid var(--line); }
.account-number { color: var(--red); font-weight: 800; font-size: 24px; }
.account-copy { display: flex; flex-direction: column; gap: 7px; }
.account-copy strong { font-size: 21px; }
.account-copy small { color: #607077; line-height: 1.4; }
.account-list input { min-height: 48px; font-size: 17px; }

.closing { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 92px max(20px, calc((100vw - 1180px) / 2)); color: var(--white); background: var(--ink); }
blockquote { margin: 0; max-width: 560px; font-size: clamp(30px, 4vw, 52px); line-height: 1.25; }
.close-field label { display: block; margin-bottom: 22px; color: var(--yellow); font-weight: 700; }
.close-field textarea { color: var(--white); border-color: #617078; font-size: 18px; }
.close-field p { color: #aeb9bd; font-size: 12px; }
footer { min-height: 74px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--yellow); }

@media (max-width: 760px) {
  .topbar { height: 58px; }
  nav a { display: none; }
  .hero { min-height: 720px; }
  .hero-content { margin-top: 70px; }
  h1 { font-size: 48px; }
  .mode-control { width: 100%; }
  .mode-control button { padding: 0 8px; font-size: 13px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .priority-grid, .today-grid, .closing { grid-template-columns: 1fr; }
  .priority-item + .priority-item { border-left: 0; border-top: 1px solid var(--ink); }
  .account-list label { grid-template-columns: 44px 1fr; padding: 20px 0; }
  .account-list input { grid-column: 2; }
  .closing { gap: 48px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rain-layer { animation: none; }
}
