:root {
  --ink: #0e1628;
  --ink-soft: #1c2b45;
  --mist: #e6eef8;
  --paper: #f3f6fb;
  --line: #c7d3e4;
  --teal: #2f6fed;
  --teal-deep: #1d4fc4;
  --teal-glow: #8bb4ff;
  --amber: #e8a54b;
  --muted: #5a6b82;
  --white: #ffffff;
  --max: 1120px;
  --header-h: 76px;
  --font-display: "Sora", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lx-container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.lx-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.85rem;
}

/* Header */
.lx-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.lx-header.is-solid,
.lx-header.is-scrolled {
  background: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

body:has(.lx-hero) .lx-header:not(.is-scrolled) .lx-nav-link {
  color: rgba(244, 247, 251, 0.88);
}

body:has(.lx-hero) .lx-header:not(.is-scrolled) .lx-nav-link:hover {
  color: var(--teal-glow);
}

body:has(.lx-hero) .lx-header:not(.is-scrolled) .lx-nav-cta {
  background: var(--teal);
  color: var(--white) !important;
}

body:has(.lx-hero) .lx-header:not(.is-scrolled) .lx-nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

body:has(.lx-hero) .lx-header:not(.is-scrolled) .lx-nav-toggle span {
  background: var(--white);
}

.lx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.lx-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.lx-logo img {
  height: 36px;
  width: auto;
  max-width: 200px;
}

.lx-logo img[hidden] {
  display: none !important;
}

.lx-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.lx-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.lx-nav-link:hover {
  color: var(--teal);
}

.lx-nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
}

.lx-nav-cta:hover {
  background: var(--teal-deep);
  color: var(--white) !important;
}

.lx-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.lx-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

/* Hero — full-bleed composition */
.lx-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 0;
  overflow: hidden;
  color: var(--white);
}

.lx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lx-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
  animation: lx-ken 18s var(--ease) infinite alternate;
}

.lx-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 22, 40, 0.55) 0%, rgba(14, 22, 40, 0.78) 48%, rgba(14, 22, 40, 0.94) 100%),
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(47, 111, 237, 0.4), transparent 60%);
}

@keyframes lx-ken {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-1.5%);
  }
}

.lx-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 3.5rem;
  max-width: 720px;
}

.lx-hero .lx-eyebrow {
  color: var(--teal-glow);
  opacity: 0;
  animation: lx-rise 0.8s var(--ease) 0.15s forwards;
}

.lx-brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: var(--white);
  opacity: 0;
  animation: lx-rise 0.9s var(--ease) 0.28s forwards;
}

.lx-brand-mark span {
  color: var(--teal-glow);
}

.lx-hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600;
  color: rgba(244, 247, 251, 0.92);
  max-width: 28ch;
  opacity: 0;
  animation: lx-rise 0.9s var(--ease) 0.4s forwards;
}

.lx-hero-text {
  color: rgba(232, 238, 245, 0.78);
  font-size: 1.08rem;
  max-width: 42ch;
  opacity: 0;
  animation: lx-rise 0.9s var(--ease) 0.52s forwards;
}

.lx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
  opacity: 0;
  animation: lx-rise 0.9s var(--ease) 0.64s forwards;
}

.lx-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(232, 238, 245, 0.7);
  opacity: 0;
  animation: lx-rise 0.9s var(--ease) 0.76s forwards;
}

.lx-hero-meta strong {
  color: var(--white);
  font-weight: 600;
}

@keyframes lx-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s,
    box-shadow 0.2s;
}

.lx-btn:hover {
  transform: translateY(-1px);
}

.lx-btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(47, 111, 237, 0.35);
}

.lx-btn-primary:hover {
  background: var(--teal-deep);
}

.lx-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.lx-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lx-btn-dark {
  background: var(--ink);
  color: var(--white);
}

.lx-btn-dark:hover {
  background: var(--ink-soft);
}

/* Sections */
.lx-section {
  padding: 5rem 0;
}

.lx-section-tight {
  padding: 3.5rem 0;
}

.lx-section-ink {
  background: var(--ink);
  color: var(--white);
}

.lx-section-ink h2,
.lx-section-ink h3 {
  color: var(--white);
}

.lx-section-ink p {
  color: rgba(232, 238, 245, 0.72);
}

.lx-section-mist {
  background: var(--mist);
}

.lx-section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.lx-section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* Trust strip */
.lx-trust {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.lx-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.lx-trust-inner strong {
  color: var(--ink);
}

.lx-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lx-stars {
  color: var(--amber);
  letter-spacing: 0.05em;
}

/* Languages band */
.lx-lang-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.lx-lang-visual {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(11, 21, 38, 0.08);
}

.lx-lang-visual img {
  width: 100%;
  height: auto;
}

/* Why grid — not cards in hero sense; interaction-free feature list */
.lx-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.lx-why-item {
  padding-right: 0.5rem;
}

.lx-why-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  filter: invert(36%) sepia(86%) saturate(1800%) hue-rotate(206deg)
    brightness(98%) contrast(95%);
}

.lx-why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.lx-why-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* Role overview split */
.lx-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.lx-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.lx-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.lx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--teal);
}

.lx-pay-panel {
  background: var(--ink);
  color: var(--white);
  padding: 2rem;
  border-radius: 20px;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.lx-pay-panel p {
  color: rgba(232, 238, 245, 0.7);
}

.lx-pay-panel .lx-pay-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-glow);
  margin-bottom: 0.5rem;
}

.lx-pay-amount {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.lx-pay-panel .lx-btn {
  width: 100%;
  margin-top: 1.25rem;
}

.lx-pay-facts {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.85rem;
}

.lx-pay-facts div strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.lx-pay-facts div span {
  font-size: 0.88rem;
  color: rgba(232, 238, 245, 0.65);
}

/* Future skills */
.lx-skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

.lx-skill h3 {
  font-size: 1.15rem;
}

.lx-skill {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

/* Product showcase */
.lx-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.lx-showcase figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.lx-showcase figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Steps */
.lx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.lx-step {
  position: relative;
  padding-top: 0.25rem;
}

.lx-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.lx-step h3 {
  font-size: 1.15rem;
}

/* FAQ */
.lx-faq {
  display: grid;
  gap: 0.65rem;
  max-width: 720px;
}

.lx-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}

.lx-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1rem 2rem 1rem 0;
  position: relative;
  color: var(--ink);
}

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

.lx-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 500;
}

.lx-faq details[open] summary::after {
  content: "–";
}

.lx-faq details p {
  margin: 0 0 1.1rem;
  padding-right: 2rem;
}

/* Apply form */
.lx-apply {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.lx-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.06);
}

.lx-field {
  margin-bottom: 1rem;
}

.lx-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.lx-field input,
.lx-field select,
.lx-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lx-field input:focus,
.lx-field select:focus,
.lx-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.2);
  background: var(--white);
}

.lx-field textarea {
  min-height: 110px;
  resize: vertical;
}

.lx-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.lx-form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  min-height: 1.3em;
}

.lx-form-status.is-ok {
  color: var(--teal-deep);
}

.lx-form-status.is-err {
  color: #b42318;
}

.lx-btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* Toast alert */
.lx-toast {
  position: fixed;
  top: calc(var(--header-h) + 0.75rem);
  right: 1rem;
  z-index: 100;
  max-width: min(380px, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(14, 22, 40, 0.28);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.lx-toast.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lx-toast.is-ok {
  border-left: 4px solid var(--teal-glow);
}

.lx-toast.is-err {
  border-left: 4px solid #f97066;
}

.lx-toast strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.lx-toast p {
  margin: 0;
  color: rgba(243, 246, 251, 0.78);
  font-size: 0.9rem;
}

/* Page hero (inner) */
.lx-page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(47, 111, 237, 0.14), transparent 55%),
    var(--mist);
}

.lx-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.lx-page-hero p {
  max-width: 48ch;
}

/* Stats */
.lx-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.lx-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.lx-stat span {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Footer */
.lx-footer {
  background: var(--ink);
  color: rgba(232, 238, 245, 0.72);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.lx-footer a:hover {
  color: var(--teal-glow);
}

.lx-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.lx-footer h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.lx-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lx-footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  font-size: 0.85rem;
}

.lx-footer .lx-logo img {
  margin-bottom: 1rem;
}

/* Reveal */
.lx-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.lx-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Legal prose */
.lx-prose {
  max-width: 720px;
}

.lx-prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.lx-prose ul {
  color: var(--muted);
  padding-left: 1.2rem;
}

/* Mobile */
@media (max-width: 900px) {
  .lx-nav-toggle {
    display: flex;
  }

  .lx-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.5rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .lx-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body:has(.lx-hero) .lx-header:not(.is-scrolled) .lx-nav.is-open .lx-nav-link {
    color: var(--ink-soft);
  }

  body:has(.lx-hero) .lx-header:not(.is-scrolled) .lx-nav.is-open .lx-nav-cta {
    background: var(--ink);
    color: var(--white) !important;
  }

  .lx-nav-link {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .lx-nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-radius: 12px;
  }

  .lx-lang-band,
  .lx-split,
  .lx-apply,
  .lx-showcase,
  .lx-footer-grid {
    grid-template-columns: 1fr;
  }

  .lx-why,
  .lx-steps,
  .lx-skills,
  .lx-stats,
  .lx-form-row {
    grid-template-columns: 1fr;
  }

  .lx-pay-panel {
    position: static;
  }

  .lx-hero {
    min-height: 92vh;
  }
}
