/* PubScore Landing — Soft UI Evolution, spacious density */

:root {
  --lp-primary: #0D9488;
  --lp-primary-dark: #0F766E;
  --lp-secondary: #2DD4BF;
  --lp-accent: #D97706;
  --lp-accent-dark: #B45309;
  --lp-bg: #F0FDFA;
  --lp-fg: #134E4A;
  --lp-muted: #5B7A76;
  --lp-surface: #FFFFFF;
  --lp-border: #B6E4DC;
  --lp-ink: #0F2F2C;
  --font-heading: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-body: 'Atkinson Hyperlegible', 'Segoe UI', Tahoma, sans-serif;
  --shadow-md: 0 4px 12px rgba(19, 78, 74, 0.08);
  --shadow-lg: 0 10px 24px rgba(19, 78, 74, 0.1);
  --radius-md: 12px;
  --radius-lg: 16px;
  --ease: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--lp-fg);
  background: var(--lp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--lp-primary);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.lp-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ——— Top nav ——— */
.lp-nav {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  padding: 1.1rem 0;
}

.lp-nav__inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-nav__brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.lp-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  background: var(--lp-accent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}

.lp-nav__cta:hover {
  background: var(--lp-accent-dark);
  transform: translateY(-1px);
}

.lp-nav__cta:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

/* ——— Hero ——— */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #FFFFFF;
}

.lp-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-hero__visual img,
.lp-hero__visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.lp-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 47, 44, 0.45) 0%, rgba(15, 47, 44, 0.42) 40%, rgba(15, 47, 44, 0.88) 100%),
    linear-gradient(90deg, rgba(15, 47, 44, 0.55) 0%, rgba(15, 47, 44, 0.2) 55%, transparent 75%);
  pointer-events: none;
}

.lp-hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7.5rem 0 4.5rem;
  max-width: 36rem;
}

.lp-brand {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 4.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.96);
  animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.lp-lede {
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(240, 253, 250, 0.88);
  margin-bottom: 1.75rem;
  max-width: 32rem;
  animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 140ms both;
}

.lp-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), color var(--ease);
}

.btn:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.btn-primary {
  background: var(--lp-accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--lp-accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

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

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

.lp-section--soft {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(45, 212, 191, 0.16), transparent 55%),
    linear-gradient(180deg, #E8F6F3 0%, var(--lp-bg) 100%);
}

.lp-section--ink {
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(45, 212, 191, 0.18), transparent 50%),
    linear-gradient(135deg, #0F766E 0%, #134E4A 100%);
  color: #FFFFFF;
}

.lp-section--photo {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.lp-section__photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-section__photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.lp-section__photo-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(15, 47, 44, 0.88) 0%, rgba(13, 148, 136, 0.78) 100%);
  pointer-events: none;
}

.lp-section--photo .lp-wrap {
  position: relative;
  z-index: 2;
}

.lp-section--photo .lp-kicker {
  color: var(--lp-secondary);
}

.lp-section--photo .lp-section__text {
  color: rgba(240, 253, 250, 0.88);
}

.lp-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-primary);
  margin-bottom: 0.75rem;
}

.lp-section--ink .lp-kicker {
  color: var(--lp-secondary);
}

.lp-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.lp-section__text {
  font-size: 1.1rem;
  color: var(--lp-muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.lp-section--ink .lp-section__text {
  color: rgba(240, 253, 250, 0.85);
}

/* Problem / value — one composition */
.lp-value {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .lp-value {
    grid-template-columns: 1fr 1.1fr;
    align-items: end;
    gap: 3rem;
  }
}

.lp-value__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  margin: 0;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lp-value__figure img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  object-position: center 40%;
}

.lp-value__figure svg {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

/* Steps — not cards */
.lp-steps {
  list-style: none;
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

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

.lp-step {
  counter-increment: step;
  position: relative;
  padding-top: 0.25rem;
}

.lp-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--lp-primary);
  line-height: 1;
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.lp-step h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lp-step p {
  color: var(--lp-muted);
  font-size: 1rem;
}

/* Feature rows */
.lp-features {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lp-border);
}

.lp-feature {
  display: grid;
  gap: 0.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--lp-border);
}

@media (min-width: 720px) {
  .lp-feature {
    grid-template-columns: 2.5rem 12rem 1fr;
    align-items: start;
    gap: 1.5rem;
  }
}

.lp-feature__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-primary);
  font-size: 1.25rem;
}

.lp-feature h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.lp-feature p {
  color: var(--lp-muted);
}

/* Closing CTA */
.lp-cta-panel {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.lp-cta-panel .lp-section__title {
  max-width: none;
  margin-inline: auto;
}

.lp-cta-panel .lp-section__text {
  margin-inline: auto;
}

.lp-cta-panel .lp-cta-group {
  justify-content: center;
}

.lp-section--ink .btn-primary:focus-visible {
  outline-color: #FDE68A;
}

.lp-section--ink .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
}

/* Footer */
.lp-footer {
  background: var(--lp-ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.95rem;
}

.lp-footer a {
  color: var(--lp-secondary);
  font-weight: 700;
  text-decoration: none;
}

.lp-footer a:hover {
  text-decoration: underline;
}

.lp-footer__meta {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  opacity: 0.85;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 60ms; }
.reveal-delay-2 { transition-delay: 120ms; }
.reveal-delay-3 { transition-delay: 180ms; }

@media (max-width: 640px) {
  .lp-hero__content {
    padding: 6.5rem 0 3rem;
  }

  .lp-cta-group {
    flex-direction: column;
  }

  .lp-cta-group .btn {
    width: 100%;
  }
}
