/* Landing page only (spec: LANDING.md + DESIGN.md tokens). Two signatures: The Aim (fit ring) and the Timeline rail.
   Sizes and colours come from kairo-tokens.css only. Components (nav, buttons, pills, cells) live in kairo-ui.css. */

/* ================================================================ shared bits */
@property --l-p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --l-n {
  syntax: "<integer>";
  inherits: true;
  initial-value: 0;
}

/* the small aim glyph (replaces the block cursor) */
.l-glyph {
  position: relative;
  display: inline-block;
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border: 1.5px solid var(--k-accent-bright);
  border-radius: 50%;
}
.l-glyph::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--k-accent-bright);
}
.l-eyebrow {
  color: var(--k-mute);
}
.l-announce .l-glyph {
  vertical-align: -1px;
}

/* section head: left-aligned against the rail */
.l-sec {
  position: relative;
}
.l-sec > .k-frame {
  position: relative;
}
.l-head {
  display: grid;
  justify-items: start;
  gap: var(--k-sp-4);
  padding: var(--k-band-pad) var(--k-hero-pad) var(--k-sp-7);
}
.l-head h2 {
  max-width: 880px;
}
.l-head > .k-body-md {
  max-width: 640px;
}
.l-band-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: var(--k-sp-6) var(--k-hero-pad);
  border-top: 1px solid var(--k-hairline);
}
.l-band-note > .k-icon {
  margin-top: 4px;
  color: var(--k-accent-bright);
}

/* demo card (sits on grid panels) */
.l-card {
  width: min(100%, 480px);
  background: var(--k-canvas);
  border: 1px solid var(--k-hairline-mid);
  border-radius: var(--k-r-lg);
  overflow: hidden;
}
.l-card__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--k-hairline);
  color: var(--k-mute);
}
.l-dl {
  margin: 0;
}
.l-dl > div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--k-hairline);
}
.l-dl dt {
  color: var(--k-mute);
}
.l-dl dd {
  margin: 0;
  color: var(--k-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.l-dl .l-mk {
  margin-left: auto;
}

/* status marks: shape + colour (never colour alone) */
.l-mk {
  position: relative;
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
}
.l-mk::before,
.l-mk::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
}
.l-mk--ok {
  color: var(--k-accent-bright);
}
.l-mk--ok::after {
  width: 4px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-1px) rotate(45deg);
}
.l-mk--ask {
  color: var(--k-warning);
}
.l-mk--ask::after {
  content: "?";
  display: grid;
  place-items: center;
  font-family: var(--k-mono);
  font-size: var(--k-caption-size);
  line-height: 1;
  font-weight: 600;
}
.l-mk--no {
  color: var(--k-mute);
}
.l-mk--no::before,
.l-mk--no::after {
  width: 8px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.l-mk--no::after {
  transform: rotate(-45deg);
}

/* footnote markers */
sup {
  font-size: var(--k-caption-size);
  line-height: 0;
  vertical-align: super;
}
.l-fn {
  margin-left: 2px;
  color: var(--k-link);
  font-family: var(--k-mono);
  font-size: var(--k-caption-size);
}
.l-fn:hover {
  text-decoration: underline;
}

/* ================================================================ The Aim (fit-score target ring) */
.l-aim {
  --score: 0;
  --l-v: var(--k-accent-bright);
  --l-sw: 3;
  --l-p: var(--score);
  --l-n: var(--score);
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  flex: none;
  width: var(--l-size, 140px);
  aspect-ratio: 1;
  color: var(--k-ink);
  transition:
    --l-p 1.2s var(--k-ease-out),
    --l-n 1.2s var(--k-ease-out);
}
.l-aim--apply {
  --l-v: var(--k-accent-bright);
}
.l-aim--maybe {
  --l-v: var(--k-warning);
}
.l-aim--skip {
  --l-v: var(--k-mute);
}
.l-s78 {
  --score: 78;
}
.l-s71 {
  --score: 71;
}
.l-s44 {
  --score: 44;
}
.l-aim__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.l-aim__svg circle,
.l-aim__svg line {
  fill: none;
}
.l-aim__ring {
  stroke: var(--k-hairline-mid);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.l-aim__track {
  stroke: var(--k-hairline-strong);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}
.l-aim__dial {
  stroke: var(--k-hairline-strong);
  stroke-width: 3;
  stroke-dasharray: 0.3 4.7;
}
.l-aim__arc {
  stroke: var(--l-v);
  stroke-width: var(--l-sw);
  stroke-linecap: butt;
  stroke-dasharray: 100 100;
  stroke-dashoffset: calc((100 - var(--l-p)) * 1px);
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
  transition: stroke var(--k-dur) ease;
}
.l-aim__tick {
  stroke: var(--k-ink);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
  transform: rotate(calc(var(--l-p) * 3.6deg));
  transform-origin: 60px 60px;
}
.l-aim__num::after {
  counter-reset: l-n var(--l-n);
  content: counter(l-n);
}
.l-aim__num {
  font-variant-numeric: tabular-nums;
  font-weight: 460;
  letter-spacing: -0.01em;
}
.l-aim--md {
  --l-size: 140px;
  --l-sw: 2.6;
}
.l-aim--md .l-aim__num {
  font-size: var(--k-h-lg-size);
  line-height: var(--k-h-lg-lh);
}
.l-aim--lg {
  --l-size: 260px;
  --l-sw: 1.6;
}
.l-aim--lg .l-aim__num {
  font-size: var(--k-display-size);
  line-height: var(--k-display-lh);
  font-weight: var(--k-display-weight);
}
.l-aim__word {
  color: var(--l-v);
  transition: color var(--k-dur) ease;
}
.l-aim--sm {
  --l-size: 52px;
  --l-sw: 7;
}
.l-aim--sm .l-aim__num {
  font-size: var(--k-body-sm-size);
  line-height: var(--k-body-sm-lh);
  font-weight: 500;
}
.l-aim--xs {
  --l-size: 36px;
  --l-sw: 9;
}

/* the hero ring fills on load (CSS only, no JS); others fill when they come into view */
.l-aim--auto {
  animation: l-fill 1.4s var(--k-ease-out) 0.3s backwards;
}
@keyframes l-fill {
  from {
    --l-p: 0;
    --l-n: 0;
  }
}
.k-js .l-play:not(.is-play) .l-aim,
.k-js .l-play:not(.is-play).l-aim {
  --l-p: 0;
  --l-n: 0;
}

/* staged reveal inside demos: .l-in children with delays .l-d1 … .l-d5 */
@keyframes l-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.l-hero .l-in,
.l-job__verdict {
  animation: l-up var(--k-dur-slow) ease both;
}
.l-job__verdict {
  animation-delay: 1.5s;
}
.l-hero .l-d1 {
  animation-delay: 1.8s;
}
.l-hero .l-d2 {
  animation-delay: 2.05s;
}
.l-hero .l-d3 {
  animation-delay: 2.3s;
}
.l-hero .l-d4 {
  animation-delay: 2.7s;
}
.k-js .l-play:not(.is-play) .l-in {
  opacity: 0;
}
.l-play.is-play .l-in {
  animation: l-up var(--k-dur-slow) ease both;
}
.l-play.is-play .l-d1 {
  animation-delay: 0.35s;
}
.l-play.is-play .l-d2 {
  animation-delay: 0.6s;
}
.l-play.is-play .l-d3 {
  animation-delay: 0.85s;
}
.l-play.is-play .l-d4 {
  animation-delay: 1.1s;
}
.l-play.is-play .l-d5 {
  animation-delay: 1.35s;
}

/* ================================================================ The Timeline rail
   The left frame rail is the job journey. .l-rail sits exactly on it; the dot is sticky at mid-screen and drags a green
   line behind it. Ticks (.l-tick) are stations; landing.js marks the ones above the dot with .is-past. */
.l-main {
  position: relative;
}
.l-rail {
  position: absolute;
  top: 0;
  bottom: var(--l-rail-end, 0px);
  left: calc(
    (100% - min(var(--k-frame), 100% - 2 * var(--k-rail-gap))) / 2 - 10px
  );
  width: 21px;
  overflow: clip;
  pointer-events: none;
  z-index: 4;
}
.l-rail__dot {
  position: sticky;
  top: calc(50vh - 4.5px);
  display: block;
  width: 9px;
  height: 9px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--k-accent-bright);
  box-shadow:
    0 0 0 3px var(--k-canvas),
    0 0 0 4px var(--k-accent);
}
.l-rail__dot::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: calc(100% + 4px);
  width: 1px;
  height: 400vh;
  background: var(--k-accent);
}
/* minor station: a small node where each band meets the rail */
.l-tick {
  position: absolute;
  z-index: 3;
  top: -4px;
  left: calc(
    (100% - min(var(--k-frame), 100% - 2 * var(--k-rail-gap))) / 2 - 3px
  );
  width: 7px;
  height: 7px;
  border: 1px solid var(--k-hairline-strong);
  border-radius: 50%;
  background: var(--k-canvas);
  transition:
    background-color var(--k-dur) ease,
    border-color var(--k-dur) ease;
}
.l-tick.is-past {
  background: var(--k-accent);
  border-color: var(--k-accent);
}
/* major station: dated label (journey status) */
.l-tick--major {
  top: 24px;
  left: -5px;
  width: auto;
  height: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--k-mono);
  font-size: var(--k-mono-xs-size);
  line-height: var(--k-mono-xs-lh);
  font-weight: var(--k-mono-xs-weight);
  letter-spacing: var(--k-mono-xs-track);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--k-mute);
}
.l-tick--major::before {
  content: "";
  width: 9px;
  height: 9px;
  box-sizing: border-box;
  border: 1px solid var(--k-hairline-strong);
  border-radius: 50%;
  background: var(--k-canvas);
  transition:
    background-color var(--k-dur) ease,
    border-color var(--k-dur) ease;
}
.l-tick--major b {
  font-weight: inherit;
  color: var(--k-faint);
}
.l-tick--major b::after {
  content: "·";
  margin-left: 8px;
}
.l-tick--major.is-past {
  background: none;
  color: var(--k-accent-bright);
}
.l-tick--major.is-past::before {
  background: var(--k-accent-bright);
  border-color: var(--k-accent-bright);
}
.l-tick--major.is-past b {
  color: var(--k-mute);
}

/* ================================================================ S2 hero */
.l-hero__in {
  overflow: clip;
  padding: 88px var(--k-hero-pad) 96px;
}
.l-notice {
  margin-bottom: var(--k-sp-6);
  max-width: 560px;
}
.l-hero__title {
  margin-top: var(--k-sp-5);
  display: flex;
  flex-direction: column;
}
.l-hero__l1 {
  color: var(--k-mute);
}
.l-hero__lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: var(--k-sp-8);
  align-items: start;
  margin-top: var(--k-sp-6);
}
.l-hero__more {
  display: grid;
  gap: var(--k-sp-6);
  justify-items: start;
}
.l-hero__sub {
  max-width: 520px;
}
.l-micro {
  color: var(--k-faint);
}
.l-hero__card {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * (var(--k-display-lh) + var(--k-sp-6)));
}
.l-ripples {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 1000px;
  height: 1000px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.l-ripples circle {
  fill: none;
  stroke: var(--k-hairline);
  stroke-width: 1;
}
.l-job {
  background: var(--k-surface-1);
  border: 1px solid var(--k-hairline-mid);
  border-radius: var(--k-r-lg);
}
.l-job__bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--k-hairline);
  color: var(--k-mute);
}
.l-job__top {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--k-sp-5);
  align-items: center;
  padding: var(--k-sp-5) 20px;
}
.l-job__role {
  display: grid;
  gap: 4px;
  justify-items: start;
}
.l-job__verdict {
  margin-top: 8px;
}
.l-job__why {
  display: grid;
  gap: 10px;
  padding: var(--k-sp-4) 20px var(--k-sp-5);
  border-top: 1px solid var(--k-hairline);
  color: var(--k-text);
}
.l-job__why li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
}
.l-job__why .k-icon {
  margin-top: 2px;
  color: var(--k-accent-bright);
}
.l-job__next {
  display: flex;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--k-hairline);
  color: var(--k-ink);
}

/* ================================================================ S3 promise strip */
.l-promise > li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: var(--k-sp-6) 40px;
}
.l-promise .k-icon {
  margin-bottom: 12px;
  color: var(--k-accent-bright);
}

/* ================================================================ S4 the problem */
.l-stats {
  border-top: 1px solid var(--k-hairline);
}
.l-stat {
  margin: 0;
  display: grid;
  align-content: start;
  gap: var(--k-sp-4);
  padding: var(--k-sp-7);
}
.l-units {
  width: 120px;
  height: 120px;
  margin-bottom: var(--k-sp-4);
}
.l-units--wide {
  width: 160px;
}
.l-u {
  fill: var(--k-hairline-strong);
}
.l-u-on {
  fill: var(--k-mute);
}
.l-u-hollow {
  fill: none;
  stroke: var(--k-mute);
  stroke-width: 1;
}
.l-u-bg {
  fill: var(--k-canvas);
}
.l-u-hire {
  fill: var(--k-accent-bright);
}
.l-u-ring {
  fill: none;
  stroke: var(--k-accent-bright);
  stroke-width: 0.8;
}
.l-stat figcaption {
  display: grid;
  gap: var(--k-sp-3);
}
.l-source {
  color: var(--k-faint);
}
.l-closing {
  padding: var(--k-sp-7) var(--k-hero-pad);
  border-top: 1px solid var(--k-hairline);
  color: var(--k-mute);
}

/* ================================================================ S5 how it works (the Timeline section) */
.l-stops {
  border-top: 1px solid var(--k-hairline);
}
.l-stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.l-stop + .l-stop {
  border-top: 1px solid var(--k-hairline);
}
.l-stop__text {
  display: grid;
  align-content: start;
  gap: var(--k-sp-4);
  padding: 80px var(--k-hero-pad) var(--k-sp-8);
}
.l-stop__text .k-body-md {
  max-width: 400px;
}
.l-stop__num {
  color: var(--k-faint);
  transition: color var(--k-dur) ease;
}
.l-stop.is-active .l-stop__num {
  color: var(--k-accent-bright);
}
.l-stop__demo {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: var(--k-sp-7);
  border-left: 1px solid var(--k-hairline);
}
.l-facts__name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 16px 14px;
}
.l-private {
  color: var(--k-mute) !important;
}
.l-private .k-icon {
  color: var(--k-accent-bright);
}
/* chat demo */
.l-chat {
  display: grid;
  gap: 14px;
  padding: 16px;
}
.l-bubble {
  justify-self: end;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px 12px 4px 12px;
  background: var(--k-surface-2);
  color: var(--k-ink);
  overflow-wrap: anywhere;
}
.l-reply {
  display: grid;
  gap: 12px;
  padding: 14px 0 0;
  border: 1px solid var(--k-hairline-mid);
  border-radius: 10px;
  background: var(--k-surface-1);
  overflow: hidden;
}
.l-reply > p.k-body-sm {
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.l-reply__head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 0 16px;
}
.l-reply .l-dl > div {
  grid-template-columns: 84px minmax(0, 1fr);
}
/* files demo */
.l-files li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--k-hairline);
  color: var(--k-mute);
}
.l-files li:first-child {
  border-top: 0;
}
.l-files li > span:nth-child(2) {
  display: grid;
  min-width: 0;
}
.l-files .k-code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.l-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--k-accent-bright);
}
/* status history (also used in the dashboard drawer) */
.l-history {
  display: grid;
  padding: 0 16px 14px;
}
.l-history li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--k-mute);
}
.l-history li > :first-child {
  color: var(--k-faint);
}
.l-history li.is-new {
  color: var(--k-ink);
}
.l-history li.is-new > :first-child {
  color: var(--k-mute);
}
.l-history .k-pill {
  justify-self: start;
}

/* ================================================================ S6 fit check (The Aim, big) */
.l-fit {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  border-top: 1px solid var(--k-hairline);
}
.l-fit__stage {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--k-sp-6);
  padding: var(--k-sp-8) var(--k-sp-7) var(--k-sp-6);
}
.l-fit__dial {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-template-areas:
    "l1 aim r1"
    "l2 aim r2"
    "l3 aim r3";
  column-gap: var(--k-sp-5);
  align-items: center;
}
.l-fit__dial .l-aim {
  grid-area: aim;
}
.l-crit {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 8px;
  align-items: center;
  align-content: center;
  justify-content: start;
  color: var(--k-mute);
}
.l-crit .k-mono-xs {
  color: var(--k-mute);
}
.l-crit__v {
  grid-column: 2;
  color: var(--k-ink);
}
.l-crit--l1 {
  grid-area: l1;
}
.l-crit--l2 {
  grid-area: l2;
}
.l-crit--l3 {
  grid-area: l3;
}
.l-crit--r1 {
  grid-area: r1;
}
.l-crit--r2 {
  grid-area: r2;
}
.l-crit--r3 {
  grid-area: r3;
}
@media (min-width: 1024px) {
  /* left labels read toward the ring; top and bottom rows hug its curve */
  .l-crit--l1,
  .l-crit--l2,
  .l-crit--l3 {
    grid-template-columns: auto auto;
    justify-content: end;
    text-align: right;
  }
  .l-crit--l1 .l-mk,
  .l-crit--l2 .l-mk,
  .l-crit--l3 .l-mk {
    order: 2;
  }
  .l-crit--l1 .l-crit__v,
  .l-crit--l2 .l-crit__v,
  .l-crit--l3 .l-crit__v {
    grid-column: 1;
  }
  .l-crit--l1,
  .l-crit--l3 {
    transform: translateX(32px);
  }
  .l-crit--r1,
  .l-crit--r3 {
    transform: translateX(-32px);
  }
}
.l-fit__job {
  color: var(--k-mute);
  text-align: center;
}
.l-verdicts {
  display: grid;
  border-left: 1px solid var(--k-hairline);
}
.l-verdict {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 0;
  padding: var(--k-sp-6) 40px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  transition: background-color var(--k-dur-fast);
}
.l-verdict + .l-verdict {
  border-top: 1px solid var(--k-hairline);
}
.l-verdict:hover {
  background: var(--k-surface-1);
}
.l-verdict[aria-pressed="true"] {
  background: var(--k-surface-1);
}
.l-verdict::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
}
.l-verdict--apply[aria-pressed="true"]::before {
  background: var(--k-accent-bright);
}
.l-verdict--maybe[aria-pressed="true"]::before {
  background: var(--k-warning);
}
.l-verdict--skip[aria-pressed="true"]::before {
  background: var(--k-mute);
}
.l-verdict__text {
  display: grid;
  gap: 6px;
}
.l-verdict .k-body-md {
  color: var(--k-mute);
}
.l-verdict:focus-visible {
  outline-offset: -2px;
}

/* ================================================================ S7 truth check */
.l-truth {
  padding: var(--k-sp-8) var(--k-hero-pad);
  border-top: 1px solid var(--k-hairline);
}
.l-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  max-width: 1060px;
  margin-inline: auto;
}
.l-sheet__page {
  display: grid;
  gap: 4px;
  padding: var(--k-sp-6) 40px var(--k-sp-7);
  background: var(--k-canvas);
  border: 1px solid var(--k-hairline-mid);
  border-radius: var(--k-r-lg);
}
.l-sheet__meta {
  margin-bottom: var(--k-sp-4);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--k-hairline);
}
.l-sheet__lines {
  display: grid;
  gap: 14px;
  margin-top: var(--k-sp-5);
  color: var(--k-text);
}
.l-sheet__lines li {
  position: relative;
  padding-left: 22px;
}
.l-sheet__lines li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--k-mute);
}
.l-fixline {
  margin-inline: -12px;
  padding: 6px 12px 6px 34px !important;
  border-radius: var(--k-r-sm);
  background: var(--k-surface-1);
  box-shadow: inset 2px 0 0 var(--k-accent-bright);
}
.l-fixline::before {
  left: 14px !important;
  top: 18px !important;
}
.l-num {
  white-space: nowrap;
}
.l-bad {
  position: relative;
  padding: 0 3px;
  border-radius: 3px;
  text-decoration: none;
  color: var(--k-warning);
  background: var(--k-warning-soft);
}
.l-bad::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 52%;
  height: 1.5px;
  background: var(--k-warning);
  transform-origin: left center;
}
.l-good {
  margin-left: 6px;
  text-decoration: none;
  color: var(--k-accent-bright);
  border-bottom: 1px solid var(--k-accent-bright);
}
.l-flag {
  position: relative;
  display: grid;
  gap: 6px;
  margin-left: var(--k-sp-6);
  padding: 20px;
  background: var(--k-surface-1);
  border: 1px solid var(--k-hairline-mid);
  border-radius: var(--k-r-lg);
}
.l-flag::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: var(--k-sp-6);
  height: 1px;
  background: var(--k-hairline-strong);
}
.l-flag__head {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  color: var(--k-mute);
}
.l-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: var(--k-sp-5) var(--k-hero-pad);
  border-top: 1px solid var(--k-hairline);
  color: var(--k-mute);
}
.l-proof > span + span::before {
  content: "·";
  margin-right: 28px;
  color: var(--k-faint);
}
.l-proof__end {
  color: var(--k-accent-bright);
}
/* the correction plays once in view */
.k-js .l-sheet.l-play:not(.is-play) .l-bad {
  background: transparent;
  color: inherit;
}
.k-js .l-sheet.l-play:not(.is-play) .l-bad::after {
  transform: scaleX(0);
}
.k-js .l-sheet.l-play:not(.is-play) .l-good,
.k-js .l-sheet.l-play:not(.is-play) .l-flag {
  opacity: 0;
}
.k-js .l-sheet.l-play:not(.is-play) .l-fixline {
  background: transparent;
  box-shadow: none;
}
.l-sheet.is-play .l-fixline {
  animation: l-mark var(--k-dur-slow) ease 0.3s both;
}
.l-sheet.is-play .l-bad {
  animation: l-mark var(--k-dur-slow) ease 0.3s both;
}
.l-sheet.is-play .l-bad::after {
  animation: l-strike var(--k-dur-slow) ease 1.1s both;
}
.l-sheet.is-play .l-flag {
  animation: l-up var(--k-dur-slow) ease 0.7s both;
}
.l-sheet.is-play .l-good {
  animation: l-up var(--k-dur-slow) ease 1.6s both;
}
@media (min-width: 1024px) {
  .l-flag {
    margin-top: 112px;
  }
}
@keyframes l-mark {
  from {
    background-color: transparent;
    box-shadow: none;
    color: inherit;
  }
}
@keyframes l-strike {
  from {
    transform: scaleX(0);
  }
}

/* ================================================================ S8 India + abroad */
.l-abroad {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border-top: 1px solid var(--k-hairline);
}
.l-board__head,
.l-board__rows li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr);
  gap: var(--k-sp-5);
  align-items: center;
  padding-inline: var(--k-hero-pad);
}
.l-board__head {
  padding-block: 16px 12px;
  color: var(--k-faint);
}
.l-board__rows li {
  position: relative;
  padding-block: 13px;
  border-top: 1px solid var(--k-hairline);
}
.l-code {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 26px;
  border: 1px solid var(--k-hairline-mid);
  border-radius: var(--k-r-xs);
  color: var(--k-mute);
  font-family: var(--k-mono);
  font-size: var(--k-mono-xs-size);
  font-weight: var(--k-mono-xs-weight);
  letter-spacing: var(--k-mono-xs-track);
}
.l-board__rows li.is-on {
  background: var(--k-surface-1);
}
.l-board__rows li.is-on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--k-accent-bright);
}
.l-board__rows li.is-on .l-code {
  border-color: var(--k-accent);
  color: var(--k-accent-bright);
}
.l-abroad__side {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--k-sp-5);
  padding: var(--k-sp-7);
  border-left: 1px solid var(--k-hairline);
}
.l-route {
  display: grid;
  gap: 4px;
  padding-top: 16px;
}
.l-route > p {
  padding-inline: 16px;
}
.l-route > .l-dl {
  margin-top: 12px;
}
.l-route__path {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--k-mute);
}
.l-route__path i {
  flex: 1;
  height: 0;
  border-top: 1px dashed var(--k-hairline-strong);
}
.l-abroad__note {
  max-width: 380px;
  text-align: center;
}

/* ================================================================ S9 dashboard */
.l-dash {
  padding: var(--k-sp-8) var(--k-hero-pad);
  border-top: 1px solid var(--k-hairline);
}
.l-app {
  background: var(--k-canvas);
  border: 1px solid var(--k-hairline-mid);
  border-radius: var(--k-r-lg);
  overflow: hidden;
}
.l-app__bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--k-hairline);
  color: var(--k-mute);
}
.l-app__body {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) 300px;
  min-height: 400px;
}
.l-app__side {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px 10px;
  border-right: 1px solid var(--k-hairline);
}
.l-app__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 12px;
  color: var(--k-ink);
  font-weight: 500;
}
.l-app__side .k-mono-xs {
  padding: 12px 8px 4px;
}
.l-app__side span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--k-r-sm);
  color: var(--k-body);
}
.l-app__side span b {
  margin-left: auto;
  color: var(--k-faint);
}
.l-app__side span.is-on {
  background: var(--k-surface-1);
  box-shadow: inset 0 0 0 1px var(--k-hairline-mid);
  color: var(--k-ink);
}
.l-app__side span.is-on .k-icon {
  color: var(--k-accent-bright);
}
.l-app__main {
  min-width: 0;
  padding: 14px 16px;
}
.l-app__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.l-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--k-hairline-strong);
  border-radius: var(--k-r-sm);
  color: var(--k-ink);
  white-space: nowrap;
}
.l-chip b {
  font-weight: 400;
  color: var(--k-faint);
}
.l-chip--dash {
  border-style: dashed;
  color: var(--k-mute);
}
.l-app__count {
  margin-left: auto;
}
.l-iconbtn {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--k-hairline-strong);
  border-radius: var(--k-r-sm);
  color: var(--k-mute);
}
.l-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.l-table th {
  height: 32px;
  padding: 0 10px;
  text-align: left;
  font-weight: inherit;
  color: var(--k-mute);
  background: var(--k-surface-1);
  border-block: 1px solid var(--k-hairline);
}
.l-table th:first-child {
  width: 44%;
}
.l-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--k-hairline);
  color: var(--k-text);
  white-space: nowrap;
}
.l-table td:first-child b,
.l-table td:first-child span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l-table td:first-child b {
  font-weight: 500;
  color: var(--k-ink);
}
.l-table td:first-child span {
  font-size: var(--k-caption-size);
  line-height: var(--k-caption-lh);
  color: var(--k-mute);
}
.l-table tr.is-sel td {
  background: var(--k-surface-2);
}
.l-table tr.is-sel td:first-child {
  box-shadow: inset 2px 0 0 var(--k-accent-bright);
}
.l-table tr.is-faded td {
  opacity: 0.5;
}
.l-bar {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 4px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--k-surface-3);
  overflow: hidden;
}
.l-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: var(--k-accent-bright);
}
.l-bar.is-mid::after {
  background: var(--k-warning);
}
.l-bar.is-low::after {
  background: var(--k-mute);
}
.l-w78 {
  --w: 78%;
}
.l-w74 {
  --w: 74%;
}
.l-w71 {
  --w: 71%;
}
.l-w66 {
  --w: 66%;
}
.l-w62 {
  --w: 62%;
}
.l-w44 {
  --w: 44%;
}
.l-drawer {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px 18px;
  background: var(--k-surface-1);
  border-left: 1px solid var(--k-hairline-strong);
}
.l-drawer__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 6px;
}
.l-drawer__h {
  padding: 12px 0 4px;
  border-top: 1px solid var(--k-hairline);
}
.l-drawer .l-history {
  padding: 0;
}

/* ================================================================ S10 privacy */
.l-vaults {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--k-hairline);
}
.l-vault {
  display: grid;
  align-content: start;
  gap: var(--k-sp-5);
  padding: var(--k-sp-7) var(--k-hero-pad) var(--k-sp-8);
}
.l-vault--claude {
  background: var(--k-surface-1);
}
.l-vault--dash {
  border-left: 1px solid var(--k-hairline);
}
.l-vault__head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--k-ink);
}
.l-vault--claude .l-vault__head .k-icon {
  color: var(--k-accent-bright);
}
.l-vault--dash .l-vault__head .k-icon {
  color: var(--k-mute);
}
.l-vault__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--k-hairline-mid);
  color: var(--k-ink);
}
.l-vault--dash .l-vault__list li {
  border-top-color: var(--k-hairline);
  color: var(--k-text);
}
.l-vault__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.l-vault--claude .l-vault__list li::before {
  background: var(--k-accent-bright);
}
.l-vault--dash .l-vault__list li::before {
  border: 1px solid var(--k-mute);
}
.l-vault__more {
  justify-self: start;
}
.l-vault__gate {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--k-hairline-strong);
  border-radius: 50%;
  background: var(--k-canvas);
  color: var(--k-accent-bright);
}

/* ================================================================ S11 setup */
.l-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--k-hairline);
}
.l-steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--k-sp-5);
  padding: 40px var(--k-sp-6) var(--k-sp-7);
}
.l-steps li + li {
  border-left: 1px solid var(--k-hairline);
}
.l-steps li::after {
  content: "";
  position: absolute;
  top: 56px;
  left: calc(var(--k-sp-6) + 40px);
  right: 0;
  height: 1px;
  background: var(--k-hairline-mid);
}
.l-steps li + li::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 0;
  width: var(--k-sp-6);
  height: 1px;
  background: var(--k-hairline-mid);
}
.l-steps li:last-child::after {
  display: none;
}
.l-steps__n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--k-hairline-strong);
  border-radius: 50%;
  color: var(--k-ink);
}
.l-steps__last .l-steps__n {
  border-color: var(--k-accent-bright);
  color: var(--k-accent-bright);
}
.l-say {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border: 1px solid var(--k-hairline-strong);
  border-radius: var(--k-r-sm);
  background: var(--k-surface-1);
  color: var(--k-ink);
}

/* ================================================================ S12 price */
.l-price {
  padding: var(--k-sp-8) var(--k-hero-pad);
  border-top: 1px solid var(--k-hairline);
}
.l-price__card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  background: var(--k-surface-1);
  border: 1px solid var(--k-hairline-mid);
  border-radius: var(--k-r-lg);
  overflow: hidden;
}
.l-price__card > * {
  padding: 40px;
}
.l-price__card > * + * {
  border-left: 1px solid var(--k-hairline-mid);
}
.l-price__tag {
  display: grid;
  align-content: center;
  gap: 8px;
}
.l-price__list {
  display: grid;
  align-content: center;
}
.l-price__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--k-ink);
}
.l-price__list li + li {
  border-top: 1px solid var(--k-hairline-mid);
}
.l-price__list .k-icon {
  color: var(--k-accent-bright);
}
.l-price__need {
  display: grid;
  align-content: center;
  gap: 8px;
}
.l-price__need .k-actions {
  margin-top: var(--k-sp-4);
}

/* ================================================================ S13 story */
.l-story {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
}
.l-story__photo {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--k-sp-4);
  min-height: 420px;
  border-right: 1px solid var(--k-hairline);
}
.l-story__img {
  object-fit: cover;
}
.l-story__initials,
.l-story__img {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border: 1px solid var(--k-hairline-mid);
  border-radius: 50%;
  background: var(--k-surface-1);
  color: var(--k-mute);
  box-shadow:
    0 0 0 16px var(--k-canvas),
    0 0 0 17px var(--k-hairline);
}
.l-story__text {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: var(--k-sp-4);
  padding: var(--k-band-pad) var(--k-hero-pad);
}
.l-story__body {
  max-width: 720px;
  margin-top: var(--k-sp-4);
  color: var(--k-text);
  font-weight: 400;
}
.l-story__sign {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--k-sp-2);
}

/* ================================================================ S14 FAQ */
.l-faq {
  border-top: 1px solid var(--k-hairline);
}
.l-faq__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--k-hairline);
}
.l-faq__tab {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 20px var(--k-sp-6);
  border: 0;
  background: transparent;
  color: var(--k-mute);
  text-align: left;
  transition:
    background-color var(--k-dur-fast),
    color var(--k-dur-fast);
}
.l-faq__tab + .l-faq__tab {
  border-left: 1px solid var(--k-hairline);
}
.l-faq__tab:hover {
  color: var(--k-ink);
}
.l-faq__tab .l-glyph {
  border-color: var(--k-hairline-strong);
  transition: border-color var(--k-dur) var(--k-ease-out);
}
.l-faq__tab .l-glyph::after {
  background: transparent;
}
.l-faq__tab > .k-mono-xs {
  margin-left: auto;
  color: var(--k-faint);
}
.l-faq__tab[aria-selected="true"] {
  background: var(--k-surface-1);
  color: var(--k-ink);
}
.l-faq__tab[aria-selected="true"] .l-glyph {
  border-color: var(--k-accent-bright);
}
.l-faq__tab[aria-selected="true"] .l-glyph::after {
  background: var(--k-accent-bright);
}
.l-faq__tab:focus-visible {
  outline-offset: -2px;
}
.l-faq__panel {
  max-width: 960px;
  padding: var(--k-sp-2) var(--k-hero-pad) var(--k-sp-7);
}
.l-q {
  border-bottom: 1px solid var(--k-hairline);
}
.l-q summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--k-sp-5);
  padding: var(--k-sp-5) 0;
  list-style: none;
  cursor: pointer;
}
.l-q summary::-webkit-details-marker {
  display: none;
}
.l-q summary i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.l-q summary i::before,
.l-q summary i::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 1.5px;
  background: var(--k-mute);
  transition: transform var(--k-dur-fast) ease;
}
.l-q summary i::after {
  transform: rotate(90deg);
}
.l-q[open] summary i::after {
  transform: rotate(0deg);
}
.l-q summary:hover i::before,
.l-q summary:hover i::after {
  background: var(--k-ink);
}
.l-q > p {
  max-width: 720px;
  padding: 0 var(--k-sp-7) var(--k-sp-5) 0;
  color: var(--k-mute);
}
.l-q > p a {
  color: var(--k-link);
}
.l-q > p a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================================================================ S15 final CTA */
.l-final__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: var(--k-sp-8);
  padding: var(--k-band-pad) var(--k-hero-pad);
}
.l-final__copy {
  position: relative;
  display: grid;
  justify-items: start;
  gap: var(--k-sp-6);
  padding-top: 48px;
}
.l-final__copy h2 {
  max-width: 760px;
}
.l-tick--end {
  top: 0;
  left: calc(-1 * var(--k-hero-pad) - 5px);
}
.l-final__target svg {
  width: 100%;
  height: auto;
}
.l-final__target circle {
  fill: none;
  stroke: var(--k-hairline-mid);
  stroke-width: 1;
  transition: stroke 600ms ease;
}
.l-final__target .l-final__bull {
  fill: var(--k-surface-3);
  stroke: none;
  transition: fill 600ms ease;
}
.l-final.is-arrived .l-final__target circle:nth-child(4) {
  stroke: var(--k-accent);
}
.l-final.is-arrived .l-final__target .l-final__bull {
  fill: var(--k-accent-bright);
}

/* ================================================================ footer */
.l-foot__in {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr));
}
.l-foot__in > * {
  padding: var(--k-sp-7) var(--k-sp-6);
}
.l-foot__in > * + * {
  border-left: 1px solid var(--k-hairline);
}
.l-foot__brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding-left: var(--k-hero-pad) !important;
}
.l-foot__brand .k-label {
  display: flex;
  align-items: center;
  margin-top: 8px;
  color: var(--k-ink);
}
.l-foot__brand .k-body-sm {
  max-width: 340px;
}
.l-foot__col {
  display: grid;
  align-content: start;
  gap: 10px;
}
.l-foot__col p {
  margin-bottom: 4px;
}
.l-foot__col a {
  justify-self: start;
  color: var(--k-body);
  font-size: var(--k-body-sm-size);
  line-height: var(--k-body-sm-lh);
}
.l-foot__col a:hover {
  color: var(--k-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.l-foot__notes {
  padding: var(--k-sp-6) var(--k-hero-pad);
  border-top: 1px solid var(--k-hairline);
}
.l-notes {
  display: grid;
  gap: 6px;
  padding-left: 20px;
  list-style: decimal;
  color: var(--k-mute);
}
.l-notes a {
  color: var(--k-link);
}
.l-notes a:hover {
  text-decoration: underline;
}
.l-notes li:target {
  color: var(--k-ink);
}
.l-back {
  font-family: var(--k-mono);
}
.l-foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px var(--k-hero-pad);
  border-top: 1px solid var(--k-hairline);
  color: var(--k-faint);
}

/* ================================================================ tablet (≤ 1023px) */
@media (max-width: 1023px) {
  .l-hero__lower {
    grid-template-columns: 1fr;
    gap: var(--k-sp-7);
  }
  .l-hero__card {
    margin-top: 0;
    max-width: 480px;
  }
  .l-ripples {
    display: none;
  }
  .l-verdicts {
    order: -1;
  }
  .l-stop,
  .l-fit,
  .l-abroad,
  .l-story {
    grid-template-columns: 1fr;
  }
  .l-stop__text {
    padding-bottom: var(--k-sp-6);
  }
  .l-stop__demo,
  .l-abroad__side {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--k-hairline);
  }
  .l-verdicts {
    border-left: 0;
    border-bottom: 1px solid var(--k-hairline);
  }
  .l-fit__dial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas:
      "aim aim"
      "l1 r1"
      "l2 r2"
      "l3 r3";
    row-gap: var(--k-sp-5);
  }
  .l-fit__dial .l-aim {
    justify-self: center;
    margin-bottom: var(--k-sp-4);
  }
  .l-sheet {
    grid-template-columns: 1fr;
  }
  .l-flag {
    margin: var(--k-sp-5) 0 0;
  }
  .l-flag::before {
    right: auto;
    left: 40px;
    top: auto;
    bottom: 100%;
    width: 1px;
    height: var(--k-sp-5);
  }
  .l-app__body {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .l-drawer {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--k-hairline-strong);
  }
  .l-steps {
    grid-template-columns: 1fr;
  }
  .l-steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: var(--k-sp-4);
    padding: var(--k-sp-4) var(--k-hero-pad);
  }
  .l-steps li + li {
    border-left: 0;
    border-top: 1px solid var(--k-hairline);
  }
  .l-steps li::after,
  .l-steps li + li::before {
    display: none;
  }
  .l-price__card {
    grid-template-columns: 1fr 1fr;
  }
  .l-price__need {
    grid-column: 1 / -1;
    border-left: 0 !important;
    border-top: 1px solid var(--k-hairline-mid);
  }
  .l-story__photo {
    min-height: 0;
    padding: var(--k-sp-7) 0 0;
    border-right: 0;
  }
  .l-story__text {
    padding-top: var(--k-sp-7);
  }
  .l-final__in {
    grid-template-columns: minmax(0, 1fr) 160px;
  }
  .l-foot__in {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .l-foot__brand {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--k-hairline);
  }
  .l-foot__in > :nth-child(2) {
    border-left: 0;
    padding-left: var(--k-hero-pad);
  }
}

/* ================================================================ phone (≤ 640px) */
@media (max-width: 640px) {
  /* the rail moves into the 20px gutter */
  .l-rail {
    left: 0;
  }
  .l-tick {
    left: 7px;
  }
  .l-tick--major {
    left: 6px;
  }
  .l-head,
  .l-band-note,
  .l-closing,
  .l-proof,
  .l-foot__notes,
  .l-foot__legal {
    padding-inline: var(--k-gutter);
  }
  .l-head {
    padding-top: 64px;
    padding-bottom: var(--k-sp-6);
  }
  .l-band-note {
    align-items: flex-start;
  }
  .l-hero__in {
    padding: 48px var(--k-gutter) 56px;
  }
  .l-hero__title {
    margin-top: var(--k-sp-4);
  }
  .l-hero__lower {
    margin-top: var(--k-sp-5);
  }
  .l-hero__actions .k-btn {
    padding-inline: 16px;
  }
  .l-job__top {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: var(--k-sp-4);
    padding: var(--k-sp-4);
  }
  .l-aim--md {
    --l-size: 104px;
    --l-sw: 3.2;
  }
  .l-aim--md .l-aim__num {
    font-size: var(--k-h-md-size);
    line-height: var(--k-h-md-lh);
  }
  .l-job__bar,
  .l-job__why,
  .l-job__next {
    padding-inline: var(--k-sp-4);
  }
  .l-promise > li {
    padding: 20px var(--k-gutter);
  }
  .l-stat {
    padding: var(--k-sp-6) var(--k-gutter);
  }
  .l-stop__text {
    padding: 64px var(--k-gutter) var(--k-sp-5);
  }
  .l-stop__demo,
  .l-fit__stage,
  .l-abroad__side,
  .l-truth,
  .l-dash,
  .l-price {
    padding: var(--k-sp-6) var(--k-gutter);
  }
  .l-dl > div {
    grid-template-columns: 92px minmax(0, 1fr);
    padding-inline: 12px;
  }
  .l-chat {
    padding: 12px;
  }
  .l-reply__head {
    grid-template-columns: 52px minmax(0, 1fr);
    padding-inline: 12px;
  }
  .l-reply__head > .k-pill {
    grid-column: 2;
    justify-self: start;
  }
  .l-files li {
    grid-template-columns: 20px minmax(0, 1fr);
    padding-inline: 12px;
  }
  .l-files .l-ok {
    grid-column: 2;
  }
  .l-aim--lg {
    --l-size: 232px;
    --l-sw: 1.9;
  }
  .l-fit__dial {
    column-gap: var(--k-sp-4);
  }
  .l-verdict {
    padding: var(--k-sp-5) var(--k-gutter);
    gap: var(--k-sp-4);
  }
  .l-sheet__page {
    padding: var(--k-sp-5) var(--k-sp-4);
  }
  .l-sheet__lines li {
    padding-left: 18px;
  }
  .l-fixline {
    margin-inline: -8px;
    padding-left: 26px !important;
  }
  .l-fixline::before {
    left: 10px !important;
  }
  .l-proof > span + span::before {
    margin-right: 8px;
  }
  .l-proof {
    gap: 8px;
  }
  .l-board__head,
  .l-board__rows li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 12px;
    padding-inline: var(--k-gutter);
  }
  .l-board__head span:last-child {
    display: none;
  }
  .l-board__rows li > :last-child {
    grid-column: 2;
  }
  .l-board__rows li > .l-code {
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 2px;
  }
  .l-app__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .l-app__side,
  .l-hide-sm {
    display: none;
  }
  .l-app__main {
    padding: 12px 10px;
  }
  .l-app__count {
    display: none;
  }
  .l-iconbtn {
    margin-left: auto;
  }
  .l-table th:first-child {
    width: auto;
  }
  .l-table th:nth-child(3) {
    width: 48px;
  }
  .l-table th:nth-child(4) {
    width: 104px;
  }
  .l-table td,
  .l-table th {
    padding-inline: 8px;
  }
  .l-bar {
    display: none;
  }
  .l-vaults {
    grid-template-columns: 1fr;
  }
  .l-vault {
    padding: var(--k-sp-6) var(--k-gutter) var(--k-sp-7);
  }
  .l-vault--dash {
    border-left: 0;
    border-top: 1px solid var(--k-hairline);
  }
  .l-vault__gate {
    left: auto;
    right: var(--k-gutter);
    top: auto;
    bottom: auto;
    transform: translateY(-50%);
    display: none;
  }
  .l-steps li {
    padding-inline: var(--k-gutter);
  }
  .l-price__card {
    grid-template-columns: 1fr;
  }
  .l-price__card > * {
    padding: var(--k-sp-6) var(--k-sp-5);
  }
  .l-price__card > * + * {
    border-left: 0;
    border-top: 1px solid var(--k-hairline-mid);
  }
  .l-story__text {
    padding: var(--k-sp-6) var(--k-gutter) var(--k-sp-7);
  }
  .l-story__initials,
  .l-story__img {
    width: 120px;
    height: 120px;
  }
  .l-faq__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .l-faq__tab {
    padding: 14px var(--k-gutter);
  }
  .l-faq__tab:nth-child(3) {
    border-left: 0;
  }
  .l-faq__tab:nth-child(n + 3) {
    border-top: 1px solid var(--k-hairline);
  }
  .l-faq__panel {
    padding: 0 var(--k-gutter) var(--k-sp-6);
  }
  .l-q > p {
    padding-right: 0;
  }
  .l-final__in {
    grid-template-columns: 1fr;
    gap: var(--k-sp-6);
    padding: 56px var(--k-gutter) 64px;
  }
  .l-final__target {
    width: 140px;
    order: -1;
  }
  .l-tick--end {
    left: -14px;
  }
  .l-foot__in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .l-foot__in > * {
    padding: var(--k-sp-5) var(--k-gutter);
  }
  .l-foot__brand {
    padding-left: var(--k-gutter) !important;
  }
  .l-foot__in > :nth-child(2),
  .l-foot__in > :nth-child(4) {
    border-left: 0;
    padding-left: var(--k-gutter);
  }
  .l-foot__in > :nth-child(n + 4) {
    border-top: 1px solid var(--k-hairline);
  }
}

/* ================================================================ reduced motion: everything shown finished, no moving dot */
@media (prefers-reduced-motion: reduce) {
  .l-rail__dot {
    display: none;
  }
  .l-in,
  .l-job__verdict,
  .l-aim,
  .l-sheet *,
  .l-sheet {
    animation: none !important;
  }
  .l-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================================================ "Example" tag on demo cards (fake data) */
.l-example {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--k-hairline-strong);
  border-radius: var(--k-r-sm, 4px);
  background: var(--k-canvas);
  color: var(--k-mute);
  white-space: nowrap;
}
.l-example--corner {
  position: absolute;
  z-index: 4;
  top: 16px;
  right: 16px;
}
@media (max-width: 640px) {
  .l-example--corner {
    top: 6px;
    right: 8px;
  }
}

/* status pages (404): one centered column on the grid panel, inside the frame rails */
.l-status {
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: var(--k-sp-10) var(--k-hero-pad);
  border-bottom: 1px solid var(--k-hairline);
}
.l-status__in {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--k-sp-4);
  max-width: 640px;
  text-align: center;
}
.l-status__aim {
  width: 96px;
  height: 96px;
  margin-bottom: var(--k-sp-2);
}
.l-status__actions {
  justify-content: center;
  margin-top: var(--k-sp-3);
}
@media (max-width: 640px) {
  .l-status {
    min-height: 0;
    padding: var(--k-sp-8) var(--k-sp-4);
  }
  .l-status__aim {
    width: 72px;
    height: 72px;
  }
}

/* landing notices (failed sign-in, deleted, signed out): title + line + next step */
.l-notice {
  padding: 14px 16px;
}
.l-notice__body {
  display: grid;
  gap: 2px;
}
.l-notice__title {
  color: var(--k-ink);
  font-weight: 600;
}
.l-notice__body > span {
  color: var(--k-body);
}
.l-notice__act {
  justify-self: start;
  margin-top: 6px;
  color: var(--k-link);
  font-weight: 500;
}
.l-notice__act:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
