/* Sign-in, not-invited and error pages. */

body.auth {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(1000px 640px at 0% 0%, color-mix(in srgb, var(--accent-soft) 85%, transparent), transparent 70%),
    var(--bg-side);
}

.splash {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.splash-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 64px clamp(28px, 7vw, 112px);
  max-width: 640px;
  justify-self: end;
  width: 100%;
}

.headline {
  font-family: var(--font-read);
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.026em;
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}
.headline em { font-style: italic; font-weight: 560; color: var(--accent); }

.pitch {
  max-width: 30ch;
  font-family: var(--font-read);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  font-variation-settings: "opsz" 20;
}

.features {
  display: grid;
  gap: 12px;
  max-width: 40ch;
  margin: 2px 0 6px;
  padding: 0;
  list-style: none;
  font-size: var(--fs-md);
  line-height: 1.4;
  color: var(--ink-2);
}
.features li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.features .i { margin-top: 1px; }
.features .i-magic { color: var(--magic); }
.features .i-discover { color: var(--accent); }
.features .i-keys { color: var(--ink-3); }
.features b { color: var(--ink); font-weight: 620; }

.signin { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 20px 0 16px;
  border-radius: var(--r-md);
  background: var(--bg-raised);
  border: 1px solid var(--rule-strong);
  box-shadow: var(--shadow-1);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--ink);
  transition: border-color .12s, box-shadow .12s, transform .12s;
}
.btn-google:hover { border-color: var(--ink-4); box-shadow: var(--shadow-pop); }
.btn-google .i-google { width: 20px; height: 20px; }

.btn-dev { height: 40px; font-weight: 520; }
.signin form { margin: 0; }
.tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: var(--bg-sunk);
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
}

.fineprint { color: var(--ink-3); font-size: 13px; }
.splash .notice { max-width: 420px; }
.splash .notice code { font-family: var(--font-mono); font-size: 12px; }

/* The river: a quiet preview of the product itself. */
.splash-river {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-left: 1px solid var(--rule);
  display: flex;
  align-items: center;
  padding: 48px 0 48px clamp(24px, 4vw, 64px);
}
.river {
  width: min(620px, 100%);
  border-top: 1px solid var(--rule);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 96%);
}
/* Preview rows reuse the list's .row styles from base.css; they are decorative here. */
.river .row-main { cursor: default; }
.river .why { font-weight: 520; }

/* not-invited / error */
.solo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 18px;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px;
}
.wordmark-small { font-size: 20px; margin-bottom: 20px; }
.solo-title {
  font-family: var(--font-read);
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.solo-text { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); }
.solo-text strong { color: var(--ink); font-weight: 620; overflow-wrap: anywhere; }
.solo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.solo-actions .btn { height: 40px; }

@media (max-width: 900px) {
  .splash { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .splash-copy { justify-self: stretch; max-width: none; padding: 56px 24px 32px; gap: 22px; }
  .splash-river { border-left: 0; border-top: 1px solid var(--rule); padding: 0; align-items: flex-start; min-height: 320px; }
  .river { width: 100%; border-top: 0; }
  .river .row-main { padding: 14px 20px 14px 22px; }
}
