.app-mobile-page { color: var(--ink); }
.app-mobile-page main { padding-top: 0; }
.app-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.app-mobile-page section[id] { scroll-margin-top: 120px; }
.app-banner { --app-banner-height: clamp(680px, calc(80svh + 80px), 840px); --app-image-height: calc(var(--app-banner-height) - 80px); position: relative; height: var(--app-banner-height); background: #e6e9ed; color: #202636; overflow: hidden; }
.app-banner-image { display: block; box-sizing: border-box; padding-top: 80px; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; mask-image: linear-gradient(to right, transparent max(0px, calc(100% - var(--app-image-height) - var(--app-image-height))), #000 max(360px, calc(100% - var(--app-image-height) - var(--app-image-height) + 400px))), linear-gradient(to bottom, transparent 80px, #000 120px); mask-composite: intersect; }
.app-banner::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(230, 233, 237, .98), rgba(230, 233, 237, .94) 22%, rgba(230, 233, 237, .8) 32%, rgba(230, 233, 237, .35) 43%, transparent 58%); }
.app-banner-copy { position: absolute; z-index: 1; left: max(24px, calc((100% - 1440px) / 2 + 24px)); top: 50%; transform: translateY(-38%); width: min(29%, 340px); }
.app-banner-copy .eyebrow { color: #173eaf; font-size: 11px; }
.app-banner-copy h1 { margin: 18px 0 22px; font-size: 48px; line-height: 1.08; color: #173eaf; }
.app-banner-copy h1 span { display: block; }
.app-banner-copy p { font-size: 20px; line-height: 1.5; margin: 0 0 12px; font-weight: 600; }
.app-banner-copy .app-banner-description { font-size: 16px; line-height: 1.7; font-weight: 400; color: #39465b; }
.app-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 26px; }
.app-process-link { color: #173eaf; font-size: 13px; font-weight: 700; line-height: 1.5; }
.app-process-link span { margin-left: 6px; }
.app-process-section { border-top: 1px solid var(--line); }
.app-process-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #080f2c; }
.app-sales-steps { list-style: none; margin: 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.app-sales-steps li { display: flex; gap: 12px; font-size: 13px; line-height: 1.6; }
.app-sales-steps span { color: var(--factuyala-orange); font-weight: 700; }
html[data-theme="dark"] .app-banner { background: #11151e; color: #f1f3f9; }
html[data-theme="dark"] .app-banner::after { background: linear-gradient(90deg, rgba(17, 21, 30, .98), rgba(17, 21, 30, .94) 22%, rgba(17, 21, 30, .84) 32%, rgba(17, 21, 30, .5) 46%, rgba(17, 21, 30, .16) 65%, rgba(17, 21, 30, .1)); }
html[data-theme="dark"] .app-banner-copy h1 { color: #fff; }
html[data-theme="dark"] .app-banner-copy .eyebrow,
html[data-theme="dark"] .app-process-link { color: #b9caff; }
html[data-theme="dark"] .app-banner-copy .app-banner-description { color: #e0e5ef; }
html[data-theme="dark"] .app-banner-copy .button-primary { color: #fff; }
.app-summary { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; font-weight: 600; font-size: 13px; color: var(--muted); }
.app-summary span { display: flex; gap: 12px; align-items: center; }
.app-summary span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--factuyala-orange); flex-shrink: 0; }
.app-section { padding-block: 84px; }
.app-gallery-section, .app-start { background: var(--surface-muted); }
.app-section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 44px; }
.app-section h2 { font-size: 36px; margin: 14px 0 0; }
.app-section-heading p { max-width: 460px; margin: 0; color: var(--muted); line-height: 1.8; }
.app-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; }
.app-screen { margin: 0; min-width: 0; }
.app-screen-open { position: relative; display: block; width: min(100%, 282px); padding: 7px; margin-inline: auto; border: 1px solid #454a57; border-radius: 27px; background: #11151e; cursor: zoom-in; overflow: hidden; }
.app-screen-open img { display: block; width: 100%; height: auto; aspect-ratio: 390/844; border-radius: 20px; }
.app-screen-action { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #fff; background: #173eaf; padding: 9px 14px; border-radius: 4px; font: 600 12px Inter, sans-serif; opacity: 0; transition: opacity 160ms ease; }
.app-screen-open:hover .app-screen-action, .app-screen-open:focus-visible .app-screen-action { opacity: 1; }
.app-screen figcaption { margin-top: 28px; }
.app-screen h3 { margin: 0 0 10px; color: var(--ink); }
.app-screen p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.75; }
.app-capture-note { font-size: 12px; color: var(--muted); margin: 32px 0 0; text-align: center; }
.app-function-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 44px; }
.app-function-grid article { border-top: 1px solid var(--line); padding-top: 22px; }
.app-function-number { font: 700 13px Inter, sans-serif; color: var(--factuyala-orange); }
.app-function-grid h3 { margin: 12px 0; color: var(--ink); }
.app-function-grid p { color: var(--muted); line-height: 1.75; font-size: 14px; margin: 0; }
.app-availability { color: var(--muted); font-size: 12px; margin: 36px 0 0; line-height: 1.75; max-width: 820px; }
.app-start-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.app-steps { counter-reset: app-step; list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.app-steps li { border-top: 1px solid var(--line); padding-top: 24px; counter-increment: app-step; }
.app-steps li::before { content: '0' counter(app-step); display: block; color: var(--factuyala-blue); font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.app-steps strong { font-size: 16px; }
.app-steps p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 0; }
.app-footer { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 30px; font-size: 12px; }
.app-footer p { color: var(--muted); }
.app-footer a { color: var(--factuyala-blue); }
.app-capture-dialog { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 12px; width: min(470px, calc(100% - 24px)); max-height: 94svh; }
.app-capture-dialog::backdrop { background: rgba(8, 12, 22, .85); }
.app-capture-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.app-capture-toolbar h2 { font-size: 15px; margin: 0; }
.app-capture-toolbar button { flex: 0 0 40px; height: 40px; background: var(--surface-muted); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; font-size: 28px; cursor: pointer; }
.app-capture-dialog > img { display: block; max-width: 100%; max-height: calc(94svh - 88px); width: auto; margin: auto; }
.app-mobile-page :focus-visible { outline: 3px solid var(--factuyala-orange); outline-offset: 4px; }
.app-mobile-page .nav-links a[aria-current="page"] { color: var(--factuyala-blue); }
@media (min-width: 1101px) and (max-width: 1519px) {
    .app-banner { --app-banner-height: 680px; }
}
@media (max-width: 1100px) {
    .app-banner::after { display: none; }
    .app-banner-image { padding-top: 0; mask-image: none; }
    html[data-theme="dark"] .app-banner-image { filter: brightness(.8); }
}
@media (min-width: 761px) and (max-width: 1100px) {
    .app-banner { display: flex; flex-direction: column; height: auto; padding-top: 104px; }
    .app-banner-image { height: auto; }
    .app-banner-copy { position: relative; inset: auto; transform: none; width: auto; padding: 28px 36px; order: -1; }
    .app-banner-copy h1 { font-size: 40px; margin: 12px 0 16px; }
    .app-banner-copy h1 span { display: inline; }
    .app-banner-copy p { font-size: 18px; }
    .app-banner-actions { margin-top: 20px; }
}
@media (max-width: 760px) {
    .app-mobile-page .header-cta::before { content: 'App'; }
    .app-container { width: calc(100% - 36px); }
    .app-banner { display: flex; flex-direction: column; height: auto; padding-top: 92px; min-height: 0; padding-bottom: 0; }
    .app-banner-image { position: relative; height: auto; aspect-ratio: 1.6; width: 100%; object-fit: cover; object-position: right bottom; }
    .app-banner-copy { position: relative; order: -1; inset: auto; transform: none; width: auto; padding: 20px 20px 24px; }
    .app-banner-copy h1 { font-size: 32px; margin: 12px 0 16px; }
    .app-banner-copy h1 span { display: inline; }
    .app-banner-copy p { font-size: 18px; }
    .app-banner-copy .app-banner-description { font-size: 16px; max-width: 480px; }
    .app-banner-actions { margin-top: 20px; gap: 14px; }
    .app-banner-actions .button { width: auto; }
    .app-process-link { display: inline-flex; align-items: center; min-height: 44px; }
    .app-sales-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-summary { flex-wrap: wrap; justify-content: flex-start; gap: 12px 20px; padding-block: 18px; font-size: 11px; }
    .app-section { padding-block: 52px; }
    .app-section h2 { font-size: 28px; }
    .app-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
    .app-section-heading p { font-size: 14px; }
    .app-gallery { grid-template-columns: 1fr; gap: 42px; }
    .app-screen { max-width: 340px; margin-inline: auto; }
    .app-screen-open { width: 260px; }
    .app-screen figcaption { margin-top: 20px; }
    .app-function-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
    .app-start-heading { display: block; }
    .app-start-heading .button { margin-top: 24px; }
    .app-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
    .app-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
    .app-footer p { margin: 0; }
}
@media (max-width: 380px) {
    .app-function-grid { grid-template-columns: 1fr; }
    .app-banner-copy h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .app-screen-action { transition: none; } }
