/*
  Nexus System Template
  https://templatemo.com/tm-629-nexus-system
*/

:root {
  --titanium: #f4f5f6; /* brushed titanium, cool metallic light grey */
  --carbon: #0d0e15; /* carbon matte, deep light-absorbing dark */
  --volt: #ff00a2; /* acid volt, electric neon accent */
  --steel: #d9e0e4; /* muted steel lines and borders */
  --graphite: #1a1d1a; /* deep graphite grey with a whisper of green */
  --white: #ffffff;
  --hud-h: 60px;
  --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--titanium);
  color: var(--carbon);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.mono {
  font-family: "JetBrains Mono", monospace;
}

/* ---------- scroll spacer creates the 600vh track for 6 stacked cards ---------- */
.scroll-spacer {
  height: 600vh;
}

/* ---------- z-depth card engine ---------- */
.zcard {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* height: 100svh; */
  padding-bottom: calc(var(--hud-h) + 26px);
  transform-origin: top center;
  will-change: transform, opacity;
  /* overflow: hidden; */
  overflow: visible;
  overflow-y: auto;
}

.zcard[data-card="1"] {
  z-index: 10;
}
.zcard[data-card="2"] {
  z-index: 20;
  transform: translateY(100%);
}
.zcard[data-card="3"] {
  z-index: 30;
  transform: translateY(100%);
}
.zcard[data-card="4"] {
  z-index: 40;
  transform: translateY(100%);
}

.zcard[data-card="5"] {
  z-index: 50;
  transform: translateY(100%);
}

.zcard[data-card="6"] {
  z-index: 60;
  transform: translateY(100%);
}

/* ---------- card 1: the floating hero ---------- */
.card-hero {
  background: var(--titanium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  position: relative;
  text-align: center;
  z-index: 5;
  padding: 0 24px;
}

/* Hero action buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn {
  font-family: inherit;
  font-weight: 600;
  padding: 10px 16px;
  padding: 16px 29px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease;
}

.btn-pink {
  background: linear-gradient(180deg, var(--volt) 0%, #ff6aa8 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 0, 162, 0.12);
  font-size: 16px;
  cursor: pointer;
}

.btn-pink:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--volt);
  border: 2px solid rgba(255, 0, 162, 0.14);
  box-shadow: none;
}

@media (max-width: 520px) {
  .faq-image {
    display: none !important;
  }
  .rates-table table {
    min-width: 256px !important;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .btn {
    width: 100%;
  }
}

.hero-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--carbon);
  background: var(--volt);
  display: inline-block;
  padding: 6px 12px 6px 14px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(40px, 9vw, 120px);
  font-size: 8em;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--carbon);
  margin-top: 20px;
}

.hero-sub {
  margin: 20px auto 0;
  max-width: 78ch;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #4b515c;
}

/* Responsive tweaks for smaller viewports to keep hero on-screen */
@media (max-width: 700px) {
  .hero-stage {
    padding: 0 18px;
  }
  .hero-title {
    font-size: clamp(32px, 10vw, 84px);
    line-height: 1;
  }
  .hero-sub {
    font-size: 14px;
    margin-top: 14px;
    max-width: 44rem;
  }
  .glass-a,
  .glass-b,
  .glass-c {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
    padding: 5px 10px;
  }
  .hero-title {
    font-size: clamp(28px, 12vw, 60px);
  }
  .hero-scroll-hint {
    bottom: calc(var(--hud-h) + 18px);
    font-size: 10px;
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: calc(var(--hud-h) + 28px);
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6a7077;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll-hint::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--carbon), transparent);
  animation: hint-drop 2.2s var(--ease-silk) infinite;
}

@keyframes hint-drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: top;
  }
  56% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* floating translucent glass shapes */
.glass-shape {
  position: absolute;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--steel);
  z-index: 2;
}

.glass-a {
  width: 220px;
  height: 220px;
  top: 12%;
  left: 8%;
  border-radius: 32px;
  animation: bob-a 9s ease-in-out infinite;
}

.glass-b {
  width: 150px;
  height: 150px;
  bottom: 18%;
  right: 10%;
  border-radius: 50%;
  animation: bob-b 7s ease-in-out infinite;
}

.glass-c {
  width: 110px;
  height: 110px;
  top: 20%;
  right: 22%;
  border-radius: 20px;
  transform: rotate(18deg);
  animation: bob-c 11s ease-in-out infinite;
}

@keyframes bob-a {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-26px);
  }
}

@keyframes bob-b {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(22px);
  }
}

@keyframes bob-c {
  0%,
  100% {
    transform: translateY(0) rotate(18deg);
  }
  50% {
    transform: translateY(-18px) rotate(24deg);
  }
}

/* faint engineering grid behind the hero */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--steel) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  z-index: 1;
}

/* ---------- card 2: About Us / professional panel ---------- */
.card-macro {
  background: linear-gradient(180deg, #fbfcfd 0%, #f3f5f7 100%);
  display: flex;
  /* align-items: center; */
  justify-content: center;
  padding: 48px 20px;
}

/* hide legacy image-based elements */
.macro-img,
.macro-shade,
.crosshair-v,
.crosshair-h,
.node-dot,
.node-box,
.macro-caption {
  display: none !important;
}

.about-stage {
  width: 100%;
  max-width: 1100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  grid-template-columns: 1fr 1fr;

  gap: 36px;
  align-items: center;
}

.about-text .mono {
  display: block;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--volt);
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 14px 0;
  color: var(--carbon);
}

.about-lead {
  font-size: 16px;
  color: #3e4450;
  margin-bottom: 12px;
}

.about-text p {
  color: #50575f;
  line-height: 1.6;
  margin-bottom: 8px;
}

.about-heading {
  margin-top: 18px;
  font-size: 20px;
  color: var(--carbon);
  font-weight: 700;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-features li {
  background: rgba(16, 24, 32, 0.03);
  padding: 12px;
  border-radius: 8px;
  color: #3b434a;
  font-size: 15px;
}

@media (max-width: 700px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

.about-art .fake-img {
  width: 100%;
  min-height: 260px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e9eef6 0%, #c9d6e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(20, 30, 47, 0.08);
  border: 1px solid rgba(16, 24, 32, 0.04);
}

.fake-logo {
  font-weight: 700;
  color: #273142;
  letter-spacing: 0.18em;
  font-size: 22px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-art {
    order: -1;
  }
  .about-art .fake-img {
    min-height: 180px;
  }
}

/* ---------- card 3: the kinetic accordion fold ---------- */
.card-fold {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.fold-head {
  padding: 28px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.fold-head h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fold-head .mono {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6a7077;
}

.accordion {
  flex: 1;
  display: flex;
  width: 100%;
  margin-top: 24px;
  margin-top: 10px;
  border-top: 1px solid var(--steel);
}

.slice {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--steel);
  background: var(--white);
  transition: flex-grow 1.2s var(--ease-silk);
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.slice:last-child {
  border-right: none;
}

.slice.active {
  flex-grow: 3.7;
}

.slice-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.2s var(--ease-silk),
    transform 1.2s var(--ease-silk);
}

.slice.active .slice-img {
  opacity: 1;
  transform: scale(1);
}

.slice-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 14, 21, 0.75),
    rgba(13, 14, 21, 0) 55%
  );
  opacity: 0;
  transition: opacity 1.2s var(--ease-silk);
}

.slice.active .slice-shade {
  opacity: 1;
}

.slice-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0 calc(var(--hud-h) + 28px);
  align-items: center;
  transition: opacity 0.6s var(--ease-silk);
}

.slice.active .slice-idle {
  opacity: 0;
}

.slice-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--carbon);
  letter-spacing: 0.2em;
}

.slice-idle-title {
  writing-mode: vertical-rl;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--carbon);
}

.slice-reveal {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: calc(var(--hud-h) + 28px);
  color: var(--titanium);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 1.2s var(--ease-silk),
    transform 1.2s var(--ease-silk);
}

.slice.active .slice-reveal {
  opacity: 1;
  transform: translateY(0);
}

.slice-reveal .mono {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e3ff7a;
  display: block;
  margin-bottom: 10px;
}

.slice-reveal h3 {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  white-space: nowrap;
}

.slice-reveal p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 380px;
  color: rgba(244, 245, 246, 0.85);
}

.slice:focus-visible {
  outline: 2px solid var(--carbon);
  outline-offset: -2px;
}

.rates-table {
  width: min(100%, 760px);
  margin: 28px auto 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.28) transparent;
}

.rates-table::-webkit-scrollbar {
  height: 8px;
}

.rates-table::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
}

.rates-table::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
}

.rates-table table {
  min-width: 420px;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.rates-table th,
.rates-table td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.rates-table th {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff00a2 0%, #ff5bbd 100%);
  color: #ffffff;
}

.rates-table td {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.rates-table tr:nth-child(even) td {
  background: rgba(244, 245, 246, 0.9);
}

.rates-table tr:hover td {
  background: rgba(255, 0, 162, 0.04);
}

.rates-table tr:last-child td {
  border-bottom: 0;
}

/* left media column */
.rates-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rates-side-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.06);
  border: 1px solid rgba(16, 24, 32, 0.04);
}

/* ---------- card 4: the matrix tabs and signature ---------- */
.card-matrix {
  background: var(--graphite);
  color: var(--titanium);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.matrix-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(28px, 5vw, 80px) calc(var(--hud-h) + 40px);
}

.matrix-left .mono-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 20px;
}

.matrix-left h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 40px;
}

.matrix-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  border-left: 2px solid rgba(217, 224, 228, 0.2);
  transition:
    border-color 0.5s var(--ease-silk),
    background 0.5s var(--ease-silk);
}

.matrix-tab .tab-line {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.matrix-tab .tab-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #6a7077;
  transition: color 0.5s var(--ease-silk);
}

.matrix-tab .tab-name {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(244, 245, 246, 0.55);
  transition: color 0.5s var(--ease-silk);
}

.matrix-tab p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 245, 246, 0.6);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.7s var(--ease-silk),
    opacity 0.7s var(--ease-silk);
}

.matrix-tab.active {
  border-left-color: var(--volt);
  background: rgba(209, 255, 0, 0.08);
  background: rgba(255, 0, 162, 0.12);
}

.matrix-tab.active .tab-num {
  color: var(--volt);
}

.matrix-tab.active .tab-name {
  color: var(--titanium);
}

.matrix-tab.active p {
  max-height: 120px;
  opacity: 1;
}

.matrix-tab:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: -2px;
}

.matrix-right {
  position: relative;
  overflow: hidden;
}

.matrix-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1s var(--ease-silk),
    transform 1.4s var(--ease-silk);
}

.matrix-img.active {
  opacity: 1;
  transform: scale(1);
}

.matrix-img-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 29, 26, 0.55),
    rgba(26, 29, 26, 0) 45%
  );
  pointer-events: none;
}

.matrix-caption {
  position: absolute;
  right: 28px;
  bottom: calc(var(--hud-h) + 24px);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--titanium);
  background: rgba(26, 29, 26, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 224, 228, 0.25);
  padding: 10px 16px;
}

/* ---------- card 5: FAQ ---------- */
.card-faq {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  display: flex;
  /* align-items: center; */
  justify-content: center;
  padding: 56px 20px;
  overflow-y: scroll;
}

.faq-stage {
  width: 100%;
  max-width: 1100px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

.faq-list .mono {
  display: block;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--volt);
  margin-bottom: 10px;
}

.faq-list h2 {
  margin: 0 0 18px 0;
  font-size: 32px;
  color: var(--carbon);
}

.faq-item {
  margin-bottom: 16px;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 32, 0.06);
  border-radius: 10px;
  overflow: hidden;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

/* ---------- card 6: contact ---------- */
.card-contact {
  background: linear-gradient(180deg, #0d1117 0%, #141a23 100%);
  display: flex;
  justify-content: center;
  padding: 72px 20px 48px;
  overflow-y: auto;
  color: var(--titanium);
}

.contact-stage {
  width: 100%;
  max-width: 1180px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, 520px);
  align-items: center;
  gap: 42px;
  margin-bottom: 28px;
}

.contact-header {
  max-width: 620px;
}

.contact-header .mono {
  display: block;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: #ff7bc2;
  margin-bottom: 14px;
}

.contact-header h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.contact-header p {
  max-width: 560px;
  color: rgba(244, 245, 246, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.contact-panel {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(217, 224, 228, 0.14);
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-header {
    max-width: 100%;
  }

  .contact-header p {
    max-width: 100%;
  }

  .contact-panel {
    padding: 22px 20px;
  }

  .contact-list li {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .zcard {
    padding-bottom: calc(var(--hud-h) + 58px);
  }

  .card-contact {
    padding: 56px 16px 32px;
  }

  .contact-layout {
    gap: 18px;
  }

  .contact-header {
    margin-bottom: 18px;
  }

  .contact-header .mono {
    letter-spacing: 0.22em;
    margin-bottom: 12px;
  }

  .contact-header h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .contact-header p {
    font-size: 15px;
    line-height: 1.6;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .contact-list {
    gap: 20px;
  }

  .contact-list strong {
    letter-spacing: 0.12em;
  }

  .contact-list span,
  .contact-list a {
    font-size: 14px;
  }
}

.contact-details h3,
.contact-form-wrap h3 {
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(217, 224, 228, 0.1);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 0, 162, 0.12);
  border: 1px solid rgba(255, 0, 162, 0.28);
  display: grid;
  place-items: center;
  color: #ff7bc2;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 245, 246, 0.7);
  margin-bottom: 6px;
}

.contact-list span,
.contact-list a {
  color: rgba(244, 245, 246, 0.9);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.contact-form label {
  display: grid;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 245, 246, 0.72);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(217, 224, 228, 0.15);
  background: rgba(10, 13, 18, 0.48);
  color: var(--titanium);
  padding: 14px 16px;
  font: inherit;
  resize: vertical;
  min-height: 54px;
}

.contact-form textarea {
  min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 0, 162, 0.5);
  border-color: transparent;
}

.contact-form .btn {
  width: fit-content;
  margin-top: 6px;
}

.faq-list {
  display: grid;
  gap: 12px;
  align-content: start;
  max-height: 72vh;
  overflow-y: auto;
  padding-right: 8px;
}

.faq-list::-webkit-scrollbar {
  width: 8px;
}

.faq-list::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.05);
  border-radius: 999px;
}

.faq-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.18);
  border-radius: 999px;
}

.accordion {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.accordion:hover,
.accordion.active {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-color: rgba(255, 0, 162, 0.2);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.accordion::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 16px;
  border-right: 2px solid rgba(17, 24, 39, 0.72);
  border-bottom: 2px solid rgba(17, 24, 39, 0.72);
  transform: rotate(45deg);
  transition: transform 180ms ease;
  flex-shrink: 0;
}

.accordion.active::after {
  transform: rotate(-135deg);
}

.panel {
  display: none;
  margin-top: -2px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 0 20px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.panel p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
  font-size: 15px;
  padding: 18px 0 20px;
}

.faq-image {
  display: flex;
  align-items: stretch;
}

.faq-image .faq-img-placeholder {
  width: 100%;
  min-height: 260px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef2ff 0%, #e8f3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  font-weight: 700;
  font-size: 20px;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.faq-image .faq-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-image {
    order: -1;
  }
  .faq-image .faq-img-placeholder {
    min-height: 180px;
  }
  .rates-table {
    width: 100%;
    padding: 12px;
  }
  .rates-table table {
    min-width: 360px;
  }
}

@media (max-width: 560px) {
  .rates-table {
    padding: 10px;
    border-radius: 18px;
  }

  .rates-table th,
  .rates-table td {
    padding: 12px 10px;
    font-size: 14px;
  }

  .rates-table th {
    letter-spacing: 0.12em;
  }
}

/* ---------- the permanent hud signature bar ---------- */
.hud {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--hud-h);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 40px);
  background: rgba(244, 245, 246, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--steel);
}

.hud-brand {
  font-weight: 300;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--carbon);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.hud-brand .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 1px rgba(13, 14, 21, 0.35);
}

.hud-credit {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #6a7077;
  white-space: nowrap;
}

.hud-credit a {
  color: var(--carbon);
  border-bottom: 1px solid var(--volt);
  padding-bottom: 1px;
}

.hud-progress {
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hud-track {
  flex: 1;
  height: 2px;
  background: var(--steel);
  position: relative;
  overflow: hidden;
}

.hud-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--volt);
}

.hud-pct {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--carbon);
  min-width: 44px;
  text-align: right;
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--steel);
}

.hud-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel);
  background: var(--white);
  color: var(--carbon);
  transition:
    background 0.4s var(--ease-silk),
    border-color 0.4s var(--ease-silk),
    color 0.4s var(--ease-silk),
    opacity 0.4s var(--ease-silk);
}

.hud-arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

.hud-arrow:hover:not(:disabled) {
  background: var(--volt);
  border-color: var(--carbon);
  color: var(--carbon);
}

.hud-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.hud-arrow:focus-visible {
  outline: 2px solid var(--carbon);
  outline-offset: 2px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .glass-a {
    width: 140px;
    height: 140px;
    left: 4%;
  }
  .glass-b {
    width: 100px;
    height: 100px;
    right: 6%;
  }
  .glass-c {
    width: 80px;
    height: 80px;
    right: 12%;
  }
  .crosshair-v {
    left: 50%;
  }
  .node-dot {
    left: 50%;
  }
  .node-box {
    left: 24px;
    right: 24px;
    width: auto;
    top: calc(40% + 28px);
  }
  .macro-caption {
    left: 24px;
    right: 24px;
  }
  .accordion {
    flex-direction: column;
  }
  .slice {
    border-right: none;
    border-bottom: 1px solid var(--steel);
  }
  .slice:last-child {
    border-bottom: none;
  }
  .slice-idle {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
  }
  .slice-idle-title {
    writing-mode: horizontal-tb;
    letter-spacing: 0.08em;
  }
  .slice-reveal {
    left: 24px;
    right: 24px;
    bottom: 20px;
  }
  .slice-reveal h3 {
    white-space: normal;
  }
  .fold-head {
    padding: 20px 24px 0;
    flex-direction: column;
    gap: 6px;
  }
  .accordion {
    margin-top: 16px;
  }
  .rates-table {
    width: 90%;
    flex-direction: column;
    gap: 12px;
  }
  .rates-media {
    order: -1;
    width: 100%;
    display: block;
  }
  .rates-side-img {
    min-height: 140px;
  }
  .card-matrix {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .matrix-left {
    padding: 40px 24px 24px;
    justify-content: flex-start;
  }
  .matrix-left h2 {
    margin-bottom: 20px;
  }
  .matrix-tab {
    padding: 14px 16px;
  }
  .matrix-caption {
    right: 16px;
    bottom: calc(var(--hud-h) + 16px);
  }
  .hud-credit {
    display: none;
  }
  .hud-pct {
    display: none;
  }
}

@media (max-height: 540px) {
  .hero-title {
    font-size: clamp(40px, 10vh, 90px);
  }
  .hero-sub {
    display: none;
  }
  .matrix-tab p {
    display: none;
  }
}

/* ---------- reduced motion: collapse to a calm static document ---------- */
@media (prefers-reduced-motion: reduce) {
  .scroll-spacer {
    display: none;
  }
  .zcard {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    transform: none !important;
    opacity: 1 !important;
  }
  .glass-a,
  .glass-b,
  .glass-c,
  .node-dot,
  .hero-scroll-hint::after {
    animation: none !important;
  }
  .slice,
  .slice-img,
  .slice-shade,
  .slice-reveal,
  .matrix-img,
  .matrix-tab p {
    transition: none !important;
  }
  .card-macro,
  .matrix-right {
    min-height: 100vh;
  }
}
