/* Avarqen Studio — cinematic technological minimalism */

:root {
  --midnight: #05070a;
  --ocean: #0b1420;
  --graphite: #1a1f28;
  --steel: #bfc2c7;
  --cold: #f2f4f7;
  --cyan: #3aa6ff;
  --violet: #6c63ff;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--steel);
  background: var(--midnight);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--cyan);
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(191, 194, 199, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: clamp(26px, 4vw, 36px);
  width: auto;
  max-width: min(220px, 46vw);
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.35s var(--ease-out);
}

.logo:hover img {
  opacity: 0.88;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--steel);
  transition: color 0.35s var(--ease-out);
}

.nav-links a:hover {
  color: var(--cold);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ---------- Layout ---------- */

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(4rem, 12vw, 7rem);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  padding: clamp(5.5rem, 12vh, 7rem) 1.25rem clamp(3rem, 8vh, 4rem);
  background: var(--midnight);
  isolation: isolate;
  overflow: clip;
}

/* Background atmosphere */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-visual__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 45% at 50% 35%, rgba(108, 99, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 75% 70%, rgba(58, 166, 255, 0.1), transparent 50%),
    radial-gradient(ellipse 30% 25% at 15% 60%, rgba(58, 166, 255, 0.06), transparent 45%);
  opacity: 0.85;
}

.hero-visual__ring {
  position: absolute;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(191, 194, 199, 0.08);
}

.hero-visual__ring--a {
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  animation: hero-ring-breathe 14s var(--ease-out) infinite;
}

.hero-visual__ring--b {
  width: min(92vw, 680px);
  height: min(92vw, 680px);
  border-color: rgba(58, 166, 255, 0.12);
  animation: hero-ring-breathe 18s var(--ease-out) infinite reverse;
}

.hero-visual__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(5, 7, 10, 0.12) 2px,
    rgba(5, 7, 10, 0.12) 3px
  );
  mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, transparent 0%, black 75%);
  opacity: 0.35;
}

@keyframes hero-ring-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual__ring--a,
  .hero-visual__ring--b {
    animation: none;
  }
}

/* Tactical corners */
.hero-corners {
  position: absolute;
  inset: clamp(4.5rem, 10vh, 5.5rem) clamp(0.75rem, 3vw, 1.5rem) clamp(1rem, 4vh, 1.5rem);
  z-index: 1;
  pointer-events: none;
}

.hero-corner {
  position: absolute;
  width: 2.5rem;
  height: 2.5rem;
  border-color: rgba(58, 166, 255, 0.35);
  border-style: solid;
  opacity: 0.9;
}

.hero-corner--tl {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.hero-corner--tr {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}

.hero-corner--bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}

.hero-corner--br {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  width: min(900px, 100%);
}

.hero-channel {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin: 0;
  padding: 0.45rem 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(191, 194, 199, 0.75);
  background: rgba(11, 20, 32, 0.65);
  border: 1px solid rgba(191, 194, 199, 0.1);
  backdrop-filter: blur(8px);
}

.hero-channel__id {
  color: var(--cyan);
  letter-spacing: 0.28em;
}

.hero-channel__sep {
  display: inline-block;
  width: 1px;
  height: 0.85rem;
  background: rgba(191, 194, 199, 0.25);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  line-height: 1.02;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
}

.hero-title__pre {
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(242, 244, 247, 0.55);
  max-width: 22ch;
}

.hero-title__accent {
  font-size: clamp(2.35rem, 7.5vw, 3.85rem);
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, var(--cold) 0%, var(--cold) 35%, var(--cyan) 55%, var(--violet) 100%);
  background-size: 120% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 16ch;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(0.95rem, 2.1vw, 1.1rem);
  line-height: 1.7;
  max-width: 46ch;
  margin: 0;
  color: rgba(191, 194, 199, 0.92);
}

/* Spec strip */
.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0.5rem 0 0;
  padding: 0;
  width: 100%;
  max-width: 640px;
}

.hero-specs__cell {
  margin: 0;
  padding: 0.85rem 0.75rem;
  background: rgba(26, 31, 40, 0.55);
  border: 1px solid rgba(191, 194, 199, 0.08);
  text-align: center;
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.hero-specs__cell:hover {
  border-color: rgba(58, 166, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(58, 166, 255, 0.06);
}

.hero-specs dt {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.hero-specs dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cold);
  line-height: 1.35;
}

@media (max-width: 600px) {
  .hero-specs {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .hero-corners {
    inset: clamp(4.25rem, 11vh, 5rem) 0.65rem 0.85rem;
  }

  .hero-corner {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.hero-actions {
  margin-top: 0.25rem;
}

.hero-actions__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(191, 194, 199, 0.65);
  transition: color 0.35s var(--ease-out), gap 0.35s var(--ease-out);
}

.hero-actions__scroll:hover {
  color: var(--cyan);
  gap: 1rem;
}

.hero-actions__scroll-line {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

/* ---------- Section titles ---------- */

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--cold);
  margin: 0 0 1rem;
  line-height: 1.15;
}

/* ---------- Block: Manifest (angled stripe) ---------- */

.manifest {
  position: relative;
  background: var(--ocean);
  padding-block: clamp(4rem, 10vw, 6rem);
}

.manifest::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(160deg, rgba(58, 166, 255, 0.06), transparent);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.manifest-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 820px) {
  .manifest-grid {
    grid-template-columns: 1fr;
  }
}

.manifest-aside {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  color: rgba(242, 244, 247, 0.06);
  letter-spacing: -0.04em;
  user-select: none;
}

.manifest-body p {
  margin: 0 0 1.25rem;
  max-width: 52ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #2580cc);
  color: var(--midnight);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(58, 166, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--cold);
  border: 1px solid rgba(191, 194, 199, 0.25);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- Block: Capabilities 2x2 ---------- */

.capabilities {
  background: var(--midnight);
  position: relative;
}

.capabilities-head {
  max-width: 40ch;
  margin-bottom: 2.5rem;
}

.cap-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .cap-card-grid {
    grid-template-columns: 1fr;
  }
}

.cap-card {
  background: var(--graphite);
  border: 1px solid rgba(191, 194, 199, 0.07);
  padding: 1.75rem 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s;
}

.cap-card:nth-child(1) {
  border-top: 2px solid var(--cyan);
}
.cap-card:nth-child(2) {
  border-top: 2px solid var(--violet);
}
.cap-card:nth-child(3) {
  border-top: 2px solid rgba(58, 166, 255, 0.5);
}
.cap-card:nth-child(4) {
  border-top: 2px solid rgba(108, 99, 255, 0.5);
}

.cap-card:hover {
  border-color: rgba(58, 166, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(58, 166, 255, 0.08);
}

.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cold);
  margin: 0 0 0.5rem;
}

.cap-card p {
  margin: 0;
  font-size: 0.92rem;
  flex: 1;
}

.cap-index {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(191, 194, 199, 0.45);
  margin-bottom: 1rem;
}

/* ---------- Block: Tech split ---------- */

.tech-split {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 480px;
}

@media (max-width: 900px) {
  .tech-split {
    grid-template-columns: 1fr;
  }
}

.tech-split-left {
  background:
    linear-gradient(180deg, var(--graphite) 0%, var(--ocean) 100%),
    radial-gradient(circle at 30% 40%, rgba(108, 99, 255, 0.15), transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  border-right: 1px solid rgba(191, 194, 199, 0.08);
}

@media (max-width: 900px) {
  .tech-split-left {
    border-right: none;
    border-bottom: 1px solid rgba(191, 194, 199, 0.08);
    min-height: 220px;
  }
}

.tech-split-left p {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.5rem;
}

.tech-split-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cold);
  margin: 0;
  line-height: 1.2;
}

.tech-split-right {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--midnight);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.tech-split-right p {
  margin: 0;
  max-width: 55ch;
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tech-pill {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  background: var(--electric, var(--graphite));
  background: var(--graphite);
  border: 1px solid rgba(191, 194, 199, 0.12);
  color: var(--steel);
}

.tech-cta {
  margin-top: 1rem;
}

/* ---------- Block: Philosophy (full bleed band) ---------- */

.philo-band {
  background: linear-gradient(90deg, var(--ocean) 0%, var(--graphite) 50%, var(--ocean) 100%);
  border-block: 1px solid rgba(191, 194, 199, 0.06);
  padding-block: clamp(3.5rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}

.philo-band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0.35;
  transform: translate(-50%, -50%) rotate(-3deg);
}

.philo-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .philo-inner {
    grid-template-columns: 1fr;
  }
}

.philo-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--cold);
  line-height: 1.35;
  margin: 0;
  border-left: 3px solid var(--violet);
  padding-left: 1.5rem;
}

.philo-text p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.philo-cta {
  margin-top: 1.25rem;
}

/* ---------- Block: Bento vision ---------- */

.vision-bento {
  background: var(--midnight);
  padding-block: clamp(4rem, 10vw, 6rem);
}

.bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

@media (max-width: 800px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

.bento-main {
  grid-row: span 2;
  background: linear-gradient(145deg, var(--ocean), var(--graphite));
  border: 1px solid rgba(191, 194, 199, 0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.bento-main p {
  margin: 0;
  max-width: 48ch;
}

.bento-side {
  background: var(--graphite);
  border: 1px solid rgba(191, 194, 199, 0.07);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-side h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cyan);
  margin: 0 0 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bento-side p {
  margin: 0;
  font-size: 0.9rem;
}

.bento-accent {
  border-color: rgba(58, 166, 255, 0.2);
  box-shadow: inset 0 0 60px rgba(58, 166, 255, 0.04);
}

/* ---------- Contact ---------- */

.contact {
  padding-block: clamp(4rem, 10vw, 6rem);
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(108, 99, 255, 0.1), transparent),
    var(--midnight);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-intro p {
  margin: 0 0 1rem;
  max-width: 42ch;
}

.contact-form-wrap {
  background: rgba(26, 31, 40, 0.65);
  border: 1px solid rgba(191, 194, 199, 0.1);
  backdrop-filter: blur(12px);
  padding: 2rem;
  position: relative;
}

.contact-form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 500px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(191, 194, 199, 0.8);
  margin-bottom: 0.4rem;
}

input,
textarea,
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  background: var(--midnight);
  border: 1px solid rgba(191, 194, 199, 0.12);
  color: var(--cold);
  border-radius: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(58, 166, 255, 0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(191, 194, 199, 0.55);
  max-width: 28ch;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ocean);
  border-top: 1px solid rgba(191, 194, 199, 0.08);
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: min(1120px, 92vw);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cold);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
}

.footer-col a {
  color: var(--steel);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-x-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--steel);
}

.footer-x-link svg {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.footer-x-link:hover {
  color: var(--cyan);
}

.footer-bottom {
  width: min(1120px, 92vw);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(191, 194, 199, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(191, 194, 199, 0.5);
}

/* ---------- Legal pages ---------- */

.page-main {
  padding: 7rem 1.5rem 4rem;
  min-height: 60vh;
}

.page-main .wrap {
  max-width: 720px;
}

.page-main h1 {
  font-family: var(--font-display);
  color: var(--cold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-main h2 {
  font-family: var(--font-display);
  color: var(--cold);
  font-size: 1.2rem;
  margin-top: 2rem;
}

.page-main p {
  color: var(--steel);
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--cyan);
}

.page-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(191, 194, 199, 0.95);
  margin: 0 0 1.5rem;
}

.page-meta {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(191, 194, 199, 0.5);
  margin: -0.5rem 0 2rem;
}

.page-main ul {
  color: var(--steel);
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.page-main li {
  margin-bottom: 0.45rem;
}

.page-main .note {
  font-size: 0.88rem;
  color: rgba(191, 194, 199, 0.65);
  border-left: 2px solid var(--violet);
  padding-left: 1rem;
  margin-top: 2rem;
}

/* Subpage form blocks (support, pricing) */
.page-form-section {
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem clamp(4rem, 10vw, 5rem);
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(108, 99, 255, 0.1), transparent),
    radial-gradient(ellipse 40% 30% at 0% 100%, rgba(58, 166, 255, 0.06), transparent),
    var(--midnight);
  border-top: 1px solid rgba(191, 194, 199, 0.08);
}

.page-form-section .wrap {
  width: min(560px, 100%);
  margin-inline: auto;
}

.page-form-section .section-label {
  margin-bottom: 0.5rem;
}

.page-form-section h2 {
  font-family: var(--font-display);
  color: var(--cold);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.page-form-intro {
  margin: 0 0 1.5rem;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== Immersive layouts: Support, Security, Pricing ========== */

.page-skin {
  --sub-accent: var(--cyan);
  --sub-accent-soft: rgba(58, 166, 255, 0.15);
}

.page-skin--security {
  --sub-accent: var(--violet);
  --sub-accent-soft: rgba(108, 99, 255, 0.18);
}

.page-skin--pricing {
  --sub-accent: var(--cyan);
  --sub-accent-soft: rgba(58, 166, 255, 0.12);
}

.sub-prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sub-prose a:hover {
  color: var(--cold);
}

.sub-inline-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.sub-inline-link:hover {
  color: var(--cold);
}

/* --- Shared hero --- */
.sub-hero {
  position: relative;
  padding: clamp(6rem, 15vw, 9rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  isolation: isolate;
  overflow: clip;
  background: var(--midnight);
}

.sub-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(191, 194, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 194, 199, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, black 20%, transparent 70%);
  pointer-events: none;
}

.sub-hero__glow {
  position: absolute;
  inset: -30% -10% 0;
  background: radial-gradient(ellipse 55% 50% at 50% 0%, var(--sub-accent-soft), transparent 55%);
  pointer-events: none;
}

.sub-hero--support .sub-hero__slash {
  position: absolute;
  top: 20%;
  right: -5%;
  width: min(45vw, 420px);
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: rotate(-35deg);
  opacity: 0.45;
  pointer-events: none;
}

.sub-hero--security .sub-hero__cross {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.35), transparent);
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
}

.sub-hero--pricing .sub-hero__bars {
  position: absolute;
  right: 8%;
  bottom: 15%;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 80px;
  opacity: 0.25;
  pointer-events: none;
}

.sub-hero--pricing .sub-hero__bars span {
  display: block;
  width: 8px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 1px;
}

.sub-hero--pricing .sub-hero__bars span:nth-child(1) {
  height: 35%;
}
.sub-hero--pricing .sub-hero__bars span:nth-child(2) {
  height: 70%;
}
.sub-hero--pricing .sub-hero__bars span:nth-child(3) {
  height: 50%;
}
.sub-hero--pricing .sub-hero__bars span:nth-child(4) {
  height: 100%;
}
.sub-hero--pricing .sub-hero__bars span:nth-child(5) {
  height: 42%;
}

.sub-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.sub-hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sub-accent);
  margin: 0 0 1rem;
}

.sub-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 10vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--cold);
  margin: 0 0 1rem;
  max-width: 14ch;
}

.sub-hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  color: rgba(191, 194, 199, 0.92);
  max-width: 38ch;
  margin: 0 0 1.5rem;
}

.sub-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.sub-hero__ticket {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  background: var(--graphite);
  border: 1px dashed rgba(58, 166, 255, 0.35);
  color: rgba(242, 244, 247, 0.85);
}

.page-skin--security .sub-hero__ticket {
  border-color: rgba(108, 99, 255, 0.4);
}

.sub-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sub-chip {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(191, 194, 199, 0.12);
  color: rgba(191, 194, 199, 0.85);
  background: rgba(11, 20, 32, 0.5);
}

/* --- Bands & sections --- */
.sub-band {
  padding: clamp(3rem, 8vw, 4.5rem) 1.5rem;
  background: var(--ocean);
  border-block: 1px solid rgba(191, 194, 199, 0.06);
}

.sub-band--dark {
  background: linear-gradient(180deg, var(--graphite) 0%, var(--midnight) 100%);
}

.sub-band--glow {
  background: linear-gradient(135deg, rgba(11, 20, 32, 0.97) 0%, var(--midnight) 50%, rgba(26, 31, 40, 0.9) 100%);
  position: relative;
}

.sub-band--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 40% at 20% 50%, var(--sub-accent-soft), transparent 50%);
  pointer-events: none;
}

.sub-band__inner {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.sub-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--cold);
  margin: 0 0 0.35rem;
}

.sub-section-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sub-accent);
  margin: 0 0 1.75rem;
}

/* Route cards (support) */
.sub-route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 820px) {
  .sub-route-grid {
    grid-template-columns: 1fr;
  }
}

.sub-route-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 1.25rem;
  background: var(--graphite);
  border: 1px solid rgba(191, 194, 199, 0.08);
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s;
  text-decoration: none;
  color: inherit;
}

.sub-route-card:hover {
  border-color: rgba(58, 166, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.sub-route-card__tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.sub-route-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cold);
}

.sub-route-card p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(191, 194, 199, 0.82);
  line-height: 1.55;
}

/* Split panels */
.sub-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  width: min(1040px, 100%);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .sub-split {
    grid-template-columns: 1fr;
  }
}

.sub-panel {
  background: var(--graphite);
  border: 1px solid rgba(191, 194, 199, 0.08);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.sub-panel--accent {
  border-top: 3px solid var(--cyan);
}

.sub-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cold);
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}

.sub-panel p,
.sub-panel li {
  font-size: 0.92rem;
  color: var(--steel);
  line-height: 1.65;
}

.sub-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.sub-panel li {
  margin-bottom: 0.45rem;
}

/* Numbered rail (security) */
.sub-rail {
  counter-reset: secstep;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(720px, 100%);
  margin-inline: auto;
}

.sub-rail__item {
  position: relative;
  padding: 1.25rem 0 1.25rem 3.25rem;
  border-bottom: 1px solid rgba(191, 194, 199, 0.08);
}

.sub-rail__item::before {
  counter-increment: secstep;
  content: counter(secstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--violet);
  opacity: 0.9;
}

.sub-rail__item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cold);
  margin: 0 0 0.35rem;
}

.sub-rail__item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--steel);
}

/* Scope duel (security) */
.sub-scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: min(1040px, 100%);
  margin-inline: auto;
}

@media (max-width: 720px) {
  .sub-scope-grid {
    grid-template-columns: 1fr;
  }
}

.sub-scope {
  padding: 2rem 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.sub-scope--in {
  background: linear-gradient(160deg, rgba(58, 166, 255, 0.08), var(--graphite));
  border: 1px solid rgba(58, 166, 255, 0.22);
}

.sub-scope--out {
  background: linear-gradient(200deg, rgba(108, 99, 255, 0.1), var(--ocean));
  border: 1px solid rgba(108, 99, 255, 0.2);
}

.sub-scope h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.sub-scope--in h3 {
  color: var(--cyan);
}

.sub-scope--out h3 {
  color: var(--violet);
}

.sub-scope ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(191, 194, 199, 0.9);
  font-size: 0.9rem;
}

.sub-scope li {
  margin-bottom: 0.5rem;
}

/* Report targets grid */
.sub-target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: min(900px, 100%);
  margin-inline: auto;
}

@media (max-width: 600px) {
  .sub-target-grid {
    grid-template-columns: 1fr;
  }
}

.sub-target {
  padding: 1.35rem 1.25rem;
  background: rgba(26, 31, 40, 0.6);
  border: 1px solid rgba(191, 194, 199, 0.07);
  border-left: 3px solid var(--violet);
  font-size: 0.9rem;
  color: rgba(191, 194, 199, 0.92);
  line-height: 1.55;
}

.sub-target strong {
  display: block;
  font-family: var(--font-display);
  color: var(--cold);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* Safe harbor strip */
.sub-harbor {
  margin: 2rem 1.5rem 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.12), transparent);
  border: 1px solid rgba(108, 99, 255, 0.2);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.sub-harbor p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cold);
  line-height: 1.65;
  text-align: center;
}

/* Pricing tier cards */
.sub-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(1100px, 100%);
  margin-inline: auto;
}

@media (max-width: 900px) {
  .sub-tier-grid {
    grid-template-columns: 1fr;
  }
}

.sub-tier {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--graphite);
  border: 1px solid rgba(191, 194, 199, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}

.sub-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.sub-tier--a {
  border-top: 3px solid var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.sub-tier--b {
  border-top: 3px solid var(--violet);
}

.sub-tier--c {
  border-top: 3px solid rgba(58, 166, 255, 0.45);
  background: linear-gradient(180deg, rgba(11, 20, 32, 0.9), var(--graphite));
}

.sub-tier__stamp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(191, 194, 199, 0.4);
  transform: rotate(-12deg);
}

.sub-tier h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cold);
  margin: 0 0 0.5rem;
}

.sub-tier__meta {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.sub-tier--b .sub-tier__meta {
  color: var(--violet);
}

.sub-tier p {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.6;
}

.sub-tier__foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(191, 194, 199, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(191, 194, 199, 0.55);
}

/* Movers bento */
.sub-movers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  width: min(1040px, 100%);
  margin-inline: auto;
}

@media (max-width: 800px) {
  .sub-movers {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sub-mover {
  padding: 1rem 0.85rem;
  background: rgba(26, 31, 40, 0.75);
  border: 1px solid rgba(191, 194, 199, 0.08);
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(191, 194, 199, 0.88);
  transform: rotate(-0.5deg);
}

.sub-mover:nth-child(even) {
  transform: rotate(0.5deg);
}

.sub-mover strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cold);
  margin-bottom: 0.35rem;
}

/* Checklist strip (support bug) */
.sub-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: min(800px, 100%);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .sub-check-grid {
    grid-template-columns: 1fr;
  }
}

.sub-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(5, 7, 10, 0.45);
  border: 1px solid rgba(191, 194, 199, 0.07);
  font-size: 0.88rem;
  color: rgba(191, 194, 199, 0.9);
  line-height: 1.45;
}

.sub-check::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.35rem;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(58, 166, 255, 0.5);
  transform: rotate(45deg);
}

/* Immersive form shells */
.page-form-section.page-form-section--immersive {
  border-top: none;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(58, 166, 255, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(108, 99, 255, 0.1), transparent),
    var(--midnight);
  padding-top: clamp(3.5rem, 9vw, 5rem);
}

.page-skin--pricing .page-form-section.page-form-section--immersive {
  background:
    radial-gradient(ellipse 55% 45% at 100% 80%, rgba(108, 99, 255, 0.12), transparent),
    radial-gradient(ellipse 45% 35% at 0% 0%, rgba(58, 166, 255, 0.1), transparent),
    var(--ocean);
}

.page-form-section--immersive .wrap {
  width: min(960px, 100%);
}

.sub-form-shell {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 860px) {
  .sub-form-shell {
    grid-template-columns: 1fr;
  }
}

.sub-form-rail {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, var(--graphite), rgba(11, 20, 32, 0.85));
  border: 1px solid rgba(191, 194, 199, 0.1);
  position: relative;
  overflow: hidden;
}

.sub-form-rail::before {
  content: "INCOMING";
  position: absolute;
  right: -0.5rem;
  top: 40%;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(242, 244, 247, 0.03);
  transform: rotate(-90deg);
  pointer-events: none;
}

.sub-form-rail h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
}

.sub-form-rail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sub-form-rail li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  color: rgba(191, 194, 199, 0.88);
  line-height: 1.5;
}

.sub-form-rail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: var(--cyan);
}

.page-skin--pricing .sub-form-rail h3 {
  color: var(--violet);
}

.page-skin--pricing .sub-form-rail li::before {
  background: var(--violet);
}

.sub-form-rail .sub-stat {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(191, 194, 199, 0.08);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cold);
  line-height: 1.1;
}

.sub-form-rail .sub-stat span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(191, 194, 199, 0.45);
  margin-top: 0.35rem;
}

.sub-footer-actions {
  width: min(1040px, 100%);
  margin: 2.5rem auto 0;
  padding: 0 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.sub-note-inline {
  font-size: 0.82rem;
  color: rgba(191, 194, 199, 0.5);
  max-width: 42ch;
  margin: 0;
}
