/* The face scan on the homepage and /face-scan. Built on site.css, home.css and
   home41.css: the same cards, type and spacing, with the example portrait.
   Everything drawn over the photo is in the photo's own pixels (each svg's
   viewBox is its crop of the 1086 x 1448 portrait), so the outline, the
   window and the pins stay on her face at every width. */

/* ---------- the photo and what is drawn on it ---------- */

.fs-photo { position: relative; overflow: hidden; background: #E9E1DA; }
.fs-photo picture, .fs-photo img { display: block; width: 100%; height: 100%; }
.fs-photo img { object-fit: cover; }
.fs-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* The app's neutral outline: one thin warm white line with a faint halo. */
.fs-glow { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fs-line { fill: none; stroke: #FFF8F3; stroke-opacity: 0.8; stroke-width: 1.3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* A pin: a small white dot on the finding, and a white pill naming it. */
.fs-pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.fs-pin i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32), 0 1px 4px rgba(26, 22, 20, 0.35); }
.fs-pin b {
  position: absolute; left: 0; bottom: 14px; transform: translateX(-50%);
  white-space: nowrap; font-size: 11.5px; font-weight: 600; line-height: 1; letter-spacing: -0.005em;
  padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.96); color: #1A1614;
  box-shadow: 0 6px 16px -6px rgba(26, 22, 20, 0.45);
}
.fs-pin b::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 10px; margin-left: -0.5px; background: rgba(255, 255, 255, 0.9); }
.fs-pin.fs-below b { bottom: auto; top: 14px; }
.fs-pin.fs-below b::after { top: auto; bottom: 100%; }

/* ---------- hero: the left card ---------- */

.fs-card .fs-photo { margin: 10px 0 14px; aspect-ratio: 1 / 1; border-radius: var(--r-inner); }
.fs-card .fc-sub { margin-bottom: 12px; }

/* ---------- the section after the hero ---------- */

.fs-sec { padding-top: clamp(72px, 9vw, 120px); }
.fs-stage { margin: 0; min-width: 0; }
.fs-stage .fs-photo { width: 86%; aspect-ratio: 4 / 5; border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
/* The scanning look: everything dims a little but one rounded window, with the part's name in it
   (the window sits at the top of the photo, so the name goes inside, over her hair). */
.fs-scrim { fill: rgba(14, 10, 9, 0.3); }
.fs-window { fill: none; stroke: #FFFFFF; stroke-opacity: 0.92; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.fs-spot {
  position: absolute; left: var(--x); top: var(--y); transform: translateX(-50%);
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.95); color: #1A1614; font-size: 13px; font-weight: 500; line-height: 1;
}
.fs-result {
  position: relative; width: 70%; margin: -24% 0 0 30%;
  background: var(--surface); border-radius: var(--r-card); padding: 20px 22px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
}
.fs-count { margin: 4px 0 2px; font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
.fs-across { margin: 0 0 14px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.fs-finding { padding-top: 14px; border-top: 1px solid var(--line); }
.fs-zone { margin: 0; font-size: 12.5px; font-weight: 500; color: var(--accent-text); }
.fs-title { margin: 3px 0 4px; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; }
.fs-likely { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.fs-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-conf { display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--surface-muted); color: var(--ink-2); }
.fs-cap { margin: 18px 0 0; max-width: 36em; }
.fs-copy .btn { margin-top: 30px; }

/* ---------- /face-scan ---------- */

/* The homepage's hero, with her photo where the phone stands. */
.fs-hero { padding-bottom: clamp(48px, 6vw, 72px); }
.fs-hero .display { max-width: 9em; }
.fs-hero .showcase { align-items: center; }
.fs-hero-photo { width: clamp(280px, 30vw, 380px); aspect-ratio: 4 / 5; border-radius: 36px; box-shadow: var(--shadow-lg); animation: rise 0.9s cubic-bezier(.2, .8, .2, 1) 0.15s both; }
.fs-hero .float-card { margin-bottom: 0; }
.fs-hero .hero-sources { margin-top: 40px; }
/* The sections alternate cream and white, as on the homepage. */
.fs-how { background: var(--surface); }
.fs-finds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fs-finds li { display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: 20px; background: var(--surface); }
.fs-finds b { font-size: 16px; font-weight: 600; }
.fs-finds span { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.fs-not { background: var(--surface); }
.fs-pricing { background: var(--bg); }
.fs-pricing .plan:not(.pro) { background: var(--surface); }
.fs-faq { background: var(--surface); }
.fs-close { text-align: center; padding-bottom: clamp(64px, 8vw, 104px); }
.fs-close .section-head { margin-bottom: 32px; }
.fs-close-note { margin: 16px 0 0; }

@media (max-width: 960px) {
  .fs-stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .fs-finds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-hero-photo { width: min(100%, 340px); }
}
@media (max-width: 600px) {
  .fs-stage .fs-photo { width: 100%; }
  .fs-result { width: 88%; margin: -22% 0 0 12%; padding: 18px; }
  .fs-count { font-size: 26px; }
  .fs-copy .btn { width: 100%; }
}
@media (max-width: 520px) {
  .fs-finds { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fs-hero-photo { animation: none; }
}

/* The face map result, as the app draws it since November 24 2026: one finding lit, the photo
   dimmed around its window, and a pill with its number and what it is. No dots on the skin. */
.fs-tag {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 4px 12px 4px 4px; border-radius: 999px; background: #FFFFFF; color: #1A1614;
  font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: -0.005em;
  box-shadow: 0 6px 16px -6px rgba(26, 22, 20, 0.45);
}
.fs-tag i {
  font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: #1A1614; color: #FFFFFF; font-size: 11px; font-weight: 600;
}
.fs-card .fs-tag { font-size: 11.5px; padding: 3px 10px 3px 3px; gap: 6px; }
.fs-card .fs-tag i { width: 17px; height: 17px; font-size: 10px; }
.fs-line.fs-faint, .fs-glow.fs-faint { stroke-opacity: 0.3; }

/* Callouts, the face map's look since November 24 2026 (evening): an anchor on the skin where a
   kind of finding was seen, a thin line to the photo's edge, and a label there with what and where. */
.fs-co { position: absolute; inset: 0; pointer-events: none; }
.fs-co::before { content: ""; position: absolute; top: var(--ay); height: 1px; margin-top: -0.5px; background: rgba(255, 255, 255, 0.85); }
.fs-co-l::before { left: 3%; width: calc(var(--ax) - 3%); }
.fs-co-r::before { left: var(--ax); right: 3%; }
.fs-co i { position: absolute; left: var(--ax); top: var(--ay); width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
.fs-co b {
  position: absolute; top: var(--ay); transform: translateY(-50%); display: grid; gap: 2px; max-width: 41%;
  padding: 7px 11px; border-radius: 11px; background: rgba(255, 255, 255, 0.96); color: #1A1614;
  font-size: 13px; font-weight: 600; line-height: 1.15; letter-spacing: -0.005em; white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(26, 22, 20, 0.45);
}
.fs-co b small { font-size: 11px; font-weight: 400; color: #645A55; white-space: normal; line-height: 1.25; }
.fs-co-l b { left: 3%; }
.fs-co-r b { right: 3%; }
.fs-card .fs-co b { padding: 5px 8px; border-radius: 9px; font-size: 11px; }
.fs-card .fs-co b small { font-size: 9.5px; }
