/* Landing page (/). Mobile-first. Centred hero + full-bleed photo strip, left-aligned section heads, white bordered
   cards, dark plum footer (docs/design-theme.md). No prices here (docs/SPEC.md). */
.l-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.l-narrow { max-width: 800px; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- hero ---------- */
.l-hero { padding: 28px 0 0; background: radial-gradient(70% 60% at 50% 0%, #FFE6DD 0%, rgba(255,230,221,0) 70%), linear-gradient(to bottom, #FFF4F1 0%, var(--paper) 100%); overflow: hidden; }
.l-hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.l-badge {
  margin: 0; display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 99px;
  background: rgba(255,255,255,.7); border: 1px solid #F6CFC6; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.l-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--blush); box-shadow: 0 0 0 3px rgba(255,169,143,.35); }
.l-hero h1 { margin: 16px 0 0; max-width: 17ch; font-size: clamp(34px, 9vw, 54px); line-height: 1.12; font-weight: 700; letter-spacing: -.022em; text-wrap: balance; }
.l-lead { margin: 16px 0 0; max-width: 36em; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.l-cta { margin-top: 26px; display: inline-flex; width: auto; min-height: 58px; padding: 0 30px; font-size: 18px; border-radius: var(--radius-s); }
.l-cta svg { transition: transform .15s var(--ease-out); }
.l-cta:hover svg { transform: translateX(3px); }
.l-private-note { margin: 16px 0 0; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink); }
.l-private-note svg { color: var(--ink-2); }
.l-ticks { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14.5px; color: var(--ink-2); }
.l-ticks li { display: flex; align-items: center; gap: 7px; }
.l-ticks li::before { content: ''; width: 9px; height: 5px; margin-top: -3px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
html:not([data-social-proof="placeholder"], [data-social-proof="example"]) :is(.l-proofline, .l-trusted, .l-trusted-wrap, .l-proof)[data-proof] { display: none !important; }
.nw { white-space: nowrap; }
@media (min-width: 560px) { .br-phone { display: none; } }
.l-proofline { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.l-plat { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.l-plat .g-icon, .l-plat .tp-icon { width: 17px; height: 17px; flex: none; vertical-align: -3px; }
.tp-stars { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; }
.tp-stars i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 2px; background: #219653; color: #fff; font-style: normal; font-size: 11px; line-height: 1; }
.l-trusted-wrap { padding: 8px 0 12px; }
.l-trusted { margin: 0 auto; padding: 0 var(--gutter) 16px; max-width: 900px; text-align: center; font-size: clamp(17px, 2.6vw, 22px); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.l-trusted .hl { background: none; color: var(--accent-ink); }
@media (min-width: 900px) { .l-trusted { max-width: 1120px; } }
.l-proofline .stars { color: var(--star); letter-spacing: 1px; }

/* Full-bleed strip of portrait cards. Scrolls sideways on small screens; never widens the page. */
.l-strip { margin-top: 36px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
.l-strip::-webkit-scrollbar { display: none; }
.l-strip-in { display: flex; gap: 12px; width: max-content; padding: 0 var(--gutter) 28px; margin: 0 auto; }
.l-strip figure { position: relative; margin: 0; width: 168px; flex: none; scroll-snap-align: center; }
.l-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); background: var(--paper-2); box-shadow: var(--shadow-1); }
.l-chip {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 8px; border-radius: 6px;
  background: rgba(255,255,255,.94); color: var(--ink); font-size: 11.5px; font-weight: 600; box-shadow: var(--shadow-1);
}
.l-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.l-chip { white-space: nowrap; }
/* The strip's 168px cards: one line for "AI generated by Belagon". */
.l-strip .l-chip { left: 8px; padding: 4px 8px; font-size: 12px; }
.l-strip .l-chip::before { display: none; }

/* Before/after cards in the strip: a phone selfie (soft, like a front camera) crossfades into the headshot the engine
   made from that person's selfies, and back, on an 8 s loop staggered by --d. The loop only runs while the strip is on
   screen (.is-on from landing-motion.js); until then each card holds its selfie. */
.l-ba { overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.l-strip .l-ba-before { position: absolute; inset: 0; height: 100%; filter: blur(.6px) saturate(.94); }
.l-ba-tag {
  position: absolute; left: 8px; bottom: 10px; padding: 4px 8px; border-radius: 6px;
  background: rgba(34,22,30,.62); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.l-ba .l-ba-before, .l-ba .l-ba-after, .l-ba .l-ba-tag, .l-ba .l-chip {
  animation: 8s cubic-bezier(.4, 0, .2, 1) var(--d, 0s) infinite both paused;
}
.l-ba .l-ba-before { animation-name: l-ba-before; }
.l-ba .l-ba-after { animation-name: l-ba-after; }
.l-ba .l-ba-tag { animation-name: l-ba-tag; }
.l-ba .l-chip { animation-name: l-ba-chip; }
.l-strip.is-on .l-ba > * { animation-play-state: running; }
/* 0–35% selfie, 35–45% crossfade (0.8 s), 45–90% headshot, 90–100% back to the selfie. */
@keyframes l-ba-before { 0%, 35% { opacity: 1; filter: blur(.6px) saturate(.94); } 45%, 90% { opacity: 0; filter: blur(6px) saturate(.94); }
  100% { opacity: 1; filter: blur(.6px) saturate(.94); } }
@keyframes l-ba-after { 0%, 35% { filter: blur(8px); transform: scale(1.04); } 47%, 90% { filter: blur(0); transform: none; } 100% { filter: blur(8px); transform: scale(1.04); } }
@keyframes l-ba-tag { 0%, 33% { opacity: 1; transform: none; } 39%, 94% { opacity: 0; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
@keyframes l-ba-chip { 0%, 42% { opacity: 0; transform: translateY(4px); } 48%, 88% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(4px); } }
/* Reduced motion: the headshot, with the selfie it came from as a small inset. */
@media (prefers-reduced-motion: reduce) {
  .l-ba .l-ba-before, .l-ba .l-ba-after, .l-ba .l-ba-tag, .l-ba .l-chip { animation: none; }
  .l-strip .l-ba-before { inset: 8px 8px auto auto; width: 34%; height: auto; aspect-ratio: 4 / 5; border-radius: 8px; filter: none; box-shadow: 0 0 0 2px #fff, var(--shadow-1); }
  .l-ba .l-ba-tag { display: none; }
}

/* ---------- sections ---------- */
.l-sec { padding: 72px 0 0; }
.l-sec h2, .l-final h2 { margin: 0; font-size: clamp(28px, 7vw, 40px); line-height: 1.18; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.l-sub { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; max-width: 42em; text-wrap: pretty; }
.l-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.l-head-row > div { flex: 1 1 520px; min-width: 0; }
.l-head-row > .btn { flex: none; }
.l-cta--sm { margin: 0 0 0 auto; min-height: 46px; padding: 0 18px; font-size: 15.5px; }
@media (max-width: 639px) { .l-cta--sm { display: none; } }

/* How it works: four cards, illustration on top, numbered caption under. */
.l-steps ol { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 28px; }
.l-steps li { counter-increment: s; position: relative; }
.l-art {
  position: relative; height: 200px; margin-bottom: 18px; border-radius: var(--radius-l); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.l-art img { object-fit: cover; }

/* Animated "how it works" cards. Every loop is 6 s; .is-on (js/how.js) runs them only while the section is in view. */
.hw *, .hw { animation-duration: 6s; animation-iteration-count: infinite; animation-timing-function: var(--ease-out); animation-play-state: paused; }
.l-steps.is-on .hw, .l-steps.is-on .hw * { animation-play-state: running; }
.hw { container-type: size; }
.hw-cursor { position: absolute; z-index: 3; left: 0; top: 0; translate: 104cqw 100cqh; filter: drop-shadow(0 2px 3px rgba(34,22,30,.25)); pointer-events: none; }

/* 1: three looks get ticked one after another by a moving cursor. */
.hw--looks { gap: 6px; padding: 0 8px; }
.hw-look { position: relative; flex: 1 1 0; min-width: 0; max-width: 116px; display: flex; flex-direction: column; gap: 6px; padding: 5px 5px 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  animation-name: hw-look; animation-delay: calc(var(--i) * 1.1s); }
.hw-look img { width: 100%; aspect-ratio: 3 / 4; border-radius: 6px; }
.hw-look em { font-style: normal; font-size: 11px; font-weight: 600; line-height: 1.25; text-align: center; }
/* Narrow cards: "Business casual" takes two lines, so every label gets two; labels may use the look's side padding. */
@container (max-width: 320px) { .hw-look em { margin: 0 -3px; min-height: 2.5em; display: grid; place-items: center; text-wrap: balance; } }
.hw-badge { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--cta);
  box-shadow: 0 2px 6px rgba(212, 31, 92,.35); transform: scale(0); animation-name: hw-pop; animation-delay: calc(var(--i) * 1.1s); }
@keyframes hw-pop { 0%, 14% { transform: scale(0); } 18% { transform: scale(1.25); } 21%, 88% { transform: scale(1); } 94%, 100% { transform: scale(0); } }
@keyframes hw-look { 0%, 13% { border-color: var(--line); } 16%, 88% { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } 94%, 100% { border-color: var(--line); } }
.hw--looks .hw-cursor { animation-name: hw-cur1; }
@keyframes hw-cur1 {
  0% { translate: 104cqw 100cqh; }
  12%, 16% { translate: 19cqw 44cqh; } 14% { scale: .82; }
  28%, 34% { translate: 51cqw 48cqh; } 31% { scale: .82; }
  46%, 52% { translate: 83cqw 44cqh; } 49% { scale: .82; }
  80%, 100% { translate: 104cqw 100cqh; }
}

/* 2: selfies drop into the box one by one. */
.hw-drop { width: calc(100% - 28px); height: calc(100% - 28px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px dashed var(--line-2); border-radius: 10px; color: var(--accent); background: var(--paper); }
.hw-drop b { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.hw-thumbs { margin-top: 8px; display: flex; gap: 5px; }
.hw-thumb { width: 34px; height: 44px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-1); opacity: 0; transform: translateY(-26px) scale(.8);
  animation-name: hw-drop; animation-delay: calc(var(--i) * .35s); }
.hw-thumb img { width: 100%; height: 100%; }
@keyframes hw-drop { 0%, 8% { opacity: 0; transform: translateY(-26px) scale(.8); } 16%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(6px); } }

/* 3: a portrait resolves from coarse pixels on a grid (canvas, js/how.js). */
.hw--make { background: var(--paper) linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 20px 20px; }
.hw-canvas { width: 150px; height: 150px; border-radius: 10px; box-shadow: var(--shadow-2); image-rendering: pixelated; background: var(--paper-2); }
.hw-status { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 4px 10px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow-1); font-size: 11.5px; font-weight: 600; }
.hw-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation-name: hw-blink; animation-duration: 1.2s; }
@keyframes hw-blink { 50% { opacity: .25; } }

/* 4: a gallery; one photo gets a heart, the cursor heads for Download. */
.hw--grid { flex-direction: column; gap: 8px; }
.hw-tiles { display: grid; grid-template-columns: repeat(3, 44px); gap: 5px; }
.hw-tile { position: relative; }
.hw-tile img { width: 44px; height: 44px; border-radius: 6px; display: block; }
.hw-heart { position: absolute; right: -5px; top: -5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent);
  box-shadow: var(--shadow-1); transform: scale(0); animation-name: hw-heart; }
.hw-heart svg { width: 12px; height: 12px; }
.hw-tile.is-fav img { animation-name: hw-fav; }
@keyframes hw-heart { 0%, 26% { transform: scale(0); } 30% { transform: scale(1.35); } 34%, 90% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
@keyframes hw-fav { 0%, 26% { box-shadow: none; } 30%, 90% { box-shadow: 0 0 0 2px var(--accent); } 96%, 100% { box-shadow: none; } }
.hw-dl { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 6px; background: var(--cta); color: #fff; font-size: 11.5px; font-weight: 600; animation-name: hw-press; }
@keyframes hw-press { 0%, 60% { transform: none; } 63% { transform: scale(.92); } 67%, 100% { transform: none; } }
.hw--grid .hw-cursor { animation-name: hw-cur4; }
@keyframes hw-cur4 {
  0% { translate: 104cqw 10cqh; }
  24%, 30% { translate: 52cqw 43cqh; } 27% { scale: .82; }
  56%, 66% { translate: 56cqw 86cqh; } 62% { scale: .82; }
  90%, 100% { translate: 104cqw 10cqh; }
}

/* Reduced motion: the finished state of each card, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  .hw *, .hw { animation: none !important; }
  .hw-badge, .hw-heart { transform: none; }
  .hw-thumb { opacity: 1; transform: none; }
  .hw-cursor { display: none; }
}
.l-steps li > b { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.l-steps li > b::before {
  content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cta); color: #fff; font-size: 13.5px; font-weight: 700;
}
.l-steps li > span { display: block; margin-top: 6px; padding-left: 36px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 640px) { .l-steps ol { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .l-steps ol { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Examples grid */
.l-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.l-grid figure { margin: 0; }
.l-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
@media (min-width: 640px) { .l-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }

@keyframes rv-slide { to { transform: translateX(-50%); } }

/* Top Models radial pill showcase */
.l-models { padding-top: 72px; }
.md-stage { position: relative; border-radius: var(--radius-l); background: radial-gradient(60% 60% at 50% 50%, #FFF4F1 0%, var(--paper) 75%); border: 1px solid var(--line); padding: 36px 20px; overflow: hidden; }
.md-center { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; text-align: center; }
.md-eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.md-center .l-sub { margin: 12px auto 0; max-width: 34em; }
.md-ring { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.md-ring li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.md-ring img { width: 20px; height: 20px; flex: none; }
@media (min-width: 900px) {
  .md-stage { min-height: 520px; display: grid; place-items: center; padding: 64px 32px; }
  .md-stage::before { content: ''; position: absolute; width: 68%; height: 68%; border-radius: 50%; border: 1px dashed var(--line-2); opacity: .65; pointer-events: none; }
  .md-ring { margin: 0; position: absolute; inset: 0; display: block; pointer-events: none; }
  .md-ring li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); pointer-events: auto; padding: 10px 18px; font-size: 14.5px; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
  .md-ring li:hover { transform: translate(-50%, calc(-50% - 2px)); box-shadow: var(--shadow-2); }
}

/* Pricing: a dark plum band with three white cards, then a comparison table. Numbers come from /api/config. */
.l-pricing { padding-top: 72px; }
.pricing-page .l-pricing { padding-top: 0; }
.pr-band { padding: 64px 0 56px; background: radial-gradient(60% 50% at 50% 0%, rgba(255, 140, 120, .22), rgba(255,140,120,0) 70%), var(--plum); color: #F7F1EE; text-align: center; }
.pr-band h2 { color: #fff; }
.pr-band .hl { background: linear-gradient(100deg, #FF8E9E, #FFB38A); -webkit-background-clip: text; background-clip: text; }
.pr-band .l-sub { margin-left: auto; margin-right: auto; color: rgba(247, 241, 238, .78); text-wrap: balance; }
.l-badge--dark { margin-bottom: 16px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 179, 138, .45); color: #FFD3C2; }
@media (max-width: 560px) { .l-badge--dark { text-transform: none; letter-spacing: 0; font-size: 13px; white-space: nowrap; } }
.pr-grid { margin: 36px auto 0; max-width: 1080px; display: grid; gap: 16px; text-align: left; }
/* Hold the cards' height while prices load (measured card heights), so nothing below jumps. */
.pr-grid:has(.pr-fallback[data-loading]) { min-height: 1252px; align-content: center; }
@media (min-width: 860px) { .pr-grid:has(.pr-fallback[data-loading]) { min-height: 407px; } }
.pr-fallback { color: rgba(247,241,238,.8); text-align: center; }
.pr-fallback a { color: #fff; }
.pr-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: var(--radius-l); background: var(--surface); color: var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.pr-card.is-pop { box-shadow: 0 0 0 3px #FF8E7A, 0 24px 48px rgba(0,0,0,.25); }
.pr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.pr-top h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.pr-tag { padding: 4px 11px; border-radius: 99px; background: var(--accent-soft); border: 1px solid #F7CACF; color: var(--accent-ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pr-tag--alt { background: #F1ECF0; border-color: #E2D7DF; color: var(--plum); }
.pr-price { margin: 18px 0 0; display: flex; align-items: flex-start; font-size: 54px; line-height: 1; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pr-cur { font-size: 28px; margin: 6px 2px 0 0; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.pr-price s { margin: 6px 0 0 10px; font-size: 20px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.pr-once { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-3); }
.pr-card ul { margin: 20px 0 22px; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); flex: 1; }
.pr-card li { display: flex; gap: 10px; align-items: center; }
.pr-card li svg { flex: none; color: var(--accent); }
.pr-card li b { color: var(--ink); }
.pr-cta { margin-top: auto; }
.pr-guar { margin: 26px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; color: rgba(247,241,238,.85); }
.pr-guar svg { color: #8FD3B1; }
.pr-guar a { color: #fff; text-underline-offset: 3px; padding: 12px 0; margin: -12px 0; }
@media (min-width: 860px) { .pr-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } .pr-card.is-pop { transform: translateY(-8px); } }

.pr-compare { margin: 48px auto 0; max-width: 880px; }
.pr-compare h3, .pr-compare h2 { margin: 0 0 16px; font-size: 22px; text-align: center; letter-spacing: -.01em; line-height: 1.3; }
.pr-table { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; }
.pr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; padding: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); align-items: start; }
.pr-row > :first-child { font-weight: 600; color: var(--ink); }
.pr-row > :nth-child(2) { color: var(--ink); }
.pr-row b { font-weight: 700; }
.pr-head { border-top: 0; background: var(--paper); font-weight: 700; color: var(--ink); }
.pr-head > :nth-child(2) { color: var(--accent-ink); }
@media (max-width: 699px) { .pr-row > :first-child { grid-column: 1 / -1; } .pr-head > :first-child { display: none; } }
@media (min-width: 700px) { .pr-row { grid-template-columns: 180px 1fr 1fr; padding: 16px 24px; font-size: 15.5px; gap: 20px; } }

/* News section */
.l-news h2 { text-align: center; margin-bottom: 28px; }
.nw-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .nw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.nw-card { margin: 0; padding: 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.nw-card p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.nw-card footer { display: flex; align-items: center; }
.nw-card img { height: 22px; width: auto; max-width: 160px; object-fit: contain; }

/* Privacy & Security section */
.pv-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .pv-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; } }
.pv-block { margin-top: 24px; padding: 20px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.pv-block h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.pv-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.pv-logos img { height: 26px; width: auto; object-fit: contain; }
.pv-investors { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pv-investors img { height: 36px; width: auto; border-radius: 8px; }
.pv-right { display: grid; gap: 16px; }
.pv-comp { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.pv-comp img { width: 76px; height: 76px; flex: none; object-fit: contain; }
.pv-comp h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--ink); }
.pv-comp p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.pv-list { padding: 22px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; gap: 18px; }
.pv-item { display: flex; align-items: flex-start; gap: 14px; }
.pv-ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.pv-ico--flag { background: var(--paper-2); }
.pv-item h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.pv-item p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.pv-item a { color: var(--accent-ink); font-weight: 600; }

.l-private ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.l-private li { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: var(--ink-2); font-size: 15px; }
.l-private li b { display: block; color: var(--ink); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
@media (min-width: 640px) { .l-private ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .l-private ul { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.l-guar-in { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius-l); background: var(--ok-soft); color: var(--ok); }
.l-guar-in svg { flex: none; }
.l-guarantee h2 { font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.l-guar-in p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; }
.l-guar-in a { color: var(--ok); font-weight: 700; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 560px) { .l-guar-in { flex-direction: column; gap: 10px; } }

/* FAQ: bordered rows */
.l-faq details, .l-faq .l-sub { max-width: 800px; }
.l-faq h2 { margin-bottom: 22px; }
.l-faq h2:has(+ .l-sub) { margin-bottom: 0; }
.l-faq .l-sub { margin: 12px 0 22px; }
.l-faq details { margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.l-faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: ''; flex: none; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.l-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.l-faq details p { margin: -4px 20px 18px; color: var(--ink-2); font-size: 15.5px; }
.l-faq a { color: var(--accent-ink); }

.l-final { margin-top: 0; padding: 72px 0 80px; text-align: center; background: var(--glow), var(--paper); }
.l-final .l-cta { margin: 26px auto 0; }

.l-final .n-final-pre { margin: 0 auto 10px; }

@media (min-width: 900px) {
  .l-wrap { padding: 0 32px; }
  .l-hero { padding-top: 56px; }
  .l-lead { font-size: 18.5px; }
  .l-hero h1 { max-width: 22ch; }
  .l-strip { margin-top: 48px; }
  .l-strip figure { width: clamp(200px, calc(100vw / 6 - 12px), 240px); }
  .l-sec { padding-top: 112px; }
  .l-proof { padding-top: 48px; }
  .l-final { margin-top: 0; padding: 96px 0 112px; }
}
@media (min-width: 1650px) { .l-strip figure { width: clamp(200px, calc(100vw / 8 - 12px), 300px); } }
@media (min-width: 900px) {
  .l-strip { overflow: hidden; }
  .l-strip-in { position: relative; left: 50%; transform: translateX(-50%); margin: 0; }
}
.pr-band h1 { margin: 0; color: #fff; font-size: clamp(32px, 8vw, 48px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.pricing-page .pr-band { padding-top: 56px; }
.pricing-page .l-final { margin-top: 0; }

/* Re-check fixes (critic round 2) */
@media (max-width: 380px) { .l-hero h1 { font-size: 30px; max-width: none; } }
@media (max-width: 560px) { .l-proofline { font-size: 14px; } }
@media (max-width: 380px) { .l-proofline { font-size: 13px; } }
.hw-look em { min-height: 2.5em; display: grid; place-items: center; }
.pricing-page .l-faq .l-wrap { max-width: 944px; }

/* Links inside running text are underlined everywhere on the landing pages (colour alone doesn't mark them). */
.l-sec p a:not(.btn), .l-sec li a:not(.btn):not(.n-card):not(.tl-card):not(.bd-tile), .l-faq details a, .pr-guar a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ===== Homepage sections that follow the reference site's homepage (18 Oct 2026) ===== */
/* Top banner: scrolls away above the sticky header. */
.l-banner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 48px; background: radial-gradient(40% 140% at 50% 0%, rgba(255,106,85,.35), rgba(255,106,85,0) 70%), var(--plum); color: #fff; text-align: center; }
.l-banner[hidden] { display: none; }
.l-banner p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.l-banner a { color: #FFD3C2; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.l-banner-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.8); cursor: pointer; }
@media (hover: hover) { .l-banner-x:hover { background: rgba(255,255,255,.1); color: #fff; } }

/* Pill buttons (secondary links of a section). */
.btn.l-pill { width: auto; display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 99px; }

/* Examples: tabs + CTA row, 10 photos (5 per row on desktop), reviews under them. */
.ex-bar { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ex-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line); }
.ex-tabs button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ex-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.ex-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.l-examples .l-grid { margin-top: 18px; }
.l-examples .l-grid[hidden] { display: none; }
@media (min-width: 1024px) { .l-examples .l-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 639px) { .l-examples .ex-bar .l-cta--sm { display: none; } }

/* Reimagine yourself: person chips, eight labelled scenes. */
.ri-bar { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.ri-bar p { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.ri-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ri-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 5px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.ri-chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.ri-chip[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ri-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ri-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ri-grid[hidden] { display: none; }
.ri-grid figure { position: relative; margin: 0; }
.ri-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.ri-grid figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 6px; background: rgba(42,15,31,.66); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (min-width: 640px) { .ri-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.ri-foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.ri-foot p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Everything your company needs. */
.tm-grid { margin-top: 26px; display: grid; gap: 16px; }
@media (min-width: 900px) { .tm-grid { grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: start; } }
.tm-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tm-list li { padding: 18px 20px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.tm-list li:first-child { border-color: #F7CACF; background: var(--accent-soft); }
.tm-list b { display: block; font-size: 16.5px; color: var(--ink); }
.tm-list span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.tm-card { display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: var(--radius-l); background: var(--plum); color: #F7F1EE; }
.tm-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius); }
.tm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tm-foot p { margin: 0; flex: 1 1 260px; font-size: 16px; font-weight: 600; line-height: 1.45; }

/* Tool rails: cards scroll sideways; arrows on wider screens. */
.tl-block + .tl-block { margin-top: 56px; }
.tl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tl-head > div { min-width: 0; }
.tl-nav { display: none; gap: 8px; flex: none; }
@media (min-width: 640px) { .tl-nav { display: flex; } }
.tl-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; }
.tl-btn[disabled] { opacity: .4; cursor: default; }
@media (hover: hover) { .tl-btn:not([disabled]):hover { background: var(--paper-2); } }
.tl-rail { margin: 22px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 6px; list-style: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.tl-rail::-webkit-scrollbar { display: none; }
.tl-rail li { flex: none; width: 220px; scroll-snap-align: start; }
@media (min-width: 900px) { .tl-rail { margin: 22px 0 0; padding: 0 0 6px; scroll-padding: 0; } .tl-rail li { width: calc((100% - 4 * 14px) / 5); min-width: 200px; } }
.tl-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.tl-img { position: relative; display: block; margin-bottom: 8px; border-radius: var(--radius-l); overflow: hidden; background: var(--paper-2); }
.tl-img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s var(--ease-out); }
.tl-pill { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; font-weight: 600; }
.tl-card b { font-size: 16px; }
.tl-card > span:last-child { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (hover: hover) { .tl-card:hover .tl-img img { transform: scale(1.03); } .tl-card:hover b { color: var(--accent-ink); } }
.tl-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-l); }
.tl-all { margin-top: 18px; }
@media (min-width: 640px) { .tl-all { float: right; } .tl-block::after { content: ''; display: block; clear: both; } }

/* What you can build: a typed line, a grid of product tiles. */
.bd-head { text-align: center; }
.bd-type { margin: 10px 0 0; font-size: clamp(22px, 5vw, 32px); font-weight: 700; letter-spacing: -.02em; color: var(--ink-2); }
.bd-word { background: var(--text-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bd-caret { color: var(--accent); animation: bd-blink 1s steps(1) infinite; }
@keyframes bd-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bd-caret { animation: none; } }
.bd-grid { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .bd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .bd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bd-tile { position: relative; display: block; border-radius: var(--radius-l); overflow: hidden; background: var(--paper-2); color: #fff; text-decoration: none; }
.bd-tile img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s var(--ease-out); }
.bd-tile > span { position: absolute; inset: auto 0 0; padding: 40px 12px 12px; background: linear-gradient(to top, rgba(30,10,22,.82), rgba(30,10,22,0)); display: grid; gap: 2px; }
.bd-tile b { font-size: 15px; line-height: 1.25; }
.bd-tile em { font-style: normal; font-size: 12.5px; line-height: 1.35; color: rgba(255,255,255,.85); }
@media (max-width: 420px) { .bd-tile em { display: none; } }
/* German captions are compounds ("KI-Geburtstagsfotos"): never break after the hyphen; on phones the caption gets a
   little more room and scales with the tile so the longest one still fits at 360px. */
html[lang="de"] .bd-tile .nw { white-space: nowrap; }
html[lang="de"] .bd-tile b { text-wrap: balance; }
@media (max-width: 420px) {
  html[lang="de"] .bd-tile > span { padding-inline: 10px; }
  html[lang="de"] .bd-tile b { font-size: clamp(13px, 3.6vw, 15px); }
}
@media (hover: hover) { .bd-tile:hover img { transform: scale(1.03); } }
.bd-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.bd-foot { margin-top: 24px; text-align: center; }
.bd-foot .l-cta { margin-top: 0; }

/* FAQ: heading row with a search box; Contact us under the list. */
.fq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 22px; }
.fq-head > div { flex: 1 1 520px; min-width: 0; }
.fq-head h2 { margin-bottom: 0; }
.l-faq .fq-head .l-sub { margin: 12px 0 0; }
.fq-search { flex: 0 1 320px; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); color: var(--ink-3); }
.fq-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fq-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.l-faq details[data-faq-miss] { display: none; }
.fq-none { max-width: 800px; margin: 14px 0 0; color: var(--ink-2); }
.fq-contact { margin-top: 22px; }

/* Last CTA: a moving row of example photos. */
.fn-strip { margin-top: 44px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.fn-track { display: flex; width: max-content; animation: rv-slide 60s linear infinite; animation-play-state: paused; }
.fn-strip.is-on .fn-track { animation-play-state: running; }
.fn-set { display: flex; gap: 12px; padding-right: 12px; }
.fn-set figure { position: relative; margin: 0; width: 160px; flex: none; }
.fn-set img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); background: var(--paper-2); }
.fn-set .l-chip { left: 8px; padding: 4px 8px; font-size: 11.5px; }
.fn-set .l-chip::before { display: none; }
@media (min-width: 900px) { .fn-set figure { width: 200px; } }
@media (prefers-reduced-motion: reduce) { .fn-track { animation: none; } .fn-strip { overflow-x: auto; } .fn-set[aria-hidden], .fn-set + .fn-set { display: none; } }
/* German "auf einen Blick" table (public/de/index.html, /de/pricing/): Belagon facts only, no studio column. */
.pr-table--solo .pr-row { grid-template-columns: 1fr; }
@media (min-width: 700px) { .pr-table--solo .pr-row { grid-template-columns: 200px 1fr; } }
/* German pages: no orphan rows. 8 example photos sit in 4 columns, 4 privacy cards in 2 × 2 (English unchanged). */
@media (min-width: 1024px) { :lang(de) .l-examples .l-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { :lang(de) .l-private ul:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
