/* teamgeist.work: landing page and dashboard demo. Bricolage Grotesque
   (display), Schibsted Grotesk (text) and JetBrains Mono (labels, numbers),
   all SIL Open Font License, self-hosted, latin and latin-ext subsets only.
   Bricolage Grotesque (wght, opsz) and Schibsted Grotesk (wght) are
   variable fonts. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f2f3ee;
  --ink: #15201a;
  --line: #dce0d8;
  --white: #ffffff;
  --green: #1f6b52;
  --muted: #56625b;
  --placeholder: #6b756f;
  --soft: #ecefea;
  --soft-green: #e3eee7;
  --green-ink: #15402f;
  --soft-orange: #f7e8dc;
  --orange-ink: #6e3410;
  --grey-ink: #3d4741;
  --orange: #b4541a;
  --dark-line: #2c3a33;
  --dark-sub: #b7c2bb;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1280px;
}

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

[hidden] {
  display: none !important;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
}
a:hover {
  color: var(--ink);
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
textarea {
  font: inherit;
}
textarea::placeholder {
  color: var(--placeholder);
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
/* The green ring disappears on dark and green cards. */
.on-dark :focus-visible {
  outline-color: var(--bg);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
strong {
  font-weight: 600;
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}
.skip:hover {
  color: var(--bg);
}

/* Top bar */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.topbar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover {
  color: var(--ink);
}
.brand svg {
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
}
.topbar__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar__team {
  font-size: 13px;
  color: var(--muted);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

/* Layout */
.main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--gutter) 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}
.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__lead {
  max-width: 360px;
  color: var(--muted);
  font-size: 16px;
  text-wrap: pretty;
}

/* Cards */
.card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card--checkin {
  flex: 1 1 480px;
}
.card--climate {
  flex: 1 1 420px;
  background: var(--ink);
  border: 0;
  color: var(--bg);
}
.card--wide {
  flex: 999 1 640px;
  gap: 20px;
}
.card--side {
  flex: 1 1 380px;
  gap: 18px;
}
.card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.card__head--center {
  align-items: center;
}
.card__head--nowrap {
  flex-wrap: nowrap;
}
.card__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}
.card__title--lg {
  font-size: 24px;
  letter-spacing: -0.01em;
}
.card__sub,
.note {
  font-size: 13px;
  color: var(--muted);
}
.card--climate .card__sub,
.card--climate .note {
  color: var(--dark-sub);
}
.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card--climate .card__foot {
  margin-top: auto;
  border-top: 1px solid var(--dark-line);
  padding-top: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  text-decoration: none;
}
.btn--green,
.btn--submit {
  background: var(--green);
  color: var(--white);
}
.btn--submit:disabled {
  background: var(--soft);
  color: var(--muted);
}
.btn--ink {
  background: var(--ink);
  color: var(--bg);
}
.btn--light {
  background: var(--bg);
  color: var(--ink);
}
.btn--outline {
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}
.btn:hover {
  color: inherit;
}
.btn--green:hover,
.btn--ink:hover {
  color: var(--bg);
}
.btn--green:hover {
  color: var(--white);
}
.icon-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mood check-in */
.moods {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.mood {
  min-height: 88px;
  padding: 12px 4px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mood__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mood);
}
.mood__label {
  font-size: 13px;
  font-weight: 600;
}
.mood[aria-pressed="true"] {
  background: var(--mood);
  border-color: var(--mood);
  color: var(--mood-on);
}
.mood[aria-pressed="true"] .mood__dot {
  background: var(--mood-on);
}
.mood--stressed,
.dot--stressed {
  --mood: #b4541a;
  --mood-on: #ffffff;
}
.mood--concerned,
.dot--concerned {
  --mood: #e09a5b;
  --mood-on: var(--ink);
}
.mood--neutral,
.dot--neutral {
  --mood: #a9afa8;
  --mood-on: var(--ink);
}
.mood--content,
.dot--content {
  --mood: #6fa88e;
  --mood-on: var(--ink);
}
.mood--happy,
.dot--happy {
  --mood: var(--green);
  --mood-on: #ffffff;
}
.history {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.history__title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.history__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.history__row {
  display: grid;
  grid-template-columns: 14px 96px 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mood);
}
.date {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}
.history__text {
  font-size: 14px;
}

/* Team climate */
.pulse {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pulse__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pulse__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.pulse__q {
  font-size: 14px;
  color: #e3e8e4;
}
.pulse__v {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 20px;
  color: var(--bg);
}
.pulse__v--low {
  color: #f0b27e;
}
.track {
  height: 6px;
  border-radius: 3px;
  background: var(--dark-line);
  overflow: hidden;
}
.track--light {
  background: var(--soft);
}
.fill {
  height: 6px;
  border-radius: 3px;
  background: #8fd1b0;
}
.fill--low {
  background: #e09a5b;
}
.fill--green {
  background: var(--green);
}
.w-0 { width: 0; }
.w-25 { width: 25%; }
.w-50 { width: 50%; }
.w-72 { width: 72%; }
.w-75 { width: 75%; }
.w-78 { width: 78%; }
.w-85 { width: 85%; }
.w-91 { width: 91%; }
.w-100 { width: 100%; }

/* Numbered sections */
.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.section__head--split {
  flex-wrap: wrap;
  justify-content: space-between;
}
.section__label {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.section__no {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--green);
}
.section__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
}

/* Retrospective */
.retro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 12px;
}
.retro__col {
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--soft);
  color: var(--grey-ink);
}
.retro__col--mad {
  background: var(--soft-orange);
  color: var(--orange-ink);
}
.retro__col--glad {
  background: var(--soft-green);
  color: var(--green-ink);
}
.retro__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.retro__title {
  font-weight: 600;
  font-size: 15px;
}
.retro__count {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
}
.retro__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.retro__item {
  background: var(--white);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
}
.retro__text {
  font-size: 14px;
  line-height: 1.4;
}
.vote {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
}

/* Micro-feedback */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.member {
  min-height: 44px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.member__av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--green-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}
.member[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.member[aria-pressed="true"] .member__av {
  background: var(--bg);
  color: var(--ink);
}
.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg);
}
.segmented button {
  min-height: 44px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.segmented button[aria-pressed="true"] {
  background: var(--white);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.field textarea {
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-weight: 400;
  background: var(--white);
  color: var(--ink);
}
.field--grow {
  flex: 1;
}
.field--grow textarea {
  flex: 1;
}
.recent {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.recent__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.recent__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fb {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fb__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.fb__arrow {
  color: var(--muted);
}
.fb__date {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.fb__text {
  font-size: 14px;
  line-height: 1.45;
  text-wrap: pretty;
}
.tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--soft-green);
  color: var(--green-ink);
}
.tag--growth {
  background: var(--soft-orange);
  color: var(--orange-ink);
}

/* Skill map */
.legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.swatch {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}
.scroll {
  overflow-x: auto;
}
.matrix {
  min-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.matrix__row {
  display: grid;
  grid-template-columns: 120px repeat(6, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}
.matrix__row--head {
  align-items: end;
}
.matrix__row--avg {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 4px;
}
.matrix__skill {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}
.matrix__name {
  font-size: 14px;
  font-weight: 500;
}
.matrix__avg-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.cell {
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
}
.l0 { background: #ecefea; }
.l1 { background: #cfe3d7; }
.l2 { background: #95c4aa; }
.l3 { background: #357a5c; color: #ffffff; }
.l4 { background: #15402f; color: #ffffff; }
.avg {
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
}
.avg--gap {
  border: 1.5px dashed var(--orange);
  color: var(--orange-ink);
}
.hint {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--soft-orange);
}
.hint__text {
  font-size: 14px;
  color: var(--orange-ink);
}
.hint a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-ink);
}
.hint a:hover {
  color: var(--ink);
}

/* Action items */
.progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.progress__top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.progress__label {
  color: var(--muted);
}
.actions {
  display: flex;
  flex-direction: column;
}
.action {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.action input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--green);
  cursor: pointer;
}
.action__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.action__title {
  font-size: 14px;
  font-weight: 500;
}
.action input:checked + .action__body .action__title {
  text-decoration: line-through;
  color: var(--muted);
}
.action__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.prio {
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  background: var(--soft);
  color: var(--grey-ink);
}
.prio--high {
  background: var(--orange);
  color: #ffffff;
}
.prio--medium {
  background: var(--soft-orange);
  color: var(--orange-ink);
}

/* Kudos */
.kudos-form {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.kudos-form__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kudos-form__col--msg {
  gap: 12px;
}
.kudos-form__label {
  font-size: 13px;
  font-weight: 600;
}
.chip {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.chip--cat {
  padding: 0 12px;
  border-radius: 8px;
}
.chip--cat[aria-pressed="true"] {
  background: var(--soft-green);
  border-color: var(--green);
  color: var(--green-ink);
}
.kudos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.kudo {
  min-height: 280px;
  padding: 28px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  color: var(--ink);
  --btn-border: var(--line);
}
.kudo--green {
  background: var(--green);
  color: #ffffff;
  --btn-border: rgba(255, 255, 255, 0.5);
}
.kudo--ink {
  background: var(--ink);
  color: var(--bg);
  --btn-border: rgba(242, 243, 238, 0.4);
}
.kudo__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.kudo__cat {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kudo__date,
.kudo__from {
  opacity: 0.8;
}
.kudo__date {
  font-size: 12px;
}
.kudo__msg {
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.kudo__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.kudo__who {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}
.like {
  min-width: 64px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: transparent;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
}

/* Footer and imprint */
.footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px var(--gutter);
}
.footer__row {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.footer__row a {
  display: inline-block;
  padding: 12px 4px;
  margin: -12px -4px;
  color: var(--muted);
}
.footer__row a:hover {
  color: var(--ink);
}
.imprint {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.imprint__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}
.imprint__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 24px 32px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.imprint__grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.imprint__label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.imprint address {
  font-style: normal;
}
/* Bigger hit area for the standalone links, same layout. */
.imprint__grid a {
  display: inline-block;
  padding: 12px 0;
  margin: -12px 0;
}

/* Landing page */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.btn--lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}
.lp-hero {
  padding-top: 72px;
  padding-bottom: 104px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.lp-hero__text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.lp-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lp-lead {
  max-width: 580px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.lp-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.lp-note {
  font-size: 13px;
  color: var(--muted);
}
.lp-preview {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-mini {
  flex: none;
  padding: 24px;
  gap: 18px;
}
.lp-mini .mood {
  min-height: 72px;
}
.mood.is-on {
  background: var(--mood);
  border-color: var(--mood);
  color: var(--mood-on);
}
.mood.is-on .mood__dot {
  background: var(--mood-on);
}
.lp-section {
  padding-bottom: 104px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.lp-section__head {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 48px;
}
.lp-section__title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lp-section__aside {
  max-width: 380px;
  font-size: 16px;
  color: var(--muted);
  text-wrap: pretty;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__no {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--green);
}
.step__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.step__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.step__tags {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.step__tags li {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 600;
}
.stats-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stats-group__title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.stats-group--gain .stats-group__title {
  color: var(--green);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
}
.stats-group--gain .stat__num {
  color: var(--green);
}
.stat__text {
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}
.stat__source {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.stat__source a {
  display: inline-block;
  padding: 14px 0;
  margin: -14px 0;
  color: var(--muted);
}
.stat__source a:hover {
  color: var(--ink);
}
.lp-why {
  margin-bottom: 104px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 24px;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.lp-why .eyebrow {
  color: #8fd1b0;
}
.lp-why__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
}
.pillar {
  border-top: 1px solid var(--dark-line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.pillar__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--dark-sub);
}
.lp-cta {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}
.lp-cta__text {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
}
.lp-cta__text p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.lp-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.lp-cta__alt {
  font-size: 14px;
  color: var(--muted);
}
.lp-cta__alt a {
  display: inline-block;
  padding: 12px 0;
  margin: -12px 0;
}
.footer--landing {
  padding-top: 104px;
}

/* Demo page */
.demo-bar {
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
}
.demo-bar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
}
.demo-bar__text {
  padding: 12px 0;
}
.demo-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bg);
  font-weight: 600;
}
.demo-bar a:hover {
  color: #8fd1b0;
}

/* Text pages (privacy, 404) */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px var(--gutter) 32px;
}
.page h1 {
  margin: 12px 0 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page h2 {
  margin: 40px 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.page p,
.page li {
  font-size: 16px;
  line-height: 1.65;
}
.page p + p {
  margin-top: 12px;
}
.page ul {
  margin-top: 12px;
  padding-left: 22px;
  list-style: disc;
}
.page li + li {
  margin-top: 6px;
}
.page .lead {
  font-size: 18px;
  color: var(--muted);
}
.page .fineprint {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
}
.page .btn {
  margin-top: 32px;
}
.footer--slim {
  padding-top: 32px;
}

/* On phones the landing header keeps logo and demo button on one row;
   the sections are a scroll away. */
@media (max-width: 640px) {
  .topbar__actions .nav {
    display: none;
  }
  .lp-hero {
    padding-top: 48px;
    padding-bottom: 80px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 22px 24px;
  }
  .demo-bar__text {
    padding: 8px 0 0;
  }
}

/* Five mood labels need about 430px side by side; below that the scale
   breaks into three and two. */
@media (max-width: 540px) {
  .moods {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .mood {
    grid-column: span 2;
    min-height: 72px;
  }
  .mood:nth-child(n + 4) {
    grid-column: span 3;
  }
}

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