/* mxt-theme.css — MXTechies shared dark/gold page system (matches homepage) */
:root {
  --bg: #000;
  --bg-1: #0a0806;
  --bg-2: #0f0b07;
  --accent: #f26522;
  --accent-2: #ff8442;
  --gold: #e9b949;
  --gold-bright: #ffd86b;
  --paper: #f5efe6;
  --mut: rgba(245, 239, 230, .66);
  --dim: rgba(245, 239, 230, .45);
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .14);
  --display: 'Inter Tight', sans-serif;
  --serif: 'Instrument Serif', serif;
  --body: 'Hanken Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --maxw: 1200px;
}

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

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5
}

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px)
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line)
}

.nav__in {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.nav__logo img {
  height: 26px;
  width: auto
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px
}

.nav__links a {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--mut);
  transition: color .2s;
  white-space: nowrap
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--paper)
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 600;
  color: #0a0806;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(242, 101, 34, .34);
  white-space: nowrap
}

.nav__cta span {
  font-family: var(--mono)
}

@media(max-width:900px) {
  .nav__links {
    display: none
  }
}

/* ---------- homepage-style mega nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100
}

.topbar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 0 clamp(14px, 3vw, 32px);
  background: rgba(0, 0, 0, .85);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px
}

.topbar a {
  color: var(--dim);
  transition: color .2s
}

.topbar a:hover {
  color: var(--paper)
}

.mainnav {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 clamp(14px, 3vw, 32px);
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line)
}

.mainnav__logo img {
  height: 26px;
  width: auto;
  display: block
}

.mnav {
  margin-left: 26px;
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 500
}

.mnav__item {
  position: relative
}

.mnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--mut);
  white-space: nowrap;
  transition: color .2s;
  cursor: pointer
}

.mnav__item:hover .mnav__link,
.mnav__link.is-ai {
  color: var(--paper)
}

.mnav__link .star {
  color: var(--accent);
  font-size: 12px
}

.mnav__badge {
  font-family: var(--mono);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase
}

.mnav__car {
  font-size: 9px;
  color: var(--dim);
  transition: transform .2s
}

.mnav__item:hover .mnav__car {
  transform: rotate(180deg)
}

.mainnav__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: #0a0806;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  padding: 9px 17px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(242, 101, 34, .34);
  white-space: nowrap
}

.mainnav__cta span {
  font-family: var(--mono)
}

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 49;
  background: rgba(10, 9, 7, .98);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s
}

.mnav__item:hover .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.mega__in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px clamp(40px, 5vw, 80px);
  display: grid;
  gap: 34px;
  align-items: start
}

.mega__feat {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 190px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line2)
}

.mega__feat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .85))
}

.mega__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2
}

.mega__kick {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px
}

.mega__blurb {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  line-height: 1.2
}

.mega__col h6 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 13px
}

.mega__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.mega__col a {
  font-size: 13.5px;
  color: var(--mut);
  transition: color .2s
}

.mega__col a:hover {
  color: var(--paper)
}

@media(max-width:980px) {

  .topbar,
  .mnav {
    display: none
  }

  .mainnav__cta {
    margin-left: auto
  }
}

/* ---------- hero ---------- */
.phero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 64px;
  background: radial-gradient(ellipse 70% 70% at 72% -20%, rgba(242, 101, 34, .18), transparent 58%), var(--bg)
}

.phero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(233, 185, 73, .10) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 75% 0%, #000 20%, transparent 75%)
}

.phero .container {
  position: relative;
  z-index: 2
}

.crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 22px;
  display: flex;
  gap: 9px;
  align-items: center
}

.crumb a:hover {
  color: var(--gold)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px
}

.eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: .5
}

.phero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.03em;
  max-width: 16ch;
  text-align: start;
}

.phero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent
}

.phero__lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--mut);
  max-width: 60ch
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 11px;
  transition: transform .2s, box-shadow .2s, background .2s
}

.btn span {
  font-family: var(--mono)
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0a0806;
  box-shadow: 0 14px 32px rgba(242, 101, 34, .34)
}

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

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line2)
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(233, 185, 73, .08);
  color: var(--gold) ;
}

/* ---------- generic sections ---------- */
.section {
  position: relative;
  padding: 78px 0
}

/* .section+.section {
  padding-top: 0
} */

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 90vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line2), transparent);
  opacity: .5
}

.section--alt::before,
.phero+.section::before {
  display: none
}

.section--alt {
  background: linear-gradient(180deg, #000, #0b0805 50%, #000)
}

.sec-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px
}

.sec-head--left {
  margin: 0 0 48px;
  text-align: left;
  align-items: flex-start
}

.sec-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -.025em
}

.sec-head h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold)
}

.sec-head p {
  color: var(--mut);
  font-size: 16px;
  line-height: 1.6;
  max-width: 60ch
}

/* numbered use-case cards (crisp design) */
.section--alt .grid-3 {
  counter-reset: uc
}

.section--alt .grid-3 .card {
  counter-increment: uc;
  padding-top: 48px
}

.section--alt .grid-3 .card::before {
  content: counter(uc, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--c, var(--accent))
}

.section--alt .grid-3 .card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--c, var(--accent));
  opacity: .55;
  transition: width .3s
}

.section--alt .grid-3 .card:hover::after {
  width: 54px
}

.card {
  position: relative
}

/* card grid */
.grid {
  display: grid;
  gap: 16px
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  background: linear-gradient(165deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  transition: border-color .25s, transform .25s, background .25s
}

.card:hover {
  border-color: color-mix(in srgb, var(--c, var(--accent)) 50%, transparent);
  transform: translateY(-4px)
}

.card__ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--c, var(--accent));
  background: color-mix(in srgb, var(--c, var(--accent)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 32%, transparent)
}

.card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
  margin-bottom: 8px
}

.card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mut)
}

.kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px
}

/* feature row (text + visual) */
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center
}

.frow--rev .frow__media {
  order: -1
}

.frow__media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line2);
  min-height: 320px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
}

.frow h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 16px
}

.frow h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold)
}

.frow p {
  color: var(--mut);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px
}

.ticklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px
}

.ticklist li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: var(--paper);
  line-height: 1.5
}

.ticklist li i {
  color: var(--accent);
  font-style: normal;
  flex: none;
  font-weight: 700
}

/* stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0
}

.stat__n {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -.02em;
  color: var(--paper)
}

.stat__n em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold)
}

.stat__l {
  font-size: 13px;
  color: var(--mut);
  line-height: 1.45;
  margin-top: 6px
}

/* CTA band */
.ctaband {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line2);
  padding: 60px clamp(28px, 5vw, 72px);
  text-align: center;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(242, 101, 34, .2), transparent 65%), linear-gradient(180deg, #140d07, #0a0806)
}

.ctaband h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 16px
}

.ctaband h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold)
}

.ctaband p {
  color: var(--mut);
  font-size: 16px;
  max-width: 56ch;
  margin: 0 auto 30px;
  line-height: 1.6
}

/* chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.chip {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  color: var(--paper);
  background: color-mix(in srgb, var(--c, var(--accent)) 22%, rgba(0, 0, 0, .4));
  border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 48%, transparent);
  padding: 6px 12px;
  border-radius: 999px
}

/* quantified use-case cards */
.uc {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: border-color .25s, transform .25s, background .25s
}

.uc:hover {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  transform: translateY(-4px)
}

.uc__metric {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.025em;
  color: var(--c);
  line-height: 1;
  margin-bottom: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.uc__metric span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400
}

.uc h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  margin-bottom: 7px
}

.uc p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mut)
}

/* executive value cards */
.exec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.exec__card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  position: relative;
  overflow: hidden
}

.exec__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: .6
}

.exec__role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 6px 0 10px
}

.exec__card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 7px;
  color: var(--paper)
}

.exec__card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mut)
}

/* in-production image slots */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.shots image-slot {
  display: block;
  width: 100%;
  aspect-ratio: 16/10
}

@media(max-width:960px) {
  .exec {
    grid-template-columns: 1fr 1fr
  }

  .shots {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .exec {
    grid-template-columns: 1fr
  }

  .shots {
    grid-template-columns: 1fr
  }
}

/* stat-as-image cards */
.statviz {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px
}

.svcard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: border-color .25s, transform .25s
}

.svcard:hover {
  border-color: color-mix(in srgb, var(--c) 50%, transparent);
  transform: translateY(-3px)
}

.svcard__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px
}

.svcard__n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--c, var(--paper))
}

.svcard__l {
  margin-top: 12px;
  font-size: 13px;
  color: var(--mut);
  line-height: 1.4
}

.svcard__track {
  margin-top: 15px;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden
}

.svcard__fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 45%, #fff))
}

/* FAQ (Q&A) */
.faq {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: border-color .2s
}

.faq details[open] {
  border-color: var(--line2)
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: '+';
  font-family: var(--mono);
  color: var(--accent);
  font-size: 18px;
  transition: transform .2s;
  flex: none
}

.faq details[open] summary::after {
  transform: rotate(45deg)
}

.faq details p {
  padding: 0 22px 19px;
  color: var(--mut);
  font-size: 14px;
  line-height: 1.65;
  margin: 0
}

/* footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  background: var(--bg-1)
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px
}

.foot__brand img {
  height: 28px;
  margin-bottom: 16px
}

.foot__brand p {
  color: var(--mut);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 34ch
}

.foot__col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px
}

.foot__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.foot__col a {
  font-size: 13.5px;
  color: var(--mut);
  transition: color .2s
}

.foot__col a:hover {
  color: var(--paper)
}

.foot__bot {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 22px clamp(24px, 5vw, 80px) 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--dim)
}

@media(max-width:960px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .frow {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .frow--rev .frow__media {
    order: 0
  }

  .stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .foot__grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {

  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .foot__grid {
    grid-template-columns: 1fr
  }
}