/* ============================================================
   Argis Labs - v4 "Enterprise Clean"
   Modern premium SaaS: white space, restrained navy + gold,
   Inter at medium weights, soft cards, quiet borders.
   ============================================================ */

:root {
  --ink:      #0B1E3D;
  --ink-2:    #1E2F47;
  --text:     #47576B;
  --muted:    #7C8A9C;
  --line:     #E7EBF1;
  --line-2:   #F0F3F7;
  --bg:       #FFFFFF;
  --bg-2:     #F7F9FC;
  --bg-3:     #EFF3F8;

  --navy:     #0B1E3D;
  --navy-2:   #14325A;
  --navy-deep:#081831;

  --gold:     #F59E0B;
  --gold-2:   #B45309;
  --gold-soft:#FEF3E2;

  --ok:  #1F8A5B;
  --bad: #C24A3E;
  --warn:#B5852A;

  --max: 1160px;
  --gutter: 24px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;

  --sh-sm: 0 1px 2px rgba(11,30,61,.05), 0 1px 6px rgba(11,30,61,.04);
  --sh-md: 0 2px 6px rgba(11,30,61,.05), 0 14px 34px rgba(11,30,61,.08);
  --sh-lg: 0 4px 10px rgba(11,30,61,.06), 0 30px 70px rgba(11,30,61,.14);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --ease: 200ms cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16.5px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }

h1, h2, h3 { color: var(--ink); font-weight: 650; line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.015em; }
h4 { font-size: 1.02rem; color: var(--ink); font-weight: 600; }
p { margin-bottom: 1rem; } p:last-child { margin-bottom: 0; }
a { color: var(--gold-2); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold); }
img, svg, canvas { max-width: 100%; display: block; }
ul { list-style: none; }
small { font-size: 12.5px; }

.skip { position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 300; border-radius: var(--r-sm); }
.skip:focus { left: 12px; top: 12px; }

.frame { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section.tight { padding: 64px 0; }
.center { text-align: center; }

/* eyebrow */
.kicker, .eyebrow { display: inline-block; font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.kicker::before { content: none; }

/* section headers - clean stack (works with existing sec-head markup) */
.sec-head { display: block; margin-bottom: 52px; max-width: 720px; }
.sec-idx { font-size: 0; }                    /* hides "SEC 01" text node */
.sec-idx b { display: inline-block; font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head .sub, .sub { font-size: 1.13rem; color: var(--text); line-height: 1.6; }
.center .sec-head { margin-left: auto; margin-right: auto; }

.on-navy { background: var(--navy); color: #A9BACD; }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: #fff; }
.on-navy .sub, .on-navy p { color: #9AAEC4; }
.on-navy .sec-idx b, .on-navy .kicker { color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: all var(--ease); white-space: nowrap; }
.btn-gold { background: var(--ink); color: #fff; box-shadow: var(--sh-sm); }
.btn-gold:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--sh-md); color: #fff; }
.on-navy .btn-gold, .cta .btn-gold { background: var(--gold); color: var(--navy); }
.on-navy .btn-gold:hover, .cta .btn-gold:hover { background: #FBBF24; color: var(--navy); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn-line:hover { border-color: #C9D2DE; color: var(--ink); transform: translateY(-1px); }
.on-navy .btn-line, .cta .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); box-shadow: none; }
.on-navy .btn-line:hover, .cta .btn-line:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn .arr { transition: transform var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17.5px; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 27px; height: 27px; }
.topnav { display: flex; gap: 2px; }
.topnav a { font-size: 14.5px; font-weight: 500; color: var(--text); padding: 8px 14px; border-radius: 9px; }
.topnav a .nidx { display: none; }
.topnav a:hover { color: var(--ink); background: var(--bg-2); }
.topnav a[aria-current] { color: var(--ink); font-weight: 600; }
.top-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }

/* ===== HERO - centered, product shot below ===== */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; background:
  radial-gradient(52% 44% at 22% 8%, rgba(245,158,11,.07) 0%, transparent 70%),
  radial-gradient(60% 52% at 82% 0%, rgba(11,30,61,.06) 0%, transparent 70%),
  linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.hero-grid { display: block; text-align: center; padding: 92px 0 96px; }
.hero-grid > div:first-child { max-width: 780px; margin: 0 auto; }
.hero h1 { margin: 0 auto 22px; max-width: 17ch; }
.hero h1 .hl { background: linear-gradient(92deg, #B45309 0%, #F59E0B 60%, #FBBF24 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.18rem; line-height: 1.6; max-width: 58ch; margin: 0 auto 32px; color: var(--text); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 36px 0 0; padding: 0; border: 0; font-size: 13px; color: var(--text); }
.hero-tags span { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; box-shadow: var(--sh-sm); font-weight: 500; }
.hero-tags span::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* console → product window */
.console { max-width: 880px; margin: 60px auto 0; background: var(--navy); border-radius: var(--r); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 8px 24px rgba(11,30,61,.10), 0 44px 110px rgba(11,30,61,.22), 0 24px 90px rgba(245,158,11,.10); overflow: hidden; text-align: left; position: relative; }
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: #7D93AB; }
.console-bar .dot-row { display: flex; gap: 6px; }
.console-bar .dot-row i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.console-bar .dot-row i:first-child { background: var(--gold); }
.console-view { position: relative; height: 330px; }
.console-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.console-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(11,30,61,.92) 100%); pointer-events: none; }
.feed { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; display: grid; gap: 7px; z-index: 2; }
.feed-line { display: grid; grid-template-columns: 60px 1fr auto 56px; gap: 12px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #B3C4D6; animation: feed-in 280ms ease-out; }
.fl-seg { color: #7D93AB; }
.fl-val { color: #fff; }
.fl-chip { text-align: center; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; padding: 3px 0; border-radius: 5px; }
.fl-chip.ok { color: #7BD8A5; background: rgba(46,139,91,.16); }
.fl-chip.bad { color: #F2A196; background: rgba(194,74,62,.18); }
@keyframes feed-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.console-foot { padding: 11px 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: #7D93AB; }
.console-foot b { color: var(--gold); font-weight: 600; }

/* ===== cards ===== */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border: 0; }
.trio-cell { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 32px; box-shadow: var(--sh-sm); transition: transform var(--ease), box-shadow var(--ease); }
.trio-cell:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--sh-md); }
.on-navy .trio-cell { background: var(--navy-2); border-color: rgba(255,255,255,.09); }
.trio-cell .tn { font-size: 12px; font-weight: 650; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.trio-cell h3 { margin-bottom: 10px; }
.trio-cell p { font-size: 15px; margin: 0; line-height: 1.6; }

/* process rows */
.ledger { border-top: 1px solid var(--line); }
.lrow { display: grid; grid-template-columns: 88px 1fr 1.15fr; gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.lrow:hover { background: transparent; }
.lrow .ln { font-size: 12.5px; font-weight: 650; letter-spacing: .1em; color: var(--gold-2); padding-top: 6px; }
.lrow h3 { padding-top: 0; }
.lrow p { font-size: 15.5px; margin: 0; }
.on-navy .ledger, .on-navy .lrow { border-color: rgba(255,255,255,.11); }
.on-navy .lrow .ln { color: var(--gold); }

/* stat strip */
.strip { border: 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 52px 30px; border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: none; }
.stat .num { font-size: 2.6rem; font-weight: 680; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.stat .num .u { color: var(--gold-2); }
.stat .lbl { font-size: 13.5px; color: var(--text); margin-top: 10px; line-height: 1.45; }

/* plates */
.plate { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-lg); background: #fff; }
.plate img { width: 100%; height: auto; display: block; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
.ticks { margin-top: 6px; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 13px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--gold-2); border-bottom: 2px solid var(--gold-2); transform: rotate(-45deg); }
.on-navy .ticks li { color: #C3D1E2; }

/* white-label document card */
.docmock { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 32px 34px 28px; position: relative; }
.docmock::before { content: none; }
.dm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.dm-tag { font-size: 11px; font-weight: 650; letter-spacing: .1em; color: var(--gold-2); background: var(--gold-soft); padding: 6px 12px; border-radius: 100px; }
.dm-sheet { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.dm-title { font-weight: 650; font-size: 1.4rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
.dm-title span { display: block; font-weight: 500; font-size: 13.5px; color: var(--muted); margin-top: 5px; letter-spacing: 0; }
.dm-lines { margin: 22px 0 22px; display: grid; gap: 10px; }
.dm-lines i { display: block; height: 7px; border-radius: 4px; background: var(--bg-3); }
.dm-block { border-top: 1px solid var(--line); }
.dm-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.dm-row span { font-size: 10.5px; font-weight: 650; letter-spacing: .1em; color: var(--muted); }
.dm-row b { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.dm-row.gold b { color: var(--gold-2); }
.dm-row.gold { border-bottom: none; }
.dm-foot { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); margin-top: 16px; }
.dm-seal { position: absolute; right: 28px; bottom: 62px; width: 88px; height: 88px; opacity: .95; }
.seal-ring { width: 100%; height: 100%; border: 2px solid var(--gold); border-radius: 50%; position: relative; }
.seal-ring::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(245,158,11,.45); border-radius: 50%; }
.seal-ring span { position: absolute; inset: 0; font-family: var(--mono); font-size: 7.5px; letter-spacing: .16em; color: var(--gold-2); display: grid; place-items: center; text-align: center; padding: 25px 10px 0; line-height: 1.5; animation: spin 44s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* compare table */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-sm); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-2); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.cmp thead th.us { color: var(--ink); background: var(--gold-soft); }
.cmp tbody td:first-child { font-weight: 600; color: var(--ink); }
.cmp td.us { background: #FDF9EF; }
.cmp .yes { color: var(--ok); font-weight: 650; }
.cmp .no { color: var(--muted); font-weight: 500; }
.cmp .part { color: var(--warn); font-weight: 650; }
.cmp-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* cta - dark rounded card */
.cta { background: transparent; border: 0; padding: 0 0 104px; position: static; overflow: visible; }
.cta::before { content: none; }
.cta-in { position: relative; background: linear-gradient(160deg, var(--navy) 0%, #14325A 100%); border-radius: var(--r-lg); padding: 88px 48px; text-align: center; overflow: hidden; }
.cta-in::before { content: ""; position: absolute; left: 50%; bottom: -240px; width: 860px; height: 400px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(245,158,11,.22) 0%, transparent 70%); pointer-events: none; }
.cta-in > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 26ch; margin: 0 auto 16px; }
.cta p { color: #9AAEC4; max-width: 56ch; margin: 0 auto 32px; }
.cta .kicker { color: var(--gold); }

/* page hero (interior) */
.page-hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-2)); padding: 76px 0 60px; }
.page-hero h1 { max-width: 20ch; margin-bottom: 18px; font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.page-hero .lede { font-size: 1.15rem; max-width: 60ch; color: var(--text); }

.prose h3 { margin: 36px 0 12px; }
.prose p { max-width: 68ch; }

/* footer - light, corporate-clean */
.footer { background: #fff; color: var(--text); border-top: 1px solid var(--line); }
.foot-block { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 32px; border: 0; padding: 64px 0 48px; }
.fb-cell { border: 0; padding: 0; }
.fb-label { font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.fb-word { font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 12px; }
.fb-brand p { font-size: 14px; max-width: 280px; color: var(--text); line-height: 1.6; }
.fb-cell li { margin-bottom: 10px; }
.fb-cell a { color: var(--text); font-size: 14.5px; }
.fb-cell a:hover { color: var(--ink); }
.foot-strip { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-family: var(--sans); letter-spacing: 0; }

/* responsive */
@media (max-width: 980px) {
  .split, .duo { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .trio { grid-template-columns: 1fr; }
  .lrow { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .foot-block { grid-template-columns: 1fr 1fr; }
  .fb-brand { grid-column: 1 / -1; }
  .topnav, .top-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .topbar.open .topnav { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 18px; gap: 2px; box-shadow: var(--sh-md); }
  .hero-grid { padding: 64px 0 72px; }
}
@media (max-width: 600px) {
  .section { padding: 68px 0; }
  .strip-in { grid-template-columns: 1fr; }
  .stat { border-right: none; }
  .foot-block { grid-template-columns: 1fr; }
  .docmock { padding: 26px 20px 22px; }
  .dm-seal { position: static; margin-top: 18px; }
  .console-view { height: 260px; }
  .cta-in { padding: 60px 24px; border-radius: var(--r); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ===== contact / discovery-call page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.expect { display: grid; gap: 6px; margin-bottom: 36px; }
.expect-row { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.expect-row:last-child { border-bottom: none; }
.expect-row .en { font-size: 13px; font-weight: 650; color: var(--gold-2); padding-top: 3px; }
.expect-row h4 { margin-bottom: 4px; }
.expect-row p { font-size: 14.5px; margin: 0; }
.contact-aside { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; font-size: 14.5px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-md); padding: 34px 34px 26px; position: sticky; top: 90px; }
.form-embed { border: 1.5px dashed var(--line); border-radius: var(--r-sm); min-height: 380px; display: grid; place-items: center; background: var(--bg-2); text-align: center; padding: 24px; }
.fe-inner p { color: var(--muted); margin-bottom: 4px; }
.form-fine { font-size: 12px; color: var(--muted); margin-top: 16px; text-align: center; }
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { position: static; }
}


/* ===== audience strip (under hero) ===== */
.aud { border-bottom: 1px solid var(--line); background: #fff; }
.aud-in { display: flex; align-items: center; justify-content: center; gap: 14px 28px; flex-wrap: wrap; padding: 22px var(--gutter); }
.aud-label { font-size: 11.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.aud-in span { font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 28px; }
.aud-in span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ===== thank-you page ===== */
.ty-check { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); border: 1.5px solid #F3D9A4; margin: 0 auto 26px; position: relative; }
.ty-check::after { content: ""; position: absolute; left: 21px; top: 27px; width: 22px; height: 12px; border-left: 3px solid var(--gold-2); border-bottom: 3px solid var(--gold-2); transform: rotate(-45deg); }
