@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #05070e;
  --bg-2: #080b14;
  --ink: #e8eaf0;
  --muted: #868da3;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.05);
  --acc-1: #5b8cff;
  --acc-2: #8b5cf6;
  --pink: #e6337f;
  --grad: linear-gradient(100deg, #5b8cff 0%, #8b5cf6 100%);
  --cx-blue: #3a5bff;
  --maxw: 1120px;
  --r: 14px;
  font-family: "Roboto", "Helvetica Neue", system-ui, -apple-system, Segoe UI,
    sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.mono {
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, monospace;
}
.eyebrow {
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc-1);
  box-shadow: 0 0 12px var(--acc-1);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* conflux wordmark */
.cx-word {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--cx-blue);
  letter-spacing: -0.035em;
  line-height: 1;
  padding-right: 0.32em;
}
.cx-word .cx-dot {
  position: absolute;
  right: 0.05em;
  top: 0.06em;
  width: 0.155em;
  height: 0.155em;
  border-radius: 50%;
  background: currentColor;
}
.cx-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 14, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand .cx-word {
  font-size: 1.3rem;
}
.brand-div {
  width: 1px;
  height: 22px;
  background: var(--line);
}
.prod {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.62em 1.15em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:focus-visible {
  outline: 2px solid var(--acc-1);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(120, 110, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(120, 110, 255, 0.45);
}
.btn-ghost {
  background: var(--glass);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--glass-2);
}
@media (max-width: 860px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}
@media (max-width: 480px) {
  .brand-div,
  .prod {
    display: none;
  }
}

/* hero */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 68px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 660px;
  z-index: 0;
  background: radial-gradient(
      680px 420px at 72% 18%,
      rgba(139, 92, 246, 0.28),
      transparent 62%
    ),
    radial-gradient(560px 460px at 30% 8%, rgba(91, 140, 255, 0.26), transparent 60%);
  filter: blur(6px);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
h1 {
  font-size: clamp(2.3rem, 5.8vw, 4.2rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 22px 0 0;
  max-width: 16ch;
}
.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: #c3c8d6;
  max-width: 60ch;
  margin-top: 22px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.flow {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.flow .sep {
  opacity: 0.4;
}

/* kpis */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 54px;
}
.kpi {
  background: var(--bg-2);
  padding: 22px 20px;
}
.kpi b {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  display: block;
  letter-spacing: -0.01em;
}
.kpi span {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* generic block */
section.block {
  padding: clamp(60px, 8vw, 100px) 0;
}
section.block.alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.sec-label {
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acc-1);
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 14px 0 0;
  max-width: 22ch;
}
.sub {
  color: var(--muted);
  margin-top: 12px;
  max-width: 56ch;
  font-size: 1.02rem;
}

/* problem grid + chart */
.prob-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-top: 44px;
}
@media (max-width: 900px) {
  .prob-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.prob-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prob {
  border: 1px solid var(--line);
  border-left: 2px solid var(--pink);
  border-radius: 10px;
  padding: 18px 20px;
  background: var(--glass);
}
.prob h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.prob p {
  font-size: 0.92rem;
  color: #b4bacb;
}
.chart {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  padding: 20px;
}
.chart .legend {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.chip::before {
  content: "";
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}
.cap {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 10px;
  font-style: italic;
}

/* cards (what it does) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(91, 140, 255, 0.5);
  background: var(--glass-2);
  transform: translateY(-3px);
}
.card .tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.card .tag .n {
  color: var(--acc-1);
  font-weight: 600;
}
.card h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin: 16px 0 10px;
  letter-spacing: -0.01em;
}
.card p {
  font-size: 0.95rem;
  color: #b4bacb;
}

/* why conflux — 5 axes */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
}
@media (max-width: 760px) {
  .why {
    grid-template-columns: 1fr;
  }
}
.axis {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--glass);
}
.axis .idx {
  font-family: "Roboto Mono", monospace;
  color: var(--acc-1);
  font-size: 0.85rem;
  font-weight: 600;
  padding-top: 2px;
}
.axis h4 {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}
.axis .rm {
  font-family: "Roboto Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.1em 0.6em;
}
.axis p {
  font-size: 0.9rem;
  color: #b4bacb;
  margin-top: 6px;
}
.axis.feature {
  grid-column: 1/-1;
  background: linear-gradient(
    100deg,
    rgba(91, 140, 255, 0.12),
    rgba(139, 92, 246, 0.1)
  );
  border-color: rgba(91, 140, 255, 0.4);
}

/* compare — days to hours */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}
@media (max-width: 760px) {
  .compare {
    grid-template-columns: 1fr;
  }
}
.col {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.col .head {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.95rem;
}
.col.trad .head {
  background: rgba(230, 51, 127, 0.14);
  color: #ff9dc4;
}
.col.cx .head {
  background: var(--grad);
  color: #fff;
}
.col ul {
  list-style: none;
}
.col li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.col li span:first-child {
  color: #b4bacb;
}
.col li span:last-child {
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 0.82rem;
}
.col li.total {
  font-weight: 700;
  background: var(--glass);
}
.col li.total span:last-child {
  color: #fff;
}
.col.trad li.total span:last-child {
  color: #ff9dc4;
}
.compare-note {
  text-align: center;
  color: var(--muted);
  margin-top: 22px;
  font-size: 0.9rem;
}

/* versus — category positioning */
.versus {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 44px;
}
.vrow {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  background: var(--glass);
}
.vrow.win {
  background: linear-gradient(
    100deg,
    rgba(91, 140, 255, 0.12),
    rgba(139, 92, 246, 0.1)
  );
  border-color: rgba(91, 140, 255, 0.45);
}
.vrow .cat {
  font-weight: 600;
  font-size: 1rem;
}
.vrow .cat small {
  display: block;
  font-family: "Roboto Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}
.vrow.win .cat {
  color: #fff;
}
.vrow p {
  font-size: 0.95rem;
  color: #b4bacb;
}
.vrow.win p {
  color: #dfe3ee;
}
.vrow .but {
  color: var(--pink);
  font-weight: 600;
}
@media (max-width: 640px) {
  .vrow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.contact .meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.contact .meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4em 0.9em;
  background: var(--glass);
}
form {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
}
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) {
  .frow {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
form .field + .field,
form .frow + .field {
  margin-top: 14px;
}
label {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
  letter-spacing: 0.06em;
}
input,
textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  padding: 0.72em 0.85em;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}
input::placeholder,
textarea::placeholder {
  color: #565d70;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--acc-1);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15);
}
textarea {
  resize: vertical;
  min-height: 96px;
}
form .btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
  padding: 0.8em;
}
#form-status {
  margin-top: 12px;
  font-size: 0.85rem;
  min-height: 1.2em;
  text-align: center;
}
#form-status.ok {
  color: #5b8cff;
}
#form-status.err {
  color: #ff9dc4;
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.foot-brand .cx-word {
  font-size: 2rem;
}
.foot-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-family: "Roboto Mono", monospace;
  margin-bottom: 14px;
}
.foot-col a {
  display: block;
  color: #b4bacb;
  font-size: 0.92rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--ink);
}
.foot-col .city {
  color: var(--muted);
  font-size: 0.86rem;
  padding-top: 6px;
}
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Ex-inline style="" attributes → classes (kept external so the whole
   stylesheet is a single same-origin file under style-src 'self'). */
.chip--product {
  color: #5b8cff;
}
.chip--ds {
  color: #e6337f;
}
.lede--tight {
  margin-top: 16px;
}
.mono--sm {
  font-size: 0.78rem;
}
/* Honeypot — visually removed, still filled by naive bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
