/* The signed-in area (account, video and cuts, checkout, support) in the "Vibrante" look of landing.css: the old tokens of
   application.css point at the violet ones, the studio bands are the deep ink and every control is a 44px round target. */
.lp {
  --bg-paper: var(--v-paper);
  --bg-surface: #FFFFFF;
  --bg-subtle: var(--v-tint);
  --bg-studio: var(--v-ink);
  --bg-studio-deep: #0A0618;
  --bg-studio-elevated: var(--v-ink-2);
  --text-primary: var(--v-text);
  --text-secondary: #3B3554;
  --text-muted: var(--v-muted);
  --text-on-studio-muted: var(--v-on-ink-muted);
  --accent-primary-soft: var(--v-violet-soft);
  --accent-brass: var(--v-lime);
  --accent-signal: var(--v-sky);
  --accent-secondary: var(--v-violet);
  --accent-secondary-light: #D9CCFF;
  --border-hairline: var(--v-line);
  --border-strong: #CFC4F0;
  --border-input: #A79FC4;
  --border-studio: var(--v-ink-line);
  --danger: #9E1550;
  --danger-bg: #FFF0F6;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: var(--v-radius);
  --c-content: var(--v-violet);
}
/* The 9:16 preview mirrors the MP4, so it keeps the colors and corners the renderer burns. */
.lp .phone-screen { --bg-studio: #14213D; --radius-xs: 4px; --accent-secondary-light: #C9D3E6; }

.lp :is(h1, h2) { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; }
.lp h3 { font-family: var(--font-display); letter-spacing: -.02em; }
/* A page shorter than the window ends in the footer's ink, not in a light band below it. */
html:has(> body.lp) { background: #120A2E; }
.lp .btn { min-height: 44px; }
.lp .btn.sm { min-height: 44px; padding: 0 18px; }
.lp .btn.xs { min-height: 44px; padding: 0 14px; font-size: .8125rem; }
.lp :is(.video-head, .phone) .btn:not(.ghost) { border-color: var(--v-lime); background: var(--v-lime); color: var(--v-ink); }
.lp :is(.video-head, .phone) .btn:not(.ghost):hover { border-color: var(--v-lime-hover); background: var(--v-lime-hover); color: var(--v-ink); }
.lp .btn.danger { border-color: #FFC2D8; color: var(--danger); }
.lp .btn.danger:hover { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); }
.lp .nav-menu summary { display: inline-flex; align-items: center; min-height: 44px; }
.lp .nav-menu-panel :is(a, button) { min-height: 44px; }
.lp .flash { margin-top: 16px; }
.lp .flash.notice { border-left-color: var(--v-lime); }
.lp :is(.form-error, .onboarding-alert) { border: 1px solid #FFC2D8; border-left: 4px solid var(--v-pink); border-radius: 14px; background: #FFF0F6; color: var(--danger); }
.lp .form-ok { border-radius: 14px; border-left-width: 4px; }

/* Waiting, failure and quota states */
.lp .state { padding-bottom: 24px; }
.lp .state h1 { font: 800 clamp(2rem, 1.5rem + 2vw, 2.75rem)/1.08 var(--font-display); letter-spacing: -.035em; }
.lp .spinner { border-width: 3px; border-color: var(--v-violet-soft); border-top-color: var(--v-violet); }
.lp .progress li::marker { color: var(--v-violet); font-weight: 700; }
.lp .notify { border-radius: var(--v-radius); box-shadow: 0 24px 48px -36px rgb(18 10 46 / .45); }

/* Video page: the ink band with the violet glow of the hero */
.lp .video-head { position: relative; isolation: isolate; overflow: hidden; }
.lp .video-head::before { content: ""; position: absolute; inset: -30% -10% auto auto; z-index: -1; width: 60vw; height: 120%; background: radial-gradient(closest-side, rgb(109 59 255 / .45), transparent 70%); pointer-events: none; }
.lp .video-frame img { border-radius: 20px; }
.lp .video-channel { color: var(--v-lime); }
.lp .timeline-head h2 { font: 700 .75rem var(--font-sans); letter-spacing: .14em; }
.lp .tabs a[aria-selected="true"] { border-bottom-width: 3px; }
.lp .tabs a { display: inline-flex; align-items: center; min-height: 44px; }

/* Cuts */
.lp .clip { overflow: hidden; box-shadow: 0 30px 60px -48px rgb(18 10 46 / .45); }
.lp .clip-no { font-weight: 800; }
.lp .clip-body h3 { font-weight: 800; font-size: 1.625rem; line-height: 1.15; }
.lp .legal { padding: 12px 14px; border-left: 4px solid var(--v-violet); border-radius: 12px; background: var(--v-tint); font: 400 .9375rem/1.5 var(--font-sans); }
.lp .hook { border-left-width: 4px; border-left-color: var(--v-pink); }
.lp .choice:has(input:checked) { background: var(--v-violet-soft); }
.lp .nudge { min-height: 44px; }
.lp .video-mode-option { min-height: 44px; padding: 0 14px; }
.lp .clip-editor > summary, .lp .clip-editor-invite > summary, .lp details > summary { min-height: 44px; display: flex; align-items: center; }
.lp .preset-badge { background: var(--v-violet-soft); color: var(--v-violet); }
.lp .toggle-check { min-height: 44px; color: var(--v-text); }
.lp .quote { border-radius: 20px; }
.lp .quote:nth-child(3n + 2) { background: linear-gradient(135deg, var(--v-violet), var(--v-pink)); }

/* Checkout and onboarding dialogs */
.lp :is(.checkout, .onboarding) { border-top: 0; border-radius: var(--v-radius); box-shadow: 0 30px 60px -40px rgb(18 10 46 / .45); }
.lp :is(.checkout, .onboarding)::backdrop { background: rgb(18 10 46 / .7); }
.lp .checkout::before { content: ""; display: block; height: 6px; margin: -32px -32px 24px; border-radius: var(--v-radius) var(--v-radius) 0 0; background: linear-gradient(90deg, var(--v-violet), var(--v-pink), var(--v-orange)); }
.lp .onboarding-progress li { height: 6px; }
.lp .onboarding-progress li.done { background: linear-gradient(90deg, var(--v-violet), var(--v-pink)); }
.lp :is(.plan-option, .payment-method-option, .terms-consent, .checkout-chosen) { border-radius: 16px; }
@media (max-width: 520px) { .lp .trim-row > label { width: 100%; } }
@media (max-width: 520px) { .lp .checkout::before { margin: -24px -20px 20px; } }

/* Account, support and the other signed-in pages: a page head and white cards on the paper. */
.app-page { padding-top: 48px; padding-bottom: 72px; }
.app-page.is-narrow { max-width: calc(760px + 2 * var(--gutter)); }
.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 32px; }
.app-head h1 { margin: 0 0 6px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1.05; overflow-wrap: anywhere; }
.app-head p { margin: 0; overflow-wrap: anywhere; }
.app-head .app-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.app-intro { max-width: 60ch; margin: 0 0 28px; color: var(--v-muted); font-size: 1.0625rem; }
.app-card { margin: 0 0 24px; padding: 28px; border: 1px solid var(--v-line); border-radius: var(--v-radius); background: #fff; box-shadow: 0 30px 60px -48px rgb(18 10 46 / .45); }
.app-card > h2 { margin: 0 0 16px; font-size: 1.375rem; letter-spacing: -.02em; }
.app-card > .eyebrow + h2 { margin-top: 0; }
.app-card.is-danger { border-color: #FFC2D8; }
.app-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.app-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.app-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; padding: 14px 16px; border: 1px solid var(--v-line); border-radius: 16px; background: var(--v-paper); }
.app-row > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.app-row p { margin: 4px 0 0; }
.app-row .app-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.app-row form { margin: 0; }
.app-status { color: var(--v-violet); font-weight: 700; }
.app-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--v-ink); color: var(--v-lime); font-size: .75rem; font-weight: 700; }
.app-facts { display: grid; gap: 8px; margin: 0 0 16px; }
.app-facts strong { color: var(--v-text); }
.app-form { display: grid; gap: 16px; }
.app-form label { display: grid; gap: 6px; color: var(--v-text); font-size: .9375rem; font-weight: 700; }
.app-form .app-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.app-form .app-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.app-note { margin: 0; padding: 12px 14px; border-left: 4px solid var(--v-violet); border-radius: 12px; background: var(--v-tint); font-size: .9rem; overflow-wrap: anywhere; }
.app-card a:not(.btn), .app-intro a, .app-submit a { color: var(--v-violet); font-weight: 600; }
@media (max-width: 520px) {
  .app-page { padding-top: 32px; }
  .app-card { padding: 22px 18px; }
  .app-head .app-actions, .app-row .app-actions { width: 100%; }
  .app-head .app-actions > *, .app-row .app-actions > * { flex: 1 1 auto; }
  .app-head .app-actions .btn, .app-row .app-actions .btn, .app-form .app-submit .btn { width: 100%; }
}

/* Quota used up on a cut: the plans right there, on a tinted card. */
.quota-locked-box { margin-top: 8px; padding: 16px 18px; border: 1px solid var(--v-line); border-left: 4px solid var(--v-pink); border-radius: 16px; background: var(--v-tint); }
.quota-locked-box p { margin: 0; color: var(--v-text); font-size: .9rem; line-height: 1.5; }
.quota-locked-box .actions { margin-top: 12px; }
.app-row > div:first-child > strong > a { display: inline-flex; align-items: center; min-height: 44px; }
.app-note + .btn { margin-top: 16px; }
