:root {
  --paper: #f4f7f2;
  --surface: #ffffff;
  --ink: #1c1f1c;
  --muted: #5c665f;
  --green: #1c6b42;
  --green-deep: #173d2c;
  --footer: #1a4a34;
  --line: #e3e8e1;
  --mint: #e7f6ea;
  --chip: #d9f3df;
  --max: 72rem;
  --measure: 65ch;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--green); text-underline-offset: 0.18em; }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--surface);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 3;
}

.skip:focus { transform: none; }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 2;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  min-height: 4.5rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-word { font-size: 1.35rem; }

.logo { display: block; flex: none; }

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.site-header nav { min-width: 0; margin-left: auto; }

.nav-list a {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.75rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-list a[aria-current="page"] { background: var(--chip); color: #145c38; }

.nav-list a:hover { background: var(--surface); }

.pill,
.button,
.footer-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.pill { flex: none; }

.button { padding-inline: 1.2rem; font-size: 1rem; }

.button:hover,
.pill:hover,
.footer-play:hover { background: #10291d; }

.icon { display: block; flex: none; }

main.page { padding-block: 2.25rem 4rem; }

.intro-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 48% 70% at 92% 18%, #d5eed6 0%, transparent 58%),
    radial-gradient(ellipse 36% 46% at 0% 0%, #e8f6e8 0%, transparent 62%),
    var(--paper);
}

.hero { position: relative; padding-block: 1.5rem 1rem; }

.hero-leaves {
  position: absolute;
  right: -2rem;
  top: 0.5rem;
  width: min(36rem, 52%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid,
.tools,
.phone-figure { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin: 0 0 1rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: #e5f5e6;
  color: #1d7a49;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 11ch;
  margin: 0 0 1rem;
  font-size: clamp(2.7rem, 5vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.line-ink { color: var(--ink); }

.line-green { color: var(--green); }

.lede,
.alt-line,
.section-lede {
  max-width: 36rem;
  margin: 0;
  color: #3e4741;
}

.lede { font-size: 1.12rem; }

.alt-line { margin-top: 0.35rem; }

.actions { margin-top: 1.4rem; }

.release {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.phone-figure { margin: 0; justify-self: center; }

.phone {
  width: min(18.2rem, 100%);
  margin-inline: auto;
  padding: 0.55rem;
  border-radius: 2.3rem;
  background: #1c1c1c;
  box-shadow: 0 28px 60px rgba(23, 61, 44, 0.16);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  min-height: 34rem;
  padding: 0.7rem 0.75rem 0.65rem;
  border-radius: 1.85rem;
  background: #f7f8f6;
  color: var(--ink);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem 0.35rem;
}

.phone-kicker {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.phone-sub,
.phone-heading {
  margin: 0.1rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.phone-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  margin: 0.35rem 0 0.8rem;
  padding: 0;
  list-style: none;
  text-align: center;
}

.phone-week li { display: grid; gap: 0.2rem; justify-items: center; }

.phone-week span { color: var(--muted); font-size: 0.68rem; }

.phone-week b {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
}

.phone-week .is-on b { background: var(--green); color: #fff; }

.phone-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phone-list li,
.phone-new {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.7rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.85rem;
  background: #fff;
}

.phone-glyph {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green);
}

.phone-glyph .icon { width: 16px; height: 16px; }

.phone-name { display: grid; min-width: 0; }

.phone-name strong { font-size: 0.86rem; }

.phone-name small { color: var(--muted); font-size: 0.72rem; }

.phone-value {
  margin-left: auto;
  font-weight: 750;
  font-size: 0.95rem;
}

.phone-check {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-left: auto;
  border-radius: 0.4rem;
  background: var(--green);
  color: #fff;
}

.phone-check .icon { width: 14px; height: 14px; }

.phone-new {
  justify-content: center;
  margin: 0.7rem 0 0;
  background: #e7f6e4;
  color: #2c7a4b;
  font-weight: 700;
  font-size: 0.9rem;
}

.phone-tabs {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.7rem 0.35rem 0.2rem;
  color: #8b938c;
}

.phone-tabs .is-on { color: var(--green); }

.phone-tabs .icon { width: 18px; height: 18px; }

.phone-figure figcaption {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.tools { padding-block: 1.5rem 3.5rem; }

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 750;
}

h2 { margin: 0 0 0.45rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }

h3 { margin: 0; font-size: 1.05rem; }

.section-lede { margin-bottom: 1.1rem; }

.tool-grid,
.card-grid,
.grid {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tool-card,
.card,
.board,
.panel,
.callout,
.shot,
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  box-shadow: 0 10px 28px rgba(23, 61, 44, 0.04);
}

.tool-card {
  display: block;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.2rem;
  color: inherit;
  text-decoration: none;
}

.tool-card h3 { margin-top: 0.75rem; color: var(--ink); }

.tool-card p { margin: 0.3rem 0 0; color: var(--muted); }

.tool-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: var(--mint);
  color: var(--green);
}

.quiet { color: var(--muted); max-width: 40rem; }

.discover {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-block: 3rem 3.5rem;
}

.discover-grid { display: grid; gap: 2.5rem; }

.switcher {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.switcher-tabs { display: grid; gap: 0.45rem; align-content: start; }

.switcher-tab { position: relative; }

.switcher-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

.switcher-tab label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.switcher-tab label .icon { width: 18px; height: 18px; }

.switcher-tab:has(input:focus-visible) label {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.switcher-panels {
  background: #f3faf4;
  border-radius: 1.15rem;
  padding: 1.2rem 1.25rem 1.3rem;
}

.switcher-panel { display: grid; gap: 1rem; align-items: center; }

.switcher-panel h3 { font-size: 1.35rem; }

.switcher-panel h3 a {
  color: var(--ink);
  text-decoration: none;
}

.switcher-panel h3 a:hover { text-decoration: underline; }

.switcher-panel p { margin: 0.45rem 0 0; color: #3e4741; }

.example-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin-top: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--chip);
  color: #145c38;
  font-weight: 700;
  text-decoration: none;
}

.habit-week {
  display: flex;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.habit-week li { display: grid; gap: 0.3rem; justify-items: center; color: var(--muted); font-size: 0.75rem; font-weight: 700; }

.habit-week i {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.4rem;
  background: #fff;
  border: 1px solid #d5e0d6;
  color: var(--green);
}

.habit-week i.is-on { background: #edf8ee; }

.habit-week .icon { width: 14px; height: 14px; }

.disclosures { display: grid; gap: 0.6rem; }

.disclosures details,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.disclosures summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.disclosures summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  flex: none;
}

.disclosures details[open] summary::after { transform: rotate(225deg) translateY(-0.1rem); }

.disclosures details p { margin: 0; padding: 0 1rem 1rem; color: #3e4741; }

.site-footer {
  background: var(--footer);
  color: #e7f3ec;
}

.footer-band {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding-block: 1.6rem 1.2rem;
}

.footer-brand,
.footer-pitch { display: grid; gap: 0.2rem; }

.footer-brand { grid-template-columns: auto 1fr; column-gap: 0.9rem; align-items: center; }

.footer-brand p,
.footer-pitch p { margin: 0; }

.brand-on-dark { color: #fff; grid-row: span 1; }

.footer-brand p { color: #d5e8de; }

.footer-title { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.03em; color: #fff; }

.footer-play {
  justify-self: start;
  background: #e7f6ea;
  color: var(--footer);
}

.footer-play:hover { background: #fff; color: var(--footer); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: 0.7rem 1.1rem;
  color: #d5e8de;
  font-size: 0.92rem;
}

.footer-meta p { margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.crumbs { margin: 0 0 1.1rem; color: var(--muted); }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.measure > p,
.measure > h2,
.measure > h3,
.measure > ul:not(.card-grid),
.measure > ol,
.measure > section > p,
.measure > section > ul:not(.card-grid),
.measure > section > ol,
.measure > section > h2,
.measure > section > h3 { max-width: var(--measure); }

.page h1 { margin: 0 0 0.8rem; font-size: clamp(2rem, 4vw, 3.1rem); }

.card { padding: 1rem 1.1rem 0.6rem; }

.card h3 a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-thickness: 1px;
}

.card p { margin: 0.25rem 0 0.7rem; }

.type {
  margin: 0.2rem 0 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

table {
  width: 100%;
  max-width: 36rem;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  background: var(--surface);
}

caption { text-align: left; font-weight: 750; margin-bottom: 0.4rem; }

th, td {
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.7rem;
  overflow-wrap: anywhere;
}

th { width: 38%; }

.shots {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 2rem 0 0;
  list-style: none;
}

.shot { padding: 0.6rem; margin: 0; }

.shot img { display: block; border-radius: 0.7rem; background: var(--paper); }

figcaption { margin-top: 0.45rem; color: var(--muted); }

.faq-list { display: grid; gap: 0.75rem; margin-top: 1.25rem; }

.faq-item { padding: 0.35rem 1.15rem 0.9rem; }

.faq-item h2 { font-size: 1.15rem; }

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr); gap: 2rem; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .switcher { grid-template-columns: 13rem minmax(0, 1fr); }
  .panel-habits { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (min-width: 980px) {
  .discover-grid { grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr); gap: 2rem; align-items: start; }
  .footer-band { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; }
  .footer-brand p {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    margin-left: 0.2rem;
    padding-left: 0.9rem;
  }
  .footer-play { justify-self: end; }
  .shots { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 700px) {
  .grid.cols-2,
  .card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 799px) {
  .header-row { padding-block: 0.4rem; }
  .site-header nav { order: 3; width: 100%; margin-left: 0; }
  .nav-list { width: 100%; justify-content: flex-start; }
  .nav-list a { padding-inline: 0.55rem; }
  .pill { margin-left: auto; }
  .hero h1 { max-width: none; }
  .hero-leaves { width: min(18rem, 70%); top: auto; bottom: -2rem; opacity: 0.8; }
  .footer-brand { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .wrap { width: min(calc(100% - 1.5rem), var(--max)); }
}

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

/* The build appends rules that show the selected use-case panel. */
.switcher:has(input:checked) .switcher-panel { display: none; }

.switcher:has(#uc-habits:checked) .panel-habits{display:grid}
.switcher:has(#uc-workouts:checked) .panel-workouts{display:grid}
.switcher:has(#uc-expenses:checked) .panel-expenses{display:grid}
.switcher:has(#uc-sleep:checked) .panel-sleep{display:grid}
.switcher:has(#uc-mood:checked) .panel-mood{display:grid}
.switcher:has(#uc-habits:checked) label[for="uc-habits"]{background:#d9f3df;border-color:#cfead4;color:#145c38}
.switcher:has(#uc-workouts:checked) label[for="uc-workouts"]{background:#d9f3df;border-color:#cfead4;color:#145c38}
.switcher:has(#uc-expenses:checked) label[for="uc-expenses"]{background:#d9f3df;border-color:#cfead4;color:#145c38}
.switcher:has(#uc-sleep:checked) label[for="uc-sleep"]{background:#d9f3df;border-color:#cfead4;color:#145c38}
.switcher:has(#uc-mood:checked) label[for="uc-mood"]{background:#d9f3df;border-color:#cfead4;color:#145c38}
