/* Menedzer Ofert Allegro — isolated public preview landing, v2. */

body.ofm-public-page .public-main {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  overflow: visible;
}

body.ofm-public-page .public-footer {
  margin-top: 0;
}

body.ofm-public-page.ofm-lightbox-open,
html.ofm-lightbox-open,
html.ofm-lightbox-open body {
  overflow: hidden;
}

.ofm {
  --ofm-bg: #f3f8fd;
  --ofm-surface: #ffffff;
  --ofm-surface-soft: #eaf3fc;
  --ofm-surface-strong: #dcecf9;
  --ofm-panel: #f8fbff;
  --ofm-text: #061b35;
  --ofm-muted: #596f87;
  --ofm-line: #d4e3f0;
  --ofm-primary: #0876e8;
  --ofm-primary-strong: #0457b5;
  --ofm-cyan: #13bcec;
  --ofm-green: #00a879;
  --ofm-orange: #f17c36;
  --ofm-danger: #d63d62;
  --ofm-focus: #075ee8;
  --ofm-shadow-sm: 0 12px 32px rgba(3, 35, 69, .09);
  --ofm-shadow: 0 24px 70px rgba(3, 35, 69, .14);
  --ofm-shadow-lg: 0 34px 100px rgba(3, 35, 69, .19);
  --ofm-modal-stage: #eaf2f9;
  --ofm-modal-stage-accent: rgba(8, 118, 232, .07);
  --ofm-modal-stage-line: rgba(6, 50, 91, .12);
  --ofm-modal-image-shadow: 0 12px 24px rgba(3, 35, 69, .18);
  --ofm-radius-sm: 12px;
  --ofm-radius: 22px;
  --ofm-radius-lg: 32px;
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: clip;
  color: var(--ofm-text);
  background: var(--ofm-bg);
  font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

@supports not (overflow: clip) {
  .ofm { overflow: hidden; }
}

html[data-lp-theme="dark"] .ofm {
  --ofm-bg: #050d19;
  --ofm-surface: #0b1727;
  --ofm-surface-soft: #0e2035;
  --ofm-surface-strong: #142c47;
  --ofm-panel: #081523;
  --ofm-text: #eff7ff;
  --ofm-muted: #a7b9cc;
  --ofm-line: #213b55;
  --ofm-primary: #55a9ff;
  --ofm-primary-strong: #2a8cf0;
  --ofm-cyan: #48d0f5;
  --ofm-green: #37d3a3;
  --ofm-orange: #ff9b60;
  --ofm-danger: #ff7592;
  --ofm-shadow-sm: 0 14px 34px rgba(0, 0, 0, .28);
  --ofm-shadow: 0 28px 72px rgba(0, 0, 0, .38);
  --ofm-shadow-lg: 0 36px 110px rgba(0, 0, 0, .48);
  --ofm-modal-stage: #081321;
  --ofm-modal-stage-accent: rgba(72, 208, 245, .08);
  --ofm-modal-stage-line: rgba(160, 195, 226, .14);
  --ofm-modal-image-shadow: 0 14px 28px rgba(0, 0, 0, .48);
}

.ofm[data-ofm-preview-theme="light"] {
  --ofm-modal-stage: #eaf2f9;
  --ofm-modal-stage-accent: rgba(8, 118, 232, .07);
  --ofm-modal-stage-line: rgba(6, 50, 91, .12);
  --ofm-modal-image-shadow: 0 12px 24px rgba(3, 35, 69, .18);
}

.ofm[data-ofm-preview-theme="dark"] {
  --ofm-modal-stage: #081321;
  --ofm-modal-stage-accent: rgba(72, 208, 245, .08);
  --ofm-modal-stage-line: rgba(160, 195, 226, .14);
  --ofm-modal-image-shadow: 0 14px 28px rgba(0, 0, 0, .48);
}

.ofm,
.ofm *,
.ofm *::before,
.ofm *::after {
  box-sizing: border-box;
}

.ofm :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) {
  margin: 0;
}

.ofm :where(ul, ol) {
  padding: 0;
}

.ofm :where(h1, h2, h3, h4) {
  color: var(--ofm-text);
  font-family: Ubuntu, Lato, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.ofm :where(p, li) {
  color: var(--ofm-muted);
}

.ofm :where(a, button, input, summary) {
  -webkit-tap-highlight-color: transparent;
}

.ofm :where(button, input) {
  font: inherit;
}

.ofm a {
  color: var(--ofm-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.ofm img,
.ofm svg,
.ofm canvas {
  display: block;
  max-width: 100%;
}

.ofm svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ofm :where(a, button, summary, input):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--ofm-focus);
}

.ofm-container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1280px);
  margin-inline: auto;
}

.ofm :where(section[id]) {
  scroll-margin-top: 132px;
}

/* Buttons */
.ofm-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border: 1px solid var(--ofm-line);
  border-radius: 10px;
  padding: .82rem 1.3rem;
  background: var(--ofm-surface);
  color: var(--ofm-text) !important;
  font-family: Ubuntu, Lato, system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease,
    box-shadow .2s ease, transform .2s ease;
}

.ofm-button svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  transition: transform .2s ease;
}

.ofm-button:hover {
  border-color: color-mix(in srgb, var(--ofm-primary) 52%, var(--ofm-line));
  color: var(--ofm-primary) !important;
  box-shadow: 0 13px 28px rgba(7, 94, 232, .14);
  transform: translateY(-2px);
}

.ofm-button:hover svg { transform: translateX(3px); }
.ofm-button:active { transform: translateY(0); }

.ofm-button--primary {
  border-color: #0871df;
  background: #0871df;
  color: #fff !important;
  box-shadow: 0 15px 32px rgba(7, 94, 232, .24);
}

.ofm-button--primary:hover {
  border-color: #0459bd;
  background: #0459bd;
  color: #fff !important;
}

.ofm-button--secondary {
  border-color: color-mix(in srgb, var(--ofm-primary) 30%, var(--ofm-line));
  background: color-mix(in srgb, var(--ofm-surface) 92%, var(--ofm-surface-soft));
}

/* Hero */
.ofm-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid var(--ofm-line);
  background:
    radial-gradient(circle at 82% 21%, rgba(19, 188, 236, .15), transparent 28%),
    radial-gradient(circle at 64% 72%, rgba(8, 118, 232, .12), transparent 35%),
    linear-gradient(180deg, color-mix(in srgb, var(--ofm-panel) 72%, var(--ofm-bg)), var(--ofm-bg));
  padding: clamp(5rem, 7vw, 7.5rem) 0 clamp(4.5rem, 7vw, 6.5rem);
}

html[data-lp-theme="dark"] .ofm-hero {
  background:
    radial-gradient(circle at 82% 21%, rgba(72, 208, 245, .12), transparent 29%),
    radial-gradient(circle at 64% 72%, rgba(85, 169, 255, .16), transparent 36%),
    linear-gradient(180deg, #071321, var(--ofm-bg));
}

.ofm-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ofm-line) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ofm-line) 22%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 0, #000 44%, #000 100%);
  opacity: .45;
  pointer-events: none;
}

html[data-lp-theme="dark"] .ofm-hero::before {
  background-image:
    linear-gradient(color-mix(in srgb, var(--ofm-line) 16%, transparent) 1px, transparent 1px);
  opacity: .28;
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%);
}

.ofm-hero .lpn-hero-aurora,
.ofm-hero [data-ofm-shader] {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  z-index: -2;
  contain: strict;
  overflow: hidden;
  transform: none;
  pointer-events: none;
}

.ofm-hero .lpn-hero-aurora canvas,
.ofm-hero [data-ofm-shader] canvas,
.ofm-hero > canvas {
  width: 100%;
  height: 100%;
  opacity: .6;
}

.ofm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(560px, 7fr);
  align-items: center;
  gap: clamp(2.5rem, 5.5vw, 6rem);
}

.ofm-hero__content,
.ofm-hero__visual {
  min-width: 0;
}

.ofm-hero h1 {
  max-width: 680px;
  font-size: clamp(3.85rem, 5.6vw, 5.25rem);
  letter-spacing: -.055em;
  line-height: .97;
}

.ofm-hero h1 span {
  color: var(--ofm-primary);
}

.ofm-hero h2 {
  max-width: 650px;
  margin-top: 1.25rem;
  color: var(--ofm-primary);
  font-size: clamp(1.22rem, 2vw, 1.58rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.22;
}

.ofm-hero__lead {
  max-width: 650px;
  margin-top: 1.5rem !important;
  color: var(--ofm-muted) !important;
  font-size: clamp(1.04rem, 1.3vw, 1.16rem) !important;
  line-height: 1.72 !important;
}

.ofm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.ofm-hero__content > ul,
.ofm-hero__proof {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  margin-top: 1.55rem;
  list-style: none;
}

.ofm-hero__content > ul li,
.ofm-hero__proof li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ofm-text);
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.45;
}

.ofm-hero__content > ul li::before,
.ofm-hero__proof li::before {
  position: absolute;
  top: .28em;
  left: 0;
  width: .78rem;
  height: .78rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ofm-green) 15%, transparent);
  color: var(--ofm-green);
  content: "\2713";
  font-size: .62rem;
  font-weight: 900;
  line-height: .78rem;
  text-align: center;
}

.ofm-hero__visual {
  position: relative;
  isolation: isolate;
  width: min(780px, 100%);
  justify-self: end;
}

.ofm-hero__visual::before {
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  border-radius: 42%;
  background:
    radial-gradient(circle at 72% 28%, rgba(19, 188, 236, .32), transparent 38%),
    radial-gradient(circle at 24% 72%, rgba(8, 118, 232, .24), transparent 42%);
  content: "";
  filter: blur(42px);
  opacity: .75;
  animation: ofm-hero-glow 9s ease-in-out infinite;
  pointer-events: none;
}

.ofm-hero__visual picture {
  display: block;
  position: relative;
}

.ofm-hero__art {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ofm-primary) 20%, var(--ofm-line));
  border-radius: var(--ofm-radius);
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow-lg);
  object-fit: cover;
  object-position: center;
  transform: perspective(1400px) rotateY(-2.4deg) rotateX(1deg);
  transform-origin: center;
}

.ofm-hero__art.ofm-theme-shot__light,
.ofm-hero__art.ofm-theme-shot__dark {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  transform: none;
}

.ofm-hero__art::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.ofm-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  background: var(--ofm-surface);
  object-fit: cover;
}

.ofm-hero__art img + img {
  position: absolute;
  inset: 0;
}

.ofm-hero__visual figcaption {
  max-width: 620px;
  margin: .8rem auto 0;
  color: var(--ofm-muted);
  font-size: .74rem;
  line-height: 1.45;
  text-align: center;
}

@keyframes ofm-hero-glow {
  0%, 100% { opacity: .62; transform: scale(.96) rotate(-2deg); }
  50% { opacity: .92; transform: scale(1.04) rotate(2deg); }
}

/* Sticky table of contents */
.ofm-section-nav {
  position: sticky;
  top: 76px;
  z-index: 25;
  border-bottom: 1px solid var(--ofm-line);
  background: color-mix(in srgb, var(--ofm-bg) 88%, transparent);
  box-shadow: 0 8px 22px rgba(3, 35, 69, .035);
  backdrop-filter: blur(16px) saturate(1.12);
}

.ofm-section-nav .ofm-container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.ofm-section-nav .ofm-container::-webkit-scrollbar {
  display: none;
}

.ofm .ofm-section-nav a {
  position: relative;
  min-height: 49px;
  flex: 0 0 auto;
  padding: 15px 17px;
  color: var(--ofm-muted);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 19px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}

.ofm .ofm-section-nav a::after {
  position: absolute;
  right: 17px;
  bottom: 0;
  left: 17px;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--ofm-primary), var(--ofm-cyan));
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .18s ease, transform .18s ease;
}

.ofm .ofm-section-nav a:hover,
.ofm .ofm-section-nav a:focus-visible,
.ofm .ofm-section-nav a.is-active,
.ofm .ofm-section-nav a[aria-current="true"] {
  color: var(--ofm-primary);
}

.ofm .ofm-section-nav a.is-active::after,
.ofm .ofm-section-nav a[aria-current="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Sections and headings */
.ofm-section {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.ofm-section--surface {
  border-block: 1px solid var(--ofm-line);
  background: var(--ofm-surface);
}

.ofm-section--surface + .ofm-section--surface {
  border-top: 0;
}

.ofm-section-heading {
  max-width: 790px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.ofm-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.ofm-section-heading--split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}

.ofm-section-heading h2,
.ofm-feature-copy h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  letter-spacing: -.048em;
  line-height: 1.03;
}

.ofm-section-heading > p,
.ofm-feature-copy > p {
  margin-top: 1.2rem;
  color: var(--ofm-muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.72;
}

.ofm-section-heading--split > p {
  margin: 0;
}

/* CSS/HTML offer flow */
.ofm-flow {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(1120px, 100%);
  gap: .85rem;
  margin: 2.75rem auto 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ofm-primary) 16%, var(--ofm-line));
  border-radius: var(--ofm-radius);
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--ofm-primary) 10%, transparent), transparent 34%),
    color-mix(in srgb, var(--ofm-panel) 82%, var(--ofm-surface));
  padding: clamp(1.15rem, 3vw, 2rem);
  box-shadow: var(--ofm-shadow-sm);
}

.ofm-flow::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ofm-line) 32%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ofm-line) 32%, transparent) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 90%);
  opacity: .45;
}

.ofm-flow__lane {
  position: relative;
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(132px, .28fr) minmax(0, 1fr) minmax(120px, .24fr);
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--ofm-line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--ofm-surface) 90%, transparent);
  padding: .8rem 1rem;
}

.ofm-flow__lane::after {
  position: absolute;
  top: 50%;
  right: 12%;
  left: 22%;
  z-index: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ofm-line), color-mix(in srgb, var(--ofm-cyan) 72%, var(--ofm-line)), var(--ofm-line));
  content: "";
  transform: translateY(-50%);
}

.ofm-flow__lane > :not(.ofm-flow__signal) {
  position: relative;
  z-index: 1;
}

.ofm-flow__lane > strong,
.ofm-flow__lane > span:first-child {
  color: var(--ofm-text);
  font-family: Ubuntu, Lato, system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 800;
}

.ofm-flow__offer {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(290px, 74%);
  min-height: 52px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  justify-self: start;
  border: 1px solid color-mix(in srgb, var(--ofm-primary) 32%, var(--ofm-line));
  border-radius: 10px;
  background: var(--ofm-surface);
  padding: .5rem .7rem;
  box-shadow: 0 10px 24px rgba(3, 35, 69, .12);
  animation: ofm-offer-route 7.2s cubic-bezier(.62, .05, .24, .96) infinite;
}

.ofm-flow__lane:nth-child(2) .ofm-flow__offer { animation-delay: -2.4s; }
.ofm-flow__lane:nth-child(3) .ofm-flow__offer { animation-delay: -4.8s; }

.ofm-flow__offer > i,
.ofm-flow__offer > svg {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ofm-surface-soft);
  color: var(--ofm-primary);
  padding: .55rem;
}

.ofm-flow__offer :where(b, strong) {
  color: var(--ofm-text);
  font-size: .76rem;
  line-height: 1.2;
}

.ofm-flow__offer :where(small, span) {
  color: var(--ofm-muted);
  font-size: .64rem;
  line-height: 1.2;
}

.ofm-flow__signal {
  position: absolute;
  top: 50%;
  left: 22%;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ofm-surface);
  border-radius: 50%;
  background: var(--ofm-cyan);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ofm-cyan) 17%, transparent), 0 0 18px var(--ofm-cyan);
  animation: ofm-signal-route 3.25s linear infinite;
}

.ofm-flow__lane:nth-child(2) .ofm-flow__signal { animation-delay: -1.1s; }
.ofm-flow__lane:nth-child(3) .ofm-flow__signal { animation-delay: -2.2s; }

@keyframes ofm-offer-route {
  0%, 10% { transform: translateX(0); }
  44%, 58% { transform: translateX(clamp(30px, 15vw, 190px)); }
  92%, 100% { transform: translateX(0); }
}

@keyframes ofm-signal-route {
  from { opacity: 0; transform: translate(0, -50%) scale(.72); }
  12% { opacity: 1; }
  84% { opacity: 1; }
  to { opacity: 0; transform: translate(clamp(190px, 45vw, 610px), -50%) scale(1.12); }
}

/* The preview uses one shared route followed by five stage cards. */
.ofm-flow:has(> .ofm-flow__lane) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(.55rem, 1.4vw, 1rem);
  padding-block: clamp(1.5rem, 4vw, 2.6rem);
}

.ofm-flow > .ofm-flow__lane {
  position: absolute;
  top: 50%;
  right: 5%;
  left: 5%;
  z-index: 0;
  display: block;
  min-height: 2px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, var(--ofm-line) 7%, var(--ofm-line) 93%, transparent);
  padding: 0;
  transform: translateY(-50%);
}

.ofm-flow > .ofm-flow__lane::after {
  display: none;
}

.ofm-flow > .ofm-flow__lane .ofm-flow__signal {
  top: 50%;
  left: 0;
  animation: ofm-flow-signal 6.5s linear infinite;
}

.ofm-flow > .ofm-flow__offer {
  position: relative;
  z-index: 2;
  display: grid;
  width: auto;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: .45rem;
  justify-self: stretch;
  border-color: color-mix(in srgb, var(--ofm-primary) 24%, var(--ofm-line));
  border-radius: 12px;
  padding: .9rem 1rem;
  animation: ofm-flow-stage 6.5s ease-in-out infinite;
}

.ofm-flow > .ofm-flow__offer:nth-of-type(3) { animation-delay: -5.2s; }
.ofm-flow > .ofm-flow__offer:nth-of-type(4) { animation-delay: -3.9s; }
.ofm-flow > .ofm-flow__offer:nth-of-type(5) { animation-delay: -2.6s; }
.ofm-flow > .ofm-flow__offer:nth-of-type(6) { animation-delay: -1.3s; }

.ofm-flow > .ofm-flow__offer strong {
  color: var(--ofm-text);
  font-family: Ubuntu, Lato, system-ui, sans-serif;
  font-size: .86rem;
  line-height: 1.28;
}

.ofm-flow > .ofm-flow__offer span {
  color: var(--ofm-muted);
  font-size: .72rem;
  line-height: 1.42;
}

@keyframes ofm-flow-signal {
  0% { left: 0; opacity: 0; transform: translate(0, -50%) scale(.72); }
  7%, 92% { opacity: 1; }
  100% { left: 100%; opacity: 0; transform: translate(-100%, -50%) scale(1.12); }
}

@keyframes ofm-flow-stage {
  0%, 63%, 100% { border-color: color-mix(in srgb, var(--ofm-primary) 24%, var(--ofm-line)); transform: translateY(0); }
  74%, 88% { border-color: color-mix(in srgb, var(--ofm-cyan) 72%, var(--ofm-line)); transform: translateY(-5px); }
}

/* Process and feature cards */
.ofm-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.75rem;
}

.ofm-process-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ofm-line);
  border-radius: var(--ofm-radius-sm);
  background: var(--ofm-surface);
  padding: 1.45rem;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ofm-process-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ofm-primary), var(--ofm-cyan));
  content: "";
  opacity: .8;
}

.ofm-process-card:hover {
  border-color: color-mix(in srgb, var(--ofm-primary) 46%, var(--ofm-line));
  background: color-mix(in srgb, var(--ofm-surface-soft) 42%, var(--ofm-surface));
  box-shadow: var(--ofm-shadow-sm);
  transform: translateY(-4px);
}

.ofm-process-card > span:first-child,
.ofm-process-card > svg:first-child {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid color-mix(in srgb, var(--ofm-primary) 20%, var(--ofm-line));
  border-radius: 9px;
  background: var(--ofm-surface-soft);
  color: var(--ofm-primary);
  padding: .65rem;
}

.ofm-process-card h3,
.ofm-feature-card h3,
.ofm-modal-card h3,
.ofm-index-card h3 {
  margin: 0 0 .55rem;
  font-size: 1.1rem;
  letter-spacing: -.022em;
  line-height: 1.25;
}

.ofm-process-card p,
.ofm-feature-card p,
.ofm-modal-card p,
.ofm-index-card p {
  color: var(--ofm-muted);
  font-size: .91rem;
  line-height: 1.62;
}

.ofm-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2.75rem, 6vw, 6.5rem);
}

.ofm-feature-row + .ofm-feature-row {
  margin-top: clamp(5rem, 9vw, 8.5rem);
}

.ofm-feature-row--reverse,
.ofm-feature-row:nth-of-type(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.ofm-feature-row--reverse .ofm-feature-copy,
.ofm-feature-row:nth-of-type(even) .ofm-feature-copy {
  order: 2;
}

.ofm-feature-copy {
  min-width: 0;
}

.ofm-feature-copy > h3 {
  margin: 0 0 .7rem;
  color: var(--ofm-primary);
  font-size: 1rem;
  letter-spacing: -.01em;
}

.ofm-feature-copy > ul,
.ofm-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.5rem;
  list-style: none;
}

.ofm-feature-copy > ul li,
.ofm-pill-list > li,
.ofm-pill-list > span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: .42rem;
  border: 1px solid var(--ofm-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--ofm-surface) 86%, var(--ofm-surface-soft));
  color: var(--ofm-text);
  padding: .42rem .72rem;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
}

.ofm-feature-copy > ul li::before,
.ofm-pill-list > li::before {
  width: .46rem;
  height: .46rem;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ofm-primary), var(--ofm-cyan));
  content: "";
}

.ofm .ofm-check-list,
.ofm-feature-copy > .ofm-check-list {
  display: grid;
  gap: .72rem;
  margin-top: 1.5rem;
  list-style: none;
}

.ofm .ofm-check-list li,
.ofm-feature-copy > .ofm-check-list li {
  position: relative;
  display: block;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 1.75rem;
  color: var(--ofm-text);
  font-size: .93rem;
  font-weight: 400;
  line-height: 1.55;
}

.ofm .ofm-check-list li::before,
.ofm-feature-copy > .ofm-check-list li::before {
  position: absolute;
  top: .15rem;
  left: 0;
  display: grid;
  width: 1.18rem;
  height: 1.18rem;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ofm-green) 15%, transparent);
  color: var(--ofm-green);
  content: "\2713";
  font-size: .7rem;
  font-weight: 900;
  line-height: 1;
}

.ofm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.75rem;
}

.ofm-feature-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ofm-line);
  border-radius: var(--ofm-radius-sm);
  background: color-mix(in srgb, var(--ofm-panel) 62%, var(--ofm-surface));
  padding: 1.5rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ofm-feature-card::after {
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ofm-cyan) 18%, transparent), transparent 68%);
  content: "";
  pointer-events: none;
}

.ofm-feature-card:hover {
  border-color: color-mix(in srgb, var(--ofm-primary) 45%, var(--ofm-line));
  box-shadow: var(--ofm-shadow-sm);
  transform: translateY(-3px);
}

.ofm-feature-card > span:first-child,
.ofm-feature-card > svg:first-child {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 9px;
  background: var(--ofm-surface-soft);
  color: var(--ofm-primary);
  padding: .65rem;
}

/* Real application screenshots */
.ofm-shot {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ofm-primary) 15%, var(--ofm-line));
  border-radius: 15px;
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow);
}

.ofm-shot:focus-within {
  border-color: var(--ofm-focus);
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ofm-focus), var(--ofm-shadow);
}

.ofm-overview-shot {
  width: min(1180px, 100%);
  margin: 2.75rem auto 0;
}

.ofm-overview-shot img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ofm-shot__bar {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: .45rem;
  border-bottom: 1px solid var(--ofm-line);
  background: color-mix(in srgb, var(--ofm-panel) 86%, var(--ofm-surface));
  padding: .55rem .75rem;
}

.ofm-shot__bar::before {
  width: 2px;
  height: 1rem;
  flex: none;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ofm-primary), var(--ofm-cyan));
  content: "";
}

.ofm-shot__bar :where(b, strong, span) {
  min-width: 0;
  overflow: hidden;
  color: var(--ofm-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ofm-shot__bar h3 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: var(--ofm-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ofm-shot__button {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--ofm-panel);
  color: var(--ofm-text);
  cursor: zoom-in;
}

.ofm-shot__button:focus-visible {
  outline: 0;
  box-shadow: none;
}

.ofm-shot__button::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 2px;
  background: linear-gradient(90deg, transparent 8%, rgba(72, 208, 245, .2) 22%, rgba(72, 208, 245, .95) 50%, rgba(72, 208, 245, .2) 78%, transparent 92%);
  box-shadow: 0 0 18px rgba(72, 208, 245, .7);
  content: "";
  opacity: 0;
  animation: ofm-shot-scan 6.8s cubic-bezier(.4, 0, .2, 1) infinite;
  pointer-events: none;
}

.ofm-shot__button::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.ofm-shot__button:hover::after,
.ofm-shot__button:focus-visible::after {
  border-color: color-mix(in srgb, var(--ofm-cyan) 72%, transparent);
  background: color-mix(in srgb, var(--ofm-primary) 3%, transparent);
}

.ofm-shot__button img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--ofm-panel);
  object-fit: contain;
  object-position: top center;
  box-shadow: none;
  transition: filter .2s ease, transform .35s ease;
}

.ofm-shot__button img + img {
  position: absolute;
  inset: 0;
}

.ofm-shot__button:hover img {
  filter: saturate(1.04);
}

/* Element-only modal captures sit on one stable stage; overview shots keep their native layout. */
.ofm-shot--modal .ofm-shot__button,
.ofm-shot__button.ofm-shot--modal,
.ofm-modal-card .ofm-shot__button {
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  padding: clamp(1.25rem, 2.2vw, 1.5rem);
  background:
    radial-gradient(circle at 50% 42%, var(--ofm-modal-stage-accent), transparent 62%),
    var(--ofm-modal-stage);
  box-shadow: inset 0 0 0 1px var(--ofm-modal-stage-line);
}

.ofm-shot--modal .ofm-shot__button img,
.ofm-shot__button.ofm-shot--modal img,
.ofm-modal-card .ofm-shot__button img {
  position: static;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  margin: auto;
  border-radius: 9px;
  background: transparent;
  object-fit: scale-down;
  object-position: center;
  filter: drop-shadow(var(--ofm-modal-image-shadow));
}

.ofm-shot--modal .ofm-shot__button:hover img,
.ofm-shot__button.ofm-shot--modal:hover img,
.ofm-modal-card .ofm-shot__button:hover img {
  filter: saturate(1.04) drop-shadow(var(--ofm-modal-image-shadow));
}

.ofm-shot__zoom {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  z-index: 4;
  display: grid;
  width: auto;
  min-width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 9px;
  background: rgba(3, 18, 43, .86);
  color: #fff;
  padding-inline: .72rem;
  font-size: .68rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  pointer-events: none;
  transition: background-color .2s ease, transform .2s ease;
}

.ofm-shot__zoom svg {
  width: 1.22rem;
  height: 1.22rem;
}

.ofm-shot__button:hover .ofm-shot__zoom {
  background: #0871df;
  transform: translateY(-2px);
}

.ofm-shot__caption,
.ofm-shot figcaption {
  display: block;
  border-top: 1px solid var(--ofm-line);
  background: var(--ofm-surface);
  padding: .75rem .9rem;
  color: var(--ofm-muted);
  font-size: .79rem;
  line-height: 1.48;
}

.ofm-theme-shot__dark {
  display: none !important;
}

html[data-lp-theme="dark"] .ofm .ofm-theme-shot__light {
  display: none !important;
}

html[data-lp-theme="dark"] .ofm .ofm-theme-shot__dark {
  display: block !important;
}

.ofm-shot[data-preview-theme="light"] .ofm-theme-shot__light,
.ofm-modal-card[data-preview-theme="light"] .ofm-theme-shot__light,
.ofm-hero__visual[data-preview-theme="light"] .ofm-theme-shot__light {
  display: block !important;
}

.ofm-shot[data-preview-theme="light"] .ofm-theme-shot__dark,
.ofm-modal-card[data-preview-theme="light"] .ofm-theme-shot__dark,
.ofm-hero__visual[data-preview-theme="light"] .ofm-theme-shot__dark {
  display: none !important;
}

.ofm-shot[data-preview-theme="dark"] .ofm-theme-shot__light,
.ofm-modal-card[data-preview-theme="dark"] .ofm-theme-shot__light,
.ofm-hero__visual[data-preview-theme="dark"] .ofm-theme-shot__light {
  display: none !important;
}

.ofm-shot[data-preview-theme="dark"] .ofm-theme-shot__dark,
.ofm-modal-card[data-preview-theme="dark"] .ofm-theme-shot__dark,
.ofm-hero__visual[data-preview-theme="dark"] .ofm-theme-shot__dark {
  display: block !important;
}

.ofm[data-ofm-preview-theme="light"] .ofm-theme-shot__light {
  display: block !important;
}

.ofm[data-ofm-preview-theme="light"] .ofm-theme-shot__dark {
  display: none !important;
}

.ofm[data-ofm-preview-theme="dark"] .ofm-theme-shot__light {
  display: none !important;
}

.ofm[data-ofm-preview-theme="dark"] .ofm-theme-shot__dark {
  display: block !important;
}

.ofm-preview-switch {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid var(--ofm-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--ofm-panel) 78%, var(--ofm-surface));
  padding: .25rem;
}

.ofm-preview-switch button,
.ofm-preview-switch [role="button"] {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ofm-muted);
  padding: .42rem .7rem;
  font-size: .73rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.ofm-preview-switch button:hover,
.ofm-preview-switch [role="button"]:hover {
  color: var(--ofm-primary);
}

.ofm-preview-switch button[aria-pressed="true"],
.ofm-preview-switch [role="button"][aria-pressed="true"],
.ofm-preview-switch .is-active {
  background: var(--ofm-surface);
  color: var(--ofm-text);
  box-shadow: 0 4px 12px rgba(3, 35, 69, .1);
}

@keyframes ofm-shot-scan {
  0%, 19% { opacity: 0; transform: translateY(-10px); }
  24% { opacity: 1; }
  75% { opacity: 1; }
  82%, 100% { opacity: 0; transform: translateY(720px); }
}

/* Modal gallery */
.ofm-gallery-toolbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--ofm-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--ofm-surface) 91%, transparent);
  padding: .75rem;
  box-shadow: var(--ofm-shadow-sm);
  backdrop-filter: blur(12px);
}

.ofm-gallery-filter {
  display: flex;
  min-width: 0;
  gap: .4rem;
  overflow-x: auto;
  padding: .15rem;
  scrollbar-width: thin;
}

.ofm-gallery-filter button,
.ofm-gallery-filter a {
  min-height: 36px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ofm-muted);
  padding: .5rem .72rem;
  font-size: .75rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.ofm-gallery-filter button:hover,
.ofm-gallery-filter a:hover {
  border-color: var(--ofm-line);
  color: var(--ofm-primary);
}

.ofm-gallery-filter button[aria-pressed="true"],
.ofm-gallery-filter a[aria-current="true"],
.ofm-gallery-filter .is-active {
  border-color: color-mix(in srgb, var(--ofm-primary) 26%, var(--ofm-line));
  background: var(--ofm-surface-soft);
  color: var(--ofm-primary);
}

.ofm-gallery-search {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .55rem;
  min-width: 0;
}

.ofm-gallery-search > span {
  color: var(--ofm-muted);
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}

.ofm-gallery-search svg {
  position: absolute;
  top: 50%;
  left: .8rem;
  width: 1rem;
  height: 1rem;
  color: var(--ofm-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.ofm-gallery-search input,
.ofm-gallery-search[type="search"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--ofm-line);
  border-radius: 9px;
  background: var(--ofm-panel);
  color: var(--ofm-text);
  padding: .62rem .78rem;
  font-size: .82rem;
  line-height: 1.2;
  appearance: none;
}

.ofm input.ofm-gallery-search {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--ofm-line);
  border-radius: 9px;
  background: var(--ofm-panel);
  color: var(--ofm-text);
  padding: .62rem .78rem;
  font-size: .82rem;
  line-height: 1.2;
  appearance: none;
}

.ofm-gallery-search input::placeholder,
.ofm input.ofm-gallery-search::placeholder {
  color: color-mix(in srgb, var(--ofm-muted) 72%, transparent);
}

.ofm-gallery-count {
  min-width: max-content;
  color: var(--ofm-muted);
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.3;
  text-align: right;
}

.ofm-gallery-count strong {
  color: var(--ofm-text);
}

.ofm-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.ofm-gallery-grid[aria-busy="true"] {
  opacity: .6;
  pointer-events: none;
}

.ofm-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 4fr) minmax(0, 7fr);
  grid-template-rows: auto auto;
  min-width: 0;
  align-items: stretch;
  column-gap: clamp(2.75rem, 6vw, 6.5rem);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
  box-shadow: none;
}

.ofm-modal-card[hidden],
.ofm-modal-card.is-hidden {
  display: none !important;
}

.ofm-modal-card .ofm-shot__button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: stretch;
  display: grid;
  width: 100%;
  aspect-ratio: auto;
  place-items: center;
  overflow: visible;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.ofm-modal-card .ofm-shot__button::before,
.ofm-modal-card .ofm-shot__button::after {
  display: none;
}

.ofm-modal-card .ofm-shot__button img {
  position: static;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: min(620px, 72vh);
  margin: auto;
  border-radius: 9px;
  background: transparent;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(var(--ofm-modal-image-shadow));
}

.ofm-modal-card .ofm-shot__button:hover img {
  filter: saturate(1.04) drop-shadow(var(--ofm-modal-image-shadow));
}

.ofm-modal-card .ofm-shot__button:focus-visible img {
  outline: 3px solid color-mix(in srgb, var(--ofm-cyan) 78%, var(--ofm-primary));
  outline-offset: 8px;
}

.ofm-modal-card__head {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  display: block;
  min-height: 0;
  border: 0;
  padding: 0 0 .9rem;
}

.ofm-modal-card__head h3 {
  margin: 0;
  color: var(--ofm-text);
  font-size: clamp(1.75rem, 2.55vw, 2.55rem);
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.ofm-modal-card__meta {
  display: none;
}

.ofm-modal-card__body {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 34rem;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  color: var(--ofm-muted);
  font-size: clamp(.98rem, 1.25vw, 1.08rem) !important;
  line-height: 1.65 !important;
}

.ofm-modal-card .ofm-shot__zoom {
  display: none;
}

.ofm-gallery-empty {
  display: block;
  grid-column: 1 / -1;
  border: 1px dashed var(--ofm-line);
  border-radius: 14px;
  background: var(--ofm-panel);
  padding: 2.5rem 1rem;
  color: var(--ofm-muted);
  text-align: center;
}

.ofm-gallery-empty[hidden] {
  display: none !important;
}

.ofm-gallery-empty.is-visible {
  display: block;
}

/* Complete function index */
.ofm-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}

.ofm-index-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ofm-line);
  border-radius: var(--ofm-radius-sm);
  background: color-mix(in srgb, var(--ofm-panel) 62%, var(--ofm-surface));
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ofm-index-card:hover,
.ofm-index-card[open],
.ofm-index-card.is-open {
  border-color: color-mix(in srgb, var(--ofm-primary) 44%, var(--ofm-line));
  background: var(--ofm-surface);
  box-shadow: var(--ofm-shadow-sm);
}

.ofm-index-card > summary {
  position: relative;
  display: grid;
  min-height: 74px;
  grid-template-columns: minmax(0, 1fr) 1.9rem;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1rem 1rem 1.2rem;
  color: var(--ofm-text);
  font-family: Ubuntu, Lato, system-ui, sans-serif;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.32;
  list-style: none;
  cursor: pointer;
}

.ofm-index-card > summary::-webkit-details-marker {
  display: none;
}

.ofm-index-card > summary > h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.ofm-index-card > summary > span {
  display: none;
}

.ofm-index-card > summary::after {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 7px;
  background: var(--ofm-surface-soft);
  color: var(--ofm-primary);
  content: "+";
  font-family: Lato, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color .2s ease, transform .22s ease;
}

.ofm-index-card[open] > summary::after,
.ofm-index-card.is-open > summary::after {
  content: "\2212";
  background: color-mix(in srgb, var(--ofm-primary) 14%, var(--ofm-surface-soft));
  transform: rotate(180deg);
}

.ofm-index-card > :not(summary) {
  border-top: 1px solid var(--ofm-line);
}

.ofm-index-card > div,
.ofm-index-card > p,
.ofm-index-card > ul {
  padding: 1rem 1.2rem 1.2rem;
}

.ofm-index-card > ul {
  display: grid;
  gap: .55rem;
  list-style: none;
}

.ofm-index-card > ul li {
  position: relative;
  padding-left: 1rem;
  color: var(--ofm-muted);
  font-size: .86rem;
  line-height: 1.55;
}

.ofm-index-card > ul li::before {
  position: absolute;
  top: .6em;
  left: 0;
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--ofm-cyan);
  content: "";
}

.ofm-index-card .ofm-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  border-top: 1px solid var(--ofm-line);
  margin: 0;
  padding: 1rem 1.2rem 1.2rem;
  list-style: none;
}

.ofm-index-card .ofm-pill-list > li {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  border: 1px solid var(--ofm-line);
  border-radius: 999px;
  background: var(--ofm-panel);
  padding: .38rem .62rem .38rem 1.35rem;
  color: var(--ofm-text);
  font-size: .73rem;
  font-weight: 800;
  line-height: 1.25;
}

.ofm-index-card .ofm-pill-list > li::before {
  top: 50%;
  left: .63rem;
  width: .36rem;
  height: .36rem;
  background: linear-gradient(135deg, var(--ofm-primary), var(--ofm-cyan));
  transform: translateY(-50%);
}

/* FAQ */
.ofm-faq {
  display: grid;
  width: min(900px, 100%);
  gap: .75rem;
  margin-inline: auto;
}

.ofm-faq__list {
  display: grid;
  gap: .75rem;
}

.ofm-faq__item {
  overflow: hidden;
  border: 1px solid var(--ofm-line);
  border-radius: var(--ofm-radius-sm);
  background: color-mix(in srgb, var(--ofm-panel) 58%, var(--ofm-surface));
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ofm-faq__item:hover,
.ofm-faq__item[open],
.ofm-faq__item.is-open {
  border-color: color-mix(in srgb, var(--ofm-primary) 44%, var(--ofm-line));
  background: var(--ofm-surface);
}

.ofm-faq__item:focus-within {
  border-color: var(--ofm-focus);
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ofm-focus);
}

.ofm-faq__item > summary,
.ofm-faq__item h3 button {
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) 2.25rem;
  align-items: center;
  gap: 1rem;
  border: 0;
  background: transparent;
  color: var(--ofm-text);
  padding: 1rem 1rem 1rem 1.25rem;
  font-family: Ubuntu, Lato, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  list-style: none;
  cursor: pointer;
}

.ofm-faq__item > summary::-webkit-details-marker {
  display: none;
}

.ofm-faq__item > summary::after,
.ofm-faq__item h3 button::after {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 8px;
  background: var(--ofm-surface-soft);
  color: var(--ofm-primary);
  content: "+";
  font-family: Lato, system-ui, sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform .22s ease;
}

.ofm-faq__item[open] > summary::after,
.ofm-faq__item.is-open h3 button::after,
.ofm-faq__item h3 button[aria-expanded="true"]::after {
  content: "\2212";
  transform: rotate(180deg);
}

.ofm-faq__item h3 {
  margin: 0;
  font-size: 1rem;
}

.ofm-faq__item h3 button:focus-visible,
.ofm-faq__item > summary:focus-visible {
  outline: 0;
  box-shadow: none;
}

.ofm-faq__item h3 button > span {
  display: none;
}

.ofm-faq__panel,
.ofm-faq__item > :not(summary):not(h3) {
  border-top: 1px solid var(--ofm-line);
  padding: 1rem 1.25rem 1.3rem;
}

.ofm-faq__panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height .3s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}

.ofm-faq__panel[hidden] {
  display: none;
}

.ofm-faq__item.is-open .ofm-faq__panel {
  opacity: 1;
}

.ofm-faq__panel :where(p, li),
.ofm-faq__item > :not(summary):not(h3) :where(p, li) {
  color: var(--ofm-muted);
  font-size: .94rem;
  line-height: 1.67;
}

.ofm-faq__panel :where(ul, ol),
.ofm-faq__item > :not(summary):not(h3) :where(ul, ol) {
  display: grid;
  gap: .5rem;
  margin-top: .7rem;
  padding-left: 1.2rem;
}

/* Final aurora */
.ofm-final {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 500px;
  place-items: center;
  overflow: hidden;
  border-block: 1px solid rgba(72, 208, 245, .2);
  background:
    radial-gradient(ellipse 52% 88% at 17% 54%, rgba(69, 63, 210, .46), transparent 72%),
    radial-gradient(ellipse 48% 72% at 84% 44%, rgba(0, 177, 222, .38), transparent 74%),
    #04142d;
  padding: clamp(5rem, 9vw, 8rem) 1rem;
}

.ofm-final::before {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: conic-gradient(from 130deg at 50% 50%, rgba(33, 97, 231, .12), rgba(30, 210, 213, .36), rgba(91, 59, 208, .3), rgba(33, 97, 231, .12));
  content: "";
  filter: blur(80px);
  animation: ofm-final-aurora 22s linear infinite;
}

.ofm-final::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 48%, transparent 24%, rgba(3, 15, 37, .22) 76%),
    linear-gradient(180deg, rgba(3, 15, 37, .12), rgba(3, 15, 37, .45));
  content: "";
  pointer-events: none;
}

.ofm-final .lpn-tools-aurora,
.ofm-final [data-ofm-shader] {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ofm-final .lpn-tools-aurora canvas,
.ofm-final [data-ofm-shader] canvas {
  width: 100%;
  height: 100%;
  opacity: .9;
}

.ofm-final__inner,
.ofm-final__content,
.ofm-final > .ofm-container {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  text-align: center;
}

.ofm-final h2,
.ofm-final p {
  color: #fff !important;
}

.ofm-final h2 {
  font-size: clamp(2.5rem, 5.4vw, 4.55rem);
  letter-spacing: -.055em;
  line-height: 1.01;
}

.ofm-final p {
  max-width: 700px;
  margin: 1.2rem auto 0;
  color: #c7d9ed !important;
  font-size: 1.08rem;
  line-height: 1.68;
}

.ofm-final .ofm-hero__actions,
.ofm-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}

.ofm-final .ofm-button--primary {
  border-color: #3e8cff;
  background: #1670ef;
  box-shadow: 0 16px 38px rgba(7, 94, 232, .34);
}

.ofm-final .ofm-button--primary:hover {
  border-color: #64a3ff;
  background: #0c5fd3;
}

.ofm-final .ofm-button--secondary {
  border-color: rgba(255, 255, 255, .36);
  background: rgba(5, 23, 54, .48);
  color: #fff !important;
  backdrop-filter: blur(10px);
}

.ofm-final .ofm-button--secondary:hover {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .1);
  color: #fff !important;
}

html:not([data-lp-theme="dark"]) .ofm-final {
  border-block-color: rgba(8, 118, 232, .16);
  background:
    radial-gradient(ellipse 52% 88% at 17% 54%, rgba(111, 157, 255, .3), transparent 72%),
    radial-gradient(ellipse 48% 72% at 84% 44%, rgba(73, 205, 242, .28), transparent 74%),
    #e6f4ff;
}

html:not([data-lp-theme="dark"]) .ofm-final::before {
  background: conic-gradient(from 130deg at 50% 50%, rgba(33, 97, 231, .08), rgba(30, 210, 213, .18), rgba(91, 59, 208, .12), rgba(33, 97, 231, .08));
}

html:not([data-lp-theme="dark"]) .ofm-final::after {
  background:
    radial-gradient(ellipse 70% 70% at 50% 48%, transparent 24%, rgba(196, 225, 250, .2) 76%),
    linear-gradient(180deg, rgba(242, 249, 255, .12), rgba(203, 231, 253, .28));
}

html:not([data-lp-theme="dark"]) .ofm-final .lpn-tools-aurora canvas,
html:not([data-lp-theme="dark"]) .ofm-final [data-ofm-shader] canvas {
  opacity: .62;
}

html:not([data-lp-theme="dark"]) .ofm-final h2 {
  color: #061b35 !important;
}

html:not([data-lp-theme="dark"]) .ofm-final .ofm-button--secondary {
  border-color: rgba(8, 94, 190, .28);
  background: rgba(255, 255, 255, .7);
  color: #0757ad !important;
}

html:not([data-lp-theme="dark"]) .ofm-final .ofm-button--secondary:hover {
  border-color: rgba(8, 94, 190, .48);
  background: rgba(255, 255, 255, .94);
  color: #043f82 !important;
}

@keyframes ofm-final-aurora {
  to { transform: rotate(360deg) scale(1.04); }
}

/* Lightbox */
.ofm-lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  padding: clamp(.75rem, 3vw, 2rem);
  background: transparent;
  color: #fff;
}

.ofm-lightbox[open],
.ofm-lightbox.is-open {
  display: grid;
  place-items: center;
  animation: ofm-lightbox-in .24s ease both;
}

.ofm-lightbox::backdrop {
  background: rgba(1, 8, 22, .9);
  backdrop-filter: blur(11px);
}

.ofm-lightbox:not(dialog).is-open {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(1, 8, 22, .9);
  backdrop-filter: blur(11px);
}

.ofm-lightbox__frame {
  position: relative;
  width: min(var(--ofm-lightbox-image-width, 1540px), 100%);
  max-width: 1540px;
  max-height: calc(100svh - 1.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 13px;
  background: #061329;
  box-shadow: 0 38px 120px rgba(0, 0, 0, .65);
}

.ofm-lightbox__dialog {
  position: relative;
  display: grid;
  width: min(var(--ofm-lightbox-image-width, 1540px), 100%);
  max-width: 1540px;
  max-height: calc(100svh - 1.5rem);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 13px;
  background: #061329;
  box-shadow: 0 38px 120px rgba(0, 0, 0, .65);
}

.ofm-lightbox__dialog > header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  padding: .65rem .72rem .65rem 1rem;
}

.ofm-lightbox__dialog > header h2 {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
  letter-spacing: -.01em;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ofm-lightbox__dialog > header button {
  min-height: 40px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  padding: .55rem .85rem;
  font-size: .76rem;
  font-weight: 900;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

.ofm-lightbox__dialog > header button:hover {
  border-color: #6ca8ff;
  background: #0871df;
}

.ofm-lightbox__dialog > figure {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: auto;
}

.ofm-lightbox__dialog > figure img {
  display: block;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
}

.ofm-lightbox__frame figure {
  display: grid;
  justify-items: center;
}

.ofm-lightbox__frame img {
  display: block;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: calc(100svh - 6.5rem);
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
  box-shadow: none;
}

.ofm-lightbox__frame figcaption,
.ofm-lightbox__caption {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding: .78rem 4rem .82rem 1rem;
  color: rgba(255, 255, 255, .87);
  font-size: .84rem;
  line-height: 1.42;
  text-align: center;
}

.ofm-lightbox__close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 8px;
  background: rgba(3, 12, 30, .88);
  color: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.ofm-lightbox__close:hover {
  border-color: #6ca8ff;
  background: #0871df;
  transform: translateY(-1px);
}

.ofm-lightbox__close svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke-width: 2;
}

@keyframes ofm-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll reveal */
.ofm.ofm-motion-ready [data-ofm-reveal]:not(.is-visible),
.ofm-motion-ready .ofm [data-ofm-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(25px);
}

.ofm.ofm-motion-ready [data-ofm-reveal],
.ofm-motion-ready .ofm [data-ofm-reveal] {
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
}

.ofm.ofm-motion-ready [data-ofm-reveal].is-visible,
.ofm-motion-ready .ofm [data-ofm-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* <= 1280 */
@media (max-width: 1280px) {
  .ofm-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(500px, 1.15fr);
    gap: 3rem;
  }

  .ofm-hero h1 {
    font-size: clamp(3.35rem, 5.2vw, 4.25rem);
  }

  .ofm-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ofm-feature-grid,
  .ofm-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* <= 900 */
@media (max-width: 900px) {
  body.ofm-public-page .lpn-nav-partner {
    display: none;
  }

  .ofm-hero {
    min-height: 0;
    padding-top: 4.5rem;
  }

  .ofm-hero__grid,
  .ofm-feature-row,
  .ofm-feature-row--reverse,
  .ofm-feature-row:nth-of-type(even),
  .ofm-section-heading--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ofm-hero__content {
    max-width: 760px;
  }

  .ofm-hero h1 {
    max-width: 760px;
    font-size: clamp(3.25rem, 9vw, 4.6rem);
  }

  .ofm-hero__visual {
    width: min(790px, 100%);
    margin-inline: auto;
    justify-self: center;
  }

  .ofm-hero__art {
    transform: none;
  }

  .ofm-section-heading--split {
    align-items: start;
    gap: 1.25rem;
  }

  .ofm-section-heading--split > p {
    max-width: 700px;
  }

  .ofm-feature-row,
  .ofm-feature-row--reverse,
  .ofm-feature-row:nth-of-type(even) {
    gap: 2.75rem;
  }

  .ofm-feature-row--reverse .ofm-feature-copy,
  .ofm-feature-row:nth-of-type(even) .ofm-feature-copy {
    order: 0;
  }

  .ofm-gallery-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ofm-gallery-filter {
    grid-column: 1 / -1;
    order: 2;
  }

  .ofm-gallery-count {
    grid-column: 2;
    grid-row: 1;
  }

  .ofm-modal-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 0;
    padding-block: clamp(3rem, 9vw, 4.75rem);
  }

  .ofm-modal-card__head {
    grid-column: 1;
    grid-row: 1;
    align-self: auto;
    padding-bottom: .75rem;
  }

  .ofm-modal-card__body {
    grid-column: 1;
    grid-row: 2;
    align-self: auto;
    margin-bottom: clamp(2rem, 6vw, 3rem);
  }

  .ofm-modal-card .ofm-shot__button {
    grid-column: 1;
    grid-row: 3;
    align-self: auto;
  }

  .ofm-modal-card .ofm-shot__button img {
    max-height: none;
  }

  .ofm-flow__offer {
    width: min(250px, 78%);
  }

  .ofm-final {
    min-height: 440px;
  }
}

/* <= 640 */
@media (max-width: 640px) {
  .ofm-container {
    width: min(calc(100% - 24px), 1280px);
  }

  .ofm :where(section[id]) {
    scroll-margin-top: 118px;
  }

  .ofm-section-nav {
    top: 70px;
  }

  .ofm-section-nav .ofm-container {
    width: 100%;
    padding-inline: 7px;
    scroll-snap-type: x proximity;
  }

  .ofm-section-nav::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ofm-bg) 95%, transparent));
    content: "";
    pointer-events: none;
  }

  .ofm .ofm-section-nav a {
    padding: 13px 11px;
    scroll-snap-align: start;
  }

  .ofm .ofm-section-nav a::after {
    right: 11px;
    left: 11px;
  }

  .ofm-hero {
    padding: 3.75rem 0 4rem;
  }

  .ofm-hero::before {
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, transparent, #000 44%, #000 100%);
  }

  .ofm-hero__grid {
    gap: 2.75rem;
  }

  .ofm-hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.65rem);
    letter-spacing: -.05em;
  }

  .ofm-hero__lead {
    margin-top: 1.15rem !important;
    font-size: 1rem !important;
  }

  .ofm-hero__actions,
  .ofm-final .ofm-hero__actions,
  .ofm-final__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .ofm-button {
    width: 100%;
  }

  .ofm-hero__art {
    border-radius: 13px;
  }

  .ofm-section {
    padding: 4.25rem 0;
  }

  .ofm-section-heading {
    margin-bottom: 2.5rem;
  }

  .ofm-section-heading h2,
  .ofm-feature-copy h2 {
    font-size: clamp(2.05rem, 10vw, 2.85rem);
  }

  .ofm-process-grid,
  .ofm-feature-grid,
  .ofm-gallery-grid,
  .ofm-index-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ofm-process-card,
  .ofm-feature-card {
    padding: 1.25rem;
  }

  .ofm-feature-row + .ofm-feature-row {
    margin-top: 4.75rem;
  }

  .ofm-flow {
    gap: .65rem;
    border-radius: 15px;
    padding: .8rem;
  }

  .ofm-flow:has(> .ofm-flow__lane) {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
    padding-block: .9rem;
  }

  .ofm-flow > .ofm-flow__lane {
    top: .95rem;
    right: auto;
    bottom: .95rem;
    left: 1.35rem;
    width: 2px;
    min-height: 0;
    background: linear-gradient(180deg, transparent, var(--ofm-line) 7%, var(--ofm-line) 93%, transparent);
    transform: none;
  }

  .ofm-flow > .ofm-flow__lane .ofm-flow__signal {
    top: 0;
    bottom: auto;
    left: 50%;
    animation-name: ofm-flow-signal-mobile;
  }

  .ofm-flow > .ofm-flow__offer {
    width: auto;
    min-height: 76px;
    margin-left: 1.45rem;
    padding: .82rem .9rem;
    animation-name: ofm-flow-stage-mobile;
  }

  .ofm-flow__lane {
    min-height: 124px;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: .55rem;
    padding: .75rem;
  }

  .ofm-flow__lane::after {
    top: auto;
    right: .8rem;
    bottom: 32px;
    left: .8rem;
  }

  .ofm-flow__offer {
    width: min(240px, 78%);
    min-height: 46px;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: .45rem;
    padding: .4rem .5rem;
    animation-name: ofm-offer-route-mobile;
  }

  .ofm-flow__offer > i,
  .ofm-flow__offer > svg {
    width: 32px;
    height: 32px;
    padding: .45rem;
  }

  .ofm-flow__signal {
    top: auto;
    bottom: 28px;
    left: .9rem;
  }

  .ofm-gallery-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
    padding: .65rem;
  }

  .ofm-gallery-search,
  .ofm input.ofm-gallery-search {
    grid-column: 1;
    grid-row: auto;
  }

  .ofm-gallery-count {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .ofm-gallery-filter {
    grid-column: 1;
    order: 0;
  }

  .ofm-shot--modal .ofm-shot__button,
  .ofm-shot__button.ofm-shot--modal {
    padding: clamp(.5rem, 3vw, .75rem);
  }

  .ofm-shot__bar {
    min-height: 36px;
  }

  .ofm-shot__zoom {
    right: .55rem;
    bottom: .55rem;
    width: auto;
    min-width: 2.4rem;
    height: 2.4rem;
    padding-inline: .62rem;
  }

  .ofm-preview-switch {
    width: 100%;
  }

  .ofm-preview-switch button,
  .ofm-preview-switch [role="button"] {
    flex: 1;
  }

  .ofm-index-card > summary {
    min-height: 68px;
    padding-left: 1rem;
    font-size: .92rem;
  }

  .ofm-faq__item > summary,
  .ofm-faq__item h3 button {
    min-height: 66px;
    padding: .9rem .8rem .9rem 1rem;
    font-size: .93rem;
  }

  .ofm-final {
    min-height: 410px;
    padding: 4.75rem .75rem;
  }

  .ofm-final h2 {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
  }

  .ofm-lightbox {
    place-items: center;
    overflow: hidden;
    padding: .5rem;
  }

  .ofm-lightbox__frame {
    width: min(var(--ofm-lightbox-image-width, 100%), 100%);
    min-width: 0;
    max-width: 100%;
    max-height: calc(100svh - 1rem);
    overflow: hidden;
    border-radius: 8px;
  }

  .ofm-lightbox__dialog {
    width: min(var(--ofm-lightbox-image-width, 100%), 100%);
    min-width: 0;
    max-width: 100%;
    max-height: calc(100svh - 1rem);
    overflow: hidden;
    border-radius: 8px;
  }

  .ofm-lightbox__dialog > header {
    z-index: 2;
    background: #061329;
  }

  .ofm-lightbox__dialog > figure {
    overflow: auto;
  }

  .ofm-lightbox__dialog > figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
  }

  .ofm-lightbox__frame img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100svh - 5.75rem);
  }

  .ofm-lightbox__close {
    position: fixed;
    top: .75rem;
    right: .75rem;
  }
}

@keyframes ofm-flow-signal-mobile {
  0% { top: 0; opacity: 0; transform: translate(-50%, 0) scale(.72); }
  7%, 92% { opacity: 1; }
  100% { top: 100%; opacity: 0; transform: translate(-50%, -100%) scale(1.12); }
}

@keyframes ofm-flow-stage-mobile {
  0%, 63%, 100% { border-color: color-mix(in srgb, var(--ofm-primary) 24%, var(--ofm-line)); transform: translateX(0); }
  74%, 88% { border-color: color-mix(in srgb, var(--ofm-cyan) 72%, var(--ofm-line)); transform: translateX(4px); }
}

@keyframes ofm-offer-route-mobile {
  0%, 10% { transform: translateX(0); }
  44%, 58% { transform: translateX(clamp(26px, 13vw, 76px)); }
  92%, 100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ofm *,
  .ofm *::before,
  .ofm *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .ofm.ofm-motion-ready [data-ofm-reveal]:not(.is-visible),
  .ofm.ofm-motion-ready [data-ofm-reveal],
  .ofm-motion-ready .ofm [data-ofm-reveal]:not(.is-visible),
  .ofm-motion-ready .ofm [data-ofm-reveal] {
    opacity: 1;
    transform: none;
  }

  .ofm-hero__visual::before,
  .ofm-shot__button::before,
  .ofm-flow__signal,
  .ofm-final::before {
    display: none;
  }

  .ofm-flow__offer,
  .ofm-hero__art {
    transform: none;
  }
}

@media print {
  .ofm {
    --ofm-bg: #fff;
    --ofm-surface: #fff;
    --ofm-surface-soft: #edf3f9;
    --ofm-surface-strong: #dce7f2;
    --ofm-panel: #f7f9fc;
    --ofm-text: #061b35;
    --ofm-muted: #596f87;
    --ofm-line: #cad8e5;
    overflow: visible;
    color: #061b35;
    background: #fff;
  }

  .ofm-section-nav,
  .ofm .lpn-hero-aurora,
  .ofm .lpn-tools-aurora,
  .ofm [data-ofm-shader],
  .ofm-shot__zoom,
  .ofm-preview-switch,
  .ofm-gallery-toolbar,
  .ofm-lightbox {
    display: none !important;
  }

  .ofm-hero,
  .ofm-section,
  .ofm-final {
    break-inside: avoid;
    padding-block: 2rem;
  }

  .ofm-final {
    min-height: 0;
    background: #061b35;
  }

  .ofm-modal-card,
  .ofm-shot,
  .ofm-feature-card,
  .ofm-process-card,
  .ofm-index-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
