@font-face {
  font-family: "Magnetik";
  src: url("assets/fonts/magnetik-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Magnetik";
  src: url("assets/fonts/magnetik-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Magnetik";
  src: url("assets/fonts/magnetik-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("assets/fonts/interdisplay-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("assets/fonts/interdisplay-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("assets/fonts/interdisplay-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pp-ease-move: cubic-bezier(0.77, 0, 0.175, 1);
}

html body {
  min-width: 320px;
  background: #fcfdff;
}

body .lm.lm {
  --accent: #1074fd;
  --accent-strong: #0050f6;
  --accent-soft: #d9e9ff;
  --accent-muted: #cddcfc;
  --accent-glow: rgba(16, 116, 253, 0.2);
  --bg: #fcfdff;
  --surface: #ffffff;
  --surface-elevated: #f7faff;
  --text: #242424;
  --text-body: #505050;
  --text-muted: #6b7280;
  --border: #dae3ef;
  --border-bright: #c8d7eb;
  --error: #b42318;
  --success: #067647;
  --radius: 24px;
  min-height: 100vh;
  overflow: hidden;
  color: var(--text);
  background-color: var(--bg);
  font-family: "Inter Display", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body .lm.lm--landing {
  background-image:
    url("assets/images/hero-pattern.webp"),
    linear-gradient(180deg, #fcfdff 0%, #fcfdff 48%, #edf5ff 78%, #d9e9ff 100%);
  background-position: center top, center;
  background-repeat: no-repeat;
  background-size: max(1440px, 100vw) auto, cover;
}

body .lm.lm--builder {
  background-image:
    radial-gradient(circle at 7% 18%, rgba(122, 178, 255, 0.2), transparent 25rem),
    radial-gradient(circle at 94% 52%, rgba(205, 220, 252, 0.42), transparent 30rem),
    linear-gradient(rgba(16, 116, 253, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 116, 253, 0.045) 1px, transparent 1px);
  background-position: center, center, center, center;
  background-size: auto, auto, 44px 44px, 44px 44px;
}

body .lm *,
body .lm *::before,
body .lm *::after {
  box-sizing: border-box;
}

body .lm .lm-skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 2px solid var(--accent-soft);
  border-radius: 10px;
  color: #fff;
  background: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms var(--pp-ease-out);
}

body .lm .lm-skip-link:focus {
  outline: 3px solid #242424;
  outline-offset: 3px;
  transform: translateY(0);
}

body .lm button,
body .lm a,
body .lm input,
body .lm select,
body .lm textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(16, 116, 253, 0.16);
}

body .lm .lm-display,
body .lm .lm-headline,
body .lm .lm-card-h2,
body .lm .lm-h1,
body .lm .lm-h2,
body .lm .lm-stat-number,
body .lm .lm-submit {
  font-family: "Magnetik", Arial, sans-serif;
}

body .lm h1,
body .lm h2,
body .lm h3 {
  scroll-margin-top: 24px;
}

body .lm .lm-nav {
  width: min(100%, 1440px);
  min-height: 96px;
  margin: 0 auto;
  padding: 16px clamp(24px, 5.55vw, 80px);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body .lm .lm-wordmark {
  width: clamp(188px, 17vw, 240px);
  height: auto;
  flex: 0 0 auto;
}

body .lm .lm-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

body .lm .lm-nav-trust {
  min-height: 40px;
  padding: 8px 14px;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body .lm .lm-nav-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(16, 116, 253, 0.1);
}

body .lm .lm-main {
  position: relative;
}

body .lm--landing .lm-main {
  width: min(100%, 1280px);
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  padding: clamp(48px, 6.5vw, 92px) clamp(24px, 4vw, 48px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  align-items: center;
  gap: clamp(56px, 7vw, 96px);
}

body .lm .lm-badge,
body .lm .lm-builder-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 24px;
  padding: 5px 16px;
  border: 2px solid var(--accent-muted);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(0deg, rgba(48, 110, 241, 0.08), #fff);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body .lm .lm-badge::before,
body .lm .lm-builder-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 116, 253, 0.1);
}

body .lm .lm-headline {
  max-width: 700px;
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body .lm .lm-headline .lm-accent-word,
body .lm .lm-stat-number .lm-accent-word {
  color: var(--accent);
}

body .lm .lm-body-text {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--text-body);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
}

body .lm .lm-trust-list {
  margin: 0 0 36px;
  gap: 13px;
}

body .lm .lm-trust-list li {
  align-items: flex-start;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.45;
}

body .lm .lm-check {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid var(--accent-muted);
  color: var(--accent);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 80, 246, 0.08);
}

body .lm .lm-stats-divider {
  max-width: 620px;
  padding-top: 25px;
  gap: clamp(24px, 4vw, 48px);
  border-color: var(--border);
}

body .lm .lm-stat-number {
  color: var(--text);
  font-size: 27px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

body .lm .lm-stat-label {
  max-width: 126px;
  color: var(--text-muted);
  font-size: 12px;
}

body .lm .lm-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(202, 216, 234, 0.95);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 1px rgba(0, 80, 246, 0.04),
    0 24px 70px rgba(0, 80, 246, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body .lm .lm-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -140px;
  right: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 178, 255, 0.22), rgba(122, 178, 255, 0));
  pointer-events: none;
}

body .lm .lm-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body .lm .lm-card-kicker span:last-child {
  padding: 5px 10px;
  border: 1px solid var(--accent-muted);
  border-radius: 999px;
  color: var(--text-body);
  background: rgba(217, 233, 255, 0.45);
}

body .lm .lm-card-h2,
body .lm .lm-h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

body .lm .lm-card-sub {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

body .lm .lm-in-app-banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--accent-muted);
  border-radius: 14px;
  color: var(--text-body);
  background: rgba(217, 233, 255, 0.7);
}

body .lm .lm-in-app-banner strong {
  color: var(--text);
}

body .lm .lm-field {
  margin-bottom: 20px;
}

body .lm .lm-field label {
  margin-bottom: 8px;
  color: #343b47;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

body .lm .lm-field input,
body .lm .lm-field select,
body .lm .lm-field textarea,
body .lm .lm-link-row input {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: 2px solid transparent;
  color: var(--text);
  background-color: rgba(252, 253, 255, 0.94);
  font-family: "Inter Display", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

body .lm .lm-field textarea {
  min-height: 88px;
  resize: vertical;
}

body .lm .lm-field select {
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23505050' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 17px center;
}

body .lm .lm-field input::placeholder,
body .lm .lm-field textarea::placeholder {
  color: #9299a5;
}

body .lm .lm-field input:hover,
body .lm .lm-field select:hover,
body .lm .lm-field textarea:hover {
  border-color: var(--border-bright);
  background-color: #fff;
}

body .lm .lm-field input:focus,
body .lm .lm-field select:focus,
body .lm .lm-field textarea:focus,
body .lm .lm-link-row input:focus {
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(16, 116, 253, 0.13);
}

body .lm .lm-field input[aria-invalid="true"],
body .lm .lm-field select[aria-invalid="true"],
body .lm .lm-field textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.09);
}

body .lm .lm-field-row {
  gap: 16px;
}

body .lm .lm-helper-text {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12.5px;
}

body .lm .lm-form-section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0 18px;
  color: var(--text);
  font-family: "Magnetik", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
}

body .lm .lm-form-section-heading:not(:first-child) {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

body .lm .lm-form-section-heading span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--accent-muted);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(217, 233, 255, 0.5);
  font-family: "Inter Display", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

body .lm .lm-error-msg {
  min-height: 0;
  margin-top: 7px;
  color: var(--error);
  font-size: 12.5px;
  font-weight: 500;
}

body .lm .lm-submit,
body .lm a.lm-submit {
  min-height: 60px;
  margin-top: 8px;
  padding: 14px 24px;
  border: 4px solid var(--accent-soft);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #2583ff 0%, var(--accent) 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.25),
    0 8px 18px rgba(16, 116, 253, 0.18);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 140ms var(--pp-ease-out),
    box-shadow 160ms ease,
    background-color 160ms ease;
}

body .lm .lm-submit:focus-visible,
body .lm .lm-copy-btn:focus-visible,
body .lm .lm-toggle-btn:focus-visible,
body .lm .lm-edit-link:focus-visible {
  outline: 3px solid #242424;
  outline-offset: 3px;
}

body .lm .lm-submit:active,
body .lm a.lm-submit:active,
body .lm .lm-copy-btn:active,
body .lm .lm-toggle-btn:active {
  transform: scale(0.97);
}

body .lm .lm-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  box-shadow: none;
}

body .lm .lm-submit:disabled::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lm-spin 650ms linear infinite;
}

body .lm .lm-privacy-note {
  position: relative;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 12.5px;
}

body .lm .lm-privacy-note::before {
  content: "✓";
  margin-right: 6px;
  color: var(--success);
  font-weight: 600;
}

body .lm .lm-form-error {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(180, 35, 24, 0.24);
  border-radius: 13px;
  color: var(--error);
  background: #fff4f2;
}

body .lm .lm-footer {
  position: relative;
  padding: 26px 24px;
  border: 0;
  color: #667085;
  font-size: 13px;
}

/* Builder */
body .lm--builder .lm-main {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 54px 24px 100px;
}

body .lm .lm-builder-header {
  text-align: center;
}

body .lm .lm-builder-badge {
  margin-bottom: 20px;
}

body .lm .lm-h1 {
  max-width: 680px;
  margin: 0 auto 12px;
  color: var(--text);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}

body .lm .lm-sub {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}

body .lm .lm-flow-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: min(100%, 560px);
  margin: 0 auto 34px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body .lm .lm-flow-step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  /* Three chips share one row; a wrapped label would break the pill. */
  white-space: nowrap;
}

body .lm .lm-flow-step::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  font-size: 11px;
}

body .lm .lm-flow-step:nth-child(1)::before { content: "1"; }
body .lm .lm-flow-step:nth-child(2)::before { content: "2"; }
body .lm .lm-flow-step:nth-child(3)::before { content: "3"; }

body .lm .lm-flow-step.is-done::before {
  content: "✓";
  color: var(--success);
}

body .lm .lm-step-hint {
  margin: 12px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

body .lm .lm-flow-step.is-active {
  color: #fff;
  background: var(--accent);
}

body .lm .lm-flow-step.is-active::before {
  border-color: rgba(255, 255, 255, 0.5);
}

body .lm .lm-topbar {
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 80, 246, 0.06);
}

body .lm .lm-topbar strong {
  color: var(--text);
}

body .lm .lm-topbar span {
  color: var(--text-muted);
}

body .lm .lm-edit-link {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--accent-strong);
  transition: background-color 150ms ease;
}

body .lm .lm-card + .lm-card,
body .lm .lm-topbar + .lm-card,
body .lm #lm-results {
  margin-top: 18px;
}

body .lm--builder .lm-card {
  margin-bottom: 18px;
  padding: clamp(26px, 5vw, 42px);
}

body .lm .lm-accent-card {
  border-color: var(--accent-muted);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(217, 233, 255, 0.74));
}

body .lm .lm-toggle-group {
  padding: 5px;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-elevated);
}

body .lm .lm-toggle-btn {
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 11px;
  color: var(--text-body);
  background: transparent;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 140ms var(--pp-ease-out);
}

body .lm .lm-toggle-btn.active {
  border-color: transparent;
  color: var(--accent-strong);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 80, 246, 0.1);
}

body .lm .lm-input-prefix span {
  left: 17px;
  color: var(--text-body);
}

body .lm .lm-input-prefix input {
  padding-left: 31px;
}

body .lm .lm-link-row {
  gap: 10px;
}

body .lm .lm-copy-btn {
  min-height: 52px;
  padding: 0 20px;
  border: 2px solid var(--accent-soft);
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
  font-weight: 600;
  transition:
    transform 140ms var(--pp-ease-out),
    background-color 150ms ease;
}

body .lm .lm-copy-btn.copied {
  background: var(--success);
}

body .lm .lm-generating-text {
  display: inline-block;
  transition: opacity 160ms var(--pp-ease-out);
}

body .lm .lm-result-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 16px 44px rgba(0, 80, 246, 0.08);
  animation: lm-result-enter 420ms var(--pp-ease-out) both;
}

body .lm .lm-result-card:nth-child(2) { animation-delay: 45ms; }
body .lm .lm-result-card:nth-child(3) { animation-delay: 90ms; }

body .lm .lm-next-step-card {
  position: relative;
  margin-top: 22px;
  padding: clamp(30px, 5vw, 42px);
  overflow: hidden;
  border: 1px solid var(--accent-muted);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(16, 116, 253, 0.2), transparent 17rem),
    linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 20px 54px rgba(0, 80, 246, 0.1);
  animation: lm-result-enter 420ms var(--pp-ease-out) 135ms both;
}

body .lm .lm-next-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

body .lm .lm-next-step-kicker {
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .lm .lm-next-step-title {
  max-width: 480px;
  margin: 0 0 12px;
  font-family: "Magnetik", Arial, sans-serif;
  font-size: clamp(23px, 4.6vw, 31px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

body .lm .lm-next-step-copy {
  max-width: 500px;
  margin: 0 0 24px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.62;
}

body .lm .lm-next-step-action {
  display: inline-flex;
  min-height: 54px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 3px solid var(--accent-soft);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #2583ff 0%, var(--accent) 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.25),
    0 9px 20px rgba(16, 116, 253, 0.2);
  font-family: "Magnetik", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 140ms var(--pp-ease-out),
    box-shadow 160ms ease,
    background-color 160ms ease;
}

body .lm .lm-next-step-action:focus-visible {
  outline: 3px solid #242424;
  outline-offset: 3px;
}

body .lm .lm-next-step-action:active {
  transform: scale(0.97);
}

body .lm .lm-result-label {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}

body .lm .lm-result-text {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

body .lm .lm-generating {
  padding-top: 14px;
  color: var(--text-body);
}

body .lm .lm-generating::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(16, 116, 253, 0.11);
  animation: lm-pulse 1.1s ease-in-out infinite;
}

body .lm .lm-notice p {
  color: var(--text-body);
}

/* ─────────────────────────────────────────────────────────
 * ANIMATION STORYBOARD
 *
 *    0ms   page is ready; persistent navigation stays put
 *   60ms   context badge rises into view
 *  110ms   primary heading and body rise into view
 *  180ms   proof points follow with a short stagger
 *  230ms   form card settles into place
 * ───────────────────────────────────────────────────────── */
body .lm--landing .lm-badge,
body .lm--landing .lm-headline,
body .lm--landing .lm-body-text,
body .lm--landing .lm-trust-list,
body .lm--landing .lm-stats-divider,
body .lm--landing #lm-form-section,
body .lm--builder .lm-builder-header,
body .lm--builder .lm-flow-progress {
  animation: lm-enter 520ms var(--pp-ease-out) both;
}

body .lm--landing .lm-headline { animation-delay: 70ms; }
body .lm--landing .lm-body-text { animation-delay: 110ms; }
body .lm--landing .lm-trust-list { animation-delay: 150ms; }
body .lm--landing .lm-stats-divider { animation-delay: 190ms; }
body .lm--landing #lm-form-section { animation-delay: 230ms; }
body .lm--builder .lm-flow-progress { animation-delay: 80ms; }

@keyframes lm-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lm-result-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes lm-spin {
  to { transform: rotate(360deg); }
}

@keyframes lm-pulse {
  50% { opacity: 0.45; transform: scale(0.85); }
}

@media (hover: hover) and (pointer: fine) {
  body .lm .lm-submit:hover,
  body .lm a.lm-submit:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.25),
      0 13px 25px rgba(16, 116, 253, 0.22);
  }

  body .lm .lm-edit-link:hover {
    background: var(--accent-soft);
  }

  body .lm .lm-copy-btn:hover {
    background: var(--accent-strong);
  }

  body .lm .lm-next-step-action:hover {
    transform: translateY(-2px);
    box-shadow:
      inset 0 1px rgba(255, 255, 255, 0.25),
      0 14px 28px rgba(16, 116, 253, 0.24);
  }
}

@media (max-width: 920px) {
  body .lm--landing .lm-main {
    min-height: 0;
    padding-top: 48px;
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  body .lm--landing .lm-main > div:first-child {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  body .lm--landing .lm-body-text {
    margin-right: auto;
    margin-left: auto;
  }

  body .lm--landing .lm-trust-list {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  body .lm--landing .lm-stats-divider {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  body .lm--landing #lm-form-section {
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  body .lm .lm-nav {
    min-height: 78px;
    padding: 12px 20px;
  }

  body .lm .lm-wordmark {
    width: 164px;
  }

  body .lm .lm-nav-trust {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 11.5px;
  }

  body .lm--landing .lm-main {
    padding: 40px 20px 64px;
    gap: 42px;
  }

  body .lm .lm-headline {
    font-size: clamp(40px, 13vw, 56px);
  }

  body .lm .lm-field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body .lm .lm-stats-divider {
    gap: 16px;
  }

  body .lm .lm-stat-number {
    font-size: 23px;
  }

  body .lm .lm-stat-label {
    font-size: 11px;
  }

  body .lm--builder .lm-main {
    padding: 38px 16px 72px;
  }

  body .lm .lm-h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  body .lm .lm-sub {
    font-size: 15.5px;
  }

  body .lm .lm-flow-progress {
    gap: 3px;
    padding: 4px;
  }

  body .lm .lm-flow-step {
    padding: 7px 4px;
    font-size: 10px;
  }

  body .lm .lm-flow-step::before {
    width: 17px;
    height: 17px;
    margin-right: 4px;
    font-size: 10px;
  }

  body .lm .lm-card,
  body .lm--builder .lm-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  body .lm .lm-link-row {
    flex-direction: column;
  }

  body .lm .lm-copy-btn {
    min-height: 52px;
  }
}

@media (max-width: 440px) {
  body .lm .lm-nav-trust {
    max-width: 140px;
    border: 0;
    background: transparent;
    text-align: right;
    backdrop-filter: none;
  }

  body .lm .lm-card-kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  body .lm .lm-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body .lm .lm-next-step-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .lm *,
  body .lm *::before,
  body .lm *::after {
    scroll-behavior: auto;
    animation: none;
    transition: none;
  }
}
