/* No-JS homepage. The SPA replaces #app; this sheet styles the prerender. */
html, body { background: #08090a; margin: 0; }
html[data-theme-mode="light"], html[data-theme-mode="light"] body { background: #f4f4f5; }
/* Marketing surface. Tokens live on .landing-page so the no-JS stylesheet
   does not depend on the app theme sheet. Content is always visible. */

.landing-page {
  --lp-bg: #08090a;
  --lp-bg-2: #16181b;
  --lp-raised: #1c1e22;
  --lp-inset: #101114;
  --lp-text: #f7f8f8;
  --lp-muted: #8a8f98;
  --lp-faint: #62666d;
  --lp-line: rgba(255, 255, 255, 0.08);
  --lp-line-strong: rgba(255, 255, 255, 0.14);
  --lp-accent: #8b7cf6;
  --lp-shadow: 0 30px 80px -36px rgba(0, 0, 0, 0.85);
  --lp-font: Inter, "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lp-display: Inter, "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lp-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", monospace;
  --lp-max: 1280px;
  --lp-pad: clamp(20px, 4vw, 32px);
  position: relative;
  min-height: 100dvh;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: clip;
}

html[data-theme-mode="light"] .landing-page {
  --lp-bg: #f7f8f8;
  --lp-bg-2: #ffffff;
  --lp-raised: #ffffff;
  --lp-inset: #f3f4f5;
  --lp-text: #08090a;
  --lp-muted: #3f3f46;
  --lp-faint: #71717a;
  --lp-line: rgba(0, 0, 0, 0.08);
  --lp-line-strong: rgba(0, 0, 0, 0.14);
  --lp-accent: #5b4ee6;
  --lp-shadow: 0 24px 50px -28px rgba(24, 24, 27, 0.25);
  background: var(--lp-bg);
}

.landing-page,
.landing-page *,
.landing-page *::before,
.landing-page *::after {
  box-sizing: border-box;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page p,
.landing-page figure,
.landing-page dl,
.landing-page dd,
.landing-page dt {
  margin: 0;
}

.landing-page ul,
.landing-page ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-page a {
  color: inherit;
  text-decoration: none;
}

.landing-page button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.landing-page table {
  border-collapse: collapse;
  width: 100%;
}

.landing-page svg {
  display: block;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--lp-text);
  color: var(--lp-bg);
  border-radius: 6px;
  font-size: 13px;
}

.skip-link:focus {
  top: 12px;
}

.landing-page main,
.landing-page section[id] {
  scroll-margin-top: 80px;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 var(--lp-pad);
  background: color-mix(in srgb, var(--lp-bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 150ms ease, border-color 150ms ease;
}

.landing-nav.is-scrolled {
  background: color-mix(in srgb, var(--lp-bg) 82%, transparent);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.landing-nav-inner {
  width: min(var(--lp-max), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--lp-display);
  font-size: 15px;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--lp-text);
}

.landing-logo:focus-visible,
.landing-nav-center a:focus-visible,
.landing-footer a:focus-visible,
.landing-page .btn:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--lp-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.landing-nav-center {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.landing-nav-center a,
.landing-nav-mobile-panel a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 450;
  color: var(--lp-muted);
  letter-spacing: -0.011em;
}

.landing-nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 150ms ease;
}

.landing-nav-center a:hover::after,
.landing-nav-center a:focus-visible::after {
  transform: scaleX(1);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lp-nav-menu {
  display: none;
  position: static;
}

.landing-nav-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--lp-line);
  color: var(--lp-text);
  list-style: none;
  cursor: pointer;
}

.landing-nav-menu-btn::-webkit-details-marker {
  display: none;
}

.landing-nav-mobile-panel {
  display: none;
}

.landing-nav-mobile-cta {
  justify-content: center;
  margin-top: 8px;
  border-radius: 999px;
  background: #e5e5e6;
  color: #08090a !important;
  font-weight: 510;
}

.landing-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
  filter: none;
  transform: none;
  font-size: 13px;
  font-weight: 510;
  letter-spacing: -0.011em;
  line-height: 1;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.landing-page .btn-lg {
  min-height: 32px;
  padding: 0 14px;
  font-size: 13px;
}

.landing-page .btn-primary {
  background: #e5e5e6;
  color: #08090a;
  border-color: transparent;
  box-shadow: none;
}

.landing-page .btn-secondary {
  background: transparent;
  color: var(--lp-muted);
  border-color: transparent;
}

.landing-page .btn-ghost {
  color: var(--lp-muted);
}

.landing-page .btn::before,
.landing-page .btn::after {
  content: none;
}

.landing-page .btn:hover,
.landing-page .btn:active {
  transform: none;
  filter: none;
  box-shadow: none;
}

.landing-page .btn-primary:hover {
  background: #ffffff;
  color: #08090a;
}

.landing-nav-center a,
.landing-footer a,
.faq-question {
  transition: color 150ms ease;
}

.landing-page .btn-secondary:hover,
.landing-page .btn-ghost:hover,
.landing-nav-center a:hover,
.landing-footer a:hover {
  color: var(--lp-text);
}

html[data-theme-mode="light"] .landing-page .btn-primary,
html[data-theme-mode="light"] .landing-page .btn-primary:hover,
html[data-theme-mode="light"] .landing-nav-mobile-cta {
  background: #08090a;
  color: #f7f8f8 !important;
}

.landing-hero {
  width: min(var(--lp-max), calc(100% - 2 * var(--lp-pad)));
  margin: 0 auto;
  padding: 52px 0 0;
}

.landing-page .lp-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: -0.011em;
  line-height: 1.4;
  color: var(--lp-faint);
}

.landing-page h1 {
  max-width: none;
  min-width: 0;
  font-family: var(--lp-display);
  font-weight: 510;
  font-size: clamp(40px, 4.7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--lp-text);
  font-optical-sizing: auto;
}

.lp-title-lead,
.lp-title-accent {
  display: block;
  white-space: nowrap;
  color: var(--lp-text);
  background: none;
}

.landing-page .lp-lede {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--lp-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.011em;
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-top: 16px;
}

@media (min-width: 1240px) {
  .lp-hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    column-gap: 48px;
    align-items: start;
  }

  .lp-hero-copy .lp-eyebrow {
    grid-column: 1 / -1;
  }

  .lp-hero-copy h1 {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .lp-hero-aside {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    padding-bottom: 4px;
  }

  .lp-hero-aside .lp-lede {
    margin-top: 0;
  }
}

/* Short desktops: the product window runs off the fold so the caption
   and the stats strip are not sliced in half. */
@media (min-width: 960px) and (max-height: 960px) {
  .landing-hero {
    max-height: calc(100dvh - 64px);
    overflow: hidden;
  }
}

.lp-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-top: 4px;
}

.lp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  flex: 1 1 420px;
  max-width: 560px;
  margin-top: 0;
}

.lp-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-left: 16px;
}

.lp-metric:first-of-type {
  padding-left: 0;
}

.lp-metric:not(:first-of-type) {
  position: relative;
}

.lp-metric:not(:first-of-type)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 1px;
  height: 28px;
  background: var(--lp-line-strong);
}

.lp-metric strong {
  font-family: var(--lp-display);
  font-size: 18px;
  font-weight: 510;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--lp-text);
}

.lp-metric span,
.lp-fine,
.hero-preview-caption {
  color: var(--lp-faint);
  font-size: 12px;
  letter-spacing: -0.011em;
  line-height: 1.4;
}

.lp-metric-rule {
  display: none;
}

.landing-page .lp-fine {
  margin-top: 0;
  max-width: 36ch;
}

.landing-page .lp-stage {
  position: relative;
  margin-top: 36px;
  perspective: 1400px;
}

.lp-tilt {
  position: relative;
  transform: rotateX(var(--lp-rx, 7deg));
  transform-origin: 50% 0%;
  transform-style: preserve-3d;
}

.lp-tilt::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 8%;
  bottom: 10%;
  height: 70px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.lp-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 4%;
  right: 4%;
  top: -80px;
  height: 280px;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.075), transparent 68%);
  pointer-events: none;
}

.lp-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}

.lp-hairline {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.lp-count {
  display: inline-grid;
  font-variant-numeric: tabular-nums;
}

.lp-count > span {
  grid-area: 1 / 1;
}

.lp-count-live {
  opacity: 0;
}

.lp-count.is-running .lp-count-final {
  opacity: 0;
}

.lp-count.is-running .lp-count-live {
  opacity: 1;
}

.lp-window {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-color: transparent;
  border-radius: 10px 10px 0 0;
  background: #0a0a0a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 70px -32px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 520px;
  -webkit-mask-image: linear-gradient(#000 0%, #000 82%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 82%, transparent 100%);
}

@media (min-width: 960px) and (max-height: 960px) {
  .landing-page .lp-window {
    min-height: calc(100dvh - 188px);
  }
}

html[data-theme-mode="light"] .lp-window {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    var(--lp-shadow);
}

.lp-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--lp-line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  color: var(--lp-faint);
}

.lp-dots {
  display: inline-flex;
  gap: 5px;
  margin-right: 4px;
}

.lp-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

html[data-theme-mode="light"] .lp-dots i {
  background: rgba(0, 0, 0, 0.16);
}

.lp-chrome-name {
  color: var(--lp-text);
  font-weight: 510;
  letter-spacing: -0.02em;
}

.lp-chrome-crumb {
  color: var(--lp-faint);
  margin-left: 4px;
}

.lp-chrome-crumb .lp-sep {
  margin: 0 4px;
  color: var(--lp-line-strong);
}

.lp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lp-muted);
  font-size: 12px;
  letter-spacing: -0.011em;
}

.lp-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-accent);
}

.lp-status-words {
  display: grid;
}

.lp-status-words span {
  grid-area: 1 / 1;
  white-space: nowrap;
}

.lp-status-words span:nth-child(2) {
  opacity: 0;
}

.lp-body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 230px;
  flex: 1;
  min-height: 498px;
}

.lp-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: auto;
  padding: 10px 8px;
  border-right: 1px solid var(--lp-line);
  background: rgba(0, 0, 0, 0.18);
}

html[data-theme-mode="light"] .lp-side {
  background: #f4f5f6;
}

.lp-side-label {
  padding: 6px 8px 8px;
  font-size: 11px;
  letter-spacing: -0.011em;
  color: var(--lp-faint);
}

.lp-side-label:not(:first-child) {
  margin-top: 14px;
}

.lp-side > span:not(.lp-side-label) {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--lp-faint);
  font-size: 12.5px;
  letter-spacing: -0.011em;
  font-style: normal;
}

.lp-side span.is-on {
  color: var(--lp-text);
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme-mode="light"] .lp-side span.is-on {
  background: rgba(0, 0, 0, 0.05);
}

.lp-side svg {
  width: 14px;
  height: 14px;
}

.lp-side .lp-id {
  justify-self: start;
  width: auto;
  letter-spacing: 0;
}

.lp-side b {
  font-family: var(--lp-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--lp-faint);
}

.lp-editor {
  padding: 16px 16px 28px;
  min-width: 0;
}

.lp-editor-top,
.lp-ghost-top,
.lp-mini-top,
.lp-snippet-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-editor-top {
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.lp-editor-top > div:first-child {
  min-width: 0;
}

.lp-kicker,
.lp-activity-label {
  font-size: 11px;
  letter-spacing: -0.011em;
  color: var(--lp-faint);
}

.lp-number {
  margin-top: 2px;
  font-family: var(--lp-display);
  font-size: 20px;
  font-weight: 510;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.landing-page .lp-id {
  display: inline;
  font-family: var(--lp-font);
  font-style: normal;
  font-weight: inherit;
  letter-spacing: 0;
  font-variant-numeric: normal;
  font-feature-settings: normal;
  white-space: nowrap;
  word-break: keep-all;
}

.lp-editor-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.lp-editor-actions span,
.lp-mini-top b,
.lp-ghost-status {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--lp-line);
  border-radius: 6px;
  font-size: 11px;
  color: var(--lp-muted);
  background: transparent;
}

.lp-editor-actions .is-primary {
  background: #e5e5e6;
  color: #08090a;
  border-color: transparent;
}

html[data-theme-mode="light"] .lp-editor-actions .is-primary {
  background: #08090a;
  color: #f7f8f8;
}

.landing-page .lp-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 28px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lp-line);
}

.lp-meta dt,
.lp-mini dt,
.lp-pay dt {
  font-size: 11px;
  letter-spacing: -0.011em;
  color: var(--lp-faint);
}

.lp-meta dd,
.lp-mini dd,
.lp-pay dd {
  margin-top: 6px;
  font-size: 13px;
  color: var(--lp-text);
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp-table th {
  padding: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.011em;
  color: var(--lp-faint);
  text-align: left;
}

.lp-table th:not(:first-child),
.lp-table td:not(:first-child) {
  text-align: right;
}

.lp-table td {
  padding: 7px 0;
  border-top: 1px solid var(--lp-line);
  font-size: 12.5px;
  color: var(--lp-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.011em;
}

.lp-table td:nth-child(n + 2) {
  color: var(--lp-text);
  font-feature-settings: "tnum";
}

.lp-table td strong {
  display: block;
  color: var(--lp-text);
  font-weight: 510;
  letter-spacing: -0.015em;
}

.lp-table td span {
  display: block;
  margin-top: 1px;
  color: var(--lp-faint);
  font-size: 11px;
}

.lp-totals {
  display: grid;
  justify-content: end;
  gap: 4px;
  margin-top: 10px;
  min-width: 180px;
  margin-left: auto;
}

.lp-totals div {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  font-size: 12px;
  color: var(--lp-faint);
  font-variant-numeric: tabular-nums;
}

.lp-totals .is-due {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--lp-line-strong);
  color: var(--lp-text);
  font-family: var(--lp-display);
  font-size: 14px;
  font-weight: 510;
  letter-spacing: -0.03em;
}

.lp-activity {
  grid-column: auto;
  grid-row: auto;
  width: auto;
  padding: 14px 14px 20px;
  border-left: 1px solid var(--lp-line);
  background: rgba(0, 0, 0, 0.12);
}

.lp-activity-label {
  margin-bottom: 12px;
}

.lp-activity li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 12px 14px;
}

.lp-activity li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lp-line-strong);
}

.lp-activity li.is-now::before {
  background: var(--lp-text);
}

.lp-activity time {
  font-family: var(--lp-mono);
  font-size: 10px;
  color: var(--lp-faint);
}

.lp-activity li span {
  font-size: 12px;
  color: var(--lp-text);
  letter-spacing: -0.011em;
}

.lp-activity li.is-wait span {
  color: var(--lp-muted);
}

.lp-draft {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-faint);
  font-size: 11px;
  line-height: 1.45;
}

.lp-draft .lp-id {
  display: inline;
  color: var(--lp-muted);
  font-family: var(--lp-font);
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-preview-caption {
  margin-top: 8px;
}

.lp-trades {
  width: 100%;
  margin: 28px 0 0;
  padding: 0 max(var(--lp-pad), calc((100% - var(--lp-max)) / 2));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.lp-trades p {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 14px 18px 14px 0;
  border-right: 1px solid var(--lp-line);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.011em;
  color: var(--lp-faint);
  white-space: nowrap;
}

.lp-trades ul {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}

.lp-trades li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 14px;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: -0.015em;
  color: var(--lp-muted);
}

.lp-trades li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background: var(--lp-line);
}

.landing-section,
.lp-close {
  position: relative;
  width: min(var(--lp-max), calc(100% - 2 * var(--lp-pad)));
  margin: 0 auto;
  padding: 128px 0 0;
}

.lp-section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.lp-section-head .lp-eyebrow,
.lp-close .lp-eyebrow {
  margin: 0 0 12px;
}

.landing-page em {
  font-style: normal;
}

.landing-page h2 {
  font-family: var(--lp-display);
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.05;
  color: var(--lp-text);
}

.lp-section-head > p:last-child,
.lp-close > p {
  max-width: 52ch;
  margin-top: 14px;
  color: var(--lp-muted);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.011em;
}

.lp-feature-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "lead lead lead"
    "invoicing clients revenue"
    "bank bank stack";
  gap: 1px;
  align-items: stretch;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--lp-line);
}

.lp-feature.is-lead { grid-area: lead; }
.lp-feature.is-invoicing { grid-area: invoicing; }
.lp-feature.is-clients { grid-area: clients; }
.lp-feature.is-revenue { grid-area: revenue; }
.lp-feature.is-bank { grid-area: bank; }

.lp-feature-stack {
  grid-area: stack;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  min-width: 0;
  background: var(--lp-line);
}

.lp-feature,
.landing-security-item,
.lp-audience,
.lp-plan {
  min-width: 0;
  background: var(--lp-bg);
  padding: 22px 22px 24px;
  box-shadow: none;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.lp-feature.is-lead,
.lp-feature.is-bank {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.lp-feature-icon {
  display: none;
}

.lp-feature h3,
.landing-security-item h3,
.lp-audience h3,
.lp-flow-card h3,
.lp-plan h3 {
  font-family: var(--lp-display);
  font-size: 15px;
  font-weight: 510;
  letter-spacing: -0.02em;
}

.lp-feature p,
.landing-security-item p,
.lp-audience p,
.lp-flow-card > p,
.lp-plan-note,
.lp-pricing-more,
.faq-answer,
.landing-footer p {
  margin-top: 8px;
  color: var(--lp-muted);
  font-size: 13.5px;
  line-height: 1.55;
  letter-spacing: -0.011em;
}

.lp-feature-tag {
  margin-top: 12px !important;
  font-size: 12px !important;
  letter-spacing: -0.011em;
  text-transform: none;
  color: var(--lp-faint) !important;
}

.lp-snippet,
.lp-pay,
.lp-mini {
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: var(--lp-inset);
  padding: 12px;
}

.lp-snippet-bar,
.lp-mini-top {
  justify-content: space-between;
  font-family: var(--lp-mono);
  font-size: 11px;
  color: var(--lp-faint);
}

.lp-snippet ul {
  margin-top: 8px;
}

.lp-snippet li,
.lp-snippet > p,
.lp-mini dl div,
.lp-pay dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid var(--lp-line);
  font-size: 12px;
  color: var(--lp-muted);
  font-variant-numeric: tabular-nums;
}

.lp-snippet > p strong,
.lp-mini-title {
  color: var(--lp-text);
}

.lp-mini-title {
  margin-top: 10px;
  font-family: var(--lp-display);
  font-size: 18px;
  font-weight: 510;
  letter-spacing: -0.03em;
}

.lp-mini-sub,
.lp-pay > span {
  margin-top: 2px;
  color: var(--lp-faint);
  font-size: 12px;
}

.lp-pay > p {
  font-size: 12px;
  color: var(--lp-text);
  letter-spacing: -0.011em;
}

.lp-mini-top b.is-good {
  color: var(--lp-text);
  border-color: var(--lp-line-strong);
}

.lp-section-flow {
  width: min(var(--lp-max), calc(100% - 2 * var(--lp-pad)));
  padding-left: 0;
  padding-right: 0;
  background: none;
}

.lp-flow-beam {
  display: none;
}

.lp-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--lp-line);
}

.lp-flow-card {
  min-width: 0;
  padding: 18px 18px 22px;
  background: var(--lp-bg);
  transition: border-color 150ms ease, background 150ms ease;
}

.lp-story {
  display: none;
}

.lp-story-frame {
  display: grid;
  min-height: 392px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: var(--lp-bg-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.lp-story-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 18px;
  opacity: 0;
  pointer-events: none;
}

.lp-story-panel.is-on {
  opacity: 1;
}

.lp-story-top,
.lp-story-foot,
.lp-story-panel li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.lp-story-top {
  font-size: 12px;
  color: var(--lp-faint);
}

.lp-story-top b {
  font-weight: 510;
  color: var(--lp-muted);
}

.lp-story-top b.is-good {
  color: var(--lp-text);
}

.lp-story-title {
  margin-top: 28px;
  font-family: var(--lp-display);
  font-size: 28px;
  font-weight: 510;
  letter-spacing: -0.034em;
  color: var(--lp-text);
}

.lp-story-sub {
  margin-top: 6px;
  color: var(--lp-faint);
  font-size: 13px;
}

.lp-story-panel ul {
  margin-top: auto;
  padding-top: 28px;
}

.lp-story-panel li,
.lp-story-foot {
  padding: 9px 0;
  border-top: 1px solid var(--lp-line);
  font-size: 13px;
  color: var(--lp-muted);
  font-variant-numeric: tabular-nums;
}

.lp-story-foot strong {
  color: var(--lp-text);
  font-weight: 510;
}

.lp-flow-index {
  margin: 0 0 10px;
  font-family: var(--lp-mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--lp-faint);
}

.lp-flow-card .lp-mini {
  min-height: 168px;
}

.lp-flow-card h3 {
  margin-top: 14px;
}

.lp-plans,
.lp-security,
.lp-audiences {
  display: grid;
  gap: 1px;
}

.lp-plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-items: stretch;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--lp-line);
}

.lp-plan {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  border: 0;
  border-radius: 0;
  background: var(--lp-bg);
}

.lp-plan.is-focus {
  border: 0;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.lp-plan h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.011em;
  color: var(--lp-faint);
}

.lp-plan-price {
  margin-top: 14px;
  font-family: var(--lp-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.lp-plan-price span {
  margin-left: 2px;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--lp-faint);
}

.lp-plan ul {
  margin: 18px 0 22px;
  display: grid;
  gap: 8px;
}

.lp-plan li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--lp-muted);
  font-size: 13.5px;
  letter-spacing: -0.011em;
}

.lp-plan li svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--lp-faint);
}

.lp-plan .btn {
  margin-top: auto;
  width: 100%;
}

.lp-pricing-more {
  margin-top: 16px;
  max-width: 70ch;
}

.lp-pricing-more a {
  color: var(--lp-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-security,
.lp-audiences {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--lp-line);
}

.lp-audiences {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-faq {
  max-width: 720px;
  border-top: 1px solid var(--lp-line);
}

.faq-item {
  border-bottom: 1px solid var(--lp-line);
  background: transparent;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.faq-question:hover {
  color: var(--lp-text);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  color: var(--lp-faint);
  font-weight: 400;
  font-size: 18px;
}

.faq-item[open] .faq-question::after {
  content: "–";
}

.faq-answer {
  max-width: 68ch;
  padding: 0 0 16px;
}

.lp-close {
  width: 100%;
  max-width: none;
  margin: 96px 0 0;
  padding: 104px max(var(--lp-pad), calc((100% - var(--lp-max)) / 2)) 96px;
  border-top: 1px solid var(--lp-line);
  border-radius: 0;
  background:
    radial-gradient(ellipse 68% 90% at 50% -20%, rgba(255, 255, 255, 0.055), transparent 62%),
    transparent;
  box-shadow: none;
}

.lp-close h2 {
  max-width: 11ch;
  font-size: clamp(40px, 5.2vw, 72px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lp-close-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.landing-footer {
  padding: 36px var(--lp-pad) 40px;
  border-top: 1px solid var(--lp-line);
}

.landing-footer-inner,
.landing-footer-bottom {
  width: min(var(--lp-max), 100%);
  margin: 0 auto;
}

.landing-footer-inner {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) 2fr;
  gap: 32px;
}

.landing-footer-brand p {
  max-width: 32ch;
}

.landing-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.landing-footer-heading {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: -0.011em;
  color: var(--lp-faint);
}

.landing-footer-links a {
  display: flex;
  align-items: center;
  min-height: 30px;
  font-size: 13.5px;
  color: var(--lp-muted);
}

.landing-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--lp-line);
}

.landing-footer-bottom p {
  margin: 0;
  font-size: 12px;
}

.landing-footer-legal {
  margin-left: 8px;
}

.landing-footer-legal a {
  color: var(--lp-muted);
}

.landing-page .reveal-item,
.landing-page .reveal-item.revealed {
  opacity: 1;
  transform: none;
  animation: none;
}

@media (prefers-reduced-motion: no-preference) {
  .lp-hero-copy .lp-eyebrow {
    animation: lp-rise 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .lp-title-lead {
    animation: lp-title 720ms cubic-bezier(0.16, 1, 0.3, 1) 40ms both;
  }

  .lp-title-accent {
    animation: lp-title 720ms cubic-bezier(0.16, 1, 0.3, 1) 110ms both;
  }

  .landing-page .lp-lede {
    animation: lp-rise 640ms cubic-bezier(0.16, 1, 0.3, 1) 160ms both;
  }

  .lp-hero-cta {
    animation: lp-rise 600ms cubic-bezier(0.16, 1, 0.3, 1) 220ms both;
  }

  .landing-page .lp-stage {
    animation: lp-window-in 780ms cubic-bezier(0.16, 1, 0.3, 1) 160ms both;
  }

  .lp-meta > div {
    animation: lp-rise 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.62s + var(--i, 0) * 60ms);
  }

  .lp-doc tbody td,
  .lp-table tbody td {
    animation: lp-line 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.78s + var(--line, 0) * 110ms);
  }

  .lp-table tbody tr:first-child td {
    animation:
      lp-line 560ms cubic-bezier(0.16, 1, 0.3, 1) 0.78s both,
      lp-row 10s ease-in-out 1.8s infinite;
  }

  .lp-hairline::before,
  .lp-close-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    transform: translateX(-140%);
  }

  .lp-hairline::before {
    animation: lp-sweep 1.7s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both;
  }

  .landing-page.lp-motion .lp-close.is-shown .lp-close-line::before {
    animation: lp-sweep 1.7s cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
  }

  .landing-page.lp-motion .lp-story-panel {
    transition:
      opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .lp-activity li {
    animation: lp-feed 4.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.48s + var(--i, 0) * 0.09s);
  }

  .lp-status-words span:nth-child(1) {
    animation: lp-word-a 10s ease-in-out 1.4s infinite;
  }

  .lp-status-words span:nth-child(2) {
    animation: lp-word-b 10s ease-in-out 1.4s infinite;
  }

  .lp-table tbody tr:first-child td {
    animation: lp-row 10s ease-in-out 1.4s infinite;
  }

  .landing-page.lp-motion .lp-reveal:not(.is-shown) {
    opacity: 0;
    transform: translateY(12px);
  }

  .landing-page.lp-motion .lp-reveal.is-shown {
    animation: lp-rise 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .landing-page.lp-motion .lp-reveal.lp-reveal-settled,
  .landing-page.lp-motion .lp-reveal.lp-reveal-settled.is-shown {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .faq-item[open] .faq-answer {
    animation: lp-rise 450ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-title {
  from {
    opacity: 0;
    transform: translateY(12px);
    clip-path: inset(0 0 35% 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes lp-line {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-sweep {
  from { transform: translateX(-140%); }
  to { transform: translateX(460%); }
}

@keyframes lp-window-in {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes lp-feed {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  8%,
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-word-a {
  0%,
  40% { opacity: 1; }
  50%,
  88% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes lp-word-b {
  0%,
  40% { opacity: 0; }
  50%,
  88% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes lp-row {
  0%,
  40% { background-color: transparent; }
  50%,
  72% { background-color: rgba(255, 255, 255, 0.045); }
  84%,
  100% { background-color: transparent; }
}

@media (hover: hover) {
  .lp-feature:hover,
  .landing-security-item:hover,
  .lp-audience:hover,
  .lp-plan:hover {
    background: var(--lp-raised);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.16);
  }
}

@media (min-width: 960px) {
  .landing-page.lp-story-on .lp-flow {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.78fr);
    gap: 64px;
    align-items: start;
  }

  .landing-page.lp-story-on .lp-story {
    display: block;
    position: sticky;
    top: 96px;
  }

  .landing-page.lp-story-on .lp-flow-grid {
    display: flex;
    flex-direction: column;
    border: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .landing-page.lp-story-on .lp-flow-card {
    padding: 22px 8px 22px 20px;
    background: transparent;
    border-left: 1px solid var(--lp-line);
  }

  .landing-page.lp-story-on .lp-flow-card .lp-mini {
    display: none;
  }

  .landing-page.lp-story-on .lp-flow-card h3 {
    margin-top: 8px;
    color: var(--lp-muted);
  }

  .landing-page.lp-story-on .lp-flow-card.is-current {
    border-left-color: rgba(255, 255, 255, 0.78);
  }

  .landing-page.lp-story-on .lp-flow-card.is-current h3,
  .landing-page.lp-story-on .lp-flow-card.is-current > p {
    color: var(--lp-text);
  }

  .landing-page.lp-story-on .lp-story-panel {
    transform: translateY(8px);
  }

  .landing-page.lp-story-on .lp-story-panel.is-on {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .landing-nav-center {
    display: none;
  }

  .lp-nav-menu {
    display: block;
  }

  .landing-nav-mobile-panel {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 50;
    flex-direction: column;
    gap: 2px;
    padding: 8px var(--lp-pad) 16px;
    background: color-mix(in srgb, var(--lp-bg) 96%, transparent);
    border-bottom: 1px solid var(--lp-line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .lp-nav-menu[open] .landing-nav-mobile-panel {
    display: flex;
  }

  .landing-nav-mobile-panel a {
    font-size: 15px;
    color: var(--lp-text);
  }

  .landing-nav-links {
    margin-left: auto;
  }

  .lp-feature.is-lead,
  .landing-footer-inner,
  .lp-feature.is-bank {
    grid-template-columns: 1fr;
  }

  .lp-flow-grid,
  .lp-plans,
  .lp-audiences {
    grid-template-columns: 1fr 1fr;
  }

  .lp-security {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .landing-page .lp-stage {
    perspective: none;
  }

  .lp-tilt,
  .lp-tilt::after {
    transform: none;
  }

  .lp-tilt::after {
    display: none;
  }

  .lp-body {
    grid-template-columns: 168px minmax(0, 1fr);
  }

  .lp-activity {
    display: none;
  }
}

@media (max-width: 720px) {
  .landing-hero {
    padding-top: 56px;
  }

  .landing-page h1 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    letter-spacing: -0.034em;
    line-height: 1.05;
    max-width: none;
  }

  .landing-page .lp-stage {
    margin-top: 44px;
  }

  .lp-lede {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.5;
  }

  .lp-hero-copy .lp-eyebrow {
    margin-bottom: 12px;
  }

  .lp-proof {
    display: block;
  }

  .lp-proof .lp-fine,
  .landing-page .lp-proof .lp-fine {
    margin-top: 12px;
  }

  .lp-window {
    min-height: 0;
    border-radius: 10px;
    -webkit-mask-image: linear-gradient(#000 0%, #000 88%, transparent 100%);
    mask-image: linear-gradient(#000 0%, #000 88%, transparent 100%);
  }

  .lp-stage::before,
  .lp-stage::after {
    display: none;
  }

  .lp-side {
    display: none;
  }

  .lp-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lp-chrome-crumb,
  .lp-editor-actions {
    display: none;
  }

  .lp-activity {
    display: block;
    border-left: 0;
    border-top: 1px solid var(--lp-line);
  }

  .lp-meta dd {
    white-space: normal;
  }

  .lp-feature-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "invoicing"
      "clients"
      "revenue"
      "bank"
      "stack";
  }

  .lp-feature-stack {
    grid-template-rows: auto auto;
  }

  .lp-feature.is-lead,
  .lp-feature.is-bank {
    display: block;
  }

  .lp-flow-grid,
  .lp-plans,
  .lp-security,
  .lp-audiences,
  .landing-footer-links {
    grid-template-columns: 1fr;
  }

  .lp-trades p {
    width: 100%;
    padding: 12px 0 0;
    border-right: 0;
  }

  .lp-trades li {
    padding: 10px 12px 12px 0;
  }

  .lp-trades li + li {
    padding-left: 12px;
  }

  .lp-metric {
    padding-left: 10px;
  }

  .lp-metric strong {
    font-size: 16px;
  }

  .landing-section,
  .lp-close {
    padding-top: 72px;
  }

  .lp-close {
    margin-top: 56px;
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .lp-close h2 {
    font-size: clamp(34px, 9vw, 44px);
    max-width: 12ch;
  }

  .hide-on-mobile {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page,
  .landing-page * ,
  .landing-page *::before,
  .landing-page *::after {
    animation: none !important;
    transition: none !important;
  }

  .landing-page.lp-motion .lp-reveal,
  .landing-page.lp-motion .lp-reveal:not(.is-shown) {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
/* Auth and version styles used outside the marketing page. */
.app-version-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  opacity: 0.9;
  letter-spacing: 0.02em;
}
.app-version-badge {
  display: inline-block;
  padding: 0.12em 0.45em;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--warning, #eab308) 45%, transparent);
  background: color-mix(in srgb, var(--warning, #eab308) 14%, transparent);
  color: var(--warning, #eab308);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.auth-version-modern {
  margin: var(--space-4) 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--text-tertiary);
  opacity: 0.92;
}
.checkout-version {
  text-align: center;
  padding: var(--space-5) var(--space-4) var(--space-8);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}
/* --- PREMIUM MODERN AUTHENTICATION STYLES --- */
.auth-page {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.auth-page-modern {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
}

/* Animated Background Orbs */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.28;
  animation: orbFloat 20s infinite ease-in-out alternate;
}
.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
  top: -10%;
  left: -10%;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 24px) scale(1.04); }
  100% { transform: translate(-24px, 36px) scale(0.97); }
}

.auth-back-link-modern {
  position: absolute;
  top: 40px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  z-index: 10;
  transition: color 0.2s;
  min-height: var(--touch-min, 44px);
  padding: 4px 0;
}
@media (hover: hover) {
  .auth-back-link-modern:hover {
    color: white;
  }
}

/* Centered Glassmorphic Card */
.auth-card-modern {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl, 24px);
  padding: 48px 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.auth-card-header {
  text-align: center;
  margin-bottom: 32px;
}
.auth-card-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-bottom: 24px;
}
.auth-card-title {
  color: white;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.auth-card-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.45;
  text-wrap: balance;
}

.auth-form-modern {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label-modern {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
}

.form-input-modern {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: white;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-input-modern::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.form-input-modern:focus,
.form-input-modern:focus-visible {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.auth-forgot-link-modern {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min, 44px);
  padding: 0 2px;
  color: var(--primary-light);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

button.auth-forgot-link-modern,
button.auth-inline-link {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
@media (hover: hover) {
  .auth-forgot-link-modern:hover {
    color: white;
  }
}
.auth-forgot-link-modern:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, white);
  outline-offset: 3px;
  border-radius: 4px;
  color: white;
}

.btn-primary-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--touch-min, 44px);
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  margin-top: 8px;
}
@media (hover: hover) {
  .btn-primary-modern:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  }
}
.btn-primary-modern:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.btn-primary-modern:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, white);
  outline-offset: 2px;
}
.auth-back-link-modern:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, white);
  outline-offset: 3px;
  border-radius: 4px;
}

.auth-divider-modern {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}
.auth-divider-modern::before,
.auth-divider-modern::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-social-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-social-grid-modern.auth-social-single {
  grid-template-columns: 1fr;
}

.btn-social-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--touch-min, 44px);
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-social-modern:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light, #a5b4fc) 70%, white);
  outline-offset: 2px;
}
@media (hover: hover) {
  .btn-social-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }
}

.auth-footer-modern {
  text-align: center;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}
.auth-footer-modern a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
@media (hover: hover) {
  .auth-footer-modern a:hover {
    color: var(--primary-light);
  }
}
.auth-footer-modern a:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, white);
  outline-offset: 3px;
  border-radius: 4px;
  color: var(--primary-light);
}
.auth-legal-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}
.auth-legal-note a,
.auth-inline-link {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
@media (hover: hover) {
  .auth-legal-note a:hover,
  .auth-inline-link:hover {
    color: white;
  }
}
.auth-legal-note a:focus-visible,
.auth-inline-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-light) 70%, white);
  outline-offset: 3px;
  border-radius: 4px;
  color: white;
}

.auth-form-error,
.auth-form-success {
  display: none;
  font-size: 13px;
  line-height: 1.45;
}

.auth-form-error {
  color: var(--danger-light);
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
}

.auth-form-success {
  color: var(--success, #34d399);
  margin-top: 16px;
}

.auth-verify-lead {
  margin-bottom: 32px;
}

.auth-verify-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.auth-verify-prompt,
.auth-verify-resend {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
}

.auth-verify-prompt {
  margin-bottom: 16px;
}

.auth-verify-panel .btn-primary-modern {
  margin: 0;
}

.auth-emphasis {
  color: white;
}

.auth-verify-resend {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
/* Auth form aliases — match launch-layer form sizing */
.form-input-modern {
  min-height: 44px;
}

.form-label-modern {
  color: var(--text-primary);
  font-weight: 650;
}

.audience-card {
  text-align: left;
  padding-left: calc(var(--space-7) + 4px);
}

.audience-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary-subtle), var(--accent-subtle));
  border: 1px solid var(--glass-border);
  color: var(--primary-light);
  box-shadow: 0 6px 20px -6px var(--primary-glow);
}

.audience-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.audience-card-desc {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .auth-social-grid-modern {
    grid-template-columns: 1fr;
  }

  .btn-social-modern {
    min-height: 48px;
  }

  .btn-primary-modern {
    min-height: 48px;
  }

  .form-input-modern {
    min-height: 48px;
    font-size: 16px; /* prevents iOS Safari zoom-on-focus layout breakage */
  }

  .auth-page-modern {
    padding: max(16px, var(--safe-top)) max(16px, var(--safe-right))
      max(24px, var(--safe-bottom)) max(16px, var(--safe-left));
    align-items: flex-start;
    padding-top: calc(72px + var(--safe-top));
  }

  .auth-back-link-modern {
    top: max(16px, var(--safe-top));
    left: max(16px, var(--safe-left));
  }

  .auth-card-modern {
    padding: var(--space-6) var(--space-5);
    border-radius: var(--radius-xl);
  }

  .orb-1,
  .orb-2 {
    opacity: 0.35;
  }
}

html[data-theme-mode="light"] .auth-card-modern {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.28);
  color: var(--text-primary);
}

html[data-theme-mode="light"] .auth-back-link-modern,
html[data-theme-mode="light"] .auth-card-logo,
html[data-theme-mode="light"] .auth-card-title,
html[data-theme-mode="light"] .auth-footer-modern a,
html[data-theme-mode="light"] .auth-emphasis {
  color: var(--text-primary);
}

html[data-theme-mode="light"] .auth-card-subtitle,
html[data-theme-mode="light"] .auth-footer-modern,
html[data-theme-mode="light"] .auth-legal-note,
html[data-theme-mode="light"] .auth-verify-prompt,
html[data-theme-mode="light"] .auth-verify-resend {
  color: var(--text-secondary);
}

html[data-theme-mode="light"] .form-input-modern {
  background: #fff;
  color: var(--text-primary);
  border-color: rgba(15, 23, 42, 0.16);
}

html[data-theme-mode="light"] .form-input-modern::placeholder {
  color: var(--text-tertiary);
}

html[data-theme-mode="light"] .auth-divider-modern {
  color: var(--text-tertiary);
}

html[data-theme-mode="light"] .auth-divider-modern::before,
html[data-theme-mode="light"] .auth-divider-modern::after {
  background: rgba(15, 23, 42, 0.12);
}

html[data-theme-mode="light"] .btn-social-modern {
  background: #fff;
  color: var(--text-primary);
  border-color: rgba(15, 23, 42, 0.14);
}

html[data-theme-mode="light"] .auth-verify-panel {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme-mode="light"] .auth-form-error {
  color: var(--danger);
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.28);
}

html[data-theme-mode="light"] .form-label-modern {
  color: var(--text-primary);
}

html[data-theme-mode="light"] .auth-forgot-link-modern,
html[data-theme-mode="light"] .auth-inline-link,
html[data-theme-mode="light"] .auth-legal-note a {
  /* --primary on the light card is about 4:1. Text links need 4.5:1. */
  color: #1d4ed8;
}

html[data-theme-mode="light"] .auth-forgot-link-modern:focus-visible,
html[data-theme-mode="light"] .auth-inline-link:focus-visible,
html[data-theme-mode="light"] .auth-legal-note a:focus-visible,
html[data-theme-mode="light"] .auth-footer-modern a:focus-visible {
  color: #1d4ed8;
}

@media (hover: hover) {
  html[data-theme-mode="light"] .auth-back-link-modern:hover,
  html[data-theme-mode="light"] .auth-footer-modern a:hover {
    color: #1d4ed8;
  }

  html[data-theme-mode="light"] .auth-forgot-link-modern:hover,
  html[data-theme-mode="light"] .auth-legal-note a:hover,
  html[data-theme-mode="light"] .auth-inline-link:hover {
    color: #1d4ed8;
  }
}

/* Product window: quote detail, builder, and invoice viewer.
   Colors follow the app shell. Marketing chrome stays outside it. */
.lp-app,
.lp-public,
.lp-story-panel {
  --a-bg: #0a0a0a;
  --a-surface: #141414;
  --a-elev: #1c1c1c;
  --a-line: rgba(255, 255, 255, 0.08);
  --a-text: #ededed;
  --a-muted: #a1a1a1;
  --a-faint: #8a8a8a;
  --a-blue: hsl(234, 89%, 68%);
  --a-info: hsl(217, 91%, 70%);
  --a-ok: hsl(152, 55%, 62%);
  --a-danger: hsl(4, 75%, 70%);
  color: var(--a-text);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.011em;
}

.lp-app {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  flex: 1;
  min-height: 560px;
  background: var(--a-bg);
}

.lp-app-solo {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.lp-app-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px 10px;
  border-right: 1px solid var(--a-line);
  background: #101010;
}

.lp-app-brand,
.lp-org,
.lp-user,
.lp-client {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.lp-app-brand {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lp-app-mark {
  width: 16px;
  height: 16px;
  border: 2px solid #a78bfa;
  border-right-color: transparent;
  border-radius: 50%;
}

.lp-avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2a2a2a;
  color: var(--a-text);
  font-size: 10px;
  font-weight: 600;
  flex: none;
}

.lp-org,
.lp-user {
  padding: 6px;
  border-radius: 8px;
}

.lp-org b,
.lp-user b,
.lp-client b,
.lp-doc-company,
.lp-ph-title,
.lp-panel-title,
.lp-public-bar b,
.lp-paper header b {
  display: block;
  color: var(--a-text);
  font-weight: 600;
  font-size: 12px;
}

.lp-org small,
.lp-user small,
.lp-client small,
.lp-ph-sub,
.lp-panel-desc,
.lp-public-bar > div span,
.lp-timeline small,
.lp-client-mail,
.lp-doc-mail,
.lp-doc-company-line {
  display: block;
  color: var(--a-faint);
  font-size: 10.5px;
  font-weight: 400;
}

.lp-nav-label,
.lp-kicker,
.lp-share p,
.lp-paper > p,
.lp-doc-id small,
.lp-via {
  color: var(--a-faint);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.lp-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--a-muted);
}

.lp-nav-item svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.lp-nav-item.is-on {
  color: var(--a-text);
  background: rgba(255, 255, 255, 0.06);
}

.lp-nav-rule {
  height: 1px;
  margin: 6px 8px;
  background: var(--a-line);
}

.lp-new,
.lp-act,
.lp-paid-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid var(--a-line);
  color: var(--a-muted);
  font-size: 11px;
  white-space: nowrap;
}

.lp-new,
.lp-act.is-primary {
  background: var(--a-blue);
  border-color: transparent;
  color: #fff;
}

.lp-act.is-ok {
  color: var(--a-ok);
  border-color: rgba(74, 222, 128, 0.28);
}

.lp-act.is-danger {
  color: var(--a-danger);
  border-color: rgba(248, 113, 113, 0.28);
}

.lp-new {
  margin-top: auto;
}

.lp-user {
  margin-top: 8px;
}

.lp-app-main,
.lp-public {
  min-width: 0;
  padding: 14px 14px 28px;
  background: var(--a-bg);
}

.lp-ph,
.lp-public-bar,
.lp-live-bar,
.lp-actions,
.lp-public-actions,
.lp-doc header,
.lp-doc-sum div,
.lp-builder-totals div,
.lp-line,
.lp-line-head,
.lp-paper li,
.lp-paper header,
.lp-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lp-ph {
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--a-line);
}

.lp-ph-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.lp-actions,
.lp-line-actions,
.lp-public-actions > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.lp-act-rule {
  width: 1px;
  height: 16px;
  margin: 0 2px;
  background: var(--a-line);
}

.lp-split,
.lp-builder-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.72fr);
  gap: 12px;
  margin-top: 12px;
}

.lp-preview,
.lp-card,
.lp-paper,
.lp-public-doc {
  border: 1px solid var(--a-line);
  border-radius: 10px;
  background: var(--a-surface);
}

.lp-preview,
.lp-public-doc {
  padding: 16px 16px 12px;
}

.lp-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-card {
  padding: 10px 12px;
}

.lp-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--a-text);
}

.lp-card dl div,
.lp-share {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  font-size: 11.5px;
}

.lp-card dt,
.lp-share p {
  color: var(--a-faint);
  text-transform: none;
  letter-spacing: -0.011em;
  font-size: 11.5px;
}

.lp-share {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--a-line);
}

.lp-share span {
  display: block;
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #111;
  color: var(--a-muted);
  font-size: 11px;
}

.lp-paper header span {
  text-align: right;
  color: #111827;
  font-weight: 700;
}

.lp-badge,
.lp-pill,
.lp-paid-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--a-line);
  color: var(--a-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lp-badge i,
.lp-timeline i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.lp-badge.is-viewed,
.lp-pill {
  color: var(--a-blue);
  background: rgba(96, 140, 255, 0.1);
}

.lp-badge.is-accepted,
.lp-badge.is-paid,
.lp-pill.is-paid,
.lp-paid-flag {
  color: var(--a-ok);
  background: rgba(74, 222, 128, 0.1);
}

.lp-badge.is-draft {
  color: var(--a-muted);
}

.lp-doc header {
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--a-line);
}

.lp-doc-company {
  font-size: 16px;
}

.lp-doc-id {
  text-align: right;
}

.lp-doc-id .lp-id {
  display: block;
  margin-top: 4px;
  font-family: var(--lp-mono);
  font-size: 13px;
  letter-spacing: 0;
}

.lp-ph-title .lp-id {
  font-family: var(--lp-mono);
  font-size: 15px;
  letter-spacing: 0;
}

.lp-doc-id p,
.lp-via {
  margin-top: 4px;
  color: var(--a-faint);
  font-size: 10.5px;
  text-transform: none;
  letter-spacing: 0;
}

.lp-kicker {
  margin-top: 12px;
}

.lp-doc-client {
  margin-top: 2px;
  font-weight: 650;
}

.lp-doc table,
.lp-paper ul {
  width: 100%;
  margin-top: 12px;
}

.lp-doc th {
  padding: 6px 0;
  border-bottom: 1px solid var(--a-line);
  color: var(--a-faint);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.lp-doc th:first-child,
.lp-doc td:first-child,
.lp-line span:first-child,
.lp-line-head span:first-child {
  text-align: left;
}

.lp-doc td {
  padding: 8px 0;
  border-bottom: 1px solid var(--a-line);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.lp-doc-sum,
.lp-builder-totals {
  width: min(220px, 100%);
  margin: 12px 0 0 auto;
  padding: 10px 12px;
  border: 1px solid var(--a-line);
  border-radius: 8px;
  background: var(--a-elev);
}

.lp-doc-sum div,
.lp-builder-totals div {
  padding: 3px 0;
  color: var(--a-muted);
  font-variant-numeric: tabular-nums;
}

.lp-doc-sum .is-total,
.lp-builder-totals .is-total,
.lp-paper .is-total {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--a-line);
  color: var(--a-text);
  font-weight: 700;
}

.lp-via {
  margin-top: 14px;
  text-align: center;
}

.lp-via b {
  color: var(--a-blue);
}

.lp-timeline {
  display: flex;
  flex-direction: column;
}

.lp-timeline li {
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
}

.lp-timeline i {
  margin-top: 4px;
  background: var(--a-faint);
  box-shadow: 0 12px 0 0 var(--a-line);
}

.lp-timeline li:last-child {
  padding-bottom: 0;
}

.lp-timeline li:last-child i {
  box-shadow: none;
  background: var(--a-blue);
}

.lp-timeline b {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.lp-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.lp-steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--a-faint);
  font-size: 11px;
}

.lp-steps b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2a2a2a;
  font-size: 10px;
}

.lp-steps .is-on {
  color: var(--a-text);
}

.lp-steps .is-on b,
.lp-steps .is-done b {
  background: var(--a-blue);
  color: #fff;
}

.lp-panel-title {
  font-size: 14px;
}

.lp-line-head,
.lp-line {
  display: grid;
  grid-template-columns: 1.4fr 0.4fr 0.7fr 0.7fr 0.6fr;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid var(--a-line);
  color: var(--a-muted);
  font-variant-numeric: tabular-nums;
}

.lp-line-head {
  color: var(--a-faint);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.lp-line-actions {
  margin-top: 8px;
}

.lp-live-bar {
  margin-bottom: 8px;
  color: var(--a-muted);
}

.lp-paper {
  padding: 12px;
  background: #fff;
  color: #111827;
}

.lp-paper header b,
.lp-paper strong,
.lp-paper .is-total {
  color: #111827;
}

.lp-paper > p,
.lp-paper em,
.lp-paper li,
.lp-paper header small {
  color: #6b7280;
  font-style: normal;
}

.lp-paper li {
  padding: 6px 0;
  border-top: 1px solid #f3f4f6;
}

.lp-paper .is-total span:last-child {
  color: #2563eb;
}

.lp-public-actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--a-line);
}

.lp-public-actions b {
  display: block;
}

.lp-public-actions span {
  color: var(--a-faint);
  font-size: 11px;
}

.lp-story-panel {
  padding: 0;
  overflow: hidden;
  background: var(--a-bg);
}

.lp-story-frame {
  height: 468px;
  min-height: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.lp-story-panel {
  min-height: 0;
  height: 100%;
}

.lp-story-panel .lp-app,
.lp-story-panel .lp-public,
.lp-story-panel .lp-builder {
  min-height: 0;
}

@media (max-width: 900px) {
  .lp-split,
  .lp-builder-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .lp-app {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lp-app-side,
  .lp-rail,
  .lp-live {
    display: none;
  }

  .lp-actions .lp-act:nth-child(n + 3) {
    display: none;
  }
}
