:root {
  --black: #0c0c0c;
  --ink: #111417;
  --silver: #c8ccce;
  --silver-dark: #8a9094;
  --line: #e3e6e8;
  --bg: #f4f5f6;
  --white: #ffffff;
  --accent: #00a3e0; /* Mercedes service blue accent */
  --radius: 16px;
  --shadow: 0 18px 50px rgba(12, 12, 12, 0.16);
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body.card-body,
body.index-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 18px 56px;
  background:
    radial-gradient(120% 60% at 50% 0%, #1b1d1f 0%, #0c0c0c 60%) no-repeat,
    var(--bg);
  background-size: 100% 280px, 100% 100%;
}

/* ---- brand lockup ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: var(--silver);
}
.star {
  font-size: 22px;
  line-height: 1;
  color: var(--white);
}

/* ---- card page ---- */
.card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-head {
  text-align: center;
  padding: 26px 26px 22px;
  background: linear-gradient(180deg, #131517 0%, #1d2023 100%);
  color: var(--white);
}
.card-head .brand { margin-bottom: 18px; }

.photo {
  width: 104px;
  height: 104px;
  margin: 6px auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2e31, #3c4145);
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder::after {
  content: attr(data-initials);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--silver);
}

.name {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.title {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.company { margin: 14px 0 2px; font-size: 14px; font-weight: 600; color: var(--silver); }
.tagline { margin: 0; font-size: 12px; line-height: 1.5; color: var(--silver-dark); }

/* ---- primary button ---- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-primary {
  margin: 22px 26px 6px;
  padding: 15px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  transition: transform 0.08s ease, background 0.2s ease;
}
.btn-primary:hover { background: #000; }
.btn-primary:active { transform: scale(0.99); }

/* ---- contact actions ---- */
.actions { list-style: none; margin: 14px 0 4px; padding: 0 14px; }
.actions li { border-top: 1px solid var(--line); }
.actions li:first-child { border-top: none; }
.actions a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 12px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}
.actions a:hover { background: #f7f8f9; }
.actions .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-dark);
}
.actions .val { font-size: 15px; font-weight: 500; word-break: break-word; }

/* ---- QR ---- */
.qr { text-align: center; padding: 20px 26px 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.qr-caption { margin: 0 0 12px; font-size: 12px; letter-spacing: 0.06em; color: var(--silver-dark); text-transform: uppercase; }
.qr img { width: 180px; height: 180px; }

.card-foot { text-align: center; padding: 18px 26px 26px; }
.card-foot a { color: var(--silver-dark); font-size: 13px; text-decoration: none; }
.card-foot a:hover { color: var(--ink); }

/* ---- index page ---- */
.index {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.index-head {
  text-align: center;
  padding: 30px 26px 26px;
  background: linear-gradient(180deg, #131517 0%, #1d2023 100%);
  color: var(--white);
}
.index-head .brand { margin-bottom: 16px; }
.index-head h1 { margin: 4px 0 6px; font-size: 22px; font-weight: 600; }
.index-head .tagline { color: var(--silver-dark); font-size: 12.5px; }

.people { list-style: none; margin: 0; padding: 10px 14px 6px; }
.people li { border-top: 1px solid var(--line); }
.people li:first-child { border-top: none; }
.people-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease;
}
.people-card:hover { background: #f7f8f9; }
.people-initials {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, #2a2e31, #3c4145);
  letter-spacing: 0.03em;
}
.people-info { display: flex; flex-direction: column; flex: 1 1 auto; }
.people-name { font-size: 16px; font-weight: 600; }
.people-title { font-size: 12.5px; color: var(--silver-dark); }
.people-go { color: var(--silver-dark); font-size: 18px; }

.index-foot { text-align: center; padding: 16px 26px 26px; }
.index-foot a { color: var(--silver-dark); font-size: 13px; text-decoration: none; }
.index-foot a:hover { color: var(--ink); }

@media print {
  body.card-body, body.index-body { background: var(--white); padding: 0; }
  .card, .index { box-shadow: none; }
}
