/* SiteRenew public landing — product-led, scoped; does not override operator UI. */
:root {
  --ink: #14181d;
  --ink-soft: #4a5560;
  --fog: #e4e9ee;
  --paper: #f2f5f7;
  --asphalt: #1a222b;
  --asphalt-deep: #0f1419;
  --copper: #c47a2c;
  --copper-bright: #e0953a;
  --line: rgba(20, 24, 29, 0.14);
  --font-brand: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

.landing-page {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  line-height: 1.55;
}

.landing-page a {
  color: var(--copper);
}

.lp-nav {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem);
  color: #f6f7f8;
}

.lp-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.88;
}

.lp-nav a:hover {
  opacity: 1;
}

.lp-nav-brand {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  opacity: 1 !important;
}

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

/* ——— Hero: one composition, brand-first, full-bleed ——— */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f6f7f8;
}

.lp-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(15, 20, 25, 0.92) 0%,
      rgba(15, 20, 25, 0.72) 42%,
      rgba(15, 20, 25, 0.38) 100%
    ),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=2400&q=80")
      center / cover no-repeat;
  transform: scale(1.06);
  animation: lp-hero-drift 32s ease-in-out alternate infinite;
}

.lp-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 55%, rgba(196, 122, 44, 0.22), transparent 55%);
  pointer-events: none;
}

@keyframes lp-hero-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

.lp-hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem clamp(1.25rem, 4vw, 2.5rem) 3.75rem;
  max-width: 38rem;
  animation: lp-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.lp-brand {
  margin: 0 0 1.15rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(3.5rem, 12vw, 6.25rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.lp-headline {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  line-height: 1.35;
  max-width: 22ch;
  color: #e8edf1;
}

.lp-support {
  margin: 0 0 1.85rem;
  font-size: 1.08rem;
  color: rgba(246, 247, 248, 0.8);
  max-width: 34ch;
}

.lp-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.25rem;
  align-items: center;
}

.lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 1.7rem;
  background: var(--copper);
  color: #fff !important;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  border: none;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.lp-cta:hover {
  transform: translateY(-2px);
  background: var(--copper-bright);
}

.lp-cta:focus-visible {
  outline: 3px solid #f0c98a;
  outline-offset: 3px;
}

.lp-cta-secondary {
  color: rgba(246, 247, 248, 0.9) !important;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}

.lp-cta-secondary:hover {
  color: #fff !important;
}

/* ——— Product proof: before → after reveal ——— */
.lp-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: 72rem;
  margin: 0 auto;
  background: var(--paper);
}

.lp-proof-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 18ch;
}

.lp-proof-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 36ch;
}

.lp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

.lp-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.lp-frame figcaption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lp-frame:last-child figcaption {
  color: var(--copper);
}

.lp-browser {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 24, 29, 0.12);
  border: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lp-frame:last-child .lp-browser {
  box-shadow: 0 16px 40px rgba(20, 24, 29, 0.18);
  animation: lp-after-lift 5.5s ease-in-out infinite;
}

@keyframes lp-after-lift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.lp-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  background: #e8eef2;
  border-bottom: 1px solid rgba(20, 24, 29, 0.06);
}

.lp-browser-bar span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #b0bac4;
  flex-shrink: 0;
}

.lp-browser-bar em {
  flex: 1;
  margin-left: 0.35rem;
  font-style: normal;
  font-size: 0.62rem;
  color: #6b7682;
  background: #f7fafc;
  border-radius: 3px;
  padding: 0.2rem 0.45rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-browser-screen {
  min-height: 11.5rem;
}

.lp-mock {
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  line-height: 1.35;
}

.lp-mock-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid #d5dbe1;
}

.lp-mock-nav--after {
  border-bottom-color: rgba(246, 247, 248, 0.12);
  background: rgba(15, 20, 25, 0.35);
}

.lp-mock-logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: auto;
}

.lp-mock--before .lp-mock-logo {
  font-family: "Times New Roman", Times, serif;
  font-size: 0.72rem;
  color: #1a3a6b;
}

.lp-mock-link {
  color: #1a3a6b;
  text-decoration: underline;
  font-size: 0.62rem;
}

.lp-mock-phone {
  font-weight: 600;
  color: var(--copper-bright);
  font-size: 0.62rem;
}

.lp-mock-hero {
  padding: 0.85rem 0.7rem 0.75rem;
  flex: 1;
}

.lp-mock-hero--before {
  background: #f0f4f8;
  background-image:
    linear-gradient(180deg, #dce6f0 0%, #f0f4f8 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 6px,
      rgba(26, 58, 107, 0.04) 6px,
      rgba(26, 58, 107, 0.04) 7px
    );
}

.lp-mock-welcome {
  margin: 0 0 0.35rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 0.95rem;
  color: #1a3a6b;
}

.lp-mock-body {
  margin: 0 0 0.65rem;
  color: #4a5560;
  font-size: 0.66rem;
  max-width: 18ch;
}

.lp-mock-hero--after {
  background:
    linear-gradient(160deg, rgba(15, 20, 25, 0.55) 0%, rgba(15, 20, 25, 0.2) 100%),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=900&q=70")
      center / cover no-repeat;
  color: #f6f7f8;
  min-height: 6.5rem;
}

.lp-mock-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-bright);
  font-weight: 600;
}

.lp-mock-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.lp-mock-btn {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  background: var(--copper);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  border-radius: 2px;
}

.lp-mock-btn--ghost {
  background: transparent;
  color: #1a3a6b;
  border: 1px solid #1a3a6b;
  font-weight: 500;
  text-decoration: underline;
  border-radius: 0;
  padding: 0.2rem 0.35rem;
}

.lp-mock-list {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem 0.55rem;
  background: #fff;
  border-top: 1px solid #d5dbe1;
  color: #5c6670;
  font-size: 0.58rem;
}

.lp-mock-list span::before {
  content: "• ";
}

.lp-mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.3rem;
  padding: 0.45rem 0.55rem 0.55rem;
  background: #f6f7f8;
}

.lp-mock-cards span {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.4rem 0.25rem;
  text-align: center;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.lp-mock--after {
  background: var(--asphalt-deep);
}

/* ——— Sections ——— */
.lp-section {
  padding: clamp(3.75rem, 8vw, 5.25rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: 68rem;
  margin: 0 auto;
}

.lp-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 16ch;
}

.lp-section > p {
  margin: 0 0 2.25rem;
  color: var(--ink-soft);
  max-width: 40ch;
  font-size: 1.08rem;
}

.lp-how {
  max-width: none;
  background:
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt-deep) 100%);
  color: #f2f5f7;
  padding-left: max(clamp(1.25rem, 4vw, 2.5rem), calc((100% - 68rem) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
  padding-right: max(clamp(1.25rem, 4vw, 2.5rem), calc((100% - 68rem) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
}

.lp-how h2 {
  color: #f2f5f7;
}

.lp-how > p {
  color: rgba(242, 245, 247, 0.72);
}

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
  counter-reset: step;
  max-width: 68rem;
}

.lp-steps li {
  counter-increment: step;
  position: relative;
  padding-top: 2.6rem;
}

.lp-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--copper-bright);
  letter-spacing: 0.06em;
}

.lp-steps h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-brand);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.lp-steps p {
  margin: 0;
  color: rgba(242, 245, 247, 0.7);
  font-size: 1rem;
}

.lp-services {
  background: var(--fog);
  max-width: none;
  padding-left: max(clamp(1.25rem, 4vw, 2.5rem), calc((100% - 68rem) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
  padding-right: max(clamp(1.25rem, 4vw, 2.5rem), calc((100% - 68rem) / 2 + clamp(1.25rem, 4vw, 2.5rem)));
}

.lp-services h2,
.lp-services > p,
.lp-service-list {
  max-width: 68rem;
}

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

.lp-service-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.75rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.lp-service-list h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-brand);
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}

.lp-service-list p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38rem;
}

.lp-service-meta {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

/* ——— Closing CTA with photo plane ——— */
.lp-close {
  position: relative;
  min-height: 28rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f6f7f8;
}

.lp-close-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 20, 25, 0.9) 0%, rgba(15, 20, 25, 0.55) 55%, rgba(15, 20, 25, 0.4) 100%),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=2200&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: lp-hero-drift 36s ease-in-out alternate-reverse infinite;
}

.lp-close-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: 36rem;
  animation: lp-rise 1s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-close-content h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 14ch;
}

.lp-close-content p {
  margin: 0 0 1.5rem;
  color: rgba(246, 247, 248, 0.8);
  font-size: 1.08rem;
  max-width: 32ch;
}

.lp-close .lp-cta {
  font-size: 1.28rem;
  padding: 1.15rem 1.9rem;
}

.lp-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--paper);
}

.lp-footer a {
  color: var(--ink-soft);
  margin-right: 1rem;
  text-decoration: none;
}

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

@media (max-width: 900px) {
  .lp-proof {
    grid-template-columns: 1fr;
  }

  .lp-steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .lp-service-list li {
    grid-template-columns: 1fr;
  }

  .lp-hero-content {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .lp-compare {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero-media,
  .lp-hero-content,
  .lp-close-media,
  .lp-close-content,
  .lp-frame:last-child .lp-browser {
    animation: none;
  }
}
