:root {
  --dop-primary: #dd4b95;
  --dop-secondary: #f379b6;
  --dop-primary-dark: #a8316f;
  --dop-primary-soft: rgba(221,75,149,0.16);
  --dop-purple: #8d67fb;
  --dop-bg: #0f1117;
  --dop-bg-2: #161922;
  --dop-bg-3: #1d2130;
  --dop-card: #181c28;
  --dop-card-2: #1f2333;
  --dop-overlay: rgba(23,25,37,0.85);
  --dop-text: #f5eef3;
  --dop-text-muted: #8a8597;
  --dop-text-on-pink: #ffffff;
  --dop-border: rgba(221,75,149,0.18);
  --dop-border-soft: rgba(255,255,255,0.06);
  --dop-border-strong: rgba(255,255,255,0.12);
  --dop-success: #6ad36b;
  --dop-warning: #ffcf5c;
  --dop-energy-low: #6ad36b;
  --dop-energy-mid: #ffcf5c;
  --dop-energy-high: #ef5aa5;
  --dop-shadow-pink: 0 14px 28px rgba(221,75,149,0.24);
  --dop-shadow-pink-lg: 0 16px 34px rgba(221,75,149,0.30);
  --dop-shadow-card: 0 12px 28px rgba(0,0,0,0.28);
  --dop-radius-xs: 8px;
  --dop-radius-sm: 12px;
  --dop-radius-md: 14px;
  --dop-radius-lg: 18px;
  --dop-radius-xl: 22px;
  --dop-radius-2xl: 30px;
  --dop-radius-pill: 999px;
  --dop-font-display: 'Nunito', system-ui, sans-serif;
  --dop-font-body: 'DM Sans', system-ui, sans-serif;
  --dop-dur-fast: .15s;
  --dop-dur: .25s;
  --dop-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dop-tracking-tight: -0.02em;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--dop-font-body);
  background: var(--dop-bg);
  color: var(--dop-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, h4 { font-family: var(--dop-font-display); letter-spacing: var(--dop-tracking-tight); }
::selection { background: rgba(221,75,149,0.32); color: #fff; }

/* ─── Nav ─── */
nav.bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--dop-overlay);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dop-border-soft);
}
nav.bar .inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(221,75,149,0.45)); transition: transform var(--dop-dur); }
.brand .brand-title { width: 100px; height: auto; filter: none; }
.brand:hover img:first-child { transform: rotate(-6deg) scale(1.05); }
.navlinks { display: flex; gap: 30px; list-style: none; }
.navlinks a { color: var(--dop-text-muted); font-size: 14px; font-weight: 500; transition: color var(--dop-dur); }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--dop-text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.btn-nav {
  background: var(--dop-primary); color: var(--dop-text-on-pink);
  padding: 11px 18px; border-radius: var(--dop-radius-sm);
  font-family: var(--dop-font-display); font-size: 14px; font-weight: 800;
  box-shadow: var(--dop-shadow-pink); border: none; cursor: pointer;
  transition: box-shadow var(--dop-dur), transform var(--dop-dur);
}
.btn-nav:hover { box-shadow: var(--dop-shadow-pink-lg); transform: translateY(-1px); }

/* ─── Layout ─── */
.wrap, .section-inner { max-width: 1180px; margin-left: auto; margin-right: auto; }
section { background: var(--dop-bg); padding: 80px 60px; }
section.bg2 { background: var(--dop-bg-2); }

/* ─── Hero ─── */
.hero { padding-top: 88px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 28px; align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.08; margin-bottom: 18px; font-weight: 900;
}
.hero h1 span, h2 span { color: var(--dop-primary); }
.hero p { font-size: 18px; color: var(--dop-text-muted); margin-bottom: 26px; max-width: 66ch; line-height: 1.7; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--dop-font-display); font-weight: 800;
  border: none; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background var(--dop-dur), box-shadow var(--dop-dur), transform var(--dop-dur), border-color var(--dop-dur);
  border-radius: var(--dop-radius-md);
}
.btn-primary {
  background: var(--dop-primary); color: var(--dop-text-on-pink);
  padding: 14px 24px; font-size: 16px;
  box-shadow: var(--dop-shadow-pink);
}
.btn-primary:hover { box-shadow: var(--dop-shadow-pink-lg); transform: translateY(-1px); }
.btn-secondary {
  background: var(--dop-card-2); color: var(--dop-text);
  border: 1px solid var(--dop-border-strong);
  padding: 13px 22px; font-size: 15px;
}
.btn-secondary:hover { border-color: rgba(221,75,149,0.55); background: rgba(221,75,149,0.10); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--dop-text-muted);
  border: 1px solid var(--dop-border-strong);
  padding: 8px 14px; font-size: 13px; min-height: 36px;
  border-radius: var(--dop-radius-sm);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--dop-text); transform: translateY(-1px); }

/* ─── Card ─── */
.card {
  background: var(--dop-card); border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-xl); padding: 28px;
}
.card-title { font-family: var(--dop-font-display); font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.card-body { color: var(--dop-text-muted); font-size: 15px; line-height: 1.7; }

/* ─── Section headers ─── */
.section-header { max-width: 760px; margin-bottom: 40px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 14px; }
.section-desc { font-size: 17px; color: var(--dop-text-muted); line-height: 1.7; }

/* ─── Tool wrap ─── */
#tool { padding-bottom: 40px; }
.tool-wrap {
  background: var(--dop-card);
  border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-xl);
  padding: 36px;
  max-width: 860px;
  margin: 0 auto;
}

/* Form */
.tool-form-title {
  font-size: 22px; font-weight: 900; margin-bottom: 28px;
}
.form-group { margin-bottom: 26px; }
.form-group > label {
  display: block; margin-bottom: 10px;
  font-family: var(--dop-font-display); font-weight: 800; font-size: 15px;
}
.label-hint { color: var(--dop-text-muted); font-weight: 500; font-size: 13px; }

.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-btn {
  padding: 8px 16px; border-radius: var(--dop-radius-pill);
  border: 1px solid var(--dop-border-strong);
  background: rgba(255,255,255,0.04); color: var(--dop-text-muted);
  font-family: var(--dop-font-body); font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background var(--dop-dur), border-color var(--dop-dur), color var(--dop-dur);
}
.pill-btn[aria-pressed="true"] {
  background: var(--dop-primary-soft);
  border-color: rgba(221,75,149,0.55);
  color: var(--dop-text);
}
.pill-btn.energy-low[aria-pressed="true"]    { background: rgba(106,211,107,0.15); border-color: rgba(106,211,107,0.6); }
.pill-btn.energy-medium[aria-pressed="true"] { background: rgba(255,207,92,0.15);  border-color: rgba(255,207,92,0.6); }
.pill-btn.energy-high[aria-pressed="true"]   { background: rgba(239,90,165,0.15);  border-color: rgba(239,90,165,0.6); }

.btn-generate {
  width: 100%; justify-content: center;
  font-size: 16px; padding: 16px 24px; margin-top: 8px;
}

/* Output section */
.tool-output.hidden { display: none; }

.output-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
}
.output-tabs { display: flex; gap: 8px; }
.output-tab {
  padding: 8px 16px; border-radius: var(--dop-radius-sm);
  border: 1px solid var(--dop-border-strong);
  background: rgba(255,255,255,0.04); color: var(--dop-text-muted);
  font-family: var(--dop-font-display); font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: background var(--dop-dur), border-color var(--dop-dur), color var(--dop-dur);
}
.output-tab.active {
  background: var(--dop-primary-soft);
  border-color: rgba(221,75,149,0.55);
  color: var(--dop-text);
}
.output-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.no-guilt-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(141,103,251,0.1);
  border: 1px solid rgba(141,103,251,0.22);
  border-radius: var(--dop-radius-md);
  padding: 12px 16px; margin-bottom: 20px;
  font-size: 14px; color: var(--dop-text-muted); line-height: 1.6;
}

.tab-panel.hidden { display: none; }

/* Task cards */
.task-card {
  background: var(--dop-card-2);
  border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-md);
  overflow: hidden; margin-bottom: 10px;
  transition: border-color var(--dop-dur);
}
.task-card.task-done .task-text { text-decoration: line-through; color: var(--dop-text-muted); }
.task-card.task-done { opacity: 0.55; }

.task-main { padding: 16px 18px; }
.task-room-tag {
  display: inline-block; padding: 3px 10px;
  border-radius: var(--dop-radius-pill);
  background: var(--dop-primary-soft);
  border: 1px solid var(--dop-border);
  color: var(--dop-secondary);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.task-text { font-size: 15px; font-weight: 600; color: var(--dop-text); margin-bottom: 8px; line-height: 1.4; }
.task-meta { margin-bottom: 12px; }
.task-time-badge { font-size: 13px; color: var(--dop-text-muted); }
.task-btns { display: flex; gap: 8px; }

.btn-cant-start {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--dop-border-strong);
  color: var(--dop-text-muted);
  border-radius: var(--dop-radius-sm);
  padding: 6px 12px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--dop-font-body);
  transition: background var(--dop-dur), color var(--dop-dur), border-color var(--dop-dur);
}
.btn-cant-start.active, .btn-cant-start:hover {
  background: rgba(141,103,251,0.15);
  border-color: rgba(141,103,251,0.4);
  color: var(--dop-text);
}
.btn-done {
  background: rgba(106,211,107,0.1);
  border: 1px solid rgba(106,211,107,0.28);
  color: var(--dop-success);
  border-radius: var(--dop-radius-sm);
  padding: 6px 12px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: var(--dop-font-body);
  transition: background var(--dop-dur);
}
.btn-done:hover { background: rgba(106,211,107,0.2); }

/* Micro-action panel */
.task-micro { display: none; background: rgba(141,103,251,0.07); border-top: 1px solid rgba(141,103,251,0.18); padding: 14px 18px; }
.task-micro.open { display: block; }
.micro-header { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--dop-purple); margin-bottom: 6px; }
.micro-text { font-size: 15px; font-weight: 600; color: var(--dop-text); margin-bottom: 5px; line-height: 1.5; }
.micro-time { font-size: 12px; color: var(--dop-text-muted); }

/* Overwhelmed banner */
.overwhelmed-banner {
  background: rgba(255,207,92,0.08);
  border: 1px solid rgba(255,207,92,0.28);
  border-radius: var(--dop-radius-md);
  padding: 12px 16px; margin-bottom: 14px;
  font-size: 14px; color: var(--dop-warning); line-height: 1.6;
}

/* Week view */
.week-day { margin-bottom: 12px; border: 1px solid var(--dop-border-soft); border-radius: var(--dop-radius-lg); overflow: hidden; }
.week-day-header {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: var(--dop-card); border-bottom: 1px solid var(--dop-border-soft);
}
.week-day.is-catchup .week-day-header { background: rgba(255,207,92,0.06); }
.week-day.is-prep .week-day-header    { background: rgba(141,103,251,0.07); }
.week-day-name { font-family: var(--dop-font-display); font-weight: 800; font-size: 15px; }
.week-day-badge {
  padding: 2px 8px; border-radius: var(--dop-radius-pill);
  font-size: 11px; font-weight: 700;
  background: var(--dop-primary-soft); color: var(--dop-secondary);
  border: 1px solid var(--dop-border);
}
.week-day-tasks { padding: 10px; background: var(--dop-card-2); }
.week-day-tasks .task-card { margin-bottom: 8px; }
.week-day-tasks .task-card:last-child { margin-bottom: 0; }
.empty-day { color: var(--dop-text-muted); font-size: 14px; padding: 8px 6px; }

/* ─── Article sections ─── */
.article-section { max-width: 860px; margin: 0 auto; }
.article-section h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 900; margin: 0 0 16px; }
.article-section h3 { font-size: 20px; font-weight: 800; margin: 26px 0 10px; }
.article-section p { color: var(--dop-text-muted); line-height: 1.75; font-size: 16px; margin-bottom: 14px; }
.article-section ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; padding-left: 0; }
.article-section li { position: relative; padding-left: 18px; color: var(--dop-text-muted); line-height: 1.7; font-size: 15px; }
.article-section li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--dop-secondary); }
.article-section strong { color: var(--dop-text); font-weight: 700; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card {
  background: var(--dop-card-2); border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-lg); padding: 22px;
}
.info-card h3 { font-size: 16px; font-weight: 800; margin: 0 0 10px; color: var(--dop-text); }
.info-card p { font-size: 14px; color: var(--dop-text-muted); line-height: 1.65; margin: 0; }

/* Example table */
.schedule-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.schedule-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.schedule-table th {
  background: var(--dop-card); padding: 10px 14px;
  text-align: left; font-family: var(--dop-font-display); font-weight: 800;
  color: var(--dop-text); border-bottom: 1px solid var(--dop-border-soft);
  white-space: nowrap;
}
.schedule-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--dop-border-soft);
  color: var(--dop-text-muted); vertical-align: top;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td:first-child { font-weight: 700; color: var(--dop-text); white-space: nowrap; }

/* ─── Schedule infographic grid ─── */
.sched-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
@media (max-width: 760px) { .sched-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sched-grid { grid-template-columns: 1fr; } }

/* Room card */
.sched-room-card {
  background: var(--dop-card-2);
  border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-lg);
  overflow: hidden;
}
.sched-room-header {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: var(--dop-primary);
}
.sched-room-icon { font-size: 18px; line-height: 1; }
.sched-room-name {
  font-family: var(--dop-font-display); font-weight: 900; font-size: 13px;
  color: #fff; letter-spacing: 0.05em;
}
.sched-room-body {
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 10px;
}

/* Task row */
.sched-task-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: start;
}
.sched-cb {
  grid-column: 1; grid-row: 1;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(221,75,149,0.45);
  background: transparent; cursor: pointer; padding: 0;
  margin-top: 1px; flex-shrink: 0;
  transition: background var(--dop-dur), border-color var(--dop-dur);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: #fff;
}
.sched-cb[aria-checked="true"] {
  background: var(--dop-primary);
  border-color: var(--dop-primary);
}
.sched-cb[aria-checked="true"]::after { content: '✓'; }
.sched-task-text {
  grid-column: 2; grid-row: 1;
  font-size: 13px; color: var(--dop-text);
  line-height: 1.45;
}
.sched-task-item.is-done .sched-task-text {
  text-decoration: line-through;
  color: var(--dop-text-muted);
}
.sched-micro-btn {
  grid-column: 3; grid-row: 1;
  background: none; border: none; cursor: pointer;
  font-size: 13px; padding: 0; opacity: 0.55;
  line-height: 1; margin-top: 1px;
  transition: opacity var(--dop-dur);
}
.sched-micro-btn:hover { opacity: 1; }
.sched-micro-row {
  grid-column: 2 / 4; grid-row: 2;
  font-size: 12px; color: var(--dop-purple);
  line-height: 1.5; padding: 4px 0 2px;
  display: flex; gap: 5px; align-items: flex-start; flex-wrap: wrap;
}
.sched-micro-row.hidden { display: none; }
.sched-micro-arrow { flex-shrink: 0; }
.sched-micro-dur { color: var(--dop-text-muted); font-style: normal; white-space: nowrap; }

/* Focus Tips card */
.sched-focus-card {
  background: var(--dop-card-2);
  border: 1px solid rgba(141,103,251,0.3);
  border-radius: var(--dop-radius-lg);
  overflow: hidden;
}
.sched-focus-header {
  padding: 11px 14px;
  background: rgba(141,103,251,0.22);
  font-family: var(--dop-font-display); font-weight: 900; font-size: 13px;
  color: var(--dop-text); letter-spacing: 0.05em;
}
.sched-focus-list {
  list-style: none; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 11px;
}
.sched-focus-list li {
  font-size: 13px; color: var(--dop-text-muted);
  line-height: 1.45; display: flex; align-items: flex-start; gap: 7px;
}
.sched-focus-list li span { flex-shrink: 0; }

/* Footer banner */
.sched-footer-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--dop-primary);
  border-radius: var(--dop-radius-lg);
  padding: 16px 22px;
}
.sched-footer-left { display: flex; flex-direction: column; gap: 2px; }
.sched-footer-left strong { font-family: var(--dop-font-display); font-size: 16px; font-weight: 900; color: #fff; }
.sched-footer-left span { font-size: 13px; color: rgba(255,255,255,0.82); }
.sched-footer-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sched-xp-label { font-family: var(--dop-font-display); font-weight: 800; font-size: 12px; color: rgba(255,255,255,0.9); }
.sched-xp-badge {
  background: var(--dop-warning); color: #1a1005;
  font-family: var(--dop-font-display); font-weight: 900; font-size: 13px;
  padding: 5px 11px; border-radius: var(--dop-radius-sm);
}

/* Week grid */
.sched-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
@media (max-width: 900px) { .sched-week-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .sched-week-grid { grid-template-columns: repeat(2, 1fr); } }

.sched-day-card {
  background: var(--dop-card-2);
  border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-md);
  overflow: hidden;
}
.sched-day-card.is-catchup { border-color: rgba(255,207,92,0.25); }
.sched-day-card.is-prep    { border-color: rgba(141,103,251,0.25); }
.sched-day-header {
  padding: 8px 10px;
  background: var(--dop-primary);
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.sched-day-card.is-catchup .sched-day-header { background: rgba(255,207,92,0.18); }
.sched-day-card.is-prep    .sched-day-header { background: rgba(141,103,251,0.18); }
.sched-day-name {
  font-family: var(--dop-font-display); font-weight: 900; font-size: 11px;
  color: #fff; letter-spacing: 0.05em;
}
.sched-day-card.is-catchup .sched-day-name,
.sched-day-card.is-prep    .sched-day-name { color: var(--dop-text); }
.sched-day-badge {
  font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15); padding: 1px 5px; border-radius: 999px;
}
.sched-day-body { padding: 8px 10px; display: flex; flex-direction: column; gap: 8px; }
.sched-day-body .sched-task-item { grid-template-columns: 18px 1fr auto; }
.sched-day-body .sched-cb { width: 16px; height: 16px; font-size: 9px; }
.sched-day-body .sched-task-text { font-size: 12px; }
.sched-empty { font-size: 12px; color: var(--dop-text-muted); padding: 4px 0; }

/* Tips grid */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.tip-card {
  background: var(--dop-card-2); border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-lg); padding: 22px;
}
.tip-icon { font-size: 24px; margin-bottom: 12px; }
.tip-title { font-family: var(--dop-font-display); font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.tip-body { font-size: 14px; color: var(--dop-text-muted); line-height: 1.65; }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--dop-card); border: 1px solid var(--dop-border-soft); border-radius: var(--dop-radius-md); overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 18px 20px;
  font-family: var(--dop-font-display); font-size: 16px; font-weight: 800;
  color: var(--dop-text); text-align: left;
  background: none; border: none; cursor: pointer;
  gap: 12px;
}
.faq-question:focus-visible { outline: 2px solid var(--dop-primary); outline-offset: -2px; }
.faq-chevron { font-size: 12px; color: var(--dop-text-muted); flex-shrink: 0; transition: transform var(--dop-dur); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; color: var(--dop-text-muted); line-height: 1.75; font-size: 15px; }

/* CTA */
.cta-card {
  background: var(--dop-card); border: 1px solid var(--dop-border-soft);
  border-radius: var(--dop-radius-xl); padding: 52px 48px;
  text-align: center; max-width: 860px; margin: 0 auto;
}
.cta-card h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; margin-bottom: 14px; }
.cta-card p { color: var(--dop-text-muted); font-size: 17px; line-height: 1.7; margin-bottom: 28px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-card .actions { justify-content: center; }

/* Footer */
footer.site {
  background: var(--dop-bg-2);
  border-top: 1px solid var(--dop-border-soft);
  padding: 56px 60px 36px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; }
.foot-brand p { color: var(--dop-text-muted); font-size: 14px; margin: 14px 0 0; max-width: 260px; line-height: 1.6; }
.foot-title {
  font-family: var(--dop-font-display); font-weight: 800;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px; color: var(--dop-text);
}
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--dop-text-muted); font-size: 14px; transition: color var(--dop-dur); }
.foot-col a:hover { color: var(--dop-text); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--dop-border-soft);
  color: var(--dop-text-muted); font-size: 13px;
}

/* ─── Responsive ─── */
@media (max-width: 980px) {
  nav.bar .inner { padding: 12px 22px; }
  .navlinks { display: none; }
  section { padding-left: 22px; padding-right: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  footer.site { padding: 40px 22px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .tool-wrap { padding: 22px; }
  .output-header { flex-direction: column; align-items: flex-start; }
  .output-tabs { width: 100%; }
  .output-tab { flex: 1; justify-content: center; }
  .output-actions { width: 100%; }
  .task-btns { flex-wrap: wrap; }
  .tips-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 32px 22px; }
}

/* ─── Print / PDF ─── */
@media print {
  /* Hide everything, then reveal only the schedule output */
  body { visibility: hidden; background: white !important; }

  #tool-output {
    visibility: visible;
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 16px;
    background: white;
  }
  #tool-output * { visibility: visible; }

  /* Hide action elements inside the output */
  .output-header,
  .no-guilt-banner,
  .sched-micro-btn,
  .sched-micro-row { display: none !important; }

  /* tab-panel.hidden keeps its display:none — only active tab prints */

  /* Color fidelity */
  .sched-room-header,
  .sched-day-header,
  .sched-footer-banner,
  .sched-xp-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .sched-room-header { background: #dd4b95 !important; }
  .sched-room-name { color: #fff !important; }
  .sched-room-body { background: white !important; }
  .sched-room-card { border: 1px solid #e0e0e0 !important; break-inside: avoid; }

  .sched-focus-header { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: rgba(141,103,251,0.18) !important; }
  .sched-focus-card { border: 1px solid #c8b0fb !important; break-inside: avoid; }
  .sched-focus-list li { color: #333 !important; }

  .sched-task-text { color: #111 !important; }
  .sched-cb { border-color: #dd4b95 !important; }

  .sched-footer-banner { background: #dd4b95 !important; }
  .sched-footer-left strong { color: #fff !important; }
  .sched-footer-left span { color: rgba(255,255,255,0.88) !important; }
  .sched-xp-label { color: rgba(255,255,255,0.92) !important; }
  .sched-xp-badge { background: #ffcf5c !important; color: #1a1005 !important; }

  .sched-week-grid { grid-template-columns: repeat(7, 1fr) !important; gap: 5px !important; }
  .sched-day-card { border: 1px solid #e0e0e0 !important; break-inside: avoid; }
  .sched-day-header { background: #dd4b95 !important; }
  .sched-day-card.is-catchup .sched-day-header { background: rgba(255,207,92,0.28) !important; }
  .sched-day-card.is-prep    .sched-day-header { background: rgba(141,103,251,0.22) !important; }
  .sched-day-name { color: #fff !important; }
  .sched-day-card.is-catchup .sched-day-name,
  .sched-day-card.is-prep    .sched-day-name { color: #111 !important; }
  .sched-day-body { background: white !important; }
  .sched-day-body .sched-task-text { color: #111 !important; }

  .overwhelmed-banner { background: #fff8e1 !important; color: #8a6000 !important; }
}
.print-title, .print-source { display: none; }
