@font-face {
  font-family: Outfit;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root { color-scheme: light; font-family: Outfit, Arial, sans-serif; color: #111; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-shell { width: 100%; max-width: 460px; padding: 48px 28px; }
.hero { text-align: center; margin-bottom: 34px; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(26px, 6.5vw, 32px); line-height: 1.2; font-weight: 400; letter-spacing: -.035em; margin: 0; }
.profession { color: #666; font-size: 15px; margin: 12px 0 0; }
.primary-actions { display: grid; gap: 10px; }
.button { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; min-height: 54px; font-size: 14px; border: 1px solid #ddd; border-radius: 5px; transition: background-color 150ms ease; }
.button-light { background: #111; color: #fff; border-color: #111; }
.button-dark { background: #fff; color: #111; }
.contact-details { margin-top: 24px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.contact-label { font-size: 12px; color: #666; min-width: 36px; }
.contact-link svg { width: 15px; height: 15px; margin-left: auto; color: #666; }
footer { text-align: center; padding-top: 26px; }
.qr-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; font-size: 13px; }
dialog { background: #fff; color: #111; border: 1px solid #ddd; border-radius: 8px; width: min(400px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow: auto; padding: 40px 28px 28px; text-align: center; }
dialog::backdrop { background: #0008; }
.close-dialog { position: absolute; top: 4px; right: 8px; width: 44px; height: 44px; font-size: 28px; }
dialog h2 { font-size: 24px; font-weight: 500; margin: 0 0 12px; }
dialog p { font-size: 13px; color: #666; margin: 0 0 20px; }
.contact-qr { display: block; width: 100%; max-width: 264px; height: auto; margin: 0 auto 20px; }
dialog .qr-caption { color: #111; line-height: 1.7; font-size: 15px; }
.qr-caption span { color: #666; font-size: 12px; }
dialog .button { font-size: 13px; }
.dialog-save { display: inline-block; margin-top: 20px; color: #666; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
body.dialog-open { overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .button-light:hover { background: #333; }
  .button-dark:hover { background: #f5f5f5; }
  .qr-trigger:hover, .contact-link:hover { color: #666; }
}
@media (max-width: 360px) { .page-shell { padding-inline: 22px; } .contact-link { font-size: 13px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
