:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202521;
  background: #f7f7f4;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  --muted: #5b625c;
  --border: #dedfd8;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }

.page {
  width: min(100%, 496px);
  margin-inline: auto;
  padding: 44px 24px 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 7.5vw, 36px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.035em;
}

.subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-wrap: balance;
}

.summary {
  margin: 22px auto 0;
  max-width: 410px;
  color: #434b44;
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.periods {
  margin: 24px 0;
  padding: 17px 12px;
  border-block: 1px solid var(--border);
}

.periods h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .045em;
}

.periods ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.periods li {
  font-size: 13px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.links { display: grid; gap: 10px; }
.link-button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  text-align: left;
}

.link-label { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; }
.icon { width: 21px; height: 21px; flex: none; }
.arrow { width: 18px; height: 18px; flex: none; }
.placeholder-badge {
  color: var(--muted);
  background: #f2f3ef;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}

.contact { background: #242b25; color: #fff; border-color: #242b25; }
.document-note {
  margin: 22px 0 0;
  padding: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  border-radius: 4px;
  scroll-margin-block: 24px;
}

.document-note a { text-underline-offset: 3px; }
.document-note:target { outline: 2px solid #5b625c; outline-offset: 4px; }
footer { margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.5; }
footer a { text-decoration: none; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid #365c43; outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (hover: hover) {
  .link-button:hover { background: #f0f2eb; border-color: #8b958c; }
  .contact:hover { background: #354337; border-color: #354337; }
  footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
}

@media (max-width: 360px) {
  .page { padding: 32px 20px 24px; }
  .periods ul { flex-direction: column; gap: 6px; }
}

@media (min-width: 768px) {
  .page { padding-top: 64px; }
}

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