/* Mitten Technology. System fonts only: no third-party requests. */
:root {
  --snow: #f3f6f8;
  --frost: #dde6eb;
  --navy: #14223a;
  --navy-2: #24365a;
  --ink: #14223a;
  --dim: #56627a;
  --berry: #b8283f;
  --pine: #1e5b4a;
  --card: #ffffff;
  --line: #c6d2da;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --knit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='42'%3E%3Crect width='12' height='42' fill='%2314223a'/%3E%3Cg fill='%23f3f6f8'%3E%3Cellipse cx='3.3' cy='7' rx='2.4' ry='5.4' transform='rotate(-25 3.3 7)'/%3E%3Cellipse cx='8.7' cy='7' rx='2.4' ry='5.4' transform='rotate(25 8.7 7)'/%3E%3Cellipse cx='3.3' cy='35' rx='2.4' ry='5.4' transform='rotate(-25 3.3 35)'/%3E%3Cellipse cx='8.7' cy='35' rx='2.4' ry='5.4' transform='rotate(25 8.7 35)'/%3E%3C/g%3E%3Cg fill='%23b8283f'%3E%3Cellipse cx='3.3' cy='21' rx='2.4' ry='5.4' transform='rotate(-25 3.3 21)'/%3E%3Cellipse cx='8.7' cy='21' rx='2.4' ry='5.4' transform='rotate(25 8.7 21)'/%3E%3C/g%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --snow: #0f1828;
    --frost: #17233a;
    --ink: #e8eef2;
    --dim: #9aa8bd;
    --card: #16223a;
    --line: #2c3d5c;
    --berry: #e2556b;
    --pine: #5fb39a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font: 17px/1.6 var(--body);
}
a { color: inherit; text-decoration-color: var(--berry); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--berry); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }

.mark { width: 34px; height: 37px; flex: none; }
.mark .b { stroke: var(--ink); }
.mark .t { stroke: var(--berry); }
.mark.small { width: 17px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* header */
.top {
  max-width: 1080px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--round); letter-spacing: -.01em; }
.brand i { font-style: normal; font-weight: 500; color: var(--dim); margin-left: 6px; }
.top nav { display: flex; gap: 20px; font: 500 15px/1 var(--mono); }
.top nav a { text-decoration: none; }

/* type */
h1, h2, h3 { font-family: var(--round); letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 8vw, 92px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 750; }
.eyebrow {
  font: 600 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  color: var(--pine); margin: 0 0 18px;
}
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--dim); max-width: 36em; margin: 22px 0 0; }
.quiet { color: var(--dim); font-size: 14px; }

/* hero */
main { display: block; }
.hero { max-width: 1080px; margin: 0 auto; padding: 72px 24px 88px; }

.knit { height: 42px; background: var(--knit) repeat-x; background-size: 12px 42px; }

/* apps */
.band { background: var(--frost); }
.band > * { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.band-head { padding-top: 64px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.band-head p { margin: 0; font-family: var(--mono); }
.cards {
  list-style: none; margin: 0 auto; padding-top: 28px; padding-bottom: 80px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px;
}
.card {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 22px;
  min-height: 260px; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card > a, .card.slot { padding: 24px; display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
.card:not(.slot):hover { transform: translateY(-3px); border-color: var(--berry); box-shadow: 0 14px 30px -18px rgba(20, 34, 58, .45); }
.card h3 { font-size: 30px; font-weight: 750; margin: 28px 0 10px; }
.card p { margin: 0; color: var(--dim); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); color: var(--dim); }
.chip {
  font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  background: var(--pine); color: #fff; padding: 6px 10px; border-radius: 999px;
}
.chip.ghost { background: transparent; color: var(--dim); border: 1.5px dashed var(--line); }
.more { margin-top: auto; padding-top: 24px; font: 600 14px/1 var(--mono); color: var(--berry); }
.more b { display: inline-block; transition: transform .18s ease; }
.card:hover .more b { transform: translateX(4px); }
.card.slot { background: transparent; border-style: dashed; }
.card.slot h3 { color: var(--dim); }

/* about */
.about {
  max-width: 1080px; margin: 0 auto; padding: 88px 24px 96px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px;
}
.tenets { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 22px; }
.tenets li { counter-increment: t; display: grid; grid-template-columns: 44px 1fr; color: var(--dim); }
.tenets li::before { content: "0" counter(t); font: 600 14px/1.9 var(--mono); color: var(--berry); }
.tenets b { color: var(--ink); font-weight: 650; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* app pages */
.app-hero { max-width: 820px; margin: 0 auto; padding: 56px 24px 8px; }
.app-hero .quiet { margin: 14px 0 0; }
.appnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding-bottom: 28px; border-bottom: 1.5px solid var(--line); }
.appnav a {
  text-decoration: none; font: 500 14px/1 var(--mono); padding: 10px 14px; border-radius: 999px;
  border: 1.5px solid var(--line);
}
.appnav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .appnav a[aria-current="page"] { background: var(--berry); border-color: var(--berry); } }
.app-body, .prose { max-width: 820px; margin: 0 auto; padding: 28px 24px 96px; }
.app-body > p:first-child { font-size: 19px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px 28px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 9px;
  border-left: 2.5px solid var(--pine); border-bottom: 2.5px solid var(--pine); transform: rotate(-45deg);
}
.btn {
  display: inline-block; font: 650 16px/1 var(--round); padding: 16px 24px; border-radius: 16px;
  background: var(--berry); color: #fff; text-decoration: none;
}
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn.off { background: transparent; color: var(--dim); border: 1.5px dashed var(--line); }

.prose h2 { font-size: 22px; margin: 40px 0 10px; }
.prose .lede { margin-top: 0; color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }
.faq dt { font-weight: 650; margin-top: 26px; }
.faq dd { margin: 6px 0 0; color: var(--dim); }

/* footer */
.foot { margin-top: 0; }
.foot-in { background: var(--navy); color: #dfe7ee; padding: 32px 24px 40px; }
.foot-in p { max-width: 1080px; margin: 0 auto 6px; font: 500 14px/1.5 var(--mono); }
.foot-in .quiet { color: #93a3bb; font-size: 13px; }
.foot .mark .b { stroke: #dfe7ee; }
.foot .mark .t { stroke: #e2556b; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
