:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e5e5ea;
  --link: #0066cc;
  --link-hover: #004a99;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.82);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

.navbar.navbar-inverse {
  background: rgba(250, 250, 252, 0.72);
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.navbar-inverse .navbar-nav > li > a {
  color: rgba(29, 29, 31, 0.88);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, opacity 0.2s ease;
  text-align: center;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #000;
  background: transparent;
  opacity: 1;
}

.navbar-inverse .navbar-toggle {
  border-color: rgba(0, 0, 0, 0.18);
}

.navbar-inverse .navbar-toggle .icon-bar {
  background-color: rgba(0, 0, 0, 0.7);
}

.navbar .navbar-collapse {
  text-align: center;
}

.navbar .navbar-nav {
  float: none;
  display: inline-block;
}

.navbar .navbar-nav > li {
  float: none;
  display: inline-block;
}

.container {
  max-width: 1080px;
}

body > .container {
  padding-top: 20px !important;
  padding-bottom: 72px;
}

body > .container > br {
  display: none;
}

.container > .row {
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 12px !important;
  padding: 26px 0;
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  position: relative;
  z-index: 0;
  animation: fade-up 0.45s ease both;
  background: #f5f5f7 !important;
}

.container > .row > .col-md-10:only-child,
.container > .row > .col-md-9:only-child,
.container > .row > .col-md-8:only-child {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.container > .row:first-of-type {
  margin-top: 0 !important;
}

.container > .row:first-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.container > .row:first-of-type > .col-md-4 {
  float: none;
  flex: 0 0 22%;
  max-width: 22%;
  text-align: center;
}

.container > .row:first-of-type > .col-md-4 .img-responsive {
  margin-left: auto;
  margin-right: auto;
}

.container > .row:first-of-type > .col-md-8 {
  float: none;
  flex: 0 0 53%;
  max-width: 53%;
  text-align: center;
  padding-left: 16px;
}

.container > .row::before {
  content: none !important;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.img-responsive {
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 10px;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
}

h4 {
  margin: 22px 0 8px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}

.hreflink {
  scroll-margin-top: 86px;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
}

a.paragraph {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(0, 102, 204, 0.4);
  text-underline-offset: 0.16em;
}

a.paragraph:hover {
  text-decoration-color: rgba(0, 74, 153, 0.7);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

td {
  padding: 12px 8px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

tr {
  transition: background 0.2s ease;
}

tr:hover {
  background: rgba(255, 255, 255, 0.55);
}

td strong {
  font-weight: 600;
}

ul.vert {
  margin: 12px 0 0;
  padding-left: 0;
}

ul.vert > li {
  list-style: none;
  margin: 0 0 14px;
  margin-left: 0;
  padding: 10px 0 12px 16px;
  border-left: 4px solid #d0d2d7;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
}

.free,
.nf,
.aux,
.award {
  font-weight: 600;
}

.free,
a.free,
a.free:visited,
a.free:hover,
a.free:active {
  color: #0066cc !important;
  background: transparent !important;
}

.nf,
a.nf,
a.nf:visited,
a.nf:hover,
a.nf:active {
  color: #6e5500 !important;
  background: transparent !important;
}

.aux,
a.aux,
a.aux:visited,
a.aux:hover,
a.aux:active {
  color: #008060 !important;
  background: transparent !important;
}

.award,
a.award,
a.award:visited,
a.award:hover,
a.award:active {
  color: #b00020 !important;
  background: transparent !important;
}

@media (max-width: 991px) {
  h2 {
    font-size: 34px;
  }

  h4 {
    font-size: 21px;
  }

  .container > .row {
    padding: 22px 0;
  }

  .container > .row:first-of-type > .col-md-4 {
    flex-basis: 30%;
    max-width: 30%;
  }

  .container > .row:first-of-type > .col-md-8 {
    flex-basis: 64%;
    max-width: 64%;
  }
}

@media (max-width: 767px) {
  body > .container {
    padding-top: 8px !important;
    padding-bottom: 44px;
  }

  .container > .row {
    margin-top: 8px !important;
    padding: 14px 0;
  }

  .container > .row:first-of-type > .col-md-4,
  .container > .row:first-of-type > .col-md-8 {
    display: block;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    text-align: center;
  }

  .container > .row:first-of-type {
    margin-top: 0 !important;
  }

  .navbar-inverse .navbar-nav > li > a {
    font-size: 13px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar .navbar-nav,
  .navbar .navbar-nav > li {
    display: block;
  }

  h2 {
    font-size: 29px;
    margin-bottom: 8px;
  }

  h4 {
    font-size: 19px;
    margin-top: 16px;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  td {
    padding: 6px 2px;
    border-bottom: 0;
  }

  tr {
    border-bottom: 1px solid var(--line-soft);
    padding: 8px 0;
  }

  td img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
  }
}

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