:root {
  --brand: #2d59ff;
  --brand-dark: #2347ce;
  --ink: #151515;
  --muted: #6f7580;
  --page: #f5f7f9;
  --surface: #ffffff;
  --line: #e4e8f0;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--page); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 87% 8%, #e0ebf9 0, rgba(224, 235, 249, 0) 31rem),
    var(--page);
  font: 400 16px/1.65 Rubik, Inter, Arial, sans-serif;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.7px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--brand);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.language-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #d8e2ff;
  border-radius: 999px;
  background: #fff;
}

.language-switcher__link {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1;
  text-decoration: none;
}

.language-switcher__link:hover,
.language-switcher__link:focus-visible {
  background: #edf1ff;
}

.language-switcher__link--current {
  color: #fff;
  background: var(--brand);
}

.notice {
  width: min(760px, calc(100% - 48px));
  margin: clamp(42px, 10vh, 104px) auto auto;
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(34, 50, 88, .08);
}

.notice__eyebrow {
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.notice__rule {
  width: 50px;
  height: 3px;
  margin: 30px 0;
  border-radius: 2px;
  background: var(--brand);
}

.notice__body { max-width: 610px; }

.notice p { margin: 0 0 20px; }

.notice__farewell { margin-top: 30px !important; }

.notice__signature {
  margin-bottom: 0 !important;
  color: var(--muted);
  font-weight: 500;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding: 42px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .notice { width: min(100% - 32px, 760px); }
  .site-header { min-height: 76px; }
  .brand { font-size: 20px; }
  .brand__mark { width: 30px; height: 30px; font-size: 22px; }
  .language-switcher__link { padding: 5px 8px; }
  .notice { margin-top: 30px; }
  .site-footer { flex-direction: column; gap: 5px; padding-top: 30px; }
}
