/* anatomyatlas3d.app: one typeface everywhere, Manrope (self-hosted, SIL OFL, variable 400-800). */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #101828;
  --ink-2: #475467;
  --muted: #667085;
  --red: #E63946;
  --red-dark: #C1121F;
  --blue: #2E7CF6;
  --page: #FFFFFF;
  --tint: #F5F7FA;
  --border: #E4E7EC;
  --dark: #101828;
  --dark-2: #1D2939;
  --shadow: 0 20px 40px rgba(16, 24, 40, .14), 0 4px 10px rgba(16, 24, 40, .06);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-weight: 500; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--red); color: #fff; font-size: 16px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--tint); color: var(--ink); }
.store-badge { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 24px 0 18px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.store-badge:hover { background: var(--dark-2); color: #fff; }
.store-badge svg { width: 30px; height: 30px; fill: #fff; }
.store-badge span { display: flex; flex-direction: column; font-size: 22px; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.store-badge small { font-size: 12px; font-weight: 600; letter-spacing: 0; }

/* Header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header__row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 10px; }
.brand span { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.brand--small span { font-size: 16px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 700; text-decoration: none; }
.nav a:hover { color: var(--red); }

/* Hero */
.hero { padding: 64px 0 72px; background: radial-gradient(1200px 500px at 85% 10%, #FDECEE 0%, rgba(253, 236, 238, 0) 60%), var(--page); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #FDECEE; color: var(--red-dark); font-size: 14px; font-weight: 800; }
.hero__copy { position: relative; z-index: 1; }
.hero h1 { margin: 20px 0 18px; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.hero h1 span { color: var(--red); }
.lead { max-width: 560px; font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.cta-note { font-size: 14px; font-weight: 700; color: var(--muted); }
.stats { display: flex; gap: 32px; margin: 36px 0 0; padding: 0; list-style: none; }
.stats strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 14px; font-weight: 600; color: var(--muted); }
.hero__art { position: relative; height: 600px; }
.phone { position: absolute; width: 48%; max-width: 270px; border-radius: 32px; box-shadow: var(--shadow); }
.phone--back { left: 4%; top: 40px; transform: rotate(-5deg); }
.phone--front { right: 4%; top: 0; transform: rotate(4deg); }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section__head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section h2 { font-size: 42px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.section__head p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 26px; border-radius: 22px; background: var(--tint); }
.card h3 { margin-bottom: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.card p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 1fr) 340px; }
.split--reverse .split__img { order: 2; }
.split__img { width: 100%; border-radius: 32px; box-shadow: var(--shadow); }
.split h2 { margin-bottom: 18px; }
.split p { font-size: 18px; line-height: 1.65; margin-bottom: 22px; }
.section--dark p, .section--dark li { color: #D0D5DD; }
.section--dark strong { color: #fff; }
.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 8px 0 8px 30px; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 4px #FDECEE; }

/* Free comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 0 auto; }
.compare__col { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--border); }
.compare__col--us { border: 2px solid var(--red); }
.compare__col h3 { margin-bottom: 12px; font-size: 20px; font-weight: 800; }
.compare__col ul { margin: 0; padding-left: 20px; }
.compare__col li { margin: 8px 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; border-radius: 22px; box-shadow: 0 10px 24px rgba(16, 24, 40, .12); }
.gallery figcaption { margin-top: 12px; font-size: 14px; font-weight: 700; text-align: center; color: var(--ink-2); }

/* FAQ */
.faq { margin-bottom: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.faq summary { padding: 20px 24px; font-size: 17px; font-weight: 800; cursor: pointer; }
.faq p { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* Final CTA + footer */
.final { padding: 88px 0; }
.final__card { display: flex; align-items: center; gap: 28px; padding: 36px; border-radius: 28px; background: var(--dark); color: #fff; }
.final__card img { border-radius: 22px; }
.final__card div { flex: 1; }
.final__card h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.final__card p { margin-top: 6px; color: #D0D5DD; font-size: 17px; }
.footer { padding: 32px 0 40px; border-top: 1px solid var(--border); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { color: var(--ink-2); font-size: 15px; font-weight: 700; text-decoration: none; }
.footer__fine { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.footer__fine a { color: var(--muted); }

@media (max-width: 960px) {
  .nav { display: none; }
  .header__row .btn { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { height: 480px; max-width: 480px; width: 100%; margin: 0 auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__img { order: 0; }
  .split__img { max-width: 300px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand span { font-size: 16px; }
  .hero { padding: 36px 0 48px; }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  .stats { gap: 20px; }
  .stats strong { font-size: 24px; }
  .hero__art { height: 380px; }
  .phone { border-radius: 24px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 30px; }
  .grid, .compare { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .final__card { flex-direction: column; text-align: center; padding: 28px 20px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

/* Generated links to every content page (site/build.mjs fills the home-links block) */
.home-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.home-links__col h3 { margin-bottom: 12px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.home-links__col h3 a { color: var(--red); text-decoration: none; }
.home-links__col ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; }
.home-links__col li { margin: 0 0 10px; break-inside: avoid; font-size: 15px; font-weight: 700; line-height: 1.35; }
.home-links__col li a { color: var(--ink); text-decoration: none; }
.home-links__col li a:hover { color: var(--red); }
@media (max-width: 600px) { .home-links__col ul { columns: 1; } }
