/* /trial in the brand refresh (Conner, 2026-11-02): the landing page's pale
   ground with soft glows and grain, a white card, Inter Tight ink type and
   the ink pill. Only trial.html loads this; the same view in the app keeps
   its look. */
body.pw-body:has(#trial) {
  --t-ink: #0F1115; --t-soft: #3B4049; --t-dim: #5E6570; --t-kick: #0B5BD3;
  --t-crisp: 0 0 0 1px rgba(15, 17, 21, 0.06), 0 2px 4px rgba(15, 17, 21, 0.04), 0 18px 44px rgba(20, 32, 56, 0.10);
  background: linear-gradient(180deg, #F1F3F6, #EBEEF2) fixed;
  -webkit-font-smoothing: antialiased;
}
body.pw-body:has(#trial)::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(36% 48% at 74% 58%, color-mix(in srgb, #FFC79A 85%, transparent), transparent 72%),
    radial-gradient(30% 34% at 18% 16%, color-mix(in srgb, #B9D3FF 70%, transparent), transparent 72%),
    radial-gradient(26% 30% at 30% 92%, color-mix(in srgb, #9BE3BF 45%, transparent), transparent 72%);
}
body.pw-body:has(#trial)::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url(/grain.svg) 0 0 / 260px 260px; mix-blend-mode: overlay; opacity: 0.42;
}
#trial { position: relative; z-index: 1; }
#trial .pw { background: transparent; color: var(--t-ink); }
#trial .pw-card { background: #fff; border: 0; border-radius: 24px; box-shadow: var(--t-crisp); }
#trial .pw-kick { font: 600 12px var(--sans); letter-spacing: 0.08em; color: var(--t-kick); }
#trial .pw-h { font: 600 clamp(30px, 4.6vh, 40px)/1.08 'Inter Tight', Inter, sans-serif; letter-spacing: -0.025em; color: var(--t-ink); }
#trial .pw-h span { color: var(--t-dim); }
#trial .pw-p { color: var(--t-soft); }
#trial .pw-p b { color: var(--t-ink); font-weight: 600; }
#trial .pw-quiet { color: var(--t-dim); }
#trial .pw-go { background: var(--t-ink); color: #fff; font: 600 17px var(--sans); box-shadow: 0 8px 20px rgba(15, 17, 21, 0.14); }
#trial .pw-go:hover { background: var(--t-ink); filter: brightness(1.15); }
#trial .pw-arrow { background: #fff; color: var(--t-ink); }
#trial .pw-who { color: var(--t-dim); }
#trial .pw-out, #trial .pw-out:hover { color: var(--t-ink); font-weight: 600; }
/* No purple: the skills cloud is blue here. */
#trial [fill="#7A5AF8" i] { fill: #1570EF; }
@media (min-width: 768px) {
  #trial .pw-h { font-size: 44px; }
  #trial .pw-go { min-height: 56px; }
}

/* ---- Polish (Conner, 2026-11-02) ---- */
/* The wordmark, top left, at the landing nav's size and line: a 30px cloud
   and "Nimbus" in Inter Tight 600 19px, on the nav's left edge and middle. */
.pw-brand { position: fixed; z-index: 2; top: 50px; left: calc(max(24px, (100% - 1120px) / 2) + 18px); display: inline-flex; align-items: center; gap: 10px;
  font: 600 19px 'Inter Tight', Inter, sans-serif; letter-spacing: -0.02em; color: #0F1115; text-decoration: none; }
.pw-brand-mark svg { display: block; }
/* The card: 440px, 32px inside on every side, centered on the page, with
   the button and Sign in as its last parts. */
#trial .pw-trial { height: auto; min-height: 100vh; min-height: 100dvh; justify-content: center; padding: 96px 20px; overflow: visible; }
#trial .pw-trial .pw-card { flex: none; width: 100%; max-width: 440px; padding: 32px; gap: 12px; }
#trial .pw-trial .pw-h { font-size: 40px; line-height: 1.08; }
#trial .pw-trial .pw-p { font-size: 16px; max-width: 340px; }
#trial .pw-trial .pw-fine { margin: -4px 0 0; font: 400 13px/1.4 var(--sans); color: var(--t-dim); }
#trial .pw-trial .pw-quiet { font-size: 15px; }
#trial .pw-trial .pw-go { width: 100%; max-width: none; min-height: 52px; margin-top: 12px; font-size: 16px; }
#trial .pw-trial .pw-card > .pw-who { margin-top: 2px; }
/* Signed in already: a long email wraps instead of widening the card. */
#trial .pw-trial .pw-signed { overflow-wrap: anywhere; }
/* The five small clouds on one 80px circle around Nimbus's body, 72° apart,
   all 26px. */
#trial .pw-trial .pw-crew { width: 220px; height: 184px; margin: 8px 0; transform: none; }
#trial .pw-trial .pw-c { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; left: auto; right: auto; top: auto; }
#trial .pw-trial .pw-c1 { left: 110px; top: 12px; }
#trial .pw-trial .pw-c2 { left: 186.1px; top: 67.3px; }
#trial .pw-trial .pw-c3 { left: 157px; top: 156.7px; }
#trial .pw-trial .pw-c4 { left: 63px; top: 156.7px; }
#trial .pw-trial .pw-c5 { left: 33.9px; top: 67.3px; }
#trial .pw-trial .pw-c0 { left: 50%; top: 98px; transform: translate(-50%, -50%); }
@media (max-width: 600px) {
  .pw-brand { top: 18px; left: 20px; }
  #trial .pw-trial { padding: 72px 16px 28px; }
  #trial .pw-trial .pw-h { font-size: 34px; }
}
