/* Desktop split (Clint, 1 Oct 2026), 1000px wide and up: the app as a fixed 480px column on the left (white,
   square edges, a right border) and a panel filling the rest: a photo at sign-in, sign-up and the signed-out home,
   and "Why we ask this" beside each Will step. Below 1000px nothing here applies and the app is as on a phone. */
.ctx, .rv-tab { display: none; }
@media (min-width: 1000px) {
  html, body { height: 100%; }
  body { background: #fff; }
  .stage { display: grid; grid-template-columns: 480px minmax(0, 1fr); justify-items: stretch; align-items: stretch; padding: 0; gap: 0; min-height: 100vh; }
  .phone { width: 480px; max-width: none; height: 100vh; height: 100dvh; position: sticky; top: 0; border-radius: 0; box-shadow: none; background: #fff; border-right: 1px solid var(--border); }
  .phone .topbar { background: #fff; padding: 18px 32px; }
  /* Sheets sit as a centred panel on desktop (the Help sheet, Clint, 4 Oct). */
  .phone .sheet-wrap { align-items: center; justify-content: center; padding: 24px; }
  .phone .sheet { max-width: 440px; border-radius: 20px; max-height: 90%; }
  .phone .screen { padding: 28px 32px 32px; }
  .phone .bottombar { background: #fff; padding: 14px 32px; }
  .sitefoot { justify-content: flex-start; padding: 12px 32px 14px; background: #fff; gap: 6px 0; }
  .sitefoot a:first-child { padding-left: 0; }
  .ctx { display: block; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: auto; min-width: 0; }
  /* Photo panel */
  .ctx-photo { position: relative; height: 100%; overflow: hidden; background: #3b1a2a; color: #fff; }
  .ctx-photo picture, .ctx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .ctx-photo img { object-fit: cover; object-position: 85% 30%; opacity: 0; transition: opacity .4s ease; }
  .ctx-photo img.in { opacity: 1; }
  .ctx-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,8,26,0) 35%, rgba(38,8,26,.55) 62%, rgba(38,8,26,.9) 100%); }
  .ctx-quote { position: absolute; left: 48px; right: 48px; bottom: 48px; text-shadow: 0 1px 18px rgba(40,10,25,.35); }
  .ctx-quote p { margin: 0; font-family: var(--head); font-size: 34px; line-height: 1.15; font-weight: 700; max-width: 16ch; text-wrap: balance; }
  .ctx-quote ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .ctx-quote li { font-size: 14px; font-weight: 500; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35); padding: 6px 12px; border-radius: 999px; }
  /* Why we ask this */
  .ctx-help { min-height: 100%; background: #faf6f7; }
  .ctx-help-in { padding: 48px; display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
  .ctx-help .caps { color: var(--brand-500); }
  .ctx-help h2 { margin: 0; font-size: 26px; line-height: 1.2; }
  .ctx-help p { margin: 0; max-width: 60ch; line-height: 1.55; }
  .ctx-ex { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
  .ctx-ex h3 { margin: 0 0 10px; font-size: 14px; }
  .ctx-ex table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
  .ctx-ex td { padding: 6px 0; border-bottom: 1px solid var(--border); }
  .ctx-ex td:last-child { text-align: right; font-weight: 600; }
  .ctx-ex tr:last-child td { border: 0; }
  .ctx-ex-text td { vertical-align: top; padding: 8px 0; }
  .ctx-ex-text td:first-child { font-weight: 600; width: 42%; padding-right: 16px; }
  .ctx-ex-text td:last-child { text-align: left; font-weight: 400; color: var(--text-2); }
  .ctx-more { font-size: 14px; color: var(--text-2); }
  .ctx-more a { color: var(--brand-500); }
  /* Desktop email sign-in, inline under Continue with Google */
  .auth-inline { display: flex; flex-direction: column; gap: 12px; }
  .auth-or { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 13px; }
  .auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
  /* The reviewer panel (staging and previews) becomes a drawer over the right panel, opened from its tab. */
  .reviewer { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 380px; max-height: none; border-radius: 0; z-index: 60; overflow: auto; transform: translateX(100%); transition: transform .2s ease; }
  .reviewer.open { transform: none; }
  .rv-tab { display: block; position: fixed; right: 0; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; z-index: 61; border: 1px solid var(--border); border-right: 0; background: #fff; color: var(--text-2); font: 600 12px var(--head); letter-spacing: .06em; padding: 12px 6px; border-radius: 0 8px 8px 0; cursor: pointer; }
  .rv-tab[hidden] { display: none; }
  .reviewer.open ~ .rv-tab { right: 380px; }
}
@media (min-width: 1301px) { .ctx-photo img { object-position: 75% 30%; } }
@media (min-width: 1000px) and (prefers-color-scheme: dark) {
  .ctx-help { background: #1c171e; color: #f2ecef; }
  .ctx-help .caps { color: #e07aa8; }
  .ctx-help p, .ctx-more { color: #d9ced4; }
  .ctx-ex { background: #221c24; border-color: #3a3036; }
  .ctx-ex td { border-color: #3a3036; }
  .ctx-more a { color: #e07aa8; }
}
@media (prefers-reduced-motion: reduce) { .ctx-photo img { transition: none; } .reviewer { transition: none; } }
