/* =========================================================================
   Ledgerstone marketing page — homepage v4 (and the /contact/ mount of the
   demo section). Values are tokens from tokens.css; 01-build-spec.md is the
   source for every number here.

   Mobile-first. One breakpoint, 720px; most grids also reflow by themselves
   with repeat(auto-fit, minmax(min(Npx, 100%), 1fr)).
   ========================================================================= */

/* --- Section atoms ---------------------------------------------------------- */
.ls-section { padding-block: var(--section-y); }
.ls-section--compact { padding-block: var(--section-y-compact); }
.ls-band { background: var(--ground); border-block: 1px solid var(--rule-on-ground); }
.ls-band--top { border-bottom: 0; }
/* Home: sections after the trust strip alternate grey, white, grey… */
.ls-alt > section { border-block: 0; }
.ls-alt > section:nth-child(odd) { background: var(--ground); }
.ls-alt > section:nth-child(even) { background: transparent; }
/* A section that is itself the centred column (ls-wrap) still gets a
   full-width band: the shadow paints past its edges, the clip keeps it level. */
.ls-alt > section.ls-wrap:nth-child(odd) { box-shadow: 0 0 0 100vmax var(--ground); clip-path: inset(0 -100vmax); }

.ls-h1 {
  font: 600 var(--fs-h1)/1.06 var(--font-ui); letter-spacing: -.035em;
  margin: 20px 0 0; text-wrap: balance; color: var(--ink);
}
.ls-h2 {
  font: 600 var(--fs-h2)/1.1 var(--font-ui); letter-spacing: -.03em;
  margin: 0; text-wrap: balance; color: var(--ink);
}
.ls-h2--narrow { max-width: 680px; }
.ls-h2--compact { font-size: var(--fs-h2-compact); }
.ls-h3 { font: 600 clamp(17px, 1.6vw, 19px)/1.25 var(--font-ui); letter-spacing: -.02em; margin: 18px 0 0; }
.ls-lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.ls-body { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.ls-tick { color: var(--ink); flex: none; }
.ls-dash { color: var(--decorative); flex: none; }

/* Status chips. Always carry a text label — colour is never the only signal. */
.ls-chip {
  display: inline-block; margin: 0; padding: 3px 8px; border-radius: var(--r-chip);
  font: var(--text-chip--font-weight) var(--text-chip)/var(--text-chip--line-height) var(--font-ui); white-space: nowrap;
}
.ls-chip--success { background: var(--success-bg); color: var(--success-text); }
.ls-chip--warn { background: var(--warn-bg); color: var(--warn-text); }
.ls-chip--danger { background: var(--danger-bg); color: var(--danger-text); }
.ls-chip--info { background: var(--primary-tint); color: var(--primary); }
.ls-chip--neutral { background: var(--mist); color: var(--text-2); }

/* --- 2 · Hero --------------------------------------------------------------- */
.ls-hero { padding-top: clamp(40px, 8vw, 72px); }
.ls-hero__text { max-width: 760px; }
.ls-pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  background: var(--surface); padding: 6px 12px; border-radius: var(--r-round);
  box-shadow: inset 0 0 0 1px var(--panel-border), var(--shadow-panel);
  font: 500 13px/1.4 var(--font-ui); color: var(--text-2);
}
.ls-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success-dot); flex: none; }
.ls-hero__lead { max-width: 600px; margin: 18px 0 0; }
/* .ls-hero__actions, __trial, __note: in brand.css, shared with the
   end of a post (blog_post.html, end_ctas). */
/* The stage beside the hero copy (from 1000px): Dean's picture, the
   three cards on its edges.
   Phones skip it; the carousel right below does that job there. */
.ls-stage { display: none; }
@media (min-width: 1000px) {
  .ls-hero__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
  body { overflow-x: clip; }   /* the cards poke past the column on narrow desktops */
  .ls-stage { display: block; position: relative; padding: 36px 0 56px; }
  .ls-stage picture, .ls-stage img { display: block; width: 100%; height: auto; }
  .ls-stage .ls-stage__main { width: 92%; margin-left: 4%; }
  /* The certificate check: smaller, over the picture's top right corner. */
  .ls-stage__main img {
    border: 1px solid var(--panel-border); border-radius: var(--r-frame); background: var(--surface);
    box-shadow: var(--shadow-hero);
  }
  .ls-stage__callouts { list-style: none; margin: 0; padding: 0; }
  .ls-callout {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: var(--r-card);
    background: var(--surface); border: 1px solid var(--panel-border);
    box-shadow: 0 18px 36px -18px rgba(35,32,25,.40);
    white-space: nowrap;
  }
  /* Each card sits half on the picture's edge. */
  .ls-callout--1 { top: 0; right: -16px; z-index: 2; }
  .ls-callout--2 { bottom: -4px; left: -16px; z-index: 2; }
  .ls-callout--3 { bottom: 44px; right: -16px; z-index: 2; }
  .ls-callout__fill { fill: currentColor; stroke: none; }
  .ls-callout__icon {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
    background: var(--primary-tint); color: var(--primary);
  }
  .ls-callout__icon svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .ls-callout__text { display: grid; gap: 2px; }
  .ls-callout__title { font: 600 15px/1.25 var(--font-ui); color: var(--ink); }
  .ls-callout__state { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.3; color: var(--text-2); }
  .ls-callout__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
  .ls-callout__dot--success { background: var(--success-dot); }
  .ls-callout__dot--accent { background: var(--accent); }
  .ls-callout__dot--danger { background: var(--danger-text); }
}

/* --- C1 · Carousel ------------------------------------------------------------ */
/* Capped at 880px wide (about 440px of screenshot tall) and centred, so on a
   laptop the hero copy and the carousel fit in roughly one screen. */
.ls-carousel { width: min(100%, 880px); margin: clamp(28px, 5vw, 44px) auto 0; }
.ls-carousel__frame {
  background: var(--sidebar); border: 1px solid var(--panel-border); border-radius: var(--r-frame);
  padding: clamp(4px, 1vw, 8px); box-shadow: var(--shadow-hero);
  touch-action: pan-y;
}
/* All slides share one grid cell at the captures' 2:1 ratio, so switching
   never moves the page. Screenshots are shown whole — never cropped. */
.ls-carousel__frame { position: relative; }
.ls-carousel__stack { display: grid; }
/* Side arrows: round buttons on the frame's edges, 40px (44px tap area). */
.ls-carousel__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--panel-border); border-radius: 50%;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-panel); cursor: pointer;
}
.ls-carousel__arrow[hidden] { display: none; }
.ls-carousel__arrow::after { content: ""; position: absolute; inset: -4px; }
.ls-carousel__arrow svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ls-carousel__arrow:hover { border-color: var(--accent); color: var(--primary); }
.ls-carousel__arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ls-carousel__arrow--prev { left: -6px; }
.ls-carousel__arrow--next { right: -6px; }
@media (max-width: 719.98px) { .ls-carousel__arrow { width: 32px; height: 32px; } .ls-carousel__arrow::after { inset: -6px; } }
@media (min-width: 1000px) { .ls-carousel__arrow--prev { left: -20px; } .ls-carousel__arrow--next { right: -20px; } }
.ls-slide {
  grid-area: 1 / 1; min-width: 0; margin: 0;
  border: 1px solid var(--border); border-radius: var(--r-control); overflow: hidden;
  background: var(--surface); aspect-ratio: 2 / 1;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.ls-slide.is-current { opacity: 1; visibility: visible; }
.ls-slide picture, .ls-slide img { display: block; width: 100%; height: 100%; }
.ls-slide img { object-fit: contain; object-position: top left; }
@media (prefers-reduced-motion: reduce) { .ls-slide { transition: none; } }

/* Controls. One tablist, two looks: thin progress bars with a live caption
   on phones; titled tabs with captions on desktop. */
.ls-tabs { display: flex; gap: 6px; margin-top: 6px; }
.ls-tab {
  flex: 1; min-width: 0; min-height: 32px; display: flex; align-items: center;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  font: inherit; text-align: left; color: var(--muted);
}
.ls-tab__track { display: block; width: 100%; height: 3px; background: var(--track); border-radius: 2px; overflow: hidden; }
.ls-tab__fill { display: block; height: 100%; width: 0; background: var(--accent); }
.ls-tab.is-current .ls-tab__fill { width: 100%; }
.ls-tab.is-running .ls-tab__fill { animation: ls-fill var(--ls-slide-ms, 6000ms) linear forwards; }
@keyframes ls-fill { from { width: 0; } to { width: 100%; } }
.ls-tab__title, .ls-tab__caption {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.ls-carousel__now { margin-top: 2px; }
.ls-carousel__now p { margin: 0; }
.ls-carousel__now-title { font: 600 16px var(--font-ui); }
.ls-carousel__now-caption { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 2px !important; }
/* Phones show the screen's title only; the caption sentence is on the desktop tabs. */
@media (max-width: 719.98px) { .ls-carousel__now-caption { display: none; } }
@media (min-width: 720px) {
  /* One tab per screen, all on one row from 720px — never a lone last tab. */
  .ls-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px 14px; margin-top: 16px; }
  .ls-tab {
    display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
    padding: 0 0 10px; min-height: 0;
  }
  .ls-tab.is-current { color: var(--ink); }
  .ls-tab__track { height: 2px; border-radius: 1px; margin-bottom: 12px; }
  .ls-tab__title, .ls-tab__caption { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: block; }
  .ls-tab__title { font: 600 14px var(--font-ui); }
  .ls-tab__caption { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
  .ls-carousel__now { display: none; }
}
/* Between 720 and 1000 six captions are too narrow to read; titles only. */
@media (min-width: 720px) and (max-width: 999.98px) {
  .ls-tab__caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .ls-tab.is-running .ls-tab__fill { animation: none; width: 100%; } }

/* --- 3 · Trust strip ---------------------------------------------------------- */
.ls-trust-wrap { padding-top: 32px; }
/* Six checks: 1 → 2 → 3 across, never a lone leftover. */
.ls-trust {
  list-style: none; margin: 0; padding: 20px 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
  border-block: 1px solid var(--border); font-size: 14px; color: var(--text-strong);
}
.ls-trust li { display: flex; gap: 10px; align-items: baseline; }
@media (min-width: 560px) { .ls-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ls-trust { grid-template-columns: repeat(3, 1fr); } }

/* --- 4 · Problem -------------------------------------------------------------- */
.ls-problem {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 12px; margin-top: 24px;
}
.ls-problem__card { border-radius: var(--r-card); padding: clamp(16px, 2.2vw, 24px); }
.ls-problem__card--today { background: var(--ground); border: 1px solid var(--rule-on-ground); }
.ls-problem__card--with { background: var(--surface); border: 1px solid var(--panel-border); box-shadow: var(--shadow-panel); }
.ls-problem__label { font: 600 13px var(--font-ui); color: var(--muted); margin: 0; }
.ls-problem__label--with { color: var(--ink); }
.ls-problem__list {
  list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column;
  gap: 10px; font-size: clamp(15px, 1.3vw, 16px); line-height: 1.45; color: var(--text-strong);
}
.ls-problem__list li { display: flex; gap: 12px; }

/* --- 5 · How it works: compact steps beside the video ------------------------- */
.ls-how { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
/* The video gets the wider share (Dean, Dec 5 2026: it read as too small). */
@media (min-width: 960px) { .ls-how { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.ls-steps { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; }
.ls-step { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.ls-step:last-child { padding-bottom: 0; }
/* The line joining the numbers — the step bar in the app, turned on its side.
   Bronze for a touch of color (Dean, Dec 5 2026). */
.ls-step:not(:last-child)::before {
  content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px;
  background: var(--accent); border-radius: 1px;
}
.ls-step__n {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 13px var(--font-ui); font-variant-numeric: tabular-nums;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--panel-border), var(--shadow-panel);
}
.ls-step .ls-h3 { font-size: 17px; margin: 3px 0 0; }
.ls-step__body { font-size: 14.5px; line-height: 1.5; color: var(--text-2); margin: 3px 0 0; }

.ls-video { margin: 0; }
.ls-video__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-frame); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-hero);
}
/* The thumbnail is white to its edges, so a hairline keeps the card's
   outline visible on the white band. */
.ls-video__frame:has(.ls-video__poster)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--panel-border);
}
.ls-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ls-video__poster { position: absolute; inset: 0; display: block; color: var(--on-dark); }
.ls-video__poster picture, .ls-video__poster img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left;
}
.ls-video__shade { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 35%, transparent), color-mix(in srgb, var(--ink) 82%, transparent)); }
.ls-video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-float); transition: transform .15s ease, background-color .15s ease;
}
.ls-video__play svg { fill: var(--surface); margin-left: 3px; }
.ls-video__poster:hover .ls-video__play { background: var(--primary-hover); transform: translate(-50%, -50%) scale(1.05); }
.ls-video__meta {
  position: absolute; left: 20px; right: 20px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.ls-video__title { font: 600 clamp(15px, 2vw, 18px)/1.25 var(--font-ui); letter-spacing: -.01em; }
.ls-video__dur { font: 500 12px var(--font-ui); font-variant-numeric: tabular-nums; color: var(--on-dark-muted); }
.ls-video__label {
  margin: 14px 0 0; display: flex; align-items: center; gap: 8px;
  font: 600 15px/1.3 var(--font-ui); letter-spacing: -.01em; color: var(--ink);
}
/* A clock, not a play mark: the label itself is not a button (Dean, Dec 5 2026). */
.ls-video__label-icon { flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ls-video__label-dur { font: 500 13px var(--font-ui); font-variant-numeric: tabular-nums; color: var(--muted); }
.ls-video__caption { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .ls-video__play { transition: none; } }

/* --- 6 · Sample statement -------------------------------------------------------- */
.ls-statement {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 56px; align-items: center;
}
.ls-statement__lead { max-width: 440px; margin: 14px 0 0; }
.ls-statement__btn { margin-top: 24px; }
.ls-doc {
  background: var(--surface); border: 1px solid var(--panel-border); border-radius: var(--r-card);
  box-shadow: var(--shadow-panel); padding: clamp(16px, 2.2vw, 24px);
}
.ls-doc__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--rule); padding-bottom: 14px;
}
.ls-doc__head p { margin: 0; }
.ls-doc__eyebrow { font: 500 12px/1.4 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ls-doc__tenant { font: 600 20px/1.25 var(--font-ui); letter-spacing: -.02em; margin-top: 6px !important; }
.ls-doc__property { font-size: 13px; color: var(--muted); margin-top: 2px !important; }
.ls-doc__sealed { align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; }
.ls-doc__rows { margin: 0; font-size: 14px; }
.ls-doc__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--row-rule);
}
.ls-doc__row dt { font-weight: 400; }
.ls-doc__row dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }   /* money: sans, tabular, right (F7) */
.ls-doc__sub { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.ls-doc__sub--link { color: var(--primary); }
.ls-doc__row--total { border-bottom: 0; padding: 16px 0 0; align-items: baseline; }
.ls-doc__row--total dt { font-weight: 600; }
.ls-doc__row--total dd { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }   /* a figure, never bronze */

/* --- Lease and insurance reading: page background, bronze accents ------------- */
.ls-reading { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 960px) { .ls-reading { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ls-reading__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0;
  font: 600 13px/1.4 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--primary);
}
/* The robot badge: a line drawing in a bronze-tinted circle, not an emoji. */
.ls-reading__bot {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-tint); color: var(--primary); box-shadow: inset 0 0 0 1px var(--accent);
}
.ls-reading__bot svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ls-reading__bot .ls-reading__bot-fill { fill: currentColor; stroke: none; }
.ls-reading__h {
  margin: 16px 0 0; max-width: 15ch; text-wrap: balance; color: var(--ink);
  font: 600 clamp(30px, 4.4vw, 48px)/1.04 var(--font-ui); letter-spacing: -.035em;
}
.ls-reading__h em { font-style: normal; color: var(--primary); }
.ls-reading__lead { margin: 16px 0 0; max-width: 520px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; color: var(--text-2); }
.ls-reading__lead a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ls-reading__points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; max-width: 520px; }
.ls-reading__points li { display: flex; gap: 14px; align-items: flex-start; font-size: clamp(15px, 1.3vw, 16px); line-height: 1.45; color: var(--text-2); }
.ls-reading__points strong { display: block; color: var(--ink); font-weight: 600; }
.ls-reading__n {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: var(--surface); font: 600 14px var(--font-ui);
}
.ls-reading__cards { display: grid; gap: 12px; }
.ls-reading__card { border-top: 4px solid var(--accent); box-shadow: var(--shadow-hero); }
.ls-reading__card .ls-doc__eyebrow { color: var(--primary); }
.ls-reading__card .ls-doc__row { padding: 8px 0; }
.ls-reading__verdict { margin-left: 8px; vertical-align: 1px; }
/* Narrow phones: the value goes under its label so long figures don't squeeze it. */
@media (max-width: 479.98px) {
  .ls-reading__card .ls-doc__row { grid-template-columns: 1fr; gap: 4px; }
  .ls-reading__card .ls-doc__row dd { text-align: left; }
}

/* --- 7 · Customers ------------------------------------------------------------ */
/* One column, then three across: two-plus-one would orphan a quote. */
.ls-quotes { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
@media (min-width: 900px) { .ls-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ls-quote {
  margin: 0; background: var(--surface); border: 1px solid var(--panel-border); border-radius: var(--r-card);
  box-shadow: var(--shadow-panel); padding: clamp(16px, 2.2vw, 24px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.ls-quote__text { margin: 0; font: 500 17px/1.5 var(--font-ui); letter-spacing: -.005em; color: var(--ink); }
.ls-quote__text p { margin: 0; }
.ls-quote__who { display: flex; align-items: center; gap: 12px; }
.ls-avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mist); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border);   /* app: avatars are never bronze */
  font: 600 14px var(--font-ui);
}
.ls-quote__meta { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.ls-quote__name { font-weight: 600; }
.ls-quote__role { font-size: 13px; color: var(--muted); }
.ls-quote__segment { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* --- 8 · Pricing -------------------------------------------------------------- */
.ls-pricing__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; }
.ls-pricing__lead { font-size: 15.5px; line-height: 1.55; color: var(--text-2); margin: 10px 0 0; max-width: 520px; }
.ls-toggle { display: flex; background: var(--mist); border-radius: var(--r-item); padding: 4px; }
.ls-toggle[hidden] { display: none; }
.ls-toggle__btn {
  border: 0; cursor: pointer; padding: 9px 16px; border-radius: var(--r-toggle);
  font: 600 14px var(--font-ui); color: var(--ink); background: transparent; white-space: nowrap; min-height: 40px;
}
.ls-toggle__btn[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow-toggle); }
/* One column on phones, three across from 720px — never two plus one. */
.ls-tiers { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: clamp(20px, 3vw, 28px); }
@media (min-width: 720px) { .ls-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ls-tier {
  background: var(--surface); border: 1px solid var(--panel-border); box-shadow: var(--shadow-panel);
  border-radius: var(--r-card);
  padding: clamp(16px, 2.2vw, 24px); display: flex; flex-direction: column;
}
.ls-tier p { margin: 0; }
.ls-tier__name { font: 600 17px var(--font-ui); }
.ls-tier__price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px !important; }
.ls-price { font: 600 var(--fs-price)/1 var(--font-ui); letter-spacing: -.04em; }
.ls-tier__per { font-size: 15px; color: var(--muted); }
.ls-tier__note { font-size: var(--text-caption); line-height: 1.4; color: var(--muted); margin-top: 6px !important; min-height: 18px; }
.ls-tier__cta { margin-top: auto; padding: 14px; }
.ls-tier__note + .ls-tier__cta { margin-top: 24px; }
.ls-pricing__more { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 18px 0 0; }

/* --- /pricing/: all six bands, then the detail ---------------------------------- */
/* Two across on phones (six tall cards would be a long scroll), three from 720px. */
.ls-tiers--all { list-style: none; padding: 0; margin-bottom: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .ls-tiers--all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ls-tiers--all .ls-tier { padding: clamp(14px, 3.5vw, 24px); }
.ls-tiers--all .ls-tier__name { font-size: 15px; }
.ls-tiers--all .ls-price { font-size: clamp(26px, 7vw, 40px); }
.ls-tiers--all .ls-tier__per { font-size: 14px; }
.ls-pricing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ls-pricing__actions .ls-btn { flex: 1 1 200px; max-width: 280px; padding: 14px; }
.ls-roicard {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  background: var(--surface); border: 1px solid var(--panel-border); box-shadow: var(--shadow-panel);
  border-radius: var(--r-card); padding: clamp(16px, 2.2vw, 24px);
}
.ls-roicard > div { flex: 1 1 320px; }
.ls-roicard .ls-h3 { margin: 0; }
.ls-roicard .ls-body { margin: 8px 0 0; max-width: 640px; }
.ls-roicard .ls-btn { flex: 0 0 auto; padding: 14px 20px; }
/* Feature rows: screen above copy on phones; side by side, alternating, from 900px. */
.ls-features { padding-top: 0; }
.ls-feature { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: clamp(28px, 4vw, 44px); align-items: center; }
@media (min-width: 900px) {
  .ls-feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .ls-feature:nth-of-type(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ls-feature:nth-of-type(even) .ls-feature__shot { order: 2; }
}
.ls-feature__shot {
  margin: 0; background: var(--surface); border: 1px solid var(--panel-border); box-shadow: var(--shadow-panel);
  border-radius: var(--r-card); overflow: hidden;
}
.ls-feature__shot img { display: block; width: 100%; height: auto; }
.ls-feature__copy .ls-h3 { margin-top: 0; }
.ls-feature__copy .ls-body { margin: 10px 0 0; }
.ls-features__also-h { margin-top: clamp(32px, 5vw, 48px); }
.ls-features__also { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ls-features__also { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ls-features__also li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.ls-features__extra { margin: 10px 0 0; max-width: 760px; }
.ls-pricedetail .ls-h3 { margin-top: 0; }
.ls-pricedetail .ls-body { margin: 10px 0 0; }
.ls-pricedetail__grid { display: grid; grid-template-columns: 1fr; gap: 32px 48px; }
@media (min-width: 900px) { .ls-pricedetail__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ls-pricedetail__grid--after { margin-top: 16px; }
.ls-pricedetail__next { margin-top: clamp(32px, 5vw, 48px); }

/* --- The three plans (home and /pricing/). One column on phones, three from 900px. */
.ls-plans { list-style: none; padding: 0; margin: clamp(20px, 3vw, 28px) 0 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ls-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.ls-plan {
  background: var(--surface); border: 1px solid var(--panel-border); box-shadow: var(--shadow-panel);
  border-radius: var(--r-card); padding: clamp(16px, 2.2vw, 24px); display: flex; flex-direction: column;
}
.ls-plan p { margin: 0; }
.ls-plan__name { font: 600 19px var(--font-ui); }
.ls-plan__for { font-size: 15px; line-height: 1.45; color: var(--text-2); margin-top: 6px !important; }
.ls-plan__from { font-size: 15px; color: var(--muted); }
.ls-plan__points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ls-plan__points li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.ls-plan__fee { font-size: var(--text-caption); line-height: 1.45; color: var(--ink); margin-top: 16px !important; padding-top: 14px; border-top: 1px solid var(--row-rule); }
.ls-plan__cta { margin-top: auto; padding: 14px; }
.ls-plan__fee + .ls-plan__cta { margin-top: 20px; }
/* Desktop: each card is a subgrid of the row, so the name, price, list, fee line and
   button line up across the three cards whatever the length of each part. */
@media (min-width: 900px) {
  .ls-plans { grid-template-rows: repeat(7, auto); row-gap: 0; }
  .ls-plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
  .ls-plan__points { align-content: start; margin-bottom: 20px; }
  .ls-plan__fee { margin-top: 0 !important; }
  .ls-plan__fee + .ls-plan__cta { margin-top: 20px; align-self: end; }
}

/* --- Plan comparison. Phones: the plan names stay pinned under the site header; each
   row is its label, then the three values in the plan columns. From 720px: an
   ordinary four-column table. Never scrolls sideways. */
.ls-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ls-plancmp { margin-top: 24px; background: var(--surface); border: 1px solid var(--panel-border); border-radius: var(--r-card); }
.ls-plancmp:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ls-plancmp__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.4; }
.ls-plancmp__table th, .ls-plancmp__table td { padding: 10px 12px; text-align: left; font-weight: 400; color: var(--ink); }
.ls-plancmp__table thead th {
  position: sticky; top: 64px; z-index: 1; background: var(--surface); font: 600 14px var(--font-ui);
  border-bottom: 1px solid var(--rule); text-align: center;
}
.ls-plancmp__table thead th:first-child { border-top-left-radius: var(--r-card); }
.ls-plancmp__table thead th:last-child { border-top-right-radius: var(--r-card); }
.ls-plancmp__table td { text-align: center; color: var(--text-2); border-bottom: 1px solid var(--row-rule); }
.ls-plancmp__table tbody th[scope="row"] { border-bottom: 1px solid var(--row-rule); }
.ls-plancmp__group th { background: var(--surface-inset); font: 600 13px var(--font-ui); letter-spacing: .02em; color: var(--muted); padding-block: 8px; }
.ls-plancmp__yes { color: var(--success-text); font-weight: 600; }
.ls-plancmp__no { color: var(--muted); }
@media (max-width: 719.98px) {
  /* Block rows so the whole thead can stick: a sticky cell only sticks inside its own row. */
  .ls-plancmp__table, .ls-plancmp__table thead, .ls-plancmp__table tbody { display: block; }
  .ls-plancmp__table thead {
    position: sticky; top: 68px; z-index: 2; background: var(--surface);
    border-bottom: 1px solid var(--rule); border-radius: var(--r-card) var(--r-card) 0 0;
  }
  .ls-plancmp__table thead th { position: static; border-bottom: 0; padding: 12px 4px; font-size: 13px; }
  .ls-plancmp__table thead tr, .ls-plancmp__table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ls-plancmp__corner { display: none; }
  .ls-plancmp__table tbody th[scope="row"] { grid-column: 1 / -1; border-bottom: 0; padding: 12px 16px 4px; font-size: 14px; color: var(--text-2); }
  .ls-plancmp__group th { grid-column: 1 / -1; padding-inline: 16px; }
  .ls-plancmp__table td { padding: 0 4px 12px; font: 600 14px var(--font-ui); color: var(--ink); }
  .ls-plancmp__table td .ls-plancmp__no { font-weight: 400; }
  .ls-plancmp__table tbody:last-child tr:last-child td { border-bottom: 0; }
}
@media (min-width: 720px) {
  .ls-plancmp__table tbody th[scope="row"] { width: 40%; }
  .ls-plancmp__table td { width: 20%; }
}

/* --- 9 · FAQ ------------------------------------------------------------------ */
.ls-faq__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.ls-faq__ask { font: 500 14px var(--font-ui); }
.ls-faqs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 8px; align-items: start; margin-top: clamp(20px, 4vw, 28px);
}
.ls-faq { background: var(--surface); border: 1px solid var(--panel-border); border-radius: var(--r-item); box-shadow: var(--shadow-panel); }
.ls-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding: 12px 16px; font: 600 15.5px/1.3 var(--font-ui);
}
.ls-faq__plus { flex: none; font: 400 20px/1 var(--font-ui); color: var(--muted); transition: transform .2s; }
.ls-faq[open] .ls-faq__plus { transform: rotate(45deg); }
.ls-faq p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); margin: 0; padding: 0 16px 14px; }
@media (prefers-reduced-motion: reduce) { .ls-faq__plus { transition: none; } }

/* --- 10 · Book a demo ------------------------------------------------------------ */
.ls-demo {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(24px, 4vw, 48px); align-items: start;
}
.ls-demo .ls-h2 { margin-top: 0; }
.ls-demo__list {
  list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column;
  gap: 10px; font-size: 15px; color: var(--text-strong);
}
.ls-demo__lead { max-width: 440px; margin: 12px 0 0; }
.ls-demo__list li { display: flex; gap: 10px; }
/* Phones get the short intro; the lede and extra checks return beside the form. */
@media (max-width: 719.98px) { .ls-demo__wide { display: none !important; } }
.ls-demo__aside { font-size: 14px; color: var(--muted); margin: 24px 0 0; }

.ls-formcard {
  background: var(--surface); border: 1px solid var(--panel-border); border-radius: var(--r-frame);
  padding: clamp(16px, 2.2vw, 24px); box-shadow: var(--shadow-panel);
}
.ls-form { display: flex; flex-direction: column; gap: 14px; }
.ls-form[hidden], .ls-success[hidden], .ls-fallback[hidden] { display: none; }
.ls-field { display: flex; flex-direction: column; gap: 6px; }
.ls-field label { font: 600 14px var(--font-ui); color: var(--ink); }
.ls-field__opt { font-weight: 400; color: var(--muted); }
.ls-input {
  height: 48px; width: 100%; min-width: 0; padding: 0 14px;
  border: 1px solid var(--border-input); border-radius: var(--r-control);
  background: var(--surface); color: var(--ink); font: 16px var(--font-ui);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ls-select {
  padding: 0 40px 0 12px; appearance: none; -webkit-appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236E6759' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
}
/* File pickers (COI review): the native "Choose File" button, restyled as a
   quiet secondary button so it matches the rest of the form. */
.ls-input[type="file"] { height: auto; min-height: 48px; padding: 6px 8px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.ls-input[type="file"]::file-selector-button {
  font: 600 14px var(--font-ui); color: var(--ink); background: var(--mist);
  border: 1px solid var(--border-input); border-radius: 8px; padding: 8px 14px; margin-right: 12px; cursor: pointer;
}
.ls-input[type="file"]::file-selector-button:hover { background: var(--surface); }
.ls-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--focus-halo); outline: none; }   /* app F6 */
.ls-input[aria-invalid="true"] { border-color: var(--error-border); }
.ls-field__error, .ls-form__error { font: 500 13px var(--font-ui); color: var(--danger-text); margin: 0; }
.ls-field__error[hidden], .ls-form__error[hidden] { display: none; }
.ls-btn--submit { height: 52px; font-size: 16px; margin-top: 4px; width: 100%; }
.ls-form__privacy { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0; text-align: center; }
/* Turnstile renders data-size="flexible": it fills the form width like the
   fields (Cloudflare's minimum is 300px). */
.cf-turnstile { min-height: 65px; width: 100%; }
.cf-turnstile iframe { width: 100% !important; }

.ls-success, .ls-fallback { display: flex; flex-direction: column; gap: 12px; padding: 8px 0; }
.ls-success:focus, .ls-fallback:focus { outline: none; }
.ls-success__icon {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--success-bg); color: var(--success-text); font: 600 20px var(--font-ui);
}
.ls-success__title { font: 600 22px/1.25 var(--font-ui); letter-spacing: -.02em; margin: 0; }
.ls-success__body { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; }
.ls-success__body b { color: var(--ink); font-weight: 600; }
.ls-success__again, .ls-fallback .ls-btn { align-self: flex-start; margin-top: 8px; font-size: 14px; padding: 12px 18px; }

/* Narrow phones (under 380px): Turnstile's flexible widget is at least 300px
   wide, so the form card borrows a little of the page gutter to fit it. */
@media (max-width: 379.98px) {
  .ls-formcard:has(.cf-turnstile) { margin-inline: -12px; padding-inline: 12px; }
}
