:root {
  --accent: #4f46e5;
  --accent-dark: #3730a3;
  --ink: #1e293b;
  --ink-light: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #16a34a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / nav (v1: generic marketing navbar) --- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}

.nav-row-solo {
  justify-content: flex-start;
}

/* --- Hero (v1: generic, two competing CTAs) --- */
.hero {
  text-align: center;
  padding: 80px 24px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 16px;
}

.hero p {
  font-size: 18px;
  color: var(--ink-light);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.mechanism-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  color: var(--ink-light);
  font-size: 14px;
}

.mechanism-chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  color: var(--ink);
}

.mechanism-arrow {
  color: var(--accent);
  font-size: 18px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
}

/* --- Review screen --- */
.page-header {
  padding: 20px 0;
}

.page-header h1 {
  font-size: 24px;
  margin: 0 0 4px;
}

.page-header .step {
  color: var(--ink-light);
  font-size: 14px;
}

.page-header .page-sub {
  color: var(--ink-light);
  font-size: 15px;
  margin: 8px 0 0;
}

.course-group {
  border-left: 4px solid var(--course-color, var(--border));
  border-radius: 8px;
  background: var(--card);
  padding: 4px 16px 12px;
  margin-bottom: 20px;
}

.course-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0 6px;
}

.course-group-header h2 {
  font-size: 16px;
  margin: 0;
  color: var(--course-color, var(--ink));
}

.course-group-name {
  font-weight: 400;
  color: var(--ink-light);
  font-size: 13px;
}

.select-all {
  font-size: 13px;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.assignment-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.assignment-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.assignment-row:last-child {
  border-bottom: none;
}

.assignment-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.assignment-main {
  flex: 1;
}

.assignment-title {
  font-weight: 600;
  font-size: 15px;
}

.assignment-meta {
  font-size: 13px;
  color: var(--ink-light);
}

.assignment-due {
  font-size: 13px;
  color: var(--ink-light);
  white-space: nowrap;
}

.sync-bar {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  padding: 16px 0 32px;
  text-align: center;
}

/* --- Synced screen --- */
.success-block {
  text-align: center;
  padding: 48px 24px 24px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.success-block h1 {
  font-size: 26px;
  margin: 0 0 8px;
}

.success-block p {
  color: var(--ink-light);
  margin: 0;
}

.task-list {
  list-style: none;
  margin: 32px 0;
  padding: 0;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.task-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 12px;
}

.task-title {
  flex: 1;
  font-size: 15px;
}

.task-due {
  font-size: 13px;
  color: var(--ink-light);
}

.actions-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 12px 0 60px;
}
