/* The landing page: the line, two buttons, and Shabs. Nothing else.
   Loaded after app.css and dash.css (the sign-in sheet lives in dash.css). */

.lp-body { background: var(--paper); overflow: hidden; height: 100vh; height: 100dvh; }

.lp-hero { height: 100vh; height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); }
.lp-copy {
  container-type: inline-size;
  align-self: center; justify-self: end; width: 100%; max-width: 780px;
  display: grid; gap: 34px; justify-items: start;
  padding: 48px clamp(28px, 5vw, 88px) 48px var(--edge);
}
/* Sized to the column, so the longest word ("Embrace") always fits beside the photo. */
.lp-title { font-size: clamp(2.6rem, min(15.4cqi, 17vh), 8.4rem); max-width: none; line-height: 0.88; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-actions .btn { min-width: 10rem; }
.lp-meta { font-size: 13px; color: var(--ink-faint); }
.lp-meta a { color: var(--ink-faint); text-decoration: none; }
.lp-meta a:hover { color: var(--ink); }

.lp-photo { position: relative; margin: 0; background: var(--paper-2); overflow: hidden; }
.lp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

.lp-in { animation: lp-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.lp-copy > :nth-child(2) { animation-delay: 0.1s; }
.lp-copy > :nth-child(3) { animation-delay: 0.2s; }
.lp-photo img { animation: lp-photo 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes lp-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes lp-photo { from { opacity: 0; transform: scale(1.03); } }
.lp { transition: transform 0.6s cubic-bezier(0.6, 0, 0.2, 1), opacity 0.5s ease, filter 0.6s ease; }
.leaving .lp { transform: scale(0.98); opacity: 0; filter: blur(6px); }
.leaving .sheet { opacity: 0; transition: opacity 0.4s ease; }

/* Phones: Shabs on top, the line and buttons under him, still one screen. */
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lp-photo { order: -1; }
  .lp-photo img { object-position: 50% 14%; }
  .lp-copy { justify-self: stretch; max-width: none; gap: 20px; padding: 26px var(--edge) max(22px, env(safe-area-inset-bottom)); }
  .lp-title { font-size: clamp(2.4rem, 16cqi, 4.4rem); }
  .lp-actions { width: 100%; }
  .lp-actions .btn { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-in, .lp-photo img { animation: none; }
  .lp { transition: none; }
}

/* Sign in with Apple / Google, above the email form */
.sso { display: grid; gap: 10px; }
.sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; text-decoration: none; }
.sso-btn svg { width: 18px; height: 18px; flex: none; }
.sso-or { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font-size: 12.5px; color: var(--ink-faint); }
.sso-or::before, .sso-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.finish-note { font-size: 14px; line-height: 1.45; }
