:root {
  --ink: #102b45; --ink-2: #194462; --paper: #f7f6f1; --teal: #1d9a8a; --teal-dark: #08786d; --coral: #e7654f; --coral-dark: #b54535;
  --gold: #e7b54b; --slate: #5a6772; --line: #d6e0df; --white: #fff; --done-bg: #e7f7f3; --next-bg: #fff4ec;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body { color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: none; }

.t-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(16px, 4vw, 48px); background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.t-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.t-brand b { display: block; font-size: 15px; line-height: 1.2; }
.t-brand small { display: block; color: var(--slate); font-size: 13px; line-height: 1.2; }
.t-mark { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .04em; }

.t-more { position: relative; flex: 0 0 auto; }
.t-more summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 700; cursor: pointer; }
.t-more summary::-webkit-details-marker { display: none; }
.t-more-panel { position: absolute; right: 0; top: calc(100% + 6px); width: min(300px, calc(100vw - 32px)); padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgba(16,43,69,.16); }
.t-more-panel a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.t-more-panel a:hover { background: var(--paper); }
.t-more-h { margin: 8px 12px 2px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }

main { display: block; max-width: 880px; margin: 0 auto; padding: 0 16px 40px; }
main:focus { outline: none; }
.t-warn { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff4d6; border: 1px solid #ecd28a; }
.t-hero { margin: 24px 0 8px; padding: clamp(20px, 4vw, 36px); border-radius: 18px; background: var(--ink); color: #fff; }
.t-kicker { margin: 0 0 10px; font-size: 14px; color: #bfe6df; font-weight: 600; }
.t-hero h1 { margin: 0 0 10px; font-size: clamp(26px, 5vw, 40px); line-height: 1.12; }
.t-lede { margin: 0 0 22px; font-size: 18px; max-width: 60ch; color: #e6eef3; }
.t-go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; max-width: 100%; padding: 14px 26px; border-radius: 14px; background: var(--coral); color: #fff; font-size: 20px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.t-go:hover { background: #d9553f; }
.t-go:focus-visible { outline-color: #fff; }
.t-progress { margin: 14px 0 0; color: #d7e4ec; font-size: 15px; }

.t-day h2 { margin: 30px 0 6px; font-size: 24px; }
.t-note { margin: 0 0 18px; padding: 12px 14px; border-left: 4px solid var(--teal); background: var(--white); border-radius: 0 10px 10px 0; }
.t-blocks, .t-items { list-style: none; margin: 0; padding: 0; }
.t-block { margin: 0 0 14px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.t-bhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.t-bhead time { font-weight: 800; color: var(--teal-dark); font-variant-numeric: tabular-nums; min-width: 8.5em; }
.t-bhead h3 { margin: 0; font-size: 19px; }
.t-bcount { margin-left: auto; font-size: 14px; color: var(--slate); }
.t-bnote { margin: 4px 0 10px; color: var(--slate); font-size: 15px; }
.t-break { background: transparent; border-style: dashed; padding: 10px 14px; }
.t-break h3 { font-size: 16px; color: var(--slate); }
.t-items li + li { margin-top: 8px; }
.t-item { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--white); }
.t-item:hover { border-color: var(--teal); }
.t-item.is-done { background: var(--done-bg); }
.t-item.is-next-row { border: 2px solid var(--coral); background: var(--next-bg); }
.t-check { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #9fb0b6; font-weight: 800; font-size: 14px; color: #fff; }
.is-done .t-check { background: var(--teal-dark); border-color: var(--teal-dark); }
.is-next-row .t-check { border-color: var(--coral); }
.t-ibody { flex: 1 1 auto; min-width: 0; }
.t-ibody b { display: block; font-size: 16px; line-height: 1.3; }
.t-ibody small { display: block; margin-top: 2px; color: var(--slate); font-size: 14px; line-height: 1.35; }
.t-tag { display: block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); }
.t-imeta { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.t-mins { font-size: 13px; color: var(--slate); white-space: nowrap; }
.t-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.t-pill.is-done { background: var(--teal-dark); color: #fff; }
.t-pill.is-next { background: var(--coral-dark); color: #fff; }
.t-pill.is-started { background: #fff1c9; color: #6b4b00; }
.t-pill.is-todo { background: #eef1f2; color: #4c5962; }

.t-foot { max-width: 880px; margin: 0 auto; padding: 18px 16px 40px; border-top: 1px solid var(--line); color: var(--slate); font-size: 14px; }
.t-foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-bottom: 8px; }
.t-foot-links a { font-weight: 700; color: var(--ink); }
.t-reset { min-height: 40px; padding: 6px 12px; border: 1px solid #e3b4aa; border-radius: 8px; background: #fff; color: var(--coral-dark); font-weight: 700; }
.t-foot p { margin: 6px 0; }

@media (max-width: 520px) {
  .t-brand small { display: none; }
  .t-go { width: 100%; font-size: 18px; padding: 14px 16px; }
  .t-bcount { margin-left: 0; width: 100%; }
  .t-item { align-items: flex-start; }
}

.t-more-reset { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-weight: 700; color: #b54535; cursor: pointer; }
.t-more-reset:hover, .t-more-reset:focus-visible { background: var(--paper); }

/* Menu: icon on the button, one-line hint under each item */
.menu-icon { font-size: 18px; line-height: 1; }
.t-more-panel a small, .t-more-reset small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--slate); line-height: 1.3; }
.t-more-panel { width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow: auto; }

/* About page */
.about-main { max-width: 980px; margin: 0 auto; padding: 24px 16px 48px; }
.about-hero { padding: 26px 24px; border-radius: 18px; background: var(--ink); color: var(--white); margin-bottom: 18px; }
.about-hero .eyebrow { color: #8fd4ff; margin: 0 0 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.about-hero h1 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); }
.about-lede { margin: 0; font-size: 17px; max-width: 64ch; color: #d5e6ee; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-card { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.about-card h2 { margin: 0 0 8px; font-size: 19px; }
.about-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.about-card p { margin: 0 0 8px; }
.about-contact { grid-column: 1 / -1; border: 2px solid var(--teal); background: var(--mist); }
.about-reach { font-size: 17px; }
.about-copy { margin: 18px 0 8px; font-size: 13px; color: var(--slate); }
.about-back { margin: 0; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
