/* UPLIXA PLUS — uplixaplus.com
   Brand: black #000 · deep blue #1565C0 · bright blue #29B6F6 · white
   Type: Montserrat (display, caps) + Inter (body). Self-hosted variable fonts. */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-raise: #06090e;
  --panel: #0a0e15;
  --panel-2: #0e131c;
  --line: #182131;
  --line-strong: #243146;
  --text: #ffffff;
  --text-2: #c3cad6;
  --muted: #8d97a8;
  --blue: #1565c0;
  --blue-bright: #29b6f6;
  --grad: linear-gradient(135deg, #1565c0 0%, #29b6f6 100%);
  --ok: #3ddc97;
  --warn: #ff8a65;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin: 0 0 18px;
}
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.6vw, 64px); }
h2 { font-size: clamp(30px, 4.4vw, 50px); }
h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 8px;
}
.hl { color: var(--blue-bright); }
.lede {
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--text-2);
  max-width: 600px;
  margin: 24px 0 0;
}
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p { color: var(--text-2); margin: 20px 0 0; font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 16px;
  padding: 15px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 30px -10px rgba(41, 182, 246, .55); }
.btn-primary:hover { background: #1976d2; box-shadow: 0 10px 34px -8px rgba(41, 182, 246, .7); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue-bright); }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(36, 49, 70, .55);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: auto; }
.wordmark {
  font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: .02em;
  line-height: 1; display: inline-flex; align-items: center; gap: 8px;
}
.wordmark .up { color: var(--blue-bright); }
.plus-tag {
  font-family: var(--body); font-weight: 600; font-size: 10.5px; letter-spacing: .2em;
  padding: 4px 7px 4px 8px; border-radius: 6px; color: #fff; background: var(--grad);
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: #fff; text-decoration: none; }
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .site-header .wrap { height: 60px; gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; }
  .wordmark { font-size: 17px; gap: 6px; }
  .plus-tag { font-size: 9.5px; padding: 3px 6px 3px 7px; }
  .site-header .btn-sm { padding: 9px 13px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 82% 18%, rgba(21, 101, 192, .34), transparent 70%),
    radial-gradient(520px 360px at 8% 92%, rgba(41, 182, 246, .10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(36, 49, 70, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 49, 70, .35) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 14.5px; display: flex; align-items: flex-start; gap: 10px; }
.hero-note .dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 151, .15); flex: none; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* Chat mock */
.chat {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgba(21, 101, 192, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  overflow: hidden;
}
.chat-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 16px;
  border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted);
}
.chat-bar i { width: 10px; height: 10px; border-radius: 50%; background: #1f2937; display: block; }
.chat-bar span { margin-left: 8px; }
.chat-body { padding: 20px; display: grid; gap: 14px; }
.msg { font-size: 15px; line-height: 1.55; }
.msg-user {
  justify-self: end; max-width: 86%;
  background: #16202f; border: 1px solid var(--line-strong);
  padding: 11px 14px; border-radius: 14px 14px 4px 14px; color: #fff;
}
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool {
  font-family: var(--mono); font-size: 12px; color: var(--blue-bright);
  background: rgba(41, 182, 246, .08); border: 1px solid rgba(41, 182, 246, .25);
  padding: 5px 9px; border-radius: 7px; display: inline-flex; align-items: center; gap: 7px;
}
.tool::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.msg-ai { color: var(--text-2); }
.msg-ai strong { color: #fff; font-weight: 600; }
.mini-table { width: 100%; border-collapse: collapse; margin: 12px 0 10px; font-size: 13.5px; }
.mini-table th, .mini-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mini-table th { color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.mini-table td { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-table td.neg { color: var(--warn); }
.mini-table td code { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
@media (max-width: 480px) {
  .chat-body { padding: 16px; }
  .mini-table th, .mini-table td { padding: 8px 6px; }
  .mini-table th { letter-spacing: .04em; }
}
.chat-foot { padding: 12px 20px 16px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Proof strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-raise); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block; font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1; letter-spacing: -.01em;
}
.stat span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 820px) {
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding: 22px 0; }
  .stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-raise); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 22px; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card .ico {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(21, 101, 192, .16); border: 1px solid rgba(41, 182, 246, .22);
  color: var(--blue-bright); margin-bottom: 18px;
}
.card .ico svg { width: 21px; height: 21px; }
.card .ask {
  font-size: 15px; color: #fff; margin: 0 0 14px; padding-left: 12px;
  border-left: 2px solid var(--blue-bright); line-height: 1.5;
}
.card .does { font-size: 14.5px; color: var(--muted); margin: auto 0 0; line-height: 1.55; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Split (memory) */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 110px; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
}
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.callout {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 22px 26px; position: relative; overflow: hidden;
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); }
.callout p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.callout .eg { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); font-style: italic; }
@media (max-width: 600px) { .callouts { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  background: linear-gradient(180deg, var(--panel), transparent);
}
.step .num {
  font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: .12em;
  color: var(--blue-bright); display: block; margin-bottom: 26px;
}
.step p { margin: 0; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Security list */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; margin: 0; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.checks svg { width: 22px; height: 22px; color: var(--blue-bright); margin-top: 2px; }
.checks h3 { font-size: 17px; margin-bottom: 6px; }
.checks p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.aud .tag { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-bright); }
.aud h3 { margin-top: 12px; font-size: 21px; }
.aud p { margin: 0; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

.built {
  margin-top: 56px; padding: 28px 30px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--bg-raise);
  display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap;
}
.built p { margin: 0; color: var(--text-2); max-width: 720px; }
.built strong { color: #fff; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue-bright); border-bottom: 2px solid var(--blue-bright);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--text-2); max-width: 760px; }

/* Final CTA */
.cta-band { padding: clamp(72px, 10vw, 120px) 0; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 360px at 50% 100%, rgba(21, 101, 192, .38), transparent 70%);
}
.cta-band .wrap { position: relative; text-align: center; }
.cta-band p { color: var(--text-2); max-width: 560px; margin: 22px auto 34px; font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--muted); font-size: 14px; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { color: var(--text-2); }
.site-footer .legal { margin-top: 28px; font-size: 12.5px; line-height: 1.6; max-width: 880px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 24px; }
.access-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 8vw, 104px); }
.access-grid aside { position: sticky; top: 100px; }
.next-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; color: var(--text-2); font-size: 15.5px; }
.next-steps b {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--blue-bright);
  background: rgba(21, 101, 192, .16); border: 1px solid rgba(41, 182, 246, .22);
}
.next-steps strong { color: #fff; display: block; font-weight: 600; }
.form-shell {
  background: var(--bg-raise); border: 1px solid var(--line-strong); border-radius: 18px;
  padding: clamp(18px, 3vw, 32px);
}
.form-shell iframe { width: 100%; border: 0; min-height: 900px; display: block; }
.form-fallback { margin-top: 16px; color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
  .access-grid { grid-template-columns: 1fr; }
  .access-grid aside { position: static; }
}

.prose { max-width: 760px; padding-bottom: clamp(64px, 8vw, 104px); }
.prose h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 48px 0 14px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-top: 18px; }
