/* Fittingbook landing: page CSS only (the kit's system.css, cards.css, motion.css and layout.css do the rest).
   The heading face is the app's own Playfair Display; its italic carries the turn in a headline. */
:root {
  --font-display: "Playfair Display", Georgia, serif;
  --display-tracking: -0.015em;
  --display-tracking-xl: -0.02em;
  /* the app's own UI tokens, for the drawn screens */
  --app-bg: #f3f3f1; --app-card: #ffffff; --app-ink: #111111; --app-muted: #5e5e5b; --app-line: #eeeeeb;
  --app-tan: #ece1d0; --app-tan-ink: #5a4330; --app-red: #8f2323;
}
h1 em, h2 em { font-style: italic; }
.fb-serif { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
/* the wordmark: lowercase in Outfit, round like the mark's strokes */
.nav__logo.fb-logo { font-family: "Outfit", system-ui, sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.035em; text-transform: lowercase; }
.fb-soon { width: fit-content; }
.fb-notice { margin: 0 0 var(--s-4); font-size: var(--t-small); font-weight: 500; color: var(--muted); }

/* ------------------------------------------------ the collage pieces: the app's own cards, sized in % of the collage */
.fb-collage { container-type: inline-size; }
.fb-collage .ly-piece { box-shadow: 0 1px 2px rgb(40 28 18 / .08), 0 22px 48px -24px rgb(40 28 18 / .35); }
.pc, .fb-collage .ly-piece.pc { background: var(--app-card); color: var(--app-ink); font-family: var(--font-text); }
.fb-collage .ly-piece.fb-collage .pc { padding: 4cqw; display: grid; align-content: start; gap: 2.2cqw; font-size: max(13px, 2.1cqw); line-height: 1.3; }
.pc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2cqw; }
.fb-collage .pc-head b { font-size: 5.2cqw; line-height: 1.25; }
.pc-head span, .pc small { color: var(--app-muted); }
.pc-row { display: grid; gap: .8cqw; padding-top: 2.2cqw; border-top: 1px solid var(--app-line); }
.pc-row b, .pc-ai b { font-weight: 500; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-chips em { font-style: normal; font-weight: 500; font-size: max(12px, .78em); padding: .25em .75em; border-radius: 999px; background: var(--app-bg); color: var(--app-ink); white-space: nowrap; }
.pc-chips em.is-ink { background: var(--app-ink); color: #fff; }
.pc-chips em.is-tan { background: var(--app-tan); color: var(--app-tan-ink); }
.pc-label { font-size: max(12px, .82em); font-weight: 500; color: var(--app-muted); }
.pc-note p { margin: 0; font-size: max(13px, 2.6cqw); line-height: 1.35; }
.pc-due { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--app-tan-ink); }
.pc-due svg { width: 15px; height: 15px; flex: none; }
.fb-collage .pc-cal b { font-size: 3.6cqw; }
.fb-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: max(11px, .8em); }
.fb-cal u { text-decoration: none; color: var(--app-muted); font-weight: 500; }
.fb-cal i { font-style: normal; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; }
.fb-cal i.is-booked, .fb-strip i.is-booked { background: var(--app-ink); color: #fff; }
.fb-cal i.is-clean, .fb-legend i.is-clean { background: repeating-linear-gradient(135deg, var(--app-tan) 0 3px, #fff 3px 6px); color: var(--app-tan-ink); }
.pc-lines, .fb-lines { display: grid; grid-template-columns: 1fr auto; gap: 1.6cqw 2cqw; padding-top: 2cqw; border-top: 1px solid var(--app-line); }
.pc-lines b, .fb-lines b { font-weight: 600; padding-top: 1.6cqw; border-top: 1px solid var(--app-line); }
.pc-pay { display: flex; align-items: center; gap: 3cqw; margin-top: 2cqw; }
.fb-qr { width: 14cqw; aspect-ratio: 1; flex: none; border-radius: 4px;
  background: conic-gradient(#111 25%, #fff 0 50%, #111 0 75%, #fff 0) 0 0 / 25% 25%; outline: 3px solid #111; outline-offset: -3px; }
.pc-file { display: flex; align-items: center; gap: 8px; padding: 2.4cqw; border-radius: 10px; background: #dcf5d0; color: #1d3b14; font-weight: 500; }
.pc-file svg { width: 18px; height: 18px; }
.pc-btn, .fb-btn { display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 999px; background: var(--app-ink); color: #fff; font-weight: 500; padding: .8em 1em; }
.fb-collage .pc-dep b { font-size: 5.4cqw; line-height: 1.1; }
.pc-url { display: block; padding: 1.2cqw 2cqw; border-radius: 999px; background: var(--app-bg); color: var(--app-muted); font-size: max(12px, .85em); }
.pc-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; font-weight: 500; }
.pc-items span { display: grid; gap: 1.2cqw; }
.sw { display: block; aspect-ratio: 4 / 3; border-radius: 10px; }
.sw-ivory { background: radial-gradient(circle at 30% 30%, #fffaf0 0 18%, transparent 19%) 0 0 / 14px 14px, linear-gradient(160deg, #f7f0e2, #e6d8bf); }
.sw-sage  { background: radial-gradient(circle at 50% 50%, #c9d3bb 0 22%, transparent 23%) 0 0 / 12px 12px, linear-gradient(160deg, #a6b394, #7f8f6f); }
.sw-wine  { background: linear-gradient(115deg, #5a1d27, #8a3242 45%, #5a1d27 55%, #3e131b); }
.sw-black { background: linear-gradient(115deg, #1c1c1c, #3a3a3a 45%, #1c1c1c 55%, #0e0e0e); }
.fb-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.fb-strip i { font-style: normal; display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; font-weight: 500; }
.fb-strip i.is-free { background: #e8f1e1; color: #2c4a1e; }
.fb-collage .pc-ai b { font-size: 3.4cqw; }

/* ------------------------------------------------ the phones: the app's real screens as live HTML */
.device.fb-phone { width: 280px; flex: none; border-radius: 40px; padding: 8px; background: #161412; box-shadow: 0 30px 60px -30px rgb(40 28 18 / .5); }
.fb-screen { border-radius: 32px; background: var(--app-bg); color: var(--app-ink); padding: 14px 14px 20px; display: grid; gap: 10px; align-content: start; min-height: 600px; font-size: 13px; line-height: 1.35; }
.fb-status { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 4px; font-weight: 600; font-size: 13px; }
.fb-bat { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid var(--app-ink); box-shadow: inset 12px 0 0 var(--app-ink), inset 13px 0 0 #fff; }
.fb-title { margin: 0; font-size: 26px; line-height: 1.1; }
.fb-sub, .fb-back { margin: 0; color: var(--app-muted); }
.fb-back { font-weight: 500; }
.fb-seg { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: #e7e7e3; }
.fb-seg span { flex: 1; text-align: center; padding: 6px; border-radius: 999px; font-weight: 500; color: var(--app-muted); }
.fb-seg span.is-on { background: #fff; color: var(--app-ink); }
.fb-card { background: var(--app-card); border-radius: 16px; padding: 12px; display: grid; gap: 6px; }
.fb-card b { font-weight: 500; }
.fb-card small { color: var(--app-muted); font-size: 12px; }
.fb-card p { margin: 0; }
.fb-card--row { display: flex; justify-content: space-between; align-items: center; }
.fb-card--alert { background: var(--app-tan); }
.fb-card--warn { background: #f6e3e1; color: var(--app-red); font-weight: 500; }
.fb-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--app-muted); font-size: 12px; }
.fb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fb-legend i { width: 12px; height: 12px; border-radius: 50%; }
.fb-legend i.is-booked { background: var(--app-ink); }
.fb-lines { border-top: 0; padding-top: 12px; gap: 8px 12px; }
.fb-lines b { padding-top: 8px; }
.fb-btn { margin-top: 4px; }

/* the app section: heading row, then three phones in one frame, cut by its foot */
.fb-head { align-items: start; margin-bottom: var(--s-7); }
.fb-head > h2 { margin: 0; }
.frame.fb-shots::before, .frame.fb-browser::before { display: none; }
.frame.fb-shots { position: relative; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; gap: var(--s-8);
  padding: var(--s-7) 0 0; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.fb-shots::after { content: ""; position: absolute; inset: auto 0 0 0; height: 96px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }
.fb-shots .fb-phone--mid { margin-top: calc(-1 * var(--s-5)); }

/* the statement: the page's big serif line, the strong words turn italic */
.fb-statement .mo-wh__text { font-size: clamp(36px, 3.6vw + 10px, 64px); line-height: 1.14; max-width: 21ch; margin-top: var(--s-6); }
.fb-statement strong { font-style: italic; font-weight: inherit; }

/* the invoice split: the phone rises out of the frame's foot, the deposit card over its lower right */
.fb-frame { align-items: flex-start; padding-top: var(--s-9); background: var(--surface); }
.frame.fb-frame { min-height: 420px; }
.frame.fb-frame > .fb-phone { position: absolute; top: var(--s-8); left: 50%; margin-left: -140px; }
.fb-frame > .fb-dep { position: absolute; z-index: 2; right: var(--s-6); bottom: var(--s-6); width: 240px; padding: 16px; border-radius: 16px; display: grid; gap: 8px;
  box-shadow: 0 1px 2px rgb(40 28 18 / .08), 0 22px 48px -24px rgb(40 28 18 / .35); }
.fb-frame > .fb-dep b { font-size: 26px; line-height: 1.1; }
.fb-facts { list-style: none; margin: 0; padding: 0; display: grid; }
.fb-facts li { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.fb-facts li:first-child { border-top: 1px solid var(--line); }

/* the catalog: a browser window with the boutique's public page */
.frame.fb-browser { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; min-height: 300px; }
.fb-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--app-line); background: var(--app-bg); }
.fb-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d6d0; }
.fb-browser__bar span { margin-left: var(--s-4); padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--app-muted); font-size: 13px; }
.fb-browser__body { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--s-5); padding: var(--s-6); background: var(--app-bg); color: var(--app-ink); }
.fb-shop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.fb-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.fb-item { display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: #fff; font-size: 14px; }
.fb-item b { font-weight: 500; }
.fb-item small { color: var(--app-muted); font-size: 13px; }
.fb-item .sw { aspect-ratio: 16 / 9; }
.fb-free { padding: 14px; border-radius: 16px; display: grid; gap: 6px; align-content: start; font-size: 14px; }
.fb-free b { font-weight: 500; }
.fb-free small { color: var(--app-muted); font-size: 13px; }
.fb-free .fb-strip { margin-top: var(--s-3); gap: 6px; }
.fb-free .fb-strip i { font-size: 13px; }
.fb-points { margin-top: var(--s-7); }
.fb-points h3 { font-family: var(--font-text); font-size: var(--t-card); font-weight: 500; margin: 0 0 var(--s-2); }
.fb-points p { margin: 0; color: var(--muted); }

/* pricing: both plan cards end on one line; the store line sits at the foot */
.fb-pricing .card--plan { background: var(--bg); height: 100%; padding: var(--s-6); }
.fb-pricing .card--plan h3 { margin: 0; font-family: var(--font-display); font-weight: 500; }
.fb-pricing .card--plan h3 .muted { font-family: var(--font-text); font-size: var(--t-body); }
.fb-pricing .card--plan h3 .t-stat { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.fb-plan { margin: 0; font-weight: 500; font-size: var(--t-card); }
.fb-pricing .card--plan .fb-soon { margin: auto 0 0; }

/* the questions: a WhatsApp chat as the customer sees it */
.fb-ask { display: flex; flex-direction: column; gap: var(--s-4); }
.fb-ask > h2, .fb-ask > p { margin: 0; }
.fb-chat { flex: 1 1 auto; grid-template-rows: auto 1fr auto auto; min-height: 280px; margin-top: var(--s-5); padding: var(--s-5); border-radius: var(--r-lg); background: #efe7da; color: var(--app-ink); display: grid; gap: var(--s-3); font-size: 15px; line-height: 1.4; }
.fb-chat p { margin: 0; }
.fb-chat__who { align-self: start; display: flex; align-items: baseline; gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid rgb(17 17 17 / .08); }
.fb-chat__who b { font-weight: 500; }
.fb-chat__who small { color: var(--app-muted); font-size: 13px; }
.fb-msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; background: #fff; }
.fb-msg--in { align-self: end; justify-self: start; border-bottom-left-radius: 4px; }
.fb-msg--out { justify-self: end; background: #dcf5d0; border-bottom-right-radius: 4px; }
.fb-msg__link { display: block; margin-bottom: 4px; color: #1f5fa8; text-decoration: underline; text-underline-offset: 3px; }
.fb-msg--file { padding: 6px; }
.fb-msg--file .pc-file { padding: 8px 12px; background: #fff; }

/* -------------------------------------------- tablet and phone */
@media (max-width: 1279px) {
  .fb-shots { gap: var(--s-6); }
  .fb-items .fb-item:nth-child(3) { display: none; }
  .fb-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .fb-shots .fb-phone:first-child { display: none; }
  .fb-head { gap: var(--s-4); margin-bottom: var(--s-6); }
}
@media (max-width: 639px) {
  .nav__actions .fb-lang { display: none; }
  .fb-collage .pc-cal:not(.pc-cal--free) { display: none; }
  .fb-collage .ly-piece.pc { padding: 14px; gap: 8px; }
  .fb-collage .pc-list { width: 92% !important; }
  .fb-collage .pc-list .pc-row:last-child { display: none; }
  .fb-collage .pc-note, .fb-collage .pc-note p, .fb-collage .pc-due { font-size: 13px; }
  .fb-shots { gap: 0; padding-top: var(--s-5); }
  .fb-shots .fb-phone:last-child { display: none; }
  .fb-shots .fb-phone--mid { margin-top: 0; }
  .fb-frame > .fb-dep { right: var(--s-4); bottom: var(--s-4); width: 200px; }
  .fb-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-items .fb-free { grid-column: 1 / -1; }
  .fb-browser__body { padding: var(--s-4); }
  /* On a phone the section grows with the window instead of squeezing it to one screen. */
  #katalog .frame.fb-browser.fill { flex: none; height: auto; }
  .fb-points { margin-top: var(--s-6); row-gap: var(--s-4); }
}
@media (max-width: 639px) {
  #tanya .grid.fill { flex: 1 0 auto; grid-template-rows: 1fr auto; }
  .fb-chat { min-height: 160px; }
}
@media (max-width: 359px) {
  .nav__actions .btn { display: none; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .fb-facts li { padding: var(--s-2) 0; }
  #invoice .stack-5 { gap: var(--s-4); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #invoice { --h: 2; }
}

/* hero: a boutique owner on her phone; the booking she just got from Fittingbook lies over the photograph */
.fb-hero__visual { border-radius: var(--r-lg); overflow: visible; }
.fb-hero__visual picture { position: absolute; inset: 0; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.fb-hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 54% 35%; display: block; transition: transform .6s var(--ease-out, ease); }
.fb-hero__visual:hover .fb-hero__photo { transform: scale(1.02); }
.fb-hero__card { position: absolute; left: calc(var(--s-7) * -1); bottom: var(--s-7); width: min(300px, 70%); display: grid; gap: 6px; padding: 16px 18px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(17, 17, 17, .14); }
.fb-hero__card b { font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.fb-hero__card small { color: var(--muted); font-size: 13px; }
.fb-hero__card .pc-label { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: none; }
.fb-hero__card .pc-chips { display: flex; gap: 6px; margin-top: 4px; }
@media (max-width: 1023px) {
  .fb-hero__visual { min-height: 320px; }
  .fb-hero__card { left: var(--s-4); bottom: var(--s-4); width: min(280px, 80%); }
}
@media (max-width: 639px) {
  /* a phone: the card stays small at the left so her face and phone stay in view */
  .fb-hero__card { width: min(210px, 60%); padding: 12px 14px; gap: 3px; border-radius: 16px; left: var(--s-3); bottom: var(--s-3); }
  .fb-hero__card b { font-size: 17px; }
  .fb-hero__card small { font-size: 12px; }
  .fb-hero__card .pc-chips em { font-size: 11px; }
  .fb-hero__photo { object-position: 62% 30%; }
}

/* catalog: words and steps left; the public catalog in a browser right, the app's Catalog tab over its corner */
#katalog h2 em { font-style: italic; }
.fb-catlayout { align-items: center; height: 100%; }
.fb-catcopy > * + * { margin-top: var(--s-5); }
.fb-steps { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-5); }
.fb-steps li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s-4); align-items: start; }
.fb-steps__n { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 500; font-size: 14px; }
.fb-steps h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--t-card); margin: 4px 0 4px; }
.fb-steps p { margin: 0; color: var(--muted); }
.fb-catstage { position: relative; min-height: 640px; }
.fb-catstage .fb-browser { position: absolute; top: 56px; right: 0; left: 268px; min-height: 0; }
.fb-catstage__phone { position: absolute; left: 0; top: 0; width: 240px; z-index: 2; }
.fb-catstage__phone .fb-screen { min-height: 0; }
.fb-catpair__share { position: absolute; z-index: 3; left: 268px; top: 448px; }
.fb-share__btn { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 12px 30px rgba(17, 17, 17, .18); }
.fb-search { display: block; padding: 8px 12px; border-radius: 12px; background: #fff; color: var(--app-muted); font-size: 12px; }
.fb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fb-tile { display: grid; gap: 3px; padding: 8px; border-radius: 14px; background: #fff; }
.fb-tile .sw { aspect-ratio: 1 / 1; border-radius: 10px; margin-bottom: 4px; }
.fb-tile b { font-weight: 500; font-size: 12px; line-height: 1.25; }
.fb-tile small { color: var(--app-muted); font-size: 11px; }
.fb-tag { justify-self: start; margin-top: 2px; padding: 2px 8px; border-radius: 999px; background: var(--app-bg); font-size: 10px; font-weight: 500; }
.fb-tag.is-ink { background: var(--app-ink); color: #fff; }
.fb-tag.is-tan { background: var(--app-tan); color: var(--app-tan-ink); }
.fb-add { display: block; text-align: center; padding: 10px; border-radius: 999px; background: var(--app-ink); color: #fff; font-weight: 500; font-size: 13px; }
.fb-catstage .fb-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fb-catstage .fb-items .fb-item:nth-child(3) { display: none; }
@media (min-width: 1024px) and (max-width: 1439px) {
  .fb-catstage .fb-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-catstage .fb-items .fb-item:nth-child(2) { display: none; }
}
.fb-catstage .fb-free .fb-strip { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.fb-catstage .fb-free .fb-strip i { min-width: 0; font-size: 11px; border-radius: 8px; }
@media (max-width: 1023px) {
  .fb-catlayout { height: auto; }
  .fb-catcopy, .fb-catstage { grid-column: 1 / -1; }
  .fb-catstage { min-height: 0; display: grid; justify-items: center; gap: var(--s-5); margin-top: var(--s-7); }
  .fb-catstage .fb-browser, .fb-catstage__phone, .fb-catpair__share { position: static; }
  .fb-catstage .fb-browser { width: 100%; order: 3; }
  .fb-catstage__phone { order: 1; width: 260px; }
  .fb-catpair__share { order: 2; }
  .fb-catstage .fb-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-catstage .fb-free { grid-column: 1 / -1; }
}

/* the brand: the app's own "f." mark, its dot hops once on load like the app's splash */
.fb-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-text); font-weight: 600; letter-spacing: -0.01em; }
.fb-mark { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 9px; background: var(--ink); color: #fff; flex: none; }
.ground-inverse .fb-mark { background: var(--bg, #f4f1eb); color: var(--ink, #111); }
.fb-mark svg { width: 22px; height: 22px; overflow: visible; }
.fb-mark__dot { transform-box: fill-box; transform-origin: center; animation: fb-hop 900ms cubic-bezier(.3, .7, .4, 1) 400ms 1 both; }
@keyframes fb-hop { 0% { transform: translateY(0); } 35% { transform: translateY(-14px); } 60% { transform: translateY(0); } 78% { transform: translateY(-4px); } 100% { transform: translateY(0); } }

/* store badges: the official artwork, Google Play dimmed until the Android app ships */
.fb-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: var(--s-6); }
.fb-store { position: relative; display: inline-block; line-height: 0; transition: transform .2s ease; }
.fb-store img { height: 48px; width: auto; display: block; }
.fb-store img[src*="google-play"] { height: 70px; margin: -11px -8px; }
a.fb-store:hover { transform: translateY(-2px); }
a.fb-store:active { transform: translateY(0) scale(.98); }
.fb-store.is-soon img { opacity: .45; filter: grayscale(1); }
.fb-store.is-soon small { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); line-height: 1; font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.fb-hero__link { display: inline-block; margin-top: var(--s-6); }

/* hero motion: the photograph settles in, the cards rise and take turns */
.fb-hero__photo { animation: fb-settle 1400ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fb-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.fb-hero__cards { position: absolute; left: calc(var(--s-7) * -1); bottom: var(--s-7); width: min(300px, 70%); height: 132px; z-index: 2; }
.fb-hero__cards .fb-hero__card { left: 0; right: 0; bottom: 0; width: auto; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.fb-hero__cards .fb-hero__card.is-on { opacity: 1; transform: none; }
.fb-hero__cards .fb-hero__card.is-on:first-child { animation: fb-rise 700ms cubic-bezier(.2, .7, .2, 1) 600ms both; }
@keyframes fb-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
[data-parallax], [data-parallax-kids] > * { will-change: transform; }
@media (max-width: 1023px) {
  .fb-hero__cards { left: var(--s-4); bottom: var(--s-4); width: min(280px, 80%); }
}
@media (max-width: 639px) {
  .fb-hero__cards { left: var(--s-3); bottom: var(--s-3); width: min(210px, 60%); height: 112px; }
  .fb-store img { height: 42px; }
  .fb-store img[src*="google-play"] { height: 62px; margin: -10px -7px; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-mark__dot, .fb-hero__photo, .fb-hero__cards .fb-hero__card.is-on:first-child { animation: none; }
  .fb-hero__cards .fb-hero__card { transition: none; }
}
/* the mark stands alone, as on the app's splash (a dark tile read as another brand's logo) */
.fb-mark { width: 32px; height: 32px; border-radius: 0; background: none; color: var(--ink); }
.ground-inverse .fb-mark { background: none; color: var(--inv-ink, #f4f1eb); }
.fb-mark svg { width: 32px; height: 32px; }
.nav__logo.fb-logo { gap: 6px; }
.fb-hero__link { width: fit-content; align-self: flex-start; }
@media (max-width: 639px) { .fb-mark, .fb-mark svg { width: 26px; height: 26px; } .nav__logo.fb-logo { font-size: 20px; } }

/* language: ID | EN, always in the header (on a phone it takes the header button's place) */
.fb-langs { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.fb-langs a { min-width: 40px; min-height: 36px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); text-decoration: none; transition: background .2s ease, color .2s ease; }
.fb-langs a:hover { color: var(--ink); }
.fb-langs a[aria-current] { background: var(--ink); color: var(--bg); }
@media (max-width: 639px) {
  .nav__actions .btn { display: none; }
  .nav__actions .fb-langs { display: inline-flex; }
  .fb-langs a { min-width: 36px; min-height: 34px; padding: 0 8px; }
}
@media (max-width: 1023px) { .nav:not(.is-open) .nav__actions > .fb-langs { display: inline-flex; } }
@media (max-width: 639px) { .nav:not(.is-open) .nav__actions > .btn--primary { display: none; } }
@media (max-width: 639px) {
  /* a phone: the statement and the questions grow with their words, no empty half screen */
  main > section#cara { min-height: 0; padding-block: var(--s-9, 96px); }
  #tanya .grid.fill { grid-template-rows: auto auto; }
  #tanya .fb-chat { flex: none; min-height: 0; grid-template-rows: auto auto auto auto; }
}

/* pricing: a centred head with the billing switch, Free in white with its own badge, Pro in ink */
.fb-pricing-sec .wrap { display: flex; flex-direction: column; justify-content: center; }
.fb-price-head { max-width: 680px; margin: 0 auto; text-align: center; display: grid; gap: var(--s-4); justify-items: center; }
.fb-price-head h2 { margin: 0; }
.fb-price-head h2 em { font-style: italic; }
.fb-price-head .t-lead { margin: 0; }
.fb-billing { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .7); margin-top: var(--s-3); }
.fb-billing input { position: absolute; opacity: 0; pointer-events: none; }
.fb-billing label { cursor: pointer; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--muted); transition: background .2s ease, color .2s ease; }
.fb-billing label em { font-style: normal; font-size: 12px; font-weight: 600; color: #a55a3c; margin-left: 4px; }
.fb-billing input:checked + label { background: var(--ink); color: var(--bg); }
.fb-billing input:checked + label em { color: #e9b9a3; }
.fb-billing input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.fb-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); max-width: 920px; width: 100%; margin: var(--s-7) auto 0; align-items: stretch; }
.fb-plan-card { position: relative; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-7) var(--s-6) var(--s-6); border-radius: 28px; transition: transform .25s ease, box-shadow .25s ease; }
.fb-plan-card:hover { transform: translateY(-3px); }
.fb-plan-card--free { background: #fff; color: var(--ink); box-shadow: 0 24px 60px -30px rgba(80, 50, 30, .35); }
.fb-plan-card--pro { background: var(--ink); color: #f4f1eb; box-shadow: 0 30px 70px -30px rgba(17, 17, 17, .6); }
.fb-plan-badge { position: absolute; top: -14px; left: var(--s-6); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.fb-plan-badge.is-free { background: #c8775a; color: #fff; }
.fb-plan-badge.is-pro { background: #f4f1eb; color: var(--ink); }
.fb-plan-name { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 26px; }
.fb-plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.fb-plan-price b { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5vw, 54px); line-height: 1; letter-spacing: -0.02em; }
.fb-plan-price span { font-size: 15px; opacity: .7; }
.fb-plan-for { margin: 0; opacity: .75; }
.fb-plan-list { list-style: none; margin: var(--s-2) 0 0; padding: var(--s-4) 0 0; border-top: 1px solid currentColor; border-color: rgba(127, 110, 95, .25); display: grid; gap: 12px; }
.fb-plan-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.fb-plan-list svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(200, 119, 90, .14); color: #a55a3c; box-sizing: border-box; margin-top: 1px; }
.fb-plan-card--pro .fb-plan-list svg { background: rgba(200, 119, 90, .25); color: #e9b9a3; }
.fb-plan-cta { margin-top: auto; justify-content: center; width: 100%; }
.fb-plan-card--pro .fb-plan-cta { background: #f4f1eb; color: var(--ink); }
.fb-plan-card--pro .fb-plan-cta:hover { background: #fff; }
.fb-when-yearly { display: none; }
.fb-pricing-sec:has(#bill-y:checked) .fb-when-yearly { display: flex; }
.fb-pricing-sec:has(#bill-y:checked) .fb-when-monthly { display: none; }
.fb-price-note { margin: var(--s-6) auto 0; text-align: center; color: var(--muted); display: flex; gap: var(--s-4); flex-wrap: wrap; justify-content: center; align-items: center; }
@media (max-width: 767px) {
  .fb-plans { grid-template-columns: 1fr; gap: var(--s-7); }
  .fb-plan-card { padding: var(--s-7) var(--s-5) var(--s-5); }
}

/* real gown photographs in the catalog mocks */
.fb-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: #ece6dc; }
.fb-tile .fb-photo { margin-bottom: 4px; }
.fb-item .fb-photo { aspect-ratio: 4 / 5; }
.fb-catstage .fb-item .fb-photo { aspect-ratio: 3 / 4; }
.fb-demo-btn { margin-top: var(--s-6); }
@media (min-width: 768px) {
  /* everything on one screen at 1440x900: tighter rhythm inside the pricing section */
  .fb-price-head { gap: var(--s-3); }
  .fb-billing { margin-top: var(--s-2); }
  .fb-plans { margin-top: var(--s-6); }
  .fb-plan-card { gap: var(--s-3); padding: var(--s-6) var(--s-6) var(--s-5); }
  .fb-plan-list { gap: 9px; padding-top: var(--s-3); }
  .fb-price-note { margin-top: var(--s-5); }
}

/* hero facts: a small icon above each */
.hero-facts .fb-fact { display: grid; gap: 4px; align-content: start; }
.fb-fact__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(200, 119, 90, .14); color: #a55a3c; margin-bottom: 6px; }
.fb-fact__icon svg { width: 19px; height: 19px; }
/* catalog, simplified: step titles only, one line each */
.fb-catcopy .fb-steps { gap: var(--s-3); }
.fb-catcopy .fb-steps li { align-items: center; }
.fb-catcopy .fb-steps h3 { margin: 0; }

/* pricing reveal: the head lines rise in turn, then Free, then Pro; the badges drop into place.
   Only hidden once the script has marked the page (html.fb-js), so nothing stays hidden without it. */
.fb-js [data-reveal] .fb-price-head > *,
.fb-js [data-reveal] .fb-plan-card,
.fb-js [data-reveal] .fb-price-note { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.fb-js [data-reveal] .fb-plan-badge { opacity: 0; transform: translateY(-10px) scale(.9); transition: opacity .5s ease, transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.fb-js [data-reveal].is-in .fb-price-head > *,
.fb-js [data-reveal].is-in .fb-plan-card,
.fb-js [data-reveal].is-in .fb-price-note,
.fb-js [data-reveal].is-in .fb-plan-badge { opacity: 1; transform: none; }
.fb-js [data-reveal].is-in .fb-price-head > :nth-child(2) { transition-delay: .08s; }
.fb-js [data-reveal].is-in .fb-price-head > :nth-child(3) { transition-delay: .16s; }
.fb-js [data-reveal].is-in .fb-price-head > :nth-child(4) { transition-delay: .24s; }
.fb-js [data-reveal].is-in .fb-plan-card--free { transition-delay: .32s; }
.fb-js [data-reveal].is-in .fb-plan-card--pro { transition-delay: .46s; }
.fb-js [data-reveal].is-in .fb-plan-card--free .fb-plan-badge { transition-delay: .85s; }
.fb-js [data-reveal].is-in .fb-plan-card--pro .fb-plan-badge { transition-delay: 1s; }
.fb-js [data-reveal].is-in .fb-price-note { transition-delay: .7s; }
/* after the reveal the cards keep their own hover lift */
.fb-js [data-reveal].is-done .fb-plan-card { transition: transform .25s ease, box-shadow .25s ease; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .fb-js [data-reveal] .fb-price-head > *, .fb-js [data-reveal] .fb-plan-card, .fb-js [data-reveal] .fb-price-note, .fb-js [data-reveal] .fb-plan-badge { opacity: 1; transform: none; transition: none; }
}
