/* Brand landing — Figma ns-branding Landing Page (2102:178)
   Off-white / charcoal fields, Geist display + Inter body, brand indigo links.
   Light + dark via OS preference (tokens.css data-theme still honored). */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* Page-local brand solids (Brand Center / Figma Default) */
.lp-body {
  --lp-bg: #f2f2f2;
  --lp-ink: #0d0d0d;
  --lp-link: #25188e;
  --lp-footer: #666666;
  --lp-mark: #25188e;

  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--f, "Inter", system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) body.lp-body {
    --lp-bg: #0d0d0d;
    --lp-ink: #f2f2f2;
    --lp-link: #5141cc;
    --lp-footer: #a6a09b;
    --lp-mark: #f2f2f2;
  }
}

html[data-theme="dark"] body.lp-body {
  --lp-bg: #0d0d0d;
  --lp-ink: #f2f2f2;
  --lp-link: #5141cc;
  --lp-footer: #a6a09b;
  --lp-mark: #f2f2f2;
}

html[data-theme="light"] body.lp-body {
  --lp-bg: #f2f2f2;
  --lp-ink: #0d0d0d;
  --lp-link: #25188e;
  --lp-footer: #666666;
  --lp-mark: #25188e;
}

.lp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  padding: 0.5rem 1rem;
  background: var(--lp-link);
  color: #fff;
  font-size: 0.875rem;
}

.lp-skip:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--lp-link);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.lp {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.lp-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(2rem, 5vh, 4rem);
  padding-top: clamp(3rem, 10vh, 8rem);
  padding-bottom: clamp(2rem, 6vh, 4rem);
  min-height: 0;
  animation: lp-in 720ms var(--ease-out-quint, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--lp-mark);
  animation: lp-in 640ms var(--ease-out-quint, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.lp-brand__symbol,
.lp-brand__wordmark {
  display: block;
  flex-shrink: 0;
}

.lp-brand__symbol {
  width: clamp(2.75rem, 5vw, 3.4375rem);
  height: clamp(2.75rem, 5vw, 3.4375rem);
}

.lp-brand__wordmark {
  width: clamp(5.5rem, 10vw, 6.5rem);
  height: auto;
}

.lp-headline {
  font-family: var(--f-display, "Geist", system-ui, sans-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
  text-wrap: balance;
  max-width: 18ch;
  animation: lp-in 700ms var(--ease-out-quint, cubic-bezier(0.22, 1, 0.36, 1)) 60ms both;
}

.lp-body-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 500px;
  animation: lp-in 700ms var(--ease-out-quint, cubic-bezier(0.22, 1, 0.36, 1)) 120ms both;
}

.lp-p {
  font-family: var(--f, "Inter", system-ui, sans-serif);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
  text-wrap: pretty;
  padding-bottom: 1rem;
}

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

.lp-link {
  color: var(--lp-link);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 0.12em;
  transition: opacity 180ms var(--ease-out-quart, cubic-bezier(0.25, 1, 0.5, 1));
}

.lp-link:hover {
  opacity: 0.85;
}

.lp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 1.25rem 0 clamp(1.25rem, 4vh, 3rem);
  margin-top: auto;
}

.lp-footer__copy {
  font-family: var(--f, "Inter", system-ui, sans-serif);
  font-size: 0.75rem;
  line-height: 1.33;
  color: var(--lp-footer);
}

.lp-footer__social {
  display: inline-flex;
  color: var(--lp-footer);
  transition: color 180ms var(--ease-out-quart, cubic-bezier(0.25, 1, 0.5, 1));
}

.lp-footer__social:hover,
.lp-footer__social:focus-visible {
  color: var(--lp-ink);
}

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

@media (prefers-reduced-motion: reduce) {
  .lp-main,
  .lp-brand,
  .lp-headline,
  .lp-body-copy {
    animation: none;
  }
}

@media (max-width: 540px) {
  .lp-main {
    gap: 3rem;
    padding-top: clamp(3rem, 10vh, 5rem);
  }

  .lp-headline {
    max-width: none;
  }
}
