/* Coroom marketing site. Light theme only. Tokens, plates, buttons and eyebrows come from tokens.css (loaded first). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/albert-sans-latin-wght-normal.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
::selection { background: color-mix(in srgb, var(--c-ink) 14%, transparent); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
img, svg { max-width: 100%; }
/* The icon sprite holds <symbol>s only. [hidden] does not hide an <svg> in Chrome, so it is taken out of flow here. */
svg.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.page { max-width: 1240px; margin: 0 auto; overflow-x: clip; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* wordmark: a filled circle (a person) and an open square (their agent), then the name */
.wm { display: inline-flex; align-items: center; gap: 9px; font-family: var(--disp); font-size: 22px; line-height: 1; letter-spacing: -.01em; font-weight: 500; color: var(--c-ink); text-decoration: none; font-variation-settings: "opsz" 48; }
.wm svg { width: 30px; height: 18px; display: block; flex: none; }
.btn { display: inline-block; text-decoration: none; cursor: pointer; text-align: center; }

.nav { display: flex; align-items: center; gap: 26px; padding: 20px 40px; }
.nav a.n { color: var(--c-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav .sp, .foot .sp { flex: 1; }

.hero { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr); gap: 48px; padding: 40px 40px 64px; align-items: center; }
.hero > * { min-width: 0; }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero .sub { font-size: 19px; line-height: 1.45; max-width: 34ch; margin: 22px 0 28px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .cta small { font-size: 14px; color: var(--c-muted); }
.hero .eyebrow { display: block; margin-bottom: 16px; }
.tag { font-family: var(--disp); font-style: italic; font-size: 18px; color: var(--c-muted); margin-top: 34px; font-variation-settings: "opsz" 24; }

/* the drawn room: the link, the people it admitted, one document with their names on it */
.vis { display: grid; gap: 14px; max-width: 100%; }
.vis > * { min-width: 0; }
.link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; background: var(--c-surface); border: 1px solid var(--c-rule); border-radius: 999px; padding: 8px 8px 8px 14px; color: var(--c-ink); max-width: 100%; justify-self: start; }
.link b { font-weight: 600; color: var(--c-muted); padding: 3px 9px; border: 1px solid var(--c-rule); border-radius: 999px; font-family: var(--body); font-size: 12px; }
.link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.here { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.here .eyebrow { margin-right: 4px; }
.sheet { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; box-shadow: var(--shadow); }
.paper { padding: 26px 28px 28px; display: grid; gap: 12px; position: relative; }
.paper h2 { font-family: var(--disp); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.paper h3 { margin: 8px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.paper p { margin: 0; font-size: 16px; line-height: 1.7; max-width: 56ch; }
.ins { text-decoration: underline; text-decoration-color: var(--moss); text-decoration-thickness: 2px; text-underline-offset: 3px; background: color-mix(in srgb, var(--moss) 14%, transparent); border-radius: 2px; }
.del { text-decoration: line-through; text-decoration-color: var(--moss); color: var(--c-muted); }
.mark { display: inline-block; width: 2px; height: 1.15em; vertical-align: -.2em; background: var(--pc); position: relative; margin: 0 1px; }
.mark .pl { position: absolute; left: -1px; top: calc(100% + 3px); height: 1.7em; font-size: 11px; padding-right: .7em; border-radius: 2px 7px 7px 7px; }
.paper p:last-child { padding-bottom: 30px; }
.by { display: inline-flex; vertical-align: middle; margin-left: 6px; }
.caption { margin: 0; font-size: 15px; color: var(--c-muted); max-width: 52ch; }

.pitches { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-line); }
.pitch { padding: 40px 40px 44px; display: grid; gap: 14px; align-content: start; }
.pitch + .pitch { border-left: 1px solid var(--c-line); }
.pitch h2 { font-family: var(--disp); font-weight: 400; font-size: 30px; line-height: 1.12; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
.pitch p { margin: 0; max-width: 46ch; color: var(--c-muted); font-size: 16px; }
.inroom { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-surface); margin-top: 6px; align-self: start; justify-self: start; max-width: 100%; }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.proof div { padding: 24px 28px; display: grid; gap: 4px; align-content: start; }
.proof div + div { border-left: 1px solid var(--c-line); }
.proof b { font-family: var(--disp); font-weight: 500; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; }
.proof span { font-size: 14px; color: var(--c-muted); }

.hosts { padding: 30px 40px 34px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; font-size: 15px; color: var(--c-muted); }
.hosts .eyebrow { flex-basis: 100%; }
.hosts b { color: var(--c-ink); font-weight: 500; font-family: var(--disp); font-size: 20px; font-variation-settings: "opsz" 24; display: inline-flex; align-items: center; gap: 9px; }
.hosts b svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.hosts a { color: var(--c-muted); }

/* the join band */
.join { border-top: 1px solid var(--c-line); background: var(--c-panel); padding: 56px 40px 64px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; scroll-margin-top: 12px; }
.join > * { min-width: 0; }
.join h2 { font-family: var(--disp); font-weight: 400; font-size: 36px; line-height: 1.1; letter-spacing: -.02em; margin: 8px 0 14px; text-wrap: balance; }
.join p { margin: 0 0 14px; max-width: 42ch; font-size: 16px; }
.join .note { color: var(--c-muted); font-size: 14px; }
.join.solo { grid-template-columns: 1fr; justify-items: start; }
form.wl { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; padding: 26px 28px 28px; display: grid; gap: 20px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-size: 13px; font-weight: 600; padding: 0; }
.field .opt { color: var(--c-muted); font-weight: 400; }
.field input[type="email"], .field input[type="text"] { font: inherit; font-size: 16px; border: 1px solid var(--c-rule); background: var(--c-paper); color: var(--c-ink); border-radius: var(--r-control); padding: 10px 12px; min-height: 46px; width: 100%; }
.field input::placeholder { color: var(--c-muted); opacity: .8; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; border: 1px solid var(--c-rule); border-radius: 999px; padding: 8px 14px; cursor: pointer; background: var(--c-paper); line-height: 1.2; }
.opts label:has(input:checked) { border-color: var(--c-ink); background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-ink); }
.opts input { accent-color: var(--c-ink); width: 16px; height: 16px; margin: 0; flex: none; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.agree input { accent-color: var(--c-ink); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.fine { font-size: 13px; color: var(--c-muted); margin: 0; }
.fine a { color: var(--c-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--c-panel); box-shadow: inset 3px 0 0 var(--c-ink); font-size: 14px; }
.form-error[hidden] { display: none; }
.done { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px; padding: 26px 28px; box-shadow: var(--shadow); }
.done h3 { font-family: var(--disp); font-weight: 400; font-size: 26px; margin: 0 0 8px; }
.done p { margin: 0; }
.submit { font-size: 16px; padding: 13px 24px; justify-self: start; }
button.btn { font: inherit; font-weight: 600; font-size: 16px; }
.cf-turnstile { min-height: 0; }

.foot { padding: 26px 40px 34px; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 13px; color: var(--c-muted); }
.foot .wm { font-size: 18px; }
.foot .wm svg { width: 25px; height: 15px; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--c-muted); }

/* consent banner */
#consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 760px; margin: 0 auto; background: var(--c-surface); border: 1px solid var(--c-rule); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 12px; font-size: 14px; }
#consent[hidden] { display: none; }
#consent p { margin: 0; }
#consent .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#consent .btn { font-size: 14px; padding: 9px 18px; min-width: 96px; }
#consent .row a { color: var(--c-muted); margin-left: 4px; }

/* text pages: FAQ, privacy, terms, thanks, 404 */
.doc { padding: 24px 40px 72px; max-width: 820px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 16px; }
.doc h2 { font-family: var(--disp); font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; margin: 40px 0 10px; }
.doc.agents a { overflow-wrap: anywhere; }
.doc h3 { font-size: 16px; margin: 24px 0 6px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.65; max-width: 66ch; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; }
.doc .lede { font-size: 19px; color: var(--c-muted); margin-bottom: 8px; }
.doc a { color: var(--c-ink); }
.doc code { font-family: var(--mono); font-size: .9em; background: var(--c-panel); padding: 1px 5px; border-radius: 5px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
mark.ph { background: color-mix(in srgb, var(--marigold) 35%, transparent); color: var(--c-ink); border-radius: 3px; padding: 0 2px; }
.banner { margin: 0 0 24px; padding: 12px 14px; border-radius: 10px; background: var(--c-panel); box-shadow: inset 3px 0 0 var(--c-ink); font-size: 14px; max-width: 66ch; }
.faq h2 { font-size: 22px; margin: 32px 0 8px; }
.center { padding: 72px 40px 96px; max-width: 640px; }
.center .btn { margin-top: 12px; }

#assistants { scroll-margin-top: 16px; margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--c-line); }
#assistants time { color: var(--c-muted); font-size: 14px; display: block; margin-bottom: 12px; }
table.hosts-table { border-collapse: collapse; width: 100%; margin-top: 16px; font-size: 15px; }
.hosts-table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--c-rule); }
.hosts-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.hosts-table td:first-child { font-weight: 600; }
.status { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--c-rule); white-space: nowrap; }
.status.works { background: color-mix(in srgb, var(--moss) 16%, var(--c-surface)); border-color: color-mix(in srgb, var(--moss) 40%, transparent); }
.status.account { background: color-mix(in srgb, var(--marigold) 22%, var(--c-surface)); border-color: color-mix(in srgb, var(--marigold) 50%, transparent); }
.status.not-yet { background: var(--c-panel); color: var(--c-muted); }

@media (prefers-reduced-motion: no-preference) {
  .here .pl { animation: arrive .5s cubic-bezier(.2, .7, .2, 1) both; }
  .here .pl:nth-child(3) { animation-delay: .08s; }
  .here .pl:nth-child(4) { animation-delay: .2s; }
  @keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 960px) {
  .hero, .join { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-bottom: 48px; }
  .pitches, .proof { grid-template-columns: 1fr; }
  .pitch + .pitch, .proof div + div { border-left: 0; border-top: 1px solid var(--c-line); }
}
@media (max-width: 640px) {
  .nav a.n.opt-n { display: none; }
}
@media (max-width: 560px) {
  .nav, .hero, .pitch, .hosts, .foot, .join, .doc, .center { padding-left: 20px; padding-right: 20px; }
  .nav { gap: 18px; padding-top: 16px; padding-bottom: 16px; }
  .proof div { padding: 20px; }
  .paper { padding: 20px 18px; }
  .paper h2 { font-size: 23px; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 40px; }
  .hero .sub { font-size: 17px; }
  .pitch h2 { font-size: 26px; }
  .join { padding-top: 40px; padding-bottom: 48px; }
  .join h2 { font-size: 30px; }
  form.wl { padding: 20px 18px 22px; }
  .done { padding: 20px 18px; }
  .submit { width: 100%; }
  .link { font-size: 12px; }
  .doc { padding-top: 12px; }

  /* the assistants table reflows into stacked rows */
  table.hosts-table, .hosts-table tbody, .hosts-table tr, .hosts-table td { display: block; width: 100%; }
  .hosts-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hosts-table tr { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
  .hosts-table td { border: 0; padding: 3px 0; }
  .hosts-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
  .hosts-table td:first-child::before { display: none; }
  .hosts-table td:empty { display: none; }
}
