/* Account: sign in */
.si { display: grid; justify-items: center; padding-top: 20px; padding-bottom: 48px; }
.si-card { width: 100%; max-width: 420px; display: grid; gap: 14px; }
.si-ring { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); background: var(--sheet); color: var(--deep); }
.si-ring > svg { width: 28px; height: 28px; }
.si-title { margin-top: 6px !important; font: var(--display, 400) 40px/1.04 var(--serif); letter-spacing: var(--title-track, -0.01em); text-wrap: balance; }
.si-sub { font-size: 16px; color: var(--soft); }
.si-sub b { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.si-passkey { display: grid; gap: 6px; justify-items: center; margin-top: 6px; }
.si-passkey .btn { width: 100%; }
.si-as { font: 12px var(--mono); color: var(--muted); }
.si-email { display: grid; gap: 10px; margin-top: 4px; }
.si-email .btn { width: 100%; }
.si-label { font-size: 14px; font-weight: 500; }
.si-or { display: flex; align-items: center; gap: 12px; font: 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.si-or::before, .si-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.si-social { display: grid; gap: 10px; }
.si-social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: var(--pill, 999px); border: 1px solid var(--line); background: var(--sheet); color: var(--ink); cursor: pointer; font: 500 15.5px var(--sans); }
.si-social-btn:hover { border-color: #bfb6a5; }
.si-social-btn svg { width: 19px; height: 19px; }
.si-apple { background: var(--ink); border-color: var(--ink); color: #fff; }
.si-apple svg { margin-top: -2px; }
.si-privacy { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.45; }
.si-privacy svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--deep); }
.si-link { position: relative; border: 0; background: none; padding: 0; color: var(--deep); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; cursor: pointer; }
.si-again { font-size: 13.5px; color: var(--muted); }

.si-mail { position: relative; display: grid; gap: 12px; margin-top: 6px; padding: 22px 18px 18px; border: 1px solid var(--line); border-radius: calc(18px * var(--round, 1)); background: #fff; box-shadow: 0 10px 30px rgb(27 26 36 / 0.07); }
.si-mail-proto { position: absolute; top: -9px; left: 14px; padding: 3px 8px; border-radius: var(--pill, 999px); background: var(--paper); border: 1px solid var(--line); font: 500 10px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.si-mail-from { display: flex; align-items: center; gap: 10px; }
.si-mail-from div { display: grid; line-height: 1.3; min-width: 0; }
.si-mail-from b { font-size: 14px; font-weight: 600; }
.si-mail-from span { font-size: 13.5px; color: var(--soft); }
.si-mail-body { font-size: 14px; color: var(--soft); }
.si-mail .btn { justify-self: start; }

@container app (min-width: 700px) {
  .si { padding-top: 72px; padding-bottom: 80px; }
  .si-card { max-width: 440px; padding: 36px 36px 28px; border: 1px solid var(--line); border-radius: calc(28px * var(--round, 1)); background: var(--sheet); }
  .si-title { font-size: 46px; }
  .si-card .field, .si-social-btn:not(.si-apple) { background: var(--paper); }
}
.app[data-screen="signin"] .appbar-signin { visibility: hidden; }

/* the draft they tried signed out, waiting to be kept: sage, free and theirs */
.si-kept { display: grid; gap: 6px; margin-top: 2px; padding: 14px 16px; border-radius: calc(18px * var(--round, 1)); background: var(--free-soft); color: var(--free-ink); }
.si-kept-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.si-kept-top .label { color: var(--free-ink); }
.si-kept-top .free-badge { background: #fff; }
.si-kept-title { font: var(--display, 400) 24px/1.15 var(--serif); letter-spacing: var(--title-track, normal); color: var(--ink); text-wrap: balance; }
.si-kept-wish { font: italic 400 17px/1.3 var(--serif); color: var(--deep); }
.si-kept-list { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.si-kept-list li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 6px; border-radius: var(--pill, 999px); background: #fff; font-size: 12.5px; color: var(--free-ink); }
.si-kept-list svg { width: 14px; height: 14px; color: var(--free); }

/* Make it yours, signed out: sign up first, starting from the session they were listening to */
.si-start { padding-top: 28px; padding-bottom: 120px; }
.si-start .si-card { justify-items: stretch; }
.si-gami { justify-self: center; width: 60px; height: 60px; margin-bottom: 10px; transform-origin: 61.23% 60.25%; }
.si-from { justify-self: center; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; height: 30px; padding: 0 13px; border-radius: var(--pill, 999px); background: var(--free-soft); color: var(--free-ink); font: 400 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-from i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--free); }
.si-start .si-title, .si-start .si-sub { text-align: center; }
.si-start .si-title { margin-top: 0 !important; }
.si-fine { font-size: 13.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.si-try { justify-self: center; min-height: 44px; padding: 6px 4px; border: 0; background: none; font: 500 14.5px var(--sans); color: var(--free-ink); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; cursor: pointer; }
.si-back { justify-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 10px; border: 0; background: none; font: 400 14px var(--sans); color: var(--muted); cursor: pointer; }
.si-back:hover { color: var(--ink); }
.si-back svg { width: 16px; height: 16px; }
.si-start .si-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@container app (min-width: 700px) {
  .si-start { padding-top: 16px; padding-bottom: 140px; }
  .si-start .si-card { gap: 10px; padding-top: 22px; padding-bottom: 18px; }
  .si-start .si-gami { width: 40px; height: 40px; margin-bottom: 2px; }
  .si-start .si-title { font-size: 42px; }
  .si-start .si-social-btn { min-height: 44px; }
  .si-start .field { min-height: 44px; }
  .si-start .si-email .btn { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
}

/* the consent under the ways in */
.si-consent { display: grid; gap: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.si-consent-links { display: flex; justify-content: center; gap: 8px; }
/* the links under the sign-up are whole 44 px targets, side by side, never words inside a sentence */
.si-consent .legal-link, .si-privacy .legal-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 13px; color: var(--deep); }
.si-privacy .legal-link { padding: 0; }
.si-privacy p { margin: 0; }
.si-wait { color: var(--muted); }

/* pricing, terms and privacy */
.lg { display: grid; gap: 18px; max-width: 760px; padding-top: 18px; padding-bottom: 64px; }
.lg-tabs { display: flex; gap: 4px; padding: 3px; justify-self: start; border-radius: var(--pill, 999px); background: var(--wash); }
.lg-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--pill, 999px); background: none; font: 400 14.5px var(--sans); color: var(--muted); cursor: pointer; }
.lg-tab.is-on { background: var(--sheet); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgb(27 26 36 / 0.12); }
.lg-title { font: var(--display, 400) 44px/1.02 var(--serif); letter-spacing: var(--title-track, -0.01em); }
.lg-sec { display: grid; gap: 14px; }
.lg-lead { font-size: 17px; color: var(--soft); }
.lg-h2 { margin-top: 10px !important; font: var(--display, 400) 26px/1.1 var(--serif); letter-spacing: var(--title-track, normal); }
.lg-rows { margin: 0; display: grid; border-top: 1px solid var(--line); }
.lg-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.lg-rows dt { display: grid; gap: 2px; font-size: 15px; }
.lg-rows dt small { font-size: 12.5px; color: var(--muted); }
.lg-rows dd { margin: 0; flex: none; font: 500 14px var(--mono); color: var(--ai-ink); }
.lg-note { font-size: 14px; color: var(--muted); }
.lg-draft { padding: 10px 14px; border: 1px dashed #c4bba9; border-radius: calc(12px * var(--round, 1)); font: 400 12px/1.45 var(--mono); color: var(--muted); }
.lg-list { margin: 0; padding: 0 0 0 18px; display: grid; gap: 12px; font-size: 15.5px; color: var(--soft); }
.lg-list b { color: var(--ink); font-weight: 600; }
@container app (min-width: 700px) { .lg { padding-top: 48px; } .lg-title { font-size: 60px; } }
.si-link::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%); }
/* Send it again is a whole 44 px target, not only its hit area */
.si-link { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 6px; margin: -6px 0; vertical-align: middle; }
.lg-inline { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -12px -4px; padding: 0; vertical-align: baseline; border: 0; background: none; color: var(--deep); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.lg-list .lg-inline { margin: -12px 0; min-width: 0; }
.si-replace { padding: 10px 14px; border-radius: calc(12px * var(--round, 1)); background: var(--wash); font-size: 13.5px; line-height: 1.45; color: var(--soft); }
