:root {
  --bg: #edf5ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --border: #bfd8ef;
  --text: #062640;
  --muted: #3f5f7b;
  --accent: #1a7fd1;
  --accent-strong: #0f5ea1;
  --warn: #78bbff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  background:
    radial-gradient(circle at 8% 10%, #d7ecff 0%, rgba(215, 236, 255, 0) 35%),
    radial-gradient(circle at 92% 6%, #dbe9ff 0%, rgba(219, 233, 255, 0) 35%),
    linear-gradient(180deg, var(--bg), #e9f2ff 45%, #e5efff 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: -180px;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 28%, rgba(26, 127, 209, 0.2), transparent 35%),
    radial-gradient(circle at 84% 20%, rgba(120, 187, 255, 0.2), transparent 38%);
  filter: blur(38px);
}

h1,
h2 {
  margin: 0;
  font-family: 'Sora', sans-serif;
}

h1 {
  font-size: clamp(32px, 5.7vw, 52px);
  line-height: 1.05;
}

h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: clamp(20px, 3vw, 30px);
  position: relative;
  padding-left: 0;
}

h2:not(:first-of-type) {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(198, 220, 237, 0.75);
}

p,
li,
td,
th {
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
}

.wrap,
.topbar-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 25;
  padding-top: 10px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 10px 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(7, 37, 58, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 4px 10px rgba(15, 94, 161, 0.22);
}

.top-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.top-nav a,
.top-link {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
}

.top-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(230, 243, 255, 0.76));
  border: 1px solid rgba(26, 127, 209, 0.18);
  box-shadow:
    0 4px 10px rgba(7, 37, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
  overflow: hidden;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-link:hover,
.top-link:focus-visible {
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(26, 127, 209, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(220, 238, 255, 0.92));
  box-shadow:
    0 10px 22px rgba(7, 37, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.top-nav a:focus-visible {
  outline: none;
  box-shadow:
    0 10px 22px rgba(7, 37, 58, 0.12),
    0 0 0 3px rgba(26, 127, 209, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.top-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.top-nav a:hover::before,
.top-nav a:focus-visible::before {
  opacity: 1;
}

.wrap {
  margin-top: 18px;
  margin-bottom: 40px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 22px 50px rgba(7, 37, 58, 0.12);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  right: -58px;
  top: -58px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 127, 209, 0.2) 0%, rgba(26, 127, 209, 0) 68%);
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

.block {
  margin-top: 10px;
}

.small {
  margin-top: 8px;
  font-size: 14px;
}

.address {
  margin-top: 12px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.65;
}

ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

li + li {
  margin-top: 6px;
}

.note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  background: rgba(26, 127, 209, 0.1);
  border-radius: 10px;
}

.links {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.links .top-link {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 127, 209, 0.22);
  background: rgba(26, 127, 209, 0.1);
}

.links .top-link:hover,
.links .top-link:focus-visible {
  background: rgba(26, 127, 209, 0.16);
  text-decoration: none;
}

.table-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--surface-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(7, 37, 58, 0.08);
}

th,
td {
  border: 1px solid var(--border);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  background: rgba(26, 127, 209, 0.12);
  font-weight: 700;
}

@media (max-width: 720px) {
  .wrap,
  .topbar-inner {
    width: min(980px, calc(100% - 20px));
  }

  .topbar-inner {
    border-radius: 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .card {
    border-radius: 20px;
    padding: 18px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }
}
