/*
 * Sell and Rent — the two self-serve listing pages.
 *
 * One file for both because they share the split hero, the listing card and the
 * CTA ink scenes; only the accent colour and a couple of sections differ.
 *
 * A NEW file rather than a rewrite of sell.css / rent.css / home.css, for the
 * same reason home got its own: those files are shared, and rewriting a
 * stylesheet other pages quietly depend on strips them silently. After this,
 * these two pages load only service_pages.css and this file.
 *
 * Spec: docs/Redesign/design_handoff_home_sell_rent/README.md
 */

/* ============================== split hero ==============================
   Transactional pages show the artifact (the listing card); service pages show
   a line-art concept. That split is deliberate. */

/* Same background treatment as .svc-hero — Sell and Rent are navbar pages too,
   and the two shells have always carried the identical gradient. The mesh and
   grain overlay classes are .svc-hero-mesh / .svc-hero-grain from
   service_pages.css, which both pages already load; they are position:absolute
   + inset:0 and need nothing from this shell but its position:relative. */
.lp-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 84% 30%,
    #60a5fa 0%,
    #3b82f6 26%,
    #2563eb 50%,
    #1e40af 76%,
    #14306e 100%);
}

.lp-hero-inner {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  /* Top padding clears the fixed navbar, which overlays rather than sitting in
     flow. */
  padding: 96px 16px 84px;
}

.lp-hero-title {
  margin: 0 0 16px;
  /* Matches the home hero scale — one big moment, capped near Zillow's ceiling. */
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #ffffff;
}

/* Accent words stay white for contrast over the blue gradient (orange text
   metered ~2.6:1 there); the brand orange moves into the underline, which is
   decoration and carries no contrast requirement. */
.lp-hero-accent {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #ff4f00;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.lp-hero-sub {
  margin: 0 0 28px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}

.lp-hero-sub--rent {
  color: rgba(255, 255, 255, 0.9);
}

/* ---- the listing card ---- */

.lp-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: inset 1px 1px 0 0 rgba(255, 255, 255, 0.15),
    0 32px 64px rgba(7, 77, 136, 0.4);
}

.lp-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---- Sell's card: the ORIGINAL overlay design, restored at owner direction
   2026-08-05. Ported from the retired home_services hero-card rules; scoped
   under .lp-card so nothing leaks. Rent keeps the scrim variant above. ---- */

.lp-card .hero-listing-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.lp-card .hero-badge-vana {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #FF4F00 0%, #D94300 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(7, 77, 136, 0.4);
}

.lp-card .hero-badge-vana i {
  font-size: 0.875rem;
}

.lp-card .hero-badge-status {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.lp-card .hero-listing-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(5, 30, 65, 0.95) 0%,
    rgba(7, 50, 100, 0.88) 50%,
    rgba(7, 77, 136, 0.55) 75%,
    transparent 100%
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 0 0 24px 24px;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

.lp-card .hero-listing-address {
  margin-bottom: 4px;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lp-card .hero-listing-tagline {
  margin-top: 8px;
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.lp-card .hero-listing-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}

.lp-card .hero-listing-details span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-card .hero-listing-details i {
  font-size: 0.875rem;
  color: #FF4F00;
}


/* ---- the hero search shell ---- */

.lp-search {
  max-width: 560px;
}

.lp-search-field {
  position: relative;
}

.lp-search input[type="text"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  /* No leading icon; the icon-only action button owns the right side. */
  padding: 17px 84px 17px 22px;
  font-size: 16px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(8, 20, 60, 0.35);
}

.lp-search input[type="text"]::placeholder {
  color: #6b7280;
}

.lp-search input[type="text"]:focus {
  outline: none;
  border-color: #ff4f00;
  box-shadow: 0 12px 34px rgba(8, 20, 60, 0.35), 0 0 0 3px rgba(255, 79, 0, 0.25);
}

.lp-search--rent input[type="text"]:focus {
  border-color: #2563eb;
  box-shadow: 0 12px 34px rgba(8, 20, 60, 0.35), 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.lp-search-field > button {
  position: absolute;
  top: 8px;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  padding: 0;
  font-size: 17px;
  color: #ffffff;
  white-space: nowrap;
  /* Icon-only: non-text contrast needs 3:1, so white on #FF4F00 passes. */
  background: #ff4f00;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lp-search-field > button:hover {
  background: #d94300;
}

/* Rent's icon-only button keeps the category blue. */
.lp-search--rent .lp-search-field > button {
  background: #2563eb;
}

.lp-search-btn-label {
  display: none;
}

.lp-accordion-row:focus-visible,
.lp-journey-row:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 6px;
}

.lp-search-field > button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.lp-search--rent .lp-search-field > button:hover {
  background: #1d4ed8;
}

.lp-search .suggestions-container {
  max-height: 350px;
  overflow-y: auto;
  z-index: 9999;
  color: #0f172a;
  text-align: left;
  border: 1px solid #e5e7eb;
}

/* ============================ numbered journey ============================ */

/* ---- From thinking of selling to sold ----
   Gauge left, accordion right. `start`, not stretch, so the sticky column can
   actually stick; without it the aside is forced to the full row height and has
   nothing to scroll within. */
.lp-journey {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

/* 88px clears the fixed navbar, so the gauge is never underneath it. */
.lp-journey-aside {
  position: sticky;
  top: 88px;
}

.lp-journey-steps {
  display: flex;
  flex-direction: column;
}

/* ---- the gauge ---- */

.lp-gauge {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* Starts both arcs at twelve o'clock. */
.lp-gauge-svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

/* The whole animation. The controller only writes stroke-dashoffset; this is
   what sweeps it. Wrapped so the arcs jump for anyone who asked for less
   motion — the accordion itself is instant either way. */
@media (prefers-reduced-motion: no-preference) {
  .lp-gauge-arc {
    transition: stroke-dashoffset 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }
}

.lp-gauge-centre {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  text-align: center;
  pointer-events: none;
}

.lp-gauge-mark {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
}

.lp-gauge-figure {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}

.lp-gauge-value {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #0f172a;
}

.lp-gauge-suffix {
  font-size: 18px;
  font-weight: 700;
  color: #64748b;
}

.lp-gauge-label {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

/* ---- the steps ---- */

.lp-journey-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 18px 18px 15px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--svc-border-soft, #eef2f7);
  border-left: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lp-journey-row.is-active {
  background: #fff8f4;
  border-left-color: #ff4f00;
}

.lp-journey-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.lp-journey-chevron {
  flex: 0 0 auto;
  font-size: 13px;
  color: #64748b;
  transition: transform 0.25s ease;
}

.lp-journey-row.is-active .lp-journey-chevron {
  transform: rotate(180deg);
}

/* Indented to line up under the title rather than the number. */
.lp-journey-body {
  /* 15px matches the row's left padding — the 54px indent aligned under the
     step numbers, which no longer exist. */
  padding: 16px 18px 24px 15px;
  border-bottom: 1px solid var(--svc-border-soft, #eef2f7);
}

.lp-journey-desc {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--svc-muted, #64748b);
  text-wrap: pretty;
}

.lp-journey-subs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lp-journey-sub {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--svc-body, #475569);
}

.lp-journey-sub i,
.lp-journey-sub .svg-inline--fa {
  flex: 0 0 12px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--svc-orange, #ff4f00);
}

/* Last, after the checks — it is the closing thought on the step. */
.lp-journey-detail {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #c23a00;
}

/* ============================== media slot ============================== */

.lp-video {
  max-width: 940px;
  margin: 0 auto 52px;
}


.lp-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
}

.lp-video-frame img,
.lp-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The Screen Studio capture does not exist yet, so this is what ships. */
.lp-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--svc-faint, #94a3b8);
  background: var(--svc-tint, #f8fafc);
}

.lp-video-placeholder i {
  font-size: 30px;
  color: var(--svc-hairline, #cbd5e1);
}

.lp-video-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}

.lp-tool-label {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--svc-faint, #94a3b8);
}

.lp-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Compact tool cards: icon inline with the title instead of stacked above it. */
.lp-tool-card {
  padding: 18px 20px 16px;
}

.lp-tool-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.lp-tool-head i {
  font-size: 16px;
  color: var(--svc-orange);
}

.lp-tool-head .svc-card-title {
  margin-bottom: 0;
}

.lp-tool-tag {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--svc-faint, #94a3b8);
}

.lp-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 26px;
  margin-top: 46px;
}

.lp-inline-cta span {
  font-size: 18px;
  font-weight: 500;
  color: #334155;
}

/* ============================ handle accordion ============================ */

/* `start`, not `stretch`. Stretched, the photo column matched whatever height
   the accordion happened to be, so opening an answer grew the row and resized
   the image with it — the whole block appeared to move for a click that should
   only have opened one row. The media keeps its own 460px instead. */
.lp-handle {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.5fr);
  gap: clamp(36px, 6vw, 88px);
  /* stretch, not start: the photo matches the accordion column's height. */
  align-items: stretch;
}

.lp-handle-media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 16px;
}

.lp-handle-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.lp-handle-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 48, 110, 0.94) 0%,
    rgba(20, 48, 110, 0.78) 26%,
    rgba(20, 48, 110, 0.5) 50%,
    rgba(20, 48, 110, 0.74) 78%,
    rgba(20, 48, 110, 0.84) 100%
  );
}

.lp-handle-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 28px 26px;
}

.lp-handle-question {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-wrap: pretty;
}

.lp-handle-licence-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8a50;
}

.lp-handle-licence-body {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

.lp-handle-title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--svc-ink, #0f172a);
  text-wrap: pretty;
}

.lp-handle-blurb {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--svc-muted, #475569);
}

.lp-accordion-item {
  border-bottom: 1px solid var(--svc-border-soft, #eef2f7);
}

.lp-accordion-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  font-family: inherit;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.lp-accordion-question {
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--svc-ink, #0f172a);
  text-wrap: pretty;
}

.lp-accordion-chevron {
  flex: 0 0 auto;
  margin-top: 3px;
  font-size: 12px;
  color: var(--svc-faint, #94a3b8);
  transition: transform 0.2s ease, color 0.2s ease;
}

.lp-accordion-row[aria-expanded="true"] .lp-accordion-chevron {
  color: var(--svc-orange, #ff4f00);
  transform: rotate(180deg);
}

.lp-accordion-panel {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--svc-body, #475569);
  text-wrap: pretty;
}











/* ============================== closing CTA ============================== */

/* The 72px gap above the band is padding here, NOT a top margin on the band.
   As a margin it collapsed out of both the band and this section and exposed
   the grey page background as a stripe above the CTA — the same bug the home
   closing CTA had. */
.lp-closing {
  padding: 72px clamp(24px, 5vw, 64px) 96px;
  background: #ffffff;
}

.lp-closing-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 44px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px clamp(28px, 4vw, 52px);
  border-radius: 18px;
  overflow: hidden;
  background-color: #14306e;
  /* Triangular lattice — three hairline directions echo the logo key's
     faceted triangle grid, quieter cousin of the square band texture. */
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 30px);
}

.lp-closing-copy {
  max-width: 660px;
}

.lp-closing-line {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: pretty;
}

/* The single management plug on Rent, below a hairline. Do not add a second
   listing CTA here — that reads as a bait-and-switch on "free". */
.lp-handoff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 26px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.lp-handoff-copy {
  flex: 1 1 260px;
  min-width: 240px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
}

.lp-scene-rent {
  flex: 0 0 auto;
  width: 206px;
  height: auto;
  overflow: visible;
}

.lp-scene-sell {
  flex: 0 0 auto;
  width: 176px;
  height: auto;
  margin-left: auto;
  overflow: visible;
}

/* ============================== ink scenes ==============================
   steps(1) is what makes the boil read as hand-drawn rather than a smooth
   wobble. Do not change it to a smooth timing function. */

@keyframes rcDraw { 0%, 6% { stroke-dashoffset: 1 } 24%, 100% { stroke-dashoffset: 0 } }
@keyframes rcBoil {
  0% { transform: translate(0, 0) }
  33% { transform: translate(0.4px, -0.3px) }
  66% { transform: translate(-0.3px, 0.4px) }
  100% { transform: translate(0, 0) }
}
@keyframes rcBadge { 0%, 28% { transform: scale(1) } 33% { transform: scale(1.09) } 38% { transform: scale(1) } 43% { transform: scale(1.09) } 48%, 100% { transform: scale(1) } }
@keyframes rcPulse1 { 0%, 28% { transform: scale(0.7); opacity: 0 } 34% { opacity: 0.8 } 52% { transform: scale(1.5); opacity: 0 } 100% { transform: scale(1.5); opacity: 0 } }
@keyframes rcPulse2 { 0%, 36% { transform: scale(0.7); opacity: 0 } 42% { opacity: 0.55 } 60% { transform: scale(1.75); opacity: 0 } 100% { transform: scale(1.75); opacity: 0 } }
@keyframes rcLean { 0%, 46% { transform: rotate(0deg) } 64%, 88% { transform: rotate(38deg) } 100% { transform: rotate(0deg) } }
@keyframes rcArm { 0%, 52% { opacity: 0 } 64%, 88% { opacity: 1 } 96%, 100% { opacity: 0 } }
@keyframes rcArmFlat { 0%, 46% { opacity: 1 } 56%, 92% { opacity: 0 } 100% { opacity: 1 } }
@keyframes soSwing { 0%, 22% { transform: rotate(0deg) } 40% { transform: rotate(5deg) } 58% { transform: rotate(-3.5deg) } 74% { transform: rotate(1.5deg) } 88%, 100% { transform: rotate(0deg) } }
@keyframes soStamp { 0%, 30% { opacity: 0; transform: scale(0.82) rotate(-8deg) } 40% { opacity: 1; transform: scale(1.06) rotate(-8deg) } 48%, 100% { opacity: 1; transform: scale(1) rotate(-8deg) } }

.lp-boil {
  animation: rcBoil 0.42s steps(1) infinite;
}

.lp-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: rcDraw 6s ease-out infinite;
}

/* The stagger is an animation-delay per stroke so the whole cascade shares one
   duration. */
.lp-d0 { animation-delay: 0s }
.lp-d1 { animation-delay: 0.05s }
.lp-d2 { animation-delay: 0.1s }
.lp-d3 { animation-delay: 0.15s }
.lp-d4 { animation-delay: 0.2s }
.lp-d5 { animation-delay: 0.25s }
.lp-d6 { animation-delay: 0.3s }
.lp-d7 { animation-delay: 0.35s }
.lp-d8 { animation-delay: 0.4s }
.lp-d9 { animation-delay: 0.45s }
.lp-d10 { animation-delay: 0.5s }
.lp-d11 { animation-delay: 0.55s }
.lp-d12 { animation-delay: 0.58s }
.lp-d13 { animation-delay: 0.6s }
.lp-d14 { animation-delay: 0.7s }

/* Rent scene — the figure leans up at the hip and never picks up the phone.
   That is the point. The reaching arm is authored at about -70deg so the +38deg
   lean resolves it to about -32deg, aiming at the badge; if the badge moves,
   re-author the path rather than changing the rotation. */
.lp-lean {
  transform-origin: 152px 90px;
  animation: rcLean 6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.lp-arm-reach {
  animation: rcArm 6s ease-out infinite;
}

.lp-arm-flat {
  animation: rcDraw 6s ease-out 0.6s infinite, rcArmFlat 6s ease-out infinite;
}

.lp-badge-group,
.lp-pulse {
  transform-origin: 226px 34px;
}

.lp-badge-group {
  animation: rcBadge 6s ease-in-out infinite;
}

.lp-pulse-1 {
  animation: rcPulse1 6s ease-out infinite;
}

.lp-pulse-2 {
  animation: rcPulse2 6s ease-out infinite;
}

/* Sell scene — damped swing settling on the bracket, then the stamp overshoots
   to 1.06 and settles. */
.lp-swing {
  transform-origin: 71px 32px;
  animation: soSwing 6s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}

.lp-stamp {
  transform-origin: 71px 70px;
  animation: soStamp 6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .lp-boil,
  .lp-boil *,
  .lp-draw,
  .lp-lean,
  .lp-swing,
  .lp-stamp,
  .lp-badge-group,
  .lp-pulse-1,
  .lp-pulse-2,
  .lp-arm-reach,
  .lp-arm-flat {
    animation: none !important;
  }

  .lp-draw {
    stroke-dashoffset: 0;
  }

  /* Frozen, the two arms would overlap. */
  .lp-arm-reach {
    opacity: 0;
  }
}

/* ============================== responsive ============================== */

@media (max-width: 1023px) {
  .lp-hero-inner,
  .lp-handle {
    grid-template-columns: minmax(0, 1fr);
  }


  /* One column, and the gauge stops sticking — there is no second column beside
     it to stick against. */
  .lp-journey {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp-journey-aside {
    position: static;
  }

  .lp-tool-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 767px) {
  .lp-hero {
    min-height: 0;
  }

  .lp-hero-inner {
    padding: 40px 16px 56px;
  }

  .lp-search-field > button {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 14px 22px;
    justify-content: center;
    gap: 10px;
    font-size: 19px; /* large-bold: white on #FF4F00 passes at 3:1 */
    font-weight: 700;
  }

  /* The full-width mobile pill carries a visible verb; desktop stays icon-only. */
  .lp-search-btn-label {
    display: inline;
  }

  .lp-handle-title {
    font-size: 27px;
  }

  .lp-closing {
    padding: 48px 20px 64px;
  }

  .lp-closing-band {
    margin-top: 48px;
    padding: 32px 24px;
  }

  .lp-closing-line {
    font-size: 19px;
  }

  .lp-scene-sell {
    margin-left: 0;
  }
}

/* ======================= everything under one roof =======================
   The Properkey / Others comparison table. Three columns throughout, so the
   header, every row and the summary line share one grid definition — if they
   drift the ticks stop lining up under their heading. */

.lp-compare {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8eef7;
  border-radius: 16px;
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.05);
}

.lp-compare-head,
.lp-compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px 96px;
  gap: 14px;
  align-items: center;
}

.lp-compare-head {
  padding: 14px 22px;
  background: #f8fafc;
  border-bottom: 1px solid #e8eef7;
}

.lp-compare-us {
  justify-self: center;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #14306e; /* flat navy per ruling C — 12px text never sits on orange */
  border-radius: 999px;
}

.lp-compare-them {
  justify-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.lp-compare-group {
  padding: 11px 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.lp-compare-row {
  padding: 14px 22px;
  border-bottom: 1px solid #f1f5f9;
}

.lp-compare-name {
  font-size: 15px;
  color: #334155;
  text-wrap: pretty;
}

.lp-compare-yes {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #15803d;
}

.lp-compare-yes i,
.lp-compare-yes .svg-inline--fa {
  font-size: 12px;
}

.lp-compare-other {
  justify-self: center;
  font-size: 13px;
  color: #64748b;
}

/* A dash is "we checked and it is not there", not a shrug. Lighter than the
   wording so the eye reads the words first. */
.lp-compare-other--not {
  font-size: 15px;
  color: #cbd5e1;
}

.lp-compare-row--summary {
  padding: 17px 22px;
  background: rgba(255, 79, 0, 0.06);
  border-bottom: 0;
}

.lp-compare-row--summary .lp-compare-name {
  font-weight: 700;
  color: #0f172a;
}

.lp-compare-yes--summary {
  font-weight: 700;
  color: #c23a00;
}

.lp-compare-note {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
  color: #64748b;
  text-wrap: pretty;
}

@media (max-width: 640px) {
  /* The two verdict columns get tighter rather than wrapping under the name. */
  .lp-compare-head,
  .lp-compare-row {
    grid-template-columns: minmax(0, 1fr) 78px 62px;
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .lp-compare-group {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lp-compare-name {
    font-size: 14px;
  }
}
