
:root {
  color-scheme: light dark;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --bg: #fbfbf9; --fg: #1d1c18; --fg-hover: #3b3a33;
  --card: #f2f1ed;
  --muted: color-mix(in oklab, var(--fg) 60%, transparent);
  --line: color-mix(in oklab, var(--fg) 14%, var(--bg));
  --ease: cubic-bezier(.25, 1, .5, 1);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14120b; --fg: #edecec; --fg-hover: #d7d6d5; --card: #1b1913; }
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.5 var(--sans); }
main { min-height: 100svh; max-width: 30rem; margin: 0 auto; padding: 3rem 1.875rem; display: flex; flex-direction: column; justify-content: center; }
main.home { max-width: 44rem; justify-content: flex-start; padding-bottom: 2rem; }
.wordmark { font: 400 2.875rem/1 var(--serif); letter-spacing: -0.02em; text-align: center; margin: 0 0 1rem; }
h1 { font: 400 2rem/1.15 var(--serif); letter-spacing: -0.025em; margin: 0 0 0.75rem; text-wrap: balance; }
p { margin: 0 0 1rem; }
.lede { color: var(--muted); font-size: .9375rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.nowrap { white-space: nowrap; }
.aside { margin: 1.25rem 0 0; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
.btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 2.875rem; margin: 1.25rem 0 0; padding: 0 1.25rem; border: 1px solid var(--fg); border-radius: 10px; background: var(--fg); color: var(--bg); font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 140ms var(--ease); }
.btn:hover { background: var(--fg-hover); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-outline:hover { background: var(--card); }
.chats .btn + .btn { margin-top: .75rem; }
.rows + .btn, .terms + .btn { margin-top: 2.5rem; }
.btn.busy { background: color-mix(in oklab, var(--fg) 45%, var(--bg)); border-color: transparent; color: var(--bg); pointer-events: none; }
.connect { margin: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.rows { margin: 1.5rem 0 0; }
.row { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0 .875rem; margin: 0 0 1.5rem; }
.row:last-child { margin-bottom: 0; }
.row svg { width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--muted); }
.row strong { font-weight: 600; display: block; margin-bottom: .2rem; }
.row p { margin: 0; color: var(--muted); font-size: .9375rem; }
/* Ad landing pages: the first example bubble peeks at the bottom of the first screen, so people scroll. */
.fold-screen { min-height: calc(100svh - 10rem); display: flex; flex-direction: column; justify-content: center; }
.bubbles { display: flex; flex-direction: column; gap: .375rem; margin: 1rem 0 2.5rem; }
.bubble { align-self: flex-end; max-width: 80%; margin: 0; padding: .55rem .9rem; border-radius: 1.1rem 1.1rem .3rem 1.1rem; background: #0b84ff; color: #fff; font-size: .9375rem; line-height: 1.35; }
.bubble.reply { align-self: flex-start; border-radius: 1.1rem 1.1rem 1.1rem .3rem; background: var(--card); color: var(--fg); }
form { margin: 1.25rem 0 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.fields .wide { grid-column: 1 / -1; }
.payment-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.payment-card form, .payment-card .btn { margin: 0; }
.payment-card .btn { width: auto; padding: 0 .75rem; font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--fg); font: 400 1rem/1.2 var(--sans); }
input::placeholder { color: var(--muted); }
input:focus { outline: none; border-color: var(--fg); }
.phone { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; }
.phone:focus-within { border-color: var(--fg); }
.phone input { border: 0; padding-left: .9rem; }
.country { position: relative; display: flex; align-items: center; gap: .55rem; padding: 0 1rem; font-size: 1.25rem; line-height: 1; border-right: 1px solid var(--line); }
.country select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 1rem; }
.chevron { width: .4rem; height: .4rem; margin-top: -.2rem; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.terms { margin: 1.25rem 0 0; font-size: .9375rem; }
.otp { position: relative; margin: 2rem 0 0; }
.otp-boxes { display: none; }
.otp.js input { position: absolute; inset: 0; height: 100%; opacity: 0; caret-color: transparent; font-size: 16px; }
.otp.js .otp-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.otp-box { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.1; border: 1px solid var(--line); border-radius: 6px; font: 400 1.75rem/1 var(--sans); }
.otp-box.active { border-color: var(--fg); }
.after-otp { margin: 3rem 0 0; font-size: .9375rem; line-height: 1.7; }
.link { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.link:disabled { cursor: default; color: color-mix(in oklab, var(--fg) 35%, transparent); }
a.strong { color: var(--fg); font-weight: 600; }
.signed-in { display: flex; justify-content: center; gap: 1.5rem; margin: 2.5rem 0 0; }
.error { color: #cf2d56; font-size: .9375rem; margin: .75rem 0 0; }
.home p.big { font: 400 1.75rem/1.35 var(--serif); letter-spacing: -0.01em; margin: 0 0 2rem; }
@media (min-width: 700px) { .home p.big { font-size: 2rem; } }
.home .text-link { font: 400 1.75rem/1 var(--serif); text-decoration: none; border-bottom: 2px solid color-mix(in oklab, var(--fg) 25%, transparent); }
.site-footer { margin-top: auto; padding-top: 4rem; font: 400 .875rem/1.7 var(--sans); color: color-mix(in oklab, var(--fg) 50%, transparent); }
.site-footer p { margin: 0; }
.site-footer a { color: inherit; text-decoration: none; margin-right: 2.5rem; }
.site-footer a:hover { color: var(--fg); }
/* The homepage pitch fills the first screen and the footer starts below it, on any phone.
   lvh is the viewport with browser bars hidden, so the footer stays out of view either way. */
.home .fold { min-height: calc(100svh - 3rem); min-height: calc(100lvh - 3rem); }
.home .site-footer { margin-top: 0; padding-top: 1rem; }
main.legal { max-width: 40rem; justify-content: flex-start; padding-top: 4rem; }
.legal .back { font: 400 2rem/1 var(--serif); margin: 0 0 3rem; }
.legal .back a { text-decoration: none; }
.legal h2 { font: 600 1.125rem/1.3 var(--sans); margin: 2rem 0 .5rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin: 0 0 .4rem; }
