
:root{--brand:#079bd2;--brand-deep:#061b35;--brand-light:#e5f7ff;--ink:#18344d;--muted:#607b91;--canvas:#edf3f7;--accent:#2ec9ff}
html{scroll-behavior:smooth}body{background:var(--canvas);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);line-height:1.65}a{color:#076eaf}a:hover{color:#00517f}
.navbar{background:#061b35!important;background-image:linear-gradient(105deg,#06172f,#09294b 58%,#061b35)!important;box-shadow:0 4px 20px #03132635;border-bottom:1px solid #164c70;padding:7px 0}.navbar-brand{padding:0;margin-right:1.5rem}.navbar-brand img{display:block;width:300px;height:auto;max-height:58px;object-fit:contain}.navbar .nav-link{color:#e8f6ff!important;border-radius:8px;padding:.55rem .72rem!important;font-weight:500}.navbar .nav-link.active,.navbar .nav-link:hover{background:#ffffff18;color:#48d3ff!important}.navbar-toggler{border-color:#5a8cac}.navbar-toggler-icon{filter:invert(85%) sepia(24%) saturate(1000%) hue-rotate(165deg)}
.hero{background:linear-gradient(118deg,#06172f 0%,#092b50 58%,#0b4168 100%);color:#fff;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:410px;height:410px;right:-140px;top:-180px;border:1px solid #2ec9ff55;border-radius:50%;box-shadow:0 0 0 80px #2ec9ff12,0 0 0 160px #2ec9ff08;pointer-events:none}.hero-inner{padding:69px 0}.hero h1{font-weight:750;line-height:1.15;font-size:clamp(2rem,4vw,3rem)}.hero p{max-width:720px;color:#e3eff6;font-size:1.11rem}.hero-badge{display:inline-flex;gap:9px;align-items:center;background:#2ec9ff16;border:1px solid #2ec9ff70;color:#bceeff;padding:6px 14px;border-radius:30px;font-size:.85rem;margin-bottom:18px}
.main-card{background:#fff;border-radius:20px;padding:clamp(23px,4vw,50px);box-shadow:0 12px 45px #19354b0a;border:1px solid #e2ecf2;margin-top:-25px;position:relative;z-index:1;min-height:260px}.main-card h2{color:#123f65;font-size:1.45rem;font-weight:700;margin-top:1.5rem}.main-card p{margin-bottom:1rem}.main-card img{max-width:100%;height:auto}.main-card table{width:100%;display:block;overflow-x:auto}.main-card td,.main-card th{border-bottom:1px solid #e5eef3;padding:10px}.main-card ul{padding-left:1.4rem}.main-card li{margin:.4rem 0}.main-card a{overflow-wrap:anywhere}
.page-heading{font-weight:750;color:#143b5b;margin-bottom:24px}.section-caption{color:#547891;font-weight:600;text-transform:uppercase;letter-spacing:.09em;font-size:.78rem;margin-bottom:10px}.feature-card,.map-card,.doc-card,.subpage-link{display:flex;text-decoration:none;color:var(--ink);border:1px solid #dae8f1;background:white;border-radius:13px;padding:22px;transition:transform .18s,box-shadow .18s}.feature-card:hover,.map-card:hover,.doc-card:hover,.subpage-link:hover{color:#096c9c;transform:translateY(-2px);box-shadow:0 8px 22px #0a568815}.feature-card{flex-direction:column;min-height:180px}.feature-card strong{font-size:1.12rem}.feature-card span{color:#55758b;margin-top:7px}.map-card{height:100%;flex-direction:column;gap:12px}.map-glyph{font-size:1.7rem;color:var(--brand)}.map-card span:last-child{font-size:.88rem;color:#477d9b}.doc-card{gap:12px;align-items:center;height:100%;padding:18px;font-size:.93rem;overflow-wrap:anywhere}.doc-icon{background:#e5f2fa;color:#0d6fa9;font-weight:800;font-size:.7rem;padding:10px;border-radius:8px}.subpage-link{justify-content:space-between;gap:8px;margin-bottom:10px;padding:13px 18px}.subpage-link span{color:#096aa1}
.site-footer{background:linear-gradient(110deg,#04152b,#08294a 65%,#061b35);color:#c8dce9;margin-top:70px;border-top:2px solid #1598c9}.site-footer a{color:#e6f6ff}.site-footer img{display:block;width:280px;max-width:100%;height:auto;object-fit:contain;background:transparent;border-radius:0}.site-footer-inner{padding:36px 0}.footer-meta{border-top:1px solid #ffffff24;color:#afc5d5;padding:14px 0;font-size:.8rem}
@media(max-width:767px){.hero-inner{padding:40px 0 53px}.main-card{margin-top:-14px}.navbar-brand img{width:230px;max-height:48px}.site-footer{margin-top:38px}}


/* Persistent parent navigation on every internal page */
.page-return{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:22px 0 12px;padding:0 4px}
.page-return a{color:#087eae;text-decoration:none;font-weight:600}
.page-return a:hover{text-decoration:underline;color:#10496f}
.pdf-viewer{display:none;position:fixed;inset:0;z-index:2000}
.pdf-viewer.is-open{display:block}
.pdf-viewer-backdrop{position:absolute;inset:0;background:rgba(7,22,34,.78)}
.pdf-viewer-panel{position:absolute;inset:3vh 3vw;background:#f3f6f8;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 18px 60px #0005}
.pdf-viewer-toolbar{min-height:58px;background:#061b35;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px}
.pdf-viewer-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#pdfFrame{border:0;width:100%;height:100%;background:#e9edf0}
body.pdf-viewer-active{overflow:hidden}
@media(max-width:640px){.page-return{align-items:flex-start;flex-direction:column}.pdf-viewer-panel{inset:0;border-radius:0}.pdf-viewer-toolbar{align-items:flex-start;flex-direction:column}.pdf-viewer-actions{width:100%}.pdf-viewer-actions .btn{flex:1}}


/* Navigation is part of the content card, never hidden behind its negative overlap */
.main-card>.page-return{position:relative;z-index:2;margin:0 0 28px;padding:0 0 14px;border-bottom:1px solid #e5eef3}
.pdf-page-card{padding:clamp(18px,2.5vw,34px)}
.pdf-page-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.pdf-page-toolbar h1{font-size:clamp(1.15rem,2vw,1.6rem);font-weight:700;color:#143b5b;margin:0;overflow-wrap:anywhere}
.pdf-page-actions{display:flex;gap:8px;flex-wrap:wrap}
.pdf-document-frame{display:block;width:100%;height:78vh;min-height:520px;border:1px solid #d7e2e9;border-radius:8px;background:#edf2f5}
@media(max-width:767px){.pdf-page-toolbar{align-items:flex-start;flex-direction:column}.pdf-document-frame{height:72vh;min-height:420px}}


/* RFCOM-style document viewer: pages are pre-rendered WebP images */
.rfcom-viewer-page{margin:0;background:#0c1b28;overflow:hidden;color:#fff}
.rfcom-viewer{position:fixed;inset:14px 8.6vw 14px;background:#2e3d4c;border:1px solid #45627b;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 12px 44px #0007}
.rfcom-toolbar{min-height:73px;background:#08294a;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-bottom:1px solid #54718a}
.rfcom-title{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:25%;color:#fff}
.rfcom-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.rfcom-btn{height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd8e3;border-radius:7px;background:#fff;color:#164b75;padding:0 13px;text-decoration:none;font:inherit;white-space:nowrap;cursor:pointer}
.rfcom-btn:hover:not(:disabled){background:#eaf3fa;color:#0e4169}
.rfcom-btn:disabled,.rfcom-btn.is-disabled{opacity:.45;cursor:default}
.rfcom-doc-btn{min-width:116px}
.rfcom-square{width:42px;padding:0;font-size:22px}
.rfcom-page-count{min-width:44px;text-align:center;color:#fff;font-size:14px}
.rfcom-download{height:54px;padding:0 14px}
.rfcom-close{width:40px;height:40px;padding:0;font-size:27px;font-weight:300}
.rfcom-stage{flex:1;overflow:auto;background:#354555;padding:20px 24px;display:flex;justify-content:center;align-items:flex-start}
.rfcom-page-wrap{width:100%;display:flex;justify-content:center;align-items:flex-start;min-height:100%}
.rfcom-page-wrap img{display:block;width:82%;height:auto;max-width:none;box-shadow:0 3px 18px #0005;background:#fff;transition:width .12s ease}
.rfcom-help{min-height:25px;background:#061b35;color:#bceeff;font-size:12px;padding:4px 12px}
@media(max-width:1100px){.rfcom-viewer{inset:8px}.rfcom-toolbar{align-items:flex-start;flex-direction:column}.rfcom-title{max-width:100%}.rfcom-controls{width:100%;flex-wrap:wrap;justify-content:flex-start}.rfcom-btn{height:38px}.rfcom-download{height:42px}.rfcom-page-wrap img{width:96%}}
@media(max-width:600px){.rfcom-viewer{inset:0;border-radius:0}.rfcom-toolbar{padding:8px}.rfcom-controls{gap:5px}.rfcom-doc-btn{min-width:0;flex:1;padding:0 7px;font-size:12px}.rfcom-square{width:34px}.rfcom-download{font-size:12px;padding:0 8px}.rfcom-close{width:34px;height:36px}.rfcom-stage{padding:10px}.rfcom-page-wrap img{width:100%}}


/* Preview galleries for licenses and network maps */
.license-preview-grid,.map-preview-grid{margin-top:8px}
.license-preview-card{display:flex;height:100%;flex-direction:column;align-items:center;gap:10px;text-decoration:none;color:#28689e}
.license-preview-image{width:100%;height:260px;display:flex;align-items:center;justify-content:center;background:#f7f7f7;border:1px solid #d9d9d9;padding:8px}
.license-preview-image img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.license-preview-title{font-family:Georgia,serif;font-size:18px;text-align:center;line-height:1.3}
.license-preview-card:hover .license-preview-title{text-decoration:underline}
.map-preview-card{height:100%;display:flex;flex-direction:column;align-items:stretch;border:1px solid #d8e0e7;background:#fff;padding:12px;text-decoration:none;color:#225c8d}
.map-preview-open{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit}
.map-preview-image{height:220px;display:flex;align-items:center;justify-content:center;background:#f7f8fa;border:1px solid #d9dfe5;padding:8px;overflow:hidden}
.map-preview-image img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.map-preview-card strong{font-family:Georgia,serif;font-size:20px;font-weight:400;text-align:center;color:#28689e}
.map-preview-action{font-size:14px;text-align:center;color:#27699e}
.map-preview-details{display:block;text-align:center;margin-top:10px;padding-top:9px;border-top:1px solid #e5e9ed;color:#607b91;font-size:13px;text-decoration:none}
.map-preview-card:hover{border-color:#8fb5d3;box-shadow:0 5px 18px #1234}
.map-detail-card{padding:0;overflow:hidden}
.map-detail-card .map-preview-image{width:100%;border:0}
.map-stage{cursor:grab;touch-action:none}
.map-stage.is-dragging{cursor:grabbing}
.map-image-wrap{display:flex;align-items:flex-start;justify-content:center;min-width:100%;min-height:100%;padding:4px}
.map-image-wrap img{display:block;width:auto;height:auto;max-width:none;max-height:none;object-fit:contain;user-select:none;-webkit-user-drag:none;box-shadow:0 3px 18px #0005;background:#fff}
@media(max-width:767px){.license-preview-image{height:210px}.map-preview-image{height:190px}.license-preview-title{font-size:16px}}

/* TPLG identity palette: deep navy, white and luminous cyan */
::selection{background:#2ec9ff55;color:#061b35}
a:focus-visible,button:focus-visible,.btn:focus-visible{outline:2px solid #2ec9ff;outline-offset:3px}
.feature-card:hover,.map-card:hover,.doc-card:hover,.subpage-link:hover{border-color:#7bcfee}
.doc-icon{background:#e4f7ff;color:#087eb2}
.section-caption{color:#087eae}
