:root {
  --ink: #18332d;
  --muted: #63736e;
  --cream: #f4f0e8;
  --paper: #fffdf8;
  --sage: #cbd8c2;
  --leaf: #557764;
  --peach: #e9b89f;
  --line: rgba(24, 51, 45, 0.14);
  --shadow: 0 24px 70px rgba(45, 62, 54, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 10%, rgba(203, 216, 194, 0.58), transparent 28rem),
    var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

button,
a {
  font: inherit;
}

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

.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-weight: 600;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  font-family: "Newsreader", serif;
  font-size: 18px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.quiet-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  padding: 10px 16px;
}

.hero {
  margin: 0 auto;
  max-width: 900px;
  padding: 110px 30px 140px;
  text-align: center;
}

.eyebrow,
.card-label {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
}

h1,
h2,
h3,
blockquote {
  font-family: "Newsreader", serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(54px, 9vw, 96px);
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0;
}

h1 em {
  color: var(--leaf);
  font-weight: 500;
}

.hero-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 34px auto;
  max-width: 560px;
}

.primary-button {
  background: var(--ink);
  border-radius: 999px;
  color: white;
  display: inline-block;
  padding: 15px 24px;
  text-decoration: none;
}

.dashboard {
  background: var(--paper);
  border-radius: 38px 38px 0 0;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 1180px;
  padding: 76px 70px 90px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.035em;
  margin: 0;
}

.date {
  color: var(--muted);
  margin: 0 0 8px;
}

.dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.85fr;
}

.dashboard-grid article {
  border-radius: 24px;
  min-height: 220px;
  padding: 34px;
}

.focus-card {
  background: var(--ink);
  color: white;
  grid-row: span 2;
}

.focus-card .card-label {
  color: var(--sage);
}

.focus-card h3 {
  font-size: 44px;
  line-height: 1;
  margin: 76px 0 12px;
  max-width: 420px;
}

.focus-card p:not(.card-label) {
  color: rgba(255, 255, 255, 0.68);
}

.complete-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
}

.check {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.focus-card.is-complete {
  background: var(--leaf);
}

.focus-card.is-complete .check {
  background: white;
  color: var(--leaf);
}

.note-card {
  background: var(--peach);
}

blockquote {
  font-size: 30px;
  line-height: 1.1;
  margin: 48px 0 0;
}

.week-card {
  align-items: end;
  background: var(--sage);
  display: flex;
  justify-content: space-between;
}

.week-card h3 {
  font-size: 34px;
  margin: 0;
}

.progress {
  display: flex;
  gap: 7px;
}

.progress span {
  background: rgba(24, 51, 45, 0.16);
  border-radius: 999px;
  height: 34px;
  width: 9px;
}

.progress .filled {
  background: var(--ink);
}

.areas-card {
  background: #ece5da;
  grid-column: 1 / -1;
  min-height: auto !important;
}

.area-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.area-list span {
  border-bottom: 1px solid var(--line);
  font-family: "Newsreader", serif;
  font-size: 26px;
  padding: 22px 0 14px;
}

footer {
  color: var(--muted);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 32px 30px 44px;
}

@media (max-width: 720px) {
  .hero {
    padding: 80px 22px 100px;
  }

  .dashboard {
    border-radius: 28px 28px 0 0;
    padding: 54px 22px;
  }

  .section-heading,
  .week-card,
  footer {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .focus-card {
    grid-row: auto;
  }

  .focus-card h3 {
    margin-top: 58px;
  }

  .areas-card {
    grid-column: auto;
  }

  .area-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dashboard-grid article {
    animation: rise 650ms ease both;
  }

  .dashboard-grid article:nth-child(2) {
    animation-delay: 80ms;
  }

  .dashboard-grid article:nth-child(3) {
    animation-delay: 140ms;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
  }
}
