/* ============================================================
   TaskHutch marketing site — taskhutch.com
   Brand: design/taskhutch-brand.md + design/taskhutch-tokens.css
   Sizing deviations carried over from the product (see CLAUDE.md):
   44px buttons at 12px radius, 16px cards, 14px pills, outlined
   secondary buttons, 3px green focus rings, sentence case.
   Theme follows the visitor's OS/browser via prefers-color-scheme.
   ============================================================ */

:root {
  --th-font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --th-font-body: "Inter", "Noto Sans", ui-sans-serif, system-ui, sans-serif;

  /* Brand — one hex each, identical in light and dark. */
  --th-accent: #008040;
  --th-accent-hover: #056b39;
  --th-info: #3075cf;
  --th-info-hover: #1d5fb4;
  --th-danger: #cf4030;
  --th-warn: #a26a1a;
  --th-on-accent: #ffffff;

  /* Neutrals — light. */
  --th-bg: #f5f3ef;
  --th-surface: #ffffff;
  --th-raised: #faf9f6;
  --th-border: #e7e4df;
  --th-border-strong: #d8d4cd;
  --th-text: #191b19;
  --th-text-muted: #6e7169;

  --th-accent-soft: #e0faed;
  --th-info-soft: #e3ecf7;
  --th-danger-soft: #f7e5e3;
  --th-warn-soft: #f7efe3;

  --th-ring: 0 0 0 3px color-mix(in srgb, var(--th-accent) 45%, transparent);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --th-bg: #101312;
    --th-surface: #171a19;
    --th-raised: #1e2220;
    --th-border: #272b29;
    --th-border-strong: #343936;
    --th-text: #e9eae7;
    --th-text-muted: #969a94;

    --th-accent-soft: #10261b;
    --th-info-soft: #141e2b;
    --th-danger-soft: #2a1715;
    --th-warn-soft: #241b12;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--th-bg);
  color: var(--th-text);
  font-family: var(--th-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- type scale (brand §3.1) ---------------- */

h1,
h2,
h3 {
  font-family: var(--th-font-display);
  margin: 0;
}

.display {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

h1:not(.display) {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--th-text-muted);
  max-width: 34em; /* body line length under 80 characters */
}

@media (max-width: 640px) {
  .display {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  h1:not(.display) {
    font-size: 28px;
  }
}

/* ---------------- icons ---------------- */

.ic {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ic-lg {
  width: 24px;
  height: 24px;
}

/* Feature-card icon chip: neutral, not green — colour is spent elsewhere. */
.icbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--th-raised);
  border: 1px solid var(--th-border);
  margin-bottom: 14px;
}

/* ---------------- logo lockup ---------------- */

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.375em;
  color: var(--th-text); /* the logo stays in the text colour, never green */
  text-decoration: none;
}

.lockup svg {
  width: 1.3em;
  height: 1.3em;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--th-font-display);
  letter-spacing: -0.035em;
  font-size: 1.05em;
  line-height: 1;
  white-space: nowrap;
}

.wordmark b {
  font-weight: 800;
}

.wordmark span {
  font-weight: 500;
}

/* ---------------- buttons (product sizing: 44px / 12px) ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: var(--th-font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--th-ring);
}

.btn-primary {
  background: var(--th-accent);
  color: var(--th-on-accent);
}

.btn-primary:hover {
  background: var(--th-accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--th-text);
  box-shadow: inset 0 0 0 1px var(--th-border-strong);
}

.btn-secondary:hover {
  background: var(--th-raised);
}

.btn-secondary:focus-visible {
  box-shadow: inset 0 0 0 1px var(--th-border-strong), var(--th-ring);
}

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--th-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--th-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.site-header .lockup {
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-nav a:not(.btn) {
  color: var(--th-text-muted);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

.site-nav a:not(.btn):hover,
.site-nav a.on {
  color: var(--th-text);
}

.site-nav a.on {
  font-weight: 500;
}

.site-nav a:focus-visible {
  outline: none;
  border-radius: 6px;
  box-shadow: var(--th-ring);
}

/* Mobile menu */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--th-text);
  cursor: pointer;
}

.menu-btn:focus-visible {
  outline: none;
  box-shadow: var(--th-ring);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--th-border);
  background: var(--th-surface);
  padding: 8px 24px 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: var(--th-text);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--th-border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav .btn {
  display: inline-flex;
  margin-top: 12px;
  border-bottom: none;
}

.mobile-nav.open {
  display: block;
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }
}

/* ---------------- hero ---------------- */

.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero .display {
  margin: 0 auto;
  max-width: 15em;
}

.hero .lead {
  margin: 20px auto 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  section {
    padding: 48px 0;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .frame {
    margin-top: 40px;
  }

  .section-head {
    margin-bottom: 32px;
  }
}

/* Page hero (inner pages) */
.page-hero {
  padding: 64px 0 20px;
}

.page-hero .lead {
  margin-top: 16px;
}

.page-hero .kicker {
  font-size: 13px;
  font-weight: 500;
  color: var(--th-text-muted);
  margin: 0 0 12px;
}

/* ============================================================
   App frame — a faithful recreation of the product UI:
   browser chrome, sidebar (2.5px green active bar), top bar
   with search/bell/avatar, and the working views inside.
   ============================================================ */

.frame {
  margin: 56px auto 0;
  max-width: 980px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  font-size: 14px;
}

.frame-body {
  display: flex;
  min-height: 380px;
}

/* Sidebar */
.fr-side {
  width: 176px;
  flex-shrink: 0;
  border-right: 1px solid var(--th-border);
  padding: 14px 12px;
  background: var(--th-surface);
}

.fr-side .lockup {
  font-size: 15px;
  margin: 2px 0 14px 7px;
}

.fr-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--th-text-muted);
  font-size: 13.5px;
}

.fr-link svg {
  width: 16px;
  height: 16px;
}

.fr-link.active {
  background: var(--th-raised);
  color: var(--th-text);
  font-weight: 500;
}

.fr-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 2.5px;
  border-radius: 2px;
  background: var(--th-accent);
}

/* Main pane */
.fr-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--th-bg);
}

.fr-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--th-border);
  background: var(--th-surface);
}

.fr-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 260px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--th-border);
  background: var(--th-bg);
  color: var(--th-text-muted);
  font-size: 12.5px;
}

.fr-search svg {
  width: 13px;
  height: 13px;
}

.fr-top > svg {
  width: 17px;
  height: 17px;
  color: var(--th-text-muted);
  margin-left: auto;
}

.fr-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--th-text);
  color: var(--th-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.fr-content {
  padding: 16px;
  flex: 1;
  overflow-x: auto;
}

/* Floating mobile nav bar — the product's phone navigation: five
   labelled items in a wide rounded bar, the active one green. */
.fr-pill {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  justify-content: space-between;
  padding: 10px 6px 9px;
  border-radius: 22px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.14);
}

.fr-pill span {
  display: inline-flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--th-text-muted);
}

.fr-pill span svg {
  width: 20px;
  height: 20px;
}

.fr-pill i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
}

.fr-pill .active {
  color: var(--th-accent);
}

/* The product's phone top bar: lockup left, then icon-only search,
   bell, avatar. Hidden on desktop, where the sidebar carries the logo. */
.fr-top-lockup {
  display: none;
}

/* The board's Filters / + New row, phone layout only. */
.fr-actions {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 0;
}

.fr-filter,
.fr-new {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
}

.fr-filter {
  box-shadow: inset 0 0 0 1px var(--th-border-strong);
}

.fr-filter svg {
  width: 16px;
  height: 16px;
}

.fr-new {
  background: var(--th-accent);
  color: var(--th-on-accent);
}

.fr-new svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 720px) {
  .fr-side {
    display: none;
  }

  .frame-body {
    position: relative;
    min-height: 460px;
  }

  .fr-pill {
    display: flex;
  }

  .fr-actions {
    display: flex;
  }

  .fr-top-lockup {
    display: inline-flex;
    font-size: 17px;
    margin-right: auto;
  }

  /* Top bar blends into the page like the app's: no bar, just icons. */
  .fr-top {
    background: transparent;
    border-bottom: none;
    padding: 12px 14px 2px;
  }

  /* The search field collapses to its icon. */
  .fr-search {
    flex: 0 0 auto;
    max-width: none;
    height: auto;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0;
    gap: 0;
    margin-left: auto;
    color: var(--th-text-muted);
  }

  .fr-search svg {
    width: 19px;
    height: 19px;
  }

  .fr-top > svg {
    margin-left: 0;
    width: 19px;
    height: 19px;
  }

  .fr-avatar {
    width: 30px;
    height: 30px;
  }

  /* Leave room for the nav bar so content never hides behind it. */
  .fr-content {
    padding: 12px 14px 86px;
  }
}

/* ---------------- board view ---------------- */

.board {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 560px;
}

.bcol {
  flex: 1;
  min-width: 0;
}

.bcol-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 10px;
  font-size: 13px;
  font-weight: 500;
}

.bcount {
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--th-surface);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06);
  color: var(--th-text-muted);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.bcards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 40px;
  border-radius: 12px;
}

.bcards.dragover {
  background: color-mix(in srgb, var(--th-accent) 7%, transparent);
  outline: 1.5px dashed var(--th-border-strong);
  outline-offset: -1.5px;
}

.bcard {
  position: relative;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  padding: 10px 12px;
}

/* Card furniture the phone layout shows: the ⋮ menu and the assignee
   chip, exactly like the product's cards. Hidden on desktop frames. */
.bcard-kebab {
  display: none;
  position: absolute;
  top: 10px;
  right: 11px;
  color: var(--th-text-muted);
  font-size: 15px;
  line-height: 1;
}

.bwho {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--th-surface);
  border: 1px solid var(--th-border-strong);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--th-text);
  flex-shrink: 0;
}

.bcard[draggable="true"] {
  cursor: grab;
}

.bcard.dragging {
  opacity: 0.5;
}

.bcard-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 500;
}

.bcard-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-left: 26px;
  font-size: 12px;
  color: var(--th-text-muted);
  font-variant-numeric: tabular-nums;
}

.bcard.is-done .bcard-title {
  color: var(--th-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--th-border-strong);
}

/* Category dot + name: the seeded categories carry their own hex. Shown as
   quiet text, not a coloured pill — the colour budget stays with status. */
.cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cat i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--th-border-strong);
}

/* The seeded categories each carry their own hex, like the product. */
.cat .c-marketing {
  background: #c2517e;
}

.cat .c-customer-support {
  background: #12897e;
}

.cat .c-sales {
  background: #5a63d8;
}

.cat .c-admin {
  background: #8a5bd6;
}

.cat .c-product {
  background: #c7930f;
}

/* Status circles — the product's ClickUp-style circle: dashed ring (to do),
   blue ring with a centre dot (in progress), red with a bar (blocked),
   filled green with a white tick (done). */
.sc {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  padding: 0;
  background: transparent;
  position: relative;
  top: 1px;
}

.sc:focus-visible {
  outline: none;
  box-shadow: var(--th-ring);
}

.sc-todo {
  border: 2px dashed var(--th-border-strong);
}

.sc-progress {
  border: 2px solid var(--th-info);
}

.sc-progress::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--th-info);
}

.sc-blocked {
  border: 2px solid var(--th-danger);
}

.sc-blocked::after {
  content: "";
  width: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--th-danger);
}

.sc-done {
  background: var(--th-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M14 33 l12 12 24 -26' fill='none' stroke='%23fff' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Status pills: coloured word on its own soft tint. Always a word. */
.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  padding: 2px 9px;
  border-radius: 6px;
  margin-left: auto;
  white-space: nowrap;
}

.pill-lg {
  font-size: 14px;
  padding: 2px 10px;
}

.pill-done {
  color: var(--th-accent);
  background: var(--th-accent-soft);
}

.pill-blocked {
  color: var(--th-danger);
  background: var(--th-danger-soft);
}

.pill-due {
  color: var(--th-warn);
  background: var(--th-warn-soft);
}

.pill-info {
  color: var(--th-info);
  background: var(--th-info-soft);
}

/* Progress bar — 6px, the one green. */
.progress {
  height: 6px;
  border-radius: 4px;
  background: var(--th-border);
  margin-top: 10px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--th-accent);
  transition: width 200ms ease;
}

/* ---------------- checklist ---------------- */

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 2px;
  border: none;
  background: transparent;
  color: var(--th-text);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}

.check-row:focus-visible {
  outline: none;
  border-radius: 6px;
  box-shadow: var(--th-ring);
}

.check-row + .check-row {
  border-top: 1px solid var(--th-border);
}

.check-row.is-done {
  color: var(--th-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--th-border-strong);
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1.5px var(--th-border-strong);
}

.check-row.is-done .tick,
.tick-full {
  background: var(--th-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M14 33 l12 12 24 -26' fill='none' stroke='%23fff' stroke-width='11' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: none;
}

/* ---------------- list view (table) ---------------- */

.ltable {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
}

.ltable th {
  text-align: left;
  font-weight: 500;
  color: var(--th-text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--th-border);
  white-space: nowrap;
}

.ltable td {
  padding: 12px;
  border-bottom: 1px solid var(--th-border);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ltable tr:last-child td {
  border-bottom: none;
}

.ltable .t-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  white-space: normal;
}

/* Phone list: keep Title, Status, and Due — the columns a thumb-width
   screen can actually read — instead of squeezing all six. */
@media (max-width: 640px) {
  .ltable {
    min-width: 0;
  }

  .ltable th:nth-child(3),
  .ltable td:nth-child(3),
  .ltable th:nth-child(4),
  .ltable td:nth-child(4),
  .ltable th:nth-child(6),
  .ltable td:nth-child(6) {
    display: none;
  }
}

/* ---------------- docs view ---------------- */

.docs {
  display: flex;
  gap: 0;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
}

.docs-tree {
  width: 190px;
  flex-shrink: 0;
  border-right: 1px solid var(--th-border);
  padding: 12px 8px;
  font-size: 13px;
}

.docs-tree .fr-link {
  padding: 6px 10px;
}

.docs-tree .nested {
  margin-left: 22px;
}

.docs-page {
  flex: 1;
  min-width: 0;
  padding: 20px 24px;
}

.docs-page h4 {
  font-family: var(--th-font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.docs-page p,
.docs-page li {
  font-size: 13.5px;
  color: var(--th-text-muted);
  margin: 0 0 8px;
}

.docs-page ul {
  padding-left: 18px;
  margin: 0;
}

@media (max-width: 640px) {
  .docs-tree {
    display: none;
  }
}

/* ---------------- calendar view ---------------- */

.cal {
  min-width: 620px;
}

.cal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.cal-views {
  display: inline-flex;
  margin-left: auto;
  border: 1px solid var(--th-border-strong);
  border-radius: 8px;
  overflow: hidden;
}

.cal-views span {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--th-text-muted);
}

.cal-views span + span {
  border-left: 1px solid var(--th-border-strong);
}

.cal-views .on {
  background: var(--th-raised);
  color: var(--th-text);
}

.cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0 1px;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--th-text-muted);
}

.cal-week span {
  padding: 0 8px;
}

/* 1px gaps over the border colour draw the gridlines, like the product. */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--th-border);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  overflow: hidden;
}

.cal-cell {
  background: var(--th-surface);
  min-height: 76px;
  padding: 6px;
  font-size: 12px;
}

.cal-cell.out {
  background: var(--th-raised);
}

.cal-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.cal-cell.out .cal-day {
  color: var(--th-text-muted);
}

.cal-day.today {
  background: var(--th-accent);
  color: var(--th-on-accent);
}

.cal-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
}

.cal-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--th-border-strong);
  flex-shrink: 0;
}

.cal-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-pill.is-done span {
  color: var(--th-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--th-border-strong);
}

/* Phone month view: like the product's, titles collapse to dots — the
   day answers "is anything due?", tapping through answers "what". */
@media (max-width: 640px) {
  .cal {
    min-width: 0;
  }

  .cal-week {
    font-size: 10px;
  }

  .cal-week span {
    padding: 0 4px;
  }

  .cal-cell {
    min-height: 52px;
    padding: 4px 5px;
  }

  .cal-day {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .cal-pill {
    padding: 1px 0;
  }

  .cal-pill span {
    display: none;
  }

  .cal-pill i {
    width: 7px;
    height: 7px;
  }
}

/* ---------------- notifications view ---------------- */

.notif {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  overflow: hidden;
}

.notif-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
}

.notif-row + .notif-row {
  border-top: 1px solid var(--th-border);
}

.notif-row .who {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--th-raised);
  border: 1px solid var(--th-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.notif-row .when {
  margin-left: auto;
  color: var(--th-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.mention {
  color: var(--th-info);
  background: var(--th-info-soft);
  border-radius: 4px;
  padding: 0 3px;
  font-weight: 500;
}

/* ---------------- sections ---------------- */

section {
  padding: 72px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}

.section-head .lead {
  margin-top: 12px;
}

.center {
  text-align: center;
}

.center .section-head {
  margin-inline: auto;
}

.center .lead {
  margin-inline: auto;
}

/* ---------------- feature grid ---------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 16px;
  padding: 24px;
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--th-text-muted);
}

a.feature {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 120ms ease;
}

a.feature:hover {
  border-color: var(--th-border-strong);
}

a.feature:focus-visible {
  outline: none;
  box-shadow: var(--th-ring);
}

a.feature .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--th-info); /* blue for links */
}

/* ---------------- tabs (features page) ---------------- */

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--th-border-strong);
  color: var(--th-text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.tab:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--th-border-strong), var(--th-ring);
}

.tab[aria-selected="true"] {
  background: var(--th-accent);
  color: var(--th-on-accent);
  box-shadow: none;
}

.tabpanel[hidden] {
  display: none;
}

.tabpanel .frame {
  margin-top: 0;
}

.tabpanel .blurb {
  margin: 20px auto 0;
  max-width: 620px;
}

/* ---------------- simple-on-purpose band ---------------- */

.plain {
  background: var(--th-surface);
  border-top: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}

.plain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 780px) {
  .plain-grid {
    grid-template-columns: 1fr;
  }
}

.plain ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
}

.plain li + li {
  border-top: 1px solid var(--th-border);
}

.plain li s {
  color: var(--th-text-muted);
  text-decoration-color: var(--th-border-strong);
}

/* ---------------- pricing ---------------- */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--th-border-strong);
  margin: 28px auto 0;
}

.billing-toggle button {
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--th-text-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.billing-toggle button:focus-visible {
  outline: none;
  box-shadow: var(--th-ring);
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--th-accent);
  color: var(--th-on-accent);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
  text-align: left;
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

.plan {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--th-accent);
  box-shadow: inset 0 0 0 1px var(--th-accent);
}

.plan h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan .price {
  font-family: var(--th-font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 16px 0 2px;
  font-variant-numeric: tabular-nums;
}

.plan .per {
  font-size: 13px;
  color: var(--th-text-muted);
  min-height: 20px;
}

.plan ul {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  flex: 1;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
}

.plan li .tick-full {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan .btn {
  width: 100%;
}

/* ---------------- FAQ ---------------- */

.faq {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.faq details {
  border-bottom: 1px solid var(--th-border);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--th-font-display);
  font-size: 20px;
  color: var(--th-text-muted);
}

.faq details[open] summary::after {
  content: "–";
}

.faq summary:focus-visible {
  outline: none;
  border-radius: 8px;
  box-shadow: var(--th-ring);
}

.faq details p {
  margin: 0 4px 16px;
  font-size: 15px;
  color: var(--th-text-muted);
  max-width: 60ch;
}

/* ---------------- teams ---------------- */

.team-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 780px) {
  .team-points {
    grid-template-columns: 1fr;
  }
}

.quote {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  margin: 0;
  font-family: var(--th-font-display);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.quote figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--th-text-muted);
}

/* ---------------- closing CTA ---------------- */

.cta {
  text-align: center;
  padding: 88px 0;
}

.cta .lead {
  margin: 16px auto 0;
}

.cta .hero-actions {
  margin-top: 28px;
}

/* ---------------- footer ---------------- */

.site-footer {
  border-top: 1px solid var(--th-border);
  padding: 40px 0 48px;
}

.footer-grid {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer .lockup {
  font-size: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 130px;
}

.footer-col b {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--th-text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--th-text);
}

.site-footer .fineprint {
  margin: 32px 0 0;
  font-size: 13px;
  color: var(--th-text-muted);
}

/* On a phone the board works like the product's: each column is a
   rounded panel — collapse chevron, count, quick-add in its header —
   shown one at a time with a sliver of the next, swipe (snap) between. */
@media (max-width: 720px) {
  .board {
    min-width: 0;
    margin: 0 -14px;
    padding: 0 14px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .bcol {
    flex: 0 0 84%;
    min-width: 0;
    scroll-snap-align: start;
    background: var(--th-surface);
    border: 1px solid var(--th-border);
    border-radius: 16px;
    padding: 12px;
  }

  .bcol-head {
    font-size: 15px;
    font-weight: 600;
    padding: 2px 2px 12px;
  }

  .bcol-head::before {
    content: "‹";
    font-size: 19px;
    line-height: 0.8;
    color: var(--th-text-muted);
  }

  .bcol-head .bcount {
    margin-left: auto;
  }

  .bcol-head::after {
    content: "+";
    font-size: 19px;
    line-height: 0.8;
    color: var(--th-text-muted);
    margin-left: 2px;
  }

  .bcard {
    background: var(--th-raised);
    padding: 12px 14px;
  }

  .bcard-title {
    font-size: 15.5px;
    padding-right: 16px;
  }

  .bcard .sc {
    width: 20px;
    height: 20px;
  }

  .bcard-kebab {
    display: block;
  }

  .bwho {
    display: inline-flex;
  }

  .bcard-meta {
    padding-left: 30px;
    font-size: 13px;
    gap: 9px;
  }
}

/* ---------------- founder's letter ---------------- */

.letter {
  background: var(--th-surface);
  border-top: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}

.letter .wrap {
  max-width: 720px;
}

.letter h2 {
  margin-bottom: 24px;
}

.letter p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 62ch; /* body line length stays under 80 characters */
}

.letter p em {
  font-style: italic;
}

.letter a {
  color: var(--th-info); /* blue for links */
  text-decoration: underline;
  text-underline-offset: 2px;
}

.letter a:hover {
  color: var(--th-info-hover);
}

.letter a:focus-visible {
  outline: none;
  border-radius: 4px;
  box-shadow: var(--th-ring);
}

.sign-off {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--th-border);
}

/* The signature is a graphic, not interface type — the one place the site
   sets anything outside Manrope and Inter. Swap in a scan of the real
   signature and this rule can go. */
.signature {
  font-family: "Caveat", cursive;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  padding-bottom: 6px;
  white-space: nowrap;
}

.sign-off .who-name {
  font-size: 15px;
  line-height: 1.5;
}

.sign-off .who-name b {
  font-weight: 600;
  display: block;
}

.sign-off .who-name span {
  color: var(--th-text-muted);
}

@media (max-width: 560px) {
  .letter p {
    font-size: 16px;
  }

  .sign-off {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .signature {
    font-size: 38px;
  }
}

/* ============================================================
   Views added since the first cut of the site: the dashboard,
   the notes wall, the repeat rule, and the small furniture that
   comes with them (view toggle, unread badge, PR chip, ⌘K keys).
   ============================================================ */

/* The sidebar's unread count, riding the bell. */
.fr-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--th-accent);
  color: var(--th-on-accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* List / board toggle — the segmented control in the tasks header. */
.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--th-border);
  background: var(--th-surface);
  gap: 2px;
}

.seg span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 30px;
  border-radius: 7px;
  color: var(--th-text-muted);
  font-size: 12.5px;
}

.seg span svg {
  width: 14px;
  height: 14px;
}

.seg .on {
  background: var(--th-raised);
  color: var(--th-text);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--th-border);
}

/* The frame's header line — page name left, controls right, the way
   PageHeader lays every page out in the product. */
.fr-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.fr-head h4 {
  font-family: var(--th-font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.fr-head .fr-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* On a phone the tasks header is the Filters / New row .fr-actions already
   draws above the content, so that one — and only that one — steps aside. */
@media (max-width: 720px) {
  .fr-head.is-dup {
    display: none;
  }

  .fr-head h4 {
    font-size: 17px;
  }
}

/* ---------------- notes wall ---------------- */

.notes-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.note {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--th-border);
  border-radius: 16px;
  background: var(--th-surface);
  overflow: hidden;
}

.note-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--th-border) 70%, transparent);
  color: var(--th-text-muted);
  font-size: 11.5px;
}

.note-head .dots {
  margin-left: auto;
  letter-spacing: -1px;
}

.note-head svg {
  width: 12px;
  height: 12px;
}

.note-body {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
}

.note-body b {
  font-weight: 600;
}

.note-body ul {
  margin: 6px 0 0;
  padding-left: 16px;
}

.note-body li {
  margin-bottom: 2px;
}

/* Tints: the four -soft tokens, exactly as the product offers them. */
.note.n-green { background: var(--th-accent-soft); }
.note.n-blue { background: var(--th-info-soft); }
.note.n-amber { background: var(--th-warn-soft); }
.note.n-red { background: var(--th-danger-soft); }

/* The dark -soft tokens are a whisper — they sit under coloured text, not on
   their own — so a dark note mixes a fifth of the hue into the card instead,
   which is what the product does. Enough to tell green from plain across a
   wall, not enough to shout. */
@media (prefers-color-scheme: dark) {
  .note.n-green { background: color-mix(in srgb, var(--th-accent) 20%, var(--th-surface)); }
  .note.n-blue { background: color-mix(in srgb, var(--th-info) 20%, var(--th-surface)); }
  .note.n-amber { background: color-mix(in srgb, var(--th-warn) 20%, var(--th-surface)); }
  .note.n-red { background: color-mix(in srgb, var(--th-danger) 20%, var(--th-surface)); }
}

/* The always-blank first square: type into it and it becomes a note. */
.note.n-new {
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-style: dashed;
  border-color: var(--th-border-strong);
  background: transparent;
  color: var(--th-text-muted);
  font-size: 13px;
}

.note.n-new svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 860px) {
  .notes-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .notes-wall {
    grid-template-columns: minmax(0, 1fr);
  }

  .note-body {
    font-size: 13.5px;
  }
}

/* ---------------- dashboard ---------------- */

.dash {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: 14px;
  align-items: start;
}

.dash-card {
  border: 1px solid var(--th-border);
  border-radius: 16px;
  background: var(--th-surface);
  padding: 12px 14px;
}

.dash-card + .dash-card {
  margin-top: 12px;
}

.dash-card h5 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--th-text-muted);
}

.dash-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 13.5px;
}

.dash-line + .dash-line {
  border-top: 1px solid color-mix(in srgb, var(--th-border) 70%, transparent);
}

.dash-line .when {
  margin-left: auto;
  color: var(--th-text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.dash-line .when.late {
  color: var(--th-danger);
}

/* Quick capture: type a title, press Enter, the task exists. */
.qcap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--th-border);
  background: var(--th-surface);
  color: var(--th-text-muted);
  font-size: 13px;
}

.qcap svg {
  width: 14px;
  height: 14px;
}

.qcap .kbd {
  margin-left: auto;
}

/* Three-day columns. */
.three-day {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.three-day .day {
  border: 1px solid var(--th-border);
  border-radius: 12px;
  background: var(--th-surface);
  padding: 10px;
  min-height: 96px;
}

.three-day .day-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--th-text-muted);
  margin-bottom: 8px;
}

.three-day .day.is-today .day-name {
  color: var(--th-accent);
}

.three-day .chip {
  display: block;
  border-radius: 8px;
  background: var(--th-raised);
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.35;
}

.three-day .chip + .chip {
  margin-top: 6px;
}

/* The focus timer, in the dashboard rail: a number, a ring, one button. */
.pomo {
  border: 1px solid var(--th-border);
  border-radius: 16px;
  background: var(--th-surface);
  padding: 16px 14px;
  text-align: center;
}

.pomo-ring {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 10px;
}

.pomo-ring svg {
  width: 132px;
  height: 132px;
  transform: rotate(-90deg);
}

.pomo-ring .track {
  fill: none;
  stroke: var(--th-border);
  stroke-width: 6;
}

.pomo-ring .run {
  fill: none;
  stroke: var(--th-accent);
  stroke-width: 6;
  stroke-linecap: round;
}

.pomo-time {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.pomo-time b {
  font-family: var(--th-font-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pomo-time span {
  font-size: 11.5px;
  color: var(--th-text-muted);
}

.pomo-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--th-text-muted);
}

.pomo-btns svg {
  width: 15px;
  height: 15px;
}

.pomo-btns .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--th-accent);
  color: var(--th-on-accent);
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 720px) {
  .dash {
    grid-template-columns: minmax(0, 1fr);
  }

  .three-day {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------- repeat rule ---------------- */

.rrule {
  border: 1px solid var(--th-border);
  border-radius: 16px;
  background: var(--th-surface);
  padding: 16px 18px;
}

.rrule h5 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}

.rrule-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--th-text-muted);
}

.rrule-row + .rrule-row {
  margin-top: 10px;
}

.field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--th-border);
  background: var(--th-bg);
  color: var(--th-text);
  font-size: 13.5px;
}

.field svg {
  width: 13px;
  height: 13px;
  color: var(--th-text-muted);
}

.days {
  display: inline-flex;
  gap: 6px;
}

.days span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--th-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--th-text-muted);
}

.days .on {
  background: var(--th-accent);
  border-color: var(--th-accent);
  color: var(--th-on-accent);
  font-weight: 600;
}

.rrule-next {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--th-border);
  font-size: 13px;
  color: var(--th-text-muted);
}

.rrule-next b {
  color: var(--th-text);
  font-weight: 600;
}

/* ---------------- pull request chip ---------------- */

.prchip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--th-border);
  background: var(--th-surface);
  font-size: 13px;
}

.prchip svg {
  width: 14px;
  height: 14px;
  color: var(--th-text-muted);
}

.prchip .repo {
  color: var(--th-text-muted);
}

.pill-merged {
  background: var(--th-info-soft);
  color: var(--th-info);
}

/* ---------------- slash menu (docs editor) ---------------- */

.slashmenu {
  width: 220px;
  border: 1px solid var(--th-border);
  border-radius: 12px;
  background: var(--th-surface);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.12);
  padding: 6px;
}

.slash-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--th-text-muted);
}

.slash-row svg {
  width: 14px;
  height: 14px;
}

.slash-row.on {
  background: var(--th-raised);
  color: var(--th-text);
}

/* ---------------- keycaps ---------------- */

.kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--th-border);
  background: var(--th-raised);
  color: var(--th-text-muted);
  font-family: var(--th-font-body);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
}
