:root {
  --bg: #F5F7FA;
  --fg: #0B1F3A;
  --navy: #0B1F3A;
  --muted: #5C6B7A;
  --border: #E2E8EF;
  --accent: #D62828;
  --accent-press: #B01F1F;
  --on-accent: #ffffff;
  --on-navy: #ffffff;
  --gold: #F5B400;
  --navy-line: #1c3558;
  --navy-lift: #163056;
  --container: 1200px;
  --gutter: 32px;
  --header-h: 80px;
  --radius: 8px;
  --btn-h: 48px;
  --fs-body: 16px;
  --font-display: "Montserrat", "Arial Black", sans-serif;
  --font-text: "Inter", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.55;
}
p { margin: 0; }
a { color: inherit; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--on-navy); }
.wrap { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.band { background: var(--navy); color: var(--on-navy); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--navy-line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  height: var(--header-h);
  min-height: var(--header-h);
  padding: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.logo { height: 48px; width: auto; flex: none; display: block; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu { position: relative; }
.menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
}
.menu-panel { display: none; }
.menu[open] > .menu-panel {
  display: block;
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  padding: 8px 16px;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.menu-panel a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
}
.menu-panel a:hover { color: var(--accent); }
.sample {
  margin-top: 12px;
  padding: 16px 18px;
  max-width: 40rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.sample p + p { margin-top: 0.75rem; }
.note { margin-top: 8px; color: var(--muted); font-size: 0.95rem; max-width: 40rem; }
.brand-names { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acc {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.acc-a { color: #fff; }
.acc-cc { color: var(--accent); }
.word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-tg, .btn-tg:hover, .btn-tg:active, .btn-tg:focus-visible { color: #fff; }
.btn-tg { background: var(--accent); gap: 8px; }
.btn-tg:hover { background: var(--accent-press); }
.btn-tg:active { background: var(--accent-press); }
.tg-icon { width: 18px; height: 18px; flex: none; }
.btn-line, .btn-line:hover, .btn-line:active, .btn-line:focus-visible { color: var(--on-navy); }
.btn-line {
  background: transparent;
  border-color: color-mix(in oklch, var(--on-navy) 72%, transparent);
}
.btn-line:hover { background: var(--navy-lift); }
.btn-line:active { background: oklch(0.36 0.05 256.66); }
.article { padding: 36px 0 56px; }
.crumbs { margin: 0 0 18px; color: var(--muted); font-size: 0.95rem; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
h1 { margin: 0 0 16px; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; }
.lead { font-size: 1.125rem; font-weight: 600; }
.updated { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
h2 { margin: 32px 0 12px; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.25; }
h3 { margin: 22px 0 8px; font-size: 1.15rem; }
.article p, .article li, .article h1, .article h2, .article h3, .lead, .updated, .crumbs, .article table {
  max-width: 40rem;
}
.article p + p, .article li + li { margin-top: 0.75rem; }
.article ul, .article ol { margin: 12px 0 0; padding-left: 1.2rem; }
.article ol.steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.article ol.steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 40rem;
}
.article ol.steps li + li { margin-top: 16px; }
.article ol.steps li::before {
  content: "";
  width: 48px;
  height: 48px;
  flex: none;
  background: center / contain no-repeat;
}
.article ol.steps li:nth-child(1)::before { background-image: url("/assets/badge-1.svg?v=2"); }
.article ol.steps li:nth-child(2)::before { background-image: url("/assets/badge-2.svg?v=2"); }
.article ol.steps li:nth-child(3)::before { background-image: url("/assets/badge-3.svg?v=2"); }
.article ol.steps li:nth-child(4)::before { background-image: url("/assets/badge-4.svg?v=2"); }
.article ol.steps li:nth-child(5)::before { background-image: url("/assets/badge-5.svg?v=2"); }
.article ol.steps li:nth-child(6)::before { background-image: url("/assets/badge-6.svg?v=2"); }
.sources { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); }
.article p a, .sources a { text-decoration: underline; text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.98rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; }
caption { caption-side: bottom; margin-top: 8px; color: var(--muted); font-size: 0.9rem; text-align: left; }
.related { margin-top: 28px; }
.related a { text-decoration: underline; text-underline-offset: 3px; }
.cta { padding: 36px 0; }
.cta p { max-width: 38rem; }
.cta .btn { margin-top: 16px; }
.site-footer { padding: 22px 0; }
.site-footer a { text-decoration: none; }
@media (max-width: 720px) {
  .wrap { width: min(var(--container), calc(100% - var(--gutter) * 2)); }
  .header-inner { flex-wrap: nowrap; min-height: 60px; padding: 8px 0; }
  .header-actions .btn-line { display: none; }
  .header-actions .btn-tg {
    padding: 8px 10px;
    min-height: 44px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .menu[open] > .menu-panel {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    width: auto;
  }
}
@media (max-width: 560px) {
  .brand { flex: none; }
  .menu summary { padding: 0 8px; font-size: 15px; }
  .header-actions .btn-tg { font-size: 0; gap: 0; padding: 10px; }
  .header-actions .tg-icon { width: 20px; height: 20px; }
}
@media (max-width: 480px) {
  .brand .word { display: none; }
}
@media (min-width: 768px) {
  .article p, .article li, .article h1, .article h2, .article h3, .lead, .updated, .crumbs, .article table,
  .article ol.steps li {
    max-width: 60rem;
  }
}
