:root {
  --ns-paper: #FFFFFF;
  --ns-ink: #000000;
  --ns-ink-muted: #5C5C5C;
  --ns-brand: #E6007E;
  --ns-brand-text: #C4006C;
  --ns-brand-tint: #FDE5F1;
  --ns-font-display: Georgia, "Times New Roman", serif;
  --ns-font-ui: Arial, "Segoe UI", Roboto, Helvetica, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ns-paper: #121212;
    --ns-ink: #FFFFFF;
    --ns-ink-muted: #A3A3A3;
    --ns-brand: #FF2D98;
    --ns-brand-text: #FF66B2;
    --ns-brand-tint: #3D0022;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: radial-gradient(60% 50% at 50% 40%, var(--ns-brand-tint) 0%, var(--ns-paper) 70%);
  color: var(--ns-ink);
  font-family: var(--ns-font-ui);
}

.stage {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(32px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  text-align: center;
}

.vcard { width: min(100%, 380px); }

h1 {
  margin: 0;
  font-size: clamp(1.45rem, 5.5vw, 1.875rem);
  font-weight: 600;
  line-height: 1.35;
}

.brand-word {
  margin: 14px 0 0;
  font-family: var(--ns-font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 8.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-accent {
  color: var(--ns-brand);
  font-style: italic;
}

.contact-details {
  display: grid;
  gap: 4px;
  margin: 32px 0;
  font-style: normal;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 0;
  color: var(--ns-ink);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}

.contact-link span { overflow-wrap: anywhere; }
.contact-link svg { color: var(--ns-brand-text); }

svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link:hover span {
  color: var(--ns-brand-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.save-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 10px;
  background: #C4006C;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.save-contact:hover { background: #A8005D; }

:focus-visible {
  outline: 3px solid var(--ns-brand-text);
  outline-offset: 5px;
  border-radius: 10px;
}
