:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --white: #fffefa;
  --ink: #171719;
  --muted: #666166;
  --line: #d9d4cb;
  --red: #d81f19;
  --max: 760px;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

body { margin: 0; }

a {
  color: inherit;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible { color: var(--red); }

.top {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.top-inner,
main,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.top-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.cross {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  color: white;
  background: var(--red);
  font-size: 18px;
  line-height: 1;
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 0.83rem;
}

main { padding-block: 64px 80px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.028em;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
}

h2 {
  margin: 52px 0 16px;
  font-size: clamp(1.55rem, 4vw, 2rem);
}

h3 {
  margin: 30px 0 8px;
  font-size: 1.08rem;
}

p,
li { color: #343136; }

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.meta {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.87rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.card,
.notice {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.card {
  min-height: 150px;
  display: block;
  padding: 24px;
  text-decoration: none;
}

.card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--red);
}

.notice p { margin: 0; }

ul,
ol { padding-left: 1.3rem; }

li + li { margin-top: 8px; }

footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-inner p {
  margin: 0;
  color: inherit;
}

@media (max-width: 620px) {
  .top-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .top nav { justify-content: flex-start; }
  main { padding-block: 46px 64px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
