/* ===========================================================
   uny5 — landing page
   Brand: charcoal #2c2e33  ·  primary blue #1e88e5
   =========================================================== */

:root {
  --bg: #0b0f17;
  --bg-2: #0f1422;
  --surface: #ffffff;
  --ink: #14181f;
  --ink-2: #2c2e33;
  --muted: #5b6573;
  --line: #e6eaf0;
  --line-strong: #d6dde6;
  --soft: #f5f7fb;

  --brand: #1e88e5;
  --brand-2: #1565c0;
  --brand-3: #4ea7f0;
  --brand-glow: rgba(30, 136, 229, 0.35);

  --ok: #16a34a;
  --warn: #d97706;
  --danger: #dc2626;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.05);
  --shadow-md: 0 8px 30px rgba(20, 24, 31, 0.08);
  --shadow-lg: 0 30px 80px -20px rgba(20, 24, 31, 0.18), 0 8px 24px rgba(20, 24, 31, 0.06);

  --maxw: 1200px;
  --t: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: #fcfdff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
code { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }

::selection { background: var(--brand); color: white; }

/* ----------- Decorative layers ----------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 24, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 31, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 999px; filter: blur(80px); opacity: .55;
  will-change: transform;
}
.orb-a { width: 520px; height: 520px; background: radial-gradient(circle, #cfe4ff 0%, transparent 65%); top: -120px; left: -120px; }
.orb-b { width: 600px; height: 600px; background: radial-gradient(circle, #e2eaff 0%, transparent 65%); top: 320px; right: -180px; opacity: .5; }
.orb-c { width: 480px; height: 480px; background: radial-gradient(circle, #d8e8ff 0%, transparent 65%); top: 1200px; left: 30%; opacity: .4; }

/* ----------- NAV ----------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 36px);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  background: rgba(252, 253, 255, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--t), background .3s var(--t);
}
.nav.scrolled {
  background: rgba(252, 253, 255, 0.88);
  border-bottom-color: var(--line);
}
.nav-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nav-brand img { height: 28px; width: auto; }
.nav-links {
  display: flex; gap: 6px; margin-left: 8px; flex: 1;
}
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-weight: 500; font-size: 14.5px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-link-cta { display: none !important; } /* shown only inside the mobile drawer */
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-burger {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--line);
}
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------- BUTTONS ----------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; line-height: 1;
  transition: transform .15s var(--t), box-shadow .25s var(--t), background .2s, color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 15.5px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 6px 18px -4px var(--brand-glow), 0 1px 0 rgba(255,255,255,0.4) inset;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px var(--brand-glow), 0 1px 0 rgba(255,255,255,0.4) inset; }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--line-strong); background: var(--soft); }
.btn-link { color: var(--ink); padding-inline: 6px; }
.btn-link:hover { color: var(--brand); }
.btn-link::after { content: "→"; transition: transform .25s var(--t); }
.btn-link:hover::after { transform: translateX(4px); }

/* ----------- HERO ----------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 36px) 40px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px rgba(30,136,229,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(30,136,229,.18); } 50% { box-shadow: 0 0 0 8px rgba(30,136,229,.06); } }

.h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04; letter-spacing: -0.025em; font-weight: 700;
  color: var(--ink);
}
.grad {
  background: linear-gradient(120deg, var(--brand) 0%, #6cb6ff 50%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: shine 7s linear infinite;
}
@keyframes shine { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.lede {
  max-width: 560px; color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6;
}
.hero-ctas { display: flex; gap: 14px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.hero-meta {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; max-width: 520px;
}
.hero-meta li { padding-left: 14px; border-left: 2px solid var(--line); }
.hero-meta strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.hero-meta span { font-size: 12.5px; color: var(--muted); }

/* ----------- HERO VISUAL (device mock) ----------- */
.hero-visual { position: relative; perspective: 1400px; }
.device {
  position: relative; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateX(2deg) rotateY(-6deg);
  transition: transform .5s var(--t);
  will-change: transform;
}
.hero-visual:hover .device { transform: rotateX(0deg) rotateY(0deg); }
.device-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: linear-gradient(#fafbfd, #f3f5f9);
}
.device-bar > span { width: 10px; height: 10px; border-radius: 999px; background: #e3e7ee; }
.device-bar > span:nth-child(1) { background: #ff6058; }
.device-bar > span:nth-child(2) { background: #ffbf30; }
.device-bar > span:nth-child(3) { background: #2dca4e; }
.device-url {
  margin-left: 10px; padding: 4px 10px; font: 500 11.5px/1 'JetBrains Mono', monospace;
  color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px;
  flex: 1; max-width: 260px; text-align: center;
}
.device-body { display: grid; grid-template-columns: 168px 1fr; min-height: 360px; }
.device-side { padding: 14px; border-right: 1px solid var(--line); background: #fafbfd; }
.org { display: flex; gap: 10px; align-items: center; padding: 6px 8px; margin-bottom: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.org-logo { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.org-name { font-size: 12.5px; font-weight: 600; }
.org-sub { font-size: 11px; color: var(--muted); }
.side-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; border-radius: 8px; font-size: 12.5px; color: var(--muted);
  margin-bottom: 2px;
}
.side-item i { width: 14px; height: 14px; border-radius: 4px; background: #d6dde6; display: inline-block; }
.side-item.active { background: rgba(30,136,229,.08); color: var(--brand-2); font-weight: 600; }
.side-item.active i { background: var(--brand); }

.device-main { padding: 18px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.kpi-label { font-size: 11.5px; color: var(--muted); }
.kpi-value { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-top: 2px; }
.kpi-trend { font-size: 11.5px; font-weight: 600; margin-top: 4px; }
.kpi-trend.up { color: var(--ok); }
.kpi-trend.down { color: var(--danger); }

.chart { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.chart-title { font-size: 12.5px; font-weight: 600; }
.chart-legend { font-size: 11px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.chart-legend .dot { width: 8px; height: 8px; background: var(--brand); border-radius: 999px; display: inline-block; margin-right: 4px; }
.chart-legend .dot-2 { background: #9bb4d4; }
.chart-svg { width: 100%; height: 110px; }
.line-stroke, .line-stroke-2 { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.4s var(--t) forwards .5s; }
.line-stroke-2 { animation-delay: .9s; animation-duration: 2.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.rows { margin-top: 12px; display: grid; gap: 6px; }
.row {
  display: grid; grid-template-columns: 110px 1fr auto auto;
  align-items: center; gap: 12px; padding: 9px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  font-size: 12px;
}
.row-tag { font-family: 'JetBrains Mono', monospace; color: var(--muted); font-size: 11px; }
.row-name { font-weight: 600; color: var(--ink); }
.row-amt { font-weight: 600; }
.row-state { font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 600; }
.row-state.ok { background: rgba(22,163,74,.1); color: var(--ok); }
.row-state.warn { background: rgba(217,119,6,.1); color: var(--warn); }
.row-state.info { background: rgba(30,136,229,.1); color: var(--brand-2); }

.float-chip {
  position: absolute; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md); will-change: transform;
  animation: float 6s ease-in-out infinite;
}
.float-chip svg { color: var(--brand); }
.chip-a { top: -16px; left: -28px; animation-delay: 0s; }
.chip-b { bottom: -16px; right: -16px; animation-delay: 1.4s; }
.chip-c { top: 40%; left: -38px; animation-delay: 2.8s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ----------- HERO MARQUEE ----------- */
.hero-marquee {
  margin-top: clamp(40px, 7vw, 80px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 28px; padding: 14px 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-size: 14px; color: var(--muted); font-weight: 500;
}
.marquee-track span { display: inline-block; }
.marquee-track span:not(:nth-child(odd)) { color: var(--line-strong); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------- SECTION ----------- */
.section { padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 36px); }
.container { max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head.left { text-align: left; margin-inline: 0; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-2);
  padding: 5px 12px; border-radius: 999px; background: rgba(30,136,229,.08);
  margin-bottom: 16px;
}
.h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; margin: 0 0 14px; }
.section-sub { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); max-width: 620px; margin: 0 auto; }
.section-head.left .section-sub { margin-inline: 0; }

/* ----------- PILLARS ----------- */
.pillars { padding-top: clamp(40px, 7vw, 80px); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--t), box-shadow .3s var(--t), border-color .3s;
  overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(30,136,229,.08), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.pillar:hover::before { opacity: 1; }
.pillar-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--brand-2); margin-bottom: 8px; font-weight: 600; }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(30,136,229,.12), rgba(30,136,229,.04));
  color: var(--brand);
  margin-bottom: 16px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.pillar p { color: var(--muted); margin: 0; font-size: 14.5px; line-height: 1.6; }

/* ----------- MODULES ----------- */
.modules-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  perspective: 1200px;
}
.module {
  position: relative; padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer;
  transition: transform .35s var(--t), box-shadow .35s var(--t), border-color .3s;
  transform-style: preserve-3d;
  display: block;
}
.module::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(30,136,229,.0), rgba(30,136,229,.0));
  transition: background .35s;
}
.module:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand);
}
.module:hover::after { background: linear-gradient(135deg, rgba(30,136,229,.05), rgba(30,136,229,0)); }
.module-glyph {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--soft); color: var(--ink-2);
  display: grid; place-items: center; margin-bottom: 14px;
  transition: background .3s, color .3s;
}
.module:hover .module-glyph { background: rgba(30,136,229,.1); color: var(--brand); }
.module-glyph svg { width: 22px; height: 22px; }
.module h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.module p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.module-meta { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--brand-2); padding: 4px 10px; background: rgba(30,136,229,.08); border-radius: 999px; }

/* ----------- WHY (alternating rail) ----------- */
.why { background: linear-gradient(180deg, transparent 0%, #f7f9fc 50%, transparent 100%); }
.why-rail { display: grid; gap: clamp(50px, 7vw, 90px); }
.why-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.why-row.reverse { grid-template-columns: 1fr 1.1fr; }
.why-row.reverse .why-art { order: 2; }
.why-row.reverse .why-text { order: 1; }
.why-text h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.18; letter-spacing: -.015em; font-weight: 700; margin: 0 0 14px; }
.why-text p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 12px; max-width: 540px; }
.why-callout {
  padding: 16px 18px; border-left: 3px solid var(--brand); background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink) !important; font-weight: 500;
}
.why-art { position: relative; }
.art {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-md); position: relative;
  transition: transform .5s var(--t);
}
.why-row:hover .art { transform: translateY(-4px); }

/* art-update */
.art-update .art-window { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.art-tabs { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #fafbfd; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.art-tabs .dot { width: 8px; height: 8px; border-radius: 999px; background: #e3e7ee; }
.art-tabs span { margin-left: 8px; }
.art-update-body { padding: 16px; }
.ver { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; padding: 12px; background: var(--soft); border-radius: 10px; font-size: 12.5px; }
.ver b { font-size: 13px; }
.ver span { color: var(--muted); font-size: 12px; }
.ver .ok { color: var(--ok); }
.ver .arrow { color: var(--brand); font-size: 18px; }
.steps { margin: 16px 0; display: grid; gap: 6px; }
.step {
  position: relative; padding: 8px 12px 8px 30px; font-size: 13px;
  border-radius: 8px; color: var(--muted); background: #fff; border: 1px solid var(--line);
}
.step::before {
  content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 999px; border: 1.5px solid var(--line-strong);
}
.step.done { color: var(--ink); }
.step.done::before { background: var(--ok); border-color: var(--ok); }
.step.active { color: var(--ink); border-color: var(--brand); background: rgba(30,136,229,.05); }
.step.active::before { background: var(--brand); border-color: var(--brand); animation: stepPulse 1.4s ease-in-out infinite; }
@keyframes stepPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(30,136,229,.5); } 50% { box-shadow: 0 0 0 6px rgba(30,136,229,0); } }

/* art-org */
.art-org .org-card { display: grid; gap: 8px; }
.org-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .25s;
}
.org-row.active { border-color: var(--brand); background: rgba(30,136,229,.04); }
.org-row .og {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.org-row .og-2 { background: linear-gradient(135deg, #16a34a, #047857); }
.org-row .og-3 { background: linear-gradient(135deg, #d97706, #b45309); }
.org-row .og-4 { background: var(--soft); color: var(--muted); border: 1px dashed var(--line-strong); }
.org-row b { display: block; font-size: 14px; }
.org-row span { display: block; font-size: 12px; color: var(--muted); }
.org-row i { color: var(--brand); font-style: normal; font-weight: 700; }

/* art-audit */
.art-audit .audit-feed { display: grid; gap: 6px; max-height: 320px; overflow: hidden; mask-image: linear-gradient(180deg, #000 70%, transparent); }
.audit-line {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px;
  animation: slideIn .6s var(--t) backwards;
}
.audit-line:nth-child(1) { animation-delay: .1s; }
.audit-line:nth-child(2) { animation-delay: .25s; }
.audit-line:nth-child(3) { animation-delay: .4s; }
.audit-line:nth-child(4) { animation-delay: .55s; }
.audit-line:nth-child(5) { animation-delay: .7s; }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.audit-line .t { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); margin-right: 6px; vertical-align: middle; }
.audit-line .who { color: var(--brand-2); font-weight: 600; }
.audit-line em { color: var(--ink); font-style: normal; font-weight: 600; }
.audit-line .diff { color: var(--ok); }

/* art-doc */
.art-doc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.doc { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; min-height: 220px; }
.doc-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.doc-logo { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.doc-title b { font-size: 13px; }
.doc-title span { display: block; font-size: 11px; color: var(--muted); }
.doc-num { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--brand-2); padding: 4px 8px; background: rgba(30,136,229,.08); border-radius: 6px; }
.doc-rows { display: grid; gap: 8px; padding: 14px 0; }
.doc-rows > div { height: 8px; background: var(--soft); border-radius: 4px; }
.doc-rows > div:nth-child(2) { width: 80%; }
.doc-rows > div:nth-child(3) { width: 60%; }
.doc-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.doc-total b { color: var(--brand-2); }
.doc-controls { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.dc-row { display: flex; justify-content: space-between; padding: 8px 4px; font-size: 12px; }
.dc-row span { color: var(--muted); }
.dc-row b { font-family: 'JetBrains Mono', monospace; }
.dc-row.hl { background: #fff; border-radius: 6px; padding: 10px; margin-top: 6px; box-shadow: var(--shadow-sm); }
.dc-row.hl b { color: var(--brand-2); }

/* art-mobile */
.art-mobile { display: grid; place-items: center; min-height: 380px; }
.phone {
  width: 240px; height: 460px; background: #14181f; border-radius: 36px;
  padding: 10px; box-shadow: 0 30px 60px -15px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.05) inset;
  position: relative;
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; background: #14181f; border-radius: 999px; z-index: 2; }
.phone-screen { background: #fff; border-radius: 28px; height: 100%; overflow: hidden; padding: 30px 14px 14px; display: grid; gap: 10px; align-content: start; }
.phone-bar { display: flex; justify-content: flex-end; padding: 4px; font-size: 11px; color: var(--muted); }
.phone-card { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.phone-card.sm { padding: 12px; }
.pc-head { font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.pc-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 12.5px; border-bottom: 1px dashed var(--line); }
.pc-row:last-of-type { border: 0; }
.pc-row b { color: var(--ink); }
.pc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pc-btn { padding: 9px; border-radius: 8px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--ink); }
.pc-btn.approve { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.pc-bar { height: 6px; background: var(--soft); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.pc-bar i { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-3)); border-radius: 999px; animation: barFill 1.6s var(--t) backwards .4s; }
@keyframes barFill { from { width: 0; } }

/* ----------- TRUST ----------- */
.trust { background: #0b0f17; color: #d4dae4; position: relative; overflow: hidden; }
.trust::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(30,136,229,.18), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(30,136,229,.12), transparent 60%);
  pointer-events: none;
}
.trust .h2 { color: #fff; }
.trust .eyebrow { background: rgba(30,136,229,.14); color: #82baf2; }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative;
}
.trust-item {
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  padding: 20px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  transition: background .25s, border-color .25s, transform .25s;
}
.trust-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(30,136,229,.4); transform: translateY(-2px); }
.ti-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-style: normal; font-weight: 600; font-size: 12px;
  background: rgba(30,136,229,.18); color: #82baf2;
}
.trust-item b { display: block; font-size: 14.5px; color: #fff; margin-bottom: 4px; }
.trust-item span { font-size: 13.5px; color: #a3acba; line-height: 1.55; }
.trust-item code { color: #82baf2; }

/* ----------- TECH ----------- */
.tech-wrap { max-width: 880px; }
.tech-table {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.tr {
  display: grid; grid-template-columns: 220px 1fr;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.tr:last-child { border-bottom: 0; }
.tr:hover { background: var(--soft); }
.tk { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.tv { color: var(--muted); font-size: 14.5px; font-family: 'JetBrains Mono', monospace; }

/* ----------- CTA ----------- */
.cta { padding-bottom: clamp(80px, 12vw, 140px); }
.cta-wrap {
  position: relative; max-width: 880px;
  padding: clamp(40px, 6vw, 70px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0b0f17 0%, #1a2438 100%);
  color: #fff; overflow: hidden; text-align: center;
  box-shadow: 0 40px 80px -30px rgba(11,15,23,.4);
}
.cta-grad {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(30,136,229,.4), transparent 60%),
    radial-gradient(500px 250px at 0% 100%, rgba(30,136,229,.25), transparent 60%);
}
.cta-wrap .h2 { color: #fff; position: relative; }
.cta-wrap p { color: #c7d0dd; margin: 14px auto 32px; max-width: 560px; position: relative; }
.cta-form {
  position: relative; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px;
  max-width: 680px; margin: 0 auto;
}
.cta-form label { text-align: left; }
.cta-form span { display: block; font-size: 12px; color: #a3acba; margin-bottom: 6px; font-weight: 500; }
.cta-form input {
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 15px; font-family: inherit;
  transition: border-color .2s, background .2s;
}
.cta-form input:focus { outline: 0; border-color: var(--brand); background: rgba(255,255,255,.1); }
.cta-form input::placeholder { color: #6b7585; }
.cta-form button { align-self: end; }
.cta-thanks { grid-column: 1 / -1; padding: 14px; border-radius: 10px; background: rgba(22,163,74,.15); color: #4ade80; text-align: center; font-size: 14px; font-weight: 500; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .3s, max-height .3s, padding .3s, margin .3s; padding-block: 0; margin: 0; }
.cta-thanks.show { opacity: 1; max-height: 80px; padding: 14px; margin-top: 8px; }
.fineprint { font-size: 12.5px; color: #6b7585 !important; margin-top: 28px !important; }

/* ----------- FOOTER ----------- */
.footer { padding: 60px clamp(16px, 4vw, 36px) 24px; border-top: 1px solid var(--line); background: #fff; }
.footer-wrap { display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; line-height: 1.6; }
.iw-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 8px 14px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; color: var(--muted); font-weight: 500;
  transition: border-color .2s, color .2s, background .2s, transform .2s var(--t);
}
.iw-tag strong { color: var(--ink); font-weight: 600; }
.iw-tag svg { color: var(--muted); transition: transform .2s var(--t); }
.iw-tag:hover { border-color: var(--brand); color: var(--ink); background: #fff; transform: translateY(-1px); }
.iw-tag:hover svg { color: var(--brand); transform: translate(2px, -2px); }
.iw-link { color: var(--brand-2); font-weight: 500; transition: color .2s; }
.iw-link:hover { color: var(--brand); text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h5 { font-size: 13px; font-weight: 600; margin: 0 0 14px; color: var(--ink); letter-spacing: .05em; text-transform: uppercase; }
.footer-cols a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-cols a:hover { color: var(--brand-2); }
.footer-base { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: var(--muted); }
.ftr-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; }

/* ----------- REVEAL ANIM (only when JS is active) ----------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--t), transform .8s var(--t); }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ----------- RESPONSIVE ----------- */
@media (max-width: 1100px) {
  /* Floating chip-c overlaps the device sidebar between mobile and desktop — hide it there too */
  .chip-c { display: none; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 16px; max-width: 620px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-row, .why-row.reverse { grid-template-columns: 1fr; }
  .why-row.reverse .why-art { order: 0; }
  .why-row.reverse .why-text { order: 0; }
  .footer-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 880px) {
  /* Tablet & below — reduce nav clutter (logo + burger only) */
  .nav { gap: 12px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px; gap: 4px;
    box-shadow: 0 12px 24px -12px rgba(20,24,31,.12);
  }
  .nav.open .nav-links a {
    padding: 14px 18px; border-radius: 10px; font-size: 15px;
  }
  .nav.open .nav-link-cta {
    display: inline-flex !important; justify-content: center;
    margin-top: 6px; color: #fff !important;
  }
  .nav.open .nav-link-cta:hover { background: var(--brand-2) !important; }
}
@media (max-width: 720px) {
  .h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-meta { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .device-body { grid-template-columns: 1fr; }
  .device-side { display: flex; gap: 6px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .device-side .org { flex: 0 0 auto; }
  .side-item { white-space: nowrap; flex: 0 0 auto; }
  .float-chip { font-size: 11px; padding: 6px 10px; }
  .chip-a { left: 8px; top: -10px; }
  .chip-b { right: 8px; bottom: -10px; }
  .cta-form { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-base { flex-direction: column; gap: 8px; }
  .art-doc { grid-template-columns: 1fr; }
  .row { grid-template-columns: 90px 1fr auto; }
  .row .row-amt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
