/* The approved Cairo and navy-glass theme. Reading content and routes are unchanged. */
:root{
  --bg:#f6fafe;--paper:#fcfdff;--ink:#132c4a;--muted:#2e4963;
  --line:#cedeea;--nav:#102744;--dark:#08172c;--mint:#b9ebe2;--green:#075b59;
  --sg-ice:#dcebf7;--sg-ink:#132c4a;--sg-muted:#2b4863;--sg-edge:#a6c2d7;
  --sg-glass:linear-gradient(153deg,#ffffff 0%,#f4f9fe 56%,#e1edf9 100%);
  --sg-glass-shadow:inset 0 1px 0 #ffffffdb,0 8px 20px #25486a18;
  --sg-hero:radial-gradient(ellipse at 11% 8%,#38698e80 0%,transparent 42%),
    radial-gradient(ellipse at 86% 95%,#20506b91 0%,transparent 46%),
    linear-gradient(135deg,#0d213a 0%,#07172d 48%,#153551 100%);
  --sg-navy:linear-gradient(151deg,#244e70,#142c4a 88%);
  --sg-gold:linear-gradient(163deg,#fff0c4 0%,#ffd89a 49%,#f5bd79 100%);
  color-scheme:light;
}
body{font-family:Cairo,Tahoma,Arial,sans-serif;color:var(--ink);font-weight:500}
button,input,select,textarea{font-family:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#0a706d}
#site-header{
  background:linear-gradient(120deg,#f6fbff 0%,#f9fcff 64%,#e9f3fc 100%);
  border-color:#c7d9e8;box-shadow:0 4px 16px #17324e13;
}
#site-header .site-nav .quick-link,.site-language,.site-back{
  background:var(--sg-glass);border-color:var(--sg-edge);
}
.site-language button[aria-pressed="true"],.top-query button,.search-main .search-inline .btn{
  background:var(--sg-navy);color:#fff;
}
.top-query,.top-query input{background:#f8fcff}
.top-query{border-color:#afc8dc}
.top-query input::placeholder{color:#38536e;opacity:1}
.home-hero{
  position:relative;overflow:hidden;
  background:var(--sg-hero);border-block-end:1px solid #244d70;color:white;
}
.home-hero-grid{
  grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);
  min-height:478px;gap:clamp(22px,4.8vw,70px);
  padding-block:50px 53px;
}
.home-copy{position:relative;z-index:1;padding:0;min-width:0}
.home-flag{color:#c8f1e9;font-size:clamp(.83rem,1.7vw,1.02rem);margin-block-end:7px}
.home-flag>span{background:#aee9df}
.home-copy h1{color:#fff;font-size:clamp(2.55rem,6.5vw,5.2rem);font-weight:900;line-height:1.19;letter-spacing:normal;overflow-wrap:anywhere}
.home-copy p{color:#fff;margin-block:13px 20px;max-width:42ch;font-size:clamp(1.08rem,1.9vw,1.24rem);font-weight:650;line-height:1.83}
.home-actions{gap:9px}
.home-actions a{font-size:clamp(.83rem,1.25vw,.97rem);padding:7px 14px;min-height:48px;border-radius:999px}
.home-actions .home-task-link,.home-actions .home-task-link:hover{
  background:var(--sg-gold);color:#1b2c42;border:1px solid #ffebc0;
  box-shadow:inset 0 1px 0 #fff8e7cc,0 8px 22px #050d1d53;
}
.home-actions .home-task-link:hover{background:#fff0c4}
.home-actions .home-secondary{
  color:#ecf7ff;background:linear-gradient(153deg,#d3ebff2e,#bcd7ee0e);
  border:1px solid #a6c9e68c;box-shadow:inset 0 1px 0 #d3ebff46;
}
.home-actions .home-secondary:hover{background:#315578}
.home-hero a:focus-visible{outline-color:#fff}
.home-portrait{
  position:relative;isolation:isolate;display:block;align-self:center;
  width:100%;max-width:500px;justify-self:center;
}
.home-portrait-panel{
  position:relative;z-index:2;width:96%;aspect-ratio:1.37;margin-inline:auto;overflow:hidden;
  display:flex;align-items:flex-end;justify-content:center;border-radius:25px;
  background:linear-gradient(152deg,#f0f8ff 0%,#e6f1fa 36%,#cbdcee 100%);
  border:1px solid #e4f8ff;box-shadow:inset 0 1px 1px #ffffffcf,0 18px 40px #020a194d;
}
.home-portrait-panel img{
  display:block;flex:none;width:108%;max-width:none;height:auto;max-height:none;
  transform:translateX(5%);object-fit:contain;object-position:bottom;
  clip-path:polygon(0 0,100% 0,100% 16%,51% 16%,51% 26.5%,100% 26.5%,100% 100%,0 100%);
}
.home-portrait .home-arch{
  position:absolute;z-index:0;inset:auto;inset-block-start:-10%;inset-inline-start:-4%;
  width:40%;height:34%;border:1px solid #c6e7fc60;border-radius:40px;
  background:linear-gradient(154deg,#c4e4f4,#7aa6cb);
}
.home-portrait-orb{
  position:absolute;inset-block-end:-13%;inset-inline-end:-6%;width:41%;aspect-ratio:1;
  background:linear-gradient(145deg,#ffdea5,#c79f64);border-radius:50%;
}
.home-portrait-ribbon{
  position:absolute;inset-inline-start:-7%;inset-block-end:8%;width:29%;aspect-ratio:1;
  background:linear-gradient(160deg,#a2e7d7,#4f9c92);border-radius:32px;
  transform:rotate(-12deg);
}
/* Existing tasks are featured without duplicating or replacing their content. */
.home-featured{padding-block:35px 40px}
.home-section-head{
  display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;justify-content:space-between;
  margin-block-end:13px;
}
.home-section-head h2,.home-stations-head h2,.home-search-grid h2{
  color:var(--ink);font-size:clamp(1.45rem,3.1vw,2.15rem);font-weight:900;
}
.home-feature-all{
  min-height:44px;display:inline-flex;align-items:center;gap:8px;
  font-weight:800;color:#075b59;text-decoration:underline;text-underline-offset:4px;
}
.home-feature-all svg,.home-feature-copy svg{width:19px;height:19px;flex:none}
.home-feature-grid{
  list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;
}
.home-feature-grid li{min-width:0;display:flex}
.home-feature-card{
  flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;
  background:var(--sg-glass);border:1px solid var(--sg-edge);border-radius:16px;
  box-shadow:var(--sg-glass-shadow);color:var(--sg-ink);
}
.home-feature-card:hover{border-color:#658ca8;background:#e8f3fc}
.home-feature-scene{
  display:block;aspect-ratio:1.88;background:#d9e9f5 url("../illustrations/home-task-scenes.webp") 0 0/300% auto no-repeat;
}
.home-feature-waste .home-feature-scene{background-position:0 50%}
.home-feature-report .home-feature-scene{background-position:50% 50%}
.home-feature-copy{
  flex:1;display:grid;align-items:center;grid-template-columns:auto minmax(0,1fr) auto;
  min-height:76px;gap:10px;padding:11px 13px;line-height:1.5;overflow-wrap:anywhere;
}
.home-feature-copy strong{font-size:clamp(.93rem,1.45vw,1.08rem);font-weight:850}
.home-feature-icon{
  display:grid;place-items:center;width:35px;height:35px;color:#075b59;
  border-radius:9px;background:linear-gradient(150deg,#fff,#d5efeb);border:1px solid #b4ded7;
}
.home-search-band{
  background:radial-gradient(ellipse at 3% 17%,#c3e2ef 0%,transparent 60%),linear-gradient(130deg,#ecf7fd,#d9edf1 100%);
  border-block:1px solid #d4e7ed;
}
.home-search-grid{
  display:grid;align-items:center;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(13px,3vw,36px);padding-block:26px;color:var(--ink);
}
.home-search-grid p{font-weight:650;line-height:1.75}
.home-search-form{
  min-width:0;padding:13px 15px;border:1px solid #a6c7da;
  border-radius:14px;background:linear-gradient(135deg,#fff,#f2fbffeb);
  box-shadow:inset 0 1px 0 #fff,0 13px 30px #2550701e;
}
.home-search-form label{display:block;font-size:1rem;font-weight:850;color:#132c4a;margin-block-end:5px}
.home-search-controls{display:flex;gap:7px;align-items:stretch;min-width:0}
.home-search-controls input{
  width:100%;min-width:0;min-height:46px;flex:1;
  border:1px solid #afc8dc;border-radius:8px;background:#f8fcff;padding:6px 10px;
  color:#132c4a;font-size:1rem;
}
.home-search-controls input::placeholder{color:#38536e;opacity:1}
.home-search-controls button{
  min-height:46px;flex:none;display:flex;align-items:center;gap:5px;padding:4px 11px;
  border:1px solid #315c80;border-radius:8px;background:var(--sg-navy);color:#fff;
  font-weight:850;box-shadow:inset 0 1px 0 #c4e4fc52;
}
.home-search-controls svg{width:16px;height:16px}
.home-stations-frame{padding-block:33px 38px}
.home-stations-head h2{border-color:#258881}
.home-stations .station-list{--spacing:13px}
.home-door{
  --tile-edge:#a6c2d7;--tile-fg:#132c4a;--tile-a:#fff;--tile-b:#dcebf7;
  --tile-c:#c8def2;--tile-d:#ebf4ff;
  border-radius:14px;min-height:124px;grid-template-rows:50px 1fr;
  border-color:var(--tile-edge);color:var(--tile-fg);
  background:linear-gradient(153deg,var(--tile-a),var(--tile-b));box-shadow:var(--sg-glass-shadow);
}
.home-door:nth-child(4n+1){
  --tile-edge:#638cb4;--tile-fg:#fff;--tile-a:#2c5274;--tile-b:#142d4c;
  --tile-c:#254d74;--tile-d:#3b668b;
}
.home-door:nth-child(4n+2){
  --tile-edge:#a9cdbf;--tile-fg:#133b34;--tile-a:#f2fcf9;--tile-b:#c9e9e2;
  --tile-c:#b7e0d6;--tile-d:#def6ed;
}
.home-door:nth-child(4n+4){
  --tile-edge:#ddc8b5;--tile-fg:#342b24;--tile-a:#fffaf0;--tile-b:#f3e2cf;
  --tile-c:#efd5b1;--tile-d:#fff3dc;
}
.home-door .home-door-cover{
  color:var(--tile-fg);background:linear-gradient(151deg,var(--tile-d),var(--tile-c));
}
.home-door .home-door-cover::after{opacity:.7}
.home-door .home-door-icon{background:#ffffff2e;border-color:#ffffffe0;color:inherit}
.home-door-name{font-weight:850;color:inherit;font-size:clamp(.91rem,1.4vw,1.02rem);padding:8px 11px}
.home-door:hover{
  color:var(--tile-fg);border-color:#5b87aa;
  background:linear-gradient(153deg,var(--tile-a),var(--tile-b));
  box-shadow:inset 0 1px 0 #ffffffdb,0 10px 23px #25486a32;
}
.home-resources{gap:8px;margin-block-start:20px}
.home-resources a,.home-resources a:hover{
  background:var(--sg-navy);border-color:#426b89;border-radius:999px;color:#fff;
  box-shadow:inset 0 1px 0 #c4e4fc52,0 4px 10px #132a4b24;
}
.home-resources a:hover{background:#315578}
.home-resources a svg{color:#ffd797}
.utility-panel,.door-hero-frame{
  background:var(--sg-glass);border-color:var(--sg-edge);box-shadow:var(--sg-glass-shadow);
}
.utility-mark{background:var(--sg-navy);color:#fff}
.search-panel,.topic-index,.topic-figure,.topic-refs,.topic-link-list,
.task-kit,.task-check,.task-refs,.task-related,.task-figure,.task-steps li,.task-grid a{
  background:var(--sg-glass);border-color:var(--sg-edge);
  box-shadow:inset 0 1px 0 #ffffffd1;
}
.task-step-number,.task-filters a[aria-current]{background:#0b605f;color:#fff}
.task-stop{background:#fff0ea;border-color:#e4bdbc;border-inline-start-color:#9a302e;color:#542b2a}
.task-stop h2{color:#8a2725}
.foot{
  background:radial-gradient(at 18% 0%,#2b56738f,transparent 60%),linear-gradient(144deg,#152f4d,#09182d 80%);
  color:#fff;border-top:1px solid #274f74;padding-block:22px 26px;
}
.foot .foot-inner{display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px 28px}
.foot .foot-inner>div:first-child{flex:1 1 380px;min-width:0}
.foot .foot-brand,.foot p{color:#fff}
.foot p{font-size:.97rem;font-weight:600;line-height:1.8}
.foot-contact{
  background:#f8fbff;box-shadow:inset 0 1px 0 #fff,0 8px 20px #020a192d;color:#153451;
  border:1px solid #d2e5f4;border-radius:13px;padding:6px 12px 3px;flex:none;margin-block-start:0;
}
.foot .foot-contact img{mix-blend-mode:darken}
.foot-linkedin,.foot-linkedin:hover{color:#194b6f}
.foot a:focus-visible{outline-color:#c6f4e7}
.foot-contact a:focus-visible{outline-color:#0a706d}
@media(max-width:780px){
  .home-hero-grid{min-height:0;gap:20px;padding-block:33px 37px}
  .home-feature-grid{gap:9px}
  .home-feature-copy{gap:6px;padding:8px}
  .home-feature-icon{width:30px;height:30px}
}
@media(max-width:660px){
  .home-hero-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .home-copy h1{font-size:clamp(2.1rem,8.4vw,3.55rem)}
  .home-copy p{font-size:1.05rem;margin-block:8px 13px}
  .home-portrait{width:85%;max-width:335px}
  .home-portrait-panel{border-radius:17px}
  .home-portrait-orb{inset-inline-end:-3%}
  .home-feature-grid{grid-template-columns:1fr}
  .home-feature-card{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.4fr)}
  .home-feature-copy{min-height:74px;padding-inline:9px}
  .home-feature-icon{display:none}
  .home-feature-copy{grid-template-columns:minmax(0,1fr) auto}
  .home-feature-scene{aspect-ratio:1.54;min-height:74px}
  .home-featured{padding-block:26px}
  .home-search-grid{grid-template-columns:1fr;gap:10px;padding-block:19px}
  .home-stations .station-list{--spacing:9px}
  .home-door{min-height:101px;grid-template-rows:41px 1fr}
  .foot .foot-inner{gap:13px}
}
@media(max-width:370px){
  .home-actions a{font-size:.81rem;padding-inline:9px}
  .home-search-controls button{padding-inline:8px}
}
@media print{
  .utility-panel,.door-hero-frame,.task-kit,.task-check,.task-refs,.task-related,.task-figure,.task-steps li{box-shadow:none;background:#fff}
}
