:root {
  --bg: #f7f5f1;
  --text: #17223f;
  --muted: #7a7b84;
  --accent: #afc81a;
  --line: rgba(23, 34, 63, 0.12);
  --shadow: rgba(255, 255, 255, 0.88);
  --container-width: min(100%, 22rem);
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Fira Code", monospace;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0) 45%),
    repeating-linear-gradient(
      -35deg,
      rgba(255, 255, 255, 0.28) 0,
      rgba(255, 255, 255, 0.28) 18px,
      rgba(245, 243, 239, 0.95) 18px,
      rgba(245, 243, 239, 0.95) 44px
    );
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

.page-shell {
  min-height: 100vh;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(0.75rem, 3.5vw, 2.75rem);
}

.content,
.status-block {
  width: var(--container-width);
}

.status-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 7vw, 4rem);
}

.corner-mark {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  border-left: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  flex: none;
}

.corner-mark::before {
  content: "";
  position: absolute;
  inset: -0.275rem auto auto -0.05rem;
  width: 0.425rem;
  height: 0.425rem;
  border-top: 1px solid var(--text);
  border-left: 1px solid var(--text);
}

.corner-mark__dot {
  position: absolute;
  right: -0.275rem;
  bottom: -0.175rem;
  width: 0.275rem;
  height: 0.275rem;
  background: var(--accent);
}

.eyebrow {
  margin: 0;
  font-size: 0.475rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-shadow: 0 0 0.45rem var(--shadow);
}

.accent {
  color: var(--accent);
}

.hero h1,
.hero__lead,
.terminal-line {
  text-shadow: 0 0 0.675rem var(--shadow);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero__lead {
  margin: 0.675rem 0 0;
  font-size: clamp(0.8rem, 2.1vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.contact-block {
  margin-top: clamp(1.75rem, 5.5vw, 3rem);
}

.rule {
  width: 1rem;
  height: 1px;
  margin-bottom: 1.125rem;
  background: var(--accent);
}

.terminal-line {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0 0 1rem;
  font-size: clamp(0.625rem, 1.7vw, 1.175rem);
  line-height: 1.35;
  font-style: normal;
}

.terminal-label {
  color: var(--text);
}

.prompt {
  font-weight: 500;
}

.terminal-line a {
  color: var(--accent);
}

.terminal-line--cursor {
  gap: 0.075rem;
  color: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .status-block {
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }

  .corner-mark {
    width: 0.85rem;
    height: 0.85rem;
  }

  .terminal-line {
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }
}
