:root {
  --landing-bg: #041017;
  --landing-surface: #081a23;
  --landing-line: rgba(171, 235, 245, 0.16);
  --landing-muted: #9bb2bb;
  --landing-accent: #79e9fa;
  --landing-white: #f4fcff;
}

html {
  scroll-behavior: smooth;
}

body.landing-page {
  margin: 0;
  overflow-x: hidden;
  background: var(--landing-bg);
  color: var(--landing-white);
}

.landing-nav-shell {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem clamp(1.5rem, 5vw, 4.5rem) 0;
}

@media (max-width: 640px) {
  .landing-nav-shell {
    padding: 1.5rem 1.5rem 0;
  }
}

.landing-page .nav {
  position: relative;
}

.landing-page .brand a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.landing-page .nav-dropdown-item[aria-current="page"] {
  color: var(--landing-accent);
}

.landing-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 48%, rgba(64, 210, 234, 0.2), transparent 29%),
    radial-gradient(circle at 8% 15%, rgba(23, 97, 119, 0.2), transparent 31%),
    linear-gradient(145deg, #02090d 0%, #071922 60%, #041017 100%);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 9, 13, 0.96) 0%, rgba(2, 9, 13, 0.7) 36%, transparent 68%);
}

.landing-orbit {
  position: absolute;
  z-index: 1;
  width: 76vw;
  height: 76vw;
  top: 1%;
  right: -31vw;
  border: 1px solid rgba(126, 233, 250, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 110px rgba(64, 210, 234, 0.08), inset 0 0 110px rgba(64, 210, 234, 0.05);
}

.landing-orbit::before,
.landing-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(126, 233, 250, 0.12);
  border-radius: 50%;
}

.landing-orbit::before { inset: 11%; }
.landing-orbit::after { inset: 24%; }

.landing-hero-inner {
  position: relative;
  z-index: 4;
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
  padding: 150px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
  align-items: center;
  gap: 3vw;
}

.landing-hero-copy {
  max-width: 670px;
}

.landing-kicker {
  margin: 0 0 1.35rem;
  color: var(--landing-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.3rem, 6.2vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.landing-hero h1 span {
  color: var(--landing-accent);
}

.landing-lede {
  max-width: 570px;
  margin: 1.8rem 0 0;
  color: #bed0d7;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.65;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.1rem;
}

.landing-primary,
.landing-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.landing-primary {
  padding: 0 1.35rem;
  border-radius: 999px;
  background: var(--landing-white);
  color: #061219;
  font-size: 0.92rem;
  font-weight: 700;
}

.landing-primary:hover { transform: translateY(-2px); }

.landing-secondary {
  color: #d7e8ed;
  font-size: 0.9rem;
}

.landing-secondary::after {
  content: "→";
  margin-left: 0.55rem;
  transition: transform 180ms ease;
}

.landing-secondary:hover { color: var(--landing-accent); }
.landing-secondary:hover::after { transform: translateX(4px); }

.landing-proof {
  margin: 1.5rem 0 0;
  color: #708a94;
  font-size: 0.77rem;
  letter-spacing: 0.04em;
}

.landing-hero-visual {
  position: relative;
  z-index: 2;
  width: 132%;
  margin-left: -4%;
  transform: perspective(1500px) rotateY(-7deg) rotateX(3deg);
  filter: drop-shadow(0 42px 58px rgba(0, 0, 0, 0.38));
}

.landing-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-hero-visual--calendar {
  width: 112%;
  margin-left: 8%;
  border: 1px solid rgba(182, 240, 249, 0.18);
  border-radius: 28px;
  overflow: hidden;
  transform: perspective(1500px) rotateY(-8deg) rotateX(3deg);
  box-shadow: 0 48px 90px rgba(0, 0, 0, 0.46);
}

.landing-hero-visual--calendar img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.landing-main {
  background: var(--landing-bg);
}

.landing-strip {
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
}

.landing-strip-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #8fa6ae;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.landing-strip strong {
  color: #dff9fd;
  font-weight: 600;
}

.landing-section {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 140px 0;
}

.landing-section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: 8vw;
}

.landing-section--reverse .landing-section-copy { order: 2; }
.landing-section--reverse .landing-media { order: 1; }

.landing-section-copy {
  max-width: 550px;
}

.landing-section h2,
.landing-final h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.landing-section-copy > p:not(.landing-kicker),
.landing-final-copy > p:not(.landing-kicker) {
  color: var(--landing-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.landing-detail-list {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--landing-line);
}

.landing-detail-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--landing-line);
  color: #cfdee3;
}

.landing-detail-list span {
  color: var(--landing-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.landing-media {
  position: relative;
}

.landing-media::before {
  content: "";
  position: absolute;
  inset: 10% -8%;
  z-index: 0;
  border-radius: 50%;
  background: rgba(68, 217, 239, 0.12);
  filter: blur(65px);
}

.landing-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.35));
}

.landing-workflow {
  padding: 130px 0;
  background: #f0f8f9;
  color: #07161d;
}

.landing-workflow-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.landing-workflow .landing-kicker { color: #177386; }

.landing-workflow h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 5rem;
  border-top: 1px solid rgba(7, 22, 29, 0.2);
}

.landing-step {
  min-height: 255px;
  padding: 1.8rem 2.4rem 1.8rem 0;
  border-right: 1px solid rgba(7, 22, 29, 0.2);
}

.landing-step + .landing-step { padding-left: 2.4rem; }
.landing-step:last-child { border-right: 0; }

.landing-step-number {
  display: block;
  margin-bottom: 3.8rem;
  color: #177386;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.landing-step h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.landing-step p {
  max-width: 300px;
  color: #53666e;
  line-height: 1.65;
}

.landing-faq {
  width: min(920px, calc(100% - 64px));
  margin: 0 auto;
  padding: 130px 0;
}

.landing-faq h2 {
  margin-bottom: 3.5rem;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.landing-faq details {
  border-top: 1px solid var(--landing-line);
}

.landing-faq details:last-child { border-bottom: 1px solid var(--landing-line); }

.landing-faq summary {
  position: relative;
  padding: 1.45rem 3rem 1.45rem 0;
  cursor: pointer;
  list-style: none;
  color: #e8f7fa;
  font-size: 1.08rem;
}

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

.landing-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--landing-accent);
}

.landing-faq details[open] summary::after { content: "−"; }

.landing-faq details p {
  max-width: 730px;
  margin: -0.2rem 0 1.6rem;
  color: var(--landing-muted);
  line-height: 1.75;
}

.landing-related {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 40px 0 120px;
  border-top: 1px solid var(--landing-line);
}

.landing-related h2 {
  margin: 0 0 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.landing-related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.landing-related a {
  display: flex;
  justify-content: space-between;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--landing-line);
  color: #cce0e5;
  text-decoration: none;
  transition: color 180ms ease, padding 180ms ease;
}

.landing-related a:hover {
  padding-left: 0.5rem;
  color: var(--landing-accent);
}

.landing-final {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #081b24;
}

.landing-final-image {
  position: absolute;
  inset: 0 0 0 42%;
}

.landing-final-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #081b24 0%, transparent 65%);
}

.landing-final-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
}

.landing-final-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.landing-final-copy > * { max-width: 590px; }

.landing-footer {
  padding: 4rem 0 2rem;
  background: #02090d;
  border-top: 1px solid var(--landing-line);
}

.landing-footer-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.landing-footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #eefcff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.landing-footer-brand img { width: 38px; height: 38px; }

.landing-footer h2 {
  margin: 0 0 1rem;
  color: #6f8993;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-footer-links {
  display: grid;
  gap: 0.8rem;
}

.landing-footer-links a {
  color: #afc2c9;
  text-decoration: none;
  font-size: 0.88rem;
}

.landing-footer-links a:hover { color: var(--landing-accent); }

.landing-footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--landing-line);
  color: #5f747c;
  font-size: 0.75rem;
}

.landing-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.75,.2,1);
}

.landing-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.landing-hero-copy > * {
  opacity: 0;
  transform: translateY(20px);
  animation: landing-rise 720ms cubic-bezier(.2,.75,.2,1) forwards;
}

.landing-hero-copy > :nth-child(2) { animation-delay: 90ms; }
.landing-hero-copy > :nth-child(3) { animation-delay: 170ms; }
.landing-hero-copy > :nth-child(4) { animation-delay: 250ms; }
.landing-hero-copy > :nth-child(5) { animation-delay: 320ms; }
.landing-hero-visual { animation: landing-visual 900ms 140ms cubic-bezier(.2,.75,.2,1) both; }

@keyframes landing-rise { to { opacity: 1; transform: none; } }
@keyframes landing-visual { from { opacity: 0; translate: 44px 20px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 980px) {
  .landing-hero { min-height: auto; }
  .landing-hero-inner {
    width: min(100% - 48px, 740px);
    padding-top: 145px;
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .landing-hero::after { background: linear-gradient(180deg, rgba(2, 9, 13, 0.62), transparent 60%); }
  .landing-hero-visual,
  .landing-hero-visual--calendar {
    width: 112%;
    margin-left: -6%;
    transform: none;
  }
  .landing-section--split { grid-template-columns: 1fr; gap: 4rem; }
  .landing-section--reverse .landing-section-copy,
  .landing-section--reverse .landing-media { order: initial; }
}

@media (max-width: 720px) {
  .landing-hero-inner,
  .landing-section,
  .landing-workflow-inner,
  .landing-faq,
  .landing-related,
  .landing-final-copy,
  .landing-footer-inner,
  .landing-strip-inner {
    width: calc(100% - 40px);
  }
  .landing-hero-inner { padding: 125px 0 60px; }
  .landing-hero h1 { font-size: clamp(3.15rem, 15vw, 4.6rem); }
  .landing-hero-visual,
  .landing-hero-visual--calendar { width: 120%; margin-left: -10%; border-radius: 16px; }
  .landing-strip-inner { min-height: 112px; flex-wrap: wrap; justify-content: flex-start; padding: 1.2rem 0; }
  .landing-strip-inner span { flex: 1 1 40%; }
  .landing-section { padding: 90px 0; }
  .landing-section h2, .landing-final h2 { font-size: 3.1rem; }
  .landing-workflow { padding: 90px 0; }
  .landing-steps { grid-template-columns: 1fr; margin-top: 3rem; }
  .landing-step,
  .landing-step + .landing-step {
    min-height: auto;
    padding: 1.7rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 22, 29, 0.2);
  }
  .landing-step-number { margin-bottom: 1.5rem; }
  .landing-related-links { grid-template-columns: 1fr; gap: 0; }
  .landing-final { min-height: 690px; align-items: start; }
  .landing-final-copy { padding-top: 80px; }
  .landing-final-image { inset: 48% -22% 0 18%; }
  .landing-final-image::after { background: linear-gradient(180deg, #081b24 0%, transparent 50%); }
  .landing-footer-main { grid-template-columns: 1fr 1fr; }
  .landing-footer-main > :first-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing-hero-copy > *, .landing-hero-visual, .landing-reveal {
    opacity: 1;
    transform: none;
    translate: none;
    animation: none;
    transition: none;
  }
}
