:root {
  color-scheme: dark;
  --background: #000000;
  --text: #ffffff;
  --muted: #909090;
  --line: #2b2b2b;
  --accent: #62c947;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-width: 20rem;
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--text);
}

body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.28em;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.shell {
  display: flex;
  width: min(100%, 96rem);
  min-height: 100svh;
  margin: 0 auto;
  padding-inline: var(--gutter);
  flex-direction: column;
}

header,
footer {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
}

header a,
header span {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(4rem, 12vw, 9rem);
}

.mark {
  display: grid;
  width: clamp(4rem, 7vw, 6rem);
  aspect-ratio: 1;
  place-items: center;
  border: 0.4rem solid var(--accent);
  border-radius: 50%;
}

.mark::after {
  width: 34%;
  aspect-ratio: 1;
  border: 0.3rem solid var(--accent);
  border-radius: 50%;
  content: "";
}

h1,
h2,
p {
  margin: 0;
}

.hero h1 {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: -0.078em;
}

.hero p {
  margin-top: 2rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.document {
  width: min(100%, 48rem);
  padding-block: clamp(4rem, 9vw, 7rem);
}

.document h1 {
  font-size: clamp(4rem, 10vw, 7.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.date {
  margin-top: 1.5rem;
  color: var(--muted);
}

.document section {
  margin-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.document h2 {
  font-size: 1rem;
  font-weight: 600;
}

.document section p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
}

footer a {
  font-size: 0.95rem;
}

@media (max-width: 40rem) {
  header,
  footer {
    min-height: 4rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    padding-block: 1.25rem;
  }
}
