
:root {
  --ink: #eef5ff;
  --muted: #9fb0cb;
  --line: rgba(139, 174, 222, .18);
  --panel: rgba(10, 18, 37, .78);
  --panel-strong: #0b1429;
  --bg: #050814;
  --cyan: #30e7ff;
  --violet: #8b5cff;
  --magenta: #ff4fd8;
  --lime: #b8ff5a;
  --orange: #ffb454;
  --max: 1180px;
  --radius: 24px;
  --shadow: 0 24px 90px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -5%, rgba(48,231,255,.12), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(255,79,216,.10), transparent 34rem),
    linear-gradient(180deg, #050814 0%, #07101e 48%, #050814 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  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: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 8px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; color: #06101d; padding: .8rem 1rem; border-radius: .8rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(5,8,20,.84); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 900; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #04111b; background: linear-gradient(135deg, var(--cyan), var(--lime)); box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 34px rgba(48,231,255,.18); font-size: .78rem; letter-spacing: -.08em; }
.brand-copy { font-size: .98rem; }
.desktop-nav { display: flex; align-items: center; gap: .16rem; }
.desktop-nav a { padding: .64rem .58rem; color: #b9c7da; text-decoration: none; border-radius: 12px; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; background: rgba(255,255,255,.07); }
.nav-cta { display: inline-flex; align-items: center; gap: .45rem; padding: .66rem .9rem; border-radius: 13px; text-decoration: none; font-size: .8rem; font-weight: 850; color: #05101a; background: linear-gradient(120deg, var(--lime), var(--cyan)); }
.menu-button { display: none; appearance: none; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: #fff; width: 44px; height: 44px; border-radius: 13px; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; padding: 0 0 1rem; }
.mobile-menu.open { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.mobile-menu a { text-decoration: none; padding: .78rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); color: #cfdaea; font-weight: 750; }
.mobile-menu a.active { border-color: rgba(48,231,255,.42); color: #fff; }
main { position: relative; overflow: hidden; }
.hero { padding: 5.7rem 0 3.2rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 3.4rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: #d7fff0; border: 1px solid rgba(184,255,90,.22); background: rgba(184,255,90,.07); padding: .38rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px var(--lime); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6.8vw, 5.85rem); margin-bottom: 1.15rem; max-width: 960px; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6rem); }
h2 { font-size: clamp(1.9rem, 4.3vw, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.18rem, 2.3vw, 1.55rem); margin-bottom: .65rem; }
.gradient-text { background: linear-gradient(95deg, #fff 8%, var(--cyan) 43%, var(--lime) 72%, var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: #bbc9dd; font-size: clamp(1.06rem, 1.8vw, 1.28rem); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.7rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.05rem; border-radius: 15px; font-weight: 850; text-decoration: none; border: 1px solid transparent; }
.btn-primary { color: #04111b; background: linear-gradient(120deg, var(--lime), var(--cyan)); box-shadow: 0 15px 42px rgba(48,231,255,.14); }
.btn-secondary { color: #eef5ff; border-color: var(--line); background: rgba(255,255,255,.045); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 6% 8%; filter: blur(60px); background: linear-gradient(135deg, rgba(48,231,255,.22), rgba(255,79,216,.18)); z-index: -1; }
.hero-art img { display: block; border-radius: 30px; border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow); }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: #bdcbe0; padding: .35rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 750; }
.section { padding: 4.3rem 0; }
.section.compact { padding: 2.8rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.7rem; }
.section-head p { color: var(--muted); max-width: 650px; margin: 0; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { position: relative; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(15,27,52,.86), rgba(8,14,29,.78)); border-radius: var(--radius); padding: 1.35rem; box-shadow: 0 20px 54px rgba(0,0,0,.18); overflow: hidden; }
.card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(48,231,255,.11), transparent 70%); pointer-events: none; }
.card:hover { border-color: rgba(48,231,255,.28); transform: translateY(-2px); transition: .2s ease; }
.card p { color: #aebdd2; margin-bottom: 0; }
.card-link { display: inline-flex; margin-top: 1rem; color: #d7fff0; font-weight: 800; text-decoration: none; }
.card-link::after { content: "→"; margin-left: .35rem; }
.icon-tile { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 1rem; background: linear-gradient(135deg, rgba(48,231,255,.18), rgba(139,92,255,.18)); border: 1px solid rgba(48,231,255,.22); font-size: 1.1rem; font-weight: 900; color: var(--cyan); }
.kicker { color: var(--cyan); font-size: .75rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 900; }
.band { border-block: 1px solid var(--line); background: rgba(255,255,255,.025); }
.stack-flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; counter-reset: stack; }
.stack-step { counter-increment: stack; }
.stack-step::before { content: "0" counter(stack); display: inline-flex; color: var(--lime); font-size: .75rem; font-weight: 900; letter-spacing: .12em; margin-bottom: .7rem; }
.logo-cloud { display: flex; flex-wrap: wrap; gap: .65rem; }
.logo-pill { padding: .66rem .8rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); color: #c8d4e4; font-weight: 800; font-size: .85rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: rgba(8,14,29,.72); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #e9f6ff; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.035); }
td { color: #b6c4d8; }
tr:last-child td { border-bottom: 0; }
.page-hero { padding: 4.7rem 0 2.3rem; }
.page-hero h1 { max-width: 970px; font-size: clamp(2.5rem, 5.6vw, 5rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .42rem; color: #7f93af; font-size: .82rem; margin-bottom: 1.35rem; }
.breadcrumbs a { text-decoration: none; color: #9eb0c8; }
.breadcrumbs span:not(:last-child)::after { content: "/"; margin-left: .42rem; color: #53657e; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.3rem; align-items: start; }
.prose { max-width: 790px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.65rem, 3.1vw, 2.45rem); }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: #bdc9da; font-size: 1.03rem; }
.prose p { margin: 0 0 1.15rem; }
.prose a { color: #8ff4ff; font-weight: 720; }
.prose strong { color: #f3f8ff; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 1rem 0 1.4rem; }
.prose li { margin-bottom: .55rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1.1rem 1.25rem; border-left: 3px solid var(--cyan); border-radius: 0 18px 18px 0; background: rgba(48,231,255,.06); color: #dcefff; }
.prose pre { overflow-x: auto; padding: 1.15rem; border: 1px solid var(--line); border-radius: 18px; background: #030711; color: #d9f9ff; font-size: .9rem; line-height: 1.55; }
.prose code:not(pre code) { padding: .13rem .34rem; border-radius: .4rem; background: rgba(255,255,255,.08); color: #e5fbff; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 1rem; }
.sidebar-card { border: 1px solid var(--line); border-radius: 20px; background: rgba(9,16,32,.84); padding: 1.15rem; }
.sidebar-card h2 { font-size: 1rem; letter-spacing: -.01em; margin-bottom: .75rem; }
.sidebar-card a { display: block; text-decoration: none; color: #b9c8dc; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .9rem; }
.sidebar-card a:last-child { border-bottom: 0; }
.notice { border: 1px solid rgba(184,255,90,.22); background: rgba(184,255,90,.055); border-radius: 18px; padding: 1rem 1.1rem; color: #dbeac9; }
.article-hero-image { border-radius: 28px; border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow); margin-top: 1.8rem; width: min(100%, 720px); }
.article-meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: #93a5be; font-size: .84rem; margin-top: 1.2rem; }
.article-meta a { color: #b9c9df; text-decoration: none; }
.post-card { padding: 0; }
.post-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px 22px 0 0; }
.post-card-body { padding: 1.2rem; }
.post-card h3 { font-size: 1.22rem; }
.post-card .meta { color: #7f93af; font-size: .78rem; margin-bottom: .5rem; }
.post-card p { font-size: .92rem; }
.archive-intro { max-width: 820px; }
.faq-list { display: grid; gap: .75rem; }
details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.028); padding: 1rem 1.1rem; }
summary { cursor: pointer; font-weight: 850; color: #eaf3ff; }
details p { color: #adbed3; margin-bottom: .15rem; }
.cta-panel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; padding: 2rem; border: 1px solid rgba(48,231,255,.22); border-radius: 28px; background: linear-gradient(135deg, rgba(48,231,255,.09), rgba(139,92,255,.08), rgba(255,79,216,.07)); }
.cta-panel h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-panel .actions { display: flex; flex-direction: column; gap: .7rem; }
.site-footer { position: relative; border-top: 1px solid var(--line); background: #040711; padding: 3.6rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-grid h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #dfe9f7; }
.footer-grid p { color: #8295af; max-width: 420px; }
.footer-grid a { display: block; color: #9db0c8; text-decoration: none; padding: .28rem 0; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.15rem; color: #70839c; font-size: .78rem; }
.disclaimer { color: #778aa4; font-size: .82rem; }
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .nav-cta { display: none; }
  .menu-button { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 780px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stack-flow { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 1.2rem), var(--max)); }
  .brand-copy { font-size: .86rem; }
  .hero { padding-top: 3.8rem; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .section { padding: 3.2rem 0; }
  .section-head { display: block; }
  .grid-2, .grid-3, .grid-4, .stack-flow, .cta-panel, .footer-grid { grid-template-columns: 1fr; }
  .mobile-menu.open { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .hero-actions .btn { width: 100%; }
  .article-meta { display: grid; gap: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
