/* Premium rebuild layer. Loaded after styles.css. */

h1, h2, h3 { text-wrap: balance; }
h2 { max-width: 22ch; }
p { max-width: 68ch; }

.page-shell { background: #080a10; }
.section,
.section-solid,
.section-deep,
.section-cost,
.section-measures,
.section-neutral,
.section-guide {
  background:
    linear-gradient(180deg, transparent, rgba(8, 10, 16, 0.92) 10%, rgba(8, 10, 16, 0.94) 90%, transparent);
}
.section-deep {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(120, 90, 220, 0.16), transparent 70%),
    linear-gradient(180deg, transparent, rgba(9, 10, 16, 0.94) 12%, rgba(9, 10, 16, 0.94) 88%, transparent);
}
.section-cost {
  background:
    radial-gradient(ellipse 42% 36% at 18% 0%, rgba(224, 161, 90, 0.16), transparent 62%),
    linear-gradient(180deg, transparent, rgba(12, 11, 14, 0.94) 12%, rgba(12, 11, 14, 0.94) 88%, transparent);
}
.section-cinema { background: transparent; }

@property --mask {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes spin {
  to { --mask: 360deg; }
}
.btn-spin {
  color: #141820;
  background-image: linear-gradient(
    315deg,
    hsl(213 95% 91%) 0%,
    hsl(248 100% 88%) 47%,
    hsl(222 30% 78%) 100%
  );
  border: 0;
  overflow: visible;
  box-shadow: 0 2px 3px 1px hsl(222 50% 20% / 45%);
}
.btn-spin:hover { background-image: linear-gradient(315deg, #fff, hsl(248 100% 92%) 50%, #e7ebf4); }
.btn-spin .shimmer {
  inset: -6px;
  padding: 0;
  background: none;
  -webkit-mask: none;
  mask: none;
  mix-blend-mode: plus-lighter;
  mask-image: conic-gradient(
    from var(--mask, 0deg),
    transparent 0%,
    transparent 10%,
    #000 36%,
    #000 45%,
    transparent 50%,
    transparent 60%,
    #000 85%,
    #000 95%,
    transparent 100%
  );
  animation: spin 3s linear infinite both;
}
.btn-spin .shimmer::before,
.btn-spin .shimmer::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  pointer-events: none;
}
.btn-spin .shimmer::before {
  box-shadow:
    0 0 3px 1px hsl(213 20% 95%),
    0 0 8px 3px hsl(248 40% 62% / 55%);
  z-index: -1;
}
.btn-spin .shimmer::after {
  box-shadow:
    inset 0 0 0 1.5px hsl(0 0% 100% / 0.9),
    inset 0 0 3px 1px hsl(248 100% 80% / 0.7);
}
.btn-spin:hover .shimmer { animation-duration: 1.35s; }
.btn-spin--graphite {
  color: #141820;
  background-image: linear-gradient(315deg, hsl(213 95% 91%), hsl(248 100% 88%) 47%, hsl(222 30% 78%));
}

.hero-copy h1 { max-width: none; font-size: clamp(2.15rem, 2.45vw, 2.85rem); }
@media (max-width: 1600px) {
  .header-by { display: none; }
}
.hero-support { font-size: clamp(1.2rem, 2vw, 1.55rem); color: #f4f7fb; font-weight: 600; }
.proof-strip { background: rgba(8, 10, 14, 0.46); }
.proof-row p { text-align: center; }

.problem-layout { align-items: center; }
.postpone { width: min(100%, 520px); margin-inline: auto; }
.postpone img { width: min(100%, 520px); }
.postpone figcaption {
  position: relative;
  z-index: 1;
  margin: 0 0 -1.2rem;
  font-size: 1.35rem;
  max-width: 18ch;
}

.gap-flow li:not(:last-child)::before { content: none; animation: none; }
.gap-flow li:not(:last-child)::after {
  content: "";
  top: 32px;
  right: -8%;
  width: 42%;
  height: 2px;
  border: 0;
  transform: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0 7px, transparent 7px 13px);
  background-size: 26px 2px;
  background-repeat: repeat-x;
  animation: dash-travel 0.9s linear infinite;
}
.gap-flow li:not(:last-child) .flow-arrow {
  position: absolute;
  top: 26px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.8);
  border-right: 1.5px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
}
@keyframes dash-travel { to { background-position: 26px 0; } }
.gap-flow .is-risk span { color: #e0a15a; }
.gap-flow .is-incomplete span { color: #e07a72; }

.section-cost h2 { max-width: none; }
.stat-board { align-items: stretch; }
.mile {
  margin-top: 0.4rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.tte ol { height: 168px; }

.stages { position: relative; border-top: 0; gap: 0; }
.stages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}
.stages::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 4%;
  width: 16%;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: rail 4.8s linear infinite;
}
@keyframes rail { to { left: 80%; } }
.stages li { padding: 1.4rem 40px 0; }
.stages li + li { border-left: 1px solid rgba(255, 255, 255, 0.1); }

.showcase-tabs {
  justify-content: center;
  gap: 1.4rem;
  margin: 0 0 0.6rem;
}
.showcase-tabs button {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #8b97ab;
  padding: 0.35rem 0.1rem;
  box-shadow: inset 0 -1px 0 transparent;
}
.showcase-tabs button[aria-selected="true"] {
  background: transparent;
  color: #f4f7fb;
  box-shadow: inset 0 -2px 0 #e0a15a;
}
.tour-stage {
  height: min(58vh, 620px);
  background: transparent;
  z-index: 2;
}
.tour-slide {
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.tour-band {
  position: relative;
  z-index: 1;
  margin-top: -36px;
  padding: 3.2rem 0 0.4rem;
  background: linear-gradient(180deg, rgba(36, 28, 48, 0), rgba(22, 18, 32, 0.92) 30%, rgba(14, 13, 18, 0.2));
}
.showcase-notes { max-width: 68rem; }
.showcase-notes p { font-size: 1.2rem; max-width: 70ch; }

.kpi-grid { grid-template-columns: 1.3fr 0.85fr 0.95fr; }
.kpi-grid article:first-child { background: linear-gradient(180deg, #221c33, #141820); }
.feature-mix article {
  background: rgba(16, 18, 24, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.feature-mix .mix-cause,
.feature-mix .mix-time,
.feature-mix .mix-policy { border-top: 0; border-left: 0; }
.feature-mix article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.feature-mix article:hover { transform: translateY(-3px); }
.feature-mix article:hover::before { opacity: 1; }

.audience { gap: 1.25rem; }
.audience article {
  border-radius: 16px;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.audience article + article { border-left: 0; }

.arch { position: relative; gap: 1.35rem; }
.arch li { padding: 0.85rem 0.15rem 0.6rem 0; font-size: 0.98rem; }
.arch li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.55rem;
  right: -0.95rem;
  width: 1.35rem;
  height: 2px;
  border: 0;
  transform: none;
  background: repeating-linear-gradient(90deg, #c4b5fd 0 5px, transparent 5px 9px);
  background-size: 18px 2px;
  animation: dash-travel 0.8s linear infinite;
}

.pricing-center h2 { max-width: 20em; }
.price-grid { align-items: stretch; }
.price-card,
.price-card--best {
  min-height: 100%;
  transform: none;
  display: flex;
  flex-direction: column;
}
.price-card .btn,
.price-card--best .btn { margin-top: auto; }
.price-card { border-top: 3px solid #3ec8f5; }
.price-card--best { border-top: 3px solid #e0a15a; background: linear-gradient(180deg, #2a2438, #16141c); }

.faq-list { columns: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.4rem; }
.faq-item { break-inside: auto; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 0.2rem 0.9rem 0.4rem; }
.final-cta h2 { max-width: none; }
.final-cta {
  background:
    radial-gradient(ellipse 40% 50% at 50% 40%, rgba(80, 110, 220, 0.2), transparent 70%),
    transparent;
}

@media (max-width: 1024px) {
  .gap-flow li:not(:last-child)::after {
    top: auto;
    bottom: -14px;
    right: 50%;
    width: 2px;
    height: 22px;
    transform: translateX(50%);
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0 6px, transparent 6px 11px);
    animation: dash-down 0.9s linear infinite;
  }
  .gap-flow li:not(:last-child) .flow-arrow {
    top: auto;
    bottom: -18px;
    right: 50%;
    transform: translateX(50%) rotate(135deg);
  }
  .stages { grid-template-columns: 1fr; }
  .stages li { padding: 1rem 0; }
  .stages li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .stages::before, .stages::after { display: none; }
  .tour { height: auto; }
  .tour-pin { position: static; height: auto; }
  .tour-stage { height: auto; overflow: visible; }
  .tour-slide { position: static; display: none; height: auto; transform: none !important; opacity: 1 !important; }
  .tour-slide.is-on { display: block; }
  .tour-band { margin-top: 0; padding-top: 1rem; }
  .faq-list, .kpi-grid { grid-template-columns: 1fr; }
  .final-cta h2 { max-width: 12ch; }
}
@keyframes dash-down { to { background-position: 0 22px; } }

@media (prefers-reduced-motion: reduce) {
  .btn-spin .shimmer,
  .gap-flow li:not(:last-child)::after,
  .stages::after,
  .arch li:not(:last-child)::after { animation: none; }
}
