/* micapoveste.ro — the public site. Colours and type follow the Koalo reference: navy, bright yellow, pink and a light
   blue on warm white; Rubik for headings, Manrope for text. Plain CSS, no build step. */
:root {
  --navy: #243b79;
  --navy-2: #1d3166;
  --navy-3: #172854;
  --yellow: #ffdf2d;
  --pink: #ffc2fb;
  --mist: #eff2fa;
  --bg: #fdfcf8;
  --surface: #ffffff;
  --surface-2: #f5f4ef;
  --border: #e4e2dc;
  --border-2: #c9c6bd;
  --text: #243b79;
  --text-2: #575757;
  --text-3: #6b6b6b;
  --display: "Rubik", "Rubik Fallback", system-ui, -apple-system, sans-serif;
  --sans: "Manrope", "Manrope Fallback", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --ring: 0 0 0 3px rgba(36, 59, 121, 0.25);
  --shadow: 0 1px 2px rgba(20, 30, 60, 0.06), 0 14px 34px rgba(20, 30, 60, 0.1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.main { display: flex; flex-direction: column; gap: clamp(88px, 11vw, 150px); padding-bottom: 24px; }

/* type */
.h1, .h2, .h3 { margin: 0; font-family: var(--display); font-weight: 600; color: var(--text); text-wrap: balance; }
.h1 { font-size: clamp(38px, 4.9vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.14; letter-spacing: -0.01em; }
.h3 { font-size: 22px; line-height: 1.25; font-weight: 500; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 34em; }
.sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 36em; }
.prose { max-width: 44em; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.prose h2 { margin: 48px 0 12px; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.15; color: var(--text); }
.prose h3 { margin: 32px 0 8px; font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* tag, buttons */
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tag--white { background: var(--surface); }
.btn { --h: 52px; display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 6px 0 24px; border: 1.5px solid transparent; border-radius: 999px; background: var(--navy); color: #fff; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease, transform 160ms ease; }
.btn:hover { background: var(--navy-2); }
.btn:active { transform: scale(0.98); }
.btn__dot { display: grid; place-items: center; width: calc(var(--h) - 14px); height: calc(var(--h) - 14px); border-radius: 50%; background: #fff; color: var(--navy); transition: transform 220ms cubic-bezier(0.2, 0, 0, 1); }
.btn__dot svg { width: 18px; height: 18px; }
.btn:hover .btn__dot { transform: rotate(45deg); }
.btn--lg { --h: 58px; font-size: 17px; padding-left: 28px; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #ffe75e; }
.btn--yellow .btn__dot { background: var(--navy); color: #fff; }
.btn--plain { --h: 48px; justify-content: center; padding: 0 22px; background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--plain:hover { background: var(--navy); color: #fff; }
.link { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* header */
.bar { position: sticky; top: 0; z-index: 40; background: rgba(253, 252, 248, 0.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 transparent; transition: box-shadow 200ms ease; }
.bar.is-scrolled { box-shadow: 0 1px 0 var(--border); }
.bar__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.bar__logo { flex: none; display: flex; }
.bar__logo img { width: 150px; height: 30px; }
.bar__nav { flex: 1; display: flex; justify-content: center; gap: 2px; }
.bar__link { padding: 8px 12px; border-radius: 999px; color: var(--text-2); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bar__link:hover, .bar__link[aria-current="page"] { color: var(--navy); background: var(--mist); }
.bar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.bar__cta { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.bar__cta:hover { background: var(--navy-2); }
.bar__menu { display: none; position: relative; }
.bar__menu summary { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); cursor: pointer; list-style: none; }
.bar__menu summary::-webkit-details-marker { display: none; }
.bar__menu summary svg { width: 20px; height: 20px; }
.bar__panel { position: absolute; right: 0; top: calc(100% + 8px); display: flex; flex-direction: column; min-width: 230px; padding: 8px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.bar__panel a { padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 600; text-decoration: none; }
.bar__panel a:hover { background: var(--mist); }
@media (max-width: 1200px) { .bar__nav, .bar__login { display: none; } .bar__menu { display: block; } }
@media (max-width: 640px) { .bar__in { height: 64px; gap: 12px; } .bar__logo img { width: 120px; height: 24px; } .bar__cta { height: 38px; padding: 0 14px; font-size: 14px; } .wrap { padding-inline: 16px; } }

/* shared section heads and panels */
.head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 48px; }
.head--center { align-items: center; text-align: center; }
.head--center .sub { max-width: 30em; }
.head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
.head--split > div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 700px; }
.head--split .sub { max-width: 400px; font-size: 16px; }
.panel { border-radius: 28px; padding: clamp(28px, 5vw, 64px); }
.panel--mist { background: var(--mist); }
.panel--pink { background: var(--pink); }
.panel--white { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
@media (max-width: 1080px) { .head--split { flex-direction: column; align-items: flex-start; gap: 18px; } }
@media (max-width: 720px) { .panel { border-radius: 22px; } }

/* page hero (inner pages) */
.phero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--mist); }
.phero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.phero__art img { width: 100%; border-radius: 16px; }
.crumbs { margin: 0 0 4px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 900px) { .phero { grid-template-columns: 1fr; } }

/* home hero */
.hero__card { position: relative; display: grid; grid-template-columns: 1.25fr 0.95fr; gap: 40px; align-items: center; min-height: 620px; padding: 64px 0 64px 64px; border-radius: 32px; background: var(--mist); overflow: hidden; }
.hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 6px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.hero__art { position: relative; height: 100%; min-height: 480px; }
.hero__second { position: absolute; right: 8px; top: 56px; width: 320px; rotate: 7deg; }
.hero__second img { width: 100%; border-radius: 6px 12px 12px 6px; box-shadow: 0 30px 60px rgba(20, 30, 60, 0.2); }
.hero__book { position: absolute; left: 0; bottom: 60px; width: 370px; rotate: -5deg; }
.hero__book img { width: 100%; border-radius: 6px 12px 12px 6px; box-shadow: 0 34px 60px rgba(20, 30, 60, 0.28); }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--surface); color: var(--navy); font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px rgba(20, 30, 60, 0.16); white-space: nowrap; }
.pin::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--yellow); }
@media (max-width: 1080px) {
  .hero__card { grid-template-columns: 1fr; padding: 48px 40px 0; min-height: 0; }
  .hero__art { min-height: 440px; margin: 0 -40px; }
  .hero__second { right: 30px; top: 30px; width: 300px; }
  .hero__book { left: 40px; bottom: 40px; width: 330px; }
}
@media (max-width: 720px) {
  .hero__card { padding: 32px 22px 0; border-radius: 24px; }
  .lead { font-size: 17px; }
  .hero__art { min-height: 330px; margin: 0 -22px; }
  .hero__second { width: 190px; right: 6px; top: 20px; }
  .hero__book { width: 220px; left: 18px; bottom: 30px; }
  .pin { font-size: 12px; padding: 5px 10px 5px 8px; }
}

/* about + facts */
.about { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.about__statement { margin: 0; max-width: 34em; font-size: clamp(20px, 2.2vw, 27px); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; text-wrap: balance; }
.facts { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 24px; width: 100%; align-items: center; }
.fact { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 20px; color: var(--navy); }
.fact--yellow { background: var(--yellow); rotate: -1.5deg; }
.fact--pink { background: var(--pink); rotate: 1.5deg; }
.fact--navy { gap: 0; padding: 12px 12px 26px; background: var(--navy); color: #fff; rotate: -2.5deg; box-shadow: 0 24px 50px rgba(20, 30, 60, 0.18); }
.fact__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; border-radius: 12px; }
.fact__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 0; }
.fact__n { margin: 0; font-family: var(--display); font-size: 60px; font-weight: 600; line-height: 1; }
.fact__title { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.2; }
.fact__text { margin: 0; font-size: 15px; line-height: 1.55; opacity: 0.9; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .fact, .fact--navy, .fact--yellow, .fact--pink { rotate: none; }
  .fact__n { font-size: 52px; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0 0 56px; list-style: none; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 28px; border-radius: 20px; color: var(--navy); }
.step:nth-child(1) { background: var(--mist); rotate: -2deg; }
.step:nth-child(2) { background: var(--yellow); translate: 0 32px; rotate: 1.5deg; }
.step:nth-child(3) { background: var(--pink); rotate: -1.5deg; }
.step:nth-child(4) { background: var(--navy); color: #fff; translate: 0 32px; rotate: 2deg; }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.75); }
.step:nth-child(1) .step__icon { background: #fff; }
.step:nth-child(4) .step__icon { background: rgba(255, 255, 255, 0.12); }
.step__icon svg { width: 24px; height: 24px; }
.step__n { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; opacity: 0.22; }
.step__title { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.2; }
.step__text { margin: 0; font-size: 15px; line-height: 1.55; opacity: 0.88; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); padding-bottom: 32px; } }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; } .step, .step:nth-child(n) { rotate: none; translate: none; } .step__top { margin-bottom: 12px; } }

/* reader: book tabs above the flip book */
.reader { display: flex; flex-direction: column; gap: 16px; }
.reader__tabs { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); max-width: 100%; overflow-x: auto; }
.reader__tab { height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.reader__tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.reader__note { margin: 0; font-size: 15px; color: var(--text-2); }

/* characters */
.chars { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.chars__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.traits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 14px 0 0; padding: 0; list-style: none; }
.trait { display: flex; gap: 12px; }
.trait__check { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--navy); color: #fff; }
.trait__check svg { width: 14px; height: 14px; }
.trait__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.trait__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.chars__art { display: flex; flex-direction: column; gap: 16px; }
.chars__art figure { margin: 0; }
.chars__sheet { position: relative; padding: 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.chars__sheet figcaption { position: absolute; left: 18px; top: 16px; font-size: 13px; font-weight: 700; color: var(--text-3); }
.chars__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chars__pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
@media (max-width: 1080px) { .chars { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .traits { grid-template-columns: 1fr; } }

/* plans */
.plans__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.plan { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px; border-radius: 20px; background: var(--surface); }
.plan--main { padding: 12px; gap: 0; justify-content: flex-start; }
.plan__top { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; border-radius: 14px; background: var(--navy); color: #fff; }
.plan__badge { position: absolute; right: 20px; top: 20px; padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--navy); font-size: 13px; font-weight: 700; }
.plan__name { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 500; }
.plan__note { margin: 0; font-size: 15px; line-height: 1.5; opacity: 0.9; max-width: 26em; }
.plan__price { margin: 8px 0 6px; font-family: var(--display); font-size: 46px; font-weight: 600; line-height: 1; }
.plan__price span { font-family: var(--sans); font-size: 16px; font-weight: 600; opacity: 0.75; }
.plan__list { display: grid; gap: 12px; margin: 0; padding: 24px 20px 16px; list-style: none; font-size: 15px; }
.plan__list li { display: flex; align-items: center; gap: 10px; }
.plan__list svg { flex: none; width: 16px; height: 16px; color: var(--navy); }
.plans__side { display: grid; gap: 20px; }
@media (max-width: 900px) { .plans__grid { grid-template-columns: 1fr; } }

/* cta with the watching face */
.cta { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.cta__face { width: 100%; max-width: 360px; justify-self: center; }
.cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 8px; }
@media (max-width: 1080px) { .cta { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .cta__face { max-width: 240px; } }

/* faq */
.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.faq__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: sticky; top: 110px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: background-color 160ms ease; }
.faq__item[open] { background: var(--yellow); box-shadow: none; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font: inherit; }
.faq__plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #fff; transition: transform 200ms ease; }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__item p { margin: 0; padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 40em; }
.faq__item[open] p { color: var(--navy); }
@media (max-width: 1080px) { .faq { grid-template-columns: 1fr; } .faq__intro { position: static; } }

/* footer */
.foot { display: flex; flex-direction: column; gap: 48px; padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--navy); color: #fff; }
.foot__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.foot__brand { display: flex; flex-direction: column; gap: 26px; }
.foot__logo { width: 220px; height: 44px; }
.foot__line { margin: 0; max-width: 16em; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.15; }
.foot__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.foot__col { display: flex; flex-direction: column; gap: 12px; }
.foot__head { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.65); }
.foot__col a { color: #fff; text-decoration: none; }
.foot__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.foot__bottom p { margin: 0; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot__legal a { color: inherit; }
.foot__legal a:hover { color: #fff; }
@media (max-width: 900px) { .foot__top { grid-template-columns: 1fr; } }

/* cards grid (inner pages) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.card--mist { background: var(--mist); box-shadow: none; }
.card--yellow { background: var(--yellow); box-shadow: none; }
.card--pink { background: var(--pink); box-shadow: none; }
.card__title { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 500; }
.card__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.card--yellow .card__text, .card--pink .card__text { color: var(--navy); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* reveal (site.js) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms cubic-bezier(0.2, 0, 0, 1), transform 600ms cubic-bezier(0.2, 0, 0, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* flip book (flipbook.js) */
.fb { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fb__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fb__label { margin: 0; font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--text); }
.fb__count { margin-left: 12px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--text-3); }
.fb__nav { display: flex; gap: 8px; }
.fb__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--navy); cursor: pointer; transition: background-color 160ms ease, opacity 160ms ease; }
.fb__btn svg { width: 20px; height: 20px; }
.fb__btn.is-next { background: var(--navy); border-color: var(--navy); color: #fff; }
.fb__btn:disabled { opacity: 0.35; cursor: default; }
.fb__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(18px, 4vw, 48px) clamp(12px, 4vw, 56px); border-radius: 20px; background: var(--mist); overflow: hidden; touch-action: pan-y; outline: none; }
.fb__stage:focus-visible { box-shadow: var(--ring); }
.fb__book { position: relative; width: min(100%, 1040px); aspect-ratio: 2 / 1; perspective: 2600px; cursor: pointer; transition: transform 900ms cubic-bezier(0.45, 0, 0.2, 1); }
.fb__book.is-cover { transform: translateX(-25%); }
.fb__book.is-back { transform: translateX(25%); }
.fb__page { position: absolute; top: 0; bottom: 0; width: 50%; background-color: #fff; background-repeat: no-repeat; box-shadow: 0 1px 2px rgba(20, 30, 60, 0.08), 0 18px 40px rgba(20, 30, 60, 0.16); }
.fb__page img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.fb__page.is-left { left: 0; border-radius: 4px 0 0 4px; }
.fb__page.is-right { right: 0; border-radius: 0 4px 4px 0; }
.is-cover .fb__page.is-right { border-radius: 3px 8px 8px 3px; }
.is-back .fb__page.is-left { border-radius: 8px 3px 3px 8px; }
.fb__page.is-blank { background: transparent; box-shadow: none; }
.fb__seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 10%; transform: translateX(-50%); pointer-events: none; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03) 32%, rgba(0, 0, 0, 0.12) 49.6%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.12) 50.4%, rgba(0, 0, 0, 0.03) 68%, transparent); z-index: 3; }
.fb__leaf { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 4; transform-style: preserve-3d; animation-timing-function: cubic-bezier(0.45, 0.05, 0.25, 1); animation-fill-mode: both; }
.fb__leaf.is-next { left: 50%; transform-origin: left center; animation-name: fb-next; }
.fb__leaf.is-prev { left: 0; transform-origin: right center; animation-name: fb-prev; }
.fb__face { position: absolute; inset: 0; background-color: #fff; background-repeat: no-repeat; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.fb__face.is-back { transform: rotateY(180deg); }
.fb__face.is-blank { background: #fff; }
.is-next .fb__face.is-front, .is-prev .fb__face.is-back { border-radius: 0 4px 4px 0; }
.is-next .fb__face.is-back, .is-prev .fb__face.is-front { border-radius: 4px 0 0 4px; }
.fb__shade { position: absolute; inset: 0; pointer-events: none; animation: inherit; animation-name: fb-shade; }
.is-next .is-front .fb__shade, .is-prev .is-back .fb__shade { background: linear-gradient(90deg, rgba(20, 30, 60, 0.1), transparent 45%); }
.is-next .is-back .fb__shade, .is-prev .is-front .fb__shade { background: linear-gradient(270deg, rgba(20, 30, 60, 0.1), transparent 45%); }
@keyframes fb-next { from { transform: rotateY(0deg); } to { transform: rotateY(-180deg); } }
@keyframes fb-prev { from { transform: rotateY(0deg); } to { transform: rotateY(180deg); } }
@keyframes fb-shade { 0% { opacity: 0; } 50% { opacity: 0.7; } 100% { opacity: 0; } }
.fb__spots { position: absolute; inset: 0; }
.fb__spot { position: absolute; border-radius: 12px; }
.fb__tip { position: absolute; z-index: 10; pointer-events: none; transform: translate(-50%, calc(-100% - 16px)); }
.fb__tip-in { position: relative; display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 20px rgba(20, 30, 60, 0.22); transform-origin: 50% 100%; }
.fb__tip-in::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; border-radius: 2px; transform: rotate(45deg); }
.fb__tip-say { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--yellow); letter-spacing: 0.01em; }
/* the voices: one short move when a character's label appears */
.fb__tip-in.is-playing { animation: fb-tip-pop 360ms cubic-bezier(0.34, 1.5, 0.64, 1) both; }
.fb__tip-in.is-playing[data-move="none"] { animation: fb-tip-fade 160ms ease-out both; }
.fb__tip-in.is-playing[data-move="wag"] { animation: fb-tip-pop 300ms cubic-bezier(0.34, 1.5, 0.64, 1) both, fb-tip-wag 520ms ease-in-out 120ms both; }
.fb__tip-in.is-playing[data-move="hop"] { animation: fb-tip-pop 300ms cubic-bezier(0.34, 1.5, 0.64, 1) both, fb-tip-hop 560ms ease-out 100ms both; }
.fb__tip-in.is-playing[data-move="trot"] { animation: fb-tip-pop 300ms cubic-bezier(0.34, 1.5, 0.64, 1) both, fb-tip-trot 620ms linear 80ms both; }
.fb__tip-in.is-playing[data-move="roar"] { animation: fb-tip-roar 520ms cubic-bezier(0.3, 0, 0.3, 1) both; }
.fb__tip-in.is-playing[data-move="peep"] { animation: fb-tip-pop 300ms cubic-bezier(0.34, 1.5, 0.64, 1) both, fb-tip-peep 480ms ease-out 140ms forwards; }
.fb__tip-in.is-playing[data-move="wobble"] { animation: fb-tip-pop 300ms cubic-bezier(0.34, 1.5, 0.64, 1) both, fb-tip-wobble 600ms ease-in-out 100ms both; }
.fb__tip-in.is-playing[data-move="flicker"] { animation: fb-tip-pop 300ms cubic-bezier(0.34, 1.5, 0.64, 1) both, fb-tip-flicker 700ms steps(1) 100ms both; }
@keyframes fb-tip-fade { from { opacity: 0; translate: 0 6px; } }
@keyframes fb-tip-pop { from { opacity: 0; scale: 0.7; } to { opacity: 1; scale: 1; } }
@keyframes fb-tip-wag { 0%, 100% { rotate: 0deg; } 20% { rotate: -7deg; } 40% { rotate: 6deg; } 60% { rotate: -4deg; } 80% { rotate: 2deg; } }
@keyframes fb-tip-hop { 0%, 100% { translate: 0 0; } 25% { translate: 0 -9px; } 50% { translate: 0 0; } 70% { translate: 0 -4px; } }
@keyframes fb-tip-trot { 0%, 50%, 100% { translate: 0 0; rotate: 0deg; } 25% { translate: 0 -6px; rotate: -3deg; } 75% { translate: 0 -6px; rotate: 3deg; } }
@keyframes fb-tip-roar { 0% { opacity: 0; scale: 0.6; } 35% { opacity: 1; scale: 1.14; } 45% { translate: -3px 0; } 55% { translate: 3px 0; } 65% { translate: -2px 0; } 75% { translate: 2px 0; scale: 1.04; } 100% { translate: 0 0; scale: 1; } }
@keyframes fb-tip-peep { 0%, 100% { scale: 1; } 30% { scale: 1.12; } 55% { scale: 0.96; } 75% { scale: 1.05; } }
@keyframes fb-tip-wobble { 0%, 100% { rotate: 0deg; } 15% { rotate: 4deg; } 30% { rotate: -4deg; } 45% { rotate: 3deg; } 60% { rotate: -2deg; } }
@keyframes fb-tip-flicker { 0%, 100% { opacity: 1; } 20% { opacity: 0.75; } 35% { opacity: 1; } 55% { opacity: 0.85; } }
.fb__hint { margin: 0; font-size: 14px; color: var(--text-3); }
@media (hover: hover) and (pointer: fine) { .fb__stage.is-over-spot .fb__book { cursor: help; } }
/* on a phone the closed book is half the stage wide; show the cover and the back larger, and let them shrink as the book opens */
@media (max-width: 640px) {
  .fb__label { font-size: 18px; } .fb__btn { width: 44px; height: 44px; } .fb__count { margin-left: 8px; }
  .fb__stage { padding: 40px 10px; }
  .fb__book.is-cover { transform: translateX(-36.25%) scale(1.45); }
  .fb__book.is-back { transform: translateX(36.25%) scale(1.45); }
}

/* highlight: a painted yellow stroke under a word */
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after { content: ""; position: absolute; z-index: -1; left: -3%; right: -3%; bottom: 0.04em; height: 0.34em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15c38-8 96-11 194-7' stroke='%23ffdf2d' stroke-width='12' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }

/* the watching face (site.js) */
.face { display: block; width: 100%; height: auto; overflow: visible; }
.face__burst { fill: var(--yellow); }
.face__skin { fill: #fff; stroke: var(--navy); stroke-width: 3.2; stroke-linejoin: round; }
.face__hair { fill: var(--navy); stroke: var(--navy); stroke-width: 3.2; stroke-linejoin: round; }
.face__brow { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.face__white { fill: #fff; stroke: var(--navy); stroke-width: 3.2; }
.face__ink { fill: var(--navy); }
.face__nose { fill: #ef6a4e; stroke: var(--navy); stroke-width: 2.6; }
.face__mouth-shape { fill: var(--navy); stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; }
.face__mouth { transform-box: fill-box; transform-origin: center top; transition: transform 220ms cubic-bezier(0.34, 1.4, 0.64, 1); }
.face.is-happy .face__mouth { transform: scale(1.22); }
.face__eyes { transform-box: fill-box; transform-origin: center; transition: transform 80ms ease; }
.face__eyes.is-blink { transform: scaleY(0.1); }

/* home: picture beside words */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__art { margin: 0; position: relative; }
.intro__art img { width: 100%; border-radius: 24px; transform: rotate(-2deg); box-shadow: 0 24px 50px rgba(20, 30, 60, 0.12); }
.intro__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 32px; } .intro__art img { transform: none; } }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; text-decoration: none; }
.more::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 180ms ease; }
.more:hover { text-decoration: underline; text-underline-offset: 5px; }
.more:hover::after { transform: translateX(3px); }
.center { margin: 28px 0 0; text-align: center; }
.pin--a { left: 42%; top: 70%; }
.pin--b { left: -6%; top: 50%; }
.plan .link { align-self: flex-start; }
.plan__top .btn { margin-top: 4px; }
.intro + .facts { margin-top: 72px; }
@media (max-width: 720px) { .intro + .facts { margin-top: 40px; } }
.nowrap { white-space: nowrap; }
.foot-wrap { margin-top: clamp(88px, 11vw, 150px); padding-bottom: 24px; }

/* inner pages */
.h1--page { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; }
.phero--text { grid-template-columns: 1fr; }
.phero--text .phero__text { max-width: 860px; }
.phero__art { margin: 0; }
.phero__art img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 50px rgba(20, 30, 60, 0.12); rotate: 2deg; }
@media (max-width: 900px) { .phero__art img { rotate: none; max-height: 360px; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--flip { grid-template-columns: 1.1fr 0.9fr; }
.split__art { margin: 0; }
.split__art img { width: 100%; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 900px) { .split, .split--flip { grid-template-columns: 1fr; gap: 32px; } .split--flip .split__art { order: -1; } }
.compare { display: grid; gap: 12px; width: 100%; margin: 8px 0 0; }
.compare__row { padding: 16px 18px; border-radius: 14px; background: var(--surface-2); }
.compare__row dt { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--text-3); }
.compare__row dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.compare__row.is-ours { background: var(--yellow); }
.compare__row.is-ours dt, .compare__row.is-ours dd { color: var(--navy); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.who__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 900px) { .who { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li, .chips--nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); color: var(--navy); font-weight: 600; box-shadow: inset 0 0 0 1px var(--border); }
.chips li:has(a) { padding: 0; background: none; box-shadow: none; }
.chips--nav a { text-decoration: none; }
.chips--nav a:hover { background: var(--navy); color: #fff; box-shadow: none; }
.timeline { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; padding: 0; list-style: none; counter-reset: none; }
.timeline__item { display: flex; gap: 20px; padding: 22px 24px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.timeline__item:nth-child(3n+1) .timeline__n { background: var(--yellow); }
.timeline__item:nth-child(3n+2) .timeline__n { background: var(--pink); }
.timeline__item:nth-child(3n) .timeline__n { background: var(--mist); }
.timeline__n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--navy); font-family: var(--display); font-size: 20px; font-weight: 600; }
.timeline__title { margin: 6px 0 6px; font-family: var(--display); font-size: 21px; font-weight: 500; }
.timeline__item p { margin: 0; color: var(--text-2); }
.checklist { display: grid; gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 17px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.traits--one { grid-template-columns: 1fr; }
.cards--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards--two { grid-template-columns: 1fr; } }
.card__icon { width: 28px; height: 28px; margin-bottom: 6px; color: var(--navy); }
.book-sample__about { display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.book-sample__about .sub { max-width: none; }
.book-sample__who { margin: 0; font-size: 15px; color: var(--text-2); }

/* reviews: phone stories (video), polaroids and quote cards, on a staggered track (home) and a board (/recenzii) */
.rv { position: relative; flex: none; scroll-snap-align: center; }
.rv__mock { position: absolute; z-index: 3; right: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: var(--pink); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: 0.02em; pointer-events: none; }

.rv-phone { width: 250px; padding: 7px; border-radius: 36px; background: var(--navy-3); box-shadow: 0 30px 60px rgba(20, 30, 60, 0.25), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08); }
.rv-phone__screen { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 30px; overflow: hidden; background: #000; color: #fff; text-align: left; font: inherit; cursor: pointer; }
.rv-phone__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-phone__media.is-sample { animation: rv-kenburns 14s ease-in-out infinite alternate; }
@keyframes rv-kenburns { from { scale: 1.08; translate: -3% 0; } to { scale: 1.22; translate: 3% -2%; } }
.rv-phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 36, 0.55) 0%, transparent 22%, transparent 48%, rgba(10, 16, 36, 0.85) 100%); pointer-events: none; }
.rv-phone__bars { position: absolute; z-index: 2; left: 12px; right: 12px; top: 10px; display: flex; gap: 4px; }
.rv-phone__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.rv-phone__bars i:first-child { background: #fff; }
.rv-phone__bars i:nth-child(2)::before { content: ""; display: block; height: 100%; background: #fff; transform-origin: left; animation: rv-bar 6s linear infinite; }
@keyframes rv-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rv-phone__head { position: absolute; z-index: 2; left: 12px; right: 12px; top: 24px; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.2; }
.rv-phone__head strong, .rv-phone__head small { display: block; }
.rv-phone__head small { opacity: 0.8; font-size: 12px; }
.rv-phone__avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-family: var(--display); font-weight: 600; box-shadow: 0 0 0 2px #fff; }
.rv-phone .rv__mock { top: 64px; right: 12px; }
.rv-phone__sound { position: absolute; z-index: 2; right: 12px; top: 24px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(6px); }
.rv-phone__sound svg { width: 16px; height: 16px; }
.rv-phone__foot { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.rv-phone__quote { font-size: 15px; font-weight: 600; line-height: 1.4; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); }
.rv-phone__meta { align-self: flex-start; padding: 4px 10px; border-radius: 12px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 700; }
.rv-phone__screen:focus-visible { box-shadow: var(--ring); }

.rv-polaroid { width: 290px; }
.rv-polaroid__frame { position: relative; margin: 0; padding: 12px 12px 14px; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px rgba(20, 30, 60, 0.16); rotate: -3deg; }
.rv-polaroid__frame::before { content: ""; position: absolute; z-index: 2; left: 50%; top: -12px; width: 96px; height: 26px; margin-left: -48px; background: rgba(255, 223, 45, 0.78); rotate: 4deg; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.rv-polaroid__frame img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.rv-polaroid__frame figcaption { padding: 12px 4px 10px; font-family: var(--display); font-size: 16px; font-weight: 500; color: var(--navy); }
.rv-polaroid__frame .rv__mock { top: 22px; right: 22px; }
.rv-polaroid__bubble { position: relative; z-index: 2; margin: -8px 0 0 22px; padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: var(--mist); color: var(--navy); rotate: 1.5deg; box-shadow: 0 10px 24px rgba(20, 30, 60, 0.1); }
.rv-polaroid__bubble p { margin: 0; font-size: 15px; line-height: 1.5; }
.rv-polaroid__who { margin-top: 8px !important; font-size: 13px !important; color: var(--text-3); }
.rv-polaroid__who strong { color: var(--navy); }
.rvx .rv-polaroid:nth-of-type(4n+2) .rv-polaroid__frame { rotate: 2.5deg; }
.rvx .rv-polaroid:nth-of-type(4n+2) .rv-polaroid__bubble { background: var(--pink); margin: -8px 22px 0 0; border-radius: 18px 18px 4px 18px; rotate: -1.5deg; }

.rv-quote { width: 290px; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 22px; border-radius: 24px; background: var(--yellow); color: var(--navy); rotate: 2deg; box-shadow: 0 18px 40px rgba(20, 30, 60, 0.12); }
.rv-quote__mark { width: 42px; height: 32px; }
.rv-quote__text { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.3; }
.rv-quote__who { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 13px; line-height: 1.3; }
.rv-quote__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff; }
.rv-quote__who strong, .rv-quote__who small { display: block; }
.rv-quote__who small { opacity: 0.8; }

/* home: a staggered track that scrolls sideways, with arrows */
.reviews__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.reviews__nav { display: flex; gap: 8px; }
.rvx { display: flex; align-items: center; gap: 36px; margin: -20px -24px 0; padding: 20px 48px 48px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; outline: none; -webkit-mask: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.rvx::-webkit-scrollbar { display: none; }
.rvx:focus-visible { box-shadow: var(--ring); border-radius: 20px; }
.rvx > .rv:nth-child(even) { translate: 0 28px; }
@media (max-width: 640px) { .rvx { gap: 22px; margin: 0 -16px; padding: 28px 28px 40px; } .rv-phone { width: 230px; } .rv-polaroid, .rv-quote { width: 260px; } }

/* /recenzii: the same cards pinned on a board */
.rv-board { columns: 3 290px; column-gap: 40px; }
.rv-board .rv { display: block; width: auto; max-width: 320px; margin: 0 auto 44px; padding-top: 16px; break-inside: avoid; }
.rv-board .rv-phone { padding-top: 7px; margin-top: 16px; }
.rv-board .rv-phone { max-width: 290px; }
.rv-board .rv:nth-child(3n+2) { rotate: 1.5deg; }
.rv-board .rv:nth-child(3n) { rotate: -1deg; }
.rv-filter { margin-bottom: 36px; }
.rv-filter button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--surface); color: var(--navy); font: inherit; font-weight: 600; box-shadow: inset 0 0 0 1px var(--border); cursor: pointer; }
.rv-filter button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }

.rv-dialog { width: min(92vw, 420px); max-height: 94vh; padding: 0; border: 0; border-radius: 28px; background: var(--navy-3); color: #fff; overflow: hidden; }
.rv-dialog::backdrop { background: rgba(15, 23, 48, 0.78); }
.rv-dialog__stage { position: relative; }
.rv-dialog__stage video, .rv-dialog__stage img { display: block; width: 100%; max-height: 80vh; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.rv-dialog__note { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(23, 40, 84, 0.85); font-size: 14px; font-weight: 600; }
.rv-dialog__caption { margin: 0; padding: 14px 18px 16px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.rv-dialog__close { position: absolute; right: 10px; top: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--navy); cursor: pointer; }
.rv-dialog__close svg { width: 20px; height: 20px; }
