:root {
  color-scheme: light;
  --paper: #f5f3eb;
  --paper-deep: #ece9df;
  --white: #fffefa;
  --ink: #242a23;
  --muted: #777b70;
  --line: #deded2;
  --green: #365d46;
  --green-dark: #294a37;
  --green-pale: #e6eee5;
  --orange: #da805c;
  --shadow: 0 18px 54px rgb(41 50 38 / 7%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid #d58a69;
  outline-offset: 3px;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 6.2vw, 96px);
  border-bottom: 1px solid rgb(56 66 53 / 9%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.7px;
}
.brand-mark { display: flex; align-items: end; gap: 3px; height: 22px; }
.brand-mark i { display: block; width: 5px; border-radius: 3px 3px 1px 1px; background: var(--green); transform: skew(-14deg); }
.brand-mark i:nth-child(1) { height: 11px; opacity: .66; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 22px; background: var(--orange); }
.topbar-note { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; letter-spacing: .02em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #6c9976; box-shadow: 0 0 0 4px rgb(108 153 118 / 13%); }
.workspace {
  width: min(1190px, calc(100% - 48px));
  margin: 64px auto 48px;
  display: grid;
  grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(48px, 8vw, 126px);
}
.overview { padding: 22px 0 0; }
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.overview h1 {
  margin: 19px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 63px);
  font-weight: 400;
  letter-spacing: -2.9px;
  line-height: .99;
}
.overview h1 em { color: var(--green); font-weight: 400; }
.intro-copy { max-width: 365px; margin: 0; color: #696e64; font-size: 14px; line-height: 1.8; }
.date-note { display: flex; align-items: center; gap: 13px; margin-top: 38px; }
.date-icon { width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid #d8d8ca; border-radius: 50%; color: var(--orange); font-size: 18px; }
.date-label { margin: 0 0 3px; color: var(--muted); font-size: 11px; }
.date-value { margin: 0; font-size: 13px; font-weight: 650; letter-spacing: .01em; }
.progress-card { margin-top: 39px; padding: 20px 20px 19px; border: 1px solid #e0dfd4; border-radius: 9px; background: rgb(255 254 250 / 49%); }
.progress-topline { display: flex; align-items: center; justify-content: space-between; }
.progress-percent { color: var(--green); font-size: 15px; font-weight: 730; }
.progress-track { height: 7px; overflow: hidden; margin-top: 16px; border-radius: 99px; background: #e5e4da; }
.progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width 260ms ease; }
.progress-summary { margin: 13px 0 0; color: #5d6359; font-size: 12px; }
.progress-summary strong { color: var(--ink); }
.progress-footnote { min-height: 16px; margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.privacy-note { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: #828579; font-size: 11px; }
.privacy-note span { color: var(--green); font-size: 16px; }
.planner {
  min-height: 600px;
  padding: 33px clamp(24px, 4vw, 46px) 25px;
  border: 1px solid #ecebe3;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.planner-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #ecebe5; }
.planner-heading h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(29px, 3.3vw, 38px); font-weight: 400; letter-spacing: -1.3px; }
.heading-period { color: var(--orange); }
.list-count { flex: none; padding: 7px 10px; border-radius: 99px; background: var(--green-pale); color: var(--green-dark); font-size: 10px; font-weight: 700; }
.add-form { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 8px 8px 8px 13px; border: 1px solid #deded3; border-radius: 7px; background: #fff; transition: border-color 160ms ease, box-shadow 160ms ease; }
.add-form:focus-within { border-color: #849c87; box-shadow: 0 0 0 3px rgb(54 93 70 / 8%); }
.input-spark { color: var(--green); font-size: 23px; line-height: 1; }
.add-form input { width: 100%; min-width: 0; padding: 7px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.add-form input::placeholder { color: #a1a397; }
.add-button { display: inline-flex; align-items: center; gap: 9px; flex: none; padding: 11px 14px; border: 0; border-radius: 5px; background: var(--green); color: white; cursor: pointer; font-size: 11px; font-weight: 700; transition: background 150ms ease, transform 150ms ease; }
.add-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.add-button span:last-child { font-size: 13px; }
.form-hint { margin: 9px 0 30px; color: #929488; font-size: 10px; }
.list-heading-row { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #eeeee8; color: #888b80; font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.task-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.task-item { display: flex; align-items: center; gap: 14px; min-height: 68px; border-bottom: 1px solid #eeeee8; animation: arrive 190ms ease both; }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.task-check { appearance: none; flex: none; width: 19px; height: 19px; margin: 0; border: 1.5px solid #b9bdb0; border-radius: 50%; background: white; cursor: pointer; transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
.task-check:hover { border-color: var(--green); box-shadow: 0 0 0 4px rgb(54 93 70 / 9%); }
.task-check:checked { border-color: var(--green); background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3.5 8.3 3 3 6-6' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; background-size: 13px; }
.task-text { min-width: 0; flex: 1; overflow-wrap: anywhere; color: #363c34; font-size: 13px; line-height: 1.5; transition: color 150ms ease; }
.task-item.is-complete .task-text { color: #9a9d91; text-decoration: line-through; text-decoration-color: #aab4a8; }
.remove-button { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 0; border-radius: 5px; background: transparent; color: #a3a69a; cursor: pointer; font-size: 17px; opacity: .65; transition: color 140ms ease, background 140ms ease, opacity 140ms ease; }
.task-item:hover .remove-button, .remove-button:focus-visible { opacity: 1; }
.remove-button:hover { background: #f8eeea; color: #b7553c; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 50px 14px 42px; text-align: center; }
.empty-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green-pale); color: var(--green); font-size: 20px; }
.empty-state h3 { margin: 17px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 400; }
.empty-state p { margin: 0; color: #83877b; font-size: 12px; }
.live-message { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.planner-footer { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: #929589; font-family: Georgia, "Times New Roman", serif; font-size: 11px; font-style: italic; }
.footer-rule { width: 27px; height: 1px; background: #d6d8cb; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.noscript-note { margin: 20px; padding: 12px; border: 1px solid #d8a18c; color: #623b2d; }

@media (max-width: 800px) {
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 36px; width: min(620px, calc(100% - 38px)); margin-top: 42px; }
  .overview { padding-top: 0; }
  .overview h1 { font-size: clamp(42px, 8vw, 58px); }
  .intro-copy { max-width: 510px; }
  .date-note { margin-top: 24px; }
  .progress-card { margin-top: 24px; }
  .privacy-note { margin-top: 15px; }
  .planner { min-height: 480px; }
}
@media (max-width: 480px) {
  .topbar { height: 68px; padding: 0 19px; }
  .topbar-note { font-size: 10px; }
  .workspace { width: calc(100% - 30px); margin: 31px auto 28px; gap: 27px; }
  .overview h1 { margin-top: 14px; font-size: 44px; }
  .intro-copy { font-size: 13px; }
  .planner { min-height: 430px; padding: 24px 18px 21px; }
  .planner-heading { padding-bottom: 18px; }
  .add-form { gap: 8px; padding-left: 10px; }
  .add-form input { font-size: 12px; }
  .add-button { gap: 5px; padding: 10px 9px; font-size: 10px; }
  .form-hint { margin-bottom: 25px; }
  .task-item { min-height: 62px; gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
