/* Kind of Human — site styles. One family (Hanken Grotesk, self-hosted), near-monochrome, colour comes from the app icons. */

/* Hanken Grotesk, variable 400–800, SIL OFL 1.1 (assets/fonts/OFL.txt). Self-hosted: no requests to Google. */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/hanken-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: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/hanken-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;
}

:root {
  --ink: #0d0d0f;
  --ink-2: #3d3e45;
  --ink-3: #55565e;
  --ink-4: #6b6c74;
  --line: #e4e4e8;
  --line-2: #dcdce1;
  --tile: #f3f3f5;
  --field: #8a8b93;
  --paper: #ffffff;
  --dark: #0d0d0f;
  --on-dark: #f5f5f7;
  --on-dark-2: #e1e1e6;
  --on-dark-3: #a9a9b2;
  --on-dark-4: #c7c7cf;
  --error: #b42318;
  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ink-3); }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--on-dark); }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--wrap); margin-inline: auto; }

/* Skip link */
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 60; padding: 12px 18px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid #ececef;
}
.bar {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 18px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s;
}
.nav a:hover { color: var(--ink); }
@media (max-width: 420px) { .nav a { padding: 0 8px; } }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2a2f; color: #fff; }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn svg, .arrowlink svg { flex: none; transition: transform .25s var(--ease); }
.btn:hover .i-down { transform: translateY(2px); }
.arrowlink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.arrowlink:hover { color: var(--ink); }
.arrowlink:hover .i-right { transform: translateX(3px); }
.arrowlink:hover .i-out { transform: translate(2px, -2px); }
.arrowlink-lg { min-height: 52px; font-size: 16px; }
.linkbtn {
  min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px;
  font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}

/* Hero */
.hero { padding: clamp(72px, 10vw, 140px) 24px clamp(72px, 9vw, 128px); }
.hero h1 {
  margin: 0; font-size: clamp(44px, 7.4vw, 112px); font-weight: 800;
  line-height: .98; letter-spacing: -.045em;
}
.hero-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 48px; margin-top: clamp(36px, 4.4vw, 64px);
}
.hero-copy { flex: 1 1 360px; max-width: 520px; }
.lede { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; font-weight: 500; color: var(--ink-3); }
.hero .lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.dock { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); }
.dock a {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; color: var(--ink-3); text-decoration: none; transition: color .2s;
}
.dock a:hover { color: var(--ink); }
.appicon { border-radius: 22.5%; transition: transform .7s var(--ease); }
.dock .appicon {
  width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px);
  box-shadow: 0 1px 2px rgba(13, 13, 15, .08), 0 18px 36px -14px rgba(13, 13, 15, .4);
}
.dock a:hover .appicon { transform: translateY(-6px); }

/* Section scaffolding */
.section { padding: 0 24px clamp(88px, 10vw, 144px); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 48px; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head > div { flex: 1 1 420px; max-width: 640px; }
.h2 { margin: 0; font-size: clamp(36px, 4.8vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.h2 + .lede { margin-top: 18px; }
.pill {
  margin: 0; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.dot { position: relative; display: inline-block; width: 8px; height: 8px; }
.dot::before, .dot::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--ink); }
.dot::before { animation: ping 2.6s cubic-bezier(0, 0, .2, 1) infinite; }

/* App tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.tile {
  display: flex; flex-direction: column; min-height: 660px; padding: clamp(28px, 3.4vw, 44px);
  border-radius: 28px; background: var(--tile); color: var(--ink); overflow: hidden;
}
.tile-dark { background: var(--dark); color: var(--on-dark); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  display: inline-flex; align-items: center; height: 28px; padding: 0 11px;
  border: 1px solid #d4d4da; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.tile-dark .tags li { border-color: rgba(255, 255, 255, .22); color: var(--on-dark-4); }
.stage { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 40px 0 56px; }
.stage .appicon {
  width: clamp(148px, 15vw, 204px); height: clamp(148px, 15vw, 204px);
  box-shadow: 0 1px 2px rgba(13, 13, 15, .08), 0 30px 60px -18px rgba(13, 13, 15, .42);
}
.tile-dark .stage .appicon { box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 70px -18px rgba(0, 0, 0, .9); }
.tile:hover .stage .appicon { transform: translateY(-10px) scale(1.035); }
.tile h3 { margin: 0; font-size: clamp(30px, 2.8vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.tagline { margin: 10px 0 0; font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--ink-2); }
.tile-dark .tagline { color: var(--on-dark-2); }
.desc { margin: 8px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.tile-dark .desc { color: var(--on-dark-3); }
.tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.tile-dark .arrowlink, .tile-dark .arrowlink:hover { color: var(--on-dark); }
@media (max-width: 560px) {
  .tile { min-height: 0; }
  .stage { padding: 32px 0 40px; }
}

/* Two-column sections (waitlist, contact) */
.band { background: var(--tile); }
.split-section { padding: clamp(88px, 10vw, 136px) 24px; }
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(40px, 7vw, 112px); }
.split-intro { flex: 1 1 340px; max-width: 470px; }
.split-intro .lede { margin-top: 20px; }
.card { flex: 1 1 440px; min-width: 0; padding: clamp(24px, 3.2vw, 40px); border-radius: 24px; background: #fff; }
.card-outline { border: 1px solid var(--line); }
.contact-list { margin: 44px 0 0; display: flex; flex-direction: column; gap: 24px; }
.contact-list dt { font-size: 13px; font-weight: 600; color: var(--ink-4); }
.contact-list dd { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.contact-list .big { font-size: 18px; font-weight: 600; color: var(--ink); text-underline-offset: 4px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 24px; margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.label { display: block; padding: 0; margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid #c9c9d0; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 15px; font-weight: 600; cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.help { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-4); }
.inline-field { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-field .input { flex: 1 1 240px; width: auto; min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 24px 16px; }
.row > div { flex: 1 1 200px; min-width: 0; }
.input {
  display: block; width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 14px; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; min-height: 152px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(13, 13, 15, .12); }
.input::placeholder { color: var(--field); }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select svg { position: absolute; right: 16px; top: 18px; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-4); }
.consent { margin: -8px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.consent + .form-error + .note, .consent + .note { margin-top: -12px; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.submit-row .note { flex: 1 1 220px; }
.form-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fdf0ef; color: #8a1c12; font-size: 14px; line-height: 1.5; }
.form-error a { color: #8a1c12; font-weight: 600; }
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0; }
.done:focus { outline: none; }
.done-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 999px; background: var(--ink); color: #fff;
}
.done h3 { margin: 6px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.done p { margin: 0; max-width: 42ch; font-size: 16px; line-height: 1.55; color: var(--ink-3); }

/* Footer */
.site-footer { padding: 56px 24px 40px; border-top: 1px solid var(--line); background: var(--tile); color: var(--ink-3); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 1 1 240px; }
.footer-brand p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 80px); }
.footer-nav h2 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 40px; font-size: 14px;
  color: var(--ink-3); text-decoration: none; transition: color .2s;
}
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--ink); }
.footer-nav a[aria-current="page"] { font-weight: 600; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px;
  padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 12px; line-height: 1.6; color: var(--ink-4);
}
.footer-bottom p { margin: 0; }

/* Legal pages */
.page-main { padding: clamp(64px, 8vw, 112px) 24px clamp(88px, 10vw, 136px); }
.eyebrow { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-4); }
.page-main h1 { margin: 12px 0 0; font-size: clamp(44px, 6.4vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.page-main > .wrap > .lede { margin-top: 24px; max-width: 640px; }
.updated { margin: 16px 0 0; font-size: 14px; color: var(--ink-4); }
.legal-layout {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px clamp(40px, 7vw, 120px);
  margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid var(--line);
}
.toc { flex: 1 1 200px; max-width: 240px; }
.toc h2 { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; align-items: center; min-height: 40px; font-size: 15px; color: var(--ink-3); text-decoration: none; transition: color .2s; }
.toc a:hover { color: var(--ink); }
.prose { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.prose > section + section { margin-top: 64px; }
.prose h2 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.prose p, .prose ul { margin: 16px 0 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .88em; }
.summary { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--tile); }
.prose .summary h2 { font-size: 22px; }
.prose .checks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.prose .checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; line-height: 1.5; }
.prose .checks svg { flex: none; margin-top: 3px; }
.facts { margin: 24px 0 0; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { flex: 0 0 180px; font-size: 15px; font-weight: 600; }
.facts dd { flex: 1 1 280px; margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.table-wrap table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; line-height: 1.5; color: var(--ink-2); text-align: left; }
.table-wrap th, .table-wrap td { padding: 16px; vertical-align: top; }
.table-wrap thead tr { background: var(--tile); }
.table-wrap thead th { padding: 14px 16px; font-size: 13px; font-weight: 700; color: var(--ink); }
.table-wrap tbody tr { border-top: 1px solid var(--line); }
.table-wrap tbody th { font-weight: 700; color: var(--ink); }
.table-wrap .code { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.prose .ask { margin-top: 72px; padding: clamp(28px, 3.4vw, 44px); border-radius: 24px; background: var(--dark); color: var(--on-dark); }
.prose .ask h2 { font-size: clamp(24px, 2.4vw, 32px); }
.prose .ask p { margin-top: 10px; color: var(--on-dark-4); }
.prose .ask .btn { margin-top: 24px; }

/* 404 */
.notfound { padding: clamp(96px, 14vw, 200px) 24px; }
.notfound .lede { margin-top: 24px; max-width: 520px; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(1); opacity: .45; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
.rise { animation: rise 1s var(--ease) both; }
.d1 { animation-delay: .12s; }
.d2 { animation-delay: .28s; }
.d3 { animation-delay: .36s; }
.d4 { animation-delay: .44s; }
.d5 { animation-delay: .52s; }
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
