/* OntoHybrid shared design - every static product page uses this one file.
   One blue family on deep navy, two type sizes for body text, no web fonts,
   no scripts. Decisions and their sources: docs/design-system.md. */

:root {
  --bg: #000616;
  --bg-raised: #071230;
  --line: rgba(120, 160, 230, 0.16);
  --line-strong: rgba(120, 160, 230, 0.32);
  --text: #eaf0fc;
  --muted: #98a8c6;
  --blue: #2f6bff;
  --blue-hover: #4a80ff;
  --azure: #63adff;
  --radius: 18px;
  --max: 1120px;
  --font: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 520px at 50% -20%, rgba(47, 107, 255, 0.12), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--azure); text-decoration: none; }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px);
  background: rgba(0, 6, 22, 0.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; letter-spacing: 0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand .sep { color: var(--muted); font-weight: 400; }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 56px 0 48px; }
.hero .logo { width: min(500px, 88%); height: auto; margin: 0 auto 4px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, #000 55%, transparent 100%); }
.eyebrow { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--azure); margin: 0 0 14px; }
h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 700; }
.grad { background: linear-gradient(100deg, #ffffff 10%, var(--azure) 55%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.1em; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.wordmark { font-size: clamp(52px, 9vw, 104px); }

/* Buttons */
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--azure); color: var(--text); }
.btn[aria-disabled="true"] { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); cursor: default; transform: none; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
h3 { font-size: 21px; margin: 0 0 8px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
a.card { color: var(--text); }
a.card:hover { border-color: var(--line-strong); transform: translateY(-3px); color: var(--text); }
.card p { color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 600; color: var(--azure); }
.tag { display: inline-block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--azure); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; margin-bottom: 16px; align-self: flex-start; }
.tag.quiet { color: var(--muted); border-color: var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.chips span { font-size: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(99,173,255,0.08); color: var(--text); }

/* Numbered steps */
.step-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--azure); font-weight: 700; font-size: 15px; margin-bottom: 16px; }

/* Letter list (lane names) */
.letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.letters.six { grid-template-columns: repeat(3, 1fr); }
.letter { background: var(--bg); padding: 24px; }
.letter b { display: block; font-size: 34px; line-height: 1; margin-bottom: 10px; color: var(--azure); }
.letter h3 { font-size: 17px; margin-bottom: 4px; }
.letter p { font-size: 15px; color: var(--muted); margin: 0; }

/* Callout */
.callout { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center;
  background: radial-gradient(600px 200px at 50% 0%, rgba(47,107,255,0.14), transparent 80%), var(--bg-raised); }
.callout h2 { margin-bottom: 10px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .grid-3, .grid-4, .letters { grid-template-columns: repeat(2, 1fr); }
  .letters.six { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .letters, .letters.six { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; font-size: 14px; }
  .nav-links .hide-sm { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
  .card, .callout { padding: 24px; }
}
