:root {
  --bg: #f6f7fb;
  --ink: #101421;
  --muted: #637086;
  --line: #dfe4ee;
  --panel: #ffffff;
  --accent: #f03285;
  --dark: #080c15;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

a {
  color: inherit;
}

.sub-header {
  background: var(--dark);
  color: #fff;
  padding: 24px clamp(18px, 5vw, 64px) 48px;
}

.sub-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 0 auto 46px;
  max-width: 1100px;
}

.brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 22px;
  font-weight: 950;
  gap: 10px;
  line-height: .86;
  text-decoration: none;
}

.brand span span,
.accent {
  color: #ff4aa0;
}

.brand-mark {
  background: linear-gradient(135deg, #ff4a67, #ff4aa0);
  display: inline-block;
  height: 18px;
  transform: rotate(45deg);
  width: 18px;
}

.sub-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.sub-nav-links a {
  color: #dce2ee;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  margin: 0 auto;
  max-width: 1100px;
}

.eyebrow {
  color: #ffcf6a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(36px, 6vw, 70px);
  letter-spacing: 0;
  line-height: .95;
  margin: 12px 0 16px;
  max-width: 850px;
}

.hero p {
  color: #c6cede;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  max-width: 760px;
}

.page-body {
  margin: -24px auto 0;
  max-width: 1100px;
  padding: 0 clamp(18px, 5vw, 64px) 64px;
}

.content-card,
.err-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(12, 18, 32, .08);
  padding: clamp(24px, 5vw, 52px);
}

.content-card h2 {
  font-size: 24px;
  margin: 34px 0 12px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.72;
}

.content-card ul {
  padding-left: 20px;
}

.note {
  background: #fff4fa;
  border-left: 4px solid var(--accent);
  color: #5f3148;
  font-weight: 800;
  margin-top: 28px;
  padding: 16px 18px;
}

.sub-footer {
  background: var(--dark);
  color: #aeb8ca;
  padding: 28px clamp(18px, 5vw, 64px);
}

.sub-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
}

.sub-footer a {
  color: #d6ddea;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.err-wrap {
  align-items: center;
  display: flex;
  min-height: 100vh;
  padding: 24px;
}

.err-card {
  margin: auto;
  max-width: 620px;
  text-align: center;
}

.err-code {
  color: var(--accent);
  font-size: 72px;
  font-weight: 950;
}

.err-cta {
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  margin-top: 18px;
  padding: 14px 20px;
  text-decoration: none;
}

@media (max-width: 720px) {
  .sub-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
