/* Page CSS: only what sits inside a visual (the phone, the app frame, the card UIs, the projection
   lists, the build facts) and one --p-h per card group. Tokens and layout come from the kit. */

/* the client's logo beside the name */
.nav__logo .nav__mark { width: 28px; height: 28px; }

/* ---------- the app's own pieces, shared ---------- */
.ui { --fx-bg: #ffffff; --fx-ink: var(--p-ink); --fx-muted: #5b6474; --fx-accent: #0284c7; --ui-font: var(--font-text); font-family: var(--font-text); color: var(--u-ink); }
.ax-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font: 500 11px/1 var(--font-mono); background: #e0f2fe; color: #075985; white-space: nowrap; }
.ax-chip--ok { background: #d1fae5; color: #065f46; }
.ax-v--ok { color: #047857; }

/* the collimation view: a practice photograph with its target (green) and the student's field (amber).
   Positions are fractions of the photograph, from collimation_targets.json (wrist_pa). */
.cx { position: relative; overflow: hidden; background: #0a0f1d; aspect-ratio: 900 / 1073; }
.cx > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx__target, .cx__field { position: absolute; pointer-events: none; }
.cx__target { left: 25%; top: 35%; width: 35%; height: 41%; outline: 1.5px dashed #34d399; outline-offset: 0; }
.cx__field { left: 26%; top: 36%; width: 34%; height: 40%; border: 2px solid #f59e0b; background: rgb(245 158 11 / .08); box-shadow: 0 0 0 999px rgb(10 15 29 / .38); }
.cx__field::before, .cx__field::after { content: ""; position: absolute; background: rgb(245 158 11 / .85); }
.cx__field::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.cx__field::after { top: 50%; left: 0; right: 0; height: 1px; }
.cx__field > i { position: absolute; inset: -5px; background:
  linear-gradient(#f59e0b, #f59e0b) 0 0 / 10px 3px no-repeat, linear-gradient(#f59e0b, #f59e0b) 0 0 / 3px 10px no-repeat,
  linear-gradient(#f59e0b, #f59e0b) 100% 0 / 10px 3px no-repeat, linear-gradient(#f59e0b, #f59e0b) 100% 0 / 3px 10px no-repeat,
  linear-gradient(#f59e0b, #f59e0b) 0 100% / 10px 3px no-repeat, linear-gradient(#f59e0b, #f59e0b) 0 100% / 3px 10px no-repeat,
  linear-gradient(#f59e0b, #f59e0b) 100% 100% / 10px 3px no-repeat, linear-gradient(#f59e0b, #f59e0b) 100% 100% / 3px 10px no-repeat; }
/* the hero's one motion: the blades close on the wrist once on load (2.8 s), and again while the pointer is on the phone */
@keyframes cx-close { from { left: 14%; top: 22%; width: 58%; height: 66%; } 70%, to { left: 26%; top: 36%; width: 34%; height: 40%; } }
.cx--anim .cx__field { animation: cx-close 2.8s cubic-bezier(.22, 1, .36, 1) .4s both; }
.hero-device:hover .cx--anim .cx__field { animation-name: cx-close-again; }
@keyframes cx-close-again { from { left: 14%; top: 22%; width: 58%; height: 66%; } 70%, to { left: 26%; top: 36%; width: 34%; height: 40%; } }
@media (prefers-reduced-motion: reduce) { .cx--anim .cx__field { animation: none; } }

/* ---------- the hero's phone ---------- */
/* ---------- the hero layout & phone ---------- */
main > :is(.hero, .section--hero) {
  height: auto !important;
  min-height: calc(100vh - var(--nav, 64px));
  min-height: calc(100svh - var(--nav, 64px));
  padding-top: calc(var(--nav, 64px) + var(--hgap, 24px));
  padding-bottom: var(--s-8);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
:is(.hero, .section--hero) > .wrap {
  height: auto !important;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text.hero__grid {
  grid-template-rows: auto;
  align-items: center;
  align-content: center;
  row-gap: var(--s-6);
}
@media (min-width: 1024px) {
  .hero-text.hero__grid { min-height: 540px; }
  .hero--split .hero__media { height: auto; min-height: 520px; align-self: stretch; }
}
@media (max-width: 1023px) {
  main > :is(.hero, .section--hero) {
    height: auto !important;
    min-height: auto;
    padding-top: calc(var(--nav, 64px) + var(--s-5));
    padding-bottom: var(--s-7);
  }
  .hero--split .hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-6);
  }
  .hero--split .hero__media {
    margin-top: 0;
    width: 100%;
    min-height: auto;
  }
}
.hero-device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ground-bg, #f1f5f9);
  border-radius: var(--r-lg, 24px);
  padding: 32px 24px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.phone {
  width: 290px;
  max-width: 100%;
  border-radius: 40px;
  background: #0f172a;
  padding: 9px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
.phone__screen { position: relative; overflow: hidden; border-radius: 32px; background: #f8fafc; display: flex; flex-direction: column; gap: 10px; padding: 14px 12px 0; font-family: var(--font-text); color: #0f172a; }
.ax-bar { display: flex; align-items: center; gap: 8px; height: 28px; }
.ax-bar__back { font-size: 22px; line-height: 1; color: #64748b; }
.ax-bar__title { font: 600 15px/1 var(--font-display); flex: 1; }
.phone .cx { border-radius: 14px; }
.ax-score { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ax-score > div { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; }
.ax-k { font-size: 11px; color: #5b6474; }
.ax-v { font: 500 15px/1.2 var(--font-mono); }
.ax-params { display: flex; gap: 6px; flex-wrap: wrap; }
.ax-params > span { font: 500 11px/1 var(--font-mono); padding: 6px 8px; border-radius: 8px; background: #f1f5f9; color: #334155; }
.ax-btn { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 999px; background: #0369a1; color: #f8fafc; font-size: 13px; font-weight: 600; font-family: var(--font-display); }
.ax-tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 -12px; padding: 10px 0 14px; border-top: 1px solid #e2e8f0; background: #fff; font-size: 11px; color: #64748b; text-align: center; }
.ax-tabs .is-on { color: #0369a1; font-weight: 600; }
.hero-device .ly-float {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  width: auto;
  max-width: 280px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.05);
  border-radius: 14px;
  padding: 12px 14px;
}
@media (max-width: 1023px) and (min-width: 640px) {
  .hero-device .ly-float { left: 16px; bottom: 16px; max-width: 250px; }
}
@media (max-width: 639px) {
  .hero-device { padding: 24px 16px; min-height: auto; flex-direction: column; }
  .hero-device .ly-float { position: static; margin-top: var(--s-4); width: 100%; max-width: 290px; }
}
#practice { margin-top: 0; padding-top: var(--s-8); clear: both; position: relative; z-index: 2; }

/* ---------- the app frame (sections-library.md app-frame, its recipe CSS) ---------- */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); overflow: hidden; }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .al__side { display: none; } .al__body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .al__side { display: none; }
  .al__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
/* the list pane */
.al { font-size: 13px; }
.al__head { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--u-line); }
.al__logo img { display: block; border-radius: 6px; }
.al__search { margin-left: auto; padding: 6px 12px; border-radius: 8px; background: var(--u-fill); color: var(--u-muted); font-size: 12px; }
.al__body { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.al__side { list-style: none; margin: 0; padding: 12px 8px; border-right: 1px solid var(--u-line); }
.al__side li { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: var(--u-text-2); }
.al__side li span { color: var(--u-muted); font-family: var(--font-mono); font-size: 12px; }
.al__side li.is-on { background: var(--u-tint); color: var(--u-accent-text); font-weight: 600; }
.al__rows { list-style: none; margin: 0; padding: 4px 0; }
.al__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n c" "s c"; column-gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--u-line); }
.al__rows li.is-open { background: var(--u-tint); box-shadow: inset 3px 0 0 var(--u-accent); }
.al__name { grid-area: n; font-weight: 600; }
.al__sub { grid-area: s; color: var(--u-muted); font-size: 12px; }
.al__chip { grid-area: c; align-self: center; font: 500 12px/1 var(--font-mono); padding: 5px 8px; border-radius: 999px; background: var(--u-fill-2); color: var(--u-text-2); }
.al__chip--done { background: #d1fae5; color: #065f46; }
@media (max-width: 1023px) { .al__rows li:nth-child(n+5) { display: none; } }
/* the open pane */
.ao { display: flex; flex-direction: column; height: 100%; font-size: 13px; }
.ao__head { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px; border-bottom: 1px solid var(--u-line); flex: none; }
.ao__head b { font-size: 15px; }
.ao__head span:not(.ax-chip) { color: var(--u-muted); font-size: 12px; }
.ao__head .ax-chip { margin-left: auto; }
.ao__body { flex: 1; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: 20px; }
.ao__body .cx--wide { height: 100%; min-height: 0; border-radius: 12px; }
.ao__facts { margin: 0; display: grid; align-content: start; }
.ao__facts > div { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--u-line); }
.ao__facts dt { color: var(--u-muted); font-size: 12px; }
.ao__facts dd { margin: 0; font-weight: 500; font-size: 14px; }
.ao__facts > div:first-child dd { font: 500 28px/1.1 var(--font-mono); }
@media (max-width: 1279px) { .ao__head span:not(.ax-chip) { display: none; } }
@media (max-width: 639px) {
  .ao__body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .ao__body .cx--wide { height: auto; width: 100%; aspect-ratio: 4 / 3; }
  .ao__body .cx--wide > img { object-position: 50% 52%; }
  .ao__body .cx--wide .cx__target, .ao__body .cx--wide .cx__field { display: none; }
  .ao__facts > div:nth-child(n+4) { display: none; }
}

/* ---------- the four feature cards ---------- */
#learn .panel { --p-h: 300px; }
.panel--ui { overflow: hidden; }
.fe { position: absolute; left: 32px; right: 32px; top: 32px; background: var(--u-bg); border: 1px solid var(--u-border); border-radius: 12px; box-shadow: var(--u-shadow); padding: 16px; font-size: 13px; }
.fe__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.fe__head b { font-size: 14px; }
.fe__rows { margin: 0; display: grid; }
.fe__rows > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--u-line); }
.fe__rows dt { color: var(--u-muted); }
.fe__rows dd { margin: 0; font-weight: 500; }
.fe__timer { font: 500 14px/1 var(--font-mono); padding: 6px 10px; border-radius: 8px; background: #fef3c7; color: #92400e; }
.fe__steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.fe__steps li { font-size: 11px; color: var(--u-muted); padding-top: 8px; border-top: 3px solid var(--u-fill-3); }
.fe__steps li.is-done { border-color: #10b981; color: var(--u-text-2); }
.fe__steps li.is-on { border-color: #0284c7; color: var(--u-ink); font-weight: 600; }
.fe__q { margin: 0 0 12px; font-weight: 600; font-size: 14px; }
.fe__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fe__opts span { padding: 12px; border-radius: 10px; border: 1px solid var(--u-border); font-family: var(--font-mono); font-size: 12px; }
.fe__opts span:first-child { border-color: #0284c7; background: #e0f2fe; color: #075985; }
.fe__list { list-style: none; margin: 0; padding: 0; }
.fe__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--u-line); }
.fe__list span { font-weight: 500; }
.fe__list em { font-style: normal; color: var(--u-muted); font-size: 12px; }
.fe__list b { font: 500 13px/1 var(--font-mono); }
.fe__list b.ok { color: #047857; }
.fe__list b.warn { color: #b45309; }
.panel--model { padding: 0; }
.fe-model { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; background: transparent; }

@media (max-width: 639px) {
  #learn .panel { --p-h: 220px; }
  .fe { left: 16px; right: 16px; top: 16px; padding: 12px; }
  .fe__rows > div { grid-template-columns: 84px minmax(0, 1fr); }
}

/* ---------- the web demo ---------- */
.demo-steps { margin: 0; padding-left: 1.25em; display: grid; gap: var(--s-2); font-size: var(--t-body); }
.demo-frame { min-height: 640px; align-items: flex-start; }
.dl__h { margin: 0; font: 600 24px/1.1 var(--font-display); }
.dl__sub { margin: 0; font-size: 13px; color: #5b6474; }
.dl__search { display: block; padding: 12px 14px; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff; font-size: 13px; color: #64748b; }
.dl__chips { display: flex; gap: 6px; }
.dl__chips span { padding: 7px 12px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; font-size: 12px; }
.dl__chips .is-on { border-color: #38bdf8; background: #e0f2fe; color: #075985; }
.dl__card { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: linear-gradient(120deg, #e0f2fe, #f1f5f9); border: 1px solid #e2e8f0; }
.dl__card b { font: 600 14px/1.2 var(--font-display); }
.dl__card span { font-size: 12px; color: #5b6474; }
.dl__list { list-style: none; margin: 0; padding: 0; }
.dl__list li { padding: 12px 2px; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.demo-start { position: absolute; left: 16px; right: 16px; bottom: 24px; }
.demo-iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1023px) { .demo-frame { min-height: 0; } }

/* ---------- UI/UX Polish & Micro-interactions ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero__lead {
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
}

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px -2px rgba(2, 132, 199, 0.35);
}

.btn--primary:hover {
  background: #0369a1;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px -2px rgba(2, 132, 199, 0.45);
}

.btn--primary:active {
  transform: translateY(0.5px);
  box-shadow: 0 2px 6px -2px rgba(2, 132, 199, 0.3);
}

.btn--secondary {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
}

.btn--secondary:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  transform: translateY(-1px);
}

/* Feature cards in #learn */
.card.card--row {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.card.card--row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}

/* Wall of projection images */
.wall > img {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.wall > img:hover {
  transform: scale(1.025);
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.2);
}

/* Accessible focus visible */
:focus-visible {
  outline: 2px solid #0284c7 !important;
  outline-offset: 2px !important;
}

/* ---------- fixes after the first check ---------- */
/* the projections: rows beside a wall of the six practice photographs */

.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; border-radius: var(--r-lg); overflow: hidden; align-self: start; }
.wall > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* the demo phone is one box: the bezel is its border */
.phone.phone--demo { position: relative; z-index: 1; width: 320px; height: 620px; padding: 20px 16px 0; border: 9px solid #0f172a; border-radius: 40px; background: #f8fafc; overflow: hidden; display: flex; flex-direction: column; gap: 12px; color: #0f172a; font-family: var(--font-text); }
.phone.phone--demo.is-live { padding: 0; }
.dl { display: flex; flex-direction: column; gap: 12px; }
.dl__card { background: #e0f2fe; border: 0; }
.dl__search { border: 0; background: #eef2f6; }
.dl__chips span { border: 0; background: #eef2f6; }
@media (max-width: 639px) { .phone.phone--demo { width: 100%; max-width: 320px; height: 540px; } }
/* the score in the hero phone reads as text, never as buttons */
.ax-score > div { background: none; border: 0; border-top: 1px solid #e2e8f0; border-radius: 0; padding: 8px 2px 0; }
/* steps sit on the text line */
.demo-steps { padding-left: 0; list-style-position: inside; }
/* the 3D model shows the focus ring like every control */
.fe-model:focus-visible, .fe-model:focus-within { outline: 2px solid var(--action); outline-offset: -4px; }
/* a phone has no room for the float card beside the phone */
@media (max-width: 639px) { .hero-device .ly-float { display: none; } }
/* ---------- Clean FAQ Illustration (Drawing Only) ---------- */
.faq__side {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.faq__sub {
  color: var(--p-muted, #64748b);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-top: var(--s-2);
}
.faq__art {
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  margin-top: var(--s-4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__art:hover {
  transform: translateY(-2px) scale(1.015);
}

/* ---------- Spacious FAQ Cards (replaces tight grid) ---------- */
#faq {
  padding-top: var(--s-9);
  padding-bottom: var(--s-9);
}
#faq .faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}
#faq .faq > .faq__item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  margin: 0;
}
#faq .faq > .faq__item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
#faq .faq > .faq__item h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #0f172a;
  margin: 0;
}
#faq .faq > .faq__item p {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}
@media (max-width: 1023px) {
  #faq .faq {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Closing CTA Banner ---------- */
footer.closing {
  height: auto !important;
}
.closing__cta.close--custom {
  padding: 72px 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--line, #e2e8f0);
  margin-bottom: 48px;
}
.close__content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
}
.close__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0284c7;
  background: #e0f2fe;
  padding: 6px 14px;
  border-radius: 999px;
}
.closing__cta.close--custom h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  max-width: none;
  margin: 0;
}
.close__lead {
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
  color: #475569;
  max-width: 48ch;
  margin: 0;
}
.close__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.close__actions .btn {
  min-height: 50px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 600;
  width: auto;
  max-width: none;
}
@media (max-width: 639px) {
  .closing__cta.close--custom {
    padding: 48px 0 36px;
  }
  .close__actions {
    flex-direction: column;
    width: 100%;
  }
  .close__actions .btn {
    width: 100%;
  }
}

.rows.parts > li { grid-template-columns: 96px minmax(0, 1fr) 24px; align-items: baseline; }
.rows.parts > li > .rows__name { grid-column: 1; grid-row: 1; }
.rows.parts > li > p { grid-column: 2; grid-row: 1; }
.rows.parts > li > .rows__value { grid-column: 3; grid-row: 1; color: var(--muted); }
@media (max-width: 639px) { .rows.parts > li { grid-template-columns: 84px minmax(0, 1fr) 20px; } }
@media (max-width: 639px) { #projections { --hm: 2; } .wall { margin-top: var(--s-6); } }
@media (max-width: 1023px) { .wall { grid-column: 1 / -1; width: 100%; } }
@media (max-width: 639px) {
  #learn .panel { --p-h: 190px; }
  #faq { --hm: 2; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #learn .panel { --p-h: 168px; }
  .wall > img { aspect-ratio: 2 / 3; }
}
img.fe-model { object-fit: cover; }
.fe-model__go { position: absolute; right: 16px; bottom: 16px; z-index: 1; }
.panel > .fe-model__go { left: auto; top: auto; width: auto; max-width: none; white-space: nowrap; overflow: visible; }
.panel > .fe-model__go { top: 24px; right: 24px; bottom: auto; }
a, button, .btn, summary { touch-action: manipulation; }
.phone--demo .demo-start { left: 16px; right: 16px; width: auto; max-width: none; bottom: 24px; }
.phone--demo .dl__list li:nth-child(n+4) { display: none; }
#demo .demo-steps { margin-top: var(--s-2); }
#faq .faq > .faq__item { align-content: start; }
.phone--demo > .demo-start { position: absolute; }
.phone--demo .dl__list li:nth-child(4) { display: block; }
#demo .demo-steps { margin-top: var(--s-6); }
.phone--demo > .demo-start { position: absolute; left: 16px; right: 16px; bottom: 24px; width: auto; display: flex; }
.phone--demo > .demo-start > .btn { flex: 1; width: 100%; }
@media (max-width: 1279px) { .app .al__body { grid-template-columns: minmax(0, 1fr); } .app .al__side { display: none; } }

/* ---------- Fixed Glass Header ---------- */
header.nav {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 100 !important;
  height: var(--nav, 64px) !important;
  background: rgba(248, 250, 252, 0.75) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75) !important;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
header.nav.is-scrolled {
  background: rgba(248, 250, 252, 0.88) !important;
  border-bottom: 1px solid rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 8px 30px -8px rgba(15, 23, 42, 0.08) !important;
}

/* ---------- Lenis Smooth Scroll ---------- */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 2px 6px -1px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s ease,
              background-color 0.2s ease,
              color 0.2s ease,
              border-color 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 28px -4px rgba(2, 132, 199, 0.35);
}
.back-to-top:active {
  transform: translateY(0) scale(0.95);
}
@media (max-width: 639px) {
  .back-to-top {
    right: 16px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}
