:root {
  --teal-dark: #04211d;
  --teal: #00695c;
  --teal-light: #00897b;
  --mint: #4fd1b8;
  --paper: #f4f6f5;
  --ink: #10201d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top, var(--teal) 0%, var(--teal-dark) 70%);
  color: #fff;
  padding: 96px 24px 120px;
  text-align: center;
}

/* faint spreadsheet-grid texture -- a wink at the bureaucracy under the hood */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, #000 0%, transparent 75%);
}

.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--mint);
  margin: 0 0 18px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 36px;
}

.cta {
  display: inline-block;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }

.cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}
.cta-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* ---------- task picker ---------- */

.picker {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-radius: 32px 32px 0 0;
  margin-top: -40px;
  padding: 56px 24px 80px;
  box-shadow: 0 -12px 30px rgba(4, 33, 29, 0.15);
}

.picker-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.picker h2 {
  text-align: center;
  font-size: 1.8rem;
  margin: 0 0 10px;
}

.picker-sub {
  text-align: center;
  color: #4b5a56;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.task-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(4, 33, 29, 0.1);
  border: 1px solid rgba(4, 33, 29, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.task-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(4, 33, 29, 0.16);
  border-color: var(--teal-light);
}

.task-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--teal-dark);
}

.task-card p {
  margin: 0 0 18px;
  color: #4b5a56;
  line-height: 1.5;
  font-size: 0.95rem;
}

.task-cta {
  font-weight: 700;
  color: var(--teal);
}

.task-card-locked {
  background: repeating-linear-gradient(
    135deg, #eef1f0, #eef1f0 10px, #e6e9e8 10px, #e6e9e8 20px
  );
  color: #8a9591;
  box-shadow: none;
  cursor: default;
}
.task-card-locked:hover { transform: none; box-shadow: none; border-color: rgba(4, 33, 29, 0.06); }
.task-card-locked h3 { color: #6b7672; }
.task-card-locked p { color: #8a9591; }

.task-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--teal-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}

.task-error { text-align: center; color: #b71c1c; grid-column: 1 / -1; }

/* ---------- story teaser ---------- */

.story-teaser {
  background: var(--teal-dark);
  color: #fff;
  padding: 72px 24px;
  text-align: center;
}

.story-teaser-inner {
  max-width: 560px;
  margin: 0 auto;
}

.story-teaser h2 {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.story-teaser p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0 0 28px;
}

/* ---------- footer ---------- */

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  text-align: center;
  color: #7c8884;
  font-size: 13px;
  line-height: 1.6;
}

.link-btn {
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
