/* ============================================================
   SimpleVirt product site — design system
   Brand: isometric cube mark, blue #2d82f7 / #125cd8 on slate.
   Type: Inter (UI/text) + IBM Plex Mono (code, checksums, versions).
   ============================================================ */

:root {
  /* Brand */
  --blue:        #2d82f7;
  --blue-deep:   #125cd8;
  --blue-700:    #1e63d6;
  --blue-wash:   #eaf2fe;

  /* Slate / ink (from the logo) */
  --ink:         #0e1626;   /* near-black navy, dark sections */
  --ink-2:       #16203400; /* placeholder (unused alpha) */
  --slate-900:   #141d2e;
  --slate-800:   #1d2840;
  --slate-700:   #2a364c;
  --slate-600:   #38465e;
  --slate-500:   #5c6e8a;

  /* Text */
  --text:        #1a2234;
  --text-muted:  #596579;
  --text-faint:  #8a94a6;
  --text-invert: #eef2f8;
  --text-invert-muted: #a9b6cc;

  /* Surfaces */
  --bg:          #ffffff;
  --bg-soft:     #f6f8fb;
  --bg-softer:   #eef2f7;
  --border:      #e3e8ef;
  --border-soft: #edf1f6;

  /* Feedback */
  --green:       #1f9d57;
  --amber:       #c07a12;

  /* Scale */
  --maxw: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16,25,40,.06), 0 1px 3px rgba(16,25,40,.05);
  --shadow:    0 4px 16px rgba(16,25,40,.08), 0 2px 6px rgba(16,25,40,.05);
  --shadow-lg: 0 18px 50px rgba(16,25,40,.16);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.02em; color: var(--text); font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1rem; }
code, kbd, pre, samp { font-family: var(--mono); font-size: .92em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: .82em 1.3em; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .06s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(18,92,216,.35); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--slate-500); background: var(--bg-soft); }
.btn-on-dark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-on-dark:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- site header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: -.02em; font-size: 1.22rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand b { color: var(--blue); font-weight: 800; }
.brand .wm { letter-spacing: -.03em; }
.brand .wm b { color: var(--blue); font-weight: 800; }

/* iso-diamond kicker accent (echoes the logo's top plane) */
.kicker::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .55em;
  background: var(--blue); transform: rotate(45deg); position: relative; top: -1px;
  border-radius: 1px;
}

/* hero brand stack illustration */
.brand-stack-svg { width: 100%; max-width: 400px; margin: 0 auto; display: block; filter: drop-shadow(0 20px 40px rgba(3,7,18,.35)); }
.bh-legend { display: grid; gap: .55rem; margin: 1.6rem auto 0; max-width: 300px; }
.bhl { display: flex; align-items: center; gap: .75rem; }
.bhl .sw { width: 18px; height: 18px; border-radius: 5px; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.bhl .sw-ctrl { background: linear-gradient(135deg, #2d82f7, #125cd8); }
.bhl .sw-host { background: #5c6e8a; }
.bhl .sw-store { background: #2a364c; }
.bhl b { display: block; color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.25; }
.bhl .lbl { display: block; color: var(--text-invert-muted); font-size: .78rem; font-family: var(--mono); }
@keyframes ndPulse { 0%,100% { opacity: .5 } 50% { opacity: 1 } }
.brand-stack-svg .nd { animation: ndPulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.brand-stack-svg .nd:nth-of-type(2) { animation-delay: .5s }
.brand-stack-svg .nd:nth-of-type(3) { animation-delay: 1s }
@media (prefers-reduced-motion: reduce) { .brand-stack-svg .nd { animation: none } }
.nav-links { display: flex; gap: .3rem; margin-left: .5rem; }
.nav-links a {
  color: var(--text-muted); font-weight: 500; font-size: .96rem;
  padding: .45rem .7rem; border-radius: 7px;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.nav-links a.active { color: var(--blue-deep); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: .4rem .5rem; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(45,130,247,.22), transparent 60%),
    radial-gradient(760px 420px at 8% 110%, rgba(45,130,247,.12), transparent 55%),
    linear-gradient(180deg, #0e1626 0%, #111c31 60%, #0c1322 100%);
  color: var(--text-invert);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(900px 500px at 70% 10%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--blue); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-invert-muted);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: .35rem .7rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(45,130,247,.25); }
.hero .lead { font-size: 1.18rem; color: var(--text-invert-muted); max-width: 34rem; margin-bottom: 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero-note { margin-top: 1.4rem; font-size: .88rem; color: var(--text-invert-muted); font-family: var(--mono); }
.hero-note b { color: #fff; font-weight: 500; }

/* hero visual: stacked architecture card */
.hero-visual { position: relative; }
.arch-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 1.3rem; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}
.arch-row { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); margin-bottom: .7rem; }
.arch-row:last-child { margin-bottom: 0; }
.arch-row .ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; background: rgba(45,130,247,.16); color: var(--blue); }
.arch-row .ico svg { width: 20px; height: 20px; }
.arch-row .t { font-weight: 600; color: #fff; font-size: .98rem; }
.arch-row .s { font-size: .82rem; color: var(--text-invert-muted); }
.arch-conn { text-align: center; color: rgba(255,255,255,.3); font-size: .8rem; margin: .1rem 0 .5rem; letter-spacing: .3em; }
.arch-hosts { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.arch-host { text-align: center; padding: .7rem .4rem; border-radius: 9px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.arch-host .hb { font-family: var(--mono); font-size: .72rem; color: var(--text-invert-muted); }
.arch-host .dotok { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin: 0 auto .4rem; box-shadow: 0 0 0 3px rgba(31,157,87,.2); }

/* ---------- generic sections ---------- */
section { padding: clamp(3.2rem, 6vw, 5.2rem) 0; }
.section-head { max-width: 42rem; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker { color: var(--blue-deep); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }
.bg-soft { background: var(--bg-soft); }
.bg-ink { background: var(--ink); color: var(--text-invert); }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .section-head p { color: var(--text-invert-muted); }

/* two-part components strip */
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.part {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.part::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--blue); opacity:.9; }
.part h3 { display: flex; align-items: center; gap: .6rem; }
.part .tag { font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--blue-deep); background: var(--blue-wash); padding: .18rem .5rem; border-radius: 6px; }
.part p { color: var(--text-muted); margin-bottom: 0; }

/* capability grid */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cap {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; transition: border-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.cap:hover { border-color: #cfdaea; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cap .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-wash); color: var(--blue-deep); display: grid; place-items: center; margin-bottom: .9rem; }
.cap .ci svg { width: 22px; height: 22px; }
.cap h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.cap p { color: var(--text-muted); font-size: .94rem; margin: 0; }
.cap .preview-chip { display:inline-block; margin-top:.6rem; font-size:.7rem; font-weight:600; letter-spacing:.03em; text-transform:uppercase; color:var(--amber); background:#fdf3e3; border:1px solid #f3e2c4; padding:.12rem .45rem; border-radius:5px; }

/* differentiators */
.diff-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.4rem; }
.diff { display: flex; gap: 1rem; }
.diff .dc { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(45,130,247,.14); color: var(--blue); }
.diff .dc svg { width: 22px; height: 22px; }
.diff h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.diff p { color: var(--text-invert-muted); margin: 0; font-size: .96rem; }
.bg-soft .diff .dc { background: var(--blue-wash); color: var(--blue-deep); }
.bg-soft .diff p { color: var(--text-muted); }

/* callout / plain-english sample */
.sample {
  margin-top: 2.2rem; background: var(--slate-900); border: 1px solid var(--slate-700);
  border-radius: var(--radius); padding: 1.3rem 1.5rem; color: var(--text-invert);
  font-size: 1rem; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow);
}
.sample .sx { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px; background: rgba(31,157,87,.18); color: #41c97e; display: grid; place-items: center; }
.sample .sx svg { width: 20px; height: 20px; }
.sample .st { color: #fff; font-weight: 600; margin-bottom: .2rem; }
.sample .sd { color: var(--text-invert-muted); font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #123a86, #1a63d6 60%, #2d82f7); color: #fff; border-radius: 18px; padding: clamp(2.2rem,4vw,3.4rem); text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(600px 300px at 50% 0%, #000, transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 34rem; margin: 0 auto 1.7rem; }

/* ---------- download page ---------- */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.dl-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.dl-card.feature { border-color: #cdddf7; box-shadow: 0 0 0 1px rgba(45,130,247,.08), var(--shadow-sm); }
.dl-head { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1rem; }
.dl-head .di { width: 46px; height: 46px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.dl-head .di svg { width: 26px; height: 26px; }
.dl-head h3 { margin: 0 0 .15rem; font-size: 1.18rem; }
.dl-head .sub { color: var(--text-muted); font-size: .9rem; }
.dl-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.pill { font-family: var(--mono); font-size: .76rem; color: var(--text-muted); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: .25rem .65rem; }
.pill b { color: var(--text); font-weight: 500; }
.dl-card p.desc { color: var(--text-muted); font-size: .94rem; margin: 0 0 1.2rem; }
.dl-actions { margin-top: auto; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.checksum { margin-top: 1rem; }
.checksum summary { cursor: pointer; font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.checksum summary:hover { color: var(--text); }
.checksum .sum { margin-top: .6rem; background: var(--slate-900); color: #cdd7e6; border-radius: 8px; padding: .7rem .8rem; font-family: var(--mono); font-size: .76rem; word-break: break-all; line-height: 1.5; }
.checksum .sum .lbl { color: var(--blue); display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.soon { font-size: .82rem; color: var(--amber); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }

.note-band { background: var(--blue-wash); border: 1px solid #cfe1fb; border-radius: var(--radius); padding: 1.1rem 1.3rem; display: flex; gap: .8rem; align-items: flex-start; color: #16335f; font-size: .94rem; }
.note-band svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--blue-deep); margin-top: .1rem; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 1rem; margin-top: 1.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step .sn { counter-increment: step; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.step .sn::before { content: counter(step); }
.step .sb h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.step .sb p { color: var(--text-muted); font-size: .94rem; margin: 0; }

/* ---------- support page ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.sup-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.sup-card .si { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-wash); color: var(--blue-deep); display: grid; place-items: center; margin-bottom: 1rem; }
.sup-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.sup-card p { color: var(--text-muted); font-size: .94rem; margin: 0 0 1rem; }
.faq { max-width: 48rem; margin: 2.4rem auto 0; }
.faq details { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-muted); margin: .8rem 0 0; }

/* ---------- docs layout ---------- */
.docs-shell { display: grid; grid-template-columns: 250px 1fr; gap: 2.5rem; align-items: start; padding: 2.5rem 0 4rem; }
.docs-nav { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: .93rem; }
.docs-nav .grp { font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin: 1.3rem 0 .5rem; }
.docs-nav .grp:first-child { margin-top: 0; }
.docs-nav a { display: block; color: var(--text-muted); padding: .36rem .6rem; border-radius: 7px; border-left: 2px solid transparent; }
.docs-nav a:hover { color: var(--text); background: var(--bg-soft); text-decoration: none; }
.docs-nav a.active { color: var(--blue-deep); background: var(--blue-wash); border-left-color: var(--blue); font-weight: 600; }
.docs-main { min-width: 0; }
.docs-breadcrumb { font-size: .86rem; color: var(--text-faint); margin-bottom: 1rem; }
.docs-breadcrumb a { color: var(--text-muted); }

/* rendered markdown */
.prose { max-width: 48rem; }
.prose > *:first-child { margin-top: 0; }
.prose h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: .6rem; }
.prose h2 { font-size: 1.55rem; margin: 2.2rem 0 .8rem; padding-bottom: .35rem; border-bottom: 1px solid var(--border); }
.prose h3 { font-size: 1.22rem; margin: 1.8rem 0 .6rem; }
.prose h4 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
.prose p, .prose li { color: #2d3747; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li { margin: .3rem 0; }
.prose a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #b9d2f8; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose code { background: var(--bg-softer); border: 1px solid var(--border-soft); border-radius: 5px; padding: .12em .4em; font-size: .86em; color: #163a6e; }
.prose pre { background: var(--slate-900); color: #d7deea; border-radius: 10px; padding: 1.1rem 1.2rem; overflow-x: auto; margin: 0 0 1.3rem; font-size: .86rem; line-height: 1.6; }
.prose pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
.prose pre.mermaid { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); text-align: center; padding: 1.3rem; }
.prose pre.mermaid:not([data-processed]) { font-family: var(--mono); font-size: .8rem; color: var(--text-faint); white-space: pre-wrap; }
.prose pre.mermaid svg { max-width: 100%; height: auto; margin: 0 auto; }
.prose blockquote { margin: 0 0 1.3rem; padding: .8rem 1.1rem; background: var(--blue-wash); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; color: #16335f; }
.prose blockquote p { color: #16335f; margin: 0; }
.prose blockquote p + p { margin-top: .5rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 600; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.prose img { border-radius: 8px; border: 1px solid var(--border); margin: 1rem 0; }
.docs-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-faint); }

/* docs index cards */
.doc-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 1.5rem; }
.doc-card { display: block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.3rem; transition: border-color .15s, box-shadow .15s, transform .1s; }
.doc-card:hover { text-decoration: none; border-color: #cfdaea; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.doc-card h3 { font-size: 1.05rem; margin-bottom: .25rem; color: var(--text); }
.doc-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }
.doc-cat { margin: 2.2rem 0 .2rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-deep); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--text-invert-muted); padding: 3rem 0 2rem; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand p { font-size: .9rem; max-width: 20rem; color: var(--text-invert-muted); }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .9rem; font-weight: 600; }
.footer-col a { display: block; color: var(--text-invert-muted); font-size: .92rem; padding: .25rem 0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .84rem; color: var(--text-faint); }
.footer-bottom .mono { font-family: var(--mono); }

/* ---------- page hero (interior) ---------- */
.page-hero { background: linear-gradient(180deg, #0e1626, #111c31); color: #fff; padding: clamp(2.6rem,5vw,4rem) 0; border-bottom: 1px solid rgba(255,255,255,.06); position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(700px 300px at 75% 0%, #000, transparent 72%); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero p { color: var(--text-invert-muted); font-size: 1.1rem; max-width: 40rem; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-visual { max-width: 460px; }
  .parts, .diff-list, .dl-grid, .doc-cards { grid-template-columns: 1fr; }
  .cap-grid, .support-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs-shell { grid-template-columns: 1fr; }
  .docs-nav { position: static; max-height: none; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem; background: var(--bg-soft); }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--border); padding: .6rem 24px 1rem; margin: 0; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem .6rem; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .cap-grid, .support-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}
