.landing-page {
  --ink: #0a0d0f;
  --paper: #f0eee8;
  --white: #f9f7f1;
  --muted: #a7aaa8;
  --line: rgba(255, 255, 255, .14);
  --violet: #746cff;
  --mint: #77e7c4;
  --orange: #d97543;
  position: relative;
  overflow: clip;
  background: var(--ink);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
}

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

.landing-page section { padding: 8rem 0; }
.landing-page section > * { opacity: 1; animation: none; }
.landing-page h1,
.landing-page h2,
.landing-page h3 { color: inherit; }
.landing-page a { text-decoration: none; }
.landing-page em { font-family: "Playfair Display", serif; font-weight: 500; }

.lp-display {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.8rem, 6.4vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .98;
}

.lp-display em {
  color: var(--mint);
  letter-spacing: -.04em;
}

.lp-section-index {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  color: #8f9392;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lp-section-index span { color: var(--mint); }

.lp-nav-cta {
  padding: .65rem 1rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lp-nav-cta:hover { border-color: var(--mint); color: var(--mint); }

.lp-cursor-glow {
  position: fixed;
  z-index: 4;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 108, 255, .12), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.lp-hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: stretch;
  padding: 0 !important;
  isolation: isolate;
}

.lp-hero-media,
.lp-hero-shade,
.lp-hero-grid { position: absolute; inset: 0; }

.lp-hero-media { z-index: -3; overflow: hidden; background: #172024; }
.lp-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.56) brightness(.62);
  transform: scale(1.06) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: transform .15s linear;
}

.lp-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 7, 8, .92) 0%, rgba(4, 7, 8, .72) 43%, rgba(4, 7, 8, .12) 78%),
    linear-gradient(0deg, rgba(4, 7, 8, .9), transparent 55%);
}

.lp-hero-grid {
  z-index: -1;
  opacity: .23;
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), rgba(255,255,255,.18) 1px);
  background-size: 25% 100%;
}

.lp-hero-content {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.lp-hero-kicker {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.68);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lp-hero-copy { max-width: 1050px; margin-top: auto; }
.lp-overline {
  margin-bottom: 1.6rem;
  color: #d6d5cf;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.lp-hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.8rem, 8vw, 8.6rem);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .88;
  text-wrap: balance;
}

.lp-hero h1 em { color: #e8dec9; }

.lp-hero-bottom {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 3rem;
  align-items: end;
  margin-top: 3rem;
}

.lp-hero-bottom > p {
  max-width: 570px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.lp-actions { display: flex; gap: 1.8rem; align-items: center; }

.lp-btn {
  display: inline-flex;
  min-height: 60px;
  padding: 0 1.6rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid transparent;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.lp-btn:hover { transform: translateY(-3px); }
.lp-btn-primary { background: var(--white); color: var(--ink); }
.lp-btn-primary:hover { background: var(--mint); color: var(--ink); }

.lp-play-link {
  display: flex;
  gap: .8rem;
  align-items: center;
  color: #fff;
  text-transform: uppercase;
}

.lp-play-link > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  transition: border-color .25s ease, transform .25s ease;
}

.lp-play-link:hover > span { border-color: var(--mint); transform: scale(1.08); }
.lp-play-link small { font-size: .63rem; letter-spacing: .12em; line-height: 1.6; }

.lp-scroll-cue {
  position: absolute;
  right: 2rem;
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  gap: .7rem;
  align-items: center;
  color: rgba(255,255,255,.58);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.lp-scroll-cue span {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--mint) 50%, rgba(255,255,255,.2) 50%);
  background-size: 100% 200%;
  animation: lpScroll 2s linear infinite;
}

@keyframes lpScroll { to { background-position: 0 200%; } }

.lp-manifesto { background: var(--paper); color: #141819; }
.lp-manifesto .lp-section-index { color: #777b7a; }
.lp-manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr);
  gap: 5rem;
  align-items: end;
}

.lp-manifesto .lp-display em { color: #756cff; }
.lp-manifesto-copy p { color: #555b5a; font-size: 1.08rem; line-height: 1.75; }
.lp-manifesto-copy a {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  padding-bottom: .3rem;
  border-bottom: 1px solid #171b1c;
  color: #171b1c;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lp-pain-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 6rem;
  border-top: 1px solid #c9c8c2;
}

.lp-pain-line article { min-height: 185px; padding: 1.5rem; border-right: 1px solid #c9c8c2; }
.lp-pain-line article:first-child { border-left: 1px solid #c9c8c2; }
.lp-pain-line span { color: #756cff; font-size: .68rem; }
.lp-pain-line p { max-width: 230px; margin: 3.5rem 0 0; font-size: .96rem; line-height: 1.55; }

.lp-showcase { background: #0e1214; }
.lp-showcase-head,
.lp-tech-head,
.lp-process-head {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 4rem;
}

.lp-showcase-head > p,
.lp-tech-head > p,
.lp-process-head > p {
  color: #9ea3a2;
  font-size: 1rem;
  line-height: 1.75;
}

.lp-project-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #151a1d;
}

.lp-project-browser { min-width: 0; }
.lp-browser-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  height: 44px;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0b0e10;
}

.lp-browser-top > div { display: flex; gap: 6px; }
.lp-browser-top > div span { width: 7px; height: 7px; border-radius: 50%; background: #4c5254; }
.lp-browser-top small { overflow: hidden; color: #777d7f; font-size: .62rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.lp-browser-top > i { justify-self: end; color: var(--mint); font-size: .75rem; }

.lp-project-image {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #080a0b;
}

.lp-project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .3s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}

.lp-project-stage:hover .lp-project-image img { transform: scale(1.018); }
.lp-project-image.is-changing img { opacity: .2; transform: scale(.98); }

.lp-project-scan {
  position: absolute;
  inset: -100% 0 auto;
  height: 40%;
  background: linear-gradient(transparent, rgba(119,231,196,.12), transparent);
  animation: lpScan 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lpScan { 60%, 100% { transform: translateY(500%); } }

.lp-project-info {
  display: flex;
  flex-direction: column;
  padding: 2.2rem;
  border-left: 1px solid var(--line);
}

.lp-project-info > span {
  color: var(--mint);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lp-project-info h3 {
  margin: auto 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
}

.lp-project-info p { color: #aeb2b1; font-size: .92rem; line-height: 1.7; }
.lp-project-info > small { margin-top: 2rem; color: #696f70; font-size: .66rem; }
.lp-project-stack { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.lp-project-stack span {
  padding: .4rem .65rem;
  border: 1px solid rgba(255,255,255,.13);
  color: #c8cccb;
  font-size: .62rem;
}

.lp-project-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.lp-project-tabs button {
  position: relative;
  padding: 1.25rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #6f7576;
  font: 600 .72rem "DM Sans", sans-serif;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease;
}

.lp-project-tabs button span { margin-right: 1.2rem; color: #505657; }
.lp-project-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.lp-project-tabs button:hover,
.lp-project-tabs button.active { background: rgba(255,255,255,.025); color: #fff; }
.lp-project-tabs button.active::after { transform: scaleX(1); }

.lp-solution { background: #171c1f; }
.lp-solution-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 7rem;
}

.lp-sticky-copy { align-self: start; position: sticky; top: calc(var(--nav-h) + 2rem); }
.lp-sticky-copy > p { max-width: 480px; margin-top: 2rem; color: #9da2a2; line-height: 1.75; }
.lp-feature-rows article {
  display: grid;
  grid-template-columns: 42px 1fr 44px;
  gap: 1.3rem;
  align-items: start;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}

.lp-feature-rows article:last-child { border-bottom: 1px solid var(--line); }
.lp-feature-rows article > span { color: var(--mint); font-size: .65rem; }
.lp-feature-rows h3 { margin: 0 0 .65rem; font-size: 1.35rem; }
.lp-feature-rows p { max-width: 510px; margin: 0; color: #979d9c; line-height: 1.7; }
.lp-feature-rows i { color: #646b6b; font-size: 1.65rem; transition: color .25s ease, transform .25s ease; }
.lp-feature-rows article:hover i { color: var(--mint); transform: rotate(-8deg) scale(1.12); }

.lp-tech { background: #080b0d; }
.lp-tech-console { border: 1px solid var(--line); background: #101416; box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.lp-console-bar {
  display: flex;
  justify-content: space-between;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  color: #757b7b;
  font-size: .66rem;
  letter-spacing: .08em;
}

.lp-console-bar small { color: var(--mint); }
.lp-console-bar small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: .4rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.lp-code-panel { padding: 2.5rem; border-bottom: 1px solid var(--line); }
.lp-code-panel div { display: grid; grid-template-columns: 38px 1fr; margin: .55rem 0; }
.lp-code-panel b { color: #3e4445; font-size: .68rem; font-weight: 500; }
.lp-code-panel code { color: #b9c0bf; font-size: clamp(.72rem, 1.2vw, .95rem); }
.lp-code-panel div:nth-child(1) code,
.lp-code-panel div:nth-child(5) code { color: #a9a3ff; }
.lp-code-panel div:nth-child(3) code { color: var(--mint); }

.lp-tech-metrics { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-tech-metrics article { min-height: 160px; padding: 2rem; border-right: 1px solid var(--line); }
.lp-tech-metrics article:last-child { border: 0; }
.lp-tech-metrics strong { display: block; font: 500 clamp(2rem, 4vw, 3.8rem) "Manrope", sans-serif; letter-spacing: -.06em; }
.lp-tech-metrics span { color: #777d7d; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.lp-tech-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.lp-tech-tags span { padding: .55rem .8rem; border: 1px solid var(--line); color: #8d9392; font-size: .66rem; text-transform: uppercase; }

.lp-audience { background: var(--paper); color: #161a1b; }
.lp-audience-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 7rem; }
.lp-audience .lp-display em { color: #756cff; }
.lp-audience-list { border-top: 1px solid #c8c7c1; }
.lp-audience-list > span {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid #c8c7c1;
  font-size: 1.05rem;
  transition: padding .25s ease, color .25s ease;
}
.lp-audience-list > span:hover { padding-left: .8rem; color: #6b63e9; }
.lp-audience-list i { color: #92938f; font: normal .62rem "DM Sans", sans-serif; }

.lp-process { background: #111618; }
.lp-process-list { padding: 0; border-top: 1px solid var(--line); list-style: none; }
.lp-process-list li {
  display: grid;
  grid-template-columns: 70px 1fr .75fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.lp-process-list li > span { color: var(--mint); font-size: .66rem; }
.lp-process-list h3 { margin: 0; font: 500 clamp(1.35rem, 2.5vw, 2rem) "Manrope", sans-serif; letter-spacing: -.04em; }
.lp-process-list p { margin: 0; color: #868c8b; }

.lp-authority {
  background:
    radial-gradient(circle at 82% 50%, rgba(116,108,255,.18), transparent 32%),
    #080b0d;
}
.lp-authority-grid {
  display: grid;
  grid-template-columns: .35fr 1.2fr .45fr;
  gap: 4rem;
  align-items: start;
}
.lp-authority-grid .lp-display { font-size: clamp(3rem, 6.8vw, 7rem); }
.lp-authority-copy p { color: #a0a5a4; line-height: 1.8; }
.lp-authority-copy > div { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.lp-authority-copy span { padding: .45rem .65rem; border: 1px solid var(--line); color: #8e9493; font-size: .62rem; text-transform: uppercase; }

.lp-final { padding-top: 2rem !important; background: #080b0d; }
.lp-final-card {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem);
  background: var(--violet);
  text-align: center;
}
.lp-final-card > *:not(.lp-final-orbit) { position: relative; z-index: 1; }
.lp-final-card > p { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.lp-final-card h2 {
  max-width: 980px;
  margin: 1.2rem auto;
  font: 500 clamp(3rem, 6.7vw, 7rem)/.95 "Manrope", sans-serif;
  letter-spacing: -.07em;
}
.lp-final-card h2 em { color: #dcd9ff; }
.lp-final-card > span { display: block; max-width: 670px; margin: 0 auto 2.2rem; color: #e2e0ff; line-height: 1.7; }
.lp-btn-light { width: fit-content; margin: auto; background: var(--white); color: #25205b; }
.lp-btn-light:hover { background: var(--mint); color: #132b25; }
.lp-final-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65vw;
  height: 65vw;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: lpOrbit 18s linear infinite;
}
.lp-final-orbit::before,
.lp-final-orbit::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.lp-final-orbit::after { inset: 28%; }
.lp-final-orbit span { position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 20px var(--mint); }
@keyframes lpOrbit { to { transform: translate(-50%, -50%) rotate(360deg); } }

.lp-mobile-cta { display: none; }
.landing-page .lp-reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.landing-page .lp-reveal.is-visible { opacity: 1; transform: none; }
main:has(.landing-page) + footer { margin-top: 0 !important; }

@media (max-width: 1199.98px) {
  .lp-hero h1 { font-size: clamp(4rem, 9vw, 7rem); }
  .lp-project-stage { grid-template-columns: 1fr; }
  .lp-project-info { min-height: 260px; border-top: 1px solid var(--line); border-left: 0; }
  .lp-project-info h3 { margin: 2rem 0 1rem; }
  .lp-authority-grid { grid-template-columns: 1fr 2fr; }
  .lp-authority-copy { grid-column: 2; }
}

@media (max-width: 991.98px) {
  .landing-page section { padding: 6rem 0; }
  .lp-hero-bottom,
  .lp-manifesto-grid,
  .lp-showcase-head,
  .lp-tech-head,
  .lp-process-head,
  .lp-solution-grid,
  .lp-audience-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-actions { justify-content: flex-start; }
  .lp-pain-line { grid-template-columns: 1fr 1fr; }
  .lp-pain-line article:nth-child(3) { border-left: 1px solid #c9c8c2; }
  .lp-sticky-copy { position: static; }
  .lp-tech-metrics { grid-template-columns: 1fr 1fr; }
  .lp-tech-metrics article:nth-child(2) { border-right: 0; }
  .lp-tech-metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 767.98px) {
  .landing-page { padding-bottom: 76px; }
  .landing-page section { padding: 4.5rem 0; }
  .lp-cursor-glow { display: none; }
  .lp-hero { min-height: 760px; }
  .lp-hero-content { min-height: 760px; padding-top: 1.3rem; padding-bottom: 2rem; }
  .lp-hero-kicker span:last-child { display: none; }
  .lp-hero-media img { object-position: 68% center; }
  .lp-hero-shade { background: linear-gradient(90deg, rgba(4,7,8,.92), rgba(4,7,8,.55)), linear-gradient(0deg, rgba(4,7,8,.95), transparent 70%); }
  .lp-hero-grid { background-size: 50% 100%; }
  .lp-hero h1 { font-size: clamp(3.35rem, 16vw, 5.2rem); line-height: .92; }
  .lp-hero-bottom { margin-top: 2rem; }
  .lp-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
  .lp-play-link { justify-content: center; }
  .lp-scroll-cue { display: none; }
  .lp-display { font-size: clamp(2.65rem, 12vw, 4.3rem); }
  .lp-pain-line { grid-template-columns: 1fr; }
  .lp-pain-line article,
  .lp-pain-line article:nth-child(3) { min-height: auto; border-right: 1px solid #c9c8c2; border-left: 1px solid #c9c8c2; }
  .lp-pain-line p { margin-top: 1.5rem; }
  .lp-project-tabs { grid-template-columns: 1fr; }
  .lp-project-tabs button { border-bottom: 1px solid var(--line); }
  .lp-project-image { aspect-ratio: 4 / 3; }
  .lp-project-info { padding: 1.5rem; }
  .lp-feature-rows article { grid-template-columns: 34px 1fr; }
  .lp-feature-rows i { display: none; }
  .lp-code-panel { padding: 1.4rem .8rem; overflow: hidden; }
  .lp-tech-metrics { grid-template-columns: 1fr; }
  .lp-tech-metrics article,
  .lp-tech-metrics article:nth-child(2) { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lp-process-list li { grid-template-columns: 45px 1fr; gap: 1rem; }
  .lp-process-list p { grid-column: 2; }
  .lp-authority-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lp-authority-copy { grid-column: auto; }
  .lp-final-card { margin: 0 -.25rem; }
  .lp-final-orbit { width: 130vw; height: 130vw; }
  .lp-mobile-cta {
    position: fixed;
    z-index: 10000;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 2px;
    background: #25d366;
    color: #092d17;
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 14px 35px rgba(0,0,0,.42);
  }
  .lp-mobile-cta:hover { color: #092d17; }
  #btnTop { bottom: 80px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page *,
  .landing-page *::before,
  .landing-page *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .landing-page .lp-reveal { opacity: 1; transform: none; }
}
