/* === TOKENS === */
:root {
  --bg: #FAF8F4;
  --fg: #1A1A1A;
  --accent: #2B5C4A;
  --amber: #E8A33C;
  --muted: #6B6B6B;
  --light: #F0EDE6;
  --border: #E0DBD3;
  --card-bg: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  padding: 80px 28px 72px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--fg);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg);
}

/* === HERO WIDGET === */
.hero-widget {
  display: flex;
  justify-content: flex-end;
}

.tasklist-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.tasklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.room-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.task-count {
  font-size: 0.75rem;
  color: var(--muted);
}

.task-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.task-item:hover { background: var(--light); }

.task-item input[type="checkbox"] { display: none; }

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: transparent;
}

.task-item.checked .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.task-item.checked .checkmark::after {
  content: '';
  display: block;
  width: 5px;
  height: 8px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(40deg) translate(-1px, -1px);
}

.task-label {
  flex: 1;
  font-size: 0.875rem;
  color: var(--fg);
}

.task-item.checked .task-label {
  text-decoration: line-through;
  color: var(--muted);
}

.assignee {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 8px;
  color: var(--muted);
  flex-shrink: 0;
}

.task-item.recurring .task-label::after {
  content: ' ↻';
  font-size: 0.75rem;
  color: var(--amber);
}

.calendar-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #F0F7F3;
  border-radius: 8px;
  border: 1px solid #D4EAD9;
}

.cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cal-dot.green { background: var(--accent); }

.cal-text {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

/* === SECTION SHARED === */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.features h2,
.howitworks h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 48px;
  letter-spacing: -0.025em;
}

/* === FEATURES === */
.features {
  padding: 72px 0;
  background: var(--card-bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* === HOW IT WORKS === */
.howitworks {
  padding: 72px 0;
  background: var(--bg);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--fg);
}

.step p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

/* === ROOMS === */
.rooms {
  padding: 72px 0;
  background: var(--accent);
  color: white;
}

.rooms .section-label { color: #A8D4B8; }
.rooms h2 { color: white; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 48px; letter-spacing: -0.025em; }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.room-item {
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
}

.room-icon { margin-bottom: 14px; }

.room-item h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: white;
}

.room-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* === CLOSING === */
.closing {
  padding: 80px 28px;
  background: var(--light);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-statement {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* === FOOTER === */
.site-footer {
  padding: 32px 28px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-widget { justify-content: flex-start; }
  .tasklist-card { max-width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: 28px; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 56px 20px 48px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .closing { padding: 56px 20px; }
}