/* UseBioMe — landing page (HTML/CSS puro) */

:root {
  color-scheme: light;
  --bg: #fbf6ef;
  --paper: #ffffff;
  --ink: #17131a;
  --ink-2: #5b5560;
  --ink-3: #948d99;
  --line: #ece4da;
  --pink: #ff4f7b;
  --orange: #ff9a3c;
  --grad: linear-gradient(120deg, #ff4f7b 0%, #ff9a3c 100%);
  --display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; font-weight: 600; font-size: 0.9375rem; white-space: nowrap; border: 2px solid transparent; transition: transform 150ms, filter 150ms; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { height: 3.5rem; padding: 0 2rem; font-size: 1.0625rem; }
.btn-dark { background: var(--ink); color: #fff; height: 2.5rem; font-size: 0.875rem; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgb(255 79 123 / 0.7); }
.btn-line { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }

/* header */
.header { position: sticky; top: 0; z-index: 20; background: rgb(251 246 239 / 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.625rem; background: var(--grad); color: #fff; }
.brand-sm { font-size: 1rem; }
.brand-sm .brand-mark { width: 1.5rem; height: 1.5rem; border-radius: 0.5rem; }
.nav { display: none; gap: 2rem; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 3.5rem 0 4.5rem; overflow: hidden; }
.hero-inner { display: grid; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 1; font-weight: 800; text-wrap: balance; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 1.25rem; max-width: 30rem; font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); }
.claim { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; max-width: 30rem; padding: 0.375rem 0.375rem 0.375rem 1.125rem; border-radius: 1.5rem; background: var(--paper); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.claim-prefix { font-weight: 600; color: var(--ink-3); }
.claim input { flex: 1 1 6rem; min-width: 0; height: 2.75rem; border: 0; outline: 0; background: transparent; font-weight: 600; }
.claim .btn { flex: 1 0 100%; }
.hint { margin-top: 0.875rem; font-size: 0.875rem; color: var(--ink-3); }

.hero-phone { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.phone { width: 100%; max-width: 17.5rem; padding: 0.625rem; border-radius: 2.5rem; background: var(--ink); box-shadow: 0 30px 60px -25px rgb(23 19 26 / 0.45); transform: rotate(2deg); }
.bio { display: flex; flex-direction: column; align-items: center; gap: 0.625rem; padding: 2rem 1rem 1.75rem; border-radius: 2rem; background: linear-gradient(180deg, #ffe3ea 0%, #fff1e2 100%); text-align: center; }
.avatar { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--display); font-size: 1.375rem; font-weight: 800; border: 3px solid #fff; box-shadow: 0 6px 16px -6px rgb(255 79 123 / 0.6); }
.bio-name { font-family: var(--display); font-size: 1.0625rem; }
.bio-desc { font-size: 0.75rem; color: var(--ink-2); line-height: 1.4; }
.bio-socials { display: flex; gap: 0.375rem; margin-bottom: 0.25rem; }
.bio-socials span { display: grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.625rem; font-weight: 700; }
.bio-link { width: 100%; padding: 0.75rem; border-radius: 0.875rem; background: #fff; font-size: 0.8125rem; font-weight: 600; box-shadow: 0 2px 0 rgb(23 19 26 / 0.08); }
.bio-link.featured { background: var(--ink); color: #fff; }

.sticker { position: absolute; padding: 0.5rem 0.875rem; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.sticker-a { top: 2rem; left: 0; transform: rotate(-6deg); }
.sticker-b { bottom: 2.5rem; right: 0; transform: rotate(4deg); max-width: 90%; overflow: hidden; text-overflow: ellipsis; }
.sticker-b b { color: var(--pink); }

/* steps */
.steps { padding: 4.5rem 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps h2, .plans h2, .faq h2 { font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.05; font-weight: 800; }
.steps-list { margin-top: 2.5rem; display: grid; gap: 1rem; }
.steps-list li { padding: 1.5rem; border-radius: 1.5rem; background: var(--bg); }
.steps-list b { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--display); font-size: 1.125rem; }
.steps-list h3 { margin-top: 1rem; font-size: 1.375rem; font-weight: 800; }
.steps-list p { margin-top: 0.375rem; color: var(--ink-2); line-height: 1.6; }
.steps-list em { font-style: normal; font-weight: 600; color: var(--ink); }

/* plans */
.plans { padding: 4.5rem 0; }
.plans-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; max-width: 52rem; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: 1.75rem; background: var(--paper); border: 2px solid var(--ink); }
.plan-pro { background: var(--ink); color: #fff; box-shadow: 6px 6px 0 var(--pink); }
.badge { position: absolute; top: -0.875rem; right: 1.5rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--grad); color: #fff; font-size: 0.75rem; font-weight: 700; }
.plan h3 { font-size: 1.375rem; font-weight: 800; }
.price { margin-top: 0.75rem; font-family: var(--display); font-size: 3.25rem; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.price span { font-size: 1.25rem; vertical-align: 1.4rem; margin-right: 0.125rem; }
.price small { font-family: var(--font); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.plan-desc { margin-top: 0.5rem; color: var(--ink-2); }
.plan-pro .plan-desc, .plan-pro .price small { color: #b6aebb; }
.plan ul { margin: 1.5rem 0 1.75rem; display: grid; gap: 0.75rem; flex: 1; }
.plan li { position: relative; padding-left: 1.75rem; font-size: 0.9375rem; }
.plan li::before { position: absolute; left: 0; top: 0.0625rem; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; font-size: 0.6875rem; font-weight: 800; }
.plan li.yes::before { content: "✓"; background: #ffe3ea; color: var(--pink); }
.plan-pro li.yes::before { background: var(--grad); color: #fff; }
.plan li.no { color: var(--ink-3); }
.plan li.no::before { content: "!"; background: #f1ebe3; color: var(--ink-3); }
.plan .btn { width: 100%; }
.plan-note { margin-top: 0.75rem; text-align: center; font-size: 0.8125rem; color: #b6aebb; }

/* faq */
.faq { padding: 4.5rem 0; background: var(--paper); border-top: 1px solid var(--line); }
.faq-inner { display: grid; gap: 2rem; }
.faq-list { display: grid; gap: 0.625rem; }
.faq details { border-radius: 1.25rem; background: var(--bg); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.125rem 1.25rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.25rem; font-weight: 500; transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.25rem 1.25rem; color: var(--ink-2); line-height: 1.6; }

/* cta */
.cta { padding: 1rem 0 4.5rem; background: var(--paper); }
.cta-box { display: grid; justify-items: start; gap: 1.75rem; padding: 2.5rem 1.5rem; border-radius: 2rem; background: var(--grad); color: #fff; }
.cta-box h2 { font-size: clamp(1.875rem, 6vw, 3rem); line-height: 1.05; font-weight: 800; text-wrap: balance; max-width: 34rem; }

/* footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; font-size: 0.875rem; color: var(--ink-3); }
.footer nav { display: flex; gap: 1.25rem; }
.footer nav a:hover { color: var(--ink); }

/* responsive */
@media (min-width: 520px) {
  .claim { flex-wrap: nowrap; }
  .claim .btn { flex: 0 0 auto; }
}

@media (min-width: 768px) {
  .wrap { padding: 0 1.5rem; }
  .nav { display: flex; }
  .hero { padding: 5rem 0 6rem; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .steps, .plans, .faq { padding: 6rem 0; }
  .steps-list { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .faq-inner { grid-template-columns: 0.6fr 1.4fr; gap: 3rem; }
  .cta { padding-bottom: 6rem; }
  .cta-box { grid-template-columns: 1fr auto; align-items: center; padding: 3.5rem; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
