/* qr.studio link-in-bio public page */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/Bricolage-Grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200D, U+FB50-FDFF, U+FE70-FEFF; } /* Arabic glyphs: IBM Plex Sans Arabic (OFL) */

.bio {
  --bio-bg: #f7f6ff; --bio-ink: #17123a; --bio-muted: #5c5880; --bio-surface: #ffffff; --bio-line: #e2def4;
  --bio-accent: #17123a; --bio-accent-ink: #ffffff; --bio-radius: 999px;
  --bio-on-ink: var(--bio-bg); /* text on ink-coloured buttons; gradient presets set a solid colour */
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center;
  padding: 48px 16px 24px; box-sizing: border-box;
  background: var(--bio-bg); color: var(--bio-ink);
  font: 400 16px/1.5 "Geist", system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased;
}
.bio *, .bio *::before, .bio *::after { box-sizing: inherit; }
.bio--dark { --bio-bg: #121019; --bio-ink: #f4f2ff; --bio-muted: #b4afd6; --bio-surface: #1d1a2a; --bio-line: #2e2a44; }
.bio--sunset { --bio-bg: linear-gradient(160deg, #ffd6c9 0%, #ffe7a6 45%, #d8d2ff 100%); --bio-muted: #4a4470; --bio-line: rgba(23, 18, 58, 0.12); --bio-on-ink: #ffffff; }
.bio--mint { --bio-bg: #e7f6ef; --bio-ink: #0f2e24; --bio-muted: #3d5f53; --bio-line: #c9e6d9; }
.bio--mono { --bio-bg: #ffffff; --bio-ink: #111111; --bio-muted: #555555; --bio-line: #e5e5e5; }
/* trendy backgrounds (2026-11-11); ink and muted text >= 4.5:1 on every gradient stop */
.bio--paper { --bio-bg: #f5f3ee; --bio-ink: #16141f; --bio-muted: #5d5a66; --bio-line: #e2ded4; }
.bio--aurora {
  --bio-bg: radial-gradient(60% 50% at 20% 10%, #c6f6e3 0%, transparent 70%), radial-gradient(55% 45% at 85% 25%, #dcd3ff 0%, transparent 70%), radial-gradient(70% 60% at 50% 100%, #cfe8ff 0%, transparent 70%), #f4f7ff;
  --bio-ink: #14122b; --bio-muted: #44425f; --bio-line: rgba(20, 18, 43, 0.12); --bio-on-ink: #ffffff;
}
.bio--peach { --bio-bg: linear-gradient(170deg, #ffd3b6 0%, #ffaaa5 100%); --bio-ink: #3a1410; --bio-muted: #6b2f28; --bio-line: rgba(58, 20, 16, 0.14); --bio-on-ink: #ffffff; }
.bio--ocean {
  --bio-bg: linear-gradient(165deg, #0b3d5c 0%, #0c5c66 100%); --bio-ink: #effaff; --bio-muted: #cdeaef;
  --bio-surface: rgba(255, 255, 255, 0.12); --bio-line: rgba(255, 255, 255, 0.22); --bio-on-ink: #0b3d5c;
}
.bio--midnight {
  --bio-bg: radial-gradient(60% 45% at 50% 0%, #4b2a9a 0%, transparent 70%), #0d0b1f; --bio-ink: #f1edff; --bio-muted: #c4bce8;
  --bio-surface: #1b1733; --bio-line: #2f2852; --bio-on-ink: #0d0b1f;
}
.bio--lime { --bio-bg: #ecffb8; --bio-ink: #1d2a00; --bio-muted: #46551a; --bio-line: #d3ea8e; }
/* print shop: the generator's proof card, crop marks in the corners over a faint dot grid */
.bio--print { --bio-bg: #f5f3ee; --bio-ink: #16141f; --bio-muted: #5d5a66; --bio-line: #e2ded4; --bio-surface: #ffffff; }
.bio--print .bio-card {
  --crop: var(--bio-ink);
  background:
    linear-gradient(var(--crop), var(--crop)) 14px 14px / 18px 1.5px no-repeat,
    linear-gradient(var(--crop), var(--crop)) 14px 14px / 1.5px 18px no-repeat,
    linear-gradient(var(--crop), var(--crop)) right 14px top 14px / 18px 1.5px no-repeat,
    linear-gradient(var(--crop), var(--crop)) right 14px top 14px / 1.5px 18px no-repeat,
    linear-gradient(var(--crop), var(--crop)) left 14px bottom 14px / 18px 1.5px no-repeat,
    linear-gradient(var(--crop), var(--crop)) left 14px bottom 14px / 1.5px 18px no-repeat,
    linear-gradient(var(--crop), var(--crop)) right 14px bottom 14px / 18px 1.5px no-repeat,
    linear-gradient(var(--crop), var(--crop)) right 14px bottom 14px / 1.5px 18px no-repeat,
    radial-gradient(circle, rgba(22, 20, 31, 0.09) 1px, transparent 1.5px) 0 0 / 14px 14px,
    var(--bio-surface);
  border: 1px solid var(--bio-line); border-radius: 20px; padding: clamp(40px, 8vw, 48px) clamp(36px, 7vw, 48px); /* clears the 32px crop marks */
  box-shadow: 0 10px 24px -18px rgba(22, 20, 31, 0.35);
}
.bio--btn-rounded { --bio-radius: 14px; }
.bio--btn-square { --bio-radius: 4px; }

.bio-card { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.bio-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--bio-surface); }
.bio-avatar--empty { display: grid; place-items: center; background: var(--bio-av-bg, var(--bio-accent)); color: var(--bio-av-ink, var(--bio-accent-ink)); font: var(--bio-head-weight, 700) 2.25rem/1 var(--bio-head, "Bricolage Grotesque", sans-serif); }
.bio-name { margin: 16px 0 4px; font: var(--bio-head-weight, 700) calc(clamp(1.5rem, 5vw, 1.875rem) * var(--bio-head-scale, 1))/1.15 var(--bio-head, "Bricolage Grotesque", system-ui, sans-serif); text-wrap: balance; overflow-wrap: anywhere; }
.bio-text { margin: 0; max-width: 40ch; color: var(--bio-muted); overflow-wrap: anywhere; }

.bio-socials { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.bio-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--bio-ink); transition: background 0.15s; }
.bio-socials a:hover { background: var(--bio-line); }
.bio-socials svg { width: 22px; height: 22px; fill: currentColor; }

.bio-links { list-style: none; margin: 28px 0 0; padding: 0; width: 100%; display: grid; gap: 12px; }
.bio-link {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 20px;
  border-radius: var(--bio-radius); background: var(--bio-accent); color: var(--bio-accent-ink);
  font-weight: 600; text-decoration: none; overflow-wrap: anywhere; text-transform: var(--bio-btn-case, none); letter-spacing: var(--bio-btn-track, normal);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.6); transition: transform 0.15s, box-shadow 0.15s;
}
/* shared styles (bio/styles.css): the first button is the accent, the others the style's secondary look; classic presets set none of these */
.bio-links li + li .bio-link { background: var(--bio-b2-bg, var(--bio-accent)); color: var(--bio-b2-ink, var(--bio-accent-ink)); border: var(--bio-b2-line, 0); }
/* cover: the style's pattern or the owner's photo (1200x400), the avatar overlaps its lower edge */
.bio-cover { display: block; width: 100%; aspect-ratio: 3 / 1; height: auto; border-radius: 20px; background: var(--bio-cover, var(--bio-line)); object-fit: cover; }
.bio-cover + .bio-avatar { margin-top: -48px; position: relative; }
.bio-link:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.7); }
.bio-link:active { transform: translateY(0); }
.bio a:focus-visible, .bio summary:focus-visible, .bio button:focus-visible, .bio textarea:focus-visible { outline: 3px solid var(--bio-ink); outline-offset: 3px; }
.bio-card > .bio-link { margin-top: 24px; width: 100%; }

.bio-foot { margin-top: auto; padding-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.875rem; color: var(--bio-muted); }
.bio-badge { color: var(--bio-ink); text-decoration: none; padding: 10px 16px; border-radius: 999px; background: var(--bio-surface); border: 1px solid var(--bio-line); }
.bio-report { text-align: center; }
.bio-report summary { cursor: pointer; padding: 10px; list-style: none; text-decoration: underline; }
.bio-report summary::-webkit-details-marker { display: none; }
.bio-report__form { display: grid; gap: 8px; width: min(320px, 100%); margin: 8px auto 0; text-align: left; }
.bio-report textarea { font: inherit; padding: 10px; border-radius: 10px; border: 1px solid var(--bio-line); background: var(--bio-surface); color: var(--bio-ink); }
.bio-report button { font: inherit; font-weight: 600; min-height: 44px; border: 0; border-radius: 999px; background: var(--bio-ink); color: var(--bio-on-ink); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .bio-link { transition: none; } .bio-link:hover { transform: none; } }

/* small ad (approved pages only): fixed 320x100 box, quiet label in the preset's muted colour */
.bio-ad { width: 320px; flex-shrink: 0; margin: 40px 0 0; text-align: center; } /* wider than the padded column on 320-351px phones: the flex body centres it into the side padding, never clipped */
.bio-ad__label { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--bio-muted); margin-bottom: 4px; }
