:root {
  --bg: #FAF8F4;
  --fg: #1A1A1A;
  --accent: #1A4D2E;
  --accent-warm: #E07A5F;
  --accent-warm-light: #F4E8E2;
  --surface: #FFFFFF;
  --muted: #8A8A8A;
  --border: #E8E4DC;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: #4A4A4A;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 40px;
}
.hero-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--accent-warm-light);
  border-radius: 12px;
  padding: 16px 24px;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-warm);
}
.hero-stat-label {
  font-size: 14px;
  color: #6B4F42;
}

/* Hero Widget */
.hero-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.widget-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.widget-avatar {
  font-weight: 600;
  font-size: 15px;
}
.widget-badge {
  background: #E8F4EC;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}
.widget-screen-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}
.widget-screen-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.widget-screen-time {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}
.widget-screen-label {
  font-size: 11px;
  color: var(--muted);
}
.widget-earned {
  text-align: center;
  margin-bottom: 16px;
}
.widget-earned-euro {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.widget-earned-label {
  font-size: 13px;
  color: var(--muted);
}
.widget-sync {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
}

.widget-challenge {
  background: var(--accent);
  color: white;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.challenge-icon {
  font-size: 20px;
}
.challenge-text {
  font-size: 14px;
  line-height: 1.4;
}

/* How */
.how {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 48px;
}
.how-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}
.how-header h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.how-header p {
  font-size: 18px;
  color: var(--muted);
}
.how-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.how-step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--border);
  margin-bottom: 20px;
  line-height: 1;
}
.how-step-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.how-step-content p {
  font-size: 15px;
  color: #5A5A5A;
  line-height: 1.6;
}

/* Modes */
.modes {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.modes-header {
  margin-bottom: 48px;
}
.modes-header h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.modes-header p {
  font-size: 16px;
  color: var(--muted);
}
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.mode-card-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.mode-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.mode-tag-bonus { background: #E8F4EC; color: var(--accent); }
.mode-tag-deduct { background: #FEF2F0; color: #C0392B; }
.mode-tag-hybrid { background: #F0EFFE; color: #4A3F9B; }
.mode-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.mode-card p {
  font-size: 14px;
  color: #5A5A5A;
  line-height: 1.6;
  margin-bottom: 20px;
}
.mode-example {
  background: var(--bg);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #4A4A4A;
}
.mode-example-label {
  color: var(--muted);
  margin-right: 4px;
}

/* Widget Section */
.widget-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 100%;
}
.widget-section-content h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.widget-section-content > p {
  font-size: 17px;
  color: #5A5A5A;
  margin-bottom: 40px;
  line-height: 1.6;
}
.widget-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.widget-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.wf-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.widget-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.widget-feature p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Parent Dashboard Mockup */
.parent-dashboard {
  background: #F7F6F3;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  font-size: 13px;
}
.pd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-weight: 600;
}
.pd-name { color: var(--muted); }
.pd-children { margin-bottom: 24px; }
.pd-child {
  border-radius: 12px;
  padding: 14px 16px;
  background: white;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.pd-child-active { border-color: var(--accent); }
.pd-child-info { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.pd-child-info strong { font-weight: 600; }
.pd-child-info span { color: var(--muted); font-size: 12px; }
.pd-child-bar { height: 4px; background: #E8E4DC; border-radius: 99px; overflow: hidden; }
.pd-bar-fill { height: 100%; background: var(--accent); border-radius: 99px; }
.pd-bar-over { background: #E07A5F; }
.pd-apps-header { font-weight: 600; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.pd-app-row { display: grid; grid-template-columns: 80px 1fr 60px; gap: 10px; align-items: center; margin-bottom: 8px; }
.pd-app-bar { height: 4px; background: var(--border); border-radius: 99px; overflow: hidden; }
.pd-app-fill { height: 100%; background: var(--accent-warm); border-radius: 99px; }

/* Closing */
.closing {
  padding: 96px 48px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.closing-inner { max-width: 640px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing p {
  font-size: 17px;
  color: #5A5A5A;
  line-height: 1.7;
  margin-bottom: 40px;
}
.closing-integrations {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.closing-integrations strong {
  font-family: var(--font-display);
  color: var(--fg);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.footer-desc {
  font-size: 12px;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--fg); }

/* Responsive */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px 64px; gap: 48px; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .modes-grid { grid-template-columns: 1fr; }
  .widget-section { grid-template-columns: 1fr; padding: 64px 24px; gap: 48px; }
  .widget-features { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
  .nav { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .hero-stat { flex-direction: column; gap: 4px; }
}