/* Solstice Interactive — home */

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

.hero {
  padding-top: calc(var(--head-h) + clamp(24px, 4vw, 46px));
  padding-bottom: clamp(18px, 3vw, 34px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - var(--head-h) - 90px);
}

.hero-copy h1 {
  font-size: clamp(46px, 6.6vw, 96px);
  margin: 18px 0 20px;
}

.hero-copy h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--iris);
}

.hero-lede {
  max-width: 46ch;
  font-size: clamp(15px, 1.25vw, 17px);
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-clients {
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.client-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #fffdf8 0%, #eeebf9 58%, #faead9 100%);
  box-shadow: 0 30px 80px -40px rgba(24, 22, 60, 0.45);
  min-height: 560px;
}

.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px;
}

.stage-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2fbf7f;
  box-shadow: 0 0 0 0 rgba(47, 191, 127, 0.5);
  animation: livedot 2.4s infinite;
}

.stage-fps {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stage-canvas-wrap {
  position: relative;
  flex: 1;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 64% 40%, #fff, #e7e2f7 52%, #f3e3d2 100%);
  border: 1px solid rgba(18, 19, 26, 0.08);
}

#sceneCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

#sceneCanvas.is-live {
  opacity: 1;
}

#sceneCanvas:active {
  cursor: grabbing;
}

.stage-hint {
  position: absolute;
  left: 12px;
  bottom: 11px;
  padding: 5px 9px;
  border-radius: 100px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(18, 19, 26, 0.1);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

.stage-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: var(--muted);
}

.stage-canvas-wrap.is-fallback #sceneCanvas {
  display: none;
}

.stage-canvas-wrap.is-fallback .stage-fallback {
  display: grid;
}

.stage-canvas-wrap.is-fallback {
  background: radial-gradient(circle at 62% 40%, #fff 0%, #d9d2f5 45%, #f0d6bd 100%);
}

.stage-ui {
  display: grid;
  gap: 6px;
  padding: 2px;
}

.ui-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ui-label {
  flex: 0 0 46px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ui-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 253, 248, 0.72);
}

.ui-pill {
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11px;
  color: var(--muted);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.ui-pill:hover {
  color: var(--ink);
}

.ui-pill.is-on {
  background: var(--ink);
  color: #fff;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: clamp(22px, 3vw, 36px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-strip span:nth-child(even) {
  color: var(--line-2);
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 30px;
  }
  .hero-stage {
    min-height: 480px;
  }
  .hero-copy h1 {
    font-size: clamp(44px, 10vw, 74px);
  }
}

@media (max-width: 560px) {
  .hero-stage {
    min-height: 420px;
    padding: 10px;
  }
  .stage-canvas-wrap {
    min-height: 250px;
  }
  .ui-label {
    display: none;
  }
  .ui-pill {
    padding: 5px 8px;
    font-size: 10px;
  }
}

/* ---------------- bento ---------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.bento-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.bento-card > * {
  width: 100%;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -30px rgba(18, 19, 26, 0.35);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 12px;
}

.bento-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.bento-a {
  grid-column: span 7;
  grid-row: span 2;
  justify-content: space-between;
  gap: 20px;
  min-height: 430px;
  overflow: hidden;
}

.bento-a .bento-copy {
  max-width: 40ch;
}

.bento-stat {
  grid-column: span 5;
}

.bento-materials {
  grid-column: span 5;
}

.bento > .bento-card:nth-child(4),
.bento > .bento-card:nth-child(5),
.bento > .bento-card:nth-child(6) {
  grid-column: span 4;
}

.bento-art {
  position: relative;
  flex: 1;
  min-height: 210px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(83, 70, 245, 0.16), transparent 60%),
    linear-gradient(160deg, #faf8ff, #f0ecfb);
  overflow: hidden;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid rgba(83, 70, 245, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
  animation: orbit-spin 18s linear infinite;
}

.orbit-1 {
  width: 78%;
  border-style: dashed;
}

.orbit-2 {
  width: 56%;
  border-color: rgba(240, 162, 95, 0.5);
  animation-duration: 12s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 38%;
  border-color: rgba(18, 19, 26, 0.18);
  animation-duration: 9s;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  background: linear-gradient(140deg, #fff, #d8d2ff 55%, #bfb5ff);
  box-shadow: 0 18px 30px -14px rgba(83, 70, 245, 0.55), inset 0 1px 2px #fff;
  animation: core-float 6s ease-in-out infinite;
}

.orbit-chip {
  position: absolute;
  padding: 5px 9px;
  border-radius: 100px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(83, 70, 245, 0.25);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--iris);
}

.chip-1 {
  left: 12%;
  top: 22%;
}

.chip-2 {
  right: 10%;
  top: 34%;
}

.chip-3 {
  left: 40%;
  bottom: 14%;
}

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotateX(68deg) rotateZ(0);
  }
  to {
    transform: translate(-50%, -50%) rotateX(68deg) rotateZ(360deg);
  }
}

@keyframes core-float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(-4px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(6px);
  }
}

.stat-big {
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-big span {
  font-size: 0.38em;
  letter-spacing: -0.02em;
  color: var(--muted);
  margin-left: 2px;
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
  margin-top: auto;
  padding-top: 18px;
}

.spark i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 3px;
  background: var(--iris-soft);
  align-self: flex-end;
  animation: spark-pulse 3.2s ease-in-out infinite;
}

.spark i:nth-child(3n) {
  background: #d9d3ff;
}

.spark i:nth-child(1) {
  --h: 34%;
  animation-delay: 0.1s;
}
.spark i:nth-child(2) {
  --h: 52%;
  animation-delay: 0.3s;
}
.spark i:nth-child(3) {
  --h: 44%;
  animation-delay: 0.2s;
}
.spark i:nth-child(4) {
  --h: 70%;
  animation-delay: 0.5s;
}
.spark i:nth-child(5) {
  --h: 58%;
  animation-delay: 0.4s;
}
.spark i:nth-child(6) {
  --h: 82%;
  animation-delay: 0.7s;
}
.spark i:nth-child(7) {
  --h: 64%;
  animation-delay: 0.2s;
}
.spark i:nth-child(8) {
  --h: 90%;
  animation-delay: 0.9s;
}
.spark i:nth-child(9) {
  --h: 74%;
  animation-delay: 0.5s;
}
.spark i:nth-child(10) {
  --h: 96%;
  animation-delay: 0.3s;
}
.spark i:nth-child(11) {
  --h: 86%;
  animation-delay: 0.6s;
}
.spark i:nth-child(12) {
  --h: 100%;
  animation-delay: 0.8s;
}

@keyframes spark-pulse {
  0%,
  100% {
    transform: scaleY(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.swatch {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.swatch:hover {
  transform: translateY(-3px);
}

.swatch span {
  position: absolute;
  left: 6px;
  bottom: 5px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(18, 19, 26, 0.62);
}

.sw-chrome {
  background: linear-gradient(140deg, #fff 0%, #c9cbd4 32%, #6f7280 52%, #e8e9ee 68%, #9a9cb0 100%);
}

.sw-glass {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(186, 210, 255, 0.45) 55%, rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(4px);
}

.sw-clay {
  background: linear-gradient(140deg, #f4e7d7, #dcc3a8 70%, #c9ad90);
}

.sw-iris {
  background: linear-gradient(140deg, #8f86ff, #5346f5 60%, #2f2699);
}

.mini-ui {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  margin-top: auto;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--iris);
}

.mini-line {
  height: 6px;
  border-radius: 3px;
  background: #ddd8cf;
}

.mini-line.w70 {
  width: 70%;
}
.mini-line.w40 {
  width: 40%;
}
.mini-line.w90 {
  width: 90%;
}
.mini-line.w55 {
  width: 55%;
}
.mini-line.w25 {
  width: 25%;
}

.mini-pill {
  margin-left: auto;
  width: 36px;
  height: 14px;
  border-radius: 100px;
  background: var(--ink);
}

.bento-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 78px;
  margin-top: auto;
}

.wave i {
  flex: 1;
  height: 18%;
  border-radius: 100px;
  background: linear-gradient(180deg, var(--iris), #a79eff);
  animation: wave 2.6s ease-in-out infinite;
}

.wave i:nth-child(2n) {
  animation-delay: 0.15s;
  background: linear-gradient(180deg, var(--amber), #ffd2ab);
}
.wave i:nth-child(3n) {
  animation-delay: 0.3s;
}
.wave i:nth-child(5n) {
  animation-delay: 0.45s;
}

@keyframes wave {
  0%,
  100% {
    height: 16%;
    opacity: 0.7;
  }
  50% {
    height: 92%;
    opacity: 1;
  }
}

.bento-code {
  background: var(--ink);
  color: #f2efe7;
  border-color: var(--ink);
}

.bento-code .tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  align-self: flex-start;
}

.bento-code .bento-note {
  color: rgba(255, 255, 255, 0.56);
}

.code-mini {
  margin: auto 0 0;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.7;
  overflow-x: auto;
  color: #d8d3f9;
}

@media (max-width: 1000px) {
  .bento-a,
  .bento-stat,
  .bento-materials,
  .bento > .bento-card:nth-child(4),
  .bento > .bento-card:nth-child(5),
  .bento > .bento-card:nth-child(6) {
    grid-column: span 6;
  }
  .bento-a {
    grid-row: span 1;
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .bento-a,
  .bento-stat,
  .bento-materials,
  .bento > .bento-card:nth-child(4),
  .bento > .bento-card:nth-child(5),
  .bento > .bento-card:nth-child(6) {
    grid-column: span 12;
  }
}

/* ---------------- explorer ---------------- */

.explorer {
  background: var(--ink);
  color: #f4f1e9;
  margin: clamp(30px, 5vw, 60px) 0;
  padding: clamp(44px, 6vw, 86px) 0;
  border-radius: clamp(0px, 2vw, 32px);
}

.explorer .eyebrow {
  color: rgba(244, 241, 233, 0.55);
}

.explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
}

.explorer h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 14px 0 26px;
  color: #fff;
}

.tab-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  gap: 12px;
  align-items: start;
  padding: 16px 4px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(244, 241, 233, 0.55);
  transition: color 0.25s var(--ease), padding 0.3s var(--ease);
}

.tab:hover {
  color: #fff;
  padding-left: 10px;
}

.tab.is-on {
  color: #fff;
}

.tab .tab-n {
  font-family: var(--font-mono);
  font-size: 9px;
  padding-top: 3px;
  color: rgba(244, 241, 233, 0.4);
}

.tab-body b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tab-body small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 241, 233, 0.5);
}

.tab.is-on .tab-arr {
  color: var(--mint);
  transform: translateX(3px);
}

.tab-arr {
  transition: transform 0.3s var(--ease);
}

.spec-open {
  margin-top: 22px;
  background: transparent;
  color: #f4f1e9;
  border-color: rgba(255, 255, 255, 0.3);
}

.spec-open:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.tab-panels {
  position: relative;
}

.tab-panel {
  position: absolute;
  inset: 0;
  display: none;
}

.tab-panel.is-on {
  display: block;
  position: relative;
  animation: panel-in 0.5s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #fdfbf5, #ece7f8);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scene-visual .node {
  position: absolute;
  padding: 7px 11px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  box-shadow: 0 6px 14px -8px rgba(18, 19, 26, 0.3);
}

.node-a {
  left: 8%;
  top: 18%;
}
.node-b {
  left: 38%;
  top: 44%;
  border-color: var(--iris);
  color: var(--iris);
}
.node-c {
  right: 10%;
  top: 16%;
}
.node-d {
  right: 16%;
  bottom: 16%;
}

.scene-visual .wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(83, 70, 245, 0.35);
}

.material-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 20%, #fff, transparent 55%),
    linear-gradient(150deg, #f4efff, #ead9c8);
}

.mat-sphere {
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 6%, #cfd3e4 26%, #6f7280 55%, #2c2e3a 82%, #171820 100%);
  box-shadow: 0 30px 50px -26px rgba(30, 28, 60, 0.6), inset -10px -14px 30px rgba(0, 0, 0, 0.35);
  animation: mat-spin 9s linear infinite;
}

@keyframes mat-spin {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.03);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

.mat-chip {
  position: absolute;
  padding: 5px 9px;
  border-radius: 100px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--ink);
}

.c1 {
  left: 7%;
  top: 14%;
}
.c2 {
  right: 6%;
  top: 40%;
}
.c3 {
  left: 12%;
  bottom: 14%;
}

.motion-visual {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background: linear-gradient(160deg, #fdfbf5, #e9f3ec);
}

.timeline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tl-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
}

.tl-track {
  position: relative;
  flex: 1;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.tl-track i {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: var(--x);
  width: var(--w);
  border-radius: 6px;
  background: var(--iris-soft);
  color: var(--iris);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  display: grid;
  place-items: center;
  animation: tl-pulse 3s ease-in-out infinite;
}

.tl-track i:nth-child(2) {
  background: var(--amber-soft);
  color: #93562a;
  animation-delay: 0.4s;
}

.tl-track i:nth-child(3) {
  background: var(--mint);
  color: var(--mint-ink);
  animation-delay: 0.8s;
}

@keyframes tl-pulse {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.curve {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.curve svg {
  width: 60%;
  height: auto;
  color: var(--iris);
}

.curve span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

.panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: rgba(244, 241, 233, 0.7);
}

.panel-meta .tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
}

.panel-stat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .explorer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .panel-visual {
    aspect-ratio: 4 / 3;
  }
}

/* ---------------- pricing ---------------- */

.billing-toggle {
  display: flex;
  gap: 6px;
}

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

.price-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card.is-featured {
  border-color: var(--iris);
  box-shadow: 0 24px 60px -34px rgba(83, 70, 245, 0.6);
  background: linear-gradient(180deg, #fffdf8, #f3f0ff);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 5px 10px;
  border-radius: 100px;
  background: var(--iris);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.price-head p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  max-width: 30ch;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-amount .cur {
  font-size: 18px;
  color: var(--muted);
}

.price-amount .num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.price-amount .per {
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
}

.price-list {
  display: grid;
  gap: 9px;
  flex: 1;
}

.price-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
}

.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--iris);
}

.price-card .btn {
  width: 100%;
}

.matrix-wrap {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow-x: auto;
  background: var(--panel);
}

.matrix {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.matrix th,
.matrix td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.matrix thead th {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.matrix tbody th {
  font-weight: 500;
}

.matrix td {
  color: var(--muted);
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
  border-bottom: 0;
}

.matrix td:nth-child(3),
.matrix thead th:nth-child(3) {
  background: color-mix(in srgb, var(--iris) 5%, transparent);
}

.roi {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(22px, 3vw, 38px);
  border-radius: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.roi h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 10px 0 12px;
}

.roi-lede {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.6;
}

.roi-out {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.roi-out .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.roi-out .v {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.roi-out .v-iris {
  color: var(--iris);
}

.roi-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.est-field .est-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.est-field label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.est-field output {
  font-family: var(--font-mono);
  font-size: 11px;
}

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  cursor: pointer;
}

input[type='range']::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: rgba(18, 19, 26, 0.16);
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6.5px;
  border-radius: 50%;
  background: var(--iris);
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(18, 19, 26, 0.3);
}

input[type='range']::-moz-range-track {
  height: 3px;
  background: rgba(18, 19, 26, 0.16);
}

input[type='range']::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--iris);
}

.roi-note {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 960px) {
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .roi {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------- quotes ---------------- */

.quote-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-circle:hover {
  background: var(--ink);
  color: #fff;
}

.quote-count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.quote-count b {
  color: var(--ink);
  font-weight: 500;
}

.quote-stage {
  position: relative;
  min-height: 260px;
}

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s 0.5s;
}

.quote.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s;
}

.quote blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.2vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.14;
  max-width: 26ch;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.quote .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink);
}

.quote figcaption b {
  display: block;
  font-size: 13px;
}

.quote figcaption small {
  font-size: 11px;
  color: var(--muted);
}

.quote-dots {
  position: absolute;
  right: 0;
  bottom: 6px;
  display: flex;
  gap: 6px;
}

.quote-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.quote-dots button.is-on {
  background: var(--iris);
  transform: scale(1.4);
}

/* ---------------- cta ---------------- */

.cta-wrap {
  padding: 20px 0 clamp(50px, 7vw, 90px);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px;
  align-items: end;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(83, 70, 245, 0.9), transparent 55%),
    radial-gradient(circle at 12% 100%, rgba(240, 162, 95, 0.45), transparent 48%),
    #12131a;
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 62px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  max-width: 18ch;
  margin-top: 14px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cta-actions .btn {
  height: 48px;
}

@media (max-width: 860px) {
  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-actions {
    justify-content: flex-start;
  }
  .quote-stage {
    min-height: 320px;
  }
}

/* ---------------- spec drawer ---------------- */

.spec-drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  visibility: hidden;
  pointer-events: none;
}

.spec-scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 26, 0.36);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.spec-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 92vw);
  background: var(--panel);
  transform: translateX(102%);
  transition: transform 0.5s var(--ease);
  padding: 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.spec-drawer.is-open .spec-scrim {
  opacity: 1;
}

.spec-drawer.is-open .spec-panel {
  transform: none;
}

.spec-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.spec-head h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.spec-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.spec-close:hover {
  background: var(--ink);
  color: #fff;
}

.spec-copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.spec-code {
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #d9d4fa;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
}

.spec-list {
  display: grid;
  gap: 8px;
}

.spec-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

.spec-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--iris);
}

.spec-panel .btn {
  align-self: flex-start;
  margin-top: 4px;
}
