/* Campaign page: an animated top, then a few numbered blocks to tick, in the style of
   blazingboost.com's job request pages. */

:root {
  --bg: #04071d;
  --text: #dadef9;
  --muted: rgba(218, 222, 249, 0.66);
  --faint: rgba(218, 222, 249, 0.42);
  --field: rgba(106, 103, 255, 0.2);
  --field-hover: rgba(106, 103, 255, 0.28);
  --line: rgba(143, 124, 255, 0.28);
  --lilac: #a99cff;
  --grad: linear-gradient(94deg, #5f3cd8, #5970f9);
  --good: #3ddc97;
  --sky: #7d97ff;
  --bad: #ff6b81;
  --display: 'Blender', 'Rajdhani', 'Roboto', Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --page: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font:
    400 16px/1.5 'Roboto',
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid #5970f9;
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  contain: paint;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(60% 80% at 78% 30%, rgba(95, 60, 216, 0.4), transparent 70%),
    radial-gradient(50% 70% at 10% 90%, rgba(66, 127, 244, 0.18), transparent 70%), var(--bg);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-canvas.live {
  opacity: 1;
}

.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.top {
  max-width: var(--page);
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font: 700 21px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand b {
  color: #fff;
}

.chip-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(218, 222, 249, 0.18);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(12, 15, 39, 0.55);
  white-space: nowrap;
}

.dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
}

/* The ring grows with transform and opacity only, so it never repaints the page. */
.dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--good);
  animation: pulse 2.4s ease-out 4;
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  70%,
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.hero-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 44px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font: 700 clamp(38px, 5.2vw, 66px) / 1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 40px rgba(4, 7, 29, 0.6);
}

.dash {
  display: none;
}

.accent {
  display: block;
  margin-top: 4px;
  background: linear-gradient(94deg, #a08fff 0%, #7d97ff 45%, #b9d0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 18px 0 0;
  max-width: 34em;
  font:
    400 17px/1.55 'Roboto',
    Arial,
    sans-serif;
  color: var(--text);
  text-shadow: 0 1px 18px rgba(4, 7, 29, 0.7);
}

.notes {
  margin: 24px 0 0;
  padding: 14px 20px 16px;
  max-width: 540px;
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--lilac);
  background: linear-gradient(180deg, rgba(19, 22, 54, 0.78), rgba(10, 12, 33, 0.82));
  box-shadow: 0 12px 40px rgba(4, 7, 29, 0.45);
}

.notes.empty {
  display: none;
}

.notes-label {
  margin: 0 0 8px;
  font: 700 15px/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac);
}

.promises {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.promises li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 16px;
}

.promises li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  transform: translateY(-2px);
}

.promises b {
  color: #fff;
  font-weight: 500;
}

/* entrance */

.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
  animation-delay: calc(var(--d, 0ms) + 100ms);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* countdown */

.countdown {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.cd-title {
  height: 56px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  font: 700 16px/1.1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac);
}

.cd-unit {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.cd-num {
  position: relative;
  display: block;
  width: 62px;
  height: 56px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(25, 29, 70, 0.9), rgba(10, 12, 33, 0.9));
  box-shadow: inset 0 0 0 1px rgba(143, 124, 255, 0.3);
  font: 700 32px/56px var(--display);
  text-align: center;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.cd-num::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: rgba(4, 7, 29, 0.6);
}

.cd-val {
  position: absolute;
  inset: 0;
}

.cd-val.in {
  animation: roll-in 0.5s var(--ease);
}

.cd-val.out {
  animation: roll-out 0.5s var(--ease) forwards;
}

@keyframes roll-in {
  from {
    transform: translateY(-70%);
    opacity: 0;
  }
}

@keyframes roll-out {
  to {
    transform: translateY(70%);
    opacity: 0;
  }
}

.cd-label {
  font: 600 11px/1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--faint);
}

/* the character card and its level-up */

.stage {
  position: relative;
  display: grid;
  place-items: center;
}

.frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(19, 22, 54, 0.92), rgba(10, 12, 33, 0.94)) padding-box,
    linear-gradient(
        160deg,
        rgba(143, 124, 255, 0.55),
        rgba(89, 112, 249, 0.08) 45%,
        rgba(66, 127, 244, 0.35)
      )
      border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
  transform: rotate(1.5deg);
  transition: box-shadow 0.6s ease;
}

.frame.gilded {
  box-shadow:
    0 24px 48px -24px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(143, 124, 255, 0.55),
    0 0 36px -8px rgba(111, 92, 255, 0.6);
}

.frame-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.frame-portrait {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #1d2152, #0a0c22);
  box-shadow:
    inset 0 0 0 2px rgba(143, 124, 255, 0.5),
    0 0 24px -6px rgba(95, 60, 216, 0.8);
}

.frame-portrait img {
  width: 17px;
  height: auto;
}

.frame-head > div {
  flex: 1;
  min-width: 0;
}

.frame-name {
  margin: 0;
  text-wrap: balance;
  font: 700 19px/1.1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.frame-sub {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.frame-num {
  font: 700 52px/0.9 var(--display);
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(111, 140, 255, 0.55);
}

.frame.gilded .frame-num {
  text-shadow: 0 0 34px rgba(143, 124, 255, 0.9);
}

.xp {
  position: relative;
  height: 13px;
  margin-top: 16px;
  border-radius: 4px;
  overflow: hidden;
  background: #070920;
  box-shadow: inset 0 0 0 1px rgba(218, 222, 249, 0.12);
}

.xp-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #5e27b8, #6f5cff 55%, #7fa6ff);
}

.xp-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: sheen 3.2s ease-in-out 3;
}

@keyframes sheen {
  60%,
  100% {
    transform: translateX(100%);
  }
}

.xp-ticks {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 calc(5% - 1px),
    rgba(4, 7, 29, 0.85) calc(5% - 1px) 5%
  );
}

.frame-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.frame-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(218, 222, 249, 0.09);
  font-size: 14px;
  color: var(--text);
  opacity: 0.35;
  transition: opacity 0.5s ease;
  transition-delay: calc(var(--i, 0) * 180ms);
}

.perks-on .frame-list li {
  opacity: 1;
}

.perk-mark {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(61, 220, 151, 0.14);
  box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.5);
}

.perk-mark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 9px;
  border: solid var(--good);
  border-width: 0 2px 2px 0;
  /* The tick's visual middle sits low after rotating, so it's nudged up a little. */
  transform: translate(-50%, -62%) rotate(45deg);
}

/* The last perk is the nudge to book, so it stands out a little. */
.frame-list li:last-child {
  color: #fff;
  font-weight: 500;
}

.frame-list li:last-child .perk-mark {
  background: rgba(125, 151, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(125, 151, 255, 0.55);
}

.frame-list li:last-child .perk-mark::after {
  border-color: var(--sky);
}

/* ------------------------------------------------------------------ the form */

.wrap {
  flex: 1;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.form-head {
  margin: 0 0 20px;
}

.form-title {
  margin: 0;
  font: 700 clamp(26px, 3.2vw, 36px) / 1.1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.form-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(61, 220, 151, 0.12);
  box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.45);
  color: #fff;
  font-size: 15px;
}

.blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.block {
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 22, 54, 0.65);
  min-width: 0;
}

/* ------------------------------------------------------------------ prices */

/* The calculator and the warning: glowing edges and slow violet and blue light drifting
   behind. The drift is a transform animation and runs only while the section is on screen. */
.pricing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 24px 0 0;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 24px;
  border-radius: 20px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(24, 20, 66, 0.96), rgba(9, 11, 34, 0.97)) padding-box,
    linear-gradient(135deg, #a99cff, rgba(89, 112, 249, 0.35) 40%, #5970f9 70%, #b9d0ff) border-box;
  box-shadow:
    inset 0 0 24px rgba(111, 92, 255, 0.2),
    0 24px 50px -28px rgba(95, 60, 216, 0.95),
    0 0 40px -18px rgba(89, 112, 249, 0.7);
}

.pricing[hidden] {
  display: none;
}

/* An open menu may reach past the section's edge; the art stays clipped. */
.pricing.menu-open {
  overflow: visible;
}

.pricing.menu-open > .calc {
  z-index: 6;
}

.pricing-art {
  overflow: hidden;
  border-radius: inherit;
}

.pricing > :not(.pricing-art) {
  position: relative;
  z-index: 3;
}

.pricing-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aurora {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  opacity: 0.55;
}

.aurora.a {
  top: -220px;
  left: -140px;
  background: radial-gradient(closest-side, rgba(95, 60, 216, 0.55), transparent);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.aurora.b {
  bottom: -260px;
  right: -160px;
  background: radial-gradient(closest-side, rgba(89, 112, 249, 0.5), transparent);
  animation: drift-b 31s ease-in-out infinite alternate;
}

.aurora.c {
  top: 30%;
  left: 40%;
  width: 380px;
  height: 380px;
  background: radial-gradient(closest-side, rgba(169, 156, 255, 0.25), transparent);
  animation: drift-c 37s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate(220px, 140px) scale(1.2);
  }
}

@keyframes drift-b {
  to {
    transform: translate(-260px, -120px) scale(1.15);
  }
}

@keyframes drift-c {
  to {
    transform: translate(-200px, 80px) scale(0.85);
  }
}

/* Off screen, nothing in here moves. */
.pricing:not(.live) .aurora,
.pricing:not(.live) .calc-knob-halo {
  animation-play-state: paused;
}

/* While the page scrolls, decoration holds still so scrolling gets the whole device. */
.scrolling .aurora,
.scrolling .calc-knob-halo,
.scrolling .dot::after,
.scrolling .xp-fill::after {
  animation-play-state: paused;
}

.pricing-title {
  margin: 0;
  font: 700 26px/1.1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(94deg, #b9d0ff 0%, #a08fff 45%, #7d97ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-lead {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* The calculator */

.calc {
  min-width: 0;
}

.calc-sentence {
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 2;
  color: var(--muted);
}

/* The dropdowns inside the sentence */

.dd {
  position: relative;
  display: inline-block;
  margin: 0 2px;
}

.dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 2px;
  border: 0;
  border-bottom: 2px dashed rgba(125, 151, 255, 0.55);
  background: none;
  color: #fff;
  font:
    700 19px/1.4 'Roboto',
    Arial,
    sans-serif;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.dd-btn:hover,
.dd-btn:focus-visible,
.dd.open .dd-btn {
  outline: none;
  border-bottom-style: solid;
  border-bottom-color: var(--sky);
  background: linear-gradient(180deg, transparent 55%, rgba(125, 151, 255, 0.16));
}

.dd-chev {
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border: solid var(--sky);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition:
    transform 0.25s var(--ease),
    margin 0.25s var(--ease);
}

.dd.open .dd-chev {
  margin-top: 4px;
  transform: rotate(225deg);
}

.dd-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: -8px;
  min-width: 270px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: #13143c;
  box-shadow:
    inset 0 0 0 1px rgba(143, 124, 255, 0.4),
    0 24px 60px -12px rgba(0, 0, 0, 0.85),
    0 0 40px -14px rgba(95, 60, 216, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.18s ease,
    transform 0.22s var(--ease),
    visibility 0.18s;
}

.dd.flip .dd-menu {
  left: auto;
  right: -8px;
  transform-origin: top right;
}

.dd.open .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  /* Visible at once on opening (it still fades in), so keyboard focus can move into it. */
  transition:
    opacity 0.18s ease,
    transform 0.22s var(--ease),
    visibility 0s;
}

.dd-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  transition: background 0.15s ease;
}

.dd-menu li:hover,
.dd-menu li:focus {
  background: rgba(106, 103, 255, 0.2);
}

.dd-menu li[aria-selected='true'] {
  background: rgba(95, 60, 216, 0.38);
  box-shadow: inset 0 0 0 1px rgba(169, 156, 255, 0.6);
}

.dd-text {
  display: grid;
  gap: 2px;
}

.dd-text b {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.dd-text small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.dd-cost {
  flex: none;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(125, 151, 255, 0.16);
  color: #b9d0ff;
  font:
    700 13px/1 'Roboto',
    Arial,
    sans-serif;
  font-style: normal;
}

.dd-cost:empty {
  display: none;
}

.calc-result {
  margin-top: 14px;
}

.calc-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.calc-from {
  font: 700 16px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
}

.calc-eur {
  font: 700 clamp(50px, 6.4vw, 72px) / 1 var(--display);
  background: linear-gradient(94deg, #b9d0ff 0%, #a08fff 50%, #7d97ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.calc-eur sup {
  font-size: 0.4em;
  color: #b9d0ff;
  margin-left: 2px;
}

.calc-usd {
  font: 700 24px/1 var(--display);
  color: #fff;
}

.calc-finish {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.calc-finish b {
  color: #fff;
}

.calc-chart-box {
  margin-top: 16px;
  padding: 14px 14px 6px;
  border-radius: 14px;
  background: rgba(4, 7, 29, 0.45);
  box-shadow: inset 0 0 0 1px rgba(143, 124, 255, 0.22);
}

.calc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(106, 103, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(143, 124, 255, 0.3);
  color: var(--muted);
  font:
    500 13px/1 'Roboto',
    Arial,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.calc-key i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0.6;
}

.calc-key.on {
  background: rgba(106, 103, 255, 0.3);
  box-shadow: inset 0 0 0 1px var(--c);
  color: #fff;
}

.calc-key.on i {
  opacity: 1;
  box-shadow: 0 0 10px var(--c);
}

.calc-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
  overflow: visible;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.calc-chart.dragging {
  cursor: grabbing;
}

.calc-grid line {
  stroke: rgba(143, 124, 255, 0.16);
  stroke-width: 1;
}

.calc-grid text {
  fill: var(--faint);
  font:
    500 12px 'Roboto',
    Arial,
    sans-serif;
}

.calc-grid .calc-x {
  font-size: 13px;
  transition: fill 0.2s ease;
}

.calc-grid .calc-x.on {
  fill: #fff;
  font-weight: 700;
}

.calc-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.35;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition:
    opacity 0.3s ease,
    stroke-width 0.3s ease,
    stroke-dashoffset 1.4s var(--ease);
}

.calc-chart.drawn .calc-line {
  stroke-dashoffset: 0;
}

/* A soft wide stroke under the chosen line: a glow without a filter. */
.calc-glow {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.calc-chart.drawn .calc-glow.on {
  opacity: 0.16;
  transition-delay: 0.6s;
}

.calc-line.on {
  opacity: 1;
  stroke-width: 3.5;
}

.calc-area {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.calc-chart.drawn .calc-area.on {
  opacity: 1;
}

.calc-dot {
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.calc-dot.on {
  opacity: 1;
}

.calc-guide {
  stroke: rgba(125, 151, 255, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  transition: transform 0.45s var(--ease);
}

.calc-knob {
  cursor: grab;
  outline: none;
  transition: transform 0.45s var(--ease);
}

.calc-knob-halo {
  fill: var(--k, #7d97ff);
  fill-opacity: 0.18;
  stroke: var(--k, #7d97ff);
  stroke-opacity: 0.55;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 2.4s ease-in-out infinite;
}

@keyframes halo {
  50% {
    transform: scale(1.18);
    opacity: 0.6;
  }
}

.calc-knob-dot {
  fill: var(--k, #7d97ff);
  stroke: #fff;
  stroke-width: 2.5;
}

.calc-knob:focus-visible .calc-knob-dot {
  stroke: #5970f9;
}

.calc-bubble {
  fill: var(--k, #7d97ff);
}

.calc-bubble-text {
  fill: #04071d;
  font:
    700 14px 'Roboto',
    Arial,
    sans-serif;
}

.calc-notes {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.calc-notes li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.calc-notes li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
}

.calc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 16px;
}

.calc-foot .price-foot {
  margin: 0;
}

.calc-use {
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font:
    700 15px/1 'Roboto',
    Arial,
    sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(95, 60, 216, 0.8);
  transition: transform 0.15s ease;
}

.calc-use:hover {
  transform: translateY(-1px);
}

.calc-use:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.price-foot {
  margin: 10px 0 0;
  color: var(--sky);
  font-size: 13px;
}

.price-side {
  align-self: start;
  display: grid;
  gap: 16px;
}

.price-warning {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 107, 129, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 129, 0.45);
}

.price-warning h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font: 700 18px/1.2 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff8a9b;
}

.price-warning h3::before {
  content: '!';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bad);
  color: #1a0710;
  font-size: 15px;
}

.price-warning p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
}

.price-note {
  padding: 20px;
  border-radius: 14px;
  background: rgba(89, 112, 249, 0.12);
  box-shadow: inset 0 0 0 1px rgba(125, 151, 255, 0.45);
}

.price-note h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font: 700 18px/1.2 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b9d0ff;
}

.price-note h3::before {
  content: 'i';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: #04071d;
  font:
    italic 700 14px/1 Georgia,
    serif;
}

.price-note p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
}

.price-note .punch {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.price-warning .punch {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

/* ------------------------------------------------------------------ tooltips */

.tip {
  position: static;
  font-style: normal;
}

.tip-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(125, 151, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(125, 151, 255, 0.6);
  color: var(--sky);
  font:
    italic 700 12px/1 Georgia,
    serif;
  cursor: help;
}

.tip-btn:focus-visible {
  outline: 2px solid #5970f9;
  outline-offset: 2px;
}

.tip-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  width: min(300px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 12px;
  background: #15173a;
  box-shadow:
    inset 0 0 0 1px rgba(125, 151, 255, 0.5),
    0 20px 50px -10px rgba(0, 0, 0, 0.8);
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  white-space: normal;
  cursor: default;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}

/* The block with an open note sits above whatever comes after it (like the prices). */
.block:hover,
.block.tip-on {
  position: relative;
  z-index: 10;
}

/* And the option with the note sits above the options after it. */
.chip:hover,
.chip.tip-on {
  z-index: 5;
}

.tip-pop.wide {
  width: min(400px, calc(100vw - 32px));
}

.tip-pop img {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  border-radius: 8px;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(4, 7, 29, 0.85);
  cursor: zoom-out;
  animation: fade-in 0.2s ease;
}

.lightbox img {
  max-width: min(720px, 100%);
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.tip-pop p {
  margin: 0;
}

.tip-open .tip-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (hover: hover) {
  .tip:hover .tip-pop,
  .tip:focus-within .tip-pop {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* A block asking more than one thing: full width, its questions side by side. */
.block.wide {
  grid-column: 1 / -1;
}

.parts {
  clear: both;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px 28px;
}

.part {
  min-width: 0;
}

.ask {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

/* Without a question of its own, the first part lines up with the one beside it. */
.part.no-ask {
  padding-top: 31px;
}

.block.wide .chips {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* The contact: its own small form under the choices. */
.contact-card {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 24px;
  border: 1px solid rgba(143, 124, 255, 0.4);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(30, 26, 84, 0.75), rgba(13, 15, 42, 0.85)) padding-box;
  box-shadow: 0 24px 44px -28px rgba(95, 60, 216, 0.8);
}

.contact-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 700 17px/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.contact-card.picked .num {
  background: var(--grad);
  box-shadow: none;
}

.contact-card .fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

/* Shown when they pick BlazingChat: the account email is how we find them there. */
.chat-note {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 107, 129, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 129, 0.55);
  color: #ff8a9b;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.check input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px rgba(218, 222, 249, 0.45);
  background: center / 13px no-repeat;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.check input:checked {
  box-shadow: none;
  background-color: #6f5cff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.check input:focus-visible {
  outline: 2px solid #5970f9;
  outline-offset: 2px;
}

.optional {
  margin-left: 4px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--faint);
}

.contact-card .btn {
  width: 100%;
  min-width: 0;
  margin-top: 18px;
}

.contact-card .small {
  margin-top: 10px;
}

.block legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0;
  font: 700 17px/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  font: 700 14px/1 var(--display);
  letter-spacing: 0;
  background: rgba(95, 60, 216, 0.3);
  box-shadow: inset 0 0 0 1px rgba(143, 124, 255, 0.45);
  transition: background-color 0.25s;
}

.block.picked .num {
  background: var(--grad);
  box-shadow: none;
}

.chips {
  clear: both;
  display: grid;
  gap: 10px;
}

/* 6h, 8h, 12h, 24h: two by two. */
.chips.short {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

/* Labels line up across a row even when one note wraps and the other doesn't. */
.chips.short .chip span {
  align-content: start;
}

/* A grid, so the tile inside fills the whole cell and tiles side by side match in size. */
.chip {
  position: relative;
  display: grid;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 62px;
  align-content: center;
  padding: 11px 44px 11px 14px;
  border-radius: 10px;
  background: var(--field);
  box-shadow: inset 0 0 0 1px transparent;
  transition:
    background-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s var(--ease);
}

.chip strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.chip small {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.chip span::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px rgba(218, 222, 249, 0.45);
  background: center / 13px no-repeat;
  transition: background-color 0.15s;
}

.chip:hover span {
  background: var(--field-hover);
  transform: translateY(-1px);
}

.chip input:checked + span {
  background: rgba(95, 60, 216, 0.38);
  box-shadow: inset 0 0 0 1px rgba(169, 156, 255, 0.85);
}

.chip input:checked + span::before {
  box-shadow: none;
  background-color: #6f5cff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.chip input:focus-visible + span {
  outline: 2px solid #5970f9;
  outline-offset: 2px;
}

.tag {
  padding: 3px 7px;
  border-radius: 5px;
  font: 700 12px/1.2 var(--display);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04071d;
  background: var(--sky);
}

.tag.best {
  background: var(--good);
}

.price {
  font: 700 15px/1 var(--display);
  color: #fff;
}

.fields {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field > span {
  font-size: 14px;
  font-weight: 500;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--field);
  font-size: 15px;
  transition:
    border-color 0.15s,
    background-color 0.15s;
}

.field input::placeholder {
  color: rgba(218, 222, 249, 0.5);
}

.field input:hover {
  background: var(--field-hover);
}

.field input:focus {
  outline: none;
  border-color: rgba(169, 156, 255, 0.8);
}

.field.invalid input {
  border-color: var(--bad);
}

.hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--faint);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.error {
  margin: 12px 0 0;
  color: var(--bad);
  font-size: 15px;
  text-align: center;
}

.send {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  min-width: 340px;
  min-height: 56px;
  padding: 14px 32px;
  border: 0;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 12px 34px -12px rgba(89, 112, 249, 0.9);
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease),
    opacity 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(89, 112, 249, 1);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.small {
  margin: 0;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

/* ------------------------------------------------------------------ done */

.done {
  padding: 32px 20px;
  border: 1px solid rgba(61, 220, 151, 0.45);
  border-radius: 14px;
  background: rgba(61, 220, 151, 0.07);
  text-align: center;
  animation: pop 0.4s var(--ease);
}

.done img {
  margin: 0 auto 10px;
  filter: drop-shadow(0 0 14px rgba(111, 140, 255, 0.8));
}

.done h2 {
  margin: 0;
  font: 700 26px/1.1 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.done p {
  max-width: 480px;
  margin: 8px auto 12px;
  color: var(--muted);
}

.link {
  border: 0;
  background: none;
  color: var(--lilac);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ------------------------------------------------------------------ footer */

.foot {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--faint);
}

.foot a {
  color: var(--muted);
}

/* ------------------------------------------------------------------ smaller screens */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 20px 56px;
  }

  .stage {
    justify-items: start;
  }

  .blocks,
  .fields,
  .contact-card .fields,
  .pricing,
  .parts {
    grid-template-columns: 1fr;
  }

  .part.no-ask {
    padding-top: 0;
  }

  /* Three answers don't split evenly in two columns: one per row reads cleaner. */
  .block.wide .chips.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  /* Upright on phones: a tilted card blurs its small text on high-density screens. */
  .frame {
    transform: none;
  }

  .frame-name {
    font-size: 17px;
  }

  .frame-num {
    font-size: 46px;
  }

  .top,
  .wrap,
  .foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-inner {
    padding: 28px 16px 48px;
  }

  .notes {
    padding: 12px 16px 14px;
  }

  .pricing {
    padding: 18px;
  }

  .price-warning,
  .price-note {
    padding: 16px;
  }

  .calc-sentence,
  .dd-btn {
    font-size: 17px;
  }

  .dd-menu {
    min-width: 250px;
  }

  .calc-chart-box {
    padding: 10px 6px 4px;
  }

  .calc-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .promises li {
    font-size: 15px;
  }

  .countdown {
    gap: 8px;
  }

  .cd-title {
    height: 50px;
    margin-right: 2px;
    font-size: 14px;
    width: 4.5em;
  }

  .lead {
    font-size: 16px;
  }

  .cd-num {
    width: 54px;
    height: 50px;
    font-size: 28px;
    line-height: 50px;
  }

  .chip-top .label-long {
    display: none;
  }

  .block {
    padding: 16px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }
}

.form-sub strong {
  color: #fff;
  font-weight: 700;
}
