:root {
  --bg: #f4f1ea;
  --text: #000;
  --blue: #8eafbb;
  --tan: #b38568;
  --red: #7d1f1b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  display: flex;
  justify-content: center;
  padding: clamp(32px, 6vw, 48px) clamp(28px, 6vw, 40px) 48px;
}
main {
  width: 100%;
  max-width: 433px;
  text-align: center;
}
h1 {
  font-weight: 400;
  font-size: clamp(34px, 7vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.intro {
  font-size: clamp(16px, 3.6vw, 18px);
  line-height: 1.6;
  margin-top: 20px;
}
.rule {
  width: 52px;
  height: 3px;
  background: var(--text);
  border: 0;
  margin: 22px auto 0;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 10px 24px;
  line-height: 1.35;
  text-align: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.2em;
  transition: transform .15s ease, filter .15s ease;
}
nav a:hover, nav a:focus-visible { filter: brightness(1.08); transform: translateY(-2px); }
nav a:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.blue { background: var(--blue); }
.tan  { background: var(--tan); }
.red  { background: var(--red); }
.handle {
  display: inline-block;
  margin-top: 32px;
  font-style: italic;
  font-size: 21px;
  color: var(--text);
  text-decoration: none;
}
a.handle:hover { text-decoration: underline; }
@media (max-width: 400px) {
  nav a { min-height: 54px; font-size: 15px; letter-spacing: 0.14em; }
}

.socials {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
}
.socials a {
  color: var(--text);
  display: inline-flex;
  padding: 4px;
  border-radius: 8px;
  transition: opacity .15s ease, transform .15s ease;
}
.socials a:hover { opacity: .65; transform: translateY(-2px); }
.socials a:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.socials svg { width: 30px; height: 30px; display: block; }

/* Subpages */
.subtext { font-size: 18px; line-height: 1.6; margin-top: 28px; }
.back {
  display: inline-block;
  margin-top: 44px;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}
.back:hover { text-decoration: underline; }
