/* What the public pages and the admin panel share: the app's own fonts and colours
   (mobile/src/brand.ts), in light and dark. Each page's stylesheet is this file followed by
   its own. */
@font-face { font-family: "Fraunces"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("/fontes/fraunces-300.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 300; font-style: italic; font-display: swap;
  src: url("/fontes/fraunces-300i.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/fontes/fraunces-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; font-display: swap;
  src: url("/fontes/atkinson-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 500; font-display: swap;
  src: url("/fontes/atkinson-500.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 600; font-display: swap;
  src: url("/fontes/atkinson-600.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 700; font-display: swap;
  src: url("/fontes/atkinson-700.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --paper: #FBFAF8; --paper-2: #F5F1EC; --card: #FFFFFF;
  --ink: #1C1714; --ink-2: #3B332E; --muted: #6F6660; --faint: #A39A93;
  --line: #ECE6E0; --line-2: #D4CBC3; --tint: #F3EEE9;
  --brand: #1F3A8A; --brand-deep: #172B66; --brand-soft: #E3E9FA; --brand-tint: #F3F6FF;
  --on-brand: #FFFFFF;
  --danger: #B3351B; --danger-deep: #8F2A15; --danger-soft: #FBE6E0;
  --ok: #1F6B4A; --ok-soft: #E2F2EA;
  --warn: #8A5A0B; --warn-soft: #FBEFD5;
  --halo: rgba(31, 58, 138, .18);
  --shadow-1: 0 1px 2px rgba(28, 23, 20, .05), 0 1px 1px rgba(28, 23, 20, .03);
  --shadow-2: 0 1px 2px rgba(28, 23, 20, .04), 0 10px 28px -10px rgba(28, 23, 20, .12);
  --shadow-3: 0 2px 6px rgba(28, 23, 20, .05), 0 28px 64px -18px rgba(28, 23, 20, .26);
  --r-card: 16px; --r-ctl: 12px; --r-sm: 8px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141110; --paper-2: #191513; --card: #1F1B18;
    --ink: #F3EEE8; --ink-2: #D9D1C9; --muted: #A79D94; --faint: #756C65;
    --line: #2E2823; --line-2: #453C35; --tint: #27221E;
    --brand: #9DB4FF; --brand-deep: #C3D1FF; --brand-soft: #232C4D; --brand-tint: #1A1F33;
    --on-brand: #0F1630;
    --danger: #F29482; --danger-deep: #F7B3A6; --danger-soft: #3B1D17;
    --ok: #7FD1A8; --ok-soft: #173326;
    --warn: #E9BE6A; --warn-soft: #382A0F;
    --halo: rgba(157, 180, 255, .28);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-2: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -10px rgba(0, 0, 0, .5);
    --shadow-3: 0 2px 6px rgba(0, 0, 0, .3), 0 28px 64px -18px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--ui);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* Line icons: drawn in the text colour, sized by the text around them. */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.mark .mark-a { fill: var(--brand); }
.mark .mark-b { fill: #9DB4FF; }
@media (prefers-color-scheme: dark) { .mark .mark-a { fill: #F3EEE8; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---- The public pages: the brand on one side, the page's content on the other ---------------- */

.split { display: grid; grid-template-columns: minmax(420px, 46fr) 54fr; min-height: 100vh; min-height: 100dvh; }

/* The brand side keeps its own colours in light and dark. */
.pitch { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(110% 70% at 0% 0%, #2B4DAE 0%, rgba(43, 77, 174, 0) 62%),
    radial-gradient(90% 70% at 100% 100%, #0E1B47 0%, rgba(14, 27, 71, 0) 70%),
    #172B66; }
.pitch-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
  justify-content: space-between; gap: 32px; padding: clamp(28px, 4.5vw, 56px); }
.logo { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; color: #fff; text-decoration: none;
  font: 400 26px/1 var(--display); letter-spacing: -.01em; border-radius: 10px; }
.logo .mark { width: 38px; height: 38px; }
.pitch .mark .mark-a { fill: #fff; }
.pitch .mark .mark-b { fill: #9DB4FF; }
.pitch :focus-visible { outline-color: #fff; }

.eyebrow { font: 600 12px/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.pitch .eyebrow { color: #9DB4FF; }
.pitch-title { margin-top: 18px; font: 300 clamp(40px, 4.6vw, 68px)/1.04 var(--display); letter-spacing: -.025em;
  max-width: 11em; text-wrap: balance; }
.pitch-title em, .title em { font-style: italic; }
.pitch-title em { color: #9DB4FF; }
.pitch-lede { margin-top: 22px; max-width: 30em; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .82); }

.pitch-birds { position: absolute; z-index: 0; right: -9%; bottom: -7%; width: min(74%, 620px); height: auto;
  opacity: .1; pointer-events: none; animation: drift 16s var(--ease) infinite alternate; }
.pitch-birds .mark-a, .pitch-birds .mark-b { fill: #fff; }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(-14px, -18px, 0) rotate(-2deg); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 30em; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.steps strong { display: block; font-weight: 600; }
.steps p { font-size: 15px; line-height: 1.45; }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font: 600 14px/1 var(--ui); font-variant-numeric: tabular-nums; }
.steps.on-dark p { color: rgba(255, 255, 255, .72); }
.steps.on-dark .step-n { border: 1px solid rgba(255, 255, 255, .34); color: #fff; }
.steps.on-paper p { color: var(--muted); }
.steps.on-paper .step-n { background: var(--brand-soft); color: var(--brand); }

/* The content side. */
.stage { display: grid; align-items: center; justify-items: center; padding: 56px 24px 40px; min-width: 0; }
.stage-in { width: min(100%, 468px); }
.sheet.enter { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.how { display: none; }

.title { margin-top: 12px; font: 300 clamp(38px, 4vw, 50px)/1.06 var(--display); letter-spacing: -.02em; }
.title em { color: var(--brand); }
.lede { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.alert { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-ctl);
  background: var(--danger-soft); color: var(--danger-deep); font-weight: 500; }
.alert .i { margin-top: 2px; }

.form { margin-top: 30px; display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field > label, .field > legend { font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 0; }
.field > legend { margin-bottom: 7px; }
.form input[type=text], .form input[type=email] { width: 100%; height: 54px; padding: 0 16px; font-size: 17px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-1);
  transition: border-color .15s, box-shadow .15s; }
.form input::placeholder { color: var(--faint); }
.form input[type=text]:hover, .form input[type=email]:hover { border-color: var(--faint); }
.form input[type=text]:focus-visible, .form input[type=email]:focus-visible { outline: 0; border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--halo); }
.form input:user-invalid, .field.bad input { border-color: var(--danger); }
.field.bad input:focus-visible { box-shadow: 0 0 0 4px var(--danger-soft); }
.birth-row { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 10px; }
.birth-row label { display: grid; gap: 5px; }
.birth-row span { font-size: 13px; color: var(--muted); }
.birth-row input { text-align: center; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.hint { font-size: 14px; color: var(--muted); }
.field-error { display: flex; gap: 7px; align-items: flex-start; font-size: 14.5px; font-weight: 500; color: var(--danger); }
.field-error .i { width: 17px; height: 17px; margin-top: 2px; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The captcha's box is drawn by its own script; the height is kept so the form doesn't jump. */
.captcha { display: grid; gap: 8px; }
.cf-turnstile { min-height: 65px; max-width: 100%; overflow: hidden; }

.consent { padding: 14px 16px; background: var(--tint); border: 1px solid transparent; border-radius: 14px; display: grid; gap: 8px; }
.consent.bad { border-color: var(--danger); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5;
  color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }

.cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; padding: 0 28px;
  border: 0; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 17px;
  cursor: pointer; box-shadow: 0 1px 2px rgba(23, 43, 102, .3), 0 12px 24px -12px rgba(31, 58, 138, .55);
  transition: transform .15s var(--ease), box-shadow .15s, background-color .15s; }
.cta .i { transition: transform .2s var(--ease); }
.cta:hover { background: var(--brand-deep); transform: translateY(-1px); }
.cta:hover .i { transform: translateX(4px); }
.cta:active { transform: translateY(0) scale(.99); }
.cta:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 999px; }

.keep { display: flex; gap: 8px; align-items: flex-start; justify-content: center; font-size: 14px; color: var(--muted); }
.keep .i { width: 16px; height: 16px; margin-top: 2px; color: var(--brand); }
.have { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px;
  font-size: 15px; color: var(--muted); }
.have strong { color: var(--ink-2); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.stores a, .ghost { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px;
  text-decoration: none; transition: border-color .15s, background-color .15s; }
.stores a:hover, .ghost:hover { border-color: var(--brand); background: var(--brand-tint); }
.stores .i, .ghost .i { width: 18px; height: 18px; color: var(--brand); }

.foot { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--brand); text-decoration: underline; }

/* After the request is in. */
.done-badge { width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ok-soft); color: var(--ok); animation: pop .5s var(--ease) .1s both; }
.done-badge .i { width: 30px; height: 30px; stroke-width: 2.2; stroke-dasharray: 24; stroke-dashoffset: 24;
  animation: draw .45s ease-out .4s forwards; }
.done .eyebrow { color: var(--ok); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.track { list-style: none; margin: 34px 0 0; padding: 0; }
.track li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 24px; }
.track li:last-child { padding-bottom: 0; }
.track li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px;
  border-radius: 2px; background: var(--line); }
.track .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper);
  display: grid; place-items: center; }
.track .is-done .dot { border-color: var(--ok); background: var(--ok); color: var(--paper); }
.track .dot .i { width: 16px; height: 16px; stroke-width: 2.4; }
.track strong { display: block; }
.track p { font-size: 15px; color: var(--muted); }
.track li:not(.is-done) strong { color: var(--ink-2); font-weight: 500; }
.leave { margin: 30px 0 18px; font-size: 15px; color: var(--muted); }

/* Phones and narrow windows: the brand becomes a header and the form a sheet over it. */
@media (max-width: 899px) {
  .split { display: block; }
  .pitch { position: relative; height: auto; }
  .pitch-in { padding: 20px 22px 86px; gap: 30px; }
  .logo { font-size: 23px; }
  .logo .mark { width: 32px; height: 32px; }
  .pitch-title { font-size: clamp(36px, 10.5vw, 48px); margin-top: 14px; }
  .pitch-lede { font-size: 16.5px; margin-top: 16px; }
  .pitch .steps { display: none; }
  .pitch-birds { width: 300px; right: -70px; bottom: -40px; }
  .stage { display: block; padding: 0 12px 32px; }
  .stage-in { width: min(100%, 560px); margin: 0 auto; }
  .sheet { position: relative; z-index: 2; margin-top: -58px; padding: 28px 20px 28px; background: var(--paper);
    border-radius: 26px; box-shadow: var(--shadow-3); }
  .title { font-size: 38px; }
  .how { display: block; margin: 36px 10px 0; }
  .how .steps { margin-top: 18px; }
  .foot { margin: 36px 10px 0; }
}
@media (max-width: 380px) {
  .birth-row { gap: 8px; }
  .form input[type=text], .form input[type=email] { padding: 0 12px; }
}

/* ---- Pages of text: support, terms, deleting the account ------------------------------------ */

.doc { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.doc-top { padding: 22px clamp(20px, 5vw, 48px); border-bottom: 1px solid var(--line); }
.doc .logo, .doc-top .logo { color: var(--ink); }
.doc-main { flex: 1; width: min(100%, 728px); margin: 0 auto; padding: clamp(36px, 7vw, 72px) 24px 56px; font-size: 17px; line-height: 1.7;
  animation: rise .5s var(--ease) both; }
.doc-main h1 { font: 300 clamp(36px, 6vw, 54px)/1.06 var(--display); letter-spacing: -.025em; margin-bottom: 18px; text-wrap: balance; }
.doc-main h2 { font: 400 26px/1.2 var(--display); letter-spacing: -.01em; margin: 44px 0 12px; }
.doc-main p { margin: 0 0 16px; text-wrap: pretty; }
.doc-main h1 + p { font-size: 19px; color: var(--ink-2); }
.doc-main ul { margin: 0 0 16px; padding-left: 22px; }
.doc-main li { margin-bottom: 6px; }
.doc-main li::marker { color: var(--brand); }
.doc-main small, .muted { color: var(--muted); }
.doc-main small { display: block; margin: -6px 0 22px; font-size: 14px; }
.gap { margin-top: 28px !important; }

.doc-main form { display: grid; gap: 8px; margin: 22px 0 8px; padding: 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow-2); }
.doc-main label { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.doc-main input[type=text], .doc-main input[type=email] { width: 100%; height: 54px; padding: 0 16px; font-size: 17px; background: var(--card);
  border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.doc-main input[type=text]:focus-visible, .doc-main input[type=email]:focus-visible { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--halo); }
.doc-main .check { margin-top: 10px; font-weight: 400; }
.doc-main button { justify-self: start; height: 52px; margin-top: 12px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--brand);
  color: var(--on-brand); font-weight: 600; font-size: 16px; cursor: pointer; transition: background-color .15s, transform .15s var(--ease); }
.doc-main button:hover { background: var(--brand-deep); }
.doc-main button:active { transform: scale(.98); }
.doc-main button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 999px; }
.doc-main button.danger { background: var(--danger); color: #fff; }
.doc-main button.danger:hover { background: var(--danger-deep); }
@media (prefers-color-scheme: dark) { .doc-main button.danger { color: #2A0F0A; } }
.note { margin: 20px 0; padding: 13px 16px; border-radius: var(--r-ctl); font-size: 16px; font-weight: 500; }
.note.error { background: var(--danger-soft); color: var(--danger-deep); }
.note.ok { background: var(--ok-soft); color: var(--ok); }

.doc-foot { padding: 26px clamp(20px, 5vw, 48px) 34px; border-top: 1px solid var(--line); }
.doc-foot .foot { margin: 0 auto; width: min(100%, 680px); }

/* ---- The first page and the invite link: the brand, full screen ------------------------------ */

.hero { position: relative; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(90% 70% at 0% 0%, #2B4DAE 0%, rgba(43, 77, 174, 0) 62%),
    radial-gradient(80% 70% at 100% 100%, #0E1B47 0%, rgba(14, 27, 71, 0) 70%),
    #172B66; }
.hero-in { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  justify-content: space-between; gap: 48px; width: min(100%, 1180px); margin: 0 auto; padding: clamp(24px, 4.5vw, 56px); }
.hero .logo { margin: 0; }
.hero .mark .mark-a { fill: #fff; }
.hero .mark .mark-b { fill: #9DB4FF; }
.hero .pitch-birds .mark-a, .hero .pitch-birds .mark-b { fill: #fff; }
.hero .pitch-birds { position: fixed; width: min(62%, 720px); }
.hero .eyebrow { color: #9DB4FF; }
.hero :focus-visible { outline-color: #fff; }
.hero-main { animation: rise .7s var(--ease) both; }
.hero .pitch-title { font-size: clamp(44px, 7.4vw, 96px); max-width: 10em; }
.hero .pitch-lede { font-size: clamp(18px, 1.7vw, 21px); max-width: 32em; }
.hero .pitch-lede strong { color: #fff; }
.stores.on-dark { margin-top: 34px; }
.stores.on-dark a { height: 52px; padding: 0 24px; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stores.on-dark a:hover { border-color: #fff; background: rgba(255, 255, 255, .16); }
.stores.on-dark .i { color: #9DB4FF; }
.stores.on-dark a.main { border-color: #fff; background: #fff; color: #172B66; }
.stores.on-dark a.main:hover { background: #E3E9FA; }
.stores.on-dark a.main .i { color: #1F3A8A; transition: transform .2s var(--ease); }
.stores.on-dark a.main:hover .i { transform: translateX(4px); }
.hero-note { margin-top: 18px; max-width: 34em; font-size: 15px; color: rgba(255, 255, 255, .72); }
.hero-note strong, .hero-note a { color: #fff; }
.hero .foot { margin: 0; }
.hero .foot a { color: rgba(255, 255, 255, .7); }
.hero .foot a:hover { color: #fff; }
.invite-code { margin-top: 22px; font: 600 clamp(36px, 6vw, 56px)/1 var(--mono); letter-spacing: .14em; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 899px) { .hero .pitch-birds { width: 340px; right: -80px; bottom: -40px; } }

/* ---- The feedback site (feedback.prioli.app) ------------------------------------------------- */

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.logo-tag { margin-left: 2px; padding: 4px 9px; border-radius: 999px; font: 600 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); color: #DCE4FF; }

/* Signing in. */
.gate-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.gate-steps li { display: inline-flex; align-items: center; gap: 8px; }
.gate-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 13px;
  border: 1px solid var(--line-2); }
.gate-steps .on { color: var(--ink); font-weight: 600; }
.gate-steps .on span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.gate-steps .done span { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.gate-steps .i { width: 14px; height: 14px; stroke-width: 2.4; }
.form input[type=password] { width: 100%; height: 54px; padding: 0 16px; font-size: 17px; background: var(--card); border: 1px solid var(--line-2);
  border-radius: 14px; box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s; }
.form input.otp { font: 600 26px/1 var(--mono); letter-spacing: .4em; text-align: center; }
.gate-more { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; font-size: 15px; }
button.link { padding: 0; border: 0; background: none; color: var(--brand); font-weight: 600; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px; }
button.link:hover { text-decoration-thickness: 2px; }

/* Signed in: a bar and one column. */
.fb { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.fb-top { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.fb-top-in { width: min(100%, 860px); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fb-top .logo { color: var(--ink); font-size: 23px; }
.fb-top .logo .mark { width: 32px; height: 32px; }
.fb-top .logo-tag, .stage .logo-tag { background: var(--brand-soft); color: var(--brand); }
.fb-me { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
.fb-me strong { color: var(--ink); }
.fb-out { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--card); color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: border-color .15s, color .15s; }
.fb-out:hover { border-color: var(--brand); color: var(--brand); }
.fb-out .i { width: 17px; height: 17px; }
.fb-main { flex: 1; width: min(100%, 860px); margin: 0 auto; padding: clamp(28px, 6vw, 60px) 24px 64px; animation: rise .5s var(--ease) both; }

.fb-head { margin-bottom: 30px; }
.fb-title { margin-top: 10px; font: 300 clamp(36px, 5.6vw, 54px)/1.06 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.fb-title em { font-style: italic; color: var(--brand); }
.fb-title.small { font-size: clamp(30px, 4.4vw, 42px); overflow-wrap: anywhere; }
.fb-head .lede { max-width: 36em; }
.fb-sub { margin-top: 10px; color: var(--muted); font-size: 15px; }
.fb-crumb { margin-bottom: 22px; font-size: 15px; }
.fb-crumb a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.fb-crumb a:hover { text-decoration: underline; }
.fb-crumb .i { width: 18px; height: 18px; }
.fb-notice { margin: 0 0 26px; display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: var(--r-ctl);
  background: var(--ok-soft); color: var(--ok); font-weight: 500; animation: rise .4s var(--ease) both; }
.stage .fb-notice { margin: 22px 0 0; }
.fb-notice .i { margin-top: 1px; }

/* The two ways in. */
.fb-starts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fb-start { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 20px 20px 18px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-2);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.fb-start:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow-3); }
.fb-start-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.fb-start-icon .i { width: 24px; height: 24px; }
.fb-start.bug .fb-start-icon, .fb-kind.bug, .fb-choice.bug .fb-choice-icon { background: var(--warn-soft); color: var(--warn); }
.fb-start.idea .fb-start-icon, .fb-kind.idea, .fb-choice.idea .fb-choice-icon { background: var(--brand-soft); color: var(--brand); }
.fb-start-text { display: grid; gap: 2px; }
.fb-start-text strong { font-size: 17px; }
.fb-start-text span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.fb-go { width: 20px; height: 20px; color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.fb-start:hover .fb-go { transform: translateX(3px); color: var(--brand); }

/* What I sent. */
.fb-section { margin-top: 46px; }
.fb-h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 400 24px/1.2 var(--display); letter-spacing: -.01em; }
.fb-count { padding: 2px 9px; border-radius: 999px; background: var(--tint); color: var(--muted); font: 600 13px/1.5 var(--ui); }
.fb-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--card); overflow: hidden;
  box-shadow: var(--shadow-1); }
.fb-list li + li { border-top: 1px solid var(--line); }
.fb-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; color: var(--ink); text-decoration: none;
  transition: background-color .15s; }
.fb-item:hover { background: var(--brand-tint); }
.fb-item:focus-visible { outline-offset: -3px; border-radius: 0; }
.fb-kind { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.fb-kind .i { width: 20px; height: 20px; }
.fb-item-main { display: grid; gap: 3px; min-width: 0; }
.fb-item-title { font-weight: 600; font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-item.fresh .fb-item-title { color: var(--brand); }
.fb-item-meta { font-size: 14px; color: var(--muted); }
.fb-item-side { display: flex; align-items: center; gap: 8px; }
.fb-new { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand); }
.fb-new::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--halo); }

.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: var(--tint); color: var(--ink-2); }
.chip.brand { background: var(--brand-soft); color: var(--brand); }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.muted { background: var(--tint); color: var(--muted); }

.fb-empty { padding: 44px 24px; border: 1px dashed var(--line-2); border-radius: 20px; text-align: center; display: grid; justify-items: center; gap: 6px; }
.fb-empty.big { margin-top: 20px; border-style: solid; background: var(--card); }
.fb-empty .muted { max-width: 30em; }
.fb-empty .ghost { margin-top: 16px; }
.fb-empty-icon { width: 52px; height: 52px; margin-bottom: 8px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.fb-empty-icon .i { width: 26px; height: 26px; }

/* Sending something. */
.fb-form { margin-top: 0; padding: clamp(20px, 4vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-2); }
.opt { margin-left: 6px; font-weight: 400; font-size: 13.5px; color: var(--muted); }
.fb-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fb-choice { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border: 1.5px solid var(--line-2);
  border-radius: 16px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.fb-choice:hover { border-color: var(--faint); }
.fb-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fb-choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px var(--halo); }
.fb-choice:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.fb-choice-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.fb-choice-icon .i { width: 20px; height: 20px; }
.fb-choice strong { display: block; font-size: 16px; }
.fb-choice span span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.field.bad .fb-choice { border-color: var(--danger); }
.form textarea { width: 100%; min-height: 150px; padding: 14px 16px; font-size: 17px; line-height: 1.55; background: var(--card); border: 1px solid var(--line-2);
  border-radius: 14px; box-shadow: var(--shadow-1); resize: vertical; transition: border-color .15s, box-shadow .15s; }
.form textarea::placeholder { color: var(--faint); }
.form textarea:hover, .form input[type=password]:hover { border-color: var(--faint); }
.form textarea:focus-visible, .form input[type=password]:focus-visible { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--halo); }
.field.bad textarea { border-color: var(--danger); }
.fb-file { width: 100%; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--paper-2); color: var(--muted); font-size: 15px;
  cursor: pointer; transition: border-color .15s, background-color .15s; }
.fb-file:hover { border-color: var(--brand); background: var(--brand-tint); }
.fb-file::file-selector-button { margin-right: 14px; height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card);
  color: var(--ink); font: 600 14px var(--ui); cursor: pointer; }
.field.bad .fb-file { border-color: var(--danger); }
.cta.slim { width: auto; justify-self: start; height: 50px; font-size: 16px; }

/* One item. */
.fb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 9px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.fb-tag .i { width: 15px; height: 15px; }
.fb-tag.bug { background: var(--warn-soft); color: var(--warn); }
.fb-tag.idea { background: var(--brand-soft); color: var(--brand); }

.fb-progress { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.fb-progress li { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 13.5px; color: var(--muted); }
.fb-progress li::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.fb-progress li:first-child::before { display: none; }
.fb-progress li.past::before, .fb-progress li.now::before { background: var(--brand); }
.fb-progress .dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper);
  display: grid; place-items: center; }
.fb-progress .past .dot { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.fb-progress .now .dot { border-color: var(--brand); box-shadow: 0 0 0 5px var(--halo); }
.fb-progress .now .dot:empty::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.fb-progress .now { color: var(--ink); font-weight: 600; }
.fb-progress .dot .i { width: 15px; height: 15px; stroke-width: 2.6; }
.fb-state { margin: 0 0 22px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--tint); color: var(--ink-2); }
.fb-state .i { margin-top: 2px; color: var(--muted); }

.fb-card { padding: clamp(20px, 4vw, 28px); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2); }
.fb-body { font-size: 17px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-device { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--tint);
  font-size: 14px; color: var(--ink-2); }
.fb-device .i { width: 16px; height: 16px; color: var(--muted); }
.fb-shots { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.fb-shots a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); transition: transform .2s var(--ease), box-shadow .2s; }
.fb-shots a:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.fb-shots img { width: 100%; height: 220px; object-fit: cover; object-position: top; }

.fb-thread { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; }
.fb-msg { max-width: 88%; padding: 14px 16px; border-radius: 18px; }
.fb-msg.me { justify-self: end; background: var(--brand-soft); border-bottom-right-radius: 6px; }
.fb-msg.team { justify-self: start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow-1); }
.fb-msg-who { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 6px; font-size: 14px; }
.fb-msg-who span { color: var(--muted); font-size: 13px; }
.fb-msg-who .mark { width: 20px; height: 20px; }
.fb-msg-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.fb-quiet { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--paper-2); color: var(--muted); font-size: 15px; }
.fb-quiet .i { margin-top: 2px; }
.fb-reply { margin-top: 22px; gap: 14px; }
.fb-reply textarea { min-height: 110px; }

@media (max-width: 899px) {
  .stage .logo-tag { display: none; }
}
@media (max-width: 640px) {
  .fb-top-in { padding: 12px 16px; }
  .fb-hi { display: none; }
  .fb-main { padding: 28px 16px 48px; }
  .fb-starts, .fb-pick { grid-template-columns: 1fr; }
  .fb-item { grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px; }
  .fb-item-side { grid-column: 2; }
  .fb-item-title { white-space: normal; }
  .fb-progress { font-size: 12px; }
  .fb-progress li { font-size: 12px; }
  .fb-msg { max-width: 100%; }
  .gate-more { justify-content: flex-start; }
}
