:root {
  --paper: #f3f1e9;
  --ink: #10231e;
  --muted: #63706a;
  --line: #d9ddd1;
  --card: #fffefa;
  --acid: #c9ff5b;
  --acid-dark: #173f2e;
  --coral: #ff765f;
  --shadow: 0 28px 80px rgba(31, 48, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(201, 255, 91, 0.22), transparent 29rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(23, 63, 46, 0.35);
  outline-offset: 3px;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 35, 30, 0.12);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.wordmark-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 8px;
  background: var(--ink);
  box-shadow: 0 6px 16px rgba(16, 35, 30, 0.2);
}

.wordmark-mark i {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: var(--acid);
}

.wordmark-mark i:nth-child(1) {
  height: 8px;
}

.wordmark-mark i:nth-child(2) {
  height: 16px;
}

.wordmark-mark i:nth-child(3) {
  height: 12px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 620;
}

.site-header nav a {
  color: #43524c;
  text-decoration: none;
}

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

.saved-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  padding: 9px 13px;
  color: #53605a;
  font-size: 12px;
}

.saved-pill span {
  color: #42a472;
  font-size: 10px;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 72px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(540px, 1.16fr);
  align-items: center;
  gap: 76px;
}

.hero-copy {
  padding-bottom: 20px;
}

.eyebrow {
  margin: 0 0 25px;
}

.eyebrow span {
  display: inline-block;
  border: 1px solid rgba(16, 35, 30, 0.16);
  border-radius: 999px;
  padding: 8px 13px;
  color: #43524c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(56px, 6.2vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.072em;
  font-weight: 760;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -1%;
  right: -2%;
  bottom: 5px;
  height: 0.23em;
  border-radius: 999px;
  background: var(--acid);
  transform: rotate(-1.5deg);
}

.hero-description {
  max-width: 470px;
  margin: 30px 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.015em;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  color: #4b5953;
  font-size: 13px;
  font-weight: 650;
}

.trust-row span::before {
  content: "✓";
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--acid-dark);
  font-size: 11px;
  font-weight: 900;
}

.counter-shell {
  overflow: hidden;
  border: 1px solid rgba(16, 35, 30, 0.14);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.counter-topbar {
  min-height: 80px;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e6e7df;
}

.counter-topbar label {
  min-width: 0;
  flex: 1;
}

.counter-topbar label > span,
.number-setting > span,
.step-setting > span {
  display: block;
  margin-bottom: 5px;
  color: #7c857f;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.counter-topbar input {
  width: min(100%, 260px);
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.counter-topbar input:focus {
  outline: 0;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 11px;
  background: #eef8f1;
  color: #347458;
  font-size: 11px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.live-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45b779;
  box-shadow: 0 0 0 4px rgba(69, 183, 121, 0.12);
}

.count-display {
  padding: 27px 30px 22px;
  text-align: center;
}

.count-label {
  color: #78827d;
  font-size: 11px;
  font-weight: 730;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.count-display strong {
  display: block;
  margin: 0 auto 13px;
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(68px, 8vw, 104px);
  line-height: 1.08;
  font-weight: 670;
  letter-spacing: -0.08em;
  text-overflow: ellipsis;
}

.goal-copy {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #7b847f;
  font-size: 10px;
  font-weight: 680;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eadf;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9ee851, var(--acid));
  transition: width 220ms ease;
}

.tap-controls {
  padding: 0 30px 22px;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 12px;
}

.tap-controls button {
  position: relative;
  min-height: 96px;
  border: 0;
  border-radius: 22px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.tap-controls button:active {
  transform: translateY(3px) scale(0.99);
}

.tap-controls button span {
  display: block;
  font-size: 50px;
  line-height: 0.8;
  font-weight: 400;
}

.tap-controls button small {
  position: absolute;
  right: 15px;
  bottom: 13px;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 750;
}

.minus-button {
  border: 1px solid #dfe1d8 !important;
  background: #f0f0e9;
  color: #33413b;
  box-shadow: 0 5px 0 #d9dbd2;
}

.minus-button:hover {
  background: #e9eae2;
}

.minus-button small {
  background: #dfe1d8;
  color: #64706a;
}

.plus-button {
  background: var(--acid);
  color: var(--acid-dark);
  box-shadow: 0 7px 0 #93c945, 0 14px 24px rgba(109, 155, 52, 0.18);
}

.plus-button:hover {
  background: #d3ff76;
}

.plus-button small {
  background: rgba(23, 63, 46, 0.12);
  color: var(--acid-dark);
}

.counter-settings {
  padding: 17px 22px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  align-items: end;
  gap: 11px;
  border-top: 1px solid #e7e8e1;
  border-bottom: 1px solid #e7e8e1;
  background: #f8f8f3;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  border-radius: 11px;
  background: #e7e9e1;
}

.segmented button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #66716b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
}

.segmented button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 7px rgba(29, 44, 37, 0.11);
}

.number-setting input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #dfe2d9;
  border-radius: 10px;
  background: white;
  padding: 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
}

.counter-footer {
  min-height: 58px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.text-button {
  border: 0;
  background: transparent;
  color: #68736d;
  cursor: pointer;
  font-size: 11px;
  font-weight: 680;
}

.text-button:hover:not(:disabled) {
  color: var(--ink);
}

.text-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.text-button.danger {
  color: #bb5a4b;
}

.reset-confirm {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7a5a53;
  font-size: 10px;
  font-weight: 680;
}

.reset-confirm button {
  border: 1px solid #dddcd4;
  border-radius: 7px;
  background: #f4f3ed;
  padding: 5px 7px;
  color: #584b47;
  cursor: pointer;
  font-size: 9px;
  font-weight: 730;
}

.reset-confirm button:first-of-type {
  border-color: #fec4ba;
  background: #fff0ed;
  color: #a94839;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
    padding-top: 56px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .counter-shell {
    width: min(100%, 650px);
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 28px, 1180px);
    min-height: 70px;
  }

  .site-header nav a,
  .saved-pill {
    display: none;
  }

  .site-header nav::after {
    content: "Saved locally";
    color: #627069;
    font-size: 11px;
    font-weight: 650;
  }

  .hero {
    width: min(100% - 28px, 1180px);
    min-height: auto;
    padding: 42px 0 64px;
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 70px);
  }

  .hero-description {
    margin-top: 24px;
    font-size: 15px;
  }

  .trust-row {
    gap: 11px 15px;
    font-size: 11px;
  }

  .counter-shell {
    border-radius: 24px;
  }

  .counter-topbar,
  .counter-settings,
  .counter-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .count-display {
    padding: 25px 20px 20px;
  }

  .count-display strong {
    font-size: clamp(64px, 23vw, 90px);
  }

  .tap-controls {
    padding: 0 18px 20px;
    grid-template-columns: 0.48fr 1fr;
  }

  .tap-controls button {
    min-height: 90px;
  }

  .counter-settings {
    grid-template-columns: 1fr 1fr;
  }

  .step-setting {
    grid-column: 1 / -1;
  }

  .reset-confirm span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}

.use-section,
.faq-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 126px 0;
}

.use-section {
  border-top: 1px solid rgba(16, 35, 30, 0.12);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr 1fr;
  align-items: end;
  gap: 36px;
  margin-bottom: 58px;
}

.section-kicker {
  margin: 0;
  color: #526159;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin: 0 10px 3px 0;
  border-radius: 99px;
  background: #a2da45;
}

.section-heading h2,
.shortcut-copy h2,
.privacy-card h2,
.faq-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1;
  letter-spacing: -0.058em;
  font-weight: 720;
}

.section-heading > p:last-child,
.shortcut-copy > p,
.privacy-card > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.use-card {
  min-height: 245px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.48);
  transition: background 180ms ease, transform 180ms ease;
}

.use-card:hover {
  position: relative;
  z-index: 1;
  background: var(--card);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(31, 48, 40, 0.09);
}

.use-card > span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #6d7972;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

.use-card h3 {
  margin: 0 0 11px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.use-card p {
  max-width: 270px;
  margin: 0;
  color: #68746d;
  font-size: 13px;
  line-height: 1.65;
}

.shortcut-section {
  width: min(1320px, calc(100% - 28px));
  margin: 20px auto;
  padding: 105px max(36px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 90px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 85%, rgba(201, 255, 91, 0.11), transparent 29rem),
    var(--ink);
  color: white;
}

.section-kicker.light {
  margin-bottom: 22px;
  color: #b9c7c0;
}

.shortcut-copy h2 {
  max-width: 450px;
  margin-bottom: 25px;
}

.shortcut-copy > p {
  max-width: 455px;
  color: #afbeb7;
}

.shortcut-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  border-radius: 999px;
  background: var(--acid);
  padding: 13px 18px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 730;
}

.shortcut-copy > a span {
  font-size: 17px;
}

.shortcut-board {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.22);
}

.shortcut-row {
  min-height: 116px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.shortcut-row > div:first-child span {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 680;
}

.shortcut-row small {
  color: #97a8a0;
  font-size: 10px;
}

.key-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.key-group > span {
  color: #809188;
  font-size: 9px;
  text-transform: uppercase;
}

kbd {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom-width: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  color: #f4f7f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.shortcut-tip {
  padding: 19px 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(201, 255, 91, 0.075);
}

.shortcut-tip > span {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-weight: 800;
}

.shortcut-tip p {
  margin: 0;
  color: #a7b6af;
  font-size: 10px;
  line-height: 1.5;
}

.shortcut-tip strong {
  color: white;
}

.privacy-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 42px;
}

.privacy-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 62px 64px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  border: 1px solid rgba(16, 35, 30, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(130deg, rgba(201, 255, 91, 0.45), rgba(201, 255, 91, 0.08) 44%, rgba(255, 255, 255, 0.7)),
    var(--card);
}

.privacy-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(16, 35, 30, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(16, 35, 30, 0.025), 0 0 0 90px rgba(16, 35, 30, 0.018);
}

.privacy-stamp {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: var(--ink);
  box-shadow: 0 13px 30px rgba(16, 35, 30, 0.25);
  transform: rotate(-4deg);
}

.privacy-stamp span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.privacy-card > div:nth-child(2) {
  position: relative;
  z-index: 1;
}

.privacy-card h2 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 3.7vw, 52px);
}

.privacy-card > div > p:last-child {
  max-width: 610px;
}

.privacy-card > a {
  position: relative;
  z-index: 1;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 730;
  white-space: nowrap;
}

.privacy-card > a:hover {
  background: var(--ink);
  color: white;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-heading {
  position: sticky;
  top: 45px;
  align-self: start;
}

.faq-heading h2 {
  margin-top: 18px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-list summary {
  position: relative;
  padding-right: 42px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.025em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: -4px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #e6e7df;
  font-size: 17px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--acid);
}

.faq-list details p {
  max-width: 620px;
  margin: 16px 0 0;
  padding-right: 48px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid rgba(16, 35, 30, 0.14);
  color: #758079;
  font-size: 11px;
}

footer p {
  margin: 0;
  color: #4a5952;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
}

footer > span {
  justify-self: end;
}

@media (max-width: 980px) {
  .section-heading {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading .section-kicker {
    grid-column: 1 / -1;
  }

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

  .shortcut-section {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .privacy-card {
    grid-template-columns: 90px 1fr;
    padding: 48px;
  }

  .privacy-stamp {
    width: 82px;
    height: 82px;
    border-radius: 27px;
  }

  .privacy-card > a {
    grid-column: 2;
    justify-self: start;
  }

  .faq-section {
    gap: 55px;
  }
}

@media (max-width: 680px) {
  .use-section,
  .faq-section,
  .privacy-section {
    width: min(100% - 28px, 1180px);
  }

  .use-section,
  .faq-section {
    padding: 84px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 42px;
  }

  .section-heading .section-kicker {
    grid-column: auto;
  }

  .section-heading h2,
  .shortcut-copy h2,
  .faq-heading h2 {
    font-size: 42px;
  }

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

  .use-card {
    min-height: 205px;
  }

  .shortcut-section {
    width: calc(100% - 18px);
    padding: 76px 20px;
    gap: 44px;
    border-radius: 26px;
  }

  .shortcut-row {
    padding: 22px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .key-group {
    flex-wrap: wrap;
  }

  .privacy-section {
    padding-top: 82px;
  }

  .privacy-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 35px 26px;
  }

  .privacy-card > a {
    grid-column: auto;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .faq-heading {
    position: static;
  }

  footer {
    width: min(100% - 28px, 1180px);
    padding: 30px 0;
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}
