:root {
  --lfo-bg: #f8f8fb;
  --lfo-surface: rgba(255, 255, 255, 0.78);
  --lfo-surface-strong: #ffffff;
  --lfo-ink: #0e0e10;
  --lfo-muted: #71717b;
  --lfo-border: #e4e4e7;
  --lfo-primary: #4f46e5;
  --lfo-primary-dark: #3730a3;
  --lfo-growth: #dfff7b;
  --lfo-danger: #c33a3a;
  --lfo-success: #16794b;
  --lfo-radius: 24px;
  --lfo-shadow: 0 24px 70px rgba(35, 35, 56, 0.1);
  --lfo-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lfo-heading: "Inter Tight", var(--lfo-font);
  --lfo-mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lfo-body {
  margin: 0;
  color: var(--lfo-ink);
  font-family: var(--lfo-font);
  background-color: var(--lfo-bg);
  background-image:
    radial-gradient(at 15% 0%, rgba(80, 72, 229, 0.04) 0px, transparent 50%),
    radial-gradient(at 85% 100%, rgba(142, 94, 237, 0.03) 0px, transparent 50%),
    radial-gradient(rgba(204, 243, 63, 0.02) 0px, transparent 60%);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.lfo-container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}
.lfo-header .lfo-container {
  width: min(100% - 152px, 1280px);
}
@media (max-width: 980px) {
  /* 152px of gutter leaves almost nothing on a phone. */
  .lfo-header .lfo-container { width: min(100% - 32px, 1280px); }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.lfo-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 20px 0;
  transition: background-color .25s ease, border-color .25s ease, padding .25s ease;
}
.lfo-header.is-scrolled {
  padding: 10px 0;
  background: rgba(248, 248, 251, 0.78);
  border-bottom: 1px solid var(--lfo-border);
  backdrop-filter: blur(18px);
}
.lfo-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: 24px;
}
.lfo-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.lfo-logo__text {
  font-family: var(--lfo-heading);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
}
.lfo-logo__text span { color: var(--lfo-primary); }
.lfo-logo__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lfo-growth);
}
.lfo-header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
}
.lfo-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lfo-nav__link,
.lfo-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--lfo-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease, background-color .2s ease;
}
.lfo-nav__link:hover,
.lfo-nav a:hover {
  color: var(--lfo-ink);
  background: rgba(17, 17, 20, 0.04);
}
.lfo-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lfo-header__signin {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--lfo-muted);
  font-size: 14px;
  font-weight: 600;
}
.lfo-header__signin:hover { color: var(--lfo-ink); }
.lfo-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--lfo-border);
  border-radius: 50%;
  background: var(--lfo-surface);
}
.lfo-header__toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--lfo-ink);
}

.lfo-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}
.lfo-button:hover { transform: translateY(-1px); }
.lfo-button--dark {
  color: #fff;
  background: var(--lfo-ink);
}
.lfo-button--dark:hover { background: var(--lfo-primary); }
.lfo-button--light,
.lfo-button--ghost {
  color: var(--lfo-ink);
  border-color: var(--lfo-border);
  background: rgba(255, 255, 255, 0.65);
}
.lfo-button--light:hover,
.lfo-button--ghost:hover { border-color: rgba(91, 85, 232, 0.35); }

.lfo-main { min-height: 70vh; }
.lfo-main--padded { padding-top: 96px; }
.lfo-main--client {
  padding: 128px 0 80px;
}
.lfo-main--client > .lfo-container {
  width: min(100% - 48px, 1080px);
}
.lfo-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 56px;
}
.lfo-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 64px;
  align-items: center;
}
.lfo-eyebrow,
.lfo-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--lfo-primary);
  font-family: var(--lfo-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lfo-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(91, 85, 232, 0.08);
}
.lfo-hero__title,
.lfo-page-title,
.lfo-challenge-hero h1 {
  margin: 14px 0 18px;
  font-family: var(--lfo-heading);
  font-size: clamp(54px, 8vw, 116px);
  line-height: .88;
  font-weight: 900;
  letter-spacing: 0;
}
.lfo-hero__lead,
.lfo-page-intro,
.lfo-challenge-hero p {
  max-width: 700px;
  color: var(--lfo-muted);
  font-size: 19px;
  line-height: 1.7;
}
.lfo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.lfo-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 46px;
}
.lfo-hero__stats div,
.lfo-spec,
.lfo-info-card,
.lfo-challenge-card,
.lfo-price-card,
.lfo-contact__facts article,
.lfo-contact__form,
.lfo-auth,
.lfo-terminal {
  border: 1px solid var(--lfo-border);
  background: var(--lfo-surface);
  box-shadow: var(--lfo-shadow);
  backdrop-filter: blur(18px);
}
.lfo-hero__stats div {
  padding: 18px;
  border-radius: 18px;
}
.lfo-hero__stats strong {
  display: block;
  font-family: var(--lfo-heading);
  font-size: 28px;
  line-height: 1;
}
.lfo-hero__stats span {
  display: block;
  margin-top: 6px;
  color: var(--lfo-muted);
  font-size: 12px;
  font-family: var(--lfo-mono);
  text-transform: uppercase;
}
.lfo-hero__visual { position: relative; }
.lfo-terminal {
  overflow: hidden;
  border-radius: var(--lfo-radius);
  background: #111114;
  color: #fff;
}
.lfo-terminal__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.lfo-terminal__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6565;
}
.lfo-terminal__top span:nth-child(2) { background: #ffce58; }
.lfo-terminal__top span:nth-child(3) { background: var(--lfo-growth); }
.lfo-terminal__top em {
  margin-left: auto;
  color: rgba(255,255,255,.5);
  font-family: var(--lfo-mono);
  font-size: 12px;
  font-style: normal;
}
.lfo-chart {
  height: 310px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 42px 30px 24px;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.lfo-chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 14px 14px 3px 3px;
  background: linear-gradient(180deg, var(--lfo-growth), var(--lfo-primary));
}
.lfo-terminal__rows { padding: 8px 18px 18px; }
.lfo-terminal__rows div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--lfo-mono);
  font-size: 13px;
}
.lfo-terminal__rows strong { color: var(--lfo-growth); }

.lfo-section { padding: 92px 0; }
.lfo-section--muted {
  background: rgba(255,255,255,.42);
  border-block: 1px solid var(--lfo-border);
}
.lfo-section__header {
  max-width: 760px;
  margin-bottom: 42px;
}
.lfo-section__header h2,
.lfo-split h2,
.lfo-cta h2,
.lfo-auth h1 {
  margin: 10px 0 12px;
  font-family: var(--lfo-heading);
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  font-weight: 850;
}
.lfo-section__header p,
.lfo-split p,
.lfo-cta p,
.lfo-auth p {
  color: var(--lfo-muted);
  font-size: 18px;
  line-height: 1.65;
}
.lfo-card-grid {
  display: grid;
  gap: 18px;
}
.lfo-card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lfo-card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lfo-challenge-card,
.lfo-info-card,
.lfo-price-card {
  border-radius: var(--lfo-radius);
  padding: 28px;
}
.lfo-challenge-card h3,
.lfo-info-card h3,
.lfo-info-card h2,
.lfo-price-card h3 {
  margin: 22px 0 12px;
  font-family: var(--lfo-heading);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
}
.lfo-challenge-card p,
.lfo-info-card p,
.lfo-price-card p {
  color: var(--lfo-muted);
  line-height: 1.65;
}
.lfo-challenge-card dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 26px 0;
}
.lfo-challenge-card dl div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(17,17,20,.04);
}
.lfo-challenge-card dt,
.lfo-price-card span,
.lfo-spec span {
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 11px;
  text-transform: uppercase;
}
.lfo-challenge-card dd {
  margin: 4px 0 0;
  font-family: var(--lfo-heading);
  font-size: 20px;
  font-weight: 800;
}
.lfo-split {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 56px;
  align-items: start;
}
.lfo-feature-list {
  display: grid;
  gap: 14px;
}
.lfo-feature {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
}
.lfo-feature:hover { background: rgba(255,255,255,.65); }
.lfo-feature > span,
.lfo-info-card__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lfo-primary), var(--lfo-growth));
}
.lfo-feature h3 {
  margin: 0 0 6px;
  font-family: var(--lfo-heading);
}
.lfo-feature p { margin: 0; font-size: 15px; }
.lfo-cta {
  position: relative;
  overflow: hidden;
  padding: 58px;
  text-align: center;
  border: 1px solid var(--lfo-border);
  border-radius: 32px;
  background: var(--lfo-surface);
  box-shadow: var(--lfo-shadow);
}
.lfo-cta .lfo-button { margin-top: 22px; }

.lfo-back-link {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--lfo-muted);
  font-weight: 700;
}
.lfo-challenge-hero { max-width: 820px; }
.lfo-challenge-hero__tagline { color: var(--lfo-primary) !important; font-weight: 700; }
.lfo-spec-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 56px;
}
.lfo-spec {
  padding: 22px 14px;
  border-radius: 18px;
  text-align: center;
}
.lfo-spec strong {
  display: block;
  margin-top: 8px;
  font-family: var(--lfo-heading);
  font-size: 24px;
}
.lfo-price-card__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
}
.lfo-price-card__meta strong {
  display: block;
  margin-top: 4px;
  color: var(--lfo-primary);
  font-family: var(--lfo-heading);
  font-size: 24px;
}

.lfo-page-layout,
.lfo-contact {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: center;
}
.lfo-page-media {
  overflow: hidden;
  border: 1px solid var(--lfo-border);
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--lfo-shadow);
}
.lfo-page-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.lfo-content {
  max-width: 820px;
  padding: 40px 0;
}
.lfo-article {
  padding: 40px;
  border-radius: var(--lfo-radius);
  background: var(--lfo-surface-strong);
  box-shadow: var(--lfo-shadow);
}
.lfo-article h1 {
  font-family: var(--lfo-heading);
  font-size: 48px;
}

.lfo-auth-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 118px 16px 70px;
}
.lfo-auth {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 34px;
  padding: 34px;
  border-radius: 32px;
}
.lfo-auth--compact {
  width: min(100%, 540px);
  display: block;
}
.lfo-auth__intro { align-self: center; }
.lfo-form {
  display: grid;
  gap: 16px;
}
.lfo-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lfo-form__grid--phone { grid-template-columns: .38fr 1fr; }
.lfo-form label {
  display: grid;
  gap: 7px;
  color: var(--lfo-muted);
  font-size: 13px;
  font-weight: 700;
}
.lfo-form input,
.lfo-form select,
.lfo-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--lfo-border);
  border-radius: 14px;
  color: var(--lfo-ink);
  background: rgba(255,255,255,.72);
  outline: none;
}
.lfo-form textarea { padding-top: 13px; resize: vertical; }
.lfo-form input:focus,
.lfo-form select:focus,
.lfo-form textarea:focus {
  border-color: rgba(91, 85, 232, .58);
  box-shadow: 0 0 0 4px rgba(91, 85, 232, .12);
}
.lfo-form__submit { width: 100%; margin-top: 6px; }
.lfo-form__link,
.lfo-form__footer a { color: var(--lfo-primary); font-weight: 700; }
.lfo-form__message {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}
.lfo-form__message--error { color: var(--lfo-danger); background: rgba(195,58,58,.1); }
.lfo-form__message--success { color: var(--lfo-success); background: rgba(22,121,75,.1); }
.lfo-form__footer { margin: 6px 0 0; text-align: center; font-size: 14px !important; }

.lfo-backoffice-shell {
  overflow: visible;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 24px 60px rgba(35, 35, 56, .1);
}
.lfo-backoffice-profile {
  width: 100%;
}
@media (max-width: 640px) {
  .lfo-backoffice-shell { padding: 24px; }
}
.lfo-contact { align-items: start; }
.lfo-contact__facts {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}
.lfo-contact__facts article,
.lfo-contact__form {
  padding: 24px;
  border-radius: 22px;
}
.lfo-contact__facts span {
  display: block;
  margin-bottom: 8px;
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 12px;
  text-transform: uppercase;
}
.lfo-contact__facts a,
.lfo-contact__facts strong {
  font-family: var(--lfo-heading);
  font-size: 20px;
}

.lfo-header__guest {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lfo-user-menu { position: relative; }
.lfo-user-menu__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  max-width: 220px;
  padding: 0 8px 0 16px;
  border: 1px solid var(--lfo-border);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--lfo-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.lfo-user-menu__button:hover { border-color: rgba(79,70,229,.35); }
.lfo-user-menu__button > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lfo-user-menu__caret {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: var(--lfo-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.lfo-user-menu.is-open .lfo-user-menu__caret { transform: rotate(180deg); }
.lfo-user-menu__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  display: none;
  padding: 8px;
  border: 1px solid var(--lfo-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--lfo-shadow);
}
.lfo-user-menu.is-open .lfo-user-menu__dropdown { display: grid; }
.lfo-user-menu__dropdown a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--lfo-muted);
}
.lfo-user-menu__dropdown a:hover { background: rgba(17,17,20,.04); color: var(--lfo-ink); }

.lfo-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0 26px;
  color: rgba(255,255,255,.78);
  background: var(--lfo-ink);
}
.lfo-footer__grid-bg {
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 60px 60px;
}
.lfo-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 34px;
}
.lfo-logo--footer .lfo-logo__text { color: #fff; }
.lfo-footer__brand p {
  max-width: 420px;
  line-height: 1.7;
}
.lfo-footer__email { color: #fff; font-weight: 700; }
.lfo-footer__column h2 {
  margin: 0 0 16px;
  color: rgba(255,255,255,.45);
  font-family: var(--lfo-mono);
  font-size: 12px;
  text-transform: uppercase;
}
.lfo-footer__column a {
  display: block;
  margin: 10px 0;
  font-size: 14px;
}
.lfo-footer__column a:hover { color: var(--lfo-growth); }
.lfo-footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
}
.lfo-footer__bottom p { margin: 0; max-width: 760px; }

.lfo-message-stack { position: fixed; right: 18px; top: 90px; z-index: 9999; }
.lfo-message {
  display: none;
  width: 280px;
  min-height: 130px;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid rgba(91,85,232,.35);
  border-radius: 16px;
  background: #111114;
  color: #fff;
  box-shadow: var(--lfo-shadow);
}
.lfo-message__close { float: right; }

.lfo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17,17,20,.45);
  backdrop-filter: blur(8px);
}
.lfo-modal__box {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--lfo-shadow);
}

@media (max-width: 980px) {
  .lfo-hero__grid,
  .lfo-split,
  .lfo-page-layout,
  .lfo-contact,
  .lfo-auth {
    grid-template-columns: 1fr;
  }
  .lfo-card-grid--3,
  .lfo-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lfo-footer__inner { grid-template-columns: 1fr 1fr; }
}

/* The reference hides the nav under `lg:` (1024px) and shows a burger below
   it. At 760px the full nav does not fit and spills past the viewport. */
@media (max-width: 1023px) {
  .lfo-header__toggle { display: block; }
  .lfo-header__menu {
    position: fixed;
    inset: 66px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--lfo-border);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--lfo-shadow);
  }
  .lfo-header__menu.is-open { display: flex; }
  .lfo-nav { flex-direction: column; align-items: stretch; }
  .lfo-nav a, .lfo-nav__link { justify-content: center; min-height: 48px; }
  .lfo-header__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .lfo-header__guest {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .lfo-header__signin,
  .lfo-header__actions .lfo-button {
    width: 100%;
    justify-content: center;
  }
  .lfo-user-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .lfo-user-menu__button {
    width: 100%;
    max-width: none;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
  }
  .lfo-user-menu__dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    box-shadow: none;
    background: rgba(255,255,255,.72);
  }
  .lfo-user-menu__dropdown a {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .lfo-hero { min-height: auto; padding-top: 118px; }
  .lfo-hero__title,
  .lfo-page-title,
  .lfo-challenge-hero h1 { font-size: clamp(46px, 17vw, 72px); }
  .lfo-hero__stats,
  .lfo-card-grid--2,
  .lfo-card-grid--3,
  .lfo-spec-grid,
  .lfo-form__grid,
  .lfo-form__grid--phone,
  .lfo-footer__inner,
  .lfo-footer__bottom {
    grid-template-columns: 1fr;
  }
  .lfo-footer__bottom { display: grid; }
  .lfo-section { padding: 64px 0; }
  .lfo-auth { padding: 22px; }
  .lfo-cta { padding: 34px 22px; }
  .lfo-challenge-card dl { grid-template-columns: 1fr; }
}

/* Base44 concept pages */
.lfo-ref-home,
.lfo-ref-page {
  background: var(--lfo-bg);
}
.lfo-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--lfo-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.lfo-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .lfo-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.lfo-ref-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Clear the fixed header: the reference tucks the eyebrow underneath it. */
  padding-top: 104px;
  overflow: hidden;
  text-align: center;
}
.lfo-ref-hero__grid {
  position: absolute;
  inset: 0;
  opacity: .8;
  background-image: linear-gradient(rgba(10,10,15,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,15,.024) 1px, transparent 1px);
  background-size: 32px 32px;
}
.lfo-ref-hero__image {
  position: absolute;
  inset: auto 0 0;
  top: 820px;
  bottom: auto;
  height: 360px;
  opacity: .04;
  mask-image: linear-gradient(transparent 0%, black 44%, transparent 100%);
}
.lfo-ref-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lfo-ref-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, transparent, rgba(248,248,251,.88));
}
.lfo-ref-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 672px;
  padding-top: 0;
  transform: none;
}
.lfo-ref-eyebrow {
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lfo-ref-eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #a8ef00;
}
/* Reference keeps the eyebrow at the very top of the hero block, where the
   fixed header overlaps it. Reproduce that 66px offset to "Trade.". */
.lfo-ref-hero .lfo-ref-eyebrow {
  margin: 0 0 46px;
  line-height: 20px;
}
.lfo-ref-hero__title {
  margin: 0 0 24px;
  font-family: var(--lfo-heading);
  font-size: 112px;
  line-height: .95;
  font-weight: 700;
  letter-spacing: 0;
}
.lfo-ref-hero__title span {
  display: block;
}
.lfo-ref-hero__title span:nth-child(2),
.lfo-ref-section__head span,
.lfo-ref-community h2 span {
  color: transparent;
  background: linear-gradient(135deg, #5048e5, #8e5eed);
  -webkit-background-clip: text;
  background-clip: text;
}
.lfo-ref-hero__lead {
  max-width: 672px;
  margin: 0 auto 32px;
  color: var(--lfo-muted);
  font-size: 20px;
  line-height: 1.4;
}
.lfo-ref-hero__checks,
.lfo-ref-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.lfo-ref-hero__checks span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lfo-ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.lfo-ref-hero__checks svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--lfo-primary);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lfo-ref-hero__actions { margin-top: 40px; }
.lfo-ref-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.lfo-ref-button:hover { transform: translateY(-1px); }
.lfo-ref-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lfo-ref-button--dark {
  color: #fff;
  background: var(--lfo-ink);
}
.lfo-ref-button--dark:hover { background: var(--lfo-primary); }
.lfo-ref-button--light {
  color: var(--lfo-ink);
  border-color: var(--lfo-border);
  background: rgba(255,255,255,.58);
}
.lfo-ref-scroll {
  position: absolute;
  bottom: 86px;
  left: 50%;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  display: none;
}
.lfo-ref-scroll strong { font-size: 18px; font-weight: 400; }
.lfo-ref-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 110px);
  justify-content: center;
  gap: 80px;
  margin-top: 72px;
}
.lfo-ref-hero__metrics strong {
  display: block;
  font-family: var(--lfo-heading);
  font-size: 36px;
  line-height: 1;
}
.lfo-ref-hero__metrics span {
  display: block;
  margin-top: 12px;
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lfo-ref-command {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 277px;
  min-height: 50px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--lfo-border);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 40px rgba(35,35,56,.12);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}
.lfo-ref-command > span {
  color: var(--lfo-muted);
  font-size: 16px;
}
.lfo-ref-command input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--lfo-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}
.lfo-ref-command kbd {
  padding: 6px 8px;
  border-radius: 12px;
  color: var(--lfo-muted);
  background: rgba(17,17,20,.04);
  font-family: var(--lfo-mono);
}
.lfo-ref-command__icon {
  display: inline-flex;
  color: var(--lfo-muted);
}
.lfo-ref-command__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lfo-ref-command button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--lfo-ink);
  cursor: pointer;
}
.lfo-ref-command button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lfo-ref-stats {
  overflow: hidden;
  padding: 64px 0;
  border-block: 1px solid rgba(17,17,20,.08);
  background: linear-gradient(90deg, rgba(91,85,232,.02), transparent, rgba(91,85,232,.02));
}
.lfo-ref-stats__top {
  width: min(100% - 152px, 1280px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0 auto 48px;
  text-align: center;
}
.lfo-ref-stats__top strong {
  display: block;
  font-family: var(--lfo-heading);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 700;
}
.lfo-ref-stats__top span,
.lfo-ref-ticker span {
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lfo-ref-ticker {
  display: flex;
  width: 100%;
  opacity: .65;
}
.lfo-ref-ticker__track {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: max-content;
  animation: lfoTicker 34s linear infinite;
}
.lfo-ref-ticker strong {
  margin-right: 8px;
  color: rgba(17,17,20,.6);
  font-family: var(--lfo-heading);
  font-size: 18px;
  line-height: 28px;
}
.lfo-ref-ticker em { color: rgba(91,85,232,.35); font-style: normal; }
@keyframes lfoTicker {
  to { transform: translateX(-50%); }
}
.lfo-ref-section {
  position: relative;
  padding: 112px 0;
}
.lfo-ref-section > .lfo-container,
.lfo-ref-community > .lfo-container {
  width: min(100% - 152px, 1280px);
}
@media (max-width: 980px) {
  .lfo-ref-section > .lfo-container,
  .lfo-ref-community > .lfo-container {
    width: min(100% - 32px, 1280px);
  }
}
.lfo-ref-section--soft {
  background: linear-gradient(180deg, transparent, rgba(91,85,232,.016), transparent);
}
.lfo-ref-section__head {
  max-width: 670px;
  margin-bottom: 52px;
}
.lfo-ref-section__head--center {
  margin-inline: auto;
  text-align: center;
}
.lfo-ref-section__head h2,
.lfo-ref-community h2 {
  margin: 0 0 16px;
  font-family: var(--lfo-heading);
  font-size: clamp(44px, 7vw, 86px);
  line-height: .9;
  font-weight: 900;
}
.lfo-ref-section__head p,
.lfo-ref-community p {
  color: var(--lfo-muted);
  font-size: 18px;
  line-height: 1.7;
}
.lfo-ref-challenges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lfo-ref-challenges .lfo-ref-challenge:first-child { grid-column: span 2; }
.lfo-ref-challenge {
  position: relative;
  overflow: hidden;
  min-height: 493px;
  padding: 40px;
  border: 1px solid var(--lfo-border);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--lfo-shadow);
  backdrop-filter: blur(18px);
}
.lfo-ref-challenge__glow {
  position: absolute;
  inset: 0;
  opacity: .56;
  background: linear-gradient(135deg, rgba(91,85,232,.08), transparent);
}
.lfo-ref-challenges .lfo-ref-challenge:nth-child(2) .lfo-ref-challenge__glow {
  background: linear-gradient(135deg, rgba(223,255,123,.18), transparent);
}
.lfo-ref-challenge > *:not(.lfo-ref-challenge__glow) {
  position: relative;
  z-index: 1;
}
.lfo-ref-challenge__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
.lfo-ref-challenge__top > div {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.lfo-ref-challenge__top span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--lfo-ink);
  font-family: var(--lfo-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.lfo-ref-challenge__top small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--lfo-muted);
  background: rgba(255,255,255,.62);
  font-family: var(--lfo-mono);
  font-size: 12px;
}
.lfo-ref-challenge__top b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--lfo-border);
  border-radius: 50%;
  color: var(--lfo-ink);
  background: rgba(255,255,255,.58);
}
.lfo-ref-challenge__top b svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lfo-ref-challenge__top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25c26e;
}
.lfo-ref-challenge h3 {
  margin: 0 0 8px;
  font-family: var(--lfo-heading);
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}
.lfo-ref-challenge__subtitle {
  color: var(--lfo-primary) !important;
  font-size: 14px !important;
  font-weight: 800;
}
.lfo-ref-challenge p {
  color: var(--lfo-muted);
  line-height: 1.65;
}
.lfo-ref-challenge dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 52px;
  margin: 74px 0 0;
}
.lfo-ref-challenge dt {
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lfo-ref-challenge dd {
  margin: 5px 0 0;
  font-family: var(--lfo-heading);
  font-size: 16px;
  font-weight: 700;
}
.lfo-ref-account-sizes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--lfo-border);
  border-radius: 24px;
  background: rgba(255,255,255,.64);
}
.lfo-ref-account-sizes h3 {
  margin: 0 0 6px;
  font-family: var(--lfo-heading);
  font-size: 24px;
}
.lfo-ref-account-sizes p { margin: 0; color: var(--lfo-muted); }
.lfo-ref-account-sizes > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.lfo-ref-account-sizes span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(17,17,20,.05);
  font-family: var(--lfo-mono);
  font-size: 14px;
}
.lfo-ref-why {
  display: block;
}
.lfo-ref-why .lfo-ref-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 448px);
  column-gap: 72px;
  row-gap: 28px;
  align-items: end;
  max-width: none;
  margin-bottom: 68px;
}
.lfo-ref-why__eyebrow {
  grid-column: 1 / -1;
  color: var(--lfo-primary);
  font-family: var(--lfo-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lfo-ref-why__eyebrow::before {
  content: "-";
  margin-right: 12px;
}
.lfo-ref-why .lfo-ref-section__head h2 {
  margin: 0;
  font-size: 64px;
  line-height: 1;
}
.lfo-ref-why .lfo-ref-section__head p {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.55;
}
.lfo-ref-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lfo-ref-why__grid .lfo-ref-feature:nth-child(1),
.lfo-ref-why__grid .lfo-ref-feature:nth-child(4) {
  grid-column: span 2;
}
.lfo-ref-feature,
.lfo-ref-safety-card,
.lfo-ref-benefits article {
  padding: 32px;
  border: 1px solid var(--lfo-border);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
}
.lfo-ref-feature {
  position: relative;
  min-height: 227px;
}
.lfo-ref-feature__icon {
  display: flex;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-bottom: 74px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--lfo-primary);
}
.lfo-ref-feature__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lfo-ref-feature span {
  display: inline-flex;
  position: absolute;
  top: 32px;
  right: 32px;
  margin-bottom: 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--lfo-muted);
  background: rgba(17,17,20,.05);
  font-family: var(--lfo-mono);
  font-size: 12px;
}
.lfo-ref-feature h3,
.lfo-ref-safety-card h3,
.lfo-ref-benefits h3 {
  margin: 0 0 10px;
  font-family: var(--lfo-heading);
  font-size: 20px;
}
.lfo-ref-feature p,
.lfo-ref-safety-card p,
.lfo-ref-benefits p {
  margin: 0;
  color: var(--lfo-muted);
  line-height: 1.65;
}
.lfo-ref-community {
  position: relative;
  overflow: hidden;
  min-height: 661px;
  display: flex;
  align-items: center;
  padding: 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(14,14,16,.02), transparent);
}
.lfo-ref-community__image {
  position: absolute;
  inset: 0;
  opacity: .3;
}
.lfo-ref-community__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lfo-ref-community__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.8) 50%, #fff 100%);
}
.lfo-ref-community > .lfo-container {
  position: relative;
  z-index: 1;
}
.lfo-ref-community__panel {
  max-width: 980px;
  margin: 0 auto;
}
.lfo-ref-community__eyebrow,
.lfo-ref-safety__eyebrow {
  color: var(--lfo-primary);
  font-family: var(--lfo-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lfo-ref-community__eyebrow {
  margin-bottom: 32px;
}
.lfo-ref-community__eyebrow::before,
.lfo-ref-safety__eyebrow::before {
  content: "-";
  margin-right: 12px;
}
.lfo-ref-community h2 {
  margin: 0 auto 28px;
  max-width: 900px;
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
}
.lfo-ref-community p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.6;
}
.lfo-ref-community .lfo-ref-button {
  min-width: 219px;
  margin-top: 24px;
}
.lfo-ref-section--safety {
  padding: 75px 0 95px;
}
.lfo-ref-section--safety .lfo-ref-section__head {
  max-width: 1280px;
  margin: 0 auto 64px;
  text-align: center;
}
.lfo-ref-section--safety .lfo-ref-section__head h2 {
  margin: 24px 0 0;
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
}
.lfo-ref-section--safety .lfo-ref-section__head h2 span {
  color: var(--lfo-primary);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.lfo-ref-safety__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lfo-ref-safety-card {
  min-height: 292px;
  padding: 32px;
  box-shadow: var(--lfo-shadow);
}
.lfo-ref-safety-card svg {
  width: 22px;
  height: 22px;
  margin-bottom: 44px;
  fill: none;
  stroke: var(--lfo-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lfo-ref-safety-card h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.lfo-ref-safety-card p {
  font-size: 16px;
  line-height: 1.5;
}
.lfo-ref-risk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: 64px;
  padding: 40px;
  border: 1px solid var(--lfo-border);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  box-shadow: var(--lfo-shadow);
}
.lfo-ref-risk p {
  max-width: 760px;
  min-width: 0;
  color: var(--lfo-muted);
  font-size: 16px;
  line-height: 1.55;
}
/* Reference: `flex flex-col sm:flex-row gap-3 flex-shrink-0` — stacked on
   phones, one row from 640px up, and it never shrinks (the paragraph does). */
.lfo-ref-risk div {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 12px;
  justify-content: flex-end;
}
@media (min-width: 640px) {
  .lfo-ref-risk div { flex-direction: row; flex-wrap: nowrap; }
}
.lfo-ref-risk .lfo-ref-button { white-space: nowrap; }
.lfo-ref-spec-grid .lfo-spec {
  background: rgba(255,255,255,.72);
}
.lfo-ref-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lfo-ref-benefits article {
  display: flex;
  gap: 16px;
  box-shadow: none;
}
.lfo-ref-benefits article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  color: var(--lfo-primary);
  background: rgba(91,85,232,.08);
  font-weight: 900;
}

@media (max-width: 980px) {
  .lfo-ref-challenges,
  .lfo-ref-why,
  .lfo-ref-safety__cards,
  .lfo-ref-benefits {
    grid-template-columns: 1fr;
  }
  .lfo-ref-why__grid { grid-template-columns: 1fr 1fr; }
  /* `minmax(360px, 448px)` on the second column cannot fit a phone. */
  .lfo-ref-why .lfo-ref-section__head {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .lfo-ref-why .lfo-ref-section__head h2 { font-size: clamp(34px, 8vw, 64px); }
  .lfo-ref-risk,
  .lfo-ref-account-sizes {
    align-items: flex-start;
    flex-direction: column;
  }
  .lfo-ref-account-sizes > div:last-child,
  .lfo-ref-risk div { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .lfo-ref-hero {
    min-height: auto;
    padding: 120px 0 140px;
  }
  .lfo-ref-hero__inner {
    padding-top: 0;
    transform: none;
  }
  .lfo-ref-hero__title { font-size: clamp(58px, 21vw, 86px); }
  .lfo-ref-hero__lead { font-size: 20px; }
  .lfo-ref-hero__metrics {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 54px;
  }
  .lfo-ref-command {
    width: min(384px, calc(100% - 32px));
    bottom: 16px;
  }
  .lfo-ref-stats__top,
  .lfo-ref-why__grid,
  .lfo-ref-challenge dl {
    grid-template-columns: 1fr;
  }
  /* The single-column grid above cannot honour `grid-column: span 2` — it
     would create a second implicit column and overflow the viewport. */
  .lfo-ref-why__grid .lfo-ref-feature:nth-child(1),
  .lfo-ref-why__grid .lfo-ref-feature:nth-child(4) {
    grid-column: auto;
  }
  .lfo-ref-section { padding: 76px 0; }
  .lfo-ref-challenge { min-height: auto; padding: 26px; }
}

/* ==========================================================================
   Challenge pages (/challenge/1-phase, /challenge/2-phase)
   Geometry mirrors the Base44 reference: 1280px container with 24px gutters,
   128px top padding, 96px between blocks.
   ========================================================================== */
.lfo-ch {
  padding: 128px 0 80px;
}
/* Reference is `max-w-7xl mx-auto px-6`: 1280px cap, a single 24px gutter.
   Subtracting 48px *and* padding 24px doubled the gutter on phones. */
.lfo-ch__container {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: 24px;
}
.lfo-ch__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  color: var(--lfo-muted);
  font-size: 14px;
  transition: color .2s ease;
}
.lfo-ch__back:hover { color: var(--lfo-primary); }
.lfo-ch__back svg { width: 16px; height: 16px; }
.lfo-ch svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lfo-ch__pills {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.lfo-ch__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--lfo-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lfo-ch__pill--dark {
  color: var(--lfo-bg);
  background: var(--lfo-ink);
}
.lfo-ch__pill--live,
.lfo-ch__pill--muted {
  color: var(--lfo-muted);
  font-weight: 400;
  background: rgba(244, 244, 245, .6);
}
.lfo-ch__pill--live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: lfo-pulse 2s ease-in-out infinite;
}
@keyframes lfo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.lfo-ch__title {
  margin: 0 0 16px;
  font-family: var(--lfo-heading);
  font-size: 64px;
  line-height: 64px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.lfo-ch__tagline {
  margin: 0 0 24px;
  color: var(--lfo-primary);
  font-size: 18px;
  font-weight: 500;
}
.lfo-ch__intro {
  max-width: 768px;
  margin: 0 0 32px;
  color: var(--lfo-muted);
  font-size: 18px;
  line-height: 1.625;
}
.lfo-ch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.lfo-ch .lfo-ref-button { gap: 8px; }
.lfo-ch .lfo-ref-button svg { width: 20px; height: 20px; }

/* Glass card surface used across the reference. */
.lfo-ch__spec,
.lfo-ch__card,
.lfo-ch__price,
.lfo-ch__cta {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 30px rgba(0, 0, 0, .04);
}

.lfo-ch__specs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 64px;
}
.lfo-ch__spec {
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}
.lfo-ch__spec svg {
  width: 20px;
  height: 20px;
  margin: 0 auto 12px;
  color: var(--lfo-primary);
}
.lfo-ch__spec span {
  display: block;
  margin-bottom: 4px;
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lfo-ch__spec strong {
  font-family: var(--lfo-heading);
  font-size: 16px;
  font-weight: 700;
}

.lfo-ch__block { margin-top: 96px; }
.lfo-ch__eyebrow {
  margin-bottom: 16px;
  color: var(--lfo-primary);
  font-family: var(--lfo-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lfo-ch__h2 {
  margin: 0 0 48px;
  font-family: var(--lfo-heading);
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.lfo-ch__grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lfo-ch__card {
  padding: 24px;
  border-radius: 24px;
}
.lfo-ch__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(79, 70, 229, .08);
  color: var(--lfo-primary);
}
.lfo-ch__card-icon svg { width: 16px; height: 16px; }
.lfo-ch__card h3,
.lfo-ch__benefit h3 {
  margin: 0 0 8px;
  font-family: var(--lfo-heading);
  font-size: 16px;
  font-weight: 600;
}
.lfo-ch__card p,
.lfo-ch__benefit p {
  margin: 0;
  color: var(--lfo-muted);
  font-size: 14px;
  line-height: 1.625;
}

.lfo-ch__price {
  padding: 24px;
  border-radius: 24px;
  transition: box-shadow .2s ease;
}
.lfo-ch__price.is-selected {
  box-shadow: 0 0 0 2px var(--lfo-primary);
}
.lfo-ch__price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.lfo-ch__price-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--lfo-primary);
}
.lfo-ch__price-check svg { width: 14px; height: 14px; }
.lfo-ch__price-size {
  margin-bottom: 4px;
  font-family: var(--lfo-heading);
  font-size: 30px;
  font-weight: 700;
}
.lfo-ch__price-label {
  margin-bottom: 16px;
  color: var(--lfo-muted);
  font-size: 14px;
}
.lfo-ch__price-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.lfo-ch__price-meta span {
  display: block;
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lfo-ch__price-meta strong {
  font-family: var(--lfo-heading);
  font-size: 20px;
  font-weight: 700;
}
.lfo-ch__price-value { color: var(--lfo-primary); }
.lfo-ch__price-split { text-align: right; }

.lfo-ch__benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.lfo-ch__benefit {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  transition: background .2s ease;
}
.lfo-ch__benefit:hover { background: rgba(244, 244, 245, .3); }
.lfo-ch__benefit-icon {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(79, 70, 229, .08);
  color: var(--lfo-primary);
}
.lfo-ch__benefit-icon svg { width: 16px; height: 16px; }

.lfo-ch__cta {
  position: relative;
  margin-top: 96px;
  padding: 64px;
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
}
.lfo-ch__cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(79, 70, 229, .08);
  filter: blur(100px);
}
.lfo-ch__cta-inner { position: relative; z-index: 1; }
.lfo-ch__cta .lfo-ch__h2 { margin-bottom: 16px; }
.lfo-ch__cta p {
  max-width: 576px;
  margin: 0 auto 32px;
  color: var(--lfo-muted);
  font-size: 18px;
}

@media (max-width: 1024px) {
  .lfo-ch__specs { grid-template-columns: repeat(3, 1fr); }
  .lfo-ch__grid3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .lfo-ch { padding-top: 112px; }
  .lfo-ch__specs { grid-template-columns: repeat(2, 1fr); }
  .lfo-ch__grid3,
  .lfo-ch__benefits { grid-template-columns: 1fr; }
  .lfo-ch__title { font-size: 40px; line-height: 44px; }
  .lfo-ch__h2 { font-size: 30px; line-height: 36px; }
  .lfo-ch__cta { padding: 40px; }
}

/* ==========================================================================
   Contact page — reference layout: 12-col grid split 5 / 7.
   ========================================================================== */
.lfo-ct__title span {
  color: transparent;
  background: linear-gradient(135deg, #5048e5, #8e5eed);
  -webkit-background-clip: text;
  background-clip: text;
}
.lfo-ct__title { margin-bottom: 24px; }
.lfo-ct__intro {
  max-width: 672px;
  margin: 0 0 64px;
  color: var(--lfo-muted);
  font-size: 18px;
  line-height: 1.625;
}
.lfo-ct__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: start;
}
.lfo-ct__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lfo-ct__card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 30px rgba(0, 0, 0, .04);
}
.lfo-ct__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(79, 70, 229, .08);
  color: var(--lfo-primary);
}
.lfo-ct__card-icon svg { width: 20px; height: 20px; }
.lfo-ct__card-label {
  margin-bottom: 8px;
  color: var(--lfo-muted);
  font-family: var(--lfo-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lfo-ct__card-value {
  display: block;
  font-family: var(--lfo-heading);
  font-size: 18px;
  font-weight: 600;
  transition: color .2s ease;
}
a.lfo-ct__card-value:hover { color: var(--lfo-primary); }
.lfo-ct__card-sub { color: var(--lfo-muted); }
.lfo-ct__card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(79, 70, 229, .08);
  filter: blur(60px);
}
.lfo-ct__card-inner { position: relative; z-index: 1; }
.lfo-ct__card--facts .lfo-ct__card-label { margin-bottom: 12px; }
.lfo-ct__facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lfo-ct__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.lfo-ct__facts svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--lfo-primary);
}
.lfo-ct svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lfo-ct__form-card { padding: 40px; }
.lfo-ct__form-card .lfo-ct__card-label { margin-bottom: 24px; }
.lfo-ct__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lfo-ct__form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.lfo-ct__form label { display: block; }
.lfo-ct__form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}
.lfo-ct__form input,
.lfo-ct__form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--lfo-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .5);
  color: var(--lfo-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lfo-ct__form textarea { resize: none; }
.lfo-ct__form input::placeholder,
.lfo-ct__form textarea::placeholder { color: var(--lfo-muted); }
.lfo-ct__form input:focus,
.lfo-ct__form textarea:focus {
  border-color: var(--lfo-primary);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, .2);
}
.lfo-ct__form .lfo-ref-button { align-self: flex-start; gap: 8px; }
.lfo-ct__form .lfo-ref-button svg { width: 20px; height: 20px; }

/* Contact Form 7 rendered inside the contact card — inherit the form look. */
.lfo-ct__form-card .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lfo-ct__form-card .wpcf7-form .lfo-ct__form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.lfo-ct__form-card .wpcf7-form label { display: block; margin: 0; }
.lfo-ct__form-card .wpcf7-form label > span:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}
.lfo-ct__form-card .wpcf7-form-control-wrap { display: block; }
.lfo-ct__form-card .wpcf7-form input[type="text"],
.lfo-ct__form-card .wpcf7-form input[type="email"],
.lfo-ct__form-card .wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--lfo-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .5);
  color: var(--lfo-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lfo-ct__form-card .wpcf7-form textarea { min-height: 130px; resize: none; }
.lfo-ct__form-card .wpcf7-form input::placeholder,
.lfo-ct__form-card .wpcf7-form textarea::placeholder { color: var(--lfo-muted); }
.lfo-ct__form-card .wpcf7-form input:focus,
.lfo-ct__form-card .wpcf7-form textarea:focus {
  border-color: var(--lfo-primary);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, .2);
}
/* CF7 auto-inserts <p> wrappers via wpautop — neutralise their spacing. */
.lfo-ct__form-card .wpcf7-form p { margin: 0; }
.lfo-ct__form-card .wpcf7-form br { display: none; }
.lfo-ct__form-card .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--lfo-ink);
  font-family: var(--lfo-font);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.lfo-ct__form-card .wpcf7-submit:hover { transform: translateY(-1px); background: var(--lfo-primary); }
.lfo-ct__form-card .wpcf7-spinner { margin: 0 0 0 12px; }
.lfo-ct__form-card .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.lfo-ct__form-card .wpcf7-form.invalid .wpcf7-response-output,
.lfo-ct__form-card .wpcf7-form.failed .wpcf7-response-output {
  color: var(--lfo-danger);
  border: 1px solid rgba(195, 58, 58, .3);
  background: rgba(195, 58, 58, .08);
}
.lfo-ct__form-card .wpcf7-form.sent .wpcf7-response-output {
  color: var(--lfo-success);
  border: 1px solid rgba(22, 121, 75, .3);
  background: rgba(22, 121, 75, .08);
}
.lfo-ct__form-card .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--lfo-danger);
  font-size: 13px;
}
@media (max-width: 560px) {
  .lfo-ct__form-card .wpcf7-form .lfo-ct__form-row { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .lfo-ct__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .lfo-ct__form-row { grid-template-columns: 1fr; }
  .lfo-ct__form-card { padding: 32px; }
}

/* Two-factor panel injected by the backoffice on /google-authenticator-login/ */
.lfo-2fa-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 14, 16, .5);
}
.lfo-2fa-panel {
  max-width: 520px;
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--lfo-shadow);
}

/* ==========================================================================
   Auth pages v2 (register / sign-in) — reference design system.
   Glass card, two-column split: intro left, form right.
   ========================================================================== */
.lfo-auth2 {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 128px 0 80px;
}
.lfo-auth2__card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px;
  border-radius: 32px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 24px 60px rgba(35, 35, 56, .1);
}
/* Single-column variant for short client forms (withdrawal, forgot password). */
.lfo-auth2__card--single {
  display: block;
  max-width: 520px;
  padding: 48px;
}
.lfo-auth2__card--single .lfo-auth2__title { font-size: clamp(32px, 3vw, 44px); }
.lfo-auth2__card--single .lfo-auth2__form { margin-top: 28px; }
.lfo-auth2__title {
  margin: 16px 0 20px;
  font-family: var(--lfo-heading);
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.02em;
}
.lfo-auth2__lead {
  margin: 0 0 28px;
  color: var(--lfo-muted);
  font-size: 18px;
  line-height: 1.6;
}
.lfo-auth2__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.lfo-auth2__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}
.lfo-auth2__points svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--lfo-primary);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lfo-auth2__alt {
  margin: 0;
  color: var(--lfo-muted);
  font-size: 14px;
}
.lfo-auth2__alt a {
  color: var(--lfo-primary);
  font-weight: 600;
}
.lfo-auth2__alt a:hover { text-decoration: underline; }

.lfo-auth2__form { gap: 18px; }
.lfo-auth2__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.lfo-auth2__row--phone { grid-template-columns: 0.4fr 1fr; }
.lfo-auth2__form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}
.lfo-auth2__form select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--lfo-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .5);
  color: var(--lfo-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lfo-auth2__form select:focus {
  border-color: var(--lfo-primary);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, .2);
}
.lfo-auth2__submit {
  align-self: stretch;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
  gap: 8px;
}
.lfo-auth2__submit svg { width: 20px; height: 20px; }

.lfo-auth2__forgot {
  margin: -6px 0 2px;
  color: var(--lfo-primary);
  font-size: 14px;
  font-weight: 600;
}
.lfo-auth2__forgot:hover { text-decoration: underline; }

.lfo-ct__message {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.lfo-ct__message--error { color: var(--lfo-danger); background: rgba(195, 58, 58, .1); }
.lfo-ct__message--success { color: var(--lfo-success); background: rgba(22, 121, 75, .1); }

@media (max-width: 900px) {
  .lfo-auth2__card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px;
  }
}
@media (max-width: 560px) {
  .lfo-auth2 { padding-top: 104px; }
  .lfo-auth2__card { padding: 28px; }
  .lfo-auth2__row,
  .lfo-auth2__row--phone { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Backoffice login widget: Bootstrap-markup modals it injects into <body>.
   We ship no Bootstrap, so `.modal` gets no default `display:none` and the
   dialogs render as raw blocks. Hide them by default and give the ones the
   widget can actually open an on-brand look (see assets/js/modal-shim.js).
   ========================================================================== */
.modal,
#loginModal,
#registerModal,
#sessionExpiredModal {
  display: none;
}
.modal.in,
.modal.show {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1050;
  overflow-y: auto;
}
#lfo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(14, 14, 16, .5);
  backdrop-filter: blur(2px);
}
body.lfo-modal-open { overflow: hidden; }

.modal .modal-dialog {
  width: min(100% - 32px, 480px);
  margin: 10vh auto;
}
.modal .modal-content {
  padding: 32px;
  border: 1px solid var(--lfo-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--lfo-shadow);
}
.modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.modal .modal-title {
  margin: 0;
  font-family: var(--lfo-heading);
  font-size: 20px;
  font-weight: 700;
}
.modal .close {
  border: 0;
  background: none;
  color: var(--lfo-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal .close:hover { color: var(--lfo-ink); }
.modal .modal-body { color: var(--lfo-muted); }
.modal .modal-body input,
.modal .modal-body select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  margin-bottom: 12px;
  border: 1px solid var(--lfo-border);
  border-radius: 12px;
  outline: none;
}
.modal .modal-body input:focus {
  border-color: var(--lfo-primary);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, .2);
}
.modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--lfo-ink);
  font-weight: 600;
  cursor: pointer;
}
.modal .btn:hover { background: var(--lfo-primary); }

/* Honeypot: off-screen rather than display:none, which bots detect and skip. */
.lfo-cf7-guard {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Language switcher (built-in i18n, replaces WPML's switcher)
   ========================================================================== */
.lfo-lang { position: relative; }
.lfo-lang__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--lfo-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--lfo-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease;
}
.lfo-lang__button:hover { border-color: rgba(79, 70, 229, .35); }
.lfo-lang__flag { font-size: 16px; line-height: 1; }
.lfo-lang__code { font-family: var(--lfo-mono); letter-spacing: .04em; }
.lfo-lang__caret {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: var(--lfo-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.lfo-lang.is-open .lfo-lang__caret { transform: rotate(180deg); }
.lfo-lang__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--lfo-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--lfo-shadow);
}
.lfo-lang.is-open .lfo-lang__dropdown { display: grid; }
.lfo-lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--lfo-muted);
  font-size: 14px;
}
.lfo-lang__item:hover { background: rgba(17, 17, 20, .04); color: var(--lfo-ink); }
.lfo-lang__item.is-current { color: var(--lfo-ink); font-weight: 600; }

.lfo-legal__hero {
  padding: 84px 0 52px;
  text-align: center;
}
.lfo-legal__hero .lfo-container {
  max-width: 920px;
}
.lfo-legal__hero h1 {
  margin: 28px 0 18px;
  font-family: var(--lfo-heading);
  font-size: clamp(48px, 7vw, 88px);
  line-height: .92;
  font-weight: 700;
  letter-spacing: 0;
}
.lfo-legal__hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--lfo-muted);
  font-size: 20px;
  line-height: 1.55;
}
.lfo-legal__hero span {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--lfo-muted);
  background: rgba(17, 17, 20, .05);
  font-family: var(--lfo-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lfo-legal__body {
  padding: 0 0 112px;
}
.lfo-legal__body .lfo-container {
  width: min(100% - 48px, 980px);
}
.lfo-legal__card,
.lfo-faq-list {
  border: 1px solid var(--lfo-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .68);
  box-shadow: var(--lfo-shadow);
  backdrop-filter: blur(18px);
}
.lfo-legal__card {
  padding: 48px;
}
.lfo-legal__section + .lfo-legal__section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--lfo-border);
}
.lfo-legal__section h2 {
  margin: 0 0 14px;
  font-family: var(--lfo-heading);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 700;
}
.lfo-legal__section p,
.lfo-legal__section li,
.lfo-faq-item p {
  color: var(--lfo-muted);
  font-size: 16px;
  line-height: 1.75;
}
.lfo-legal__section p {
  margin: 0;
}
.lfo-legal__section p + p,
.lfo-legal__section ul + p,
.lfo-legal__section p + ul {
  margin-top: 14px;
}
.lfo-legal__section ul {
  margin: 14px 0 0;
  padding-left: 22px;
}
.lfo-legal__section li + li {
  margin-top: 8px;
}
.lfo-faq-list {
  display: grid;
  overflow: hidden;
}
.lfo-faq-item {
  padding: 0 32px;
}
.lfo-faq-item + .lfo-faq-item {
  border-top: 1px solid var(--lfo-border);
}
.lfo-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 22px 0;
  color: var(--lfo-ink);
  font-family: var(--lfo-heading);
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
}
.lfo-faq-item summary::-webkit-details-marker { display: none; }
.lfo-faq-item summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--lfo-ink);
  font-family: var(--lfo-font);
  font-size: 20px;
  font-weight: 500;
}
.lfo-faq-item[open] summary::after {
  content: "−";
}
.lfo-faq-item p {
  max-width: 820px;
  margin: -4px 0 28px;
}

.lfo-prop-page {
  background:
    radial-gradient(at 16% 8%, rgba(79,70,229,.08), transparent 34%),
    radial-gradient(at 86% 18%, rgba(223,255,123,.14), transparent 30%),
    var(--lfo-bg);
}
.lfo-prop-hero {
  padding: 130px 0 48px;
  text-align: center;
}
.lfo-prop-hero h1 {
  max-width: 900px;
  margin: 18px auto;
  font-family: var(--lfo-heading);
  font-size: clamp(46px, 8vw, 96px);
  line-height: .92;
  letter-spacing: 0;
}
.lfo-prop-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--lfo-muted);
  font-size: 20px;
  line-height: 1.55;
}
.lfo-prop-selector { padding: 0 0 96px; }
.lfo-prop-status {
  max-width: 920px;
  margin: 0 auto 22px;
  padding: 14px 18px;
  border: 1px solid rgba(79,70,229,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  color: var(--lfo-muted);
  text-align: center;
}
.lfo-prop-status[data-type="error"] {
  border-color: rgba(195,58,58,.2);
  color: var(--lfo-danger);
}
.lfo-prop-programs,
.lfo-prop-challenges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.lfo-prop-programs { margin-bottom: 18px; }
.lfo-prop-challenges { margin-bottom: 28px; }
.lfo-prop-program,
.lfo-prop-option {
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid rgba(79,70,229,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--lfo-muted);
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.lfo-prop-program:hover,
.lfo-prop-option:hover {
  transform: translateY(-1px);
  color: var(--lfo-ink);
  border-color: rgba(79,70,229,.35);
}
.lfo-prop-program.is-active,
.lfo-prop-option.is-active {
  border-color: var(--lfo-primary);
  background: var(--lfo-primary);
  color: #fff;
}
.lfo-prop-table-wrap {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--lfo-shadow);
  backdrop-filter: blur(18px) saturate(1.5);
}
.lfo-prop-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
}
.lfo-prop-table th,
.lfo-prop-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--lfo-border);
  color: var(--lfo-muted);
  text-align: center;
  font-weight: 650;
}
.lfo-prop-table th:first-child,
.lfo-prop-table td:first-child { text-align: left; }
.lfo-prop-table thead th {
  background: rgba(79,70,229,.08);
  color: var(--lfo-ink);
  font-family: var(--lfo-heading);
  font-size: 18px;
}
.lfo-prop-table tbody th {
  width: 30%;
  background: rgba(255,255,255,.72);
  color: var(--lfo-ink);
}
.lfo-prop-table tr:last-child th,
.lfo-prop-table tr:last-child td { border-bottom: 0; }
.lfo-prop-submit {
  width: fit-content;
  min-width: 220px;
  margin: 26px 0 8px auto;
}
.lfo-prop-spinner {
  margin: 20px auto 0;
  text-align: center;
  color: var(--lfo-muted);
}
.lfo-prop-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(14,14,16,.34);
  backdrop-filter: blur(10px);
}
.lfo-prop-modal[hidden] { display: none; }
.lfo-prop-modal__panel {
  width: min(100%, 440px);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 90px rgba(14,14,16,.18);
}
.lfo-prop-modal__close {
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid var(--lfo-border);
  border-radius: 50%;
  background: #fff;
  color: var(--lfo-muted);
  font-size: 24px;
  line-height: 1;
}
.lfo-prop-modal h2 {
  margin: 0 0 18px;
  font-family: var(--lfo-heading);
  font-size: 28px;
}
.lfo-prop-modal dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}
.lfo-prop-modal dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--lfo-muted);
}
.lfo-prop-modal dt { font-weight: 700; }
.lfo-prop-modal dd {
  margin: 0;
  color: var(--lfo-ink);
  font-weight: 800;
}
.lfo-prop-modal label {
  display: grid;
  gap: 8px;
  color: var(--lfo-muted);
  font-weight: 700;
}
.lfo-prop-modal input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--lfo-border);
  border-radius: 14px;
  background: #fff;
  color: var(--lfo-ink);
}
.lfo-prop-modal__error {
  margin: 10px 0 0;
  color: var(--lfo-danger);
  font-weight: 700;
}
.lfo-prop-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.lfo-prop-modal__actions .lfo-ref-button {
  flex: 1;
  min-width: 0;
  padding-inline: 14px;
}

@media (max-width: 1023px) {
  .lfo-lang { align-self: stretch; }
  .lfo-lang__button { width: 100%; justify-content: center; }
}

@media (max-width: 760px) {
  .lfo-legal__hero { padding: 52px 0 34px; }
  .lfo-legal__hero p { font-size: 18px; }
  .lfo-legal__body .lfo-container { width: min(100% - 32px, 980px); }
  .lfo-legal__card { padding: 28px; }
  .lfo-faq-item { padding: 0 22px; }
  .lfo-faq-item summary { font-size: 18px; }
  .lfo-prop-hero { padding: 82px 0 34px; }
  .lfo-prop-hero p { font-size: 18px; }
  .lfo-prop-program,
  .lfo-prop-option {
    width: 100%;
  }
  .lfo-prop-table-wrap {
    width: min(100% - 32px, 1120px);
  }
  .lfo-prop-modal__panel {
    padding: 22px;
  }
  .lfo-prop-modal__actions {
    flex-direction: column;
  }
  .lfo-prop-submit {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}
