/* OUTBOX · final brand (round 3)
   Type: Pilcrow Rounded 900/700 (display, wordmark, pills) + Switzer 400/500/600 (text).
   Both by Indian Type Foundry via fontshare.com, ITF Free Font License (fonts/LICENSE.txt).
   White page, ink, one cobalt for "your yes". Colour otherwise lives in the four agent bots.
   Emails are flat (what arrives); proposals are tactile cards with an agent edge (what needs you).
   Pages live at r3/<page>/ and link ../brand/kit.css + ../brand/components.css. */
@font-face { font-family: "Pilcrow Rounded"; src: url("fonts/pilcrow-rounded-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Pilcrow Rounded"; src: url("fonts/pilcrow-rounded-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --white: #FFFFFF; --g50: #FAFAFA; --g100: #F4F4F5; --line: #E5E5E7; --g300: #D4D4D8;
  --g500: #85858E; --g700: #4E4E57; --ink: #141416;
  --cobalt: #2448FF; --cobalt-press: #1B38D9; --cobalt-wash: #EEF1FF;
  --butler: #F08A24; --coder: #2FBFA0; --marketer: #F0B429; --support: #17171A;
  --display: "Pilcrow Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ring: 0 0 0 1px rgba(20,20,22,.07);
  --lift-1: 0 1px 2px rgba(20,20,22,.06), 0 8px 18px -8px rgba(20,20,22,.16);
  --lift-2: 0 2px 4px rgba(20,20,22,.05), 0 22px 44px -18px rgba(20,20,22,.26);
  --lift-3: 0 4px 8px rgba(20,20,22,.06), 0 40px 70px -24px rgba(20,20,22,.32);
  --ease-out: cubic-bezier(.23,1,.32,1); --ease-drawer: cubic-bezier(.32,.72,0,1); --ease-io: cubic-bezier(.65,0,.35,1);
  --r-card: 24px; --pad: clamp(20px, 5vw, 72px); --safe-b: env(safe-area-inset-bottom, 0px);
}
[data-agent=butler]{--ac:var(--butler);--on:#fff} [data-agent=coder]{--ac:var(--coder);--on:#fff}
[data-agent=marketer]{--ac:var(--marketer);--on:var(--ink)} [data-agent=support]{--ac:var(--support);--on:#fff}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 12px; }

/* Sections fill the screen. */
.screen { min-height: 100svh; position: relative; }

/* Type */
.h1 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 7vw, 108px); letter-spacing: -.035em; line-height: 1.04; margin: 0; }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5vw, 76px); letter-spacing: -.03em; line-height: 1.04; margin: 0; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.015em; line-height: 1.15; margin: 0; }
.lede { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--g700); max-width: 38ch; margin: 0; }
.meta { font-size: 13px; color: var(--g500); font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--g500); }
.eyebrow .ic { width: 16px; height: 16px; }

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Wordmark: lowercase "outbox", Pilcrow Rounded 900. No mark on the x. */
.wm { font-family: var(--display); font-weight: 900; letter-spacing: -.045em; line-height: .9; color: var(--ink); position: relative; display: inline-block; }
.wm .wm-x { position: relative; display: inline-block; }
/* No dot on the x: Unai removed it (no bot, no dot). */
.wm .wm-x::after { content: none; }

/* Pills. Air: the edge never touches the text. No layout change on hover. */
.pl { display: inline-flex; align-items: center; gap: .32em; padding: .14em .56em .16em .2em; border-radius: 999px; line-height: 1.12;
  white-space: nowrap; vertical-align: baseline; transform: rotate(var(--t, 0deg)); transform-origin: 50% 60%;
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out), color .3s var(--ease-out); }
.pl .pl-t { position: relative; top: -.04em; }
.pl .pl-ic { display: inline-grid; place-items: center; width: 1.04em; height: 1.04em; border-radius: 30%; flex: none; transition: background-color .3s, color .3s; }
.pl .pl-ic .ic { width: .6em; height: .6em; }
.pl .pl-bot { display: inline-grid; width: 1.12em; height: 1.12em; flex: none; margin: -.04em 0; }
.pl .pl-bot .blob { --s: 1.12em; }
.pl-mail { background: var(--g100); color: var(--ink); }
.pl-mail .pl-ic { background: #fff; color: var(--g700); box-shadow: var(--ring); }
.pl-agent { background: #fff; color: var(--ink); box-shadow: var(--ring), var(--lift-1); }
.pl-out { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 .07em var(--ac, var(--ink)); }
.pl-out .pl-ic { background: var(--ac, var(--ink)); color: var(--on, #fff); }
.pl-plain { background: var(--g100); color: var(--ink); }
.pl-yes { background: var(--cobalt); color: #fff; }
.pl-yes .pl-ic { background: #fff; color: var(--cobalt); }
.pl[data-hot] { background-color: #EBEBEE; }
.pl-agent[data-hot], .pl-out[data-hot] { background-color: #F6F6F7; }
.pl-yes[data-hot] { background-color: var(--cobalt-press); }
.pl[data-hot] .pl-ic { animation: pl-nudge .6s var(--ease-out); }
@keyframes pl-nudge { 0% { transform: rotate(0) scale(1); } 40% { transform: rotate(-12deg) scale(1.1); } 100% { transform: rotate(0) scale(1); } }

/* Email (flat, what arrives) */
.mail { display: flex; align-items: center; gap: 10px; width: var(--mw, 340px); padding: 12px 14px; background: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(20,20,22,.2); position: relative; font-size: 14px; }
.mail-ava { width: 28px; height: 28px; border-radius: 50%; background: var(--g100); color: var(--g700); display: grid; place-items: center; font-size: 12px; font-weight: 500; flex: none; }
.mail-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.mail-from { font-weight: 500; font-size: 13.5px; }
.mail-subj { color: var(--g700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-time { color: var(--g500); font-size: 12.5px; font-variant-numeric: tabular-nums; align-self: flex-start; }
.mail-lock { position: absolute; top: -10px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.mail-lock .ic { width: 13px; height: 13px; }
.mail-bot { position: absolute; top: -16px; right: -12px; }

/* Proposal card (tactile, what needs you) */
.pcard { background: #fff; border-radius: var(--r-card); box-shadow: var(--ring), 0 4px 0 0 var(--ac, var(--g300)), var(--lift-2); padding: 18px 20px; position: relative; }
.pcard .pc-title { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.015em; line-height: 1.2; }

/* Buttons + waitlist */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font-weight: 500; font-size: 16px; text-decoration: none; transition: transform .2s var(--ease-out), background-color .2s; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn-yes { background: var(--cobalt); color: #fff; } .btn-yes:hover { background: var(--cobalt-press); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--g100); color: var(--ink); }
.wl { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: var(--ring), var(--lift-1); width: min(100%, 470px); }
.wl input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 18px; font-size: 16px; }
.wl-ok { margin: 0; padding: 12px 18px; color: var(--ink); }
@media (max-width: 560px) { .wl { flex-direction: column; border-radius: 26px; } .wl input { flex: none; height: 48px; } }

/* Harness chip */
.hn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 999px; background: #fff; box-shadow: var(--ring), var(--lift-1); font-size: 15px; font-weight: 500; }
.hn img { width: 20px; height: 20px; display: block; }
.hn.hn-text { padding-left: 16px; padding-right: 16px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
