:root {
  color-scheme: light;
  --ink: #12304a;
  --muted: #4e6173;
  --line: #dec99a;
  --teal: #176f86;
  --gold: #d8a348;
  --navy: #17324d;
  --warm: #fff3dd;
  --paper: rgba(255, 255, 255, 0.92);
  --success: #0f7b54;
  --accent: #176f86;
  font-family: "Yu Gothic UI", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(216, 163, 72, 0.24), transparent 30%),
    linear-gradient(135deg, #fff8ea, #eef8fb 58%, #fffdf7);
}

html.vsh-i18n-pending body {
  opacity: 0;
}

html.vsh-i18n-ready body {
  opacity: 1;
  transition: none;
}

main {
  width: min(980px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 34px 0 52px;
}

.site-nav,
.page-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.site-nav a,
.site-nav span,
.page-pager a {
  border: 1px solid #cfd8df;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 14px;
}

.site-nav .is-upcoming {
  color: #6b7d8d;
  background: #f6f8fa;
  border-style: dashed;
}

.site-nav a[aria-current="page"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.page-pager {
  justify-content: space-between;
  margin-top: 18px;
  margin-bottom: 0;
}

.page-pager.single-next {
  justify-content: flex-end;
}

.hero,
.card,
.note,
.step,
.panel,
.price-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 52px rgba(18, 48, 74, 0.12);
}

.hero {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(23, 111, 134, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.96));
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 24px;
  font-weight: 900;
}

.dice {
  font-size: 34px;
}

.kicker {
  display: inline-block;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  margin: 14px 0 12px;
}

h2 {
  font-size: 26px;
  margin: 0 0 10px;
}

h2 a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

h2 a:hover {
  color: var(--teal);
}

h3 {
  font-size: 21px;
  margin: 0 0 10px;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

strong {
  color: var(--ink);
}

.lead {
  font-size: 18px;
  max-width: 860px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 52px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
  white-space: normal;
}

.button.secondary {
  background: #fff;
  color: var(--teal);
}

.grid,
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.card,
.step,
.panel {
  padding: 20px;
}

.note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.96);
}

.note p {
  margin: 0;
}

code {
  background: #f2f5f7;
  border: 1px solid #d9dee3;
  padding: 2px 5px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.file-link {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.file-link:hover {
  color: var(--teal);
}

.file-link code {
  color: inherit;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 780px) {
  main {
    width: min(100vw - 18px, 980px);
    padding-top: 18px;
  }

  .hero {
    padding: 22px 16px;
  }

  .grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero,
  .card,
  .note,
  .step,
  .panel,
  .price-panel,
  .site-nav a,
  .site-nav span,
  .page-pager a {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
