/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #f5f5f5;
  --color-card: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-accent: #0066cc;
  --color-accent-hover: #0052a3;
  --color-border: #e5e5e5;
  --color-icon: #444444;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  line-height: 1.5;
}

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

/* === Header === */
.card-header {
  text-align: center;
  padding: 32px 24px 24px;
}

.card-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.card-header .subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* === Secret Header (for-your-eyes-only) === */
.card-header .secret-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* === Contact Links === */
.contact-list {
  list-style: none;
  border-top: 1px solid var(--color-border);
}

.contact-list li {
  border-bottom: 1px solid var(--color-border);
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.15s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  background: #f0f4ff;
}

.contact-list a:active {
  background: #e0e8f5;
}

.contact-list .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-icon);
}

.contact-list .icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-list .label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
  line-height: 1.2;
}

.contact-list .value {
  font-size: 0.95rem;
  color: var(--color-accent);
  display: block;
  line-height: 1.3;
  word-break: break-word;
}

/* === VCF Download Button === */
.card-footer {
  padding: 16px 24px 24px;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-stack);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-download:hover,
.btn-download:focus-visible {
  background: var(--color-accent-hover);
}

.btn-download:active {
  transform: scale(0.98);
}

.btn-download svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* === Footer note === */
.card-note {
  text-align: center;
  padding: 0 24px 20px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* === Responsive === */
@media (min-width: 480px) {
  .card-header {
    padding: 40px 32px 28px;
  }

  .contact-list a {
    padding: 16px 32px;
  }

  .card-footer {
    padding: 20px 32px 28px;
  }

  .card-note {
    padding: 0 32px 24px;
  }
}
