/* Proojey landing — visual system scoped to .landing */

.landing {
  --lp-ink: #0f2a28;
  --lp-ink-soft: #1c3d39;
  --lp-mist: #eef5f2;
  --lp-paper: #f7faf8;
  --lp-line: rgba(15, 42, 40, 0.12);
  --lp-muted: #4d6864;
  --lp-accent: #c45c26;
  --lp-accent-deep: #9a3f12;
  --lp-sea: #2a7a6e;
  --lp-max: 1120px;
  --lp-gutter: clamp(1.1rem, 4vw, 2rem);
  --lp-display: "Fraunces", Georgia, "Times New Roman", serif;
  --lp-sans: "Manrope", "Segoe UI", sans-serif;

  margin: 0;
  color: var(--lp-ink);
  background: var(--lp-paper);
  font-family: var(--lp-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.landing :focus-visible {
  outline: 2px solid var(--lp-accent);
  outline-offset: 3px;
}

.landing__skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--lp-ink);
  color: var(--lp-mist);
}

.landing__skip:focus {
  left: 1rem;
  top: 1rem;
}

.lp-shell {
  width: min(var(--lp-max), 100% - var(--lp-gutter) * 2);
  margin-inline: auto;
}

/* ── Header ───────────────────────────────────────────────────── */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--lp-paper) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.lp-header.is-scrolled {
  border-bottom-color: var(--lp-line);
}

.lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.lp-logo {
  font-family: var(--lp-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.lp-nav {
  display: none;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--lp-muted);
}

.lp-nav a:hover {
  color: var(--lp-ink);
}

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.05rem;
  border: 1px solid transparent;
  font-family: var(--lp-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.lp-btn--ghost {
  background: transparent;
  border-color: var(--lp-line);
  color: var(--lp-ink);
}

.lp-btn--ghost:hover {
  background: rgba(15, 42, 40, 0.04);
}

.lp-btn--solid {
  background: var(--lp-ink);
  color: var(--lp-mist);
}

.lp-btn--solid:hover {
  background: var(--lp-ink-soft);
}

.lp-btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}

/* ── Hero: one composition, brand first, full-bleed stage ─────── */

.lp-hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: grid;
  align-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.lp-hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lp-hero__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 12% 18%, rgba(42, 122, 110, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 72%, rgba(196, 92, 38, 0.14), transparent 50%),
    linear-gradient(165deg, #e4efe9 0%, var(--lp-paper) 42%, #e8f0ec 100%);
  animation: lp-wash 14s ease-in-out infinite alternate;
}

.lp-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.lp-hero__orbit {
  position: absolute;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  right: -8%;
  top: 18%;
  border: 1px solid rgba(15, 42, 40, 0.08);
  border-radius: 50%;
  animation: lp-orbit 22s linear infinite;
}

.lp-hero__orbit::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(42, 122, 110, 0.12);
  border-radius: 50%;
}

.lp-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  animation: lp-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--lp-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--lp-ink);
}

.lp-hero__title {
  margin: 0 0 1rem;
  font-family: var(--lp-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--lp-ink-soft);
}

.lp-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  color: var(--lp-muted);
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.lp-hero__stage {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  margin-inline: calc(var(--lp-gutter) * -1);
  width: calc(100% + var(--lp-gutter) * 2);
  animation: lp-rise 1.05s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-stage {
  padding: 1.25rem 0 0;
  background:
    linear-gradient(180deg, transparent, rgba(15, 42, 40, 0.04) 18%, rgba(15, 42, 40, 0.07));
  border-top: 1px solid var(--lp-line);
}

.lp-stage__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: min(var(--lp-max), 100% - var(--lp-gutter) * 2);
  margin: 0 auto 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-muted);
}

.lp-stage__board {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 0.75rem;
  width: min(var(--lp-max), 100% - var(--lp-gutter) * 2);
  margin: 0 auto;
  padding-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.lp-stage__board::-webkit-scrollbar {
  display: none;
}

.lp-stage__col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 11rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.45);
  border-inline: 1px solid rgba(15, 42, 40, 0.06);
}

.lp-stage__card {
  padding: 0.85rem 0.9rem;
  background: #fff;
  border-left: 3px solid var(--lp-sea);
  box-shadow: 0 10px 28px rgba(15, 42, 40, 0.06);
  animation: lp-card-float 5.5s ease-in-out infinite;
}

.lp-stage__card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.lp-stage__card span {
  font-size: 0.78rem;
  color: var(--lp-muted);
}

.lp-stage__card--a { border-color: var(--lp-sea); animation-delay: 0s; }
.lp-stage__card--b { border-color: #5a8f86; animation-delay: 0.4s; }
.lp-stage__card--c { border-color: var(--lp-accent); animation-delay: 0.8s; }
.lp-stage__card--d { border-color: #d08a5a; animation-delay: 1.1s; }
.lp-stage__card--e { border-color: #3d6b64; animation-delay: 0.2s; }
.lp-stage__card--f { border-color: #6e9b74; animation-delay: 1.4s; }

/* ── Sections ─────────────────────────────────────────────────── */

.lp-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.lp-section--ink {
  background: var(--lp-ink);
  color: var(--lp-mist);
}

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

.lp-section__head {
  max-width: 34rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.lp-section__head--light .lp-section__lead {
  color: rgba(232, 243, 239, 0.72);
}

.lp-section__title {
  margin: 0 0 0.75rem;
  font-family: var(--lp-display);
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lp-section__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--lp-muted);
}

.lp-section--ink .lp-section__title {
  color: var(--lp-mist);
}

/* Features — list, not cards */

.lp-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lp-line);
}

.lp-features li {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--lp-line);
}

@media (min-width: 720px) {
  .lp-features li {
    grid-template-columns: minmax(10rem, 14rem) 1fr;
    align-items: baseline;
  }
}

.lp-features h3 {
  margin: 0;
  font-family: var(--lp-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-features p {
  margin: 0;
  color: var(--lp-muted);
  max-width: 36rem;
}

/* Audience */

.lp-audience {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .lp-audience {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.lp-audience article {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(232, 243, 239, 0.2);
}

.lp-audience__who {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(196, 92, 38, 0.95);
}

.lp-audience h3 {
  margin: 0 0 0.55rem;
  font-family: var(--lp-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-audience p:last-child {
  margin: 0;
  color: rgba(232, 243, 239, 0.72);
  font-size: 0.98rem;
}

/* Steps */

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  counter-reset: none;
}

@media (min-width: 800px) {
  .lp-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.lp-steps__num {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--lp-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lp-sea);
  letter-spacing: -0.03em;
}

.lp-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.lp-steps p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
}

/* Security */

.lp-security {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .lp-security {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

.lp-security__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.lp-security__list li {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--lp-line);
  font-weight: 600;
  font-size: 1.02rem;
}

/* FAQ */

.lp-faq-wrap {
  max-width: 40rem;
}

.lp-faq {
  margin-top: 1.75rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lp-line);
}

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

.lp-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.lp-faq summary::after {
  content: "+";
  float: right;
  color: var(--lp-muted);
  font-weight: 500;
}

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

.lp-faq p {
  margin: 0.65rem 0 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
}

.lp-faq a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Finale */

.lp-finale {
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(42, 122, 110, 0.14), transparent 60%),
    var(--lp-paper);
}

.lp-finale__brand {
  margin: 0 0 0.75rem;
  font-family: var(--lp-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lp-finale__title {
  margin: 0 auto 0.75rem;
  max-width: 22ch;
  font-family: var(--lp-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lp-finale__lead {
  margin: 0 auto 1.75rem;
  color: var(--lp-muted);
}

.lp-finale__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

/* Footer */

.lp-footer {
  border-top: 1px solid var(--lp-line);
  padding: 1.75rem 0 2.25rem;
  color: var(--lp-muted);
  font-size: 0.88rem;
}

.lp-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lp-footer__inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.lp-footer a:hover {
  color: var(--lp-ink);
}

@media (min-width: 720px) {
  .lp-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .lp-nav {
    display: flex;
  }
}

@media (min-width: 960px) {
  .lp-hero {
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    padding-bottom: 0;
  }

  .lp-hero__copy {
    padding-top: clamp(1rem, 4vh, 3rem);
  }

  .lp-hero__stage {
    margin-top: auto;
  }
}

/* Motion */

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

@keyframes lp-wash {
  from {
    filter: hue-rotate(0deg) saturate(1);
  }
  to {
    filter: hue-rotate(-8deg) saturate(1.08);
  }
}

@keyframes lp-orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes lp-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__copy,
  .lp-hero__stage,
  .lp-hero__wash,
  .lp-hero__orbit,
  .lp-stage__card,
  .lp-btn {
    animation: none !important;
    transition: none !important;
  }

  .lp-btn:hover {
    transform: none;
  }
}
