:root {
  --yellow: #ffb80c;
  --green: #40b949;
  --ink: #17181a;
  --night: #0a121a;
  --paper: #f4f5f6;
  --white: #ffffff;
  --muted: #68717d;
  --line: #dde1e5;
  --shadow: 0 18px 50px rgba(9, 20, 30, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
}

a {
  color: #006f80;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  margin: 0 auto;
  max-width: 940px;
  width: min(940px, calc(100% - 36px));
}

.sp-header {
  background: var(--yellow);
  border-bottom: 1px solid rgba(23, 24, 26, 0.16);
  position: sticky;
  top: 0;
  z-index: 5;
}

.sp-header-inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 66px;
}

.sp-brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 950;
  gap: 10px;
  text-decoration: none;
}

.sp-brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: var(--yellow);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 46px;
}

.sp-brand small {
  color: #0d6d2d;
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sp-back {
  background: var(--ink);
  border-radius: 6px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  padding: 10px 14px;
  text-decoration: none;
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(10, 18, 26, 0.92), rgba(10, 18, 26, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(64, 185, 73, 0.16), transparent 28rem);
  color: var(--white);
  padding: 62px 0 54px;
}

.page-meta {
  align-items: center;
  color: var(--yellow);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  gap: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  background: var(--green);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: 0;
  margin-top: 16px;
  max-width: 760px;
}

h1 .accent {
  color: var(--yellow);
}

.page-hero p {
  color: #d5dde5;
  font-size: 18px;
  margin: 20px 0 0;
  max-width: 720px;
}

.page-body {
  padding: 0 0 64px;
}

.page-body .container {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: -24px;
  padding: 34px;
}

.page-body h2 {
  color: var(--ink);
  font-size: 27px;
  margin: 34px 0 12px;
}

.page-body h2:first-child {
  margin-top: 0;
}

.page-body h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}

.page-body p,
.page-body li {
  color: #3f4851;
}

.page-body ul,
.page-body ol {
  padding-left: 22px;
}

.callout {
  background: #fff8e3;
  border: 1px solid #f0d17b;
  border-radius: 8px;
  color: #4d3a08;
  margin: 22px 0;
  padding: 18px 20px;
}

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

table {
  border-collapse: collapse;
  margin: 22px 0;
  width: 100%;
}

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

th {
  background: #f0f2f4;
}

.sp-footer {
  background: #090d12;
  color: #a9b2bb;
  padding: 34px 0;
}

.sp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.sp-footer-links a {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.sp-foot-meta {
  font-size: 13px;
}

.err-wrap {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(10, 18, 26, 0.92), rgba(10, 18, 26, 0.98)),
    var(--night);
  color: var(--white);
  display: flex;
  min-height: 100vh;
  padding: 24px;
}

.err-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  margin: 0 auto;
  max-width: 560px;
  padding: 34px;
  text-align: center;
}

.err-code {
  color: var(--yellow);
  font-size: 84px;
  font-weight: 950;
  line-height: 1;
}

.err-cta {
  background: var(--yellow);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 950;
  margin-top: 16px;
  padding: 12px 18px;
  text-decoration: none;
}

@media (max-width: 720px) {
  .page-body .container {
    padding: 24px;
  }

  .sp-header-inner {
    min-height: 62px;
  }

  .sp-brand {
    font-size: 15px;
  }
}
