/* UnType. White page, charcoal text, pine for anything live or chosen, tobacco for small labels. See BRAND.md. */
:root {
  --ink: #16191A;
  --ink-2: #4A453D;
  --paper: #FFFFFF;
  --soft: #F4F4F2;
  --card: #FFFFFF;
  --line: #E4E4E0;
  --pine: #3D5852;
  --pine-dark: #2E4540;
  --pine-light: #6E978C;
  --pine-soft: #DDE3DC;
  --pine-soft-2: #CFD8D0;
  --tobacco: #7A6044;
  --on-dark: #EDE6DA;
  --cut: #A8561F;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 19px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--line); }
.top__in { max-width: 1120px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -0.04em; }
.logo img { width: 30px; height: 30px; }
.logo span { font-weight: 500; }

.top__nav { display: flex; align-items: center; gap: 20px; }
.top__link { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.top__link:hover { color: var(--pine); text-decoration: underline; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 64px; padding: 0 34px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--pine); color: var(--paper); font: inherit; font-weight: 800; font-size: 21px; letter-spacing: -0.015em;
  text-decoration: none; transition: background 160ms ease, transform 160ms ease;
}
.btn:hover { background: var(--pine-dark); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 18px; border-radius: 9px; font-size: 16px; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #2B3234; }
.band--dark .btn { background: var(--on-dark); color: var(--ink); }
.band--dark .btn:hover { background: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [role="tabpanel"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* hero */
.hero { padding-block: 40px 60px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tobacco); }
.hero h1 { margin-top: 12px; font-size: clamp(54px, 10vw, 112px); }
.proofs { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; }
.proofs li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.story h2 { margin-top: 48px; font-size: clamp(26px, 3.4vw, 34px); }
.story p { margin-top: 14px; font-size: 20px; line-height: 1.5; }
.story .btn { margin-top: 10px; }
.proofs--stack { grid-template-columns: 1fr; margin-top: 18px; }
.proofs b { display: block; margin-bottom: 4px; font-size: 19px; font-weight: 800; color: var(--pine); letter-spacing: -0.01em; }
h1 { margin-top: 18px; font-weight: 900; font-size: clamp(42px, 7vw, 82px); line-height: 1.02; letter-spacing: -0.045em; max-width: 1020px; }
.sub { margin-top: 22px; font-size: clamp(20px, 2.4vw, 25px); line-height: 1.4; color: var(--ink-2); max-width: 800px; }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.fine { font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.maker { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.maker img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }

/* demo */
.demo { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pane { border-radius: 16px; padding: 24px 26px 28px; }
.pane--said { background: var(--soft); }
.pane--typed { background: var(--ink); color: var(--on-dark); }
.pane__label { color: var(--tobacco); font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.pane--typed .pane__label { color: var(--pine-light); }
.pane__text { font-size: clamp(22px, 2.6vw, 29px); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.pane__text s { color: var(--cut); text-decoration-thickness: 3px; }

/* hero animation */
.demo .pane--said { display: flex; flex-direction: column; }
.pane--said .pane__text { flex: 1; min-height: 4.2em; }
.pane__text .later { color: transparent; }
.keycap { align-self: flex-start; margin-top: 18px; padding: 7px 12px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 8px; background: var(--card); font-size: 15px; font-weight: 700; transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, color 120ms ease; }
.keycap.is-down { transform: translateY(2px); border-bottom-width: 1px; background: var(--pine); border-color: var(--pine); color: var(--paper); }
.win { position: relative; display: flex; flex-direction: column; min-height: 300px; padding-bottom: 64px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); overflow: hidden; box-shadow: 0 10px 30px rgba(22, 25, 26, 0.08); }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--soft); font-size: 14px; font-weight: 700; color: var(--ink-2); }
.win__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.win__bar span { margin-left: 8px; }
.win__row { padding: 9px 18px; border-bottom: 1px solid var(--line); font-size: 16px; }
.win__row b { display: inline-block; width: 68px; font-weight: 600; color: var(--ink-2); }
.win__body { padding: 16px 18px; font-size: 19px; line-height: 1.45; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--ink); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.pill { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; min-width: 76px; height: 38px; padding: 0 16px; border-radius: 19px; background: var(--ink); color: #5FD07A; opacity: 0; transition: opacity 160ms ease; }
.pill.is-talk, .pill.is-think, .pill.is-done { opacity: 1; }
.pill__bars, .pill__dots, .pill__tick { display: none; }
.pill.is-talk .pill__bars { display: flex; align-items: center; gap: 3px; height: 20px; }
.pill__bars i { width: 3px; height: 100%; border-radius: 2px; background: #fff; animation: talk 700ms ease-in-out infinite alternate; }
.pill__bars i:nth-child(2n) { animation-delay: -220ms; }
.pill__bars i:nth-child(3n) { animation-delay: -430ms; }
@keyframes talk { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.pill.is-think .pill__dots { display: flex; gap: 5px; }
.pill__dots i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: think 800ms ease-in-out infinite; }
.pill__dots i:nth-child(2) { animation-delay: 130ms; }
.pill__dots i:nth-child(3) { animation-delay: 260ms; }
@keyframes think { 50% { opacity: 0.3; transform: translateY(-2px); } }
.pill.is-done .pill__tick { display: block; }
.show__note { margin-top: 10px; }

/* talking vs typing */
.race { margin-top: 32px; display: grid; gap: 22px; max-width: 860px; }
.lane { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; }
.lane__name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.lane__time { font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.lane__bar { grid-column: 1 / -1; height: 18px; border-radius: 9px; background: var(--soft); overflow: hidden; }
.lane__bar i { display: block; height: 100%; width: 100%; border-radius: 9px; background: var(--ink); transform-origin: left; }
.lane--talk .lane__bar i { background: var(--pine); }
.lane--talk .lane__time { color: var(--pine); }
.note a { color: inherit; }

/* app scenes */
.tabs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 46px; padding: 0 20px; border: 2px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); cursor: pointer; font: inherit; font-size: 17px; font-weight: 800; }
.tab:hover { border-color: var(--pine); }
.tab[aria-selected="true"] { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.scene { margin-top: 16px; }
.scene__text { font-size: clamp(19px, 2vw, 22px); line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.scene__text s { color: var(--cut); text-decoration-thickness: 2px; }

/* sections */
section { padding: 72px 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.band--dark { background: var(--ink); color: var(--on-dark); border-block: 0; }
.band--dark .lede { color: var(--on-dark); }
h2 { font-weight: 900; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.04em; max-width: 880px; }
.lede { margin-top: 14px; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4; color: var(--ink-2); max-width: 760px; }

.steps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.step b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pine); color: var(--paper); font-weight: 900; font-size: 20px; }
.step h3, .card h3 { margin-top: 14px; font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.025em; }
.step p, .card p { margin-top: 8px; color: var(--ink-2); font-size: 18px; line-height: 1.4; }

.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.card h3 { margin-top: 0; }

/* pricing */
.prices { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price { display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 26px; }
.price--main { border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); }
.price h3 { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.price__tag { display: inline-block; align-self: flex-start; margin-top: 8px; padding: 3px 10px; border-radius: 6px; background: var(--pine-soft); color: var(--pine-dark); font-size: 15px; font-weight: 800; }
.price__amt { margin-top: 14px; font-weight: 900; font-size: 56px; line-height: 1; letter-spacing: -0.045em; }
.price__amt small { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.price__amt { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 4px; }
.price p { margin: 12px 0 20px; color: var(--ink-2); font-size: 17px; line-height: 1.4; flex: 1; }
.price .btn { width: 100%; font-size: 18px; min-height: 56px; padding: 0 14px; }
.note { margin-top: 20px; font-size: 16px; color: var(--ink-2); max-width: 760px; }

/* maker */
.about { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; }
.about img { width: 240px; height: 280px; object-fit: cover; object-position: 50% 15%; border-radius: 16px; }
.about p { margin-top: 12px; font-size: 20px; line-height: 1.45; }

/* faq */
.faq { margin-top: 28px; }
.faq details { border-top: 2px solid var(--ink); padding: 16px 0; }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.faq p { margin-top: 8px; color: var(--ink-2); }

.end { text-align: center; }
.end h2, .end .lede { margin-left: auto; margin-right: auto; }
.end .cta { justify-content: center; }
.band--dark .fine { color: var(--on-dark); }

footer { padding-block: 26px; font-size: 15px; color: var(--ink-2); }

/* app speed chart. Bars start at zero, so their lengths are the real ratio. */
.speed { margin-top: 32px; max-width: 860px; display: grid; gap: 18px; }
.speed__cap { font-size: 16px; font-weight: 700; color: var(--tobacco); }
.speed__row { display: grid; grid-template-columns: 120px 1fr 96px; gap: 16px; align-items: center; }
.speed__name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.speed__bar { height: 26px; border-radius: 13px; background: var(--soft); overflow: hidden; }
.speed__bar i { display: block; height: 100%; border-radius: 13px; background: var(--ink); }
.speed__time { font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -0.03em; text-align: right; font-variant-numeric: tabular-nums; }
.speed__row--us .speed__bar i { background: var(--pine); }
.speed__row--us .speed__time, .speed__row--us .speed__name { color: var(--pine); }
.speed__catch { margin-top: 26px; font-size: 19px; max-width: 760px; }
.band__link { margin-top: 16px; font-size: 18px; }
.band__link a { color: inherit; }
@media (max-width: 560px) {
  .speed__row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .speed__bar { grid-column: 1 / -1; grid-row: 2; height: 20px; }
  .speed__time { font-size: 26px; }
}

/* comparison table. UnType is the one dark tab and the one tinted column. */
.compare { margin-top: 34px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-top: 12px; }
.compare table { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare th, .compare td { padding: 20px 10px; text-align: center; vertical-align: middle; font-size: 16px; line-height: 1.25; }
.compare thead th { padding: 20px 8px 16px; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; vertical-align: bottom; background: var(--soft); border-radius: 18px 18px 0 0; border-left: 4px solid var(--paper); }
.compare thead th img { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 11px; }
.compare thead th.us { padding: 30px 10px 18px; background: var(--ink); color: #fff; font-size: 24px; font-weight: 900; }
.compare thead th.us img { width: 58px; height: 58px; border-radius: 0; }
.compare thead td { background: var(--paper); }
.compare tbody th { width: 21%; padding-left: 16px; text-align: left; font-size: 18px; font-weight: 700; background: var(--paper); border-radius: 12px 0 0 12px; }
.compare tbody td { border-left: 4px solid var(--paper); background: var(--paper); }
.compare tbody tr:nth-child(odd) th, .compare tbody tr:nth-child(odd) td { background: var(--soft); }
.compare tbody td.us { background: var(--pine-soft); }
.compare tbody tr:nth-child(odd) td.us { background: var(--pine-soft-2); }
.compare tbody tr:last-child td.us { border-radius: 0 0 18px 18px; }
.compare .num { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.compare td.us .num { font-size: 30px; font-weight: 900; color: var(--pine-dark); }
.compare small { display: block; font-size: 13px; color: var(--ink-2); }
.soft { font-size: 14px; color: var(--ink-2); }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 16px; font-weight: 900; line-height: 1; }
.mark--yes { background: var(--pine-light); color: #fff; }
.mark--yes::before { content: "\2713"; }
.mark--no { background: var(--paper); color: var(--cut); box-shadow: inset 0 0 0 1px var(--line); }
.mark--no::before { content: "\2715"; font-size: 13px; }
td.us .mark--yes { width: 36px; height: 36px; background: var(--pine); font-size: 20px; }
.compare__swipe { display: none; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--tobacco); }
@media (max-width: 1000px) {
  .compare__swipe { display: block; }
  .compare { margin-top: 8px; }
  .compare table { min-width: 940px; }
  .compare thead th:not(.us) { font-size: 14px; letter-spacing: -0.01em; padding-inline: 4px; }
  .compare tbody th, .compare thead td { position: sticky; left: 0; z-index: 1; width: 124px; font-size: 15px; }
  .compare tbody th { padding-left: 10px; padding-right: 10px; }
}

/* privacy page */
.legal h1 { font-size: clamp(36px, 6vw, 56px); }
.legal h2 { margin-top: 44px; font-size: clamp(26px, 3.6vw, 34px); }
.legal p, .legal ul { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal__date { font-size: 16px; color: var(--ink-2); }

/* small pages */
.page { min-height: 70vh; padding-block: 56px; }
.key { margin-top: 18px; padding: 16px 18px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font: 600 16px/1.4 ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.field { width: 100%; min-height: 56px; margin-top: 18px; padding: 0 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 10px; font: inherit; }
.page .btn { margin-top: 14px; }
.switch { display: inline-block; margin-top: 18px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; color: var(--pine); text-decoration: underline; }
.label { display: block; margin-top: 26px; font-size: 16px; font-weight: 700; }
.label + .field { margin-top: 8px; }
.panel { margin-top: 16px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.panel__label { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tobacco); }
.panel__big { margin-top: 8px; font-size: 32px; font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
.panel p:not(.panel__label):not(.panel__big) { margin-top: 8px; font-size: 18px; line-height: 1.4; color: var(--ink-2); }
.panel .btn { margin-top: 16px; }
.panel .key { margin-top: 12px; background: var(--paper); }
.error { margin-top: 12px; color: var(--cut); font-weight: 700; }

@media (max-width: 860px) {
  .demo, .steps, .cards, .prices, .proofs { grid-template-columns: 1fr; }
  .win { min-height: 270px; }
  .lane__time { font-size: 36px; }
  .about { grid-template-columns: 1fr; }
  .about img { width: 100%; max-width: 320px; height: 300px; }
  section { padding: 54px 0; }
  .hero { padding-block: 36px 52px; }
  .btn { width: 100%; }
  .top .btn { width: auto; }
}

@media (max-width: 460px) {
  .top__in { padding-inline: 16px; gap: 10px; }
  .top__nav { gap: 12px; }
  .top__link { font-size: 15px; }
  .top .btn--sm { padding: 0 12px; font-size: 15px; }
  .logo div { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .caret, .pill__bars i, .pill__dots i { animation: none; }
  .btn:hover { transform: none; }
}

/* Welcome page: install steps for the early access app */
.install { margin-top: 18px; padding-left: 22px; list-style: decimal; text-align: left; }
.install li { margin-top: 10px; line-height: 1.5; }
