/* ============================================================
   RESOVA IQ — Marketing site stylesheet
   Brand tokens from the official Resova iQ logo package + site components.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@700&display=swap');

:root {
  /* --- Brand (official Resova iQ logo package) --- */
  --sky:        #6FC8DA;   /* sunrise cyan */
  --azure:      #00A5E4;   /* portal cyan — primary */
  --deep:       #1A6B8A;   /* deep teal */
  --azure-text-top: #8FDCEC;
  --azure-text-bot: #1488C8;
  --resova-navy: #16384A;  /* wordmark navy */

  /* orb radial highlight */
  --orb-core:   #D4F1FA;
  --orb-mid:    #6FC8DA;
  --orb-edge:   #1A6B8A;

  /* gradients (tweakable) */
  --grad-azure: linear-gradient(180deg, var(--sky) 0%, var(--azure) 55%, var(--deep) 100%);
  --grad-text:  linear-gradient(180deg, var(--azure-text-top) 0%, var(--azure-text-bot) 100%);
  --grad-orb:   radial-gradient(circle at 50% 42%, var(--orb-core) 0%, var(--orb-mid) 35%, var(--orb-edge) 100%);
  --glow-strength: .32;

  /* --- Ink / dark --- */
  --ink:        #10161C;
  --ink-900:    #0B0F14;
  --ink-800:    #161D26;
  --ink-700:    #1F2935;
  --ink-line:   #283340;

  /* --- Neutrals (light pages) --- */
  --paper:      #FFFFFF;
  --paper-2:    #F5F8FB;
  --paper-3:    #EBF1F7;
  --line:       #E1E8EF;
  --line-2:     #CFD9E3;
  --text:       #10161C;
  --muted:      #5C6B7A;
  --muted-2:    #8A98A6;

  /* --- Semantic --- */
  --success:    #2D7A4F;
  --success-bg: #DBF3E5;
  --warning:    #92400E;
  --warning-bg: #FBEBC8;
  --error:      #C0392B;
  --error-bg:   #FBE3DF;

  /* --- Type --- */
  --font-display: 'Montserrat', 'Arial Black', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --font-wordmark: 'PT Serif', Georgia, serif;

  /* radius / shadow */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(8,24,38,.06);
  --shadow:    0 12px 30px rgba(8,24,38,.10);
  --shadow-lg: 0 30px 70px rgba(8,24,38,.18);

  --maxw: 1180px;
  --nav-h: 70px;
  --sec-scale: 1;   /* density tweak multiplier */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--deep); text-decoration: none; }
::selection { background: rgba(30,156,215,.22); }

/* ---------- layout ---------- */
/* Horizontal gutter uses padding-inline ONLY so it never clobbers the
   vertical padding of elements that also carry .wrap (e.g. .hero-in). */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.section { padding: calc(112px * var(--sec-scale)) 0; }
.section--tight { padding: calc(78px * var(--sec-scale)) 0; }
.section--alt { background: var(--paper-2); }
.dark { background: var(--ink); color: #EAF1F8; }
.dark .muted { color: #93A6B8; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--azure);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow.center { justify-content: center; }
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--grad-azure);
  border-radius: 2px;
}
.dark .eyebrow { color: var(--sky); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.015em; line-height: 1.05; margin: 0; }
.h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 20px; }
.h3 { font-size: clamp(23px, 2.6vw, 30px); }
.lead { font-size: 20px; color: var(--muted); max-width: 60ch; line-height: 1.6; }
.dark .lead { color: #A9BBCC; }
.center { text-align: center; }
.center .lead, .center.lead { margin-left: auto; margin-right: auto; }
.mono { font-family: var(--font-mono); }

.section-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted-2);
  margin: 0 0 14px;
}

/* ---------- logo lockup ---------- */
.iqmark { display: inline-block; line-height: 0; }
.iqmark svg { display: block; height: 100%; width: auto; aspect-ratio: 1 / 1; }
.lockup { display: inline-flex; align-items: center; gap: .5em; }
.lockup .iqmark { height: 1.7em; }
.wm { display: inline-flex; flex-direction: column; gap: .16em; line-height: 1; }
.wm-row { font-family: var(--font-wordmark); font-weight: 700; font-size: 1em; letter-spacing: .01em; white-space: nowrap; }
.wm-sub { font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .26em; font-size: clamp(7.5px, .34em, 15px); white-space: nowrap; }
.wm-light .wm-row .resova { color: #fff; }
.wm-light .wm-row .iq { color: var(--azure); }
.wm-light .wm-sub { color: #8b9099; }
.wm-dark .wm-row .resova { color: var(--resova-navy); }
.wm-dark .wm-row .iq { color: var(--deep); }
.wm-dark .wm-sub { color: #7c8593; }

/* ---------- top nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.nav:not(.scrolled) .nav-brand,
.nav:not(.scrolled) .nav-links a:not(.nav-cta) { text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.nav::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,16,24,.55), rgba(8,16,24,0));
  opacity: 1; transition: opacity .25s ease; }
.nav.scrolled { background: rgba(11,15,20,.82);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--ink-line); }
.nav.scrolled::before { opacity: 0; }
.nav-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-brand .lockup { font-size: 19px; }
.nav-brand .by { font-size: 11px; color: #6E8298; letter-spacing: .04em; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a { color: #9FB3C6; font-size: 14.5px; font-weight: 500; transition: color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--sky); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { color: #fff; }
.nav-cta { margin-left: 4px; }
.nav-burger { display: none; background: none; border: 0; color: #cfe0ee; cursor: pointer; padding: 10px; margin-right: -8px; line-height: 0; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border: 0; border-radius: var(--r-sm); padding: 13px 24px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  letter-spacing: .005em; text-decoration: none;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-azure); color: #fff; box-shadow: 0 8px 20px rgba(11,111,168,.32); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(11,111,168,.42); transform: translateY(-1px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--ink-700); }
.btn-outline { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--azure); color: var(--azure); }
.btn-ghost { background: var(--paper-2); color: var(--text); }
.btn-ghost:hover { background: var(--paper-3); }
.btn-sm { padding: 9px 17px; font-size: 13.5px; }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.dark .btn-outline { color: #EAF1F8; box-shadow: inset 0 0 0 1.5px var(--ink-line); }
.dark .btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--sky); color: var(--sky); }

/* ---------- badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .01em; }
.badge-azure { background: rgba(30,156,215,.12); color: var(--deep); }
.badge-soft { background: var(--paper-3); color: var(--muted); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-error { background: var(--error-bg); color: var(--error); }
.dark .badge-soft { background: var(--ink-700); color: #9FB3C6; }

/* ---------- pill chips (feature tags) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-weight: 600; font-size: 15px; box-shadow: var(--shadow-sm); }
.chip .ci { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(30,156,215,.12); color: var(--deep); }
.chip .ci svg { width: 17px; height: 17px; }
.dark .chip { background: var(--ink-800); border-color: var(--ink-line); color: #EAF1F8; }
.dark .chip .ci { background: rgba(94,201,242,.16); color: var(--sky); }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3 { grid-template-columns: 1fr; } }

/* feature tile (icon + heading + copy) */
.feature { padding: 34px; border-radius: var(--r-lg); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature .ftile { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(30,156,215,.12); color: var(--deep); margin-bottom: 22px; }
.feature .ftile svg { width: 26px; height: 26px; }
.feature h3 { font-size: 22px; margin-bottom: 12px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; line-height: 1.6; }

/* ---------- stat row ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { padding: 8px 30px; }
.stat:not(:last-child) { border-right: 1px solid var(--line); }
.dark .stat:not(:last-child) { border-right-color: var(--ink-line); }
.stat .k { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 58px);
  line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .v { font-weight: 600; color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.dark .stat .v { color: #9FB3C6; }

/* ---------- testimonial ---------- */
.quote { padding: 32px; border-radius: var(--r-lg); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote .stars { color: var(--azure); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.quote .qt { font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--text); margin: 0 0 22px; }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-azure); color: #fff; font-weight: 700; font-family: var(--font-display); font-size: 16px; }
.quote .nm { font-weight: 700; font-size: 15px; }
.quote .rl { font-size: 13px; color: var(--muted-2); }
.dark .quote { background: var(--ink-800); border-color: var(--ink-line); }
.dark .quote .qt { color: #EAF1F8; }
.dark .quote .nm { color: #fff; }

/* ---------- inputs ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.input, .textarea {
  font-family: var(--font-body); font-size: 15.5px; width: 100%;
  padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: var(--paper); color: var(--text);
  transition: border .15s ease, box-shadow .15s ease;
}
.textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.input:focus, .textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(30,156,215,.22); }
select.input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231e9cd7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select.input:invalid { color: var(--muted); }
.field .opt { color: var(--muted-2, var(--muted)); font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-fineprint { font-size: 12.5px; color: var(--muted); margin: -4px 0 0; line-height: 1.5; }

/* ---------- email capture row ---------- */
.capture { display: flex; gap: 10px; max-width: 460px; }
.capture .input { flex: 1; }
@media (max-width: 520px) { .capture { flex-direction: column; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero.dark { background: var(--ink); }
.hero-glow { position: absolute; pointer-events: none;
  width: 760px; height: 760px; border-radius: 50%; top: -260px; right: -160px;
  background: radial-gradient(circle, rgba(30,156,215,var(--glow-strength)), rgba(30,156,215,0) 62%); }
.hero-glow.two { top: auto; bottom: -360px; right: auto; left: -200px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(94,201,242,calc(var(--glow-strength) * .6)), transparent 64%); }
.hero-in { position: relative; padding-top: calc(118px * var(--sec-scale)); padding-bottom: calc(104px * var(--sec-scale)); }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 24px; font-size: 21px; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero.light { background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%); }
.hero.light .eyebrow { color: var(--azure); }

/* split hero (text + media slot) */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: stretch; }
.hero-split > * { min-width: 0; }  /* allow columns to shrink to fit instead of forcing mock min-content width */
.hero-split .featrow-media { display: flex; }
.hero-split .media { width: 100%; min-height: 340px; }
@media (max-width: 1024px) { .hero-split { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .hero-split .featrow-media { display: block; } }

/* ---------- media slots ---------- */
.media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ink-line);
  box-shadow: var(--shadow-lg); background: var(--ink-800); }
.media-light { border-color: var(--line); background: var(--paper-2); }
image-slot { display: block; width: 100%; }

/* alternating media+text rows */
.featrow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.featrow > * { min-width: 0; }  /* shrink to fit; mocks don't force track open */
.featrow.flip .featrow-media { order: -1; }
.featrow-text h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.featrow-text p { color: var(--muted); font-size: 17.5px; margin: 0; }
@media (max-width: 880px) { .featrow { grid-template-columns: 1fr; gap: 30px; }
  .featrow.flip .featrow-media { order: 0; } }

/* ---------- big statement ---------- */
.statement { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; max-width: 18ch; }
.statement .hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--ink); padding: clamp(48px, 6vw, 76px); text-align: center; }
.ctaband .hero-glow { top: -200px; left: 50%; right: auto; transform: translateX(-50%); }
.ctaband h2 { color: #fff; position: relative; }
.ctaband p { color: #A9BBCC; position: relative; max-width: 52ch; margin: 18px auto 30px; font-size: 19px; }
.ctaband .actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- accordion (FAQ) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--text);
  padding: 26px 44px 26px 0; position: relative; display: block; }
.acc-q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px;
  margin-top: -7px; background-size: contain; background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E9CD7' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  transition: transform .2s ease; }
.acc-item.open .acc-q::after { transform: rotate(180deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a p { margin: 0 0 26px; color: var(--muted); font-size: 16.5px; line-height: 1.6; max-width: 64ch; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 22px; }
.member { text-align: center; }
.member image-slot { width: 100%; aspect-ratio: 1; margin-bottom: 16px; }
.member .nm { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.member .rl { font-size: 13.5px; color: var(--azure); margin-top: 3px; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post image-slot { width: 100%; aspect-ratio: 16/10; }
.post .pbody { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post .ptag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--azure); margin-bottom: 12px; }
.post .ph { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; margin: 0 0 10px; color: var(--text); }
.post .pd { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.post .pmeta { margin-top: auto; font-size: 13px; color: var(--muted-2); font-family: var(--font-mono); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* ---------- legal / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.legal-meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2);
  padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }

/* ---------- article / blog post ---------- */
.article-back { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--sky); font-weight: 600; margin-bottom: 16px; }
.article-back svg { width: 16px; height: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; font-family: var(--font-mono); font-size: 13px; color: #9FB3C6; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #5C6B7A; }
.prose .lede { font-size: 19px; color: var(--text); line-height: 1.6; margin-bottom: 22px; }
.prose .callout { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--azure);
  border-radius: var(--r); padding: 18px 22px; margin: 30px 0; }
.prose .callout p { margin: 0; color: var(--text); font-size: 16px; }
.prose h2 .num { color: var(--azure); font-family: var(--font-mono); font-size: 19px; margin-right: 12px; }

/* ---------- contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-card { padding: 36px; }
.contact-detail { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: 0; }
.contact-detail .ci { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(30,156,215,.12); color: var(--deep); }
.contact-detail .ci svg { width: 20px; height: 20px; }
.contact-detail .cd-k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.contact-detail .cd-v { font-size: 15.5px; color: var(--text); line-height: 1.5; }
.contact-detail a.cd-v { color: var(--deep); font-weight: 600; }

/* ---------- footer ---------- */
.foot { background: var(--ink-900); color: #B9C9D8; padding: 72px 0 36px; border-top: 1px solid var(--ink-line); }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .lockup { font-size: 21px; }
.foot-tag { font-family: var(--font-display); font-weight: 600; color: var(--sky); margin: 18px 0 14px; font-size: 15px; letter-spacing: .01em; }
.foot-addr { font-size: 13.5px; color: #7E92A6; line-height: 1.6; max-width: 34ch; }
.foot-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #6E8298; margin-bottom: 16px; }
.foot-col a { display: block; color: #B9C9D8; font-size: 14.5px; padding: 8px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--ink-line); flex-wrap: wrap; }
.foot-fine { font-size: 12.5px; color: #5C6B7A; font-family: var(--font-mono); margin: 0; }
.foot-legal { display: flex; gap: 20px; }
.foot-legal a { font-size: 12.5px; color: #6E8298; }
.foot-legal a:hover { color: #9FB3C6; }
.foot-disclaimer { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ink-line);
  font-size: 12.5px; line-height: 1.6; color: #6E8298; max-width: 92ch; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- mock product UI (placeholder "screenshots") ---------- */
.mockwin { width: 100%; height: 100%; background: var(--ink-800); display: flex; flex-direction: column;
  font-family: var(--font-body); }
.mockwin-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--ink-700);
  border-bottom: 1px solid var(--ink-line); flex-shrink: 0; }
.mockwin-bar i { width: 10px; height: 10px; border-radius: 50%; background: #33414f; display: block; }
.mockwin-bar .u { margin-left: 14px; font-family: var(--font-mono); font-size: 11px; color: #7E92A6;
  background: var(--ink); padding: 4px 12px; border-radius: 6px; }
.mockwin-body { flex: 1; display: flex; min-height: 0; }
.mock-rail { width: 52px; background: var(--ink-900); border-right: 1px solid var(--ink-line);
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; flex-shrink: 0; }
.mock-rail span { width: 22px; height: 22px; border-radius: 7px; background: var(--ink-700); color: #5C6B7A;
  display: grid; place-items: center; }
.mock-rail span svg { width: 14px; height: 14px; }
.mock-rail span.on { background: rgba(30,156,215,.18); color: var(--sky); }
.mock-main { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 13px; min-width: 0;
  color: #C4D3E0; }
.mock-h { display: flex; align-items: center; justify-content: space-between; }
.mock-h .t { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #EAF1F8; }
.mock-pill { font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(30,156,215,.16); color: var(--sky); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { background: var(--ink-700); border: 1px solid var(--ink-line); border-radius: 10px; padding: 11px 12px; }
.mock-stat .v { font-family: var(--font-display); font-weight: 800; font-size: 18px;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mock-stat .k { font-size: 9px; color: #7E92A6; margin-top: 3px; letter-spacing: .05em; text-transform: uppercase; }
.mock-chart { flex: 1; background: var(--ink-700); border: 1px solid var(--ink-line); border-radius: 10px;
  padding: 14px; display: flex; align-items: flex-end; gap: 7px; min-height: 96px; }
.mock-chart i { flex: 1; border-radius: 4px 4px 0 0; background: var(--grad-azure); opacity: .9; display: block; }
.mock-rows { display: flex; flex-direction: column; gap: 7px; }
.mock-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  background: var(--ink-700); border: 1px solid var(--ink-line); border-radius: 9px; padding: 9px 12px; font-size: 11px; }
.mock-row .id { font-family: var(--font-mono); color: #C4D3E0; }
.mock-row .amt { font-family: var(--font-mono); color: #EAF1F8; }
.mock-tag { font-size: 9px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.mt-paid { background: var(--success-bg); color: var(--success); }
.mt-pend { background: var(--warning-bg); color: var(--warning); }
.mt-deny { background: var(--error-bg); color: var(--error); }
.mock-rec { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #C4D3E0; }
.mock-rec b { width: 9px; height: 9px; border-radius: 50%; background: var(--error); display: block;
  box-shadow: 0 0 0 0 rgba(192,57,43,.5); animation: mockpulse 1.6s ease-out infinite; }
@keyframes mockpulse { to { box-shadow: 0 0 0 7px rgba(192,57,43,0); } }
@media (prefers-reduced-motion: reduce) { .mock-rec b { animation: none; } }
.mock-wave { display: flex; align-items: center; gap: 3px; height: 44px; padding: 4px 0;
  background: var(--ink-700); border: 1px solid var(--ink-line); border-radius: 10px; justify-content: center; }
.mock-wave i { width: 3px; border-radius: 2px; background: var(--sky); opacity: .85; display: block; }
.mock-note { display: flex; flex-direction: column; gap: 8px; }
.mock-line { height: 7px; border-radius: 4px; background: var(--ink-700); }
.mock-line.s { width: 38%; height: 9px; background: rgba(30,156,215,.34); }
.mock-line.m { width: 72%; }
.mock-line.l { width: 92%; }

/* ---------- blog cover graphic ---------- */
.blog-cover { width: 100%; aspect-ratio: 16/10; position: relative; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--deep) 0%, #0e2230 58%, var(--ink) 100%); }
.blog-cover::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(125% 95% at 82% 8%, rgba(0,165,228,.30), transparent 60%); }
.blog-cover .ci { position: relative; z-index: 1; width: 66px; height: 66px; border-radius: 17px;
  display: grid; place-items: center; color: var(--sky);
  background: rgba(255,255,255,.06); border: 1px solid rgba(94,201,242,.28); }
.blog-cover .ci svg { width: 30px; height: 30px; }
.cover-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.cover-badge { position: absolute; left: 16px; bottom: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; color: var(--sky);
  background: rgba(255,255,255,.07); border: 1px solid rgba(94,201,242,.30); }
.cover-badge svg { width: 21px; height: 21px; }

/* ---------- real product screenshot in a media frame ---------- */
.shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ---------- avatar (monogram placeholder) ---------- */
.avatar-mock { width: 100%; aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center;
  margin-bottom: 16px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--azure), var(--deep)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.avatar-mock::before { content: ""; position: absolute; width: 130%; height: 130%; left: -40%; top: -55%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%); }
.avatar-mock .mono { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 30px;
  color: #fff; letter-spacing: .02em; }

/* ---------- product snippet (mirrors the real Resova iQ portal) ---------- */
.appsnip { width: 100%; height: 100%; background: #0b0f14; color: #C4D3E0; display: flex; flex-direction: column;
  font-family: var(--font-body); overflow: hidden; }
.appsnip-top { display: flex; align-items: center; gap: 10px; padding: 11px 15px; background: #0e141a;
  border-bottom: 1px solid var(--ink-line); flex-shrink: 0; }
.appsnip-top .mk { width: 17px; height: 17px; flex-shrink: 0; }
.appsnip-top .bc { font-size: 11px; color: #7E92A6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appsnip-top .bc b { color: #EAF1F8; font-weight: 700; font-family: var(--font-wordmark); }
.appsnip-top .bc .sep { margin: 0 6px; opacity: .5; }
.appsnip-top .right { margin-left: auto; display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.appsnip-top .srch { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: #7E92A6;
  background: #0b0f14; border: 1px solid var(--ink-line); border-radius: 7px; padding: 4px 9px; }
.appsnip-top .srch kbd { font-family: var(--font-mono); font-size: 9px; background: var(--ink-700);
  padding: 1px 4px; border-radius: 4px; color: #8FA6BA; }
.appsnip-top .ava { width: 21px; height: 21px; border-radius: 50%; background: var(--grad-azure);
  display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #fff; }
.appsnip-body { flex: 1; padding: 15px 17px; display: flex; flex-direction: column; gap: 11px;
  min-height: 0; overflow: hidden; }

.snip-hello { border-radius: 12px; padding: 13px 15px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; background: linear-gradient(110deg, var(--deep), var(--azure)); }
.snip-hello .h { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; }
.snip-hello .d { font-size: 10px; color: rgba(255,255,255,.85); margin-top: 2px; }
.snip-hello .b { font-size: 10px; font-weight: 700; color: #0b0f14; background: #fff; padding: 6px 11px;
  border-radius: 7px; white-space: nowrap; }

.snip-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.snip-metric { background: #0e141a; border: 1px solid var(--ink-line); border-radius: 10px; padding: 10px 11px; }
.snip-metric .k { font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #7E92A6; }
.snip-metric .v { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: #EAF1F8; margin-top: 5px; line-height: 1; }
.snip-metric .v.az { color: var(--azure); }

.snip-panel { background: #0e141a; border: 1px solid var(--ink-line); border-radius: 10px; padding: 12px 14px;
  flex: 1; min-height: 0; }
.snip-panel .ph { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.snip-panel .ph .t { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: #EAF1F8; }
.snip-panel .ph .more { font-size: 10px; color: var(--azure); }
.snip-kv { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 11px;
  border-top: 1px solid rgba(40,51,64,.5); }
.snip-kv:first-child { border-top: 0; }
.snip-kv .n { color: #A9BBCC; }
.snip-kv .x { font-family: var(--font-mono); color: #EAF1F8; }

/* provider dashboard — appointment rows */
.snip-appt { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-top: 1px solid rgba(40,51,64,.5); }
.snip-appt:first-of-type { border-top: 0; padding-top: 4px; }
.ap-who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ap-pic { width: 27px; height: 27px; border-radius: 8px; flex: none; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: #EAF1F8; background: linear-gradient(180deg, #0f8fb2, #04556d); }
.ap-info { display: flex; flex-direction: column; min-width: 0; }
.ap-info b { font-size: 11.5px; color: #EAF1F8; font-weight: 600; line-height: 1.2; }
.ap-info small { font-size: 9.5px; color: #7E92A6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ap-cta { flex: none; font-size: 9.5px; font-weight: 700; padding: 6px 11px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ap-cta.rec { background: rgba(0,165,228,.13); color: var(--sky); border: 1px solid rgba(94,201,242,.3); }
.ap-cta.view { background: linear-gradient(180deg, #04708f, #01232d); color: #d7f5fe; }
.ap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: apPulse 1.8s infinite; }
@keyframes apPulse { 0% { box-shadow: 0 0 0 0 rgba(94,201,242,.55); } 70% { box-shadow: 0 0 0 5px rgba(94,201,242,0); } 100% { box-shadow: 0 0 0 0 rgba(94,201,242,0); } }

/* hero recorder strip + medication-safety card */
.snip-rechdr { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.snip-rechdr .rl { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; color: #EAF1F8; white-space: nowrap; }
.snip-recdot { width: 7px; height: 7px; border-radius: 50%; background: #ff5a52; flex: none; animation: recPulse 1.4s infinite; }
@keyframes recPulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,82,.6); } 70% { box-shadow: 0 0 0 5px rgba(255,90,82,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,82,0); } }
.snip-rechdr .rp { font-size: 9.5px; color: #7E92A6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.snip-rechdr .rt { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--sky); flex: none; }
.snip-grow { flex: 1; min-height: 0; }
.mg-hdr { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.mg-ic { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex: none;
  background: rgba(45,122,79,.2); color: #5fcf8e; }
.mg-ic svg { width: 13px; height: 13px; }
.mg-t { font-family: var(--font-display); font-weight: 700; font-size: 12px; color: #EAF1F8; }
.mg-tag { margin-left: auto; font-size: 8.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--success-bg); color: var(--success); }
.mg-rx { font-size: 10.5px; color: #C4D3E0; margin-bottom: 4px; }
.mg-rx b { color: #EAF1F8; font-family: var(--font-mono); }
.mg-ic.blue { background: rgba(0,165,228,.16); color: var(--sky); }
.mg-tag.blue { background: rgba(0,165,228,.16); color: var(--azure); }
.mg-codes { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.code-chip { font-family: var(--font-mono); font-size: 9px; font-weight: 600; padding: 3px 8px; border-radius: 6px;
  background: rgba(0,165,228,.12); color: var(--sky); border: 1px solid rgba(94,201,242,.25); }

.snip-claimhdr { font-size: 11px; color: #8FA6BA; }
.snip-claimhdr b { color: #EAF1F8; font-family: var(--font-display); font-size: 14px; display: block; margin-bottom: 2px; }
.snip-tabs { display: flex; gap: 6px; margin: 8px 0 2px; }
.snip-tab { font-size: 10px; padding: 4px 9px; border-radius: 6px; color: #8FA6BA; background: #0e141a; }
.snip-tab.on { background: rgba(0,165,228,.14); color: var(--azure); }
.snip-table { display: flex; flex-direction: column; }
.snip-trow { display: grid; grid-template-columns: 1.5fr 1fr .7fr .8fr auto; align-items: center; gap: 10px;
  padding: 8px 2px; border-top: 1px solid rgba(40,51,64,.5); font-size: 10.5px; }
.snip-trow.hd { color: #5d6f82; font-size: 8px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; border-top: 0; }
.snip-trow .pt { color: #EAF1F8; font-weight: 600; }
.snip-trow .pt small { display: block; color: #7E92A6; font-weight: 400; font-family: var(--font-mono);
  font-size: 8px; margin-top: 1px; }
.snip-trow .py { color: #A9BBCC; }
.snip-trow .cpt { font-family: var(--font-mono); color: #C4D3E0; }
.snip-trow .amt { font-family: var(--font-mono); color: #EAF1F8; }

.snip-enchdr { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.snip-enchdr .nm { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #EAF1F8; }
.snip-enchdr .meta { font-family: var(--font-mono); font-size: 9px; color: #7E92A6; }
.snip-wave { display: flex; align-items: center; gap: 2.5px; height: 32px; padding: 0 10px; background: #0e141a;
  border: 1px solid var(--ink-line); border-radius: 9px; }
.snip-wave i { width: 2.5px; border-radius: 2px; background: var(--azure); opacity: .8; display: block; }
.snip-wave .tc { margin-left: auto; font-family: var(--font-mono); font-size: 9px; color: #7E92A6; white-space: nowrap; }
.snip-aibanner { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #A9BBCC;
  background: rgba(0,165,228,.1); border: 1px solid rgba(0,165,228,.22); border-radius: 8px; padding: 8px 10px; }
.snip-aibanner svg { width: 13px; height: 13px; color: var(--azure); flex-shrink: 0; }
.snip-sec { background: #0e141a; border: 1px solid var(--ink-line); border-radius: 9px; padding: 10px 12px; }
.snip-sec .st { font-size: 8.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #7E92A6; margin-bottom: 5px; }
.snip-sec p { margin: 0; font-size: 10.5px; color: #C4D3E0; line-height: 1.5; }

.snip-tag { font-size: 8.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.st-paid { background: var(--success-bg); color: var(--success); }
.st-pend { background: var(--warning-bg); color: var(--warning); }
.st-need { background: var(--error-bg); color: var(--error); }
.st-ok { background: rgba(0,165,228,.16); color: var(--azure); }

/* ---------- case study ---------- */
.client-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 16px;
  padding: 20px 28px; box-shadow: 0 14px 34px rgba(8,24,38,.22); }
.client-chip img { height: 44px; width: auto; display: block; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba-card { border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); }
.ba-card.before { background: var(--paper-2); }
.ba-card.after { background: var(--ink); border-color: var(--ink-line); }
.ba-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px; }
.ba-card.after h4 { color: #7E92A6; }
.ba-card ul { margin: 0; padding-left: 20px; }
.ba-card li { margin-bottom: 11px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.ba-card.after li { color: #A9BBCC; }
.ba-card li:last-child { margin-bottom: 0; }
.ba-card li b { color: var(--text); }
.ba-card.after li b { color: #EAF1F8; }
@media (max-width: 680px) { .ba { grid-template-columns: 1fr; } }
.client-logo img { height: 50px; width: auto; display: block; }
.cs-cite { text-align: center; margin-top: 30px; }
.cs-rule { display: block; width: 42px; height: 3px; border-radius: 2px; background: var(--grad-azure); margin: 0 auto 18px; }
.cs-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text); letter-spacing: -.01em; }
.cs-role { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- platform pillars / funnel ---------- */
.funnel { margin-top: 52px; text-align: center; padding: clamp(28px, 4vw, 40px); border-radius: var(--r-xl);
  background: var(--paper-2); border: 1px solid var(--line); }
.funnel-lead { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.6vw, 27px);
  color: var(--text); display: block; margin-bottom: 22px; letter-spacing: -.01em; }
.funnel-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- infrastructure / pipeline ---------- */
.pipeline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.pstage { background: var(--ink-800); border: 1px solid var(--ink-line); border-radius: 12px;
  padding: 13px 16px; text-align: center; min-width: 124px; }
.pstage .pn { display: block; font-weight: 700; font-size: 14px; color: #EAF1F8; }
.pstage .pd { display: block; font-family: var(--font-mono); font-size: 10px; color: #7E92A6;
  margin-top: 4px; letter-spacing: .02em; }
.parr { color: var(--azure); display: inline-flex; align-items: center; }
.parr svg { width: 18px; height: 18px; }
.ploop { margin-top: 20px; text-align: center; font-family: var(--font-mono); font-size: 12.5px;
  color: var(--sky); display: flex; align-items: center; justify-content: center; gap: 8px; }
.ploop svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .pipeline { flex-direction: column; } .parr { transform: rotate(90deg); } }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { background: var(--ink-800); border: 1px solid var(--ink-line); border-radius: var(--r-lg); padding: 26px; }
.tcard .ti { width: 46px; height: 46px; border-radius: 12px; background: rgba(0,165,228,.14); color: var(--sky);
  display: grid; place-items: center; margin-bottom: 16px; }
.tcard .ti svg { width: 22px; height: 22px; }
.tcard h3 { font-size: 18px; color: #EAF1F8; margin-bottom: 9px; }
.tcard p { color: #9FB3C6; font-size: 15px; margin: 0; line-height: 1.55; }
.tcard .tag { font-family: var(--font-mono); font-size: 11px; color: var(--sky); letter-spacing: .03em;
  margin-top: 14px; display: block; }

/* ---------- architecture: core & edge ---------- */
.arch-engine { margin-top: 6px; }
.arch-core {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(0,165,228,.13), rgba(26,107,138,.08));
  border: 1px solid rgba(94,201,242,.34);
  box-shadow: 0 0 0 1px rgba(94,201,242,.05), 0 26px 70px rgba(0,165,228,.12);
  padding: clamp(22px, 3vw, 34px);
}
.arch-core-hd { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.arch-lock { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(94,201,242,.16); color: var(--sky); flex: none; }
.arch-lock svg { width: 23px; height: 23px; }
.arch-core-t { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: #fff; letter-spacing: -.01em; }
.arch-core-s { font-family: var(--font-mono); font-size: 11.5px; color: var(--sky); margin-top: 4px; letter-spacing: .03em; }
.arch-core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .arch-core-grid { grid-template-columns: repeat(2, 1fr); } }
.arch-cap { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px;
  background: var(--ink-800); border: 1px solid var(--ink-line); color: #EAF1F8; font-weight: 600; font-size: 14.5px; }
.arch-cap::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--azure);
  box-shadow: 0 0 9px rgba(0,165,228,.75); flex: none; }

.arch-interface { position: relative; text-align: center; margin: 32px 0 30px; }
.arch-interface::before { content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: repeating-linear-gradient(90deg, var(--ink-line) 0 9px, transparent 9px 18px); }
.arch-iface-label { position: relative; background: var(--ink); padding: 0 18px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: #93A6B8; text-transform: uppercase; }

.arch-edge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 760px; margin: 0 auto; }
@media (max-width: 560px) { .arch-edge { grid-template-columns: 1fr; } }
.arch-plug { position: relative; padding: 16px 16px 14px; border-radius: 12px;
  background: rgba(22,29,38,.45); border: 1px dashed var(--ink-line);
  transition: border-color .2s ease, background .2s ease; }
.arch-plug:hover { border-color: rgba(94,201,242,.5); background: rgba(22,29,38,.7); }
.arch-plug::before { content: ""; position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 16px; background: var(--ink-line); }
.arch-plug::after { content: ""; position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--sky); }
.arch-plug-k { display: block; font-weight: 700; font-size: 14.5px; color: #DCE6F0; }
.arch-plug-v { display: block; font-family: var(--font-mono); font-size: 10.5px; color: #7E92A6; margin-top: 4px; letter-spacing: .02em; }
.arch-swap { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); opacity: .82; }
.arch-swap svg { width: 12px; height: 12px; }

/* integrations / external systems */
.arch-integrations { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.arch-int-lead { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: #8DA0B2; }
.arch-int { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border-radius: 999px;
  background: var(--ink-800); border: 1px solid var(--ink-line); color: #DCE6F0; font-weight: 600; font-size: 14px; }
.arch-int svg { width: 16px; height: 16px; color: var(--sky); flex: none; }
.arch-int em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: #7E92A6; font-weight: 400; letter-spacing: .02em; }

/* ---------- own vs rent ledger ---------- */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
@media (max-width: 860px) { .ledger { grid-template-columns: 1fr; } }
.ledger-col { border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--ink-line); background: var(--ink-800); }
.ledger-col.own { border-color: rgba(94,201,242,.32); background: linear-gradient(180deg, rgba(0,165,228,.07), transparent); }
.ledger-hd { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--ink-line); }
.ledger-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.ledger-col.own .ledger-ic { background: rgba(94,201,242,.16); color: var(--sky); }
.ledger-col.rent .ledger-ic { background: var(--ink-700); color: #9FB3C6; }
.ledger-ic svg { width: 21px; height: 21px; }
.ledger-t { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #fff; }
.ledger-d { font-family: var(--font-mono); font-size: 11px; color: #8DA0B2; margin-top: 3px; letter-spacing: .02em; }
.ledger-col.own .ledger-d { color: var(--sky); }
.ledger-list { list-style: none; margin: 0; padding: 0; }
.ledger-list li { padding: 13px 0; border-bottom: 1px solid rgba(40,51,64,.6); }
.ledger-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ledger-list b { display: block; font-size: 15px; color: #EAF1F8; font-weight: 700; }
.ledger-list span { display: block; font-size: 13.5px; color: #9FB3C6; margin-top: 3px; line-height: 1.5; }
.ledger-punch { margin-top: 26px; text-align: center; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(18px, 2.4vw, 25px); color: #fff; letter-spacing: -.01em; max-width: 30ch; margin-inline: auto; line-height: 1.25; }
.ledger-punch b { color: var(--sky); font-weight: 700; }

/* ---------- payoff strip ---------- */
.payoffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
@media (max-width: 760px) { .payoffs { grid-template-columns: 1fr; } }
.payoff { display: flex; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--ink-800); border: 1px solid var(--ink-line); }
.payoff .pi { width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: rgba(0,165,228,.13); color: var(--sky); }
.payoff .pi svg { width: 20px; height: 20px; }
.payoff h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 5px; letter-spacing: -.01em; }
.payoff p { margin: 0; font-size: 14px; color: #9FB3C6; line-height: 1.5; }

/* ---------- careers / roles ---------- */
.roles { display: flex; flex-direction: column; gap: 14px; }
.role { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.role:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.role-info h3 { font-size: 20px; margin-bottom: 9px; }
.role-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.role-meta span { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.role-meta span svg { width: 14px; height: 14px; color: var(--azure); }
.role-apply { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--deep);
  font-size: 15px; white-space: nowrap; }
.role-apply svg { width: 17px; height: 17px; transition: transform .15s ease; }
.role:hover .role-apply svg { transform: translateX(3px); }
@media (max-width: 620px) { .role { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 968px) {
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(11,15,20,.97); backdrop-filter: blur(16px); padding: 14px 22px 22px; gap: 4px;
    border-bottom: 1px solid var(--ink-line); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--ink-line); font-size: 16px; }
  .nav-links .nav-cta { margin: 12px 0 0; }
  .nav-burger { display: block; }
}
@media (max-width: 760px) {
  .wrap, .wrap-narrow { padding-left: 22px; padding-right: 22px; }
  .nav-in { padding: 0 22px; }
  .section { padding: calc(70px * var(--sec-scale)) 0; }
  /* hero clears the 70px fixed nav but doesn't need the full desktop runway */
  .hero-in { padding-top: calc(100px * var(--sec-scale)); padding-bottom: calc(76px * var(--sec-scale)); }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  /* stacked stats: drop the side inset so big numbers align to the page gutter */
  .stat { padding-left: 0; padding-right: 0; }
  .stat:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .featrow, .hero-split { gap: 28px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- agent layer stack (patient agents → orchestration → back-office) ---------- */
.lstack { display: flex; flex-direction: column; }
.lrow { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: center;
  padding: 20px 26px; border-radius: var(--r-lg);
  background: rgba(22,29,38,.5); border: 1px dashed var(--ink-line); }
.lrow .lk b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff; letter-spacing: -.01em; }
.lrow .lk small { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 10.5px; color: #7E92A6; letter-spacing: .03em; }
.lrow .lchips { display: flex; flex-wrap: wrap; gap: 8px; }
.lrow .lchips span { font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: var(--ink-800); border: 1px solid var(--ink-line); color: #DCE6F0; }
.lrow.core { background: linear-gradient(135deg, rgba(0,165,228,.16), rgba(30,156,215,.06));
  border: 1px solid var(--azure); box-shadow: 0 0 36px rgba(0,165,228,.12); }
.lrow.core .lk b { color: var(--sky); }
.lrow.core .lk small { color: rgba(234,241,248,.62); }
.lrow.core .lchips span { background: rgba(0,165,228,.13); border-color: rgba(94,201,242,.35); color: #EAF1F8; }
.larrow { display: flex; justify-content: center; padding: 7px 0; color: var(--sky); }
.larrow svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .lrow { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- comparison table (vs point tools) ---------- */
.cmp-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--shadow-sm); }
table.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 820px; font-size: 15px; }
.cmp th, .cmp td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
.cmp thead th { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink);
  border-bottom: 2px solid var(--ink); white-space: nowrap; }
.cmp tbody th { font-weight: 600; color: var(--ink); font-size: 14.5px; }
.cmp td.y { color: var(--deep); font-weight: 700; }
.cmp td.n { color: #ABB8C6; font-weight: 600; font-size: 13.5px; }
.cmp .us { background: rgba(30,156,215,.07); }
.cmp thead th.us { color: var(--deep); }
.cmp-note { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: center; letter-spacing: .02em; }

/* ---------- phones: full-width CTAs + finer rhythm ---------- */
@media (max-width: 480px) {
  .hero .cta-row { gap: 12px; }
  .hero .cta-row .btn,
  .ctaband .actions .btn { width: 100%; justify-content: center; }
  .hero .lead { font-size: 19px; }
  .lead { font-size: 18px; }
  .section--tight { padding: calc(56px * var(--sec-scale)) 0; }
  .quote, .contact-card, .feature { padding: 24px; }
  .ba-card { padding: 24px; }
  .ctaband { padding: 44px 24px; }
  .ctaband p { font-size: 17px; }
}
