:root {
  color-scheme: dark;
  --background: #020b1c;
  --surface: #061a35;
  --blue: #0078d4;
  --cyan: #00d4ff;
  --text: #fff;
  --muted: #a0b1c9;
  --border: #193854;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
::selection { background: #0078d4; color: white; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 3; border-bottom: 1px solid #ffffff08; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 88px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 650; letter-spacing: 4px; }
.brand img { width: 22px; height: 28px; }
.header-actions, .navigation { display: flex; align-items: center; }
.navigation { gap: 34px; }
.navigation a { font-size: 13px; color: #bdc9db; transition: color .2s; }
.navigation a:hover { color: var(--cyan); }
.header-actions { gap: 30px; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; background: transparent; border: 1px solid transparent; color: #c1d1e5; border-radius: 8px; }
.icon-button:hover { background: #ffffff08; border-color: var(--border); color: white; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.search-button { position: relative; }
.search-button::before { content: ""; position: absolute; left: -16px; height: 18px; width: 1px; background: var(--border); }
.hero-region { position: relative; isolation: isolate; overflow: hidden; }
.hero-region::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(ellipse at 50% 35%, #07335d66, transparent 49%), radial-gradient(ellipse at 5% 57%, #00549d22, transparent 40%); }
.waves { position: absolute; z-index: -1; width: 100%; height: 640px; top: 50px; left: 0; pointer-events: none; opacity: .78; }
.hero { text-align: center; padding-top: 54px; padding-bottom: 68px; }
.hero-mark { display: block; width: 120px; height: 138px; margin: 12px auto 24px; filter: drop-shadow(0 0 18px #008dda20); }
.hero-wordmark { margin: 0; font-size: 25px; font-weight: 600; letter-spacing: 10px; padding-left: 10px; }
.accent-line { width: 32px; height: 2px; margin: 25px auto 31px; background: var(--cyan); box-shadow: 0 0 12px #00d4ff55; }
h1 { margin: 0; font-size: clamp(36px, 4.7vw, 62px); font-weight: 600; line-height: 1.16; letter-spacing: -2.3px; }
h1 span { color: var(--cyan); background: linear-gradient(110deg, #218ffd, #00d4ff); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 545px; margin: 22px auto 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; padding-bottom: 49px; }
.category-card { position: relative; min-height: 204px; padding: 25px 24px; border: 1px solid var(--border); border-radius: 10px; background: linear-gradient(125deg, #0b234077, #06142899); backdrop-filter: blur(12px); transition: border-color .2s, transform .2s, background .2s; }
.category-card:hover { border-color: #008ccf; transform: translateY(-4px); background: #0a274788; }
.category-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.category-top .icon { color: #21b9f2; width: 29px; height: 29px; stroke-width: 1.4; }
.category-card h2 { font-size: 16px; font-weight: 550; margin: 0; letter-spacing: -.2px; }
.category-card p { margin: 10px 0 0; padding-right: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.card-arrow { position: absolute; right: 20px; bottom: 21px; color: #5197c5; }
.card-arrow .icon { width: 15px; height: 15px; }
.tech-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 25px; padding: 0 0 35px; color: #6f87a4; font-size: 10px; letter-spacing: 1.5px; }
.tech-strip .separator { width: 3px; height: 3px; background: #31516d; border-radius: 50%; }
.page-content { padding-block: 70px 100px; background: radial-gradient(ellipse at 50% 0, #07335d44, transparent 70%); }
.back-link { display: inline-block; margin-bottom: 42px; color: #47bbee; font-size: 13px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.navigation a[aria-current="page"] { color: var(--cyan); }
.section-intro { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 12px 0 0; max-width: 560px; }
footer { border-top: 1px solid #132940; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.footer-brand { font-size: 11px; letter-spacing: 3px; font-weight: 600; }
footer p, footer a { font-size: 10px; color: #7690ac; margin: 0; }
footer a:hover { color: var(--cyan); }
dialog { width: min(560px, calc(100% - 32px)); max-height: 80dvh; padding: 26px; background: #061a35; color: white; border: 1px solid #245675; border-radius: 12px; box-shadow: 0 25px 100px #0008; }
dialog::backdrop { background: #020b1cdc; backdrop-filter: blur(7px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.dialog-heading h2 { font-size: 20px; margin: 0; font-weight: 550; }
.search-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
#search-input { width: 100%; padding: 13px 14px; border: 1px solid #2c587b; background: var(--background); color: white; border-radius: 6px; }
.search-status { color: var(--muted); font-size: 12px; margin: 17px 0; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results a { display: block; padding: 13px 10px; border-top: 1px solid var(--border); font-size: 14px; }
.search-results a:hover { color: var(--cyan); background: #ffffff05; }
.search-results small { display: block; color: var(--muted); margin-top: 5px; font-size: 11px; }
body:has(dialog[open]) { overflow: hidden; }
@media (min-width: 1600px) {
  .hero { padding-top: 75px; padding-bottom: 82px; }
  .hero-mark { width: 140px; height: 160px; }
  .waves { height: 720px; }
}
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .categories { gap: 12px; }
  .category-card { padding: 22px 17px; }
  .category-card h2 { font-size: 14px; }
  .navigation { gap: 24px; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 74px; gap: 12px; }
  .brand { font-size: 14px; letter-spacing: 3px; }
  .header-actions { gap: 8px; }
  .search-button::before { display: none; }
  .navigation { gap: 0; }
  .navigation a { padding: 8px; }
  .hero { padding: 40px 0 45px; }
  .hero-mark { width: 100px; height: 116px; margin-top: 28px; }
  .hero-wordmark { font-size: 21px; letter-spacing: 8px; padding-left: 8px; }
  h1 { letter-spacing: -1.4px; }
  .hero-description { font-size: 14px; max-width: 460px; }
  .waves { width: 180%; left: -40%; top: 55px; height: 520px; opacity: .55; }
  .categories { grid-template-columns: 1fr; padding-bottom: 32px; }
  .category-card { min-height: 184px; padding: 23px; }
  .category-card h2 { font-size: 16px; }
  .tech-strip { gap: 14px; font-size: 9px; letter-spacing: 1px; }
  .page-content { padding-block: 45px 70px; }
  .footer-inner { flex-wrap: wrap; gap: 15px; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 36px); }
  .brand img { width: 18px; }
  .brand { gap: 8px; font-size: 12px; }
  .navigation a { padding: 6px; font-size: 12px; }
  h1 { font-size: 35px; }
  .hero-description { padding-inline: 5px; }
  .categories { grid-template-columns: 1fr; }
  .category-top { margin-bottom: 18px; }
  .tech-strip { gap: 10px; }
  .tech-strip .separator { display: none; }
  .footer-inner p { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
