:root {
  --ink: #07131d;
  --panel: #0d1d29;
  --panel-2: #102635;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f4f8fa;
  --muted: #91a7b6;
  --cyan: #2fd9ff;
  --lime: #c7f43d;
  --orange: #ff8a3d;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button, input { font: inherit; }
button { color: inherit; }
.watermark {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 5%, rgba(47, 217, 255, .12), transparent 28rem),
    linear-gradient(135deg, transparent 65%, rgba(199, 244, 61, .035) 65% 66%, transparent 66%);
}
.topbar {
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .05em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--lime); color: var(--ink); border-radius: 10px 4px 10px 4px; font-family: "Archivo Black", sans-serif; }
.brand-dot { color: var(--cyan); }
.today-label { color: var(--muted); font-size: .875rem; text-transform: capitalize; }
.icon-button { justify-self: end; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; transition: .2s; }
.icon-button:hover { border-color: var(--cyan); color: var(--cyan); }
.icon-button svg, .card-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
main { max-width: 1280px; margin: 0 auto; padding: 52px 32px 80px; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.eyebrow { margin: 0 0 8px; color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .18em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-family: "Archivo Black", sans-serif; font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.focus { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.progress-ring { --progress: 0deg; flex: 0 0 auto; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--lime) var(--progress), rgba(255,255,255,.08) 0); position: relative; }
.progress-ring::before { content: ""; position: absolute; inset: 8px; border-radius: inherit; background: var(--ink); }
.progress-ring div { position: relative; text-align: center; }
.progress-ring strong { display: block; font-family: "Archivo Black", sans-serif; font-size: 1.8rem; }
.progress-ring span { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.day-tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 18px; }
.day-tab { border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 12px; padding: 13px 8px; cursor: pointer; color: var(--muted); font-weight: 700; transition: .2s; }
.day-tab:hover { border-color: rgba(47,217,255,.5); color: var(--text); }
.day-tab.active { color: var(--ink); border-color: var(--cyan); background: var(--cyan); }
.dashboard { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .8fr); gap: 18px; align-items: start; }
.schedule-panel, .content-card, .weekly-goal, blockquote, .week-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); }
.schedule-panel { border-radius: var(--radius); padding: 28px; min-height: 510px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: 1.45rem; }
.task-count { padding: 7px 11px; border-radius: 999px; background: rgba(199,244,61,.12); color: var(--lime); font-size: .8rem; font-weight: 700; }
.timeline { display: flex; flex-direction: column; }
.task { position: relative; display: grid; grid-template-columns: 68px 22px 1fr auto; gap: 14px; align-items: center; min-height: 68px; }
.task:not(:last-child)::after { content: ""; position: absolute; left: 92px; top: 46px; bottom: -22px; width: 1px; background: var(--line); }
.task-time { color: var(--muted); font-size: .85rem; font-weight: 700; }
.task-marker { position: relative; z-index: 1; width: 14px; height: 14px; justify-self: center; border: 3px solid var(--panel); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.task-copy { padding: 13px 0; }
.task-copy strong { display: block; font-size: 1rem; }
.task-copy small { display: block; color: var(--muted); margin-top: 3px; font-size: .8rem; }
.task-check { appearance: none; width: 24px; height: 24px; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; cursor: pointer; display: grid; place-items: center; }
.task-check:checked { background: var(--lime); border-color: var(--lime); }
.task-check:checked::after { content: "✓"; color: var(--ink); font-weight: 900; font-size: .9rem; }
.task.done .task-copy { opacity: .48; }
.task.done .task-copy strong { text-decoration: line-through; }
.side-panel { display: grid; gap: 18px; }
.content-card, .weekly-goal { border-radius: var(--radius); padding: 24px; }
.card-icon { float: right; display: grid; place-items: center; width: 42px; height: 42px; color: var(--cyan); border: 1px solid rgba(47,217,255,.25); background: rgba(47,217,255,.08); border-radius: 12px; }
.content-card h3, .weekly-goal h3 { font-size: 1.35rem; margin-bottom: 18px; }
.counter { display: flex; align-items: baseline; gap: 8px; }
.counter strong { font-family: "Archivo Black", sans-serif; font-size: 3.5rem; line-height: 1; }
.counter span { color: var(--muted); font-size: 1.25rem; }
.counter button { border: 1px solid var(--line); background: transparent; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 1.35rem; }
.counter button:first-child { margin-left: auto; }
.counter button:hover { border-color: var(--lime); color: var(--lime); }
.mini-progress { height: 6px; background: rgba(255,255,255,.08); border-radius: 9px; overflow: hidden; margin: 18px 0 12px; }
.mini-progress span { display: block; width: 0; height: 100%; background: var(--lime); transition: width .3s; }
.card-note { color: var(--muted); margin: 0; font-size: .85rem; line-height: 1.5; }
.weekly-goal ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.weekly-goal li { display: flex; align-items: center; gap: 12px; }
.weekly-goal li span { color: var(--lime); font-family: "Archivo Black", sans-serif; font-size: 1.1rem; }
blockquote { margin: 0; padding: 22px; border-radius: var(--radius); color: var(--muted); font-size: .95rem; font-style: italic; }
.week-section { margin-top: 58px; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.week-card { min-height: 172px; border-radius: 16px; padding: 16px; cursor: pointer; transition: transform .2s, border-color .2s; }
.week-card:hover { transform: translateY(-3px); border-color: rgba(47,217,255,.4); }
.week-card.active { border-color: var(--cyan); box-shadow: inset 0 3px 0 var(--cyan); }
.week-card.rest { background: linear-gradient(145deg, rgba(199,244,61,.09), rgba(255,255,255,.018)); }
.week-day { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 18px; }
.week-card strong { display: block; font-size: .9rem; line-height: 1.35; margin-bottom: 8px; }
.week-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 12px 18px; background: var(--text); color: var(--ink); border-radius: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .topbar { grid-template-columns: 1fr auto; padding: 0 20px; }
  .today-label { display: none; }
  main { padding: 36px 20px 64px; }
  .dashboard { grid-template-columns: 1fr; }
  .side-panel { grid-template-columns: 1fr 1fr; }
  blockquote { grid-column: 1 / -1; }
  .week-grid { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .week-card { flex: 0 0 170px; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .topbar { height: 66px; }
  .brand { font-size: .82rem; }
  .intro { align-items: flex-end; margin-bottom: 28px; }
  h1 { font-size: 2.35rem; }
  .focus { font-size: .9rem; max-width: 220px; }
  .progress-ring { width: 82px; height: 82px; }
  .progress-ring::before { inset: 6px; }
  .progress-ring strong { font-size: 1.25rem; }
  .progress-ring span { font-size: .48rem; }
  .day-tabs { display: flex; overflow-x: auto; margin-right: -20px; padding-right: 20px; }
  .day-tab { flex: 0 0 54px; }
  .schedule-panel { padding: 21px 17px; min-height: 0; }
  .task { grid-template-columns: 50px 18px 1fr auto; gap: 10px; }
  .task:not(:last-child)::after { left: 68px; }
  .task-copy strong { font-size: .93rem; }
  .task-copy small { font-size: .75rem; }
  .side-panel { grid-template-columns: 1fr; }
  blockquote { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
