/* SalonGo landing page (index.html only; loaded after site.css).
   Layout: rounded panels on a dark textured canvas. Colours from
   lib/theme/brand.dart; one face, Plus Jakarta Sans, at 500/600/700/800.

   Type scale (fluid, 320 -> 1440 px):
     display   40 -> 80   700  -0.035em  1.03
     section   32 -> 56   700  -0.03em   1.06
     card h3   19 -> 23   700  -0.02em   1.2
     lead      17 -> 20   500            1.6
     body      15 -> 16   500            1.55
     eyebrow   13         600  +0.08em uppercase
     button    15 -> 16   600 */

body.landing {
  --canvas: #091718;
  --mint-1: #E2F0EE;
  --mint-2: #CFE6E2;
  --grey-card: #F2F5F5;
  --panel-r: 40px;
  --inner-r: 30px;
  --panel-pad: clamp(20px, 4.6vw, 64px);
  --fs-display: clamp(2.5rem, 1.5rem + 4.1vw, 5rem);
  --fs-section: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);
  --fs-lead: clamp(1.0625rem, 1rem + .28vw, 1.25rem);
  --fs-body: clamp(.9375rem, .92rem + .1vw, 1rem);
  --fs-eyebrow: .8125rem;
  --ease-reveal: cubic-bezier(.16, 1, .3, 1);
  --on-dark: rgba(255, 255, 255, .8);
  --on-dark-soft: rgba(255, 255, 255, .7);

  color: #fff;
  background-color: var(--canvas);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(60% 40% at 15% 0%, rgba(0, 89, 79, .35), transparent 70%),
    radial-gradient(50% 40% at 100% 55%, rgba(0, 66, 59, .28), transparent 70%);
  font-feature-settings: "kern";
}
@media (max-width: 639px) {
  body.landing { --panel-r: 28px; --inner-r: 22px; }
}
.landing :focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 3px; }
.landing .panel-light :focus-visible,
.landing .walk :focus-visible { outline-color: var(--teal-mid); }

/* ---------- Canvas and panels ---------- */
.canvas {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 1.8vw, 24px);
  max-width: 1296px; margin: 0 auto;
  padding: clamp(0px, 2vw, 28px) clamp(0px, 2vw, 28px) 0;
}
@media (max-width: 639px) { .canvas { padding: 6px 0 0; } }
.panel {
  position: relative; isolation: isolate; min-width: 0;
  border-radius: var(--panel-r); padding: var(--panel-pad);
}
.hero, .about, .salons {
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(0, 89, 79, .9), rgba(0, 89, 79, 0) 70%),
    linear-gradient(160deg, var(--teal-pill), var(--teal) 50%, #012E2E);
}
.salons {
  background:
    radial-gradient(60% 70% at 100% 100%, rgba(0, 89, 79, .85), rgba(0, 89, 79, 0) 70%),
    linear-gradient(200deg, var(--teal-pill), var(--teal) 55%, #012E2E);
}
.panel-light { background: #fff; color: var(--ink); }

/* ---------- Type ---------- */
.display {
  margin: 0; font-size: var(--fs-display); font-weight: 700;
  line-height: 1.03; letter-spacing: -.035em; word-spacing: .04em; text-wrap: balance;
}
.h-section {
  font-size: var(--fs-section); font-weight: 700;
  line-height: 1.06; letter-spacing: -.03em; word-spacing: .03em; text-wrap: balance;
}
.eyebrow {
  margin: 0 0 18px; font-size: var(--fs-eyebrow); font-weight: 600; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft);
}
.panel-light .eyebrow, .walk .eyebrow { color: var(--meta); }
.body-lg {
  margin-top: 20px; max-width: 36em;
  font-size: var(--fs-lead); line-height: 1.6; color: var(--on-dark); text-wrap: pretty;
}
/* Two-line leads read best as even lines. */
.features-head .body-lg, .cta-copy .body-lg, .faq-head .body-lg, .hero-sub { text-wrap: balance; }
.panel-light .body-lg { color: var(--meta); }
.body-lg a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.panel-light .body-lg a { color: var(--teal-pill); }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, transform .16s var(--ease-out);
}
.pill:active { transform: scale(.97); }
.pill-light { background: #fff; color: var(--teal); }
.pill-light:hover { background: var(--mint-1); }
.pill-orange { background: var(--orange); color: var(--ink); }
.pill-orange:hover { background: #F59A35; }
.round-btn {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: var(--grey-card); color: var(--ink);
  cursor: pointer; transition: background-color .2s, opacity .2s, transform .16s var(--ease-out);
}
.round-btn:hover { background: #E6ECEC; }
.round-btn:active { transform: scale(.94); }
.round-btn.is-dark { border-color: transparent; background: var(--teal); color: #fff; }
.round-btn.is-dark:hover { background: var(--teal-mid); }
.round-btn[aria-disabled="true"] { opacity: .38; cursor: default; }
.round-btn[aria-disabled="true"]:active { transform: none; }
.landing .play { font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr);
  padding: 10px;
}
.hero .sparkles {
  opacity: .75;
  /* Clear of the nav row and the copy below the headline. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 13%, #000 22%, transparent 46%);
  mask-image: linear-gradient(to bottom, transparent 8%, #000 13%, #000 22%, transparent 46%);
}
.topbar {
  display: flex; align-items: center; gap: 16px;
  min-height: 56px; padding: 4px 10px 0;
}
.topbar .brand { font-size: 1.1875rem; }
.topnav { display: none; gap: 2px; margin-left: clamp(16px, 3vw, 44px); }
.topnav a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--on-dark); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.topnav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.topbar-cta { margin-left: auto; min-height: 44px; padding: 0 20px; font-size: .9375rem; white-space: nowrap; }
@media (min-width: 860px) { .topnav { display: flex; } }

.hero-main { position: relative; display: flex; flex-direction: column; padding: 0 10px 32px; }
.hero-copy { margin-top: clamp(40px, 7vw, 88px); }
.hero-sub {
  margin-top: 24px; max-width: 30em;
  font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .88);
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.text-btn {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; font-size: 1rem; font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--orange-soft); text-decoration-thickness: 2px; text-underline-offset: 7px;
  transition: text-decoration-color .2s;
}
.text-btn:hover { text-decoration-color: #fff; }
.hero-note {
  margin-top: 20px; display: flex; gap: 8px; align-items: flex-start; max-width: 42ch;
  font-size: .875rem; line-height: 1.5; color: var(--on-dark-soft);
}
.hero-note svg { flex: none; margin-top: 2px; color: var(--orange-soft); }

.hero-foot { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(16px, 3vw, 32px); }
.stat { margin: 0; display: grid; gap: 8px; }
.stat-num {
  font-size: clamp(2.75rem, 2.2rem + 2vw, 3.75rem); font-weight: 700; line-height: .95;
  letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; color: var(--mint-2);
}
.stat-label { font-size: .9375rem; line-height: 1.4; color: var(--on-dark); }
.crew {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px;
  border-radius: 999px; background: var(--mint-2); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.crew-faces { display: flex; padding-left: 14px; }
.crew-faces img {
  width: 52px; height: 52px; margin-left: -14px; border-radius: 50%;
  border: 3px solid var(--mint-2); object-fit: cover; background: var(--mint-1);
}
.crew-go {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); color: #fff; transition: transform .25s var(--ease-out);
}
.crew:hover .crew-go { transform: translateX(3px); }

.hero-art {
  position: relative; container-type: inline-size;
  margin-top: 64px; min-height: min(640px, 142vw);
  border-radius: var(--inner-r);
  background: linear-gradient(165deg, var(--mint-1), var(--mint-2));
}
.art-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.burst { display: block; overflow: visible; }
.burst-hero { position: absolute; width: 128cqi; left: -6cqi; top: -22cqi; rotate: 8deg; }
.art-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-lines path { fill: none; stroke: rgba(1, 59, 59, .2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

.hero-phone { position: absolute; top: -44px; left: 50%; translate: -52% var(--py, 0px); }
.hero-phone .phone { --w: min(272px, 60cqi); rotate: -6deg; }
.chips {
  position: absolute; left: 12px; bottom: 16px; right: 12px;
  display: grid; justify-items: start; gap: 10px;
  translate: 0 var(--py, 0px);
}
.chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; max-width: 100%;
  padding: 9px 16px 9px 9px; border-radius: 16px;
  background: #fff; color: var(--ink); font-size: .8125rem; font-weight: 600; line-height: 1.3;
  box-shadow: 0 1px 2px rgba(0, 30, 28, .1), 0 18px 36px -18px rgba(0, 30, 28, .55);
}
.chip small { display: block; font-size: .6875rem; font-weight: 500; letter-spacing: .01em; color: var(--meta); }
.chip-tick {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--confirmed-fill); color: var(--confirmed-ink);
}
.chip-booked { gap: 0; padding: 8px 6px; margin-left: 18px; }
.chip-booked > span { display: flex; align-items: center; gap: 9px; padding: 0 12px; }
.chip-booked > span + span { border-left: 1px solid var(--line); }
.chip-who img { width: 28px; height: 28px; border-radius: 50%; }
.chip-when svg { color: var(--confirmed-ink); flex: none; }
.chip-fee {
  padding: 11px 18px; border-radius: 999px; margin-left: 4px;
  background: var(--ink); color: #fff; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 18px 36px -18px rgba(0, 0, 0, .6);
}

@media (max-width: 559px) {
  .crew-faces { padding-left: 12px; }
  .crew-faces img { width: 44px; height: 44px; margin-left: -12px; }
  .crew-go { width: 44px; height: 44px; }
  .stat-label { font-size: .875rem; }
}
@media (min-width: 400px) { .chip { font-size: .875rem; } .chips { left: 16px; bottom: 20px; } }
@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-rows: auto 1fr;
    padding: 14px;
  }
  .topbar { grid-column: 1 / -1; padding: 6px 4px 0 clamp(20px, 3.4vw, 46px); }
  .hero-main { padding: 0 clamp(24px, 3vw, 40px) clamp(28px, 3vw, 40px) clamp(20px, 3.4vw, 46px); }
  .hero-foot { margin-top: auto; padding-top: 56px; }
  .hero-art { margin-top: 28px; min-height: 600px; }
  .hero-phone { top: -52px; left: 46%; }
  .chips { left: -72px; right: auto; bottom: 48px; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .hero-phone { top: -20px; }
  .hero-phone .phone { --w: 64cqi; }
  .chips { left: -40px; bottom: 28px; }
  .chip-booked { margin-left: 0; }
}
@media (min-width: 1024px) { .hero-art { min-height: 640px; } }
@media (min-width: 1200px) { .hero-art { min-height: 680px; } .hero-phone .phone { --w: 284px; } }

/* ---------- How it works (about) ---------- */
.about { display: grid; gap: 56px; }
.about-art {
  position: relative; container-type: inline-size; aspect-ratio: 1 / 1.02;
  border-radius: var(--inner-r);
  background: linear-gradient(160deg, var(--mint-1), var(--mint-2));
}
.about-art .phone { position: absolute; }
.about-a { --w: 50cqi; left: 9cqi; top: 13cqi; rotate: -9deg; }
.about-b { --w: 43cqi; left: 52cqi; top: 31cqi; rotate: 7deg; }
.play-round {
  position: absolute; top: -14px; right: 14px; z-index: 2;
  display: grid; place-items: center; width: clamp(80px, 9vw, 116px); aspect-ratio: 1;
  padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--teal); cursor: pointer;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .14), 0 24px 44px -22px rgba(0, 0, 0, .7);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.play-round svg { margin-left: 4px; width: 36%; height: auto; }
.play-round:hover { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(255, 255, 255, .18), 0 24px 44px -22px rgba(0, 0, 0, .7); }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; align-items: start; }
.step-n {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(207, 230, 226, .45); color: var(--mint-2);
  font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; padding-top: 5px; }
.steps p { margin-top: 4px; max-width: 52ch; font-size: var(--fs-body); line-height: 1.55; color: var(--on-dark-soft); }
.about-copy > .pill { margin-top: 36px; }
@media (min-width: 560px) and (max-width: 899px) {
  .about-art { aspect-ratio: 16 / 10; }
  .about-a { --w: 36cqi; left: 14cqi; top: 8cqi; }
  .about-b { --w: 31cqi; left: 51cqi; top: 17cqi; }
}
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
  .play-round { top: -30px; right: -30px; }
}

/* ---------- Features ---------- */
.features { overflow: hidden; }
.features-head {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 28px 40px; align-items: start;
}
.features-head .h-section { max-width: 13em; }
.burst-features { position: absolute; top: -4px; right: 0; width: 72px; }
.features-head .eyebrow { padding-right: 88px; }
.slider-nav { display: flex; gap: 12px; }
@media (min-width: 760px) {
  .features-head { grid-template-columns: minmax(0, 1fr) auto; }
  .features-head > div:first-child { grid-column: 1; }
  .burst-features { position: static; grid-column: 2; grid-row: 1; width: clamp(120px, 15vw, 188px); margin-right: clamp(0px, 4vw, 56px); }
  .features-head .eyebrow { padding-right: 0; }
  .slider-nav { grid-column: 1; }
}
.slider {
  list-style: none; display: flex; gap: clamp(14px, 1.6vw, 20px);
  margin: 40px calc(var(--panel-pad) * -1) 0; padding: 4px var(--panel-pad) 6px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--panel-pad);
  scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.slider:focus-visible { outline-offset: -3px; border-radius: 12px; }
.slider.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.fcard {
  flex: 0 0 min(86%, 540px); scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px); border-radius: 28px; background: var(--grey-card);
}
.fcard h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.fcard p { margin-top: 10px; max-width: 40ch; font-size: var(--fs-body); line-height: 1.55; color: var(--meta); }
.fshot { margin: auto 0 0; padding-top: 24px; }
.fshot img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center top;
  border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(11, 24, 32, .06), 0 14px 30px -20px rgba(11, 24, 32, .35);
  -webkit-user-drag: none;
}

/* ---------- For salons ---------- */
.salons { display: grid; gap: 40px; }
.salons-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.meta-on-dark { font-size: .9375rem; color: var(--on-dark-soft); }
.meta-on-dark a { color: #fff; font-weight: 700; white-space: nowrap; text-underline-offset: 3px; }
.roles { display: grid; gap: 14px; }
.role {
  padding: clamp(20px, 2.4vw, 30px); border-radius: 26px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.role-head { display: flex; gap: 14px; align-items: center; }
.role-head img { width: 52px; height: 52px; border-radius: 14px; flex: none; }
.role-head h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.role-head p { margin-top: 2px; font-size: .875rem; line-height: 1.45; color: var(--on-dark-soft); }
.role-text { margin-top: 16px; font-size: var(--fs-body); line-height: 1.55; color: var(--on-dark); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px 20px; }
.ticks li { position: relative; padding-left: 30px; font-size: .9375rem; font-weight: 600; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23013B3B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (min-width: 600px) { .role:first-child .ticks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .salons { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
}

/* ---------- FAQ ---------- */
.faq-panel { display: grid; gap: 32px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; list-style: none; cursor: pointer; border-radius: 8px;
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); font-weight: 700; line-height: 1.4; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grey-card); transition: background-color .25s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px;
  border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), background-color .25s;
}
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon { background: var(--teal); }
.faq details[open] .faq-icon::before, .faq details[open] .faq-icon::after { background: #fff; }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }
.faq summary:hover .faq-icon { background: #E6ECEC; }
.faq details[open] summary:hover .faq-icon { background: var(--teal-mid); }
.answer { padding: 0 56px 24px 0; max-width: 64ch; color: var(--meta); font-size: var(--fs-body); line-height: 1.6; }
.answer p + p { margin-top: 10px; }
.answer a { color: var(--teal-pill); font-weight: 700; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .faq-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq summary:first-of-type { padding-top: 22px; }
}

/* ---------- Final call to action ---------- */
.cta-frame {
  border-radius: var(--panel-r); padding: clamp(8px, 1vw, 14px);
  background: linear-gradient(160deg, var(--mint-1), var(--mint-2));
}
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: calc(var(--panel-r) - 10px);
  padding: clamp(56px, 7vw, 96px) 20px 0; text-align: center;
  background:
    radial-gradient(55% 70% at 50% 0%, rgba(0, 89, 79, .95), rgba(0, 89, 79, 0) 70%),
    linear-gradient(180deg, var(--teal), #012A2A);
}
.cta-lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.cta-lines path { fill: none; stroke: rgba(207, 230, 226, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cta-copy { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta-copy .h-section { max-width: 12em; }
.cta-copy .body-lg { max-width: 34em; margin-inline: auto; }
.cta-copy .play { margin-top: 32px; }
.cta-phones {
  --pw: clamp(150px, 20vw, 256px); --gap: clamp(14px, 3vw, 40px);
  position: relative; display: flex; justify-content: center; gap: var(--gap);
  height: calc(var(--pw) * 1.5); margin-top: clamp(44px, 6vw, 72px);
}
.cta-phones .phone { --w: var(--pw); }
.burst-cta {
  position: absolute; z-index: -1; top: calc(var(--pw) * -.28);
  left: calc(50% - var(--pw) * 1.5 - var(--gap) - var(--pw) * .3); width: calc(var(--pw) * .85);
}

/* ---------- Footer on the canvas ---------- */
body.landing .site-footer { background: transparent; border-top: 0; padding: clamp(40px, 5vw, 64px) 0 36px; }
body.landing .site-footer .wrap { max-width: 1296px; padding-inline: max(var(--gutter), clamp(0px, 2vw, 28px) + var(--panel-pad)); }
body.landing .site-footer .brand { color: #fff; }
body.landing .site-footer .tag { color: var(--on-dark-soft); }
body.landing .foot-nav a { color: rgba(255, 255, 255, .86); }
body.landing .foot-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
body.landing .copyright { color: var(--on-dark-soft); border-top-color: rgba(255, 255, 255, .12); }

/* ---------- Walkthrough dialog ---------- */
.walk {
  width: min(920px, calc(100% - 24px)); max-width: none; max-height: calc(100% - 24px);
  padding: 0; border: 0; border-radius: 32px; overflow: auto;
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7);
}
.walk::backdrop { background: rgba(3, 16, 16, .74); backdrop-filter: blur(6px); }
.walk-inner { display: grid; }
.walk-stage {
  display: grid; place-items: center; padding: 28px 20px; container-type: inline-size;
  background: linear-gradient(160deg, var(--mint-1), var(--mint-2));
}
.walk-phone { --w: min(190px, 52cqi); }
.walk-phone img { opacity: 0; transition: opacity .5s ease; }
.walk-phone img + img { position: absolute; top: calc(var(--w) * .032); left: calc(var(--w) * .032); width: calc(100% - var(--w) * .064); }
.walk-phone img.is-on { opacity: 1; }
.walk-side { position: relative; padding: 24px 20px 24px; }
.walk-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; }
.walk-title { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; padding-right: 48px; }
.walk-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: walk; }
.walk-steps li {
  counter-increment: walk; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 12px;
  padding: 10px 12px; border-radius: 14px; color: var(--meta);
}
.walk-steps li::before {
  content: counter(walk); grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grey-card); color: var(--ink); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.walk-steps b { align-self: center; min-height: 28px; display: flex; align-items: center; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.walk-steps span { display: none; font-size: .9375rem; line-height: 1.5; }
.walk-steps li.is-on { background: var(--grey-card); }
.walk-steps li.is-on::before { background: var(--teal); color: #fff; }
.walk-steps li.is-on span { display: block; }
.walk-controls { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.walk-count { margin-left: auto; font-size: .875rem; font-weight: 600; color: var(--meta); font-variant-numeric: tabular-nums; }
.walk-toggle .i-play, .walk-toggle.is-paused .i-pause { display: none; }
.walk-toggle.is-paused .i-play { display: block; }
@media (max-width: 759px) {
  .walk-steps li:not(.is-on) { display: none; }
}
@media (min-width: 760px) {
  .walk-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .walk-stage { padding: 40px 28px; }
  .walk-phone { --w: min(250px, 66cqi); }
  .walk-side { padding: 40px 40px 36px; }
}

/* ---------- Motion (only with html.motion: JS on, motion allowed) ----------
   Headlines rise line by line from a slight tilt; phones, chips and cards
   rise and fade. Everything is in place without the class. */
.ln { display: block; overflow: hidden; padding: 0 .06em .12em; margin: 0 -.06em -.12em; }
.ln-in { display: block; }
.hero .ln + .ln .ln-in { --i: 1; }
.motion .hero .ln-in {
  transform-origin: 0 100%;
  animation: line-up 1.1s var(--ease-reveal) both;
  animation-delay: calc(.08s + var(--i, 0) * .11s);
}
@keyframes line-up { from { transform: translateY(110%) rotate(6deg); } }
.motion [data-split] .ln-in {
  transform: translateY(110%) rotate(6deg); transform-origin: 0 100%;
  transition: transform 1s var(--ease-reveal) calc(var(--i, 0) * .11s);
}
.motion [data-split].is-in .ln-in { transform: none; }
.motion [data-rise] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s ease var(--d, 0s), transform 1s var(--ease-reveal) var(--d, 0s);
}
.motion [data-rise].is-in { opacity: 1; transform: none; }
.motion .walk[open] { animation: walk-in .4s var(--ease-reveal); }
@keyframes walk-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
