:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #25382c;
  background: #f7f8f2;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  --muted: #677064;
  --green: #356e49;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #356e49;
  outline-offset: 5px;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 5;
  padding: 14px;
  background: white;
}
.skip-link:focus {
  top: 15px;
}
.site-header {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1.1px;
}
.brand-dot {
  margin-left: -9px;
  color: var(--green);
}
.header-link {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.header-link span {
  font-size: 20px;
}
.header-link:hover,
.site-footer a:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 54px;
  align-items: center;
  padding: 28px 0 42px;
}
.hero-copy {
  padding-bottom: 14px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 27px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.6px;
}
.tiny-grid {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
  transform: rotate(-9deg);
}
.tiny-grid i {
  height: 5px;
  background: #6b8c5b;
  border-radius: 1px;
}
.tiny-grid i:nth-child(2) {
  opacity: 0.35;
}
h1 {
  margin: 0;
  font-size: clamp(64px, 6.7vw, 88px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -5.5px;
}
h1 em {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green);
  font-weight: 400;
  letter-spacing: -5px;
}
.intro {
  max-width: 390px;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  min-height: 54px;
  padding: 0 23px;
  background: #315f40;
  border-radius: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 0 #244b330e;
  transition:
    background 0.2s,
    transform 0.2s;
}
.cta:hover {
  background: #244b33;
  transform: translateY(-2px);
}
.cta span {
  font-size: 21px;
  font-weight: 400;
}
.cta-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
}
.little-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 42px;
  font-family: Georgia, serif;
  font-style: italic;
  color: #657159;
  font-size: 17px;
}
.little-note span {
  font-size: 31px;
}
.demo-area {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}
.demo-area::before {
  content: "";
  position: absolute;
  inset: 9px -24px 8px;
  border-radius: 45% 45% 40% 40%;
  background: #e8edde;
  z-index: -1;
}
.demo-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  margin-bottom: 15px;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1px;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: #668953;
  border-radius: 50%;
}
.demo-tag {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid #d5ddcb;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0;
  color: #57694d;
}
.demo {
  padding: 24px;
  background: #fffefa;
  border: 1px solid #e0e5d8;
  border-radius: 17px;
  box-shadow:
    0 18px 50px -25px #3f52303b,
    0 3px 8px #3f523005;
}
.demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.demo-date {
  margin: 0 0 7px;
  font-size: 10px;
  color: var(--muted);
}
.demo-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.65px;
}
.demo-heading h2 span {
  color: var(--green);
}
.sun {
  font-size: 32px;
  color: #a9853c;
}
.daily-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  font-size: 10px;
  color: var(--muted);
}
.progress-track {
  width: 44%;
  height: 5px;
  background: #e9eee2;
  border-radius: 8px;
  overflow: hidden;
}
#progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #5c8a49;
  border-radius: inherit;
  transition: width 0.35s ease;
}
.habits {
  display: grid;
  gap: 11px;
}
.habit {
  --habit: #527d3b;
  --tint: #edf2e7;
  --empty: #e5ecd9;
  padding: 15px 14px 13px;
  border: 1px solid #e5e8df;
  border-radius: 10px;
  background: #fff;
}
.habit-orange {
  --habit: #b86239;
  --tint: #fcf0e8;
  --empty: #f3e7db;
}
.habit-purple {
  --habit: #8a6ca8;
  --tint: #f2eef7;
  --empty: #eae4f1;
}
.habit-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.habit-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 33px;
  height: 33px;
  border-radius: 8px;
  color: var(--habit);
  background: var(--tint);
}
.habit-icon svg {
  width: 22px;
  height: 22px;
}
.habit-name {
  flex: 1;
  min-width: 0;
}
.habit h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.1px;
}
.habit-name p {
  margin: 5px 0 0;
  font-size: 9px;
  color: var(--muted);
}
.today-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 5px;
  min-height: 44px;
  min-width: 72px;
  padding: 6px 9px;
  background: var(--tint);
  border: 1px solid transparent;
  border-radius: 7px;
  color: #4d554a;
  cursor: pointer;
  font-size: 10px;
  transition:
    background 0.2s,
    color 0.2s;
}
.today-button svg {
  width: 17px;
  height: 17px;
  border: 1px solid var(--habit);
  border-radius: 50%;
  color: transparent;
}
.today-button:hover:not(:disabled) {
  border-color: var(--habit);
}
.today-button[aria-pressed="true"] {
  background: var(--habit);
  color: white;
}
.today-button[aria-pressed="true"] svg {
  color: white;
  border-color: #ffffff60;
}
.habit-grid {
  display: grid;
  grid-template-rows: repeat(7, auto);
  grid-template-columns: repeat(36, minmax(0, 1fr));
  grid-auto-flow: column;
  gap: 3px;
  margin-top: 13px;
}
.day-cell {
  display: block;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2px;
  background: var(--empty);
}
.day-cell.done {
  background: var(--habit);
}
.day-cell.future {
  background: transparent;
}
.day-cell.today {
  outline: 1px solid var(--habit);
  outline-offset: 1px;
}
.day-cell.today.done {
  animation: check-in 0.35s ease-out;
}
.demo-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.demo-bottom p {
  margin: 0;
  font-size: 10px;
  color: #617452;
}
#reset-demo {
  min-height: 36px;
  padding: 6px 0 6px 12px;
  border: 0;
  background: transparent;
  color: #596650;
  font-size: 10px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#reset-demo:disabled {
  color: #8b9183;
  cursor: default;
  text-decoration: none;
}
.demo-footnote {
  margin: 14px 0 0;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.noscript-note {
  font-size: 12px;
}
.noscript-note a {
  text-decoration: underline;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 32px 0 36px;
  border-top: 1px solid #dfe3d7;
  border-bottom: 1px solid #dfe3d7;
}
.benefit {
  display: flex;
  gap: 13px;
}
.benefit-number {
  padding-top: 2px;
  color: #627353;
  font-size: 10px;
  font-family: ui-monospace, monospace;
}
.benefit h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.benefit p {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 26px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  color: #3f5f39;
  font-weight: 600;
}
.site-footer a span {
  font-size: 17px;
}
@keyframes check-in {
  50% {
    transform: scale(1.4);
  }
}

@media (min-width: 1500px) {
  .hero {
    padding-block: 80px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 35px;
  }
  h1 {
    font-size: 72px;
  }
  .intro {
    font-size: 14px;
  }
  .desktop-break {
    display: none;
  }
  .demo {
    padding: 18px;
  }
  .demo-heading h2 {
    font-size: 18px;
  }
  .habit {
    padding: 12px 10px;
  }
  .habit-grid {
    gap: 2px;
  }
  .demo-caption {
    letter-spacing: 0.5px;
    font-size: 7px;
  }
}
@media (max-width: 780px) {
  .wrap {
    width: min(530px, calc(100% - 40px));
  }
  .site-header {
    height: 86px;
  }
  .brand {
    font-size: 22px;
  }
  .header-link {
    font-size: 12px;
    gap: 9px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding: 40px 0;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
  }
  .eyebrow {
    justify-content: center;
    margin-bottom: 23px;
    font-size: 9px;
  }
  h1 {
    font-size: clamp(64px, 12vw, 82px);
    letter-spacing: -4px;
  }
  h1 em {
    letter-spacing: -4px;
  }
  .intro {
    margin: 24px auto;
    max-width: 340px;
    font-size: 15px;
  }
  .little-note {
    justify-content: center;
    margin-top: 20px;
    font-size: 15px;
  }
  .demo-area::before {
    inset-inline: -10px;
  }
  .demo {
    padding: 20px;
  }
  .demo-caption {
    font-size: 8px;
  }
  .habit {
    padding: 14px 12px;
  }
  .habit-grid {
    gap: 3px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 8px;
  }
  .benefit {
    gap: 20px;
  }
  .benefit h2 {
    font-size: 14px;
  }
  .benefit p {
    font-size: 12px;
    margin-top: 4px;
  }
  .site-footer {
    flex-direction: column;
    gap: 6px;
    padding-block: 23px;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .demo {
    padding: 14px;
  }
  .demo-caption {
    flex-wrap: wrap;
    font-size: 7px;
  }
  .demo-tag {
    font-size: 8px;
  }
  .habit-heading {
    gap: 7px;
  }
  .habit h3 {
    font-size: 11px;
  }
  .habit-icon {
    width: 28px;
    height: 28px;
  }
  .today-button {
    min-width: 60px;
    padding-inline: 5px;
  }
  .habit-grid {
    gap: 2px;
  }
  .demo-bottom p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
