:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0b0b0b;
  --text: #ff8a1f;
  --muted: #c9671a;
  --dim: #7d4214;
  --line: #3a220f;
  --accent: #ff9f3f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Monaco, monospace;
  color: var(--text);
  background: var(--bg);
}

.page {
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 8vw, 72px) 20px;
}

.intro {
  width: min(100%, 900px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px;
  gap: clamp(28px, 8vw, 88px);
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.copy {
  min-width: 0;
}

.prompt {
  margin: 0 0 18px;
  color: var(--dim);
  font-size: clamp(0.84rem, 2vw, 0.95rem);
}

.avatar {
  display: block;
  width: 144px;
  height: 144px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
}

h1 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.subtitle {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  line-height: 1.45;
  font-weight: 650;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: #0a0a0a;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: #050505;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .intro {
    grid-template-columns: 1fr;
  }

  .avatar {
    width: 112px;
    height: 112px;
    grid-row: 1;
  }

  h1 {
    max-width: 12ch;
  }
}
