:root {
  color-scheme: light;
  --paper: #f4f0e5;
  --ink: #111111;
  --yellow: #ffe600;
  --orange: #ff4b19;
  --green: #a8e92f;
  --blue: #67b7ff;
  --white: #fffdf6;
  --shadow: 6px 6px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "PingFang SC", "Microsoft YaHei", monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

a {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border: 3px solid var(--ink);
  background: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px max(18px, calc((100vw - 980px) / 2));
  border-bottom: 4px solid var(--ink);
  background: rgba(244, 240, 229, 0.96);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-header nav a[aria-current="page"] {
  text-decoration-thickness: 5px;
}

.brand {
  font-size: 1.1rem;
  text-decoration: none;
}

.page-shell {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.brutal-card {
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 36px);
}

.yellow { background: var(--yellow); }
.orange { background: var(--orange); }
.green { background: var(--green); }
.blue { background: var(--blue); }
.white { background: var(--white); }

.hero h1,
.document-title h1,
.document-title h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
}

.document-title h1,
.document-title h2 {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-en {
  margin: 22px 0 0;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 900;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-card {
  position: relative;
  min-height: 230px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.action-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.action-card h2 {
  margin: 44px 0 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.action-card p {
  margin: 2px 0 0;
  font-weight: 800;
}

.card-number {
  position: absolute;
  top: 20px;
  left: 24px;
  font-weight: 900;
}

.arrow {
  position: absolute;
  right: 24px;
  bottom: 18px;
  font-size: 2.2rem;
  font-weight: 900;
}

.statement,
.contact-card {
  margin-top: 30px;
}

.statement h2 {
  margin-bottom: 4px;
}

.document-title {
  margin-bottom: 28px;
}

.document-title > :last-child {
  margin-bottom: 0;
  font-weight: 800;
}

.document {
  padding: 8px clamp(4px, 3vw, 22px) 20px;
}

.document > p:first-of-type {
  font-size: 1.06rem;
  font-weight: 700;
}

.document section {
  padding: 8px 0;
  border-bottom: 2px solid rgba(17, 17, 17, 0.18);
}

.document h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.document p {
  margin-top: 4px;
}

.summary-box {
  padding: 20px;
  border: 3px solid var(--ink);
  background: var(--green);
  box-shadow: 4px 4px 0 var(--ink);
}

.language-divider {
  margin: 48px 0;
  border: 0;
  border-top: 6px solid var(--ink);
}

.contact-card h2,
.section-heading {
  margin-top: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.button-link {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 12px 18px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
}

.small {
  max-width: 70ch;
  font-size: 0.88rem;
  font-weight: 700;
}

.support-page > section {
  margin-top: 42px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.faq-grid .brutal-card {
  padding: 24px;
}

.faq-grid h3 {
  margin-top: 0;
  line-height: 1.3;
}

footer {
  padding: 28px 18px 48px;
  border-top: 4px solid var(--ink);
  text-align: center;
  font-size: 0.88rem;
}

footer p {
  margin: 4px 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .two-column,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    padding-top: 26px;
  }

  .brutal-card {
    box-shadow: 4px 4px 0 var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
