/* =========================================================
   LANDING PAGE (views/home.html)
   Built on variables.css. Product visuals are real captures
   of the Circumz app and real Marketing Studio output.
   ========================================================= */

/* Fixed light palette: green-tinted page, deep green-black bands, forest green.
   Re-pointing the shared tokens here re-skins header and footer too. The
   landing page does not follow the light / dark theme. */
body:has(.lp),
.lp {
  --font-display-face: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-mono-face: var(--font-body-face);
  --color-bg: #f3f7f5;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-surface-sunken: #e9f0ed;
  --color-text: #14221c;
  --color-text-light: #55655d;
  --color-text-muted: #6b7a72;
  --color-dark: #0f1512;
  --color-border: #dde7e2;
  --color-border-strong: #c8d6cf;
  --color-primary: #2f6f55;
  --color-primary-hover: #255a45;
  --color-light: #ffffff;
  --color-accent: #2f6f55;
  --color-accent-soft: rgba(47, 111, 85, 0.12);
  --focus-ring: 0 0 0 3px rgba(47, 111, 85, 0.3);
  --shadow-sm: 0 1px 2px rgba(20, 50, 35, 0.08);
  --shadow-md: 0 14px 30px -12px rgba(20, 50, 35, 0.25);
  --shadow-lg: 0 30px 60px -22px rgba(20, 50, 35, 0.38);
}
body:has(.lp) {
  background: var(--color-bg);
}

/* Header: floats clear over the photograph, settles to the page colour on scroll */
body:has(.lp) .header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body:has(.lp) .header .light-only {
  display: none !important;
}
body:has(.lp) .header .dark-only {
  display: block !important;
}
body:has(.lp) .header .nav-links,
body:has(.lp) .header .nav-links a:hover,
body:has(.lp) .header .nav-signin {
  color: #fff;
}
body:has(.lp) .header .nav-links a {
  color: rgba(255, 255, 255, 0.86);
}
body:has(.lp) .header .nav-links a:hover {
  color: #fff;
}
body:has(.lp) .header .btn--primary {
  background: #fff;
  color: #10201a;
  box-shadow: none;
}
body:has(.lp) .header .nav-dashboard {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
body:has(.lp) .header .mobile-menu-btn__bar {
  background: #fff;
}
body:has(.lp) .header.is-scrolled,
body.menu-open:has(.lp) .header {
  background: color-mix(in srgb, var(--color-bg) 95%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--color-border);
}
body:has(.lp) .header.is-scrolled .light-only,
body.menu-open:has(.lp) .header .light-only {
  display: block !important;
}
body:has(.lp) .header.is-scrolled .dark-only,
body.menu-open:has(.lp) .header .dark-only {
  display: none !important;
}
body:has(.lp) .header.is-scrolled .nav-links a,
body.menu-open:has(.lp) .header .nav-links a {
  color: var(--color-text-light);
}
body:has(.lp) .header.is-scrolled .nav-links a:hover {
  color: var(--color-text);
}
body:has(.lp) .header.is-scrolled .nav-signin,
body.menu-open:has(.lp) .header .nav-signin {
  color: var(--color-text);
}
body:has(.lp) .header.is-scrolled .btn--primary {
  background: var(--color-primary);
  color: #fff;
}
body:has(.lp) .header.is-scrolled .nav-dashboard {
  background: var(--color-surface);
  border-color: var(--color-border-strong);
  color: var(--color-text);
}
body:has(.lp) .header.is-scrolled .mobile-menu-btn__bar,
body.menu-open:has(.lp) .header .mobile-menu-btn__bar {
  background: var(--color-text);
}
body:has(.lp) .nav-dashboard {
  gap: 8px;
}
body:has(.lp) .nav-dashboard .icon svg {
  width: 16px;
  height: 16px;
}

/* Footer: charcoal to close the page */
body:has(.lp) footer {
  --color-text: #e4ece8;
  --color-text-light: #9fb0a7;
  --color-text-muted: #7a8b82;
  --color-dark: #fff;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-surface: #0b100e;
  background: #0b100e;
  border-top: 0;
}
body:has(.lp) footer .light-only {
  display: none !important;
}
body:has(.lp) footer .dark-only {
  display: block !important;
}

.lp {
  --lp-ink: #0f1512; /* charcoal band */
  --lp-ink-2: #1b2420;
  --lp-ink-line: rgba(255, 255, 255, 0.11);
  --lp-on-ink: #e4ece8;
  --lp-on-ink-soft: #9fb0a7;
  --lp-gold: #5fb08d;
  --lp-gutter: var(--page-gutter);
  --lp-section: clamp(88px, 11vw, 150px);
  --lp-frame-shadow:
    0 0 0 1px rgba(20, 50, 35, 0.07),
    0 40px 80px -24px rgba(20, 50, 35, 0.4),
    0 12px 24px -12px rgba(20, 50, 35, 0.18);

  overflow-x: clip;
  color: var(--color-text);
}

.lp img {
  display: block;
  max-width: 100%;
  height: auto;
}

.lp-wrap {
  max-width: calc(var(--container-width) + 2 * var(--lp-gutter));
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
}

.lp .btn-block {
  width: 100%;
}

/* ---------- Type ---------- */
.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-3xl);
  font-family: var(--font-mono-face);
  font-size: var(--font-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.lp-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.lp-kicker--on-dark {
  color: #5fb08d;
}

.lp-h2 {
  font-family: var(--font-display-face);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--color-dark);
  text-wrap: balance;
}

.lp-body {
  font-size: var(--font-lg);
  line-height: 1.6;
  color: var(--color-text-light);
  text-wrap: pretty;
}

.lp-section {
  padding: var(--lp-section) 0;
}

.lp-section__head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.lp-section__head .lp-body {
  margin-top: var(--space-3xl);
  max-width: 560px;
}
.lp-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.lp-section__head--center .lp-body {
  margin-left: auto;
  margin-right: auto;
}

.lp-split-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: var(--space-4xl);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.lp-split-head__copy {
  font-size: var(--font-lg);
  line-height: 1.6;
  color: var(--color-text-light);
  padding-bottom: 6px;
}
.lp-split-head--dark .lp-h2 {
  color: var(--lp-on-ink);
}
.lp-split-head--dark .lp-split-head__copy {
  color: var(--lp-on-ink-soft);
}

/* ---------- Product frames ---------- */
.lp-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--lp-frame-shadow);
}
.lp-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--color-border);
  background: #fbfaf7;

  span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d3cdc2;
  }

  i {
    margin-left: 14px;
    padding: 3px 12px;
    border-radius: var(--radius-sm);
    background: #efede7;
    font-family: var(--font-mono-face);
    font-size: 11px;
    font-style: normal;
    color: #77736b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.lp-window--dark {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.55);
}

.lp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono-face);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-light);
  white-space: nowrap;
}
.lp-tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.lp-tag__dot--live {
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

/* =========================================================
   HERO: a twilight photograph, the product resting on top of it
   ========================================================= */
.lp-hero {
  position: relative;
  isolation: isolate;
  margin-top: -64px; /* photo runs under the transparent header */
  padding-top: calc(64px + clamp(72px, 10vw, 136px));
  text-align: center;
  color: #fff;
}
.lp-hero__bg {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(700px, 66vw, 960px);
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 12, 6, 0.55) 0%, rgba(18, 12, 6, 0.28) 45%, rgba(18, 12, 6, 0.35) 78%, rgba(247, 243, 236, 0) 100%),
    radial-gradient(ellipse 65% 50% at 50% 42%, rgba(18, 12, 6, 0.5), transparent 80%),
    url("/static/images/landing/photo-craftsman.webp") center 55% / cover;
  animation: lp-settle 2.6s var(--ease-out) both;
}
.lp-hero__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
}
@keyframes lp-settle {
  from {
    transform: scale(1.07);
    opacity: 0.6;
  }
}

.lp-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 6px 16px 6px 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  color: #fff;
  backdrop-filter: blur(10px);
  transition: background 200ms var(--ease-out);

  b {
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: #a9dcc2;
    color: #3a2a12;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    transition: transform 200ms var(--ease-out);
  }
}
.lp-badge:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lp-badge:hover svg {
  transform: translateX(3px);
}

.lp-hero__title {
  max-width: 1020px;
  margin-top: var(--space-4xl);
  font-family: var(--font-display-face);
  font-size: clamp(54px, 8.6vw, 128px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);

  em {
    font-style: italic;
    color: #a9dcc2;
  }
}
.lp-hero__lede {
  max-width: 540px;
  margin-top: var(--space-3xl);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: balance;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}
.lp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-4xl);
}
.lp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  background: #fff;
  color: #10201a;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.5);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);

  svg {
    width: 16px;
    height: 16px;
    transition: transform 220ms var(--ease-out);
  }
}
.lp-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.55);
}
.lp-cta:hover svg {
  transform: translateX(4px);
}
.lp-cta--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}
.lp-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lp-hero__note {
  margin-top: var(--space-xl);
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, 0.78);
}

/* Stage */
.lp-hero__stagewrap {
  perspective: 2000px;
}
.lp-hero__stage {
  position: relative;
  max-width: 1120px;
  margin: clamp(48px, 6vw, 88px) auto 0;
  padding-bottom: 8px;
}
.lp-stage__glow {
  display: none;
}
.lp-stage {
  margin: 0;
  transform-origin: 50% 100%;
  transform: rotateX(var(--tilt, 5deg)) scale(var(--tilt-scale, 0.97));
  transition: transform 120ms linear;
  will-change: transform;
}
.lp-hero__stage::after {
  content: "";
  position: absolute;
  inset: auto -2% 0;
  height: 14%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
}

.lp-float {
  position: absolute;
  z-index: 4;
  margin: 0;
  text-align: left;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 300ms var(--ease-out);
}
.lp-float > img {
  border-radius: var(--radius-md);
  border: 6px solid var(--color-surface);
  box-shadow: 0 30px 60px -20px rgba(20, 50, 35, 0.5);
}
.lp-float .lp-tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}
.lp-float--social {
  right: -4%;
  top: -9%;
  width: 24%;
  animation: lp-float 7s ease-in-out infinite;
}
.lp-float--flyer {
  left: -3%;
  bottom: 10%;
  width: 15%;
  animation: lp-float 8s ease-in-out -3s infinite;
}
.lp-float--lead {
  right: -2%;
  bottom: 5%;
  width: 40%;
  animation: lp-float 9s ease-in-out -5s infinite;
}
.lp-float--lead .lp-chip {
  border: 0;
  box-shadow: 0 30px 60px -20px rgba(20, 50, 35, 0.5);
}
@keyframes lp-float {
  50% {
    translate: 0 -10px;
  }
}
.lp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  white-space: nowrap;
}
.lp-tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.lp-tag__dot--live {
  background: #2e9e6a;
  box-shadow: 0 0 0 4px rgba(46, 158, 106, 0.18);
}
.lp-chip {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

/* Marquee: a quiet line of what one listing becomes */
.lp-marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.lp-marquee__track {
  display: flex;
  width: max-content;
  animation: lp-marquee 44s linear infinite;

  ul {
    display: flex;
    flex-shrink: 0;
    list-style: none;
  }
  li {
    display: flex;
    align-items: center;
    padding: 0 30px;
    font-family: var(--font-display-face);
    font-size: 26px;
    font-style: italic;
    color: var(--color-text-light);
    white-space: nowrap;
  }
  li::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 60px;
    background: #4f9a78;
    transform: rotate(45deg);
  }
}
@keyframes lp-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   PROBLEM (ink band)
   ========================================================= */
.lp-problem {
  padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 10vw, 128px);
  background: var(--lp-ink);
  color: var(--lp-on-ink);
}
.lp-problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-6xl);
  align-items: start;
}
.lp-problem .lp-h2 {
  color: var(--lp-on-ink);
}
.lp-problem__lede {
  margin-top: var(--space-3xl);
  max-width: 440px;
  font-size: var(--font-lg);
  line-height: 1.6;
  color: var(--lp-on-ink-soft);
}

.lp-rebuild {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-xxl);
  border-top: 1px solid var(--lp-ink-line);

  /* number · the same property thumbnail · label · tag */
  li {
    display: grid;
    grid-template-columns: 22px 34px 1fr auto;
    align-items: center;
    column-gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--lp-ink-line);
    font-size: var(--font-base);
    color: var(--lp-on-ink);
  }

  li::before {
    content: "";
    grid-column: 2;
    grid-row: 1;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: url("/static/images/landing/thumb-craftsman.webp") center / cover;
    opacity: 0.9;
  }

  li::after {
    content: "re-entered";
    grid-column: 4;
    grid-row: 1;
    font-family: var(--font-mono-face);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #d9a66b;
  }

  li:first-child::after {
    content: "typed";
    color: var(--lp-on-ink-soft);
  }

  span {
    grid-column: 1;
    grid-row: 1;
    font-family: var(--font-mono-face);
    font-size: 11px;
    color: var(--lp-on-ink-soft);
  }
}

.lp-problem__turn {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-xl) var(--space-4xl);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: var(--space-4xl);
  border-top: 1px solid var(--lp-ink-line);

  p {
    font-family: var(--font-display-face);
    font-size: clamp(22px, 2.4vw, 30px);
    letter-spacing: -0.02em;
    color: var(--lp-on-ink-soft);
  }
}
.lp-problem__answer {
  color: var(--lp-on-ink) !important;
  font-weight: 500;
}
.lp-problem__answer::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, #5fb08d, transparent);
}

/* =========================================================
   ONE LISTING -> EVERYTHING
   ========================================================= */
.lp-flow__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-2xl);
  font-family: var(--font-display-face);
  font-size: var(--font-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-dark);

  span {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-light);
    font-family: var(--font-mono-face);
    font-size: 12px;
  }
}

.lp-flow__source {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  grid-template-areas:
    "step card"
    "fields card";
  grid-template-rows: auto 1fr;
  column-gap: var(--space-5xl);
  width: 100%;
  max-width: 1040px;
}
.lp-flow__source .lp-step {
  grid-area: step;
}
.lp-flow__card {
  grid-area: card;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--lp-frame-shadow);
}
.lp-flow__card img:first-child {
  aspect-ratio: 16 / 7;
  object-fit: cover;
  width: 100%;
}
.lp-fields {
  grid-area: fields;
  list-style: none;
  border-top: 1px solid var(--color-border);

  li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-sm);
    color: var(--color-text);
  }

  li::after {
    content: "";
    width: 14px;
    height: 8px;
    border-left: 1.5px solid var(--color-accent);
    border-bottom: 1.5px solid var(--color-accent);
    transform: rotate(-45deg) translate(1px, -2px);
  }
}

.lp-flow__spine {
  position: relative;
  width: 1px;
  height: 72px;
  background: var(--color-border-strong);
}
.lp-flow__spine::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px var(--color-bg), 0 0 0 6px var(--color-border-strong);
}

.lp-flow__outputs {
  width: 100%;
  text-align: center;
  padding-top: 28px;
}
.lp-flow__outputs > .lp-step {
  margin-bottom: var(--space-4xl);
}

.lp-outputs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr 0.9fr 1fr 1.15fr;
  gap: var(--space-3xl);
  align-items: end;
  padding-top: 36px;
  text-align: left;
}
.lp-outputs::before {
  /* branch rail */
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 11%;
  height: 1px;
  background: var(--color-border-strong);
}
.lp-out {
  position: relative;
  margin: 0;
}
.lp-out::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 50%;
  width: 1px;
  height: 24px;
  background: var(--color-border-strong);
}
.lp-out > img,
.lp-pages img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.lp-out--flyer > img {
  border: 1px solid var(--color-border);
}
.lp-out figcaption {
  margin-top: var(--space-xl);
  font-size: var(--font-sm);
  line-height: 1.45;
  color: var(--color-text-light);

  strong {
    display: block;
    font-weight: var(--font-semibold);
    color: var(--color-text);
  }
}

.lp-phone {
  padding: 7px;
  border-radius: 26px;
  background: #1b222c;
  box-shadow: var(--shadow-lg);

  img {
    aspect-ratio: 1170 / 1900;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
  }
}

.lp-pages {
  position: relative;
  padding: 0 18px 18px 0;

  img:nth-child(1),
  img:nth-child(2) {
    position: absolute;
    border: 1px solid var(--color-border);
  }
  img:nth-child(1) {
    top: 18px;
    left: 18px;
    width: calc(100% - 18px);
  }
  img:nth-child(2) {
    top: 9px;
    left: 9px;
    width: calc(100% - 18px);
  }
  img:nth-child(3) {
    position: relative;
    border: 1px solid var(--color-border);
  }
}

.lp-also {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl) var(--space-5xl);
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: var(--space-4xl);
  border-top: 1px solid var(--color-border);
  text-align: left;

  li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    max-width: 420px;
    font-size: var(--font-sm);
    line-height: 1.55;
    color: var(--color-text-light);
  }

  svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--color-accent);
  }

  strong {
    color: var(--color-text);
    font-weight: var(--font-semibold);
  }
}

/* =========================================================
   PROPERTIES
   ========================================================= */
.lp-props {
  border-top: 1px solid var(--color-border);
}
.lp-props__stage {
  position: relative;
  padding-right: 9%;
}
.lp-props__side {
  position: absolute;
  right: 0;
  top: 14%;
  width: 25%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
}
.lp-window--wide img {
  width: 100%;
}

.lp-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3xl);
  margin-top: clamp(48px, 6vw, 72px);

  div {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border-strong);
  }

  dt {
    margin-bottom: 6px;
    font-family: var(--font-display-face);
    font-size: var(--font-lg);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-dark);
  }

  dd {
    font-size: var(--font-sm);
    line-height: 1.5;
    color: var(--color-text-light);
  }
}

/* =========================================================
   MARKETING STUDIO (ink band)
   ========================================================= */
.lp-studio {
  padding: var(--lp-section) 0;
  background:
    radial-gradient(80% 60% at 85% 0%, rgba(217, 185, 127, 0.08), transparent 60%),
    var(--lp-ink);
  color: var(--lp-on-ink);
}

.lp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--lp-ink-line);

  li {
    position: relative;
    padding: 18px 16px 0 0;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    color: var(--lp-on-ink);
  }

  li::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-ink);
    border: 1px solid #5fb08d;
  }

  li:nth-child(4)::before {
    background: #5fb08d;
  }

  span {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-mono-face);
    font-size: 11px;
    font-weight: 400;
    color: var(--lp-on-ink-soft);
  }
}

.lp-studio__stage {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
  gap: var(--space-4xl);
  align-items: center;
}
.lp-studio__outputs {
  display: grid;
  gap: var(--space-3xl);

  figure {
    margin: 0;
  }

  img {
    border-radius: var(--radius-md);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  }


  figcaption {
    margin-top: 10px;
    font-family: var(--font-mono-face);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lp-on-ink-soft);
  }
}
.lp-studio__note {
  margin-top: var(--space-4xl);
  font-size: var(--font-sm);
  color: var(--lp-on-ink-soft);
}

/* =========================================================
   LEADS
   ========================================================= */
.lp-leads__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-6xl);
  align-items: center;
}
.lp-leads__copy .lp-h2 {
  font-size: clamp(34px, 3.6vw, 48px);
}
.lp-leads__copy .lp-body {
  margin-top: var(--space-3xl);
}
.lp-checks {
  list-style: none;
  margin-top: var(--space-xxl);
  border-top: 1px solid var(--color-border);

  li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 13px 0 13px 26px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    font-size: var(--font-sm);
    line-height: 1.5;
    color: var(--color-text-light);
  }

  li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 19px;
    width: 10px;
    height: 6px;
    border-left: 1.5px solid var(--color-accent);
    border-bottom: 1.5px solid var(--color-accent);
    transform: rotate(-45deg);
  }

  strong {
    font-weight: var(--font-semibold);
    color: var(--color-text);
  }
}
.lp-pill {
  display: inline-flex;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  font-size: var(--font-xs);
  font-weight: var(--font-medium);
}
.lp-pill--new {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.lp-pill--contacted {
  background: var(--color-info-soft);
  color: var(--color-info);
}
.lp-pill--closed {
  background: var(--color-neutral-soft);
  color: var(--color-neutral);
}

.lp-leads__stage {
  position: relative;
  padding-bottom: 56px;
}
.lp-leads__activity {
  position: absolute;
  right: -36px;
  bottom: 0;
  width: 26%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);

  img {
    aspect-ratio: 712 / 820;
    object-fit: cover;
    object-position: top;
  }
}

/* =========================================================
   WORKSPACE
   ========================================================= */
.lp-workspace {
  padding-top: 0;
}
.lp-tabs__list {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto var(--space-3xl);
  padding: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow-x: auto;
  scrollbar-width: none;

  button {
    padding: 8px 16px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    font: inherit;
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    color: var(--color-text-light);
    white-space: nowrap;
    cursor: pointer;
    transition:
      background var(--duration-base) var(--ease-out),
      color var(--duration-base) var(--ease-out);
  }

  button:hover {
    color: var(--color-text);
  }

  button[aria-selected="true"] {
    background: var(--color-primary);
    color: var(--color-light);
  }

  button:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
  }
}
.lp-tabs__window {
  max-width: 1120px;
  margin: 0 auto;
}
.lp-tabs__panels picture {
  display: contents;
}
.lp-tabs__panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 2200 / 1409;

  img {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 360ms var(--ease-out),
      visibility 0s linear 360ms;
  }

  img.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 360ms var(--ease-out);
  }
}

/* =========================================================
   AUDIENCE
   ========================================================= */
.lp-audience {
  border-top: 1px solid var(--color-border);
}
.lp-audience__title {
  max-width: 820px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.lp-audience__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  > div {
    padding: var(--space-3xl) var(--space-4xl) 0 0;
    border-top: 1px solid var(--color-border-strong);
  }

  > div + div {
    padding-left: var(--space-4xl);
    border-left: 1px solid var(--color-border);
  }

  h3 {
    margin: var(--space-xxl) 0 var(--space-lg);
    font-family: var(--font-display-face);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--color-dark);
  }

  p {
    max-width: 300px;
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--color-text-light);
  }
}
.lp-audience__num {
  font-family: var(--font-mono-face);
  font-size: var(--font-xs);
  color: var(--color-accent);
}

/* =========================================================
   PRICING
   ========================================================= */
.lp-pricing {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.lp-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 880px;
  margin: 0 auto;
}
.lp-plan {
  display: flex;
  flex-direction: column;
  padding: var(--space-4xl);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
}
.lp-plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}
.lp-plan__name {
  font-family: var(--font-display-face);
  font-size: var(--font-xl);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.lp-plan__for {
  margin-top: 6px;
  font-size: var(--font-sm);
  color: var(--color-text-light);
}
.lp-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: var(--space-4xl) 0 var(--space-3xl);
}
.lp-plan__amount {
  font-family: var(--font-display-face);
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.lp-plan__per {
  font-size: var(--font-base);
  color: var(--color-text-light);
}
.lp-plan__list {
  list-style: none;
  margin-top: var(--space-4xl);
  border-top: 1px solid var(--color-border);

  li {
    position: relative;
    padding: 11px 0 11px 26px;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-sm);
  }

  li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 17px;
    width: 10px;
    height: 6px;
    border-left: 1.5px solid var(--color-accent);
    border-bottom: 1.5px solid var(--color-accent);
    transform: rotate(-45deg);
  }
}

.lp-plan--full {
  border-color: var(--lp-ink);
  background: var(--lp-ink);
  color: var(--lp-on-ink);

  .lp-plan__name {
    color: #fff;
  }

  .lp-plan__for,
  .lp-plan__per {
    color: var(--lp-on-ink-soft);
  }

  .lp-plan__list {
    border-color: var(--lp-ink-line);
  }

  .lp-plan__list li {
    border-color: var(--lp-ink-line);
  }

  .lp-plan__list li::before {
    border-color: #5fb08d;
  }

  .btn--primary {
    background: #fff;
    color: var(--lp-ink);
    box-shadow: none;
  }

  .btn--primary:hover {
    background: #e4ece8;
  }
}

.lp-billing {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);

  button {
    padding: 5px 11px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    font: inherit;
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    color: var(--lp-on-ink-soft);
    cursor: pointer;
  }

  button[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
  }

  button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #5fb08d;
  }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.lp-final {
  position: relative;
  isolation: isolate;
  padding: clamp(96px, 12vw, 168px) 0;
  background: var(--lp-ink);
  color: #fff;
}
.lp-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/static/images/landing/photo-craftsman.webp") center 82% / cover;
}
.lp-final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 14, 8, 0.94) 0%, rgba(20, 14, 8, 0.82) 45%, rgba(20, 14, 8, 0.35) 100%);
}
.lp-final__title {
  max-width: 760px;
  color: #fff;
  font-family: var(--font-display-face);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;

  span {
    display: block;
    color: rgba(255, 255, 255, 0.62);
  }
}
.lp-final__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);

  .btn--white {
    border-color: #fff;
  }
}
.lp-final__signin {
  font-size: var(--font-base);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.lp-final__signin:hover {
  color: #fff;
}

/* =========================================================
   MOTION
   ========================================================= */
html.lp-motion [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}
html.lp-motion [data-reveal="stage"] {
  /* above the fold: never hidden, only a gentle rise */
  opacity: 1;
  transform: translateY(20px);
  transition-duration: 1000ms;
}
html.lp-motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.lp-motion [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .lp-tabs__panels img {
    transition: none;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {
  .lp-float--social {
    right: 0;
  }
  .lp-float--flyer {
    left: 0;
  }
  .lp-leads__activity {
    right: -12px;
  }
}

@media (max-width: 1100px) {
  .lp-float--lead {
    display: none;
  }
  .lp-outputs {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: var(--space-xl);
  }
}

@media (max-width: 960px) {
  .lp {
    --lp-gutter: 24px;
  }
  .lp-split-head,
  .lp-problem__grid,
  .lp-leads__grid,
  .lp-studio__stage {
    grid-template-columns: 1fr;
  }
  .lp-split-head {
    gap: var(--space-3xl);
  }
  .lp-problem__grid,
  .lp-leads__grid {
    gap: var(--space-4xl);
  }
  .lp-flow__source {
    grid-template-columns: 1fr;
    grid-template-areas:
      "step"
      "card"
      "fields";
  }
  .lp-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-xxl);
    margin-top: var(--space-3xl);
  }

  /* outputs become a swipeable rail */
  .lp-outputs {
    display: flex;
    gap: var(--space-xl);
    margin: 0 calc(-1 * var(--lp-gutter));
    padding: 0 var(--lp-gutter) var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--lp-gutter);
    scrollbar-width: none;
  }
  .lp-outputs::-webkit-scrollbar {
    display: none;
  }
  .lp-outputs::before,
  .lp-out::before {
    display: none;
  }
  .lp-out {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .lp-out--page {
    width: 210px;
  }
  .lp-out--social {
    width: 260px;
  }
  .lp-out--story {
    width: 190px;
  }
  .lp-out--flyer {
    width: 220px;
  }
  .lp-out--brochure {
    width: 240px;
  }
  .lp-flow__outputs > .lp-step {
    margin-bottom: var(--space-3xl);
  }

  .lp-facts {
    grid-template-columns: 1fr 1fr;
  }
  .lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: var(--space-3xl);
    border-top: 0;

    li {
      border-top: 1px solid var(--lp-ink-line);
    }
  }
  .lp-studio__stage {
    gap: var(--space-3xl);
  }
  .lp-studio__outputs {
    display: none;
  }
  .lp-leads__stage {
    padding-bottom: 0;
  }
  .lp-leads__activity {
    display: none;
  }
}

@media (max-width: 820px) {
  .lp-audience__cols {
    grid-template-columns: 1fr;

    > div,
    > div + div {
      padding: var(--space-3xl) 0 var(--space-4xl);
      border-left: 0;
    }

    h3 {
      margin-top: var(--space-xl);
    }
  }
  .lp-plans {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .lp-props__stage {
    padding-right: 0;
  }
  .lp-props__side {
    display: none;
  }
}

@media (max-width: 640px) {
  .lp {
    --lp-gutter: 16px;
  }
  .lp-hero__title {
    font-size: clamp(38px, 11.5vw, 54px);
  }
  .lp-badge span {
    display: none;
  }
  .lp-badge b::after {
    content: " · Marketing Studio";
  }
  .lp-hero__ctas {
    width: 100%;
  }
  .lp-hero__ctas a {
    flex: 1 1 100%;
    justify-content: center;
  }
  .lp-stage {
    transform: none;
  }
  .lp-stage img {
    aspect-ratio: 390 / 640;
    object-fit: cover;
    object-position: top;
  }
  .lp-stage .lp-window__bar i {
    display: none;
  }
  .lp-float--lead,
  .lp-float--flyer {
    display: none;
  }
  .lp-float--social {
    right: -2%;
    top: auto;
    bottom: 6%;
    width: 38%;
  }
  .lp-float .lp-tag {
    display: none;
  }
  .lp-marquee li {
    font-size: 17px;
    padding: 0 20px;
  }

  .lp-rebuild {
    grid-template-columns: 1fr;
  }
  .lp-problem__turn {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .lp-window__bar {
    height: 26px;
    padding: 0 10px;

    span {
      width: 7px;
      height: 7px;
    }

    i {
      font-size: 10px;
    }
  }
  .lp-window {
    border-radius: var(--radius-lg);
  }

  /* phone-width captures of the real app replace the desktop screens */
  .lp-props__stage .lp-window img,
  .lp-studio__stage .lp-window img {
    aspect-ratio: 390 / 680;
    object-fit: cover;
    object-position: top;
  }
  .lp-tabs__panels {
    aspect-ratio: 390 / 700;
  }
  .lp-tabs__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;

    button {
      padding: 10px 8px;
    }
  }
  .lp-facts {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .lp-steps {
    grid-template-columns: 1fr 1fr;
  }
  .lp-plan {
    padding: var(--space-3xl);
  }
  .lp-plan__amount {
    font-size: 52px;
  }
  .lp-final::after {
    background: linear-gradient(180deg, rgba(20, 14, 8, 0.9) 0%, rgba(20, 14, 8, 0.78) 100%);
  }
  .lp-final__ctas a.btn--white {
    width: 100%;
    min-height: 48px;
  }
  .lp-final__ctas {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* anchor targets clear the sticky header */
.lp [id] {
  scroll-margin-top: 72px;
}

/* =========================================================
   POLISH
   ========================================================= */
.lp-window__bar {
  display: none;
}
.lp-window {
  border: 1px solid rgba(20, 50, 35, 0.1);
  border-radius: 14px;
}
.lp-window--dark {
  border-color: rgba(255, 255, 255, 0.14);
}
.lp-h2 {
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.lp-h2 em {
  font-style: italic;
}
.lp-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-accent);
}
.lp-kicker::before {
  width: 28px;
}
.lp-kicker--on-dark {
  color: var(--lp-gold);
}
.lp-out > img,
.lp-pages img,
.lp-phone,
.lp-flow__card {
  box-shadow: var(--shadow-lg);
}
.lp-out > img,
.lp-pages img {
  transition: transform 400ms var(--ease-out);
}
.lp-out:hover > img {
  transform: translateY(-6px);
}
.lp-audience__num {
  font-family: var(--font-display-face);
  font-size: 30px;
  color: #4f9a78;
}
.lp-audience__cols h3,
.lp-plan__name,
.lp-step,
.lp-facts dt {
  font-weight: 400;
}
.lp-audience__cols h3 {
  font-size: 34px;
}
.lp-plan__amount {
  font-size: 72px;
}
.lp-tabs__list button[aria-selected="true"] {
  background: var(--color-primary);
  color: #fff;
}
.lp-problem__turn p {
  font-size: clamp(26px, 3vw, 38px);
}
.lp-problem__answer::after {
  background: linear-gradient(90deg, var(--lp-gold), transparent);
}
.lp-steps li::before {
  border-color: var(--lp-gold);
}
.lp-steps li:nth-child(4)::before {
  background: var(--lp-gold);
}
.lp-rebuild li::after {
  color: #d9a66b;
}
.lp-plan--full {
  background: var(--lp-ink);
}
.lp-plan--full .lp-plan__list li::before {
  border-color: var(--lp-gold);
}
.lp-billing button:focus-visible {
  box-shadow: 0 0 0 2px var(--lp-gold);
}
.lp-final::after {
  background: linear-gradient(90deg, rgba(20, 14, 8, 0.9) 0%, rgba(20, 14, 8, 0.65) 50%, rgba(20, 14, 8, 0.2) 100%);
}
.lp-final__title {
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.98;
}
.lp-final__title span {
  font-style: italic;
  color: #a9dcc2;
}
.lp .btn--white {
  background: #fff;
  color: #10201a;
  border-color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero__bg,
  .lp-marquee__track,
  .lp-float {
    animation: none;
  }
  .lp-stage {
    transform: none;
  }
}
