/* ============================================================
   QwikScale AI revised styles.css
   Premium business systems positioning
   ============================================================ */

:root {
  --jet-black: #070a12;
  --midnight: #0d1b3d;
  --midnight-soft: #12254f;
  --electric: #0066ff;
  --sapphire: #00c2ff;
  --gold: #d4af37;
  --gold-dark: #aa8324;
  --champagne: #f2d99c;
  --steel: #7a8899;

  --bg: #091126;
  --bg-deep: #060b17;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --line: rgba(212, 175, 55, 0.18);
  --text: #f0eee9;
  --muted: #aeb7c5;
  --quiet: #738094;
  --success: #8ed8b7;
  --error: #ffaaa8;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-script: 'Allura', cursive;

  --gold-grad: linear-gradient(100deg, #b8912e 0%, #e8c766 44%, #f2d99c 55%, #b8912e 100%);
  --blue-grad: linear-gradient(115deg, #0066ff, #00c2ff);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 82% 0%, rgba(0, 102, 255, 0.12), transparent 65%),
    radial-gradient(ellipse 55% 38% at 8% 92%, rgba(212, 175, 55, 0.055), transparent 68%),
    linear-gradient(158deg, #091126 0%, #0c1937 48%, #070d1c 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-width: 0;
  overflow: visible;
  text-decoration: none;
}

.brand__script {
  display: inline-block;
  overflow: visible;
  font-family: var(--font-script);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.15;
  padding: 0.08em 0.02em 0.06em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__ai {
  display: inline-block;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  color: var(--sapphire);
}

.brand--footer .brand__script {
  font-size: 2.5rem;
}

/* ---------- Shared typography ---------- */
.eyebrow,
.card__kicker,
.workflow__eyebrow,
.system-map__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow {
  margin-bottom: 1rem;
}

.section__head {
  max-width: 790px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin-bottom: 1.2rem;
}

.section__sub {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

.section__sub--left {
  margin-left: 0;
  margin-right: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}

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

.btn:focus-visible {
  outline: 2px solid var(--sapphire);
  outline-offset: 3px;
}

.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.btn--gold {
  background: var(--gold-grad);
  color: #171108;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

.btn--gold:hover {
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.28);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.015);
  color: var(--champagne);
  border-color: rgba(212, 175, 55, 0.42);
}

.btn--outline:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: var(--champagne);
}

.btn--small {
  min-height: 40px;
  padding: 0.58rem 1.2rem;
  font-size: 0.68rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.85rem 0;
  background: rgba(7, 12, 28, 0.6);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: padding 0.3s, background 0.3s, border-color 0.3s;
}

.nav.is-scrolled {
  padding: 0.48rem 0;
  background: rgba(6, 10, 23, 0.91);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}

.nav__links a:not(.btn) {
  color: #dce1e9;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: color 0.25s;
}

.nav__links a:not(.btn):hover,
.nav__links a[aria-current='page'] {
  color: var(--champagne);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav__toggle span {
  width: 23px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 9.5rem 0 6.5rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(5, 10, 23, 0.3));
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 136, 153, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 136, 153, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 80% 68% at 50% 42%, black 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 80% 68% at 50% 42%, black 30%, transparent 82%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero__content {
  max-width: 720px;
}

.hero__headline {
  max-width: 760px;
  margin-bottom: 0.9rem;
  font-size: clamp(2.5rem, 5vw, 4.65rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero__positioning {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: clamp(0.88rem, 1.45vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__statement {
  max-width: 700px;
  margin-bottom: 1.15rem;
  color: var(--text);
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.48;
}

.hero__statement::after {
  content: '';
  display: block;
  width: 92px;
  height: 1px;
  margin-top: 1.45rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero__sub {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin-top: 2rem;
  color: #8692a4;
  font-size: 0.78rem;
}

.hero__proof span {
  position: relative;
  padding-left: 1rem;
}

.hero__proof span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sapphire);
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.75);
}

/* ---------- System map ---------- */
.system-map {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.27);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(5, 11, 26, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.system-map::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(0, 194, 255, 0.2), transparent 40%, rgba(212, 175, 55, 0.17));
  filter: blur(18px);
  opacity: 0.5;
}

.system-map__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.35rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.system-map__label {
  color: var(--champagne);
  letter-spacing: 0.16em;
}

.system-map__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-map__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(142, 216, 183, 0.75);
}

.system-map__flow {
  padding: 1.3rem 0.2rem 0.5rem;
}

.system-node {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.system-node__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 194, 255, 0.25);
  border-radius: 8px;
  color: var(--sapphire);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 102, 255, 0.08);
}

.system-node strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.system-node small {
  display: block;
  margin-top: 0.14rem;
  color: var(--quiet);
  font-size: 0.72rem;
  line-height: 1.45;
}

.system-connector {
  width: 1px;
  height: 18px;
  margin-left: 1.95rem;
  background: linear-gradient(var(--gold), rgba(212, 175, 55, 0.15));
}

.system-map__foot {
  padding: 0.8rem 0.35rem 0.15rem;
  color: var(--quiet);
  font-size: 0.72rem;
  text-align: center;
}

/* ---------- Sections ---------- */
.section {
  padding: 7rem 0;
}

.section--first {
  padding-top: 10rem;
}

.section--alt {
  background: rgba(3, 8, 20, 0.34);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.split__intro {
  position: sticky;
  top: 7rem;
}

.pain-list {
  display: grid;
  gap: 0.85rem;
}

.pain-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 76px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.pain-item span {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.pain-item p {
  color: #d5dbe4;
  font-size: 0.98rem;
  font-weight: 400;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1.35rem;
}

.cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.pillar {
  position: relative;
  overflow: hidden;
  padding: 2.3rem 2.1rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.card::before,
.pillar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.card:hover,
.pillar:hover {
  border-color: rgba(212, 175, 55, 0.24);
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.33);
}

.card:hover::before,
.pillar:hover::before {
  opacity: 1;
}

.card__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.4rem;
  color: var(--gold);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card__kicker {
  margin-bottom: 0.55rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
}

.card__title {
  margin-bottom: 0.78rem;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.card__body,
.pillar__body {
  color: var(--muted);
  font-size: 0.96rem;
}

.card__list {
  display: grid;
  gap: 0.52rem;
  margin-top: 1.3rem;
  list-style: none;
}

.card__list li {
  position: relative;
  padding-left: 1.05rem;
  color: #cad1dc;
  font-size: 0.88rem;
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

.card__list--compact {
  gap: 0.42rem;
}

.service-card {
  min-height: 410px;
}

.industry-card {
  min-height: 350px;
}

.pillar {
  padding: 1.9rem 1.55rem;
}

.pillar__title {
  margin-bottom: 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- Process ---------- */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 33px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.process-step {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  text-align: center;
}

.process-step__num {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 1.35rem;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 50%;
  background: #0b1530;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  box-shadow: 0 0 0 8px rgba(10, 19, 42, 0.92);
}

.process-step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.04rem;
  font-weight: 600;
}

.process-step p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Workflow examples ---------- */
.workflow-list {
  display: grid;
  gap: 1rem;
}

.workflow {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 1.6rem;
  padding: 1.75rem 1.9rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.workflow:hover {
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.workflow__number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0, 194, 255, 0.22);
  border-radius: 10px;
  color: var(--sapphire);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  background: rgba(0, 102, 255, 0.07);
}

.workflow__eyebrow {
  margin-bottom: 0.35rem;
  font-size: 0.63rem;
  letter-spacing: 0.16em;
}

.workflow__content h3 {
  margin-bottom: 0.52rem;
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.35;
}

.workflow__content p:last-child {
  color: var(--muted);
  font-size: 0.87rem;
}

.workflow__path {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  color: #aeb8c6;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.workflow__path span {
  white-space: nowrap;
}

.workflow__path i {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 175, 55, 0.2));
}

/* ---------- Premium/privacy band ---------- */
.band {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 2.5rem 2.7rem;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(212, 175, 55, 0.08), transparent 48%),
    var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.band__icon {
  flex: 0 0 52px;
  height: 52px;
  color: var(--gold);
}

.band__icon svg {
  width: 100%;
  height: 100%;
}

.band__text {
  flex: 1;
}

.band__eyebrow {
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.band__title {
  margin-bottom: 0.52rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

.band__body {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.94rem;
}

.band__cta {
  flex: 0 0 auto;
}

/* ---------- Assessment CTA ---------- */
.assessment-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  border: 1px solid rgba(212, 175, 55, 0.27);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 102, 255, 0.13), transparent 28%),
    linear-gradient(120deg, rgba(212, 175, 55, 0.065), rgba(255, 255, 255, 0.025));
}

.assessment-cta h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.assessment-cta p:last-child {
  max-width: 760px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.contact__intro {
  position: sticky;
  top: 7rem;
}

.contact__details {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact__details p {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact__details span {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__details a {
  color: var(--champagne);
  text-decoration: none;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact__row,
.survey__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
  text-align: left;
}

.field > span {
  color: #d4dae4;
  font-size: 0.78rem;
  font-weight: 500;
}

.contact__form input,
.contact__form textarea,
.contact__form select,
.survey__form input,
.survey__form textarea,
.survey__select {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: rgba(3, 8, 20, 0.38);
  color: var(--text);
  padding: 0.9rem 1rem;
  font-size: 0.94rem;
  resize: vertical;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.contact__form select,
.survey__select {
  appearance: none;
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4AF37' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.contact__form option,
.survey__select option {
  background: #101a33;
  color: var(--text);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder,
.survey__form input::placeholder,
.survey__form textarea::placeholder {
  color: #667287;
}

.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus,
.survey__form input:focus,
.survey__form textarea:focus,
.survey__select:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.62);
  background-color: rgba(3, 8, 20, 0.58);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.09);
}

.contact__form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.form-note {
  color: var(--quiet);
  font-size: 0.72rem;
}

.contact__status {
  min-height: 1.4em;
  color: var(--champagne);
  font-size: 0.82rem;
}

.contact__status.is-success {
  color: var(--success);
}

.contact__status.is-error {
  color: var(--error);
}

/* ---------- Assessment page ---------- */
.assessment-hero {
  max-width: 850px;
  margin: 0 auto 4rem;
  text-align: center;
}

.assessment-hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.4rem;
  margin-top: 1.5rem;
  color: var(--quiet);
  font-size: 0.78rem;
}

.assessment-hero__meta span {
  position: relative;
  padding-left: 0.9rem;
}

.assessment-hero__meta span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.survey__form {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.survey__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.survey__progress i {
  width: 24px;
  height: 1px;
  background: rgba(212, 175, 55, 0.3);
}

.survey__group {
  min-width: 0;
  padding: 1.6rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--panel);
}

.survey__legend {
  width: 100%;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.survey__num {
  display: inline-block;
  margin-right: 0.65rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.survey__hint {
  color: var(--quiet);
  font-size: 0.76rem;
  font-weight: 400;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.chip {
  position: relative;
}

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

.chip span {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.84rem;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
}

.chip span:hover {
  border-color: rgba(212, 175, 55, 0.48);
  color: var(--text);
}

.chip input:checked + span {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.09);
  color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.06);
}

.chip input:focus-visible + span {
  outline: 2px solid var(--sapphire);
  outline-offset: 2px;
}

.survey__contact {
  display: grid;
  gap: 1rem;
}

.survey__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.survey__footer--submit {
  flex-direction: column;
  justify-content: center;
  padding-top: 1rem;
  text-align: center;
}

.survey .contact__status {
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3.3rem 0 2.2rem;
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 17, 0.53);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  text-align: center;
}

.footer__tag {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer__positioning {
  margin-top: -0.65rem;
  color: var(--champagne);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.8rem;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.25s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__copy {
  color: #566174;
  font-size: 0.72rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .pillar,
  .workflow {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links {
    gap: 1rem;
  }

  .nav__links a:not(.btn) {
    font-size: 0.77rem;
  }

  .hero__layout {
    grid-template-columns: 1fr 420px;
    gap: 3rem;
  }

  .cards--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow {
    grid-template-columns: 58px 1fr;
  }

  .workflow__path {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.7rem 4% 2rem;
    background: rgba(6, 10, 23, 0.98);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s, transform 0.28s;
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav__links a:not(.btn) {
    font-size: 0.95rem;
  }

  .nav__toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 9rem;
  }

  .hero__layout,
  .split,
  .contact__layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 820px;
  }

  .system-map {
    max-width: 620px;
  }

  .split__intro,
  .contact__intro {
    position: static;
  }

  .cards--three {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.6rem 1rem;
  }

  .process-grid::before {
    display: none;
  }

  .assessment-cta {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .band {
    flex-wrap: wrap;
  }

  .band__cta {
    margin-left: 84px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(92%, 560px);
  }

  .brand__script {
    font-size: 2.08rem;
  }

  .brand__ai {
    font-size: 0.92rem;
    letter-spacing: 0.22em;
  }

  .section {
    padding: 5.4rem 0;
  }

  .section--first {
    padding-top: 8.5rem;
  }

  .section__head {
    margin-bottom: 2.8rem;
  }

  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .hero {
    padding: 8.6rem 0 5rem;
  }

  .hero__headline {
    font-size: clamp(2.25rem, 11vw, 3.45rem);
  }

  .hero__positioning {
    font-size: 0.78rem;
    letter-spacing: 0.13em;
  }

  .hero__statement {
    font-size: 1.08rem;
  }

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

  .hero__proof {
    display: grid;
    gap: 0.55rem;
  }

  .system-map {
    padding: 0.9rem;
  }

  .system-map__head {
    align-items: flex-start;
  }

  .system-map__label {
    max-width: 180px;
    line-height: 1.5;
  }

  .system-node {
    grid-template-columns: 38px 1fr;
    padding: 0.72rem;
  }

  .system-node__num {
    width: 38px;
    height: 38px;
  }

  .system-connector {
    margin-left: 1.8rem;
  }

  .cards--two,
  .cards--three,
  .cards--four,
  .process-grid,
  .contact__row,
  .survey__row {
    grid-template-columns: 1fr;
  }

  .service-card,
  .industry-card {
    min-height: 0;
  }

  .card,
  .pillar {
    padding: 1.8rem 1.55rem;
  }

  .process-grid {
    gap: 2.2rem;
  }

  .process-step {
    padding: 0 0.4rem;
  }

  .workflow {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.45rem;
  }

  .workflow__number {
    width: 46px;
    height: 46px;
  }

  .workflow__path {
    grid-column: 1;
    flex-wrap: wrap;
  }

  .band {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1.2rem;
    padding: 1.7rem;
  }

  .band__text,
  .band__cta {
    grid-column: 1 / -1;
  }

  .band__cta {
    justify-self: start;
    margin-left: 0;
  }

  .assessment-cta {
    padding: 2rem 1.5rem;
  }

  .contact__form {
    padding: 1.4rem;
  }

  .contact__form .btn {
    align-self: stretch;
  }

  .assessment-hero__meta,
  .survey__progress {
    align-items: flex-start;
    flex-direction: column;
  }

  .survey__progress i {
    display: none;
  }

  .survey__group {
    padding: 1.25rem;
  }

  .chips {
    align-items: stretch;
  }

  .chip {
    width: 100%;
  }

  .chip span {
    width: 100%;
    border-radius: 8px;
  }
}


/* ============================================================
   Simplified homepage variant
   ============================================================ */

.simple-site .nav__links {
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.simple-hero {
  min-height: auto;
  padding: 9.25rem 0 5.5rem;
}

.simple-hero::after {
  height: 90px;
}

.simple-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.simple-hero__content {
  max-width: 720px;
}

.simple-hero .hero__headline {
  max-width: 650px;
  font-size: clamp(2.75rem, 5.8vw, 5.1rem);
  margin-bottom: 0.8rem;
}

.simple-hero .hero__positioning {
  margin-bottom: 1.3rem;
}

.simple-hero__message {
  max-width: 650px;
  color: var(--text);
  font-size: clamp(1.22rem, 2vw, 1.52rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.simple-hero__sub {
  max-width: 640px;
  margin-top: 1rem;
}

.simple-hero__cta {
  margin-top: 2rem;
}

.simple-overview {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.07), transparent 46%),
    rgba(7, 14, 32, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.simple-overview::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.simple-overview__label,
.simple-example__label {
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.simple-overview__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.simple-overview__item:first-of-type {
  border-top: 0;
}

.simple-overview__item > span,
.simple-service__num,
.simple-process__step > span {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.simple-overview__item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.simple-overview__item p,
.simple-overview__foot {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.simple-overview__foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  color: var(--champagne);
}

.simple-section {
  padding: 5.4rem 0;
}

.simple-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.simple-heading .section__title {
  max-width: 650px;
  margin-bottom: 0;
}

.simple-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.simple-services {
  border-top: 1px solid var(--glass-border);
}

.simple-service {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.simple-service > div {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.simple-service h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
}

.simple-service p {
  color: var(--muted);
}

.simple-audience {
  max-width: 850px;
  margin: 2rem 0 0 64px;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--champagne);
  font-size: 0.98rem;
}

.simple-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-border);
}

.simple-process__step {
  min-height: 220px;
  padding: 2rem;
  background: rgba(8, 16, 35, 0.88);
}

.simple-process__step h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1.18rem;
  font-weight: 600;
}

.simple-process__step p {
  color: var(--muted);
}

.simple-example {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 0.5rem 3rem;
  margin-top: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius-lg);
  background: rgba(212, 175, 55, 0.045);
}

.simple-example__label {
  grid-column: 1 / -1;
  margin-bottom: 0.4rem;
}

.simple-example h3 {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
}

.simple-example > p:not(.simple-example__label) {
  color: var(--muted);
}

.simple-example__flow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.simple-example__flow span {
  color: var(--champagne);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.simple-example__flow i {
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.25), rgba(0, 194, 255, 0.4));
}

.simple-contact {
  padding: 5.8rem 0;
}

.simple-contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

.simple-contact__intro {
  position: sticky;
  top: 7.5rem;
}

.simple-contact__intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.simple-contact__details {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.simple-contact__details p {
  color: var(--muted);
  font-size: 0.94rem;
}

.simple-contact__details strong {
  color: var(--text);
}

.simple-contact__details a {
  color: var(--champagne);
  text-decoration: none;
}

.simple-footer {
  padding-top: 2.7rem;
}

@media (max-width: 960px) {
  .simple-hero__layout,
  .simple-heading,
  .simple-contact__layout {
    grid-template-columns: 1fr;
  }

  .simple-hero__content {
    max-width: 780px;
  }

  .simple-overview {
    max-width: 720px;
  }

  .simple-heading {
    gap: 1.25rem;
    align-items: start;
  }

  .simple-contact__intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .simple-hero {
    padding: 8rem 0 4.5rem;
  }

  .simple-hero .hero__headline {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  .simple-section,
  .simple-contact {
    padding: 4.4rem 0;
  }

  .simple-service,
  .simple-service > div,
  .simple-example {
    grid-template-columns: 1fr;
  }

  .simple-service {
    gap: 0.65rem;
  }

  .simple-service > div {
    gap: 0.6rem;
  }

  .simple-audience {
    margin-left: 0;
  }

  .simple-process {
    grid-template-columns: 1fr;
  }

  .simple-process__step {
    min-height: auto;
  }

  .simple-example__label,
  .simple-example__flow {
    grid-column: 1;
  }

  .simple-example__flow {
    flex-wrap: wrap;
  }

  .simple-example__flow i {
    flex: 0 0 18px;
  }

  .simple-contact__layout {
    gap: 2.5rem;
  }
}
