/* =========================================================================
   Setwell homepage
   ========================================================================= */

/* ---------- shared bits ---------- */
.ico-check { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.vq-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: #fff;
  background: linear-gradient(145deg, #4b95ff, #1d5fd6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.vq-av-lg { width: 46px; height: 46px; font-size: 15px; }

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 132px 0 88px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-light {
  position: absolute; inset: 0;
  background:
    radial-gradient(36% 34% at 74% 6%, rgba(234, 247, 251, 0.24), transparent 64%),
    radial-gradient(52% 48% at 76% 14%, rgba(127, 198, 230, 0.24), transparent 66%),
    radial-gradient(66% 62% at 72% 30%, rgba(46, 124, 192, 0.34), transparent 70%),
    radial-gradient(90% 80% at 62% 52%, rgba(18, 58, 107, 0.42), transparent 76%),
    var(--bg);
  transform: translate3d(0, calc(var(--hp, 0) * 60px), 0);
}
.hero-bg::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner { position: relative; }
.hero-copy {
  position: relative; z-index: 3; max-width: 800px;
  transform: translate3d(0, calc(var(--hp, 0) * -40px), 0);
  opacity: calc(1 - var(--hp, 0) * 0.7);
}
.hero-title {
  margin-top: 24px;
  font-size: clamp(40px, 4.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-shadow: 0 2px 30px rgba(5, 7, 12, 0.45);
}
.hero-title .line { display: block; padding-bottom: 0.06em; clip-path: inset(-0.2em -100vw -0.02em -100vw); }
.hero-title .line-in { display: inline-block; white-space: nowrap; }
.hero-title .accent { color: var(--blue); }
.hero-sub {
  margin-top: 26px; max-width: 34em;
  font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--text-2);
}
.hero-ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }

/* intro choreography */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.js .hero-title .line-in { animation: rise 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
html.js .hero-in { animation: fade-up 1s var(--ease) both; animation-delay: var(--d, 0s); }

/* ---------- 3D calendar plane ---------- */
.hero-visual {
  --vis-off: 9vw;
  position: absolute; z-index: 1;
  top: 50%; right: calc(-1 * var(--gutter) - var(--vis-off));
  width: min(62vw, 960px); height: 660px;
  transform: translateY(-44%);
  pointer-events: none;
}
.plane-stage {
  position: absolute; inset: 0;
  perspective: 1500px; perspective-origin: 50% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 42%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 4%, #000 42%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.plane-tilt {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform:
    translate3d(0, calc(var(--hp, 0) * 90px), 0)
    rotateX(calc(var(--my, 0) * -3deg + var(--hp, 0) * 8deg))
    rotateY(calc(var(--mx, 0) * 4deg));
}
.plane {
  position: absolute; left: 50%; top: 50%;
  width: 800px; height: 520px; margin: -250px 0 0 -400px;
  display: grid;
  grid-template-columns: 74px repeat(6, 1fr);
  grid-template-rows: 46px repeat(4, 1fr);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.92), rgba(8, 12, 22, 0.92));
  border: 1px solid rgba(120, 170, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 80px 140px -40px rgba(40, 126, 253, 0.45);
  transform: rotateX(56deg) rotateZ(-26deg);
  transform-style: preserve-3d;
}
.pl-corner, .pl-day, .pl-time, .pl-cell { position: relative; border-color: rgba(255, 255, 255, 0.055); border-style: solid; border-width: 0; }
.pl-day {
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243, 245, 249, 0.55);
  border-left-width: 1px;
}
.pl-time {
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: rgba(243, 245, 249, 0.42);
  border-top-width: 1px;
}
.pl-cell { border-left-width: 1px; border-top-width: 1px; transform-style: preserve-3d; }

.ev {
  position: absolute; inset: 7px;
  border-radius: 10px; padding: 9px 11px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 12.5px; line-height: 1.2; color: #fff; overflow: hidden;
  background: linear-gradient(155deg, #4592ff, #1c5fd8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(120, 180, 255, 0.35), 0 16px 34px -10px rgba(40, 126, 253, 0.8);
  transform: translateZ(2px);
}
.ev b { font-weight: 600; letter-spacing: -0.01em; }
.ev small { font-family: var(--mono); font-size: 10.5px; opacity: 0.8; }
.ev-busy {
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 6px, rgba(255, 255, 255, 0.02) 6px 12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  color: rgba(243, 245, 249, 0.42); justify-content: center;
}
.ev-busy b { font-weight: 500; font-size: 11.5px; }
@keyframes ev-drop {
  0% { transform: translateZ(220px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateZ(2px); opacity: 1; }
}
@keyframes ev-flash {
  0% { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(160,205,255,.9), 0 0 0 0 rgba(106,168,255,.7), 0 16px 34px -10px rgba(40,126,253,.8); }
  100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(120,180,255,.35), 0 0 0 18px rgba(106,168,255,0), 0 16px 34px -10px rgba(40,126,253,.8); }
}
.ev.is-new { animation: ev-drop 1s cubic-bezier(0.22, 1, 0.36, 1) both, ev-flash 1.1s ease-out 0.75s both; }
.ev.is-out { opacity: 0; transform: translateZ(2px) scale(0.86); transition: opacity 0.7s ease, transform 0.7s var(--ease); }

/* ---------- lead card ---------- */
.lcard {
  position: absolute; z-index: 4;
  right: calc(var(--vis-off) + var(--gutter)); bottom: 8%;
  width: 350px; padding: 18px 18px 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 28, 44, 0.86), rgba(10, 14, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.lcard.is-leaving { opacity: 0; transform: translateY(-14px) scale(0.98); }
.lcard.is-entering { opacity: 0; transform: translateY(16px) scale(0.98); transition: none; }
.lead-top { display: flex; align-items: center; gap: 12px; }
.lead-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(145deg, #4b95ff, #1d5fd6);
}
.lead-id { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.lead-id strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.lead-id span { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-pill {
  flex-shrink: 0; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  color: var(--blue-hi); background: var(--blue-soft);
  transition: color 0.3s, background-color 0.3s;
}
.lcard[data-state="qualified"] .lead-pill { color: var(--green); background: var(--green-soft); }
.lcard[data-state="booked"] .lead-pill,
.lcard[data-state="reminded"] .lead-pill { color: #fff; background: var(--blue); }
.lcard[data-state="filtered"] .lead-pill { color: var(--red); background: var(--red-soft); }

.lead-track {
  margin: 18px 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative;
}
.lead-track::before {
  content: ""; position: absolute; left: 7px; right: calc(25% - 7px); top: 6px; height: 1px; background: rgba(255, 255, 255, 0.12);
}
.lead-track::after {
  content: ""; position: absolute; left: 7px; top: 6px; height: 1px; background: var(--blue-hi);
  width: calc((75% - 7px) * var(--t, 0) / 3);
  transition: width 0.6s var(--ease);
}
.lcard[data-state="filtered"] .lead-track::after { background: var(--red); }
.lead-track li { position: relative; display: flex; flex-direction: column; gap: 8px; z-index: 1; }
.lead-track i {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: background-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}
.lead-track span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--text-3); transition: color 0.3s; }
.lead-track li.is-done i { background: var(--blue); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 0 0 4px rgba(40, 126, 253, 0.2); transform: scale(1.05); }
.lead-track li.is-done span { color: var(--text); }
.lead-track li.is-fail i { background: var(--red); box-shadow: 0 0 0 4px rgba(244, 124, 124, 0.18); }
.lead-track li.is-fail span { color: var(--red); }
.lead-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lead-facts div { display: flex; flex-direction: column; gap: 2px; }
.lead-facts span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.lead-facts b { font-size: 14px; font-weight: 600; }
.lcard[data-state="filtered"] .lead-facts b { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(244, 124, 124, 0.7); }

/* =========================================================================
   TRADES STRIP
   ========================================================================= */
.trades {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.trades-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.trades:hover .trades-track { animation-play-state: paused; }
.trades-list { display: flex; flex-shrink: 0; }
.trades-list li {
  display: flex; align-items: center; gap: 36px; padding-right: 36px;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.02em; color: var(--text-3); white-space: nowrap;
}
.trades-list li::after { content: "/"; color: rgba(106, 168, 255, 0.45); font-weight: 300; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   PROBLEM
   ========================================================================= */
.problem-head { max-width: 860px; }
.problem-head .lead { margin-top: 24px; }

.versus {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}
.ticket {
  position: relative; border-radius: var(--radius);
  padding: 30px 32px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  transition: transform 1.1s var(--ease), opacity 1s var(--ease), border-color 1s ease, box-shadow 1.2s ease;
}
.ticket-head { padding-bottom: 22px; margin-bottom: 6px; border-bottom: 1px dashed rgba(255, 255, 255, 0.12); position: relative; }
.ticket-head::before, .ticket-head::after {
  content: ""; position: absolute; bottom: -12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
}
.ticket-head::before { left: -44px; clip-path: inset(0 0 0 50%); }
.ticket-head::after { right: -44px; clip-path: inset(0 50% 0 0); }
.ticket-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.ticket h3 { margin-top: 8px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; }
.ticket-rows { display: flex; flex-direction: column; }
.trow {
  display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 16px;
  padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.trow:first-child { border-top: 0; }
.trow dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.trow dd { display: flex; align-items: center; gap: 10px; font-size: 16.5px; }
.ticket-bad .trow dd { display: block; }
.ticket-bad .trow dd span { color: var(--text-2); }
.ticket-bad .trow dd span {
  background-image: linear-gradient(var(--red), var(--red)); background-repeat: no-repeat;
  background-position: 0 58%; background-size: 0% 1.5px;
  transition: color 0.8s ease, background-size 0.7s var(--ease); transition-delay: calc(var(--i) * 0.14s + 0.2s);
}
.ticket-good .trow dd .ico-check {
  color: var(--green); opacity: 0; transform: scale(0.4);
  transition: opacity 0.4s ease, transform 0.6s var(--ease); transition-delay: calc(var(--i) * 0.14s + 0.35s);
}
.ticket-good .trow dd span { color: var(--text); }
.versus.is-in .ticket-bad { opacity: 0.62; transform: translateY(14px) rotate(-1.2deg); }
.versus.is-in .ticket-bad .trow dd span { color: var(--text-3); }
.versus.is-in .ticket-bad .trow dd span { background-size: 100% 1.5px; }
.versus.is-in .ticket-good {
  transform: translateY(-10px);
  border-color: rgba(40, 126, 253, 0.45);
  box-shadow: 0 0 0 1px rgba(40, 126, 253, 0.15), 0 40px 90px -40px rgba(40, 126, 253, 0.55);
}
.versus.is-in .ticket-good .trow dd .ico-check { opacity: 1; transform: none; }
.ticket-good .ticket-label { color: var(--blue-hi); }

/* =========================================================================
   SYSTEM (pinned story)
   ========================================================================= */
.system { padding-bottom: 0; }
.system-head { max-width: 900px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.system-head .h2 { margin-top: 18px; }
.system-head .lead { margin-top: 22px; }

.story { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 140px); }
.story-grid { position: relative; }
.rail { display: none; }

/* default (mobile, tablet, reduced motion, no JS): stacked */
.story-steps { display: flex; flex-direction: column; gap: clamp(72px, 12vw, 120px); }
.step { display: grid; grid-template-columns: 1fr; gap: 32px; }
.step-copy { max-width: 520px; }
.step-verb {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-hi); padding: 6px 12px; border-radius: 999px; background: var(--blue-soft);
}
.step-copy h3 { margin-top: 18px; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.step-copy p { margin-top: 16px; color: var(--text-2); font-size: 17px; line-height: 1.65; max-width: 44ch; }
.step-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }

/* pinned (desktop, set by JS) */
.story.is-pinned { height: calc(var(--n) * 50vh + 100vh); padding-bottom: 0; }
.story.is-pinned .story-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: 70px; }
.story.is-pinned .story-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.story.is-pinned .rail { display: flex; flex-direction: column; gap: 6px; position: relative; padding-left: 22px; }
.rail-line { position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: rgba(255, 255, 255, 0.1); }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--blue-hi), var(--blue)); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.rail-item {
  position: relative; text-align: left; padding: 9px 0;
  font-size: 17px; font-weight: 500; color: var(--text-3); transition: color 0.4s ease;
}
.rail-item::before {
  content: ""; position: absolute; left: -26.5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.rail-item.is-active { color: var(--text); }
.rail-item.is-active::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(40, 126, 253, 0.22); }
.rail-item:hover { color: var(--text-2); }

.story.is-pinned .story-steps { display: grid; }
.story.is-pinned .step {
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 4vw, 64px); align-items: center;
  pointer-events: none;
}
.story.is-pinned .step.is-active { pointer-events: auto; }
.story.is-pinned .step-copy { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.story.is-pinned .step-visual { opacity: 0; transform: translateY(24px) scale(0.965); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); min-height: 560px; }
.story.is-pinned .step.is-active .step-copy { opacity: 1; transform: none; transition-delay: 0.05s; }
.story.is-pinned .step.is-active .step-visual { opacity: 1; transform: none; transition-delay: 0.1s; }

/* scroll hint: only while the story is pinned */
.story-hint { display: none; }
.story.is-pinned .story-hint {
  position: absolute; left: 50%; bottom: clamp(16px, 3.5vh, 40px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-2); transition: color 0.3s ease, opacity 0.4s ease;
}
.story-hint-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.story-hint-ico {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--text);
  border: 1px solid rgba(40, 126, 253, 0.5); background: rgba(40, 126, 253, 0.12);
  box-shadow: 0 0 24px rgba(40, 126, 253, 0.25);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.story-hint-ico svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  animation: hint-bob 1.8s var(--ease) infinite;
}
.story-hint:hover { color: var(--text); }
.story-hint:hover .story-hint-ico { border-color: var(--blue); background: rgba(40, 126, 253, 0.24); }
@keyframes hint-bob {
  0%, 100% { transform: translateY(-4px); opacity: 0.7; }
  50% { transform: translateY(5px); opacity: 1; }
}
@media (max-height: 700px) { .story.is-pinned .story-hint { display: none; } }

/* stacked-mode entrance (IntersectionObserver toggles .is-active per step) */
.story:not(.is-pinned) .step-copy, .story:not(.is-pinned) .step-visual { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.story:not(.is-pinned) .step.is-active .step-copy, .story:not(.is-pinned) .step.is-active .step-visual { opacity: 1; transform: none; }
.story:not(.is-pinned) .step.is-active .step-visual { transition-delay: 0.1s; }
html:not(.js) .step-copy, html:not(.js) .step-visual { opacity: 1 !important; transform: none !important; }

/* ---------- visual: map (Attract) ---------- */
.vmap {
  position: relative; width: min(100%, 540px); aspect-ratio: 520 / 420;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px -40px rgba(40, 126, 253, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.vmap-svg { width: 100%; height: 100%; }
.vmap-ring { fill: rgba(40, 126, 253, 0.1); stroke: rgba(106, 168, 255, 0.75); stroke-width: 1.6; stroke-dasharray: 5 7; }
.vmap-pulse { fill: rgba(40, 126, 253, 0.18); transform-box: fill-box; transform-origin: center; opacity: 0; }
.step.is-active .vmap-pulse { animation: map-pulse 3s ease-out infinite 0.6s; }
@keyframes map-pulse { 0% { transform: scale(0.15); opacity: 0.7; } 100% { transform: scale(1); opacity: 0; } }
.vmap-pins circle { fill: rgba(255, 255, 255, 0.25); transition: fill 0.4s ease, filter 0.4s ease; transition-delay: calc(var(--i) * 90ms + 0.3s); }
.step.is-active .vmap-pins circle { fill: #6aa8ff; filter: drop-shadow(0 0 5px rgba(106, 168, 255, 0.9)); }
.vmap-out circle { fill: rgba(255, 255, 255, 0.14); }
.vchip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500; white-space: nowrap;
  background: rgba(8, 12, 22, 0.78); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.vchip-a { left: 16px; top: 16px; transition-delay: 0.35s; }
.vchip-b { right: 16px; top: 16px; transition-delay: 0.5s; }
.vchip-c { left: 16px; bottom: 16px; transition-delay: 0.65s; }
.step.is-active .vchip { opacity: 1; transform: none; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.2); animation: live 1.8s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(61, 220, 151, 0); } }

/* ---------- visual: qualification (Qualify) ---------- */
.vqual { position: relative; width: min(100%, 560px); height: 470px; }
.vq-card {
  position: absolute; width: 360px; border-radius: var(--radius); padding: 20px;
  background: linear-gradient(180deg, rgba(20, 28, 44, 0.95), rgba(11, 16, 27, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.vq-main { right: 0; bottom: 0; z-index: 2; }
.vq-reject { left: -28px; top: 8px; width: 290px; transform: rotate(-4deg); opacity: 0.9; transition: transform 0.9s var(--ease) 1.2s, opacity 0.9s ease 1.2s; }
.step.is-active .vq-reject { transform: rotate(-7deg) translate(-10px, 6px); opacity: 0.5; }
.vq-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.vq-head strong { display: block; font-size: 15px; font-weight: 600; }
.vq-head span { display: block; font-size: 12.5px; color: var(--text-3); }
.vq-row { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.vq-row:nth-of-type(2) { border-top: 0; }
.vq-row span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.vq-row b { font-size: 15px; font-weight: 500; }
.vq-row .ico-check { color: var(--green); }
.vq-main .vq-row { opacity: 0; transform: translateX(-8px); transition: opacity 0.5s ease, transform 0.6s var(--ease); transition-delay: calc(var(--i) * 0.16s + 0.25s); }
.step.is-active .vq-main .vq-row { opacity: 1; transform: none; }
.vq-result {
  margin-top: 12px; padding: 11px 14px; border-radius: var(--radius-chip);
  font-size: 13.5px; font-weight: 600; text-align: center;
}
.vq-result.is-green { color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.25); }
.vq-reject .vq-result { text-align: left; }
.vq-result.is-red { color: var(--red); background: var(--red-soft); box-shadow: inset 0 0 0 1px rgba(244, 124, 124, 0.2); }
.vq-main .vq-result { opacity: 0; transform: scale(0.94); transition: opacity 0.5s ease 1s, transform 0.6s var(--ease) 1s; }
.step.is-active .vq-main .vq-result { opacity: 1; transform: none; }

/* ---------- visual: calendar (Book) ---------- */
.vcal {
  position: relative; width: min(100%, 560px); border-radius: var(--radius); padding: 20px;
  background: linear-gradient(180deg, rgba(20, 28, 44, 0.95), rgba(11, 16, 27, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 100px -36px rgba(40, 126, 253, 0.45);
}
.vcal-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.vcal-top strong { font-size: 16px; font-weight: 600; }
.vcal-top span { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.vcal-grid { display: grid; grid-template-columns: 50px repeat(5, 1fr); grid-auto-rows: 64px; }
.vcal-grid > div:nth-child(-n+6) { height: 30px; }
.vcal-grid { grid-template-rows: 30px repeat(4, 64px); }
.vcal-d { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); text-align: center; }
.vcal-t { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.vcal-c { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.05); border-left: 1px solid rgba(255, 255, 255, 0.05); }
.vcal-busy, .vcal-appt, .vcal-new {
  position: absolute; inset: 4px; border-radius: 8px; padding: 6px 8px;
  display: flex; flex-direction: column; justify-content: center; font-size: 11.5px; line-height: 1.25; overflow: hidden;
}
.vcal-busy { color: var(--text-3); background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 6px, rgba(255,255,255,.015) 6px 12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.vcal-appt { background: rgba(40, 126, 253, 0.16); box-shadow: inset 0 0 0 1px rgba(40, 126, 253, 0.35); }
.vcal-appt b, .vcal-new b { font-weight: 600; }
.vcal-appt span { color: var(--text-2); }
.vcal-new { background: linear-gradient(155deg, #4592ff, #1c5fd8); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 12px 30px -8px rgba(40, 126, 253, 0.9); z-index: 2; }
.vcal-new span { opacity: 0.85; }
.vcal-new { opacity: 0; transform: translateY(-34px) scale(1.08); }
.step.is-active .vcal-new { animation: cal-drop 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both; }
@keyframes cal-drop {
  0% { opacity: 0; transform: translateY(-34px) scale(1.08); }
  100% { opacity: 1; transform: none; }
}
.vcal-toast {
  position: absolute; right: -18px; top: -22px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(10, 14, 24, 0.95); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease 1.2s, transform 0.7s var(--ease) 1.2s;
}
.vcal-toast .ico-check { color: var(--green); width: 18px; height: 18px; }
.vcal-toast b { display: block; font-size: 13.5px; font-weight: 600; }
.vcal-toast span { display: block; font-size: 12px; color: var(--text-3); }
.step.is-active .vcal-toast { opacity: 1; transform: none; }

/* ---------- visual: texts (Remind) ---------- */
.vsms {
  width: min(100%, 390px); border-radius: 28px; padding: 18px 16px 20px;
  background: linear-gradient(180deg, rgba(20, 28, 44, 0.96), rgba(9, 13, 22, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 100px -36px rgba(40, 126, 253, 0.4);
}
.vsms-top { display: flex; align-items: center; gap: 12px; padding: 0 4px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.vsms-top strong { display: block; font-size: 15px; font-weight: 600; }
.vsms-top span { display: block; font-size: 12px; color: var(--text-3); }
.vsms-body { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.bub {
  max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45;
  opacity: 0; transform: translateY(10px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.6s var(--ease); transition-delay: calc(var(--i) * 0.42s + 0.3s);
}
.bub-out { align-self: flex-start; background: rgba(255, 255, 255, 0.075); border-bottom-left-radius: 6px; }
.bub-in { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bub-day {
  align-self: center; margin: 6px 0 2px; font-family: var(--mono); font-size: 11px; color: var(--text-3);
  opacity: 0; transition: opacity 0.5s ease; transition-delay: calc(var(--i) * 0.42s + 0.3s);
}
.step.is-active .bub, .step.is-active .bub-day { opacity: 1; transform: none; }
.tok { display: inline-block; padding: 0 6px; border-radius: 6px; background: var(--blue-soft); color: var(--blue-hi); font-weight: 600; }

/* ---------- visual: appointment brief (Show up) ---------- */
.vbrief {
  width: min(100%, 480px); border-radius: var(--radius); padding: 22px;
  background: linear-gradient(180deg, rgba(20, 28, 44, 0.96), rgba(10, 14, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 100px -36px rgba(40, 126, 253, 0.45);
}
.vb-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.vb-when { display: block; font-family: var(--mono); font-size: 12px; color: var(--blue-hi); }
.vb-top strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.vb-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--green-soft); }
.vb-pill .ico-check { width: 14px; height: 14px; }
.vb-person { display: flex; align-items: center; gap: 14px; margin: 20px 0 18px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); }
.vb-person strong { display: block; font-size: 16px; font-weight: 600; }
.vb-person span { display: block; font-size: 13px; color: var(--text-3); }
.vb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, 0.06); border-radius: 12px; overflow: hidden; }
.vb-grid div { background: #0e1524; padding: 13px 14px; display: flex; flex-direction: column; gap: 3px; }
.vb-grid span, .vb-notes span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.vb-grid b { font-size: 14.5px; font-weight: 600; }
.vb-notes { margin-top: 14px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); }
.vb-notes p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.vbrief .vb-grid div, .vbrief .vb-notes { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.6s var(--ease); transition-delay: calc(var(--i) * 0.12s + 0.3s); }
.step.is-active .vbrief .vb-grid div, .step.is-active .vbrief .vb-notes { opacity: 1; transform: none; }

/* =========================================================================
   CRM
   ========================================================================= */
.crm { overflow: clip; }
.crm-head { max-width: 820px; }
.crm-head .lead { margin-top: 24px; }
.crm-stage {
  position: relative; margin-top: clamp(56px, 7vw, 96px);
  perspective: 2000px; perspective-origin: 50% 0;
}
.crm-stage::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: -10%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 40%, rgba(40, 126, 253, 0.35), transparent 70%);
  filter: blur(40px);
}
.crm-frame {
  border-radius: var(--radius); overflow: hidden;
  background: #0d1320; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 60px 140px -50px rgba(40, 126, 253, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-origin: 50% 0;
  transform: translate3d(0, calc((1 - var(--cp, 1)) * 40px), 0) rotateX(calc((1 - var(--cp, 1)) * 22deg)) scale(calc(0.9 + var(--cp, 1) * 0.1));
}
.crm-chrome { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); position: relative; }
.crm-chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.crm-chrome span { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.crm-shot { position: relative; }
.crm-shot img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.callout { position: absolute; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity 0.6s ease, transform 0.7s var(--ease); transition-delay: calc(var(--i) * 0.18s + 0.2s); }
.crm-stage.is-in .callout { opacity: 1; transform: none; }
.callout-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(40, 126, 253, 0.28), 0 0 0 10px rgba(40, 126, 253, 0.1); flex-shrink: 0; }
.callout-label {
  padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  color: var(--text); background: rgba(8, 12, 22, 0.9); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.8);
}
.callout-a { left: 11%; top: 22%; }
.callout-b { left: 13.5%; top: 38%; }
.callout-c { left: 16%; top: 46%; }

.crm-hint { display: none; margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-3); }
.crm-facts { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); }
.crm-facts > div { padding: 4px 32px 4px 0; }
.crm-facts > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.crm-facts h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.crm-facts p { margin-top: 8px; font-size: 15.5px; color: var(--text-2); line-height: 1.6; }

/* =========================================================================
   YOUR PART
   ========================================================================= */
.part-head { max-width: 1100px; }
.part-head .lead { max-width: 720px; }
.part-head .h2 { margin-top: 18px; }
.part-head .lead { margin-top: 24px; }

.tl {
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}
.tl-row { display: grid; grid-template-columns: 96px 1fr 120px; align-items: center; gap: 20px; }
.tl-row + .tl-row { margin-top: 18px; }
.tl-who { font-weight: 600; font-size: 16px; }
.tl-us .tl-who { color: var(--blue-hi); }
.tl-cells { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; }
.tl-cells span {
  height: 44px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}
.tl-you .tl-cells span:first-child { position: relative; background: var(--text); box-shadow: 0 0 20px rgba(255, 255, 255, 0.25); transform: scaleY(0.4); transition: transform 0.7s var(--ease) 0.2s; }
.tl-us .tl-cells span {
  background: linear-gradient(180deg, #4b95ff, #1c5fd8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: scaleY(0.2); opacity: 0.12; transform-origin: 50% 100%;
  transition: transform 0.6s var(--ease), opacity 0.5s ease; transition-delay: calc(var(--i) * 28ms + 0.3s);
}
.tl.is-in .tl-you .tl-cells span:first-child { transform: none; }
.tl.is-in .tl-us .tl-cells span { transform: none; opacity: calc(0.55 + var(--h, 0.4)); }
.tl-note { display: flex; flex-direction: column; line-height: 1.25; }
.tl-note b { font-size: 16px; font-weight: 600; }
.tl-note span { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }
.tl-axis { margin: 14px 0 0 116px; margin-right: 140px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--text-3); }

.part-grid { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); }
.part-grid h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; }
.part-list { margin-top: 24px; display: flex; flex-direction: column; }
.part-list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.pl-n { font-family: var(--mono); font-size: 13px; color: var(--blue-hi); padding-top: 3px; }
.part-list b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.part-list p { margin-top: 4px; font-size: 15.5px; color: var(--text-2); line-height: 1.55; }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 11px 17px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: rgba(40, 126, 253, 0.1); color: #cfe0ff; box-shadow: inset 0 0 0 1px rgba(40, 126, 253, 0.28);
}
.part-note { margin-top: 28px; font-size: 15px; color: var(--text-3); }

/* =========================================================================
   RESULTS
   ========================================================================= */
.results {
  position: relative; overflow: hidden; isolation: isolate;
  background: #030407; text-align: center;
  padding-block: clamp(150px, 17vw, 230px);
}
.results-fallback { position: absolute; inset: 0; z-index: -3; background: radial-gradient(40% 50% at 50% 50%, rgba(40, 126, 253, 0.45), transparent 70%), #030407; }
.results-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.results-vignette { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 35%, rgba(3, 4, 7, 0.75) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.results-inner { display: flex; flex-direction: column; align-items: center; }
.result-num {
  font-size: clamp(150px, 24vw, 330px); font-weight: 700; letter-spacing: -0.07em; line-height: 0.86;
  color: var(--green); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 80px rgba(61, 220, 151, 0.35);
  padding-right: 0.06em;
}
.result-cap { margin-top: 28px; max-width: 30ch; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; letter-spacing: -0.02em; font-weight: 500; }
.result-sub { margin-top: 18px; color: var(--text-2); font-size: 17px; }

/* =========================================================================
   RISK REVERSAL
   ========================================================================= */
.risk-head { display: flex; flex-direction: column; gap: 18px; }
.risk-grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.risk-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.risk-card h3 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.risk-card p { margin-top: 14px; color: var(--text-2); font-size: 16.5px; line-height: 1.6; max-width: 46ch; }
.risk-guarantee {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 3vw, 48px); align-items: center;
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(40, 126, 253, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border-color: rgba(40, 126, 253, 0.3);
}
.rg-num span {
  display: block; font-size: clamp(110px, 12vw, 170px); font-weight: 700; letter-spacing: -0.07em; line-height: 0.85;
  background: linear-gradient(180deg, #ffffff 20%, #6aa8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.04em;
}
.risk-exclusive { display: flex; flex-direction: column; }
.rx-visual { position: relative; width: 120px; height: 120px; margin-bottom: 28px; display: grid; place-items: center; }
.rx-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(106, 168, 255, 0.3); }
.rx-ring-1 { inset: 30px; border-color: rgba(106, 168, 255, 0.55); background: rgba(40, 126, 253, 0.1); }
.rx-ring-2 { inset: 14px; border-style: dashed; }
.rx-ring-3 { inset: 0; border-color: rgba(106, 168, 255, 0.14); animation: rx-spin 30s linear infinite; border-style: dashed; }
@keyframes rx-spin { to { transform: rotate(360deg); } }
.rx-core { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); box-shadow: 0 0 30px rgba(40, 126, 253, 0.6); }
.rx-core svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 130px; }
.faq-side .lead { margin-top: 22px; }
.faq-side a { color: var(--text); border-bottom: 1px solid rgba(106, 168, 255, 0.5); }
.faq-side a:hover { color: var(--blue-hi); }
.nowrap { white-space: nowrap; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; text-align: left;
  font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; letter-spacing: -0.015em; color: var(--text);
  transition: color 0.25s;
}
.qa-q:hover { color: var(--blue-hi); }
.qa-q i { position: relative; width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.3s, box-shadow 0.3s, transform 0.45s var(--ease); }
.qa-q i::before, .qa-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: currentColor; border-radius: 1px; transition: transform 0.45s var(--ease); }
.qa-q i::after { transform: rotate(90deg); }
.qa.is-open .qa-q i { background: var(--blue); box-shadow: none; transform: rotate(180deg); color: #fff; }
.qa.is-open .qa-q i::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.qa.is-open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 60px 26px 0; color: var(--text-2); font-size: 16.5px; line-height: 1.65; }
.hl-red { color: var(--red); font-weight: 600; }
.hl-green { color: var(--green); font-weight: 600; }

/* =========================================================================
   BOOK
   ========================================================================= */
.book {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: 130px 0 100px;
}
.book-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 40% at 20% 10%, rgba(234, 247, 251, 0.14), transparent 65%),
    radial-gradient(55% 55% at 22% 20%, rgba(127, 198, 230, 0.2), transparent 68%),
    radial-gradient(70% 70% at 30% 40%, rgba(46, 124, 192, 0.3), transparent 72%),
    radial-gradient(90% 80% at 50% 60%, rgba(18, 58, 107, 0.4), transparent 78%),
    var(--bg);
}
.book-bg::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 22%; background: linear-gradient(180deg, var(--bg), transparent); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.book-copy .h2 { margin-top: 18px; }
.book-copy .lead { margin-top: 22px; }
.book-points { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.book-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text); }
.book-points .ico-check { color: var(--green); width: 18px; height: 18px; }

.book-card {
  position: relative; border-radius: 20px; padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(180deg, rgba(14, 20, 33, 0.82), rgba(8, 12, 21, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(40, 126, 253, 0.4);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.book-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; margin-top: 6px; height: 56px; font-size: 16px; }
.form-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-note { font-size: 13.5px; color: var(--text-3); text-align: center; }
.form-fail { font-size: 14px; color: var(--red); text-align: center; line-height: 1.5; }
.form-fail a { color: var(--text); text-decoration: underline; }
.book-done { text-align: center; padding: 36px 8px; }
.done-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green); box-shadow: 0 0 0 10px rgba(61, 220, 151, 0.14), 0 0 60px rgba(61, 220, 151, 0.4); animation: pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.done-icon svg { width: 32px; height: 32px; fill: none; stroke: #05070c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.book-done h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.book-done p { margin-top: 10px; color: var(--text-2); }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1180px) {
  .hero-visual { --vis-off: 10vw; width: 66vw; }
}

@media (max-width: 960px) {
  .hero { padding: 116px 0 56px; min-height: 0; display: block; }
  .hero-copy { max-width: none; }
  .hero-title { font-size: clamp(38px, 7.4vw, 58px); }
  .hero-title .line-in { white-space: normal; text-wrap: balance; }
  .hero-visual { position: relative; top: auto; right: auto; width: 100%; height: auto; margin-top: 28px; transform: none; display: flex; flex-direction: column; align-items: center; }
  .plane-stage {
    position: relative; inset: auto; width: calc(100% + 2 * var(--gutter)); height: 400px; margin-inline: calc(-1 * var(--gutter));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 74%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 16%, #000 74%, transparent 100%);
  }
  .plane { transform: rotateX(56deg) rotateZ(-26deg) scale(0.8); }
  .lcard { position: relative; right: auto; bottom: auto; margin-top: -84px; }

  .versus { grid-template-columns: 1fr; gap: 20px; }
  .versus.is-in .ticket-bad { transform: none; }
  .versus.is-in .ticket-good { transform: none; }

  .crm-facts { grid-template-columns: 1fr; gap: 24px; }
  .crm-facts > div, .crm-facts > div + div { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .callout { display: none; }
  .crm-shot { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .crm-shot::-webkit-scrollbar { display: none; }
  .crm-shot img { width: 860px; max-width: none; }
  .crm-hint { display: block; }

  .part-grid { grid-template-columns: 1fr; }
  .risk-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .book { min-height: 0; padding: 110px 0 90px; }
  .book-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .plane-stage { height: 320px; }
  .plane { transform: rotateX(56deg) rotateZ(-26deg) scale(0.62); }
  .lcard { width: 100%; max-width: 380px; margin-top: -64px; }
  .step-visual { min-height: 0; }
  .vqual { height: 580px; }
  .vq-card { width: min(330px, 90%); }
  .vq-reject { left: 0; top: 0; }
  .vcal { padding: 14px; }
  .vcal-grid { grid-template-columns: 38px repeat(5, 1fr); grid-template-rows: 26px repeat(4, 58px); }
  .vcal-busy, .vcal-appt, .vcal-new { font-size: 9.5px; padding: 3px 4px; letter-spacing: -0.01em; inset: 3px; }
  .vcal-appt span, .vcal-new span { display: none; }
  .vcal-toast { right: -6px; top: -26px; padding: 10px 12px; }
  .vchip { font-size: 11.5px; padding: 6px 10px; }
  .vchip-a { left: 10px; top: 10px; }
  .vchip-b { right: 10px; top: 10px; }
  .vchip-c { left: 10px; bottom: 10px; }

  .ticket { padding: 24px 22px 12px; }
  .ticket-head::before { left: -34px; }
  .ticket-head::after { right: -34px; }
  .trow { grid-template-columns: 96px 1fr; gap: 12px; }
  .trow dd { font-size: 15.5px; }

  .tl { padding: 20px 16px; }
  .tl-row { grid-template-columns: 1fr; gap: 10px; }
  .tl-row + .tl-row { margin-top: 26px; }
  .tl-cells { gap: 2px; }
  .tl-cells span { height: 34px; border-radius: 3px; }
  .tl-note { flex-direction: row; align-items: baseline; gap: 8px; }
  .tl-axis { margin: 14px 0 0; }

  .risk-guarantee { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .qa-a p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .trades-track { animation: none; }
  .hero-copy, .hero-light, .plane-tilt { transform: none !important; opacity: 1 !important; }
}
