@font-face {
  font-family: "Source Sans";
  src: url("brand/SourceSans3-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans";
  src: url("brand/SourceSans3-Semibold.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Source Sans", Arial, sans-serif;
  color: #183d36;
  background: #f6f3ed;
  font-size: 18px;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #a34f34; outline-offset: 5px; }

.portal-wrap {
  width: min(1040px, calc(100% - 64px));
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.portal-sr-only,
.portal-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.portal-skip:focus {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fffdf8;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px;
}

.portal-logo { display: inline-flex; flex-shrink: 0; border-radius: 5px; }
.portal-logo img { display: block; width: 179px; }
.portal-language { position: relative; flex-shrink: 0; z-index: 2; }
.portal-language summary {
  min-width: 64px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #cbd3c8;
  border-radius: 28px;
  background: #fffdf8;
  cursor: pointer;
  list-style: none;
  font-size: 22px;
}
.portal-language summary::-webkit-details-marker { display: none; }
.portal-language summary svg { width: 12px; height: 8px; }
.portal-language summary path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.portal-language[open] summary svg { transform: rotate(180deg); }
.portal-language__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(284px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid #cbd3c8;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 12px 35px #183d3612;
}
.portal-language__menu a {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
}
.portal-language__menu a[aria-current="page"] { font-weight: 600; background: #e8efe5; }
.portal-language__menu a:hover { background: #e8efe5; }

.portal-main {
  width: min(700px, 100%);
  margin: auto;
  padding-block: 34px 44px;
}
.portal-heading { text-align: center; }
.portal-emblem {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 32px;
  background: #e8efe5;
}
.portal-emblem img { display: block; }
.portal-heading h1 {
  max-width: 620px;
  margin: 0 auto 18px;
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.portal-intro { max-width: 470px; margin: 0 auto 27px; color: #52655f; font-size: 20px; }
.portal-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  max-width: 100%;
  padding: 14px 25px;
  border: 1px solid #245c4f;
  border-radius: 40px;
  background: #245c4f;
  color: #fffdf8;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  transition: background-color .15s ease;
}
.portal-primary:hover { background: #183d36; }
.portal-primary span { flex-shrink: 0; font-size: 21px; font-weight: 400; }
.portal-stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 43px;
}
.portal-store {
  min-width: 0;
  padding: 24px;
  border: 1px solid #d7d8cd;
  border-radius: 24px;
  background: #fffdf8;
}
.portal-store__identity { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.portal-store__identity svg { flex: 0 0 26px; width: 26px; height: 34px; }
.portal-store__identity svg rect,
.portal-store__identity svg path { fill: none; stroke: #52655f; stroke-width: 1.5; stroke-linecap: round; }
.portal-store h3 { margin: 0; max-width: 100%; overflow-wrap: anywhere; font-size: 23px; line-height: 1.25; font-weight: 600; }
.portal-store__status { margin: 15px 0 18px; color: #52655f; font-size: 16px; }
.portal-store__button {
  min-height: 44px;
  max-width: 100%;
  padding: 9px 17px;
  border: 1px solid #d7d8cd;
  border-radius: 26px;
  background: #f0f0e9;
  color: #52655f;
  font-size: 16px;
  line-height: 1.3;
  opacity: 1;
  cursor: default;
}
.portal-footer { padding-block: 24px 30px; }
.portal-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 26px; }
.portal-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #52655f; font-size: 15px; }

@media (max-width: 600px) {
  .portal-wrap { width: calc(100% - 40px); }
  .portal-header { padding-block: 19px; gap: 16px; }
  .portal-logo img { width: 157px; }
  .portal-main { padding-block: 31px 22px; }
  .portal-emblem { width: 82px; height: 82px; border-radius: 27px; margin-bottom: 25px; }
  .portal-emblem img { width: 56px; }
  .portal-heading h1 { font-size: clamp(34px, 8.4vw, 44px); }
  .portal-intro { font-size: 18px; margin-bottom: 24px; }
  .portal-primary { font-size: 17px; padding-inline: 21px; }
  .portal-stores { margin-top: 32px; gap: 12px; }
  .portal-store { padding: 19px 16px; border-radius: 20px; }
  .portal-store h3 { font-size: 21px; }
  .portal-store__identity { gap: 9px; }
  .portal-store__identity svg { width: 22px; flex-basis: 22px; }
  .portal-store__button { padding-inline: 13px; }
  .portal-footer { padding-block: 18px; }
  .portal-footer nav { gap: 2px 19px; }
}

@media (max-width: 360px) {
  .portal-wrap { width: calc(100% - 32px); }
  .portal-logo img { width: 145px; }
  .portal-stores { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

.portal-access{margin:32px auto 0;max-width:490px;padding:24px;border:1px solid var(--line,#cbd3c8);border-radius:20px;text-align:left;background:#fffdf8}.portal-access h2{font-size:23px;margin:0 0 8px}.portal-access p{font-size:17px;line-height:1.5;margin:0 0 15px}.portal-access a{font-weight:600;text-underline-offset:5px}
