/* Aegis Networks. Original artwork, flat surfaces, and a community directory layout. */
:root{color-scheme:dark;--bg:#10161d;--surface:#151e28;--surface-2:#1b2530;--chrome:#0f141a;--line:#34404e;--text:#f2f4f7;--muted:#abb8c8;--yellow:#ffd712;--link:#ffd712;--role-text-base:white}
:root[data-theme=light],:root[data-theme=system]:not(.dark){color-scheme:light;--bg:#f4f6f8;--surface:#fff;--surface-2:#e8edf1;--chrome:#fff;--line:#d7dce1;--text:#1e242c;--muted:#526171;--link:#695800;--role-text-base:black}
*{box-sizing:border-box}
html{scroll-padding-top:30px}
body{margin:0;background:var(--bg);color:var(--text);font-family:Verdana,Geneva,sans-serif;font-size:15px;line-height:1.75;position:relative;isolation:isolate;min-height:100vh;display:flex;flex-direction:column}
body::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("../img/trail.svg") repeat;background-size:1440px 1500px;opacity:.07}
body>main{flex:1}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--link);outline-offset:5px}
img{max-width:100%}
svg{width:20px;height:20px;flex:none;display:inline-block;vertical-align:middle}
.skip{position:absolute;top:-100px;left:20px;z-index:9;background:var(--yellow);color:#000;padding:10px}
.skip:focus{top:10px}

/* Navigation and account */
.site-header{min-height:64px;display:grid;grid-template-columns:minmax(200px,1fr) auto minmax(0,1fr);align-items:center;gap:20px;margin:0;padding:0 28px;border-bottom:1px solid var(--line);width:100%;background:var(--chrome)}
.banner-brand{display:block;width:200px;line-height:0}
.banner-brand img{display:block;width:100%;height:auto;margin:0}
.banner-brand .logo-light{display:none}
:root:not(.dark) .banner-brand .logo-dark{display:none}
:root:not(.dark) .banner-brand .logo-light{display:block}
.site-nav{display:flex;align-self:stretch;align-items:stretch;gap:24px;font-size:14px;font-weight:600;color:var(--muted)}
.site-nav a{display:flex;align-items:center;padding:0 4px;border-bottom:2px solid transparent}
.site-nav a:hover,.text-link:hover,.site-footer a:hover,.world-card h3 a:hover{color:var(--link)}
.site-nav a[aria-current=page]{color:var(--link);border-bottom-color:var(--yellow)}
.header-account{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:0}
.header-cta{border:1px solid var(--line);border-radius:3px;padding:7px 13px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:7px;background:var(--surface);color:var(--text)}
.header-cta:hover{background:var(--surface-2);color:var(--link)}
.user-menu{position:relative}
.user-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center}
.user-menu summary::-webkit-details-marker{display:none}
.user-menu .avatar{width:34px;height:34px;object-fit:cover;display:block;border-radius:50%;background:var(--surface-2)}
.user-menu .dropdown{position:absolute;right:0;top:calc(100% + 14px);width:225px;background:var(--surface);border:1px solid var(--line);z-index:30;box-shadow:0 12px 28px #0003}
.dropdown>a,.dropdown>form>button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:none;border:0;color:var(--text);padding:13px 16px;font-size:14px}
.dropdown svg{color:var(--muted)}
.dropdown>a:hover,.dropdown>form>button:hover{background:var(--surface-2)}
.theme-switch{display:flex;padding:6px;border-block:1px solid var(--line);gap:4px}
.theme-switch button{flex:1;background:none;color:var(--muted);border:0;padding:9px;cursor:pointer}
.theme-switch button:hover,.theme-switch button[aria-pressed=true]{background:var(--surface-2);color:var(--link)}
.theme-switch button[aria-pressed=true] svg{color:var(--link)}

/* Type: local, familiar faces without a webfont download. */
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:"Trebuchet MS",Verdana,sans-serif;font-weight:700;letter-spacing:normal}
h1{font-size:clamp(36px,4.4vw,60px);line-height:1.15;margin-bottom:24px}
h2{font-size:clamp(28px,3vw,38px);line-height:1.25;margin-bottom:0}
em{font-style:normal;color:var(--link)}
.eyebrow{font-size:12px;letter-spacing:.04em;font-weight:400;color:var(--muted);margin:0 0 18px}
.eyebrow>span{display:none}
.lede{max-width:560px;color:var(--muted);font-size:16px;line-height:1.85}
.muted{color:var(--muted)}
.actions{display:flex;align-items:center;gap:24px;margin:28px 0 40px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border:1px solid var(--yellow);font-size:14px;font-weight:700}
.primary{background:var(--yellow);color:#101010}
.primary:hover{background:#ffe768}
.text-link{font-size:14px;border-bottom:1px solid #666;padding:4px 0;display:inline-block}

/* The owner's emblem remains the focus of the home page. */
.hero{max-width:1280px;margin:auto;position:relative;padding:56px 4% 0;display:grid;grid-template-columns:1.1fr 1fr;gap:28px;overflow:hidden;width:100%}
.hero-art{align-self:center;position:relative}
.hero-art img{width:100%;height:auto;display:block}
.hero-art .emblem-light{display:none}
:root:not(.dark) .hero-art .emblem-dark{display:none}
:root:not(.dark) .hero-art .emblem-light{display:block}
.art-label{display:none}
.hero-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-top:1px solid var(--line);font-size:11px;letter-spacing:.03em;color:var(--muted)}
.hero-foot a{color:var(--text);font-size:13px}
.section{max-width:1280px;margin:auto;padding:64px 4%;border-top:1px solid var(--line);width:100%}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:36px;margin-bottom:32px}
.section-head p:last-child{color:var(--muted);font-size:14px;margin-bottom:4px}
.page-head{max-width:1280px;margin:auto;padding:54px 4% 36px;width:100%}
.page-head h1{font-size:clamp(34px,4vw,48px);margin-bottom:18px}
.page-head .lede{max-width:650px;margin-bottom:0}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:22px}
.crumbs a:hover{color:var(--link)}

/* Worlds are a directory, with names kept visible rather than slogan tiles. */
.world-grid{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.world-card{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2fr);gap:40px;padding:28px 0;border-bottom:1px solid var(--line);background:none}
.world-identity,.world-summary{min-width:0}
.world-directory .world-card{grid-template-columns:minmax(360px,1.3fr) minmax(0,1.7fr);align-items:center}
.world-directory .world-identity{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:22px}
.world-directory .world-identity-copy{grid-column:2}
.world-identity-copy{min-width:0}
.world-logo{display:block;grid-column:1;grid-row:1}
.world-logo img{display:block;width:112px;height:112px;object-fit:contain;border-radius:8px;mask-image:linear-gradient(to right,transparent,#000 1%,#000 99%,transparent),linear-gradient(to bottom,transparent,#000 1%,#000 99%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 1%,#000 99%,transparent),linear-gradient(to bottom,transparent,#000 1%,#000 99%,transparent);-webkit-mask-composite:source-in}
.card-top{display:flex;gap:12px;align-items:center;font-size:11px;color:var(--muted);flex-wrap:wrap}
.tag{font-size:12px;color:var(--text)}
.tag::before{content:"/";margin-right:12px;color:#666}
.world-card h3{font-size:26px;line-height:1.3;margin:10px 0 0}
.world-card .world-stage{font-size:12px;color:var(--text);margin:10px 0 0}
.world-card p{color:var(--muted);margin:0 0 14px;max-width:720px}
.card-link{display:inline-flex;align-items:center;gap:12px;font-size:13px;border-bottom:1px solid #666;padding-bottom:3px}
.card-link:hover{color:var(--link)}
.card-link span{color:var(--link)}

/* A quiet proof point between the server directory and the network story. */
.network-numbers{display:grid;grid-template-columns:minmax(250px,.65fr) minmax(0,1.85fr);gap:5%;align-items:end}
.network-numbers-copy h2{font-size:clamp(25px,2.5vw,34px);margin-bottom:12px}
.network-numbers-copy>p:last-child{color:var(--muted);font-size:13px;margin:0;max-width:390px}
.network-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.network-stats>div{min-width:0;border-left:1px solid var(--line);padding:2px 14px 4px}
.network-stats dt{font-family:"Trebuchet MS",Verdana,sans-serif;font-size:clamp(24px,2.5vw,34px);font-weight:700;line-height:1.2;color:var(--link);white-space:nowrap}
.network-stats dd{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.4}

/* Network and technology */
.about{display:grid;grid-template-columns:1fr 1fr;gap:8%}
.about h2{max-width:480px}
.about-copy p{color:var(--muted)}
.large-copy{color:var(--text);font-size:21px;line-height:1.55}
.principles{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:26px}
.principles span{font-size:13px;border-left:2px solid #666;padding-left:10px}
.foundation{background:none}
.tech-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.tech-grid article{padding:0}
.tech-grid article+article{padding-left:28px;border-left:1px solid var(--line)}
.tech-index{color:var(--muted);font-size:11px;letter-spacing:.03em}
.tech-grid h3{font-size:30px;margin:16px 0}
.tech-grid h3 span{display:block;font-family:Verdana,Geneva,sans-serif;font-size:11px;letter-spacing:normal;margin-top:8px;font-weight:400;color:var(--muted)}
.tech-grid p{color:var(--muted);font-size:15px;max-width:360px}

/* Staff colour is the Pelican role colour, with no tinted gradients. */
.team-group+.team-group{margin-top:40px}
.team-group-label{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.03em;margin:0 0 20px;color:var(--text)}
.team-group-label::before{content:"";width:10px;height:10px;background:var(--accent,var(--muted))}
.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(270px,100%),1fr));gap:16px}
.team-card{min-width:0;display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid var(--line);border-top:3px solid var(--accent,var(--muted));background:var(--surface)}
/* The cover sits behind a gradient that turns solid toward the text. */
.team-card.has-cover{background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 62%,transparent) 0%,color-mix(in srgb,var(--surface) 90%,transparent) 55%,var(--surface) 100%),var(--cover) center/cover no-repeat,var(--surface)}
.team-card-head{display:flex;align-items:center;gap:14px;min-width:0}
.team-card-identity{min-width:0}
.team-avatar{width:52px;height:52px;object-fit:cover;flex-shrink:0;border-radius:50%;border:1px solid var(--line);background:var(--surface-2)}
.team-card h3{font-size:17px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.team-role{font-size:12px;line-height:1.4;margin:3px 0 0;color:color-mix(in srgb,var(--accent,var(--muted)) 75%,var(--role-text-base))}
.team-bio{color:var(--muted);font-size:13px;line-height:1.6;margin:0}
.team-other-roles{display:flex;flex-wrap:wrap;gap:6px;margin:0;font-size:11px;line-height:1.5;color:var(--muted)}
.team-other-roles span{border:1px solid var(--line);border-left:2px solid var(--role-accent);padding:1px 7px;background:var(--surface)}
.team-affiliations{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.team-affiliation{display:inline-flex;align-items:center;gap:8px;max-width:100%;border:1px solid var(--line);padding:5px 9px;color:var(--text);background:var(--surface)}
.team-affiliation img,.affiliation-mark{width:22px;height:22px;object-fit:contain;flex-shrink:0}
.team-affiliation>img{border-radius:4px}
.team-affiliation strong{display:block;font-size:12px;font-weight:normal;line-height:1.3}
.team-affiliation small{display:block;font-size:10px;color:var(--muted);line-height:1.3;margin-top:1px}
.team-affiliation.is-network{border-left:2px solid var(--affiliation-accent)}
.team-affiliation:hover{border-color:var(--link)}
.team-affiliation:focus-visible{outline:2px solid var(--link);outline-offset:3px}
.team-roster{max-width:1280px;width:100%;margin:auto;padding:44px 4% 64px}
.team-section+.team-section{margin-top:44px}
.team-section-heading{display:flex;align-items:baseline;gap:12px;border-top:1px solid var(--line);padding-top:18px;margin-bottom:24px}
.team-section-heading h2{font-size:22px;font-weight:normal;line-height:1.4;margin:0}
.team-section-heading>span{font-size:12px;color:var(--muted)}
.team-section-description{max-width:760px;color:var(--muted);font-size:12px;line-height:1.6;margin:-8px 0 24px}
.team-accounts{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;margin:0;padding:0;font-size:12px;line-height:1.5;color:var(--muted)}
.team-accounts li{display:inline-flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}
.team-accounts svg{width:15px;height:15px;flex-shrink:0;color:var(--text)}
.affiliation-logo-light{display:none}
:root:not(.dark) .affiliation-logo-dark{display:none}
:root:not(.dark) .affiliation-logo-light{display:block}
.chips{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:12px}
.chip{border-bottom:1px solid #555;padding:0;font-size:12px;color:var(--muted)}
.chip:hover{border-color:var(--link);color:var(--link)}
.empty{border-top:1px solid var(--line);padding:24px 0;color:var(--muted)}

/* World facts stay beside the world description. */
.world-layout{display:grid;grid-template-columns:2fr 1fr;gap:6%;max-width:1280px;margin:auto;padding:0 4% 64px;width:100%}
.panel-box{border-left:1px solid var(--line);padding:0 0 0 24px;background:none}
.panel-box+.panel-box{margin-top:28px}
.panel-box h3{font-family:Verdana,Geneva,sans-serif;font-size:12px;color:var(--muted);margin-bottom:14px;font-weight:400}
.panel-box p:last-child{margin-bottom:0}
.facts{margin:0;padding:0;list-style:none}
.facts li{display:flex;justify-content:space-between;gap:16px;padding:5px 0;font-size:13px}
.facts span:first-child{color:var(--muted)}
.facts span:last-child{overflow-wrap:anywhere;min-width:0;text-align:right}
.status{display:inline-block;font-size:12px;color:var(--muted)}
.status.live{color:#7ddc9a}
.world-lead{font-size:20px;line-height:1.65;margin-bottom:24px}
.world-banner{display:block;margin:0 0 28px}
.world-banner img{display:block;width:100%;height:auto}
.world-story{min-width:0}
.world-actions{display:flex;gap:18px;flex-wrap:wrap;margin:0 0 30px}
.world-prose,.world-detail-section{color:var(--muted);max-width:760px}
.world-prose p:last-child,.world-detail-section p:last-child{margin-bottom:0}
.world-development-note{border-left:3px solid var(--yellow);padding:0 0 0 20px;margin:30px 0;color:var(--muted)}
.world-development-note h2{font-size:20px;margin:0 0 10px;color:var(--text)}
.world-development-note p{margin:0;font-size:14px}
.world-detail-section{margin-top:32px;padding-top:28px;border-top:1px solid var(--line)}
.world-detail-section h2{font-size:26px;margin-bottom:18px;color:var(--text)}
.world-detail-section ul{padding-left:22px;margin:18px 0 0}
.world-detail-section li+li{margin-top:8px}
.world-details-note{color:var(--muted);font-size:12px;line-height:1.65;margin:18px 0 0}
.server-address{font-family:Consolas,monospace;color:var(--text);font-size:15px;overflow-wrap:anywhere;min-width:0;user-select:all}
.server-connect{margin:0 0 16px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.server-connect-address{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.copy-address{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;padding:0;border:1px solid var(--line);background:none;color:var(--muted)}
.copy-address:hover{background:var(--surface-2);color:var(--text)}
.copy-address svg,.join-server svg{width:16px;height:16px}
.copy-address .copied-icon,.copy-address.is-copied .copy-icon{display:none}
.copy-address.is-copied .copied-icon{display:inline-flex;color:var(--link)}
.join-server{display:inline-flex;align-items:center;gap:7px;font-size:13px;line-height:1.5;color:var(--link);padding:4px 0}
.join-server:hover{text-decoration:underline}
.server-copy-result{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.server-copy-result.copy-failed{position:static;width:auto;height:auto;margin:10px 0 0;clip-path:none;white-space:normal;font-size:12px;color:var(--muted)}

/* Community routes are plain columns with working links where available. */
.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.option{border-top:2px solid var(--line);padding:22px 0 0;display:flex;flex-direction:column;background:none}
.option .tech-index{margin-bottom:14px}
.option h3{font-size:22px;margin-bottom:12px}
.option p{color:var(--muted);flex:1}
.option .note{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;margin:18px 0 0;flex:0}
.option .text-link{align-self:flex-start;margin-top:12px}
.site-footer{padding:16px 28px;margin:0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:25px;width:100%;background:var(--chrome)}
.site-footer .banner-brand{width:160px;flex-shrink:0}
.site-footer p,.site-footer a:not(.banner-brand){font-size:12px;color:var(--muted);margin:0}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}

/* Aegis Watch */
.community-watch{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:6%;margin-top:48px;padding-top:28px;border-top:1px solid var(--line)}
.community-watch h2{font-size:24px;margin:8px 0 0}
.community-watch p{color:var(--muted);margin:0 0 12px;max-width:650px}
.watch-page{max-width:1280px;margin:0 auto;padding:0 4% 72px;width:100%}
.watch-intro{max-width:820px;margin-bottom:30px;color:var(--muted);font-size:17px;line-height:1.75}
.watch-intro p{margin:0}
.watch-faq{max-width:820px}
.watch-faq section{padding-bottom:30px}
.watch-faq section+section{padding-top:30px;border-top:1px solid var(--line)}
.watch-faq h2{margin:0 0 12px;font-size:22px}
.watch-faq p,.watch-faq li{color:var(--muted);font-size:15px;line-height:1.75}
.watch-faq p{margin:0 0 12px}
.watch-faq p:last-child{margin-bottom:0}
.watch-faq ul{margin:14px 0 18px;padding-left:22px}
.watch-faq li+li{margin-top:8px}

@media(max-width:1100px){.site-nav{gap:16px}.hero{gap:16px}.world-layout{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}
@media(max-width:1000px){.site-header{grid-template-columns:minmax(0,1fr) auto;gap:0 20px}.site-nav{grid-row:2;grid-column:1/-1;min-height:37px;justify-content:center;flex-wrap:wrap}.site-nav a{padding:9px 4px}.header-account{grid-column:2;grid-row:1}}
@media(max-width:800px){.section-head{display:block}.section-head>p{margin-top:18px}.about{gap:6%}.option-grid{grid-template-columns:1fr}.world-layout{grid-template-columns:1fr;gap:32px}.panel-box{padding-left:18px}.tech-grid{gap:20px}.tech-grid article+article{padding-left:20px}.world-card{gap:24px;grid-template-columns:minmax(160px,1fr) minmax(0,2fr)}.network-numbers{grid-template-columns:1fr;gap:28px}.network-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px}}
@media(max-width:600px){.site-header{padding:0 18px}.site-header>.banner-brand{width:165px;min-height:64px;display:flex;align-items:center}.site-nav{gap:0 16px;font-size:12px}.hero{grid-template-columns:1fr;padding-top:32px;gap:18px}.hero-art{width:75%;max-width:360px;margin:0 auto 16px}.hero-foot{gap:12px;font-size:10px}.hero-foot>span:nth-child(2){display:none}.hero-foot a{font-size:12px}.actions{margin-bottom:18px}.section{padding-top:40px;padding-bottom:40px}.page-head{padding-top:36px;padding-bottom:28px}.about,.tech-grid{grid-template-columns:1fr}.about-copy{margin-top:24px}.tech-grid article,.tech-grid article+article{padding:0 0 18px;border-left:0;border-bottom:1px solid var(--line)}.world-card{grid-template-columns:1fr;gap:14px;padding:24px 0}.network-stats>div{padding-left:14px}.site-footer{flex-wrap:wrap;padding:16px 18px}.site-footer p{width:100%;order:3}}
@media(max-width:800px){.community-watch{grid-template-columns:1fr;gap:18px}}
@media(max-width:800px){.world-directory .world-card{grid-template-columns:1fr;gap:18px}.world-directory .world-identity{grid-template-columns:96px minmax(0,1fr);gap:18px}.world-logo img{width:96px;height:96px}}
@media(max-width:600px){.world-directory .world-identity{grid-template-columns:80px minmax(0,1fr)}.world-logo img{width:80px;height:80px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Terms of Service and Privacy Policy */
.legal-text{max-width:1280px;margin:0 auto;padding:0 4% 72px;width:100%;color:var(--muted);font-size:15px}
.legal-text>*{max-width:820px}
.legal-text h2{color:var(--text);font-size:21px;font-weight:normal;margin:40px 0 12px;padding-top:20px;border-top:1px solid var(--line)}
.legal-text h2:first-child{margin-top:0}
.legal-text p{margin:0 0 14px}
.legal-text ul{margin:0 0 16px;padding-left:22px}
.legal-text li{margin-bottom:6px}
.legal-text strong{color:var(--text)}
.legal-text a{color:var(--link);border-bottom:1px solid currentColor}
.legal-text a:hover{border-bottom-color:transparent}
