:root {
  --paper: #f7f9f9;
  --surface: #ffffff;
  --ink: #101b1e;
  --slate: #5c6b6e;
  --hairline: #e3e9e9;
  --signal: #0f7e8b;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

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

body {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.card {
  width: 100%;
  max-width: 390px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 1px 0 rgba(16, 27, 30, 0.03), 0 18px 40px rgba(16, 27, 30, 0.05);
}

.photo-wrap {
  margin: 0 auto 14px;
  width: 100%;
  border-radius: 13px;
  overflow: hidden;
  background: var(--hairline);
  aspect-ratio: 1 / 1;
  max-height: none;
}

.photo {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center center;
}

.identity {
  text-align: center;
  margin-bottom: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.signal {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--signal);
  flex: 0 0 auto;
}

.identity h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.role {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}

.lanes {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.lane {
  border: 1px solid var(--hairline);
  border-radius: 11px;
  padding: 10px 12px 11px;
  background: var(--paper);
}

.lane h2 {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.lane p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--slate);
}

.actions {
  display: grid;
  gap: 7px;
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.action.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #f7f9f9;
}

.action:hover {
  border-color: var(--signal);
}

.action.primary:hover {
  background: #183037;
  border-color: #183037;
}

.action:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

@media (min-width: 480px) {
  body {
    align-items: center;
    padding: 32px 20px;
  }
}
