/* neos.ao — Swiss/minimal, navy + gold, IBM Plex Sans. Tokens first; no hard-coded colours in components. */
:root {
  --navy-950: #0b1324;
  --navy-900: #111c33;
  --navy-800: #1b2844;
  --gold: #f59e0b;          /* accents and buttons on navy (10.5:1 on navy) */
  --gold-hover: #fbbf24;
  --gold-text: #b45309;     /* gold for text on white (4.6:1) */
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #5b6577;         /* 5.9:1 on white */
  --on-navy: #f8fafc;
  --on-navy-muted: #b6c1d4; /* 9:1 on navy */
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f6f7fa;
  --ring: #f59e0b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 8px 24px rgb(15 23 42 / 0.06);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --space-section: clamp(64px, 9vw, 112px);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 8px 16px; border-radius: var(--radius-sm); background: var(--gold); color: var(--navy-950); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(11 19 36 / 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.header-row { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; }
.logo-mark rect { fill: var(--gold); stroke: none; }
.logo-mark path { stroke: var(--navy-950); stroke-width: 3.2; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-sm); color: var(--on-navy-muted); text-decoration: none; font-weight: 500; transition: color 150ms var(--ease), background-color 150ms var(--ease); }
.site-nav a:hover { color: var(--on-navy); background: rgb(255 255 255 / 0.06); }
.site-nav .nav-cta { color: var(--gold); }
.lang { display: inline-flex; border: 1px solid rgb(255 255 255 / 0.2); border-radius: var(--radius-sm); overflow: hidden; }
.lang a { display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding: 0 10px; color: var(--on-navy-muted); text-decoration: none; font-weight: 600; font-size: 0.875rem; }
.lang a[aria-current="true"] { background: var(--gold); color: var(--navy-950); }
.lang a:not([aria-current="true"]):hover { color: var(--on-navy); background: rgb(255 255 255 / 0.08); }
@media (max-width: 720px) {
  .site-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
  .site-nav a { padding: 0 8px; }
  .lang { margin-left: auto; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #1f3a6b 0%, transparent 60%), var(--navy-950); color: var(--on-navy); }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(80px, 12vw, 152px) clamp(72px, 10vw, 128px); display: grid; gap: 24px; justify-items: start; }
.hero .lead { color: var(--on-navy-muted); }
.hero h1 { max-width: 18ch; }
.hero-product h1 { max-width: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.eyebrow { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.tagline-lg { font-size: clamp(1.25rem, 2.4vw, 1.625rem); color: var(--gold); font-weight: 500; }
.audience { color: var(--on-navy-muted); border-left: 3px solid var(--gold); padding-left: 16px; max-width: 62ch; }
.crumbs a { color: var(--on-navy-muted); font-weight: 500; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.crumbs a::before { content: "← "; white-space: pre; }
.crumbs a:hover { color: var(--on-navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.0625rem; }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost-light { border-color: rgb(255 255 255 / 0.35); color: var(--on-navy); }
.btn-ghost-light:hover { border-color: var(--on-navy); background: rgb(255 255 255 / 0.06); }
.btn-primary { background: var(--navy-950); color: var(--on-navy); }
.btn-primary:hover { background: var(--navy-800); }

/* Sections */
.section { padding-block: var(--space-section); }
.section-alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.section-lead { margin-top: 12px; }
.section h2 + .product-grid, .section h2 + .principles, .section h2 + .steps, .section-lead + .product-grid { margin-top: 40px; }

/* Product cards: the whole card is the link target (the heading link stretches over it). */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.product-card { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); transition: border-color 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.product-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 2px 4px rgb(15 23 42 / 0.06), 0 16px 40px rgb(15 23 42 / 0.1); }
.product-card:focus-within { outline: 3px solid var(--ring); outline-offset: 3px; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link:focus-visible { outline: none; }
.product-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-950); color: var(--gold); }
.product-icon svg { width: 26px; height: 26px; }
.product-icon-lg { width: 64px; height: 64px; border-radius: 16px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); }
.product-icon-lg svg { width: 34px; height: 34px; }
.tagline { color: var(--muted); }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.ticks svg { color: var(--gold-text); margin-top: 3px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--gold-text); font-weight: 600; }
.product-card:hover .more svg { transform: translateX(3px); }
.more svg { transition: transform 200ms var(--ease); }

/* Principles & steps */
.principles { display: grid; gap: 32px 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.principles li, .steps li { display: grid; gap: 10px; align-content: start; }
.num { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; color: var(--gold-text); }
.principles p, .steps p, .capabilities p { color: var(--ink-soft); }
.steps { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: none; }
.steps .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-950); color: var(--gold); }

/* Capabilities */
.capabilities { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.capabilities li { display: grid; gap: 10px; align-content: start; padding: 28px; background: var(--surface); }
.capabilities li.is-roadmap { background: var(--surface-alt); }
.capabilities h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gold-text); background: #fef3c7; border: 1px solid #fcd34d; }
.tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tech li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 0.9375rem; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--navy-950); color: var(--on-navy); }
.contact .lead { color: var(--on-navy-muted); margin-top: 12px; }
.contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.contact .btn { max-width: 100%; }
.contact .btn span { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-navy-muted); padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 40px; }
.site-footer .muted { color: var(--on-navy-muted); margin-top: 12px; max-width: 36ch; }
.footer-h { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--gold); }
.brand-footer { color: var(--on-navy) !important; font-size: 1.25rem; }
.footer-base { border-top: 1px solid rgb(255 255 255 / 0.08); padding-block: 20px; font-size: 0.875rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .product-card:hover { transform: none; }
}
.site-footer .footer-base { max-width: 1180px; margin-top: 0; } /* .muted inside the footer is width-capped for the tagline only */
