:root { --rg-night:#111a30; --rg-ink:#172340; --rg-mist:#eef0e9; --rg-line:#c9cec5; --rg-neon:#dbec9b; --rg-paper:#f8f9f3; }
.ridge { background:var(--rg-paper); }
.rg-shell { width:min(93%,1320px); margin-inline:auto; }
.rg-header { color:white; background:var(--rg-night); position:relative; z-index:4; border-bottom:1px solid #536077; }
.rg-header__inner { min-height:78px; display:flex; align-items:center; gap:clamp(1rem,3vw,3rem); }
.rg-brand { display:flex; gap:12px; align-items:center; flex:0 0 auto; color:white; text-decoration:none; }
.rg-brand strong, .rg-brand small { display:block; line-height:1.2; }
.rg-brand strong { font-weight:780; font-size:clamp(.98rem,1.65vw,1.4rem); letter-spacing:.08em; }
.rg-brand small { margin-top:4px; color:#dbe5ed; font-size:.63rem; letter-spacing:.14em; }
.rg-symbol { position:relative; display:block; width:38px; height:35px; border:1px solid var(--rg-neon); }
.rg-symbol::before,.rg-symbol::after { content:""; position:absolute; inset:8px 5px; background:var(--rg-neon); clip-path:polygon(0 100%,33% 22%,48% 54%,72% 0,100% 100%,90% 100%,72% 25%,48% 76%,34% 47%,10% 100%); }
.rg-symbol::after { transform:translateY(5px) scale(.76); opacity:.5; }
.rg-nav { margin-inline-start:auto; }
.rg-nav ul { list-style:none; display:flex; align-items:center; margin:0; padding:0; gap:clamp(.5rem,1.33vw,1.6rem); }
.rg-nav li { display:flex; align-items:center; position:relative; }
.rg-nav a { color:inherit; display:block; font-weight:680; font-size:.88rem; text-decoration:none; padding-block:.7rem; white-space:nowrap; }
.rg-nav a:hover,.rg-nav a[aria-current] { color:var(--rg-neon); }
.rg-nav summary { list-style:none; cursor:pointer; width:24px; height:30px; display:grid; place-items:center; }
.rg-nav summary::-webkit-details-marker { display:none; }
.rg-nav summary::before { content:""; border:solid currentColor; border-width:0 1px 1px 0; width:6px; height:6px; transform:rotate(45deg); }
.rg-nav details ul { position:absolute; top:100%; left:0; display:block; min-width:12rem; padding:.4rem .9rem; background:#202d48; box-shadow:0 10px 20px #111a304d; }
.rg-tools { display:flex; gap:.65rem; align-items:center; }
.rg-tools a,.rg-menu { min-width:40px; height:40px; display:grid; place-items:center; color:white; border:1px solid #65748c; background:transparent; text-decoration:none; }
.rg-tools a:hover,.rg-menu:hover { border-color:var(--rg-neon); color:var(--rg-neon); }
.rg-lang { font-size:.78rem; padding-inline:.45rem; font-weight:760; }
.rg-search span { position:relative; width:13px; height:13px; border:1.6px solid currentColor; border-radius:50%; }
.rg-search span::after { content:""; width:6px; height:1px; background:currentColor; position:absolute; right:-5px; bottom:-3px; transform:rotate(45deg); }
.rg-menu[hidden],.rg-carousel[hidden],.rg-hero__images img[hidden],.rg-menu:not([hidden]) { display:none; }
.rg-menu > span:first-child { width:16px; height:12px; border-block:1px solid; }
.rg-home { padding:0; max-width:none; }
.rg-hero { position:relative; isolation:isolate; display:grid; min-height:clamp(34rem,47vw,46rem); color:white; background:#222c45; }
.rg-hero__images,.rg-hero::after { position:absolute; inset:0; z-index:-1; }
.rg-hero__images img { width:100%; height:100%; object-fit:cover; object-position:67% center; }
.rg-hero::after { content:""; background:linear-gradient(90deg,#0b1326f2 0%,#0b1326ae 32%,#0b132628 70%,transparent 100%),linear-gradient(0deg,#0b13267d,transparent 30%); pointer-events:none; }
.rg-hero__inner { position:relative; display:flex; align-items:center; padding-block:5rem 6.5rem; }
.rg-hero__copy { width:min(100%,800px); }
.rg-overline { color:var(--rg-neon); font-size:.81rem; font-weight:760; letter-spacing:.2em; margin:0 0 1.3rem; }
.rg-overline::before { content:""; width:1.5rem; height:1px; background:currentColor; display:inline-block; vertical-align:middle; margin-right:.7rem; }
.rg-hero h1 { color:white; font-size:clamp(3.6rem,7.7vw,7.3rem); line-height:.98; letter-spacing:-.065em; font-weight:790; margin:0 0 1.45rem; }
.rg-hero__copy > p:not(.rg-overline) { width:min(32rem,100%); line-height:1.8; font-size:1.03rem; margin-bottom:1.65rem; color:#ebeff7; }
.rg-hero__links { display:flex; flex-wrap:wrap; gap:.65rem; }
.rg-action,.rg-secondary { display:inline-flex; align-items:center; min-height:48px; padding:.54rem 1rem; text-decoration:none; font-weight:740; }
.rg-action { background:var(--rg-neon); color:var(--rg-night); }
.rg-action:hover { background:#eef9c3; }
.rg-secondary { color:white; border:1px solid #dce4f0b0; background:#111a307d; }
.rg-secondary:hover { border-color:white; background:var(--rg-night); }
.rg-carousel { position:absolute; right:0; bottom:1.55rem; display:flex; align-items:center; color:white; background:#111a30e6; border:1px solid #dce4f0a6; }
.rg-carousel button { width:40px; height:40px; color:white; background:transparent; border:0; cursor:pointer; font-size:1.45rem; line-height:1; }
.rg-carousel button:hover { background:var(--rg-neon); color:var(--rg-night); }
.rg-carousel output { font:700 .76rem ui-monospace,monospace; padding:0 .45rem; }
.rg-index { color:var(--rg-ink); background:var(--rg-mist); border-bottom:1px solid var(--rg-line); }
.rg-index__grid { display:grid; grid-template-columns:repeat(4,1fr); border-inline-end:1px solid var(--rg-line); }
.rg-index a { display:grid; gap:.3rem; color:inherit; padding:1.45rem clamp(.75rem,2.6vw,2rem); border-inline-start:1px solid var(--rg-line); text-decoration:none; }
.rg-index a:hover { background:var(--rg-neon); }
.rg-index strong { font-size:clamp(.98rem,1.6vw,1.28rem); font-weight:800; }
.rg-index span { color:#4b5464; font-size:.86rem; }
.rg-home__section { padding:clamp(2.4rem,5vw,5.25rem) 0; }
.rg-home__section + .rg-home__section { border-top:1px solid #dce1d7; }
.rg-home__section:nth-of-type(odd) { background:var(--rg-mist); }
.rg-home__section .home-section { margin-block:0; }
.rg-home__section .home-section__title { font-size:clamp(1.8rem,3.9vw,3.6rem); letter-spacing:-.047em; }
.ridge .site-footer { background:var(--rg-night); color:#f6f8ee; border-top:4px solid var(--rg-neon); }
.ridge .site-footer a { color:#ebf1e9; }
.ridge .site-footer a:hover { color:var(--rg-neon); }
.ridge :focus-visible { outline:2px solid #738928; outline-offset:3px; }
.rg-header :focus-visible,.rg-hero :focus-visible { outline-color:var(--rg-neon); }
@media (max-width:1080px) {
    .rg-header__inner { gap:1rem; }
    .rg-tools { margin-inline-start:auto; }
    .rg-menu:not([hidden]) { display:grid; }
    .rg-nav--interactive:not(.rg-nav--open) { display:none; }
    .rg-nav { position:absolute; top:100%; inset-inline:0; background:#1b2842; padding:.5rem 4vw 1rem; margin:0; }
    .rg-nav > ul { display:block; }
    .rg-nav > ul > li { border-bottom:1px solid #5a687e; justify-content:space-between; }
    .rg-nav a { white-space:normal; }
    .rg-nav details ul { position:static; box-shadow:none; }
}
@media (max-width:650px) {
    .rg-shell { width:calc(100% - 2rem); }
    .rg-header__inner { min-height:68px; gap:.35rem; }
    .rg-brand { gap:8px; }
    .rg-brand small { font-size:.54rem; letter-spacing:.08em; }
    .rg-symbol { width:31px; height:30px; }
    .rg-tools { gap:.3rem; }
    .rg-tools a,.rg-menu { min-width:34px; height:38px; }
    .rg-hero { min-height:36rem; }
    .rg-hero__images img { object-position:65% center; }
    .rg-hero::after { background:linear-gradient(90deg,#0b1326de,#0b132658),linear-gradient(0deg,#0b1326a2,transparent 55%); }
    .rg-hero__inner { padding-block:3rem 6rem; }
    .rg-hero h1 { font-size:clamp(2.8rem,12vw,4.15rem); }
    .rg-hero__copy > p:not(.rg-overline) { font-size:.96rem; }
    .rg-index__grid { grid-template-columns:repeat(2,1fr); }
    .rg-index a:nth-child(-n+2) { border-bottom:1px solid var(--rg-line); }
    .rg-index a { padding:.85rem .65rem; }
}
.sh-wrap { width:min(92%,760px); margin-inline:auto; }
.sh-runtime { color:var(--rg-ink); background:var(--rg-mist); }
.sh-runtime__mast { background:var(--rg-night); color:white; padding:1.1rem 0; }
.sh-runtime__mast a { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; color:white; text-decoration:none; font-weight:750; }
.sh-runtime__mast small { color:var(--rg-neon); }
.sh-runtime__panel { margin:2.5rem auto; background:var(--rg-paper); padding:clamp(1rem,4vw,3rem); border-top:5px solid #637344; }
.ridge .rg-study-table { width:100%; border-collapse:collapse; background:white; margin-block:1.5rem; }
.ridge .rg-study-table caption { text-align:left; padding:.6rem .85rem; background:#e7edd4; font-weight:760; }
.ridge .rg-study-table th,.ridge .rg-study-table td { padding:.7rem .85rem; border:1px solid #c9cec5; text-align:left; vertical-align:top; }
.ridge .rg-study-table thead { background:var(--rg-night); color:white; }
