:root {
  --bg: #0f1215; --panel: #161a1f; --panel2: #1c2128; --line: #2a3038; --text: #e6e8ea;
  --muted: #8b939c; --accent: #8a38f5; --accent2: #5cc8b8;
  --mono: "IBM Plex Mono", ui-monospace, monospace; --sans: "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

nav { position: sticky; top: 0; z-index: 10; background: rgba(15,18,21,.88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; justify-content: space-between; align-items: center; height: 58px; }
.logo { font-family: var(--mono); font-weight: 600; text-decoration: none; letter-spacing: -.3px; }
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; font-size: 14px; }
nav ul a { text-decoration: none; color: var(--muted); }
nav ul a:hover { color: var(--text); }
@media (max-width: 640px) { nav ul { gap: 16px; } nav ul li.hide-sm { display: none; } }

.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.02; margin: 0 0 22px; font-weight: 700; letter-spacing: -1.5px; }
.hero p { font-size: 19px; color: #c3c8cd; max-width: 640px; margin: 0 0 30px; }
.hero p b { color: var(--text); font-weight: 600; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 6px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); background: var(--panel2); }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.avail { margin-top: 34px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 0 4px rgba(92,200,184,.15); }

section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 34px; }
.sec-head .n { font-family: var(--mono); color: var(--accent); font-size: 14px; }
.sec-head h2 { margin: 0; font-size: 28px; letter-spacing: -.5px; }

.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; margin-bottom: 56px; }
.feature:nth-of-type(even) .media { order: 2; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 20px; } .feature:nth-of-type(even) .media { order: 0; } }
.media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.missing { display: none; }
.feature:has(.media.missing) { grid-template-columns: 1fr; }
.about:has(.media.missing) { grid-template-columns: 1fr; }
.role { font-family: var(--mono); font-size: 12.5px; color: var(--accent); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.feature h3 { font-size: 24px; margin: 0 0 12px; letter-spacing: -.3px; line-height: 1.25; }
.feature p { color: #c3c8cd; margin: 0 0 14px; }
.feature ul { margin: 0 0 16px; padding-left: 18px; color: #c3c8cd; }
.feature li { margin-bottom: 5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 4px; }
.link { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.card .media { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; }
.card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { font-size: 14.5px; color: #b9bfc5; margin: 0 0 14px; flex: 1; }
.card .link { margin-top: 10px; font-size: 14px; }

.sub-h { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; margin: 0 0 14px; font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 44px; }
@media (max-width: 820px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px 12px 14px; text-align: center; transition: border-color .2s, background-color .2s, transform .2s; }
.tile:hover { border-color: #3a424c; transform: translateY(-2px); }
.tile .mono { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 8px; display: grid; place-items: center; background: var(--panel2); border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.tile p { margin: 0; font-size: 14px; font-weight: 500; color: #c3c8cd; transition: color .2s; }
.tile:hover p { color: var(--text); }
.tile .logo { width: 48px; height: 48px; margin: 0 auto 12px; display: grid; place-items: center; }
.tile .logo img { max-width: 100%; max-height: 100%; filter: grayscale(1) brightness(1.1) opacity(.55); transition: filter .25s; }
.tile .logo span { display: none; width: 48px; height: 48px; border-radius: 8px; place-items: center; background: var(--panel2); border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 13px; font-weight: 600; transition: color .2s, border-color .2s; }
.tile .logo.missing img { display: none; }
.tile .logo.missing span { display: grid; }
.tile .badge { position: absolute; top: 7px; right: 7px; font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 3px; color: var(--muted); background: var(--panel2); border: 1px solid var(--line); transition: color .2s, background-color .2s, border-color .2s; }
.tile.brand:hover { border-color: var(--brand); background-color: color-mix(in srgb, var(--brand) 9%, var(--panel)); }
.tile.brand:hover .logo img { filter: none; }
.tile.brand:hover .logo span { color: var(--brand); border-color: var(--brand); }
.tile.brand:hover .badge { color: var(--ink, #fff); background: var(--brand); border-color: var(--brand); }
@media (hover: none) {
  .tile.brand { border-color: var(--brand); }
  .tile.brand .logo img { filter: none; }
  .tile.brand .logo span { color: var(--brand); border-color: var(--brand); }
  .tile.brand .badge { color: var(--ink, #fff); background: var(--brand); border-color: var(--brand); }
}
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
@media (max-width: 400px) { .certs { grid-template-columns: 1fr; } }
.certc { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.certc .seal { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; border: 1.5px solid var(--brand, var(--accent)); display: grid; place-items: center; color: var(--brand, var(--accent)); font-family: var(--mono); font-size: 11px; font-weight: 600; }
.certc h4 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.certc span { font-size: 13px; color: var(--muted); }
.certc a { margin-left: auto; font-size: 13px; color: var(--accent); text-decoration: none; white-space: nowrap; font-weight: 600; }
.certc a:hover { text-decoration: underline; }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.about .media { aspect-ratio: 1; max-width: 360px; }
.about p { color: #c3c8cd; margin: 0 0 14px; }

.contact { text-align: center; padding: 84px 0; border-bottom: 0; }
.contact h2 { font-size: 34px; margin: 0 0 12px; letter-spacing: -.5px; }
.contact p { color: var(--muted); margin: 0 0 26px; }
.contact .ctas { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 24px 0; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer .heart { color: var(--accent); }
@media (max-width: 640px) { footer .wrap { flex-direction: column; align-items: center; text-align: center; } }
