:root {
    color-scheme: dark;
    --bg: #080e1a;
    --panel: #101b30;
    --line: #263954;
    --blue: #75bdff;
    --text: #eef5ff;
    --muted: #a8bad5;
    font: 100%/1.6 "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--text); background: radial-gradient(ellipse at 65% 0, #122341 0%, transparent 55%), var(--bg); }
a { color: var(--blue); text-underline-offset: 0.22em; }
a:hover { color: #d4ecff; }
:focus-visible { outline: 3px solid #a9dbff; outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 10; padding: 0.55rem; background: #080e1a; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-head { border-bottom: 1px solid var(--line); background: #0b1322e8; backdrop-filter: blur(20px); }
.head-inner { min-height: 5rem; display: flex; gap: 1.35rem; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; gap: .7rem; align-items: center; font-size: 1.04rem; font-weight: 800; line-height: 1.05; white-space: nowrap; letter-spacing: .1em; text-decoration: none; color: var(--text); }
.wordmark strong { color: #7bc4ff; }
.wordmark small { display: block; margin-top: .31rem; color: var(--muted); font-size: .69rem; letter-spacing: .16em; }
.brand-mark { position: relative; width: 2.35rem; height: 2.35rem; display: grid; place-items: center; background: #17365b; border: 1px solid #4279ad; border-radius: .56rem; }
.brand-mark i, .brand-mark i::after { display: block; width: .24rem; height: 1.36rem; border-radius: .08rem; background: #93d5ff; transform: rotate(40deg); }
.brand-mark i::after { content: ""; transform: rotate(100deg); }
#primary-nav { display: flex; gap: .2rem; flex-wrap: wrap; }
#primary-nav a, .language a { display: inline-block; text-decoration: none; color: var(--muted); font-size: .9rem; padding: .43rem .54rem; border-radius: .36rem; }
#primary-nav a[aria-current], #primary-nav a:hover, .language a[aria-current], .language a:hover { background: #172a47; color: #baddff; }
.language { display: flex; gap: .15rem; }
.nav-toggle { display: none; }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 30rem; overflow: hidden; border: 1px solid #345276; border-radius: 1.15rem; margin-top: 2.25rem; background: #0b162a; box-shadow: 0 16px 55px #02050c65; }
.hero-art { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b162a 13%, #0b162af0 36%, #0b162a1c 70%), url("/assets/operator.png") right center / auto 100% no-repeat; }
.hero-content { max-width: 42rem; padding: 3rem clamp(1.45rem, 6vw, 4.25rem); }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: #a3d5ff; font-size: .87rem; font-weight: 700; letter-spacing: .16em; }
.eyebrow span { width: .48rem; height: .48rem; background: #73c4ff; border-radius: 50%; box-shadow: 0 0 14px #70b8ff; flex-shrink: 0; }
h1, h2, h3, p { margin: 0 0 .8rem; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.045em; }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: .98; font-weight: 850; letter-spacing: -.065em; margin: 1rem 0; }
.hero h1 span { display: block; color: #73bcff; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); letter-spacing: -.025em; }
h3 { font-size: 1.15rem; }
.hero p:not(.eyebrow) { max-width: 29rem; font-size: 1.07rem; }
p { color: var(--muted); }
.actions, .page-links { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button, button { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; padding: .64rem 1rem; border: 1px solid #8bcaff; border-radius: .5rem; background: #81c4ff; color: #081728; font: inherit; font-weight: 750; text-decoration: none; text-align: center; cursor: pointer; }
.button:hover, button:hover { color: #071522; background: #b4deff; }
.secondary, .nav-toggle { background: #142744; color: #cfebff; border-color: #3a5c86; }
.secondary:hover, .nav-toggle:hover { background: #1c3c61; color: white; }
.section, .page { margin-block: 2.4rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
.tile, .panel, .community, .sponsors { padding: clamp(1.25rem, 4vw, 2rem); background: linear-gradient(155deg, #14223be8, #0e1728e8); border: 1px solid var(--line); border-radius: .9rem; backdrop-filter: blur(14px); }
.tile { text-decoration: none; color: var(--text); }
.tile:hover { border-color: #64a5e0; }
.tile p { margin-bottom: 0; }
.tile-icon { display: grid; place-items: center; margin-bottom: 1rem; width: 2.25rem; height: 2.25rem; color: #a6d8ff; background: #183153; border: 1px solid #2b4c73; border-radius: .5rem; font-size: 1.33rem; }
.community .actions { margin-top: 1rem; }
.page { min-height: 18rem; }
.page > p { max-width: 55ch; }
.page form { margin-block: 1rem; }
.page form h2 { margin-bottom: 1rem; }
.fields { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; max-width: 38rem; }
input, textarea { width: 100%; background: #091323; color: var(--text); border: 1px solid #415980; border-radius: .45rem; padding: .64rem; font: inherit; }
input::placeholder { color: #9baecb; }
.fields + h2, .table-scroll + h2 { margin-top: 2rem; }
.notice, .key-card { margin-top: 1.25rem; padding: .9rem 1rem; border: 1px solid #426895; border-radius: .5rem; color: #d2eaff; background: #142943; }
.key-card p { margin: .5rem 0 0; }
output { font: 700 1.25rem Consolas, ui-monospace, monospace; overflow-wrap: anywhere; }
.guide details { border-bottom: 1px solid var(--line); padding: .75rem 0; }
.guide summary { cursor: pointer; font-weight: 700; }
.guide p { margin: .5rem 0 0; }
.announcement { white-space: pre-wrap; overflow-wrap: anywhere; }
.ad-grid { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.ad-slot { max-width: 100%; }
.placement-probe { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ad-slot iframe { border: 0; display: block; width: min(32rem, 78vw); height: 15.625rem; background: #0b1322; border-radius: .4rem; }
.ad-slot[data-format="banner"] { width: min(300px, 100%); }
.ad-slot[data-format="banner"] iframe { width: 300px; height: 250px; }
.ad-slot[data-format="responsive-banner"] { flex: 1 1 min(100%, 24rem); }
.ad-slot[data-format="responsive-banner"] iframe { width: 100%; height: 7rem; }
.ad-slot[data-format="social"] iframe, .ad-slot[data-format="popunder"] iframe { height: 10rem; }
.sponsor-link { display: inline-block; margin-top: .85rem; }
.ad-slot[data-format="native"] { flex: 1 1 min(24rem, 100%); }
.ad-slot[data-format="native"] iframe { width: 100%; }
.ad-slot[data-format="banner"]:not(:has(iframe:not([hidden]))) { display: none; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.75rem; }
.footer-inner { display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .9rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: .5rem; border-bottom: 1px solid var(--line); }
td form { margin: 0 !important; }
@media (max-width: 60rem) {
    .wrap { width: min(100% - 2rem, 76rem); }
    .head-inner { flex-wrap: wrap; gap: .6rem; min-height: 4rem; padding-block: .7rem; }
    #primary-nav { order: 4; width: 100%; }
    .language { margin-left: auto; }
    .has-js .nav-toggle { display: inline-flex; order: 3; }
    .has-js #primary-nav:not(.is-open) { display: none; }
}
@media (max-width: 42rem) {
    .hero { min-height: 32rem; align-items: flex-end; margin-top: 1.15rem; }
    .hero-art { background: linear-gradient(0deg, #0b162a 5%, #0b162ae8 34%, #0b162a12 80%), url("/assets/operator.png") 74% top / auto 77% no-repeat; }
    .hero-content { padding-block: 2rem; }
    .tiles { grid-template-columns: 1fr; }
    #primary-nav a { min-height: 2.65rem; }
    .gateway-form > button { width: 100%; }
}
.tutorial-editor { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.tutorial-editor summary { cursor: pointer; font-weight: 650; overflow-wrap: anywhere; }
.tutorial-editor .fields > label { width: 100%; }
.tutorial-editor select { display: block; width: 100%; font: inherit; }
.check-label input { width: auto; margin: 0 .4rem 0 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.video-card { border: 1px solid var(--line); border-radius: .7rem; padding: 1rem; }
.video-card h3 { overflow-wrap: anywhere; }
.video-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; margin-top: 1rem; background: #0b1322; }
button:disabled { opacity: .6; cursor: not-allowed; }
