/* Wipe My Panels landing page */
:root {
  /* Layout: rooftop daylight. Sky-tinted bands and navy ink type, gold reserved for every action.
     Asymmetric hero with the live 3D rooftop at right; inverter-style mono readouts recur as the data detail. */
  --ink: #0B2150;        /* logo navy */
  --ink-2: #33466E;      /* body copy */
  --muted: #5E6F90;
  --panel: #0A6CF0;      /* logo blue */
  --panel-deep: #0752BD;
  --sun: #FFC20E;        /* logo gold */
  --sun-deep: #E09B00;
  --sun-haze: #FFF1BF;
  --sky: #EAF3FF;
  --sky-2: #D6E7FF;
  --paper: #F9FBFF;
  --card: #FFFFFF;
  --glass: rgba(255, 255, 255, .9);
  --line: #D7E3F4;
  --night: #06132F;
  --on-dark: #FFFFFF;
  --on-dark-2: #B9C9E8;
  --ok: #0F8A45;
  --danger: #C42B2B;

  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(11, 33, 80, .06), 0 8px 24px rgba(11, 33, 80, .08);
  --shadow-2: 0 2px 6px rgba(11, 33, 80, .06), 0 28px 56px -12px rgba(11, 33, 80, .24);
  --header-h: 72px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--card);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--panel-deep); }
p, h1, h2, h3, h4, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.15rem, 5.1vw - .1rem, 3.75rem); font-weight: 900; line-height: 1; font-stretch: 104%; }
h2 { font-size: clamp(1.85rem, 1.1rem + 2.4vw, 2.85rem); font-weight: 850; line-height: 1.06; font-stretch: 108%; }
h3 { font-size: 1.28rem; font-weight: 800; line-height: 1.2; font-stretch: 104%; }
h4 { font-size: 1.12rem; font-weight: 800; line-height: 1.2; font-stretch: 104%; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--panel); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.wrap {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { left: 16px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.mono-label {
  display: flex; align-items: center; gap: 6px;
  font: 600 .7rem/1.2 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .76rem/1.2 var(--font-mono);
  letter-spacing: .13em; text-transform: uppercase; color: var(--panel-deep);
}
.eyebrow .ico { width: 1.2em; height: 1.2em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h);
  padding: 0 1.35em;
  border-radius: 12px;
  border: 2px solid transparent;
  font: 700 1rem/1.1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn .ico { transition: transform .2s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--sm { --h: 42px; padding: 0 1.1em; font-size: .95rem; }
.btn--lg { --h: 58px; padding: 0 1.6em; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--sun {
  background: var(--sun); color: var(--ink);
  box-shadow: 0 3px 0 var(--sun-deep), 0 10px 22px rgba(224, 155, 0, .28);
}
.btn--sun:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--sun-deep), 0 16px 30px rgba(224, 155, 0, .34); }
.btn--sun:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--sun-deep), 0 4px 10px rgba(224, 155, 0, .25); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: 0 3px 0 var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 5px 0 var(--sky-2); }
.btn--ink { background: var(--ink); color: var(--on-dark); box-shadow: 0 3px 0 #020a1f; }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #020a1f; }
.btn--ink:active { transform: translateY(2px); box-shadow: 0 1px 0 #020a1f; }
.btn--outline { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn--panel { background: var(--panel); color: var(--on-dark); box-shadow: 0 3px 0 var(--panel-deep); }
.btn--panel:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--panel-deep); }
.btn--text { background: none; color: var(--panel-deep); padding: 0 .4em; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Offer bar + header ---------- */
.offer { background: var(--ink); color: var(--on-dark); font-size: .92rem; }
.offer__inner { padding-block: 9px; text-align: center; }
.offer a { color: var(--sun); font-weight: 700; text-underline-offset: 3px; }
.offer__dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sun); margin-right: 10px; vertical-align: 1px;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 194, 14, .7); }
  80%, 100% { box-shadow: 0 0 0 9px rgba(255, 194, 14, 0); }
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand__name {
  display: block;
  font: 900 1.16rem/1 var(--font-display);
  font-stretch: 118%;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__name b { color: var(--panel); font-weight: 900; }
.brand__tag {
  display: block; margin-top: 5px;
  font: 600 .58rem/1 var(--font-mono);
  letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2);
}
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--panel); }
.header__phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.header__phone .ico { color: var(--panel); }
@media (max-width: 1040px) { .nav { display: none; } }
@media (max-width: 640px) {
  :root { --header-h: 62px; }
  .header__phone, .brand__tag { display: none; }
  .header__inner { gap: 12px; }
  .brand img { width: 46px; }
  .brand__name { font-size: .98rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% 0%, var(--sun-haze), transparent 62%),
    linear-gradient(180deg, var(--sky) 0%, var(--paper) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 80px);
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hero h1 { margin-top: 18px; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--panel); }
.twinkle {
  display: inline-block;
  width: .4em; height: .4em;
  margin-left: .1em;
  vertical-align: .6em;
  color: var(--sun);
  animation: twinkle 2.4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(.6) rotate(45deg); }
}
.lede { margin-top: 22px; max-width: 34em; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__price { margin-top: 16px; font-size: .95rem; color: var(--muted); }
.hero__price strong { color: var(--ink); font-weight: 800; }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  font-weight: 700; font-size: .88rem; color: var(--ink);
}
.trust .ico { color: var(--panel); }

.hero__visual { position: relative; width: 100%; max-width: 100%; aspect-ratio: 1 / .92; min-width: 0; }
.hero__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.hero__visual canvas.is-dragging { cursor: grabbing; }
.hero__visual .fallback { display: none; }
.no-webgl .hero__visual .fallback { display: block; position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.no-webgl .hero__visual canvas, .no-webgl .readout, .no-webgl .hero__hint { display: none; }

.readout {
  position: absolute; left: 2%; bottom: 7%;
  width: min(212px, 52%);
  display: grid; gap: 6px;
  padding: 12px 14px 13px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.readout__value { font-size: 1.85rem; font-weight: 600; line-height: 1; color: var(--ink); }
.readout__bar { height: 6px; border-radius: 3px; background: var(--sky-2); overflow: hidden; }
.readout__bar i {
  display: block; height: 100%; width: 100%;
  transform-origin: left; transform: scaleX(1);
  background: linear-gradient(90deg, var(--sun), var(--panel));
}
.readout__status { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.hero__hint {
  position: absolute; right: 3%; bottom: 7%;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  font: 600 .7rem/1 var(--font-mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
  transition: opacity .4s ease;
}
.hero__hint.is-used { opacity: 0; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.1rem, 8.6vw, 3.4rem); }
  .hero__visual { aspect-ratio: 1 / .84; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .readout { width: 168px; padding: 10px 12px; }
  .readout__value { font-size: 1.5rem; }
  .hero__hint { display: none; }
}

/* ---------- Results band ---------- */
.stats { background: var(--panel-deep); color: var(--on-dark); padding-block: clamp(44px, 6vw, 68px); }
.stats__title { color: var(--on-dark); font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); margin-bottom: 28px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 255, 255, .25);
  min-width: 0;
}
.stat dd {
  font: 900 clamp(1.55rem, 1rem + 2.3vw, 2.85rem)/1 var(--font-display);
  font-stretch: 100%;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat dd small { font-size: .62em; color: var(--sun); margin-left: .04em; }
.stat dt {
  font: 600 .74rem/1.3 var(--font-mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2);
}
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

/* ---------- Generic bands ---------- */
.band { padding-block: clamp(72px, 9vw, 120px); }
.band--sky { background: var(--sky); }
.band--paper { background: var(--paper); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.section-head > p:not(.eyebrow) { font-size: 1.08rem; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.split__lede { font-size: 1.1rem; color: var(--ink-2); max-width: 36em; }
.split__copy .checks { margin-top: 8px; }
@media (max-width: 900px) {
  .split, .split--media, .split--rev { grid-template-columns: minmax(0, 1fr); }
}

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); }
.checks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--panel); }
.checks b { color: var(--ink); font-weight: 700; }
.checks--sm { gap: 10px; font-size: .96rem; }
.checks--sm svg { width: 20px; height: 20px; }

.media {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  box-shadow: var(--shadow-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__tag {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--glass);
  font: 600 .72rem/1 var(--font-mono);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}

/* ---------- Wipe demo ---------- */
.meter {
  display: grid; gap: 10px;
  width: 100%; max-width: 420px;
  margin-top: 10px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.meter__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.meter__val { font-size: 2.3rem; font-weight: 600; line-height: 1; color: var(--ink); }
.meter__loss { font-size: 1rem; font-weight: 600; color: var(--danger); }
.meter__loss.is-zero { color: var(--ok); }
.meter__track { height: 10px; border-radius: 5px; background: var(--sky-2); overflow: hidden; }
.meter__track i {
  display: block; height: 100%; width: 100%;
  transform-origin: left; transform: scaleX(.76);
  background: linear-gradient(90deg, var(--sun), var(--panel));
  transition: transform .2s ease-out;
}
.wipe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.wipe-done {
  display: grid; gap: 14px; justify-items: start;
  width: 100%; max-width: 420px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--sun-haze);
  border: 1px solid var(--sun);
  animation: rise .45s cubic-bezier(.2, .8, .3, 1.2);
}
.wipe-done p { color: var(--ink); }
@keyframes rise { from { transform: translateY(10px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

.wipe-wrap { min-width: 0; display: grid; gap: 12px; }
.wipe {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 5 / 3.3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sky-2);
  box-shadow: 0 34px 60px -24px rgba(11, 33, 80, .45), 0 0 0 1px rgba(11, 33, 80, .08);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.wipe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wipe__prize {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 6px;
  width: min(78%, 360px);
  padding: 22px 20px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  border: 2px solid var(--sun);
  box-shadow: 0 18px 40px -16px rgba(11, 33, 80, .55);
  text-align: center;
  pointer-events: none;
}
.wipe__prize-tag { color: var(--muted); }
.wipe__prize-big { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.wipe__prize-detail { font-size: .95rem; font-weight: 600; color: var(--ink); }
.wipe__dust { transition: opacity .7s ease; }
.wipe__dust.is-gone { opacity: 0; pointer-events: none; }
@media (pointer: fine) { .wipe__dust { cursor: none; } }
.wipe__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.wipe__cursor { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.wipe__cursor.is-on { opacity: 1; }
.wipe__cursor svg {
  width: 76px; height: 76px;
  transform: translate(-50%, -66%) rotate(-12deg);
  transition: transform .12s ease;
  filter: drop-shadow(0 8px 10px rgba(11, 33, 80, .35));
}
.wipe__cursor.is-down svg { transform: translate(-50%, -62%) rotate(-3deg) scale(.94); }
.wipe__hint {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  background: rgba(11, 33, 80, .88);
  color: var(--on-dark);
  font-weight: 700; font-size: .95rem;
  pointer-events: none;
  box-shadow: var(--shadow-1);
}
.wipe__hand { width: 30px; height: 30px; animation: swipe 1.5s ease-in-out infinite; }
@keyframes swipe {
  0%, 100% { transform: translateX(-6px) rotate(-14deg); }
  50% { transform: translateX(8px) rotate(10deg); }
}
.wipe-caption { font-size: .86rem; color: var(--muted); }

.spark {
  position: absolute;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  color: var(--on-dark);
  pointer-events: none;
  animation: spark .8s cubic-bezier(.2, .7, .3, 1) forwards;
}
.spark svg { width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); }
.spark--gold { color: var(--sun); }
.spark--blue { color: var(--panel); }
.spark--big { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
@keyframes spark {
  0% { transform: scale(0) rotate(0deg); opacity: 1; }
  45% { transform: scale(1.1) rotate(var(--rot, 20deg)); opacity: 1; }
  100% { transform: translateY(-16px) scale(0) rotate(calc(var(--rot, 20deg) * 2)); opacity: 0; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 26px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-width: 0;
}
.mini3d { width: 140px; height: 140px; margin-left: -12px; }
.step__body { display: grid; gap: 8px; }
.step__n {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--sun-haze);
  color: var(--ink);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.step p { color: var(--ink-2); }
.no-webgl .mini3d, .no-mini3d .mini3d { display: none; }
.no-webgl .step, .no-mini3d .step { padding-top: 28px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step { flex-direction: row; align-items: center; gap: 12px; padding: 14px 20px 14px 8px; }
  .mini3d { width: 110px; height: 110px; margin-left: 0; flex: none; }
}
@media (max-width: 420px) { .mini3d { width: 88px; height: 88px; } }

/* ---------- Pricing ---------- */
.pricing__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: 40px;
}
.pricing__top .section-head { margin-bottom: 0; }
.counter {
  display: grid; gap: 12px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  min-width: 0;
}
.counter__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.counter label { font: 800 1.08rem/1.25 var(--font-display); font-stretch: 104%; color: var(--ink); }
.counter__ctrl { display: flex; align-items: center; gap: 6px; }
.counter__btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--sky);
  color: var(--ink);
  font: 700 1.3rem/1 var(--font-body);
  cursor: pointer;
}
.counter__btn:hover { background: var(--sky-2); }
.counter__val { min-width: 3ch; text-align: center; font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--ink); }
.counter__help { font-size: .9rem; color: var(--muted); }

input[type="range"] {
  --pct: 19.6%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%; height: 30px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, var(--panel) var(--pct), var(--sky-2) var(--pct));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px; margin-top: -10px;
  border-radius: 50%;
  background: var(--sun);
  border: 4px solid var(--card);
  box-shadow: 0 2px 8px rgba(11, 33, 80, .35);
}
input[type="range"]::-moz-range-track { height: 10px; border-radius: 5px; background: var(--sky-2); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: 5px; background: var(--panel); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sun);
  border: 4px solid var(--card);
  box-shadow: 0 2px 8px rgba(11, 33, 80, .35);
}

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px 26px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-width: 0;
}
.plan--pop { border: 2px solid var(--ink); box-shadow: var(--shadow-2); }
.badge {
  position: absolute; top: -13px; left: 24px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font: 600 .7rem/1 var(--font-mono);
  letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 2px 0 var(--sun-deep);
}
.plan__desc { color: var(--muted); font-size: .96rem; margin-top: -6px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.plan__amt {
  font: 900 3rem/1 var(--font-display);
  font-stretch: 106%;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan__per { color: var(--muted); font-weight: 600; }
.plan__sub {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--ink);
  font-size: .8rem; font-weight: 600;
}
.plan__save { color: var(--ok); font-weight: 700; font-size: .94rem; margin-top: -4px; }
.plan .checks { padding-top: 14px; margin-bottom: 8px; border-top: 1px dashed var(--line); }
.plan .btn { margin-top: auto; }

.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .25s ease, box-shadow .25s ease;
}
.tilt::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 45%);
  opacity: 0;
  transition: opacity .25s ease;
}
.tilt:hover { --ty: -4px; }
.tilt:hover::after { opacity: 1; }

.assure {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  color: var(--ink); font-weight: 700; font-size: .95rem;
}
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure .ico { color: var(--panel); }

@media (max-width: 960px) {
  .pricing__top { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 560px; margin-inline: auto; }
  .plan--pop { order: -1; }
}

/* ---------- Commercial tiers ---------- */
.tiers { margin-top: clamp(56px, 7vw, 92px); }
.tiers__head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 12px 48px;
  align-items: end;
  margin-bottom: 30px;
}
.tiers__head h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.tiers__head p { color: var(--muted); max-width: 38em; }
.tiers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-width: 0;
}
.tier--pop { border: 2px solid var(--panel); box-shadow: var(--shadow-2); }
.tier__count { display: flex; align-items: baseline; gap: 8px; font-size: 2.1rem; font-weight: 600; line-height: 1; color: var(--ink); }
.tier__count small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tier p { color: var(--ink-2); font-size: .98rem; }
.tier .btn { margin-top: auto; }
.tier h4 + p { margin-bottom: 10px; }
@media (max-width: 900px) {
  .tiers__head { grid-template-columns: minmax(0, 1fr); }
  .tiers__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* ---------- CTA band ---------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cta-band {
  --sx: min(calc(50% + 460px), calc(100% - 150px));
  --sy: 50%;
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(circle at var(--sx) var(--sy), rgba(255, 194, 14, .32), transparent 30%),
    repeating-conic-gradient(from var(--spin) at var(--sx) var(--sy), rgba(255, 255, 255, .06) 0deg 6deg, transparent 6deg 15deg),
    var(--ink);
  animation: sunburst 90s linear infinite;
}
@keyframes sunburst { to { --spin: 360deg; } }
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-template-areas: "copy sun";
  align-items: center;
  gap: 24px;
  padding-block: clamp(48px, 7vw, 80px);
}
.cta-band__sun { grid-area: sun; width: 260px; height: 260px; margin: 0; }
.cta-band__copy { grid-area: copy; display: grid; gap: 14px; justify-items: start; min-width: 0; }
.cta-band h2 { color: var(--on-dark); max-width: 16em; }
.cta-band p { color: var(--on-dark-2); font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 10px; }
.cta-band__call { display: inline-flex; align-items: center; gap: 8px; color: var(--sun); font-weight: 700; text-decoration: none; }
.cta-band__call:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .cta-band { --sx: 50%; --sy: 120px; }
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sun" "copy"; justify-items: center; text-align: center; gap: 8px; }
  .cta-band__sun { width: 180px; height: 180px; }
  .cta-band__copy { justify-items: center; }
  .cta-band__actions { justify-content: center; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__head { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head > p:not(.eyebrow) { color: var(--muted); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 48px 20px 0;
  font: 800 1.1rem/1.3 var(--font-display);
  font-stretch: 104%;
  color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "";
  position: absolute; right: 4px; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230B2150' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
.faq__list summary:hover { color: var(--panel-deep); }
.faq__list details p { padding: 0 48px 22px 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
}

/* ---------- Book / contact ---------- */
.book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.book__info { display: grid; gap: 18px; min-width: 0; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  justify-self: start;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 700; font-size: .92rem; color: var(--ink);
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.is-open .status__dot { background: #19B45A; box-shadow: 0 0 0 4px rgba(25, 180, 90, .18); }
.contact {
  list-style: none; margin: 6px 0 0; padding: 6px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.contact li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding-block: 16px; color: var(--ink-2); }
.contact li + li { border-top: 1px solid var(--line); }
.contact li > span:last-child { display: grid; gap: 4px; min-width: 0; }
.contact__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun-haze); color: var(--sun-deep); }
.contact__big { font-weight: 800; font-size: 1.12rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact__big:hover { color: var(--panel-deep); }
.hours { padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.hours__title { color: var(--ink); margin-bottom: 10px; }
.hours__title .ico { color: var(--sun-deep); }
.hours table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours th { text-align: left; font-weight: 500; color: var(--ink-2); padding: 7px 0; }
.hours td { text-align: right; font-weight: 700; color: var(--ink); padding: 7px 0; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--panel-deep); }
.hours tr.is-today th::after { content: " · today"; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.form-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-2); min-width: 0; }
.call-card { display: grid; gap: 16px; padding: clamp(22px, 3.5vw, 36px); }
.call-card__btns { display: grid; gap: 12px; }
.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: clamp(22px, 3.5vw, 36px);
}
.form > .form__head, .form > .form__offer, .form > .form__selected, .form > .field--full { grid-column: 1 / -1; }
.form__head { display: grid; gap: 4px; }
.form__head p { color: var(--muted); font-size: .96rem; }
.form__offer {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--sun-haze);
  color: var(--ink);
  font-weight: 700; font-size: .92rem;
}
.form__offer .ico { color: var(--sun-deep); }
.form__selected {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--sky);
  border: 1px solid var(--sky-2);
  color: var(--ink);
  font-size: .94rem;
}
.form__selected strong { font-weight: 800; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: 500 1rem/1.4 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #8796B2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--panel); box-shadow: 0 0 0 4px rgba(10, 108, 240, .16); }
.field.is-bad input { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .86rem; font-weight: 600; }
.field__err:empty { display: none; }
.form__error { padding: 10px 14px; border-radius: 10px; background: #FDECEC; color: var(--danger); font-weight: 600; }
.form__fine { text-align: center; color: var(--muted); font-size: .86rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__success { display: grid; justify-items: center; text-align: center; gap: 12px; padding: clamp(36px, 6vw, 64px) 28px; }
.form__success[hidden] { display: none; }
.form__success-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--sun-haze); color: var(--ok); }
.form__success-ico svg { width: 44px; height: 44px; }
.form__success p { color: var(--ink-2); max-width: 30em; }
@media (max-width: 960px) {
  .book { grid-template-columns: minmax(0, 1fr); }
  .form-card { order: -1; }
}
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } .form > .field { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-dark-2); padding-block: 64px 32px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer__brand { display: grid; gap: 16px; justify-items: start; max-width: 380px; }
.footer__brand img { width: 200px; height: auto; }
.footer h3 {
  margin-bottom: 14px;
  font: 600 .74rem/1 var(--font-mono);
  letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #DCE6F7; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .ico { color: var(--sun); }
.footer__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Mobile action bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; gap: 10px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.mbar.is-on { transform: none; }
.mbar .btn { flex: 1; }
@media (max-width: 760px) {
  .mbar { display: flex; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tilt { transform: none; }
}
