
/* AREATO V0.34 global public shell.
   Namespaced deliberately so page-specific legacy CSS cannot override the shell. */

areato-site-header,
areato-site-footer {
  display: block;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.areato-shell-header {
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5edf5;
  background: rgba(255,255,255,.98);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.areato-shell-nav {
  width: min(1270px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 650px 332px;
  align-items: center;
  gap: 22px;
}

.areato-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.areato-shell-logo-mark {
  width: 45px;
  height: 39px;
  position: relative;
  flex: 0 0 45px;
}

.areato-shell-logo-mark .blue {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 14px;
  height: 36px;
  background: linear-gradient(145deg,#1190ff,#003d99);
  transform: skew(-30deg);
  border-radius: 4px;
}

.areato-shell-logo-mark .gold {
  position: absolute;
  left: 23px;
  top: 2px;
  width: 14px;
  height: 36px;
  background: linear-gradient(145deg,#ffd55a,#e39100);
  transform: skew(30deg);
  border-radius: 4px;
}

.areato-shell-brand-name {
  color: #ee9d08;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1px;
}

.areato-shell-links {
  display: grid;
  grid-template-columns: repeat(5, 116px);
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-width: 0;
}

.areato-shell-links a {
  display:flex;
  width:116px;
  min-height:36px;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.areato-shell-links a,
.areato-shell-login {
  color: #10233b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.areato-shell-links a:hover,
.areato-shell-login:hover,
.areato-shell-links a.active {
  color: #0878e8;
}

.areato-shell-links a.active {
  font-weight: 800;
}

.areato-shell-actions {
  display: grid;
  grid-template-columns: 122px 70px 116px;
  align-items: center;
  justify-content: end;
  gap: 12px;
  white-space: nowrap;
}

.areato-shell-actions > * {
  min-width:0;
}

.areato-shell-actions .areato-lang {
  width:122px;
  justify-self:stretch;
}

.areato-shell-actions .areato-lang-current {
  width:122px;
}

.areato-shell-login {
  width:70px;
  text-align:center;
}

.areato-shell-signup {
  width:116px;
  text-align:center;
}

.areato-shell-signup {
  background: #0878e8;
  color: #fff;
  padding: 11px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.areato-shell-signup:hover {
  background: #066dce;
}

/* Keep the existing language selector component visually aligned with the shared shell. */
.areato-shell-actions .areato-lang {
  margin-left: 0;
}

.areato-shell-footer {
  background: #0d3763;
  color: #d8e4ef;
  padding: 42px max(28px,8vw) 22px;
  text-align: left;
}

.areato-shell-footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(4,1fr);
  gap: 32px;
}

.areato-shell-footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #f2aa16;
  margin-bottom: 9px;
}

.areato-shell-footer-claim {
  font-size: 11px;
  letter-spacing: .14em;
  color: #ffd666;
  font-weight: 700;
}

.areato-shell-footer-col h4 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 13px;
}

.areato-shell-footer-col a {
  display: block;
  color: #c2d2e1;
  text-decoration: none;
  font-size: 12px;
  margin: 9px 0;
}

.areato-shell-footer-col a:hover {
  color: #fff;
}

.areato-shell-footer-bottom {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #9fb4c8;
}

@media (max-width: 1280px) {
  .areato-shell-nav {
    width:min(1064px,calc(100% - 36px));
    grid-template-columns:190px 550px 288px;
    gap:18px;
  }

  .areato-shell-brand-name{font-size:19px}

  .areato-shell-links {
    grid-template-columns:repeat(5,104px);
    gap:7.5px;
  }

  .areato-shell-links a{
    width:104px;
    font-size:11px;
  }

  .areato-shell-actions{
    grid-template-columns:110px 60px 98px;
    gap:10px;
  }

  .areato-shell-actions .areato-lang,
  .areato-shell-actions .areato-lang-current{width:110px}

  .areato-shell-login{width:60px;font-size:11px}
  .areato-shell-signup{width:98px;font-size:11px;padding:10px 8px}
}

@media (max-width: 1100px) {
  .areato-shell-header {
    height: auto;
    min-height: 74px;
  }
  .areato-shell-nav {
    padding: 12px 0;
    grid-template-columns: auto auto;
  }
  .areato-shell-links {
    grid-column: 1 / -1;
    grid-row: 2;
    display:flex;
    justify-content:flex-start;
    gap:15px;
    overflow-x:auto;
    padding:4px 0 2px;
    scrollbar-width:none;
  }

  .areato-shell-links a{
    width:auto;
    min-width:max-content;
    min-height:34px;
  }
  .areato-shell-links::-webkit-scrollbar {
    display: none;
  }
  .areato-shell-actions {
    grid-column:2;
    grid-row:1;
    display:flex;
    width:auto;
    justify-content:flex-end;
    gap:10px;
  }

  .areato-shell-actions .areato-lang,
  .areato-shell-actions .areato-lang-current{
    width:auto;
  }

  .areato-shell-login,
  .areato-shell-signup{
    width:auto;
  }
  .areato-shell-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .areato-shell-brand-name {
    font-size: 18px;
  }
  .areato-shell-logo-mark {
    width: 38px;
    height: 33px;
    transform: scale(.86);
    transform-origin: left center;
    flex-basis: 38px;
  }
  .areato-shell-login {
    display: none;
  }
  .areato-shell-signup {
    padding: 9px 13px;
  }
  .areato-shell-footer-grid {
    grid-template-columns: 1fr;
  }
  .areato-shell-footer-bottom {
    flex-direction: column;
  }
}
