@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&family=Source+Serif+4:wght@600;700&display=swap');

:root {
  --bg: #e8eef3;
  --surface: #ffffff;
  --ink: #1f3347;
  --soft: #5f778c;
  --brand: #0f7e95;
  --line: #d4e0e8;
  --hero-1: #123f5f;
  --hero-2: #0d2f48;
  --hero-3: #0b2539;
  --brand-slot: clamp(148px, 18vw, 212px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(17, 107, 133, 0.18), transparent 34%),
    radial-gradient(circle at 92% -8%, rgba(17, 73, 111, 0.16), transparent 35%),
    var(--bg);
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.top {
  margin-top: 0.45rem;
  border: 1px solid rgba(183, 206, 223, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(7px);
  min-height: 62px;
  padding: 0.34rem 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0.5rem;
  z-index: 20;
  box-shadow: 0 10px 24px rgba(14, 43, 64, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: var(--brand-slot);
  min-width: var(--brand-slot);
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.brand::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(140, 205, 235, 0.2) 45%,
      rgba(104, 181, 218, 0.26) 75%,
      rgba(86, 151, 193, 0.12) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.brand-lockup {
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter:
    brightness(1.08)
    contrast(1.12)
    saturate(1.08)
    drop-shadow(0 1px 1px rgba(175, 231, 255, 0.25));
}

.brand-text {
  color: #253e52;
  font-size: 1.82rem;
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: flex-end;
  position: relative;
  padding: 0.03rem 0.18rem 0.24rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand-text span {
  color: #0fa290;
  font-weight: 900;
}

.brand-cert {
  position: relative;
  display: inline-block;
  color: #0fa290;
  padding-right: 0.46em;
}

.brand-domain {
  position: absolute;
  left: calc(100% - 0.36em);
  top: -0.39em;
  font-size: 0.22em;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1d9283;
  opacity: 0.88;
  margin: 0;
  text-shadow: none;
}

.brand-text::after {
  content: '';
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(17, 163, 143, 0.96), rgba(86, 172, 209, 0.97));
  box-shadow: 0 0 0 1px rgba(118, 170, 198, 0.18), 0 4px 9px rgba(53, 133, 169, 0.2);
}

.top-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.top-link {
  color: #47657d;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.32rem 0.44rem;
  border-radius: 8px;
  transition: background-color 180ms ease, color 180ms ease;
}

.top-link:hover {
  background: #e8f1f7;
  color: #1f445e;
}

.content {
  margin-top: 1rem;
}

.doc-article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(14, 42, 61, 0.12);
}

.doc-hero {
  padding: clamp(1.1rem, 2vw, 1.7rem);
  background:
    radial-gradient(circle at 18% 10%, rgba(50, 169, 177, 0.28), transparent 35%),
    linear-gradient(158deg, var(--hero-1) 0%, var(--hero-2) 52%, var(--hero-3) 100%);
}

.tag {
  margin: 0;
  display: inline-flex;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #dff6ff;
  background: rgba(116, 194, 221, 0.2);
  border: 1px solid rgba(152, 213, 234, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  font-weight: 800;
}

h1 {
  margin: 0.72rem 0 0;
  font-family: 'Source Serif 4', Georgia, serif;
  color: #f6fbff;
  font-size: clamp(2.05rem, 3.9vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.meta {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta span {
  border: 1px solid rgba(173, 208, 229, 0.46);
  background: rgba(11, 39, 60, 0.3);
  border-radius: 999px;
  padding: 0.24rem 0.56rem;
  color: #d5eaf6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-media {
  margin: 0;
}

.hero-media picture {
  width: 100%;
  display: block;
}

.hero-media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.copy {
  padding: clamp(1.15rem, 2vw, 1.7rem);
  max-width: 84ch;
}

.copy p {
  margin: 0.95rem 0 0;
  line-height: 1.82;
  color: #2e4a61;
  font-size: 1.06rem;
}

.copy p:first-child {
  margin-top: 0;
  color: #243e53;
  font-weight: 500;
  font-size: 1.14rem;
}

.copy h2 {
  margin: 1.8rem 0 0.6rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.5rem;
  color: #1a3550;
  line-height: 1.2;
}

.copy h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.15rem;
  color: #1f3d56;
  font-weight: 700;
  line-height: 1.3;
}

.copy ul, .copy ol {
  margin: 0.8rem 0;
  padding-left: 1.3rem;
  color: #2e4a61;
  line-height: 1.78;
  font-size: 1.04rem;
}

.copy li + li {
  margin-top: 0.35rem;
}

.copy blockquote {
  margin: 1.2rem 0;
  padding: 0.9rem 1.2rem;
  border-left: 4px solid #0f7e95;
  background: rgba(15, 126, 149, 0.06);
  border-radius: 0 10px 10px 0;
  color: #2a4a62;
  font-size: 1.02rem;
  line-height: 1.7;
}

.copy figure.img-figure {
  margin: 1.5rem 0;
  padding: 0;
  width: fit-content;
  max-width: 100%;
}

.copy figure.img-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(14, 42, 61, 0.1);
}

.copy figure.img-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #6a8499;
  font-style: italic;
  text-align: center;
}

.copy figure.img-full {
  width: 100%;
}

.copy figure.img-full img {
  width: 100%;
}

.copy figure.img-center {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.copy figure.img-center img {
  width: 100%;
}

.copy figure.img-left {
  float: left;
  max-width: 45%;
  margin: 0.3rem 1.5rem 1rem 0;
}

.copy figure.img-right {
  float: right;
  max-width: 45%;
  margin: 0.3rem 0 1rem 1.5rem;
}

.copy::after {
  content: '';
  display: table;
  clear: both;
}

@media (max-width: 760px) {
  .copy figure.img-left,
  .copy figure.img-right {
    float: none;
    max-width: 100%;
    margin: 1rem 0;
  }

  .copy figure.img-center {
    max-width: 100%;
  }
}

.copy figure.vid-figure {
  margin: 1.5rem 0;
  padding: 0;
  max-width: 100%;
}

.copy figure.vid-figure video {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(14, 42, 61, 0.1);
}

.copy figure.vid-figure .vid-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(14, 42, 61, 0.1);
}

.copy figure.vid-figure .vid-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.copy figure.vid-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #6a8499;
  font-style: italic;
  text-align: center;
}

.copy figure.vid-full {
  width: 100%;
}

.copy figure.vid-center {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.index-list {
  padding: clamp(1rem, 1.8vw, 1.4rem);
}

.index-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-list li + li {
  margin-top: 0.58rem;
}

.index-list a {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 0.45rem 0.85rem;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 3px solid #89cce8;
  border-radius: 12px;
  padding: 0.9rem;
  color: inherit;
  text-decoration: none;
  background: #fbfdff;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.index-thumb {
  width: 112px;
  height: 74px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #c8d8e3;
  background: #0f2f46;
}

.index-thumb picture,
.index-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.index-copy {
  min-width: 0;
}

.index-list a:hover {
  transform: translateY(-2px);
  border-color: #a8cde2;
  box-shadow: 0 12px 24px rgba(16, 39, 61, 0.1);
}

.index-title {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.36;
}

.index-meta {
  display: block;
  margin-top: 0.34rem;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
}

.index-arrow {
  grid-row: 1;
  color: #6caac7;
  font-weight: 700;
}

@media (max-width: 900px) {
  .top {
    flex-direction: column;
    gap: 0.58rem;
    align-items: flex-start;
    padding: 0.7rem;
  }
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 1rem);
  }
  :root {
    --brand-slot: clamp(122px, 40vw, 164px);
  }

  h1 {
    font-size: clamp(1.72rem, 8vw, 2.3rem);
  }

  .top-link {
    font-size: 0.8rem;
  }

  .index-list a {
    grid-template-columns: 1fr;
    gap: 0.34rem;
  }

  .index-thumb {
    width: 100%;
    height: 160px;
  }

  .index-arrow {
    display: none;
  }
}
