/* amia.to, direction A · Glass Desk, for the rest of the site (docs/878): How it works, Help, the doors (Account,
   Buy, Thanks, Team join, No charge), the legal pages and Not found. It builds on glass.css and changes none of the
   door scripts: they draw the same elements, and this file dresses them in glass. Dark at every hour. */
:root { --work: var(--blue); --needs: var(--orange); --done: var(--green); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Page heads ---------- */
.pg-hero { padding-top: clamp(64px, 8vw, 118px); text-align: center; }
.pg-hero .lede { margin-top: 20px; }

/* ---------- Buttons the door scripts draw ---------- */
.btn-sm { height: 40px; padding: 0 17px; font-size: 14.5px; }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.08); box-shadow: inset 0 .5px 0 rgba(255,255,255,.32), inset 0 0 0 .5px rgba(255,255,255,.14); }
.btn-ghost:hover { background: rgba(255,255,255,.13); }

/* ---------- The door: one glass sheet over the hour's light, lit by the state it is in ----------
   The scripts say the state by the face they set on img[data-face] (glass.css's own words: blue works, amber
   needs you, green is done), so the sheet reads it there: nothing in the scripts changes. */
.door-wrap { display: grid; justify-items: center; padding: clamp(34px, 6.5vw, 92px) var(--gut) clamp(90px, 11vw, 150px); }
.door { --st: transparent; --halo: rgba(255,255,255,.12); width: min(100%, 468px); --r: 40px; padding: 36px 30px 28px; text-align: center;
  box-shadow: inset 0 .75px 0 rgba(255,255,255,.42), inset 0 -.5px 0 rgba(255,255,255,.1), 0 0 0 .5px rgba(255,255,255,.13),
    0 0 0 1px color-mix(in srgb, var(--st) 50%, transparent), 0 30px 110px -46px color-mix(in srgb, var(--st) 70%, transparent), 0 22px 60px -18px rgba(0,0,0,.7);
  transition: box-shadow .7s var(--ease), width .6s var(--spring); }
.door:has(img[data-face][src*="ov-thinking"]) { --st: var(--work); --halo: var(--work); }
.door:has(img[data-face][src*="ov-phone"]) { --st: var(--teal); --halo: var(--teal); }
.door:has(img[data-face][src*="ov-down"]) { --st: var(--needs); --halo: var(--needs); }
.door:has(img[data-face][src*="ov-thumbsup"]) { --st: var(--done); --halo: var(--done); }
.door-mark { position: relative; width: 116px; height: 116px; margin: -4px auto 0; display: grid; place-items: center; }
.door-mark::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--halo) 55%, transparent), transparent); filter: blur(14px); opacity: .85; transition: background .7s; }
/* Working: the halo breathes, as an agent's face does while it works. */
.door:has(img[data-face][src*="ov-thinking"]) .door-mark::before { animation: halo 1.8s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .35; transform: scale(.9); } }
/* The app icon, the one mark Amia wears in the Dock, on the iPhone and on X (the owner's pick, 19 Nov); the light says
   the state. The face the scripts set stays in the page, hidden and lazy, so it is never fetched: the sheet reads it. */
.door-icon { position: relative; width: 92px; height: 92px; border-radius: 22.37%;
  box-shadow: 0 0 0 .5px rgba(255,255,255,.2), 0 20px 44px -14px rgba(0,0,0,.85); }
.door-face { display: none; }
.door-title { margin: 18px 0 0; font: 700 clamp(48px, 6.4vw, 68px)/1 var(--sfd); letter-spacing: -.048em; text-wrap: balance; }
.door-title:empty::before { content: "\00a0"; }
.door-title.by-ask { font-size: clamp(32px, 3.8vw, 40px); letter-spacing: -.035em; line-height: 1.06; }
.door-sub { margin: 12px auto 0; max-width: 34ch; color: var(--ink2); font-size: 17px; line-height: 1.45; font-variant-numeric: tabular-nums; text-wrap: balance; }
.door-sub:empty { display: none; }
.door .lede { font-size: 17px; margin-top: 12px; }
.door .ctas { margin-top: 28px; }
.door .ctas .btn { flex: 1; }
.door-after { margin: 22px 0 0; color: var(--ink3); font-size: 14px; text-align: center; }
.door-after a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }

/* ---------- What the door scripts draw into [data-stage] ---------- */
.by-stage { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.by-stage:empty { display: none; }
.by-stage > .btn { width: 100%; height: 56px; }
.by-stage .btn:not(.btn-ghost) { background: linear-gradient(180deg, #fff, #e9ebf2); color: #0b0c10;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.12), 0 10px 30px -8px rgba(255,255,255,.3), 0 0 0 .5px rgba(255,255,255,.6); }
.by-stage .fine { margin: 2px 0 0; text-align: center; font-size: 13.5px; }
.by-stage .fine a { color: var(--ink); }

/* The pill: an address, a password, an amount or a name, with its one round button. */
.by-pill { display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 6px 6px 6px 22px; border-radius: 999px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 .5px 0 rgba(255,255,255,.28), inset 0 0 0 .5px rgba(255,255,255,.14);
  transition: box-shadow .25s, background .25s; }
.by-pill:focus-within { background: rgba(255,255,255,.09); box-shadow: inset 0 0 0 1.5px rgba(10,132,255,.95), 0 0 0 4px rgba(10,132,255,.22); }
.by-pill[data-tone="needs"] { box-shadow: inset 0 0 0 1.5px rgba(255,159,10,.9), 0 0 0 4px rgba(255,159,10,.18); }
.by-pill[aria-disabled="true"] { opacity: .6; }
.by-pill input { flex: 1; min-width: 0; height: 46px; border: 0; padding: 0; background: transparent; color: var(--ink); font: 400 17px/1 var(--sf); outline: none; }
.by-pill input::placeholder { color: var(--ink3); }
.by-go { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #0b0c10;
  background: linear-gradient(180deg, #fff, #e6e8f0); box-shadow: inset 0 1px 0 #fff, 0 6px 18px -6px rgba(255,255,255,.4);
  transition: transform .3s var(--spring), opacity .2s; }
.by-go:hover { transform: scale(1.06); } .by-go:active { transform: scale(.94); }
.by-go:disabled { opacity: .45; transform: none; cursor: default; }
.by-go svg { width: 21px; height: 21px; }
.by-chip { flex: none; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: -12px; padding: 9px 13px; border-radius: 999px;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.16); font: 500 14px/1 var(--sf); }
.by-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: by-spin .8s linear infinite; }
.btn .by-spin { width: 16px; height: 16px; }
@keyframes by-spin { to { transform: rotate(1turn); } }

/* Or, Sign in with Apple (white on dark, as Apple's guidelines give it), and the quiet links. */
.by-or { display: flex; align-items: center; gap: 14px; margin: 4px 0; color: var(--ink3); font: 500 13px/1 var(--sf); }
.by-or::before, .by-or::after { content: ""; flex: 1; height: .5px; background: rgba(255,255,255,.16); }
.by-apple { display: flex; align-items: center; justify-content: center; gap: 9px; height: 56px; border-radius: 999px; background: #fff; color: #000;
  font: 600 17px/1 var(--sf); letter-spacing: -.01em; transition: transform .3s var(--spring), opacity .2s; }
.by-apple:hover { transform: scale(1.015); } .by-apple:active { transform: scale(.97); }
.by-apple svg { width: 17px; height: 20px; margin-top: -3px; }
.by-apple:disabled { opacity: .5; cursor: default; transform: none; }
.by-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; margin: 2px 0 0; }
.by-link { padding: 8px 2px; color: var(--ink2); font: 500 14.5px/1 var(--sf); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.22); }
.by-link:hover { color: var(--ink); }

/* What happened, in one sentence, in the state's own colour. */
.by-note { --tone: rgba(255,255,255,.6); display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 12px 15px; border-radius: 18px;
  background: color-mix(in srgb, var(--tone) 11%, transparent); box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--tone) 30%, transparent);
  font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.by-note::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-1px); background: var(--tone); box-shadow: 0 0 10px var(--tone); }
.by-note[data-tone="work"] { --tone: var(--work); }
.by-note[data-tone="work"]::before { animation: halo 1.4s ease-in-out infinite; }
.by-note[data-tone="needs"] { --tone: var(--needs); }
.by-note[data-tone="done"] { --tone: var(--done); }
.by-note b { font-weight: 600; }
.by-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* One field drawn as six slots: paste and the phone's code suggestion land in the real input. */
.by-code { position: relative; }
.by-code input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 1em; outline: none; }
/* Two groups of three, as a code is read: an empty column between them, so every slot keeps one size. */
.by-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 4px repeat(3, minmax(0, 1fr)); gap: 8px; pointer-events: none; }
.by-slot:nth-child(4) { grid-column: 5; }
.by-slot { display: grid; place-items: center; aspect-ratio: 5 / 6; border-radius: 16px; background: rgba(255,255,255,.06);
  box-shadow: inset 0 .5px 0 rgba(255,255,255,.25), inset 0 0 0 .5px rgba(255,255,255,.12); font: 600 30px/1 var(--sfd); font-variant-numeric: tabular-nums; transition: box-shadow .2s; }
.by-code:focus-within .by-slot.is-at { box-shadow: inset 0 0 0 1.5px rgba(10,132,255,.95), 0 0 0 4px rgba(10,132,255,.22); }
.by-code[data-tone="needs"] .by-slot { box-shadow: inset 0 0 0 1.5px rgba(255,159,10,.75); }

/* An amount (any credit) or seats (Team), and the line saying what it buys. */
.by-cur { flex: none; color: var(--ink3); font: 500 24px/1 var(--sfd); }
.by-pill input.by-amt { font: 600 28px/1 var(--sfd); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.by-quote { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 8px; }
.by-quote span { color: var(--ink2); font-size: 15px; }
.by-quote b { font: 700 30px/1 var(--sfd); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.by-quote b small { margin-left: 5px; font: 500 14px var(--sf); letter-spacing: 0; color: var(--ink2); }
.by-pill.seat-pill { justify-content: space-between; }
.seat-word { color: var(--ink2); font-size: 16px; }
.seats { display: inline-flex; align-items: center; gap: 12px; }
.seats .st { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: inset 0 .5px 0 rgba(255,255,255,.3); font: 400 24px/1 var(--sf); }
.seats .st:disabled { opacity: .3; cursor: default; }
.seats output { min-width: 2ch; text-align: center; font: 700 28px/1 var(--sfd); font-variant-numeric: tabular-nums; }
/* What a team seat gives (the join page cannot say whose team it is). */
.by-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.by-steps li { display: flex; gap: 11px; align-items: baseline; font-size: 15px; color: var(--ink2); }
.by-steps li b { color: var(--ink); font-weight: 600; }
.by-steps li::before { content: ""; flex: none; width: 16px; height: 16px; transform: translateY(3px); border-radius: 50%;
  background: var(--done) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* ---------- /account, signed in: the sheet opens into the account ---------- */
.door:has(.acct-grid) { width: min(100%, 980px); }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 4px; }
/* The scripts call a card .glass: inside the glass sheet it is a lit pane, so glass is never stacked on glass. */
.glass { position: relative; border-radius: 26px; background: rgba(255,255,255,.045); box-shadow: inset 0 .5px 0 rgba(255,255,255,.22), inset 0 0 0 .5px rgba(255,255,255,.1); }
.acct-side { display: grid; gap: 14px; align-content: start; padding: 24px; }
.acct-figure { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.acct-figure b { font: 700 54px/.9 var(--sfd); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.acct-figure span { color: var(--ink2); font-size: 16px; }
.acct-figure.owed b { color: var(--needs); }
.acct-said { margin: 0; color: var(--ink2); font-size: 14px; line-height: 1.5; }
.acct-fact { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: .5px solid var(--line); font-size: 15px; }
.acct-fact b { font-weight: 500; color: var(--ink2); }
.acct-fact span { font-weight: 600; font-variant-numeric: tabular-nums; }
.acct-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.acct-acts .btn:not(.btn-ghost) { background: linear-gradient(180deg, #fff, #e9ebf2); color: #0b0c10; }
.tm, .acct-hist { grid-column: 1 / -1; padding: 22px 24px 18px; }
.tm { display: grid; gap: 12px; }
.tm h2, .acct-hist h2 { margin: 0; font: 700 22px/1.1 var(--sfd); letter-spacing: -.022em; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.tm h2 span { font: 500 13.5px var(--sf); letter-spacing: 0; color: var(--ink2); }
.tm-list, .acct-act { list-style: none; margin: 0; padding: 0; }
.tm-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 11px 0; border-top: .5px solid var(--line); font-size: 15px; }
.tm-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--sf); color: #fff;
  background: linear-gradient(140deg, #5ac8fa, #0a84ff 45%, #8e7bff); box-shadow: inset 0 .5px 0 rgba(255,255,255,.4); }
.tm-av.inv { background: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); color: var(--ink2); }
.tm-list .who { min-width: 0; }
.tm-list .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tm-list .who span { color: var(--ink2); font-size: 13.5px; }
.tm-list .act { color: var(--ink2); font: 500 14px var(--sf); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.22); }
.tm-list .act:hover { color: var(--ink); }
.tm-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14); }
.tm-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 13.5px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink2); }
.acct-hist > div > p { margin: 10px 0 4px; color: var(--ink2); font-size: 15px; }
.acct-act { margin-top: 8px; }
.acct-act li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline; padding: 13px 0; border-top: .5px solid var(--line); font-size: 15px; }
.acct-act time { color: var(--ink3); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.acct-act .what b { display: block; font-weight: 600; }
.acct-act .what span { color: var(--ink2); font-size: 13.5px; }
.acct-act .amt { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.acct-act .amt a { display: block; margin-top: 3px; color: var(--ink2); font-size: 13px; font-weight: 500; }
.acct-hist .btn { margin: 10px 0 2px; }
.acct-foot { display: grid; gap: 6px; justify-items: center; margin-top: 18px; }
.acct-foot .by-note { justify-self: stretch; }

/* ---------- Reading: Privacy, Terms, Refunds ---------- */
.legal-seg { --r: 999px; display: inline-flex; padding: 4px; gap: 2px; margin-bottom: 30px; }
.legal-seg a { height: 38px; padding: 0 18px; display: grid; place-items: center; border-radius: 999px; font: 600 14px/1 var(--sf); color: var(--ink2); transition: background .3s, color .3s; }
.legal-seg a:hover { color: var(--ink); }
.legal-seg a[aria-current="page"] { background: rgba(255,255,255,.16); color: var(--ink); box-shadow: inset 0 .5px 0 rgba(255,255,255,.35), 0 2px 8px rgba(0,0,0,.25); }
.read-meta { margin: 18px 0 0; color: var(--ink3); font-size: 14px; }
.read-meta a { color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.read-grid { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; align-items: start; width: min(100% - 2 * var(--gut), 1080px); margin: clamp(40px, 5vw, 64px) auto var(--sec); }
.read-index { position: sticky; top: 92px; --r: 24px; padding: 16px 10px 12px; }
.read-index p { margin: 0 12px 10px; font: 600 12px/1 var(--sf); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.read-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.read-index a { display: block; padding: 9px 12px; border-radius: 12px; color: var(--ink2); font: 500 14px/1.3 var(--sf); transition: background .25s, color .25s; }
.read-index a:hover { color: var(--ink); }
.read-index a.on { color: var(--ink); background: rgba(255,255,255,.09); box-shadow: inset 0 .5px 0 rgba(255,255,255,.22); }
.read-grid.solo { grid-template-columns: minmax(0, 1fr); width: min(100% - 2 * var(--gut), 900px); }
.read-text { --r: 34px; padding: clamp(26px, 4.2vw, 56px); }
.read-text > :first-child { margin-top: 0; }
.read-text h2 { margin: 46px 0 14px; font: 700 clamp(22px, 2vw, 27px)/1.15 var(--sfd); letter-spacing: -.022em; scroll-margin-top: 100px; }
.read-text h3 { margin: 30px 0 10px; font: 650 18px/1.3 var(--sf); }
.read-text p, .read-text li { color: rgba(236,239,255,.84); font-size: 16.5px; line-height: 1.68; max-width: 70ch; }
.read-text p { margin: 0 0 16px; }
.read-text ul, .read-text ol { margin: 0 0 16px; padding-left: 22px; }
.read-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.read-text code { font: 500 .9em ui-monospace, "SF Mono", Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); }

/* ---------- Help ---------- */
.help-search { --r: 999px; --blur: 20px; display: flex; align-items: center; gap: 12px; width: min(100%, 640px); height: 64px; margin: 34px auto 0; padding: 0 24px; cursor: text; }
.help-search svg { flex: none; width: 21px; height: 21px; color: var(--ink2); }
.help-search input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; color: var(--ink); font: 400 18px/1 var(--sf); outline: none; }
.help-search input::placeholder { color: var(--ink3); }
.help-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.help-search:focus-within { box-shadow: inset 0 0 0 1.5px rgba(10,132,255,.95), 0 0 0 5px rgba(10,132,255,.2), 0 22px 60px -18px rgba(0,0,0,.7); }
.pg-hero [data-help-count] { min-height: 1.4em; margin-top: 14px; }
.help-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.help-topics a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; --r: 999px; --blur: 12px; font: 600 14px/1 var(--sf); }
.help-topics a .i { width: 16px; height: 16px; }
.help-groups { display: grid; gap: clamp(46px, 6vw, 70px); width: min(100% - 2 * var(--gut), 860px); margin: clamp(56px, 7vw, 90px) auto 0; }
.qa-group { scroll-margin-top: 96px; }
.qa-group > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px 4px; font: 700 clamp(24px, 2.4vw, 30px)/1.1 var(--sfd); letter-spacing: -.025em; }
.qa-group > h2 .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 .5px 0 rgba(255,255,255,.3); }
.qa-group > h2 .i { width: 18px; height: 18px; }
.qa-group .faq { max-width: none; }
.qa-group > .fine { margin: 14px 0 0 6px; }
.hp-none { margin: 0; padding: 40px 0; text-align: center; color: var(--ink2); }
.help-more { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; width: min(100% - 2 * var(--gut), 860px); margin: clamp(56px, 7vw, 90px) auto var(--sec); --r: 30px; padding: 26px 28px; }
.help-more .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(10,132,255,.16); box-shadow: inset 0 .5px 0 rgba(255,255,255,.3); color: var(--teal); }
.help-more .ic .i { width: 26px; height: 26px; }
.help-more h2 { margin: 0; font: 700 22px/1.15 var(--sfd); letter-spacing: -.022em; }
.help-more p { margin: 4px 0 0; color: var(--ink2); font-size: 15px; }

/* ---------- How it works ---------- */
.how-steps { width: min(100% - 2 * var(--gut), var(--wrap)); margin: 0 auto; }
.how-n { display: block; margin-bottom: 16px; font: 700 15px/1 var(--sf); letter-spacing: .1em; color: transparent; background: var(--acc); -webkit-background-clip: text; background-clip: text; }
.how-steps .feat-row h2 { margin: 0; }
.how-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 34%); gap: 18px; align-items: end; }
.jobs { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 12px; }
.jobs li { --r: 24px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 12px 22px 12px 14px; font-size: 16.5px; }
.jobs img { width: 56px; height: 56px; }
.states { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.states span { --r: 999px; --blur: 12px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; font: 600 15px/1 var(--sf); }
.states span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.states small { color: var(--ink2); font: 500 14px/1 var(--sf); }
.studio { width: min(100% - 2 * var(--gut), 1080px); margin: 50px auto 0; }

/* ---------- Not found ---------- */
.nf { min-height: calc(100vh - 70px); display: grid; place-items: center; text-align: center; padding: 40px var(--gut) 90px; }
.nf-code { margin: 0 0 6px; font: 800 clamp(110px, 17vw, 210px)/.85 var(--sfd); letter-spacing: -.06em; color: transparent; background: var(--acc); -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; animation: gradMove 9s ease-in-out infinite alternate; }
.nf-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.nf-go a { --r: 999px; --blur: 12px; height: 40px; padding: 0 16px; display: inline-flex; align-items: center; font: 600 14px/1 var(--sf); }

/* ---------- Articles (docs/894): the legal pages' reading grid, plus what an article carries ---------- */
.art-hero .lede { max-width: 760px; }
/* A grid item's minimum is its content's width: without this, a code line or a wide table widens the page past a phone. */
.read-grid > *, .art-list > li { min-width: 0; }
.art-hero .kicker a { color: inherit; }
.art-hero .kicker a:hover { color: var(--ink2); }
.read-text strong { color: var(--ink); font-weight: 650; }
.read-text li { margin-bottom: 8px; }
.read-text li::marker { color: var(--ink3); }
/* A person's own words: the headline's gradient, standing upright. */
.read-text blockquote { position: relative; margin: 32px 0; padding: 2px 0 2px 26px; }
.read-text blockquote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #5ac8fa, #0a84ff 30%, #8e7bff 62%, #ff5fa2); }
.read-text blockquote p { margin: 0; max-width: 60ch; color: var(--ink); font: 600 clamp(19px, 1.7vw, 23px)/1.42 var(--sfd); letter-spacing: -.016em; text-wrap: pretty; }
.read-text blockquote p.by { margin-top: 12px; color: var(--ink3); font: 500 14px/1.4 var(--sf); letter-spacing: 0; }
.read-text blockquote p.by a { color: var(--ink2); }
.read-table { margin: 26px 0 30px; overflow-x: auto; border-radius: 18px; background: rgba(0,0,0,.24); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.12), inset 0 .5px 0 rgba(255,255,255,.18); scrollbar-width: thin; }
.read-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.read-table.wide table { min-width: 620px; }
.read-table th { padding: 14px 16px 11px; text-align: left; vertical-align: bottom; color: var(--ink3); font: 600 11.5px/1.3 var(--sf); letter-spacing: .1em; text-transform: uppercase; border-bottom: .5px solid rgba(255,255,255,.16); }
.read-table td { padding: 12px 16px; color: var(--ink2); vertical-align: top; border-top: .5px solid var(--line); }
.read-table tr:first-child td { border-top: 0; }
.read-table td:first-child { color: var(--ink); }
.read-table tbody tr:hover td { background: rgba(255,255,255,.03); }
.read-table code { font-size: .86em; }
.read-table.checks td { vertical-align: middle; }
.read-table.checks th:not(:first-child), .read-table.checks td:not(:first-child) { text-align: center; }
.read-table.checks th { white-space: nowrap; letter-spacing: .06em; }
.read-table.checks td:first-child { min-width: 200px; }
.read-table .ck { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(48,209,88,.16); box-shadow: inset 0 0 0 .5px rgba(48,209,88,.55); color: #30d158; font: 700 12px/1 var(--sf); }
.read-table .ck-note { display: block; margin-top: 5px; color: var(--ink3); font-size: 12px; line-height: 1.25; }
.read-table .nx { color: var(--ink3); opacity: .55; }
.read-text pre { margin: 22px 0 26px; padding: 18px 20px; overflow-x: auto; border-radius: 16px; background: rgba(0,0,0,.42); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.12); color: #dfe4ff; font: 500 13.5px/1.65 ui-monospace, "SF Mono", Menlo, monospace; tab-size: 2; }
.read-text pre code { padding: 0; background: none; font: inherit; }
.read-text .read-fig { margin: 30px 0 34px; }
.read-text .read-fig.ph { width: min(62%, 300px); margin-inline: auto; }
.read-text .art-fig img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 .5px rgba(255,255,255,.14); }
/* The index: each article filed under the words people search for. */
.art-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(100% - 2 * var(--gut), 1080px); margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; list-style: none; }
.art-list .art-first { grid-column: 1 / -1; }
.art-card { --r: 30px; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: clamp(24px, 2.6vw, 34px); color: var(--ink); transition: transform .5s var(--spring); }
.art-card:hover { transform: translateY(-3px); }
.art-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; box-shadow: 0 0 0 .5px rgba(255,255,255,.14); }
.art-first .art-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(24px, 3vw, 40px); align-items: start; }
.art-first .art-img { grid-row: 1 / -1; }
.art-ask { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 .5px 0 rgba(255,255,255,.2), inset 0 0 0 .5px rgba(255,255,255,.1); color: var(--ink2); font: 500 13px/1.2 ui-monospace, "SF Mono", Menlo, monospace; }
.art-ask .i { flex: none; width: 15px; height: 15px; color: var(--ink3); }
.art-ask span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-card h2 { margin: 0; font: 700 clamp(22px, 2vw, 27px)/1.14 var(--sfd); letter-spacing: -.024em; text-wrap: balance; }
.art-first h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.032em; }
.art-card p { margin: 0; max-width: 64ch; color: var(--ink2); font-size: 15.5px; line-height: 1.55; }
.art-more { margin-top: auto; padding-top: 6px; color: var(--ink); font: 600 14.5px/1 var(--sf); }
.art-more::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .35s var(--ease); }
.art-card:hover .art-more::after { transform: translateX(4px); }

/* ---------- Narrow ---------- */
@media (max-width: 1020px) {
  .read-grid { grid-template-columns: 1fr; gap: 16px; }
  .read-index { position: static; padding: 8px; overflow-x: auto; scrollbar-width: none; }
  .read-index p { display: none; }
  .read-index ol { display: flex; gap: 4px; width: max-content; }
  .read-index a { white-space: nowrap; }
  .how-pair { grid-template-columns: 1fr minmax(120px, 36%); }
}
@media (max-width: 640px) {
  .door { padding: 30px 20px 22px; --r: 34px; }
  .door-wrap { padding-top: 22px; }
  .acct-grid { grid-template-columns: 1fr; }
  .acct-side { padding: 20px; }
  .tm, .acct-hist { padding: 18px 18px 14px; }
  .acct-act li { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 2px 10px; }
  .by-slot { font-size: 26px; border-radius: 13px; }
  .by-slots { gap: 6px; }
  .legal-seg a { padding: 0 14px; }
  .help-more { grid-template-columns: auto 1fr; } .help-more .btn { grid-column: 1 / -1; }
  .jobs li { grid-template-columns: 44px 1fr; padding: 10px 16px 10px 10px; font-size: 15.5px; } .jobs img { width: 44px; height: 44px; }
  .how-pair { grid-template-columns: 1fr; } .how-pair > .cap.ph { width: min(70%, 260px); margin: 0 auto; }
  .art-list { grid-template-columns: 1fr; } .art-first .art-card { display: flex; }
  .read-text blockquote { padding-left: 20px; }
}
@media (prefers-reduced-motion: reduce) { .door-mark::before, .by-note::before, .nf-code { animation: none !important; } .art-card, .art-more::after { transition: none; } }
