:root {
  color-scheme: light;
  --blue: #076fd9;
  --ink: #071426;
  --muted: #5f6f82;
  --soft: #f3f6fa;
  --line: #dfe5ec;
  --white: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
  background: var(--white);
}
.quick-frame {
  position: relative;
  width: min(100%, 420px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 48px #076fd90c;
  text-align: center;
}
.quick-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 4px;
  background: var(--blue);
  border-radius: 0 0 4px 4px;
}
.brand-logo { display: block; width: 128px; height: auto; margin: 0 auto 12px; }
h1 { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -.04em; }
h1 span { color: var(--blue); }
.subtitle { margin: 8px 0 24px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.quick-links { display: grid; gap: 10px; }
.quick-link {
  min-height: 58px;
  padding: 12px 15px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--blue);
  box-shadow: 0 6px 16px #076fd909;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.link-icon { width: 32px; height: 32px; padding: 7px; border-radius: 7px; color: var(--blue); background: var(--soft); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-label { padding-right: 32px; text-align: center; }
.save-contact { background: var(--blue); border-color: var(--blue); color: white; }
.save-contact .link-icon { color: white; background: #ffffff24; }
.discover .link-icon { color: var(--blue); background: var(--soft); }
.quick-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (hover: hover) { .quick-link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px #076fd920; } }
.quick-link:active { transform: translateY(1px); }
.frame-footer { margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.frame-footer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.frame-footer strong { color: var(--blue); font-weight: 650; }
@media (max-height: 650px) {
  .quick-frame { padding: 20px; border-radius: 18px; }
  .brand-logo { width: 96px; margin-bottom: 8px; }
  h1 { font-size: 28px; }
  .subtitle { margin: 6px 0 18px; font-size: 11px; }
  .quick-link { min-height: 52px; padding-block: 9px; }
  .frame-footer { margin-top: 16px; padding-top: 13px; }
}
@media (max-height: 450px) and (min-width: 560px) {
  .quick-frame { width: min(100%, 640px); display: grid; grid-template-columns: 170px 1fr; column-gap: 24px; align-items: center; }
  .brand { grid-row: 1 / 3; }
  .subtitle { margin-bottom: 0; }
  .frame-footer { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .quick-link { transition: none; } }

/* Personal contact cards: compact enough for a small mobile viewport. */
.quick-frame { padding: 20px; }
.brand-logo { width: 80px; margin-bottom: 6px; }
h1 { font-size: 26px; }
.copy-field { display: block; width: 100%; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; user-select: text; -webkit-user-select: text; }
.person-name { min-height: 34px; font-weight: 800; letter-spacing: -.035em; }
.person-title { min-height: 30px; color: var(--muted); font-size: 13px; }
.contact-info { margin-top: 5px; }
.contact-info .copy-field { min-height: 36px; font-size: 14px; }
.copy-field span { margin-left: 5px; }
.copy-field:focus-visible, .powered-by a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.copy-hint { margin: 3px 0 12px; min-height: 14px; font-size: 10px; line-height: 14px; color: var(--muted); }
.quick-links { gap: 8px; }
.quick-link { min-height: 48px; padding-block: 7px; }
.frame-footer { margin-top: 14px; padding-top: 10px; }
.frame-footer p { font-size: 10px; line-height: 1.5; }
.frame-footer .powered-by { margin-top: 0; font-size: 9px; }
.powered-by a { color: var(--blue); font-weight: 700; text-decoration: none; }
@media (max-height: 600px) {
  body { padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .quick-frame { padding: 14px 18px; }
  .brand-logo { width: 56px; margin-bottom: 3px; }
  .person-name { min-height: 30px; font-size: 24px; }
  .person-title { min-height: 26px; font-size: 12px; }
  .contact-info { margin-top: 2px; }
  .contact-info .copy-field { min-height: 32px; font-size: 13px; }
  .copy-hint { margin-bottom: 8px; }
  .quick-link { min-height: 44px; padding-block: 5px; }
  .frame-footer { margin-top: 10px; padding-top: 8px; }
}

@media (max-height: 520px) and (max-width: 559px) {
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-link { padding-inline: 8px; grid-template-columns: 26px 1fr; font-size: 12px; }
  .link-icon { width: 26px; height: 26px; padding: 5px; }
  .link-label { padding-right: 0; }
}

.save-contact { grid-column: 1 / -1; }
@media (max-height: 700px) and (max-width: 559px) {
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-link { padding-inline: 8px; grid-template-columns: 26px 1fr; font-size: 12px; }
  .link-icon { width: 26px; height: 26px; padding: 5px; }
  .link-label { padding-right: 0; }
  .save-contact .link-label { padding-right: 26px; }
}
