:root {
  color-scheme: light;
  --background: #f4ede5;
  --foreground: #2a1d18;
  --muted: #725b50;
  --accent: #963f25;
  --separator: #b79888;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

.profile {
  width: min(100%, 44rem);
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.005em;
}

.role {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.3vw, 1.125rem);
  line-height: 1.6;
}

.signature {
  width: 2.375rem;
  margin: 2.25rem auto 1.75rem;
  border: 0;
  border-top: 1px solid var(--separator);
}

.about {
  margin: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.6;
}

.legal {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

a {
  border-radius: 0.125rem;
  color: var(--accent);
  font-size: 0.95rem;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

a:hover {
  color: var(--foreground);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 0.35rem;
}

@media (max-width: 30rem) {
  body {
    padding: 1.5rem;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .signature {
    margin-top: 2rem;
  }
}
