/* Homepage-only product demonstration. No framework or third-party widgets. */
.page-home .home-hero { padding: 48px 0 40px; }
.page-home .home-hero .hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; align-items: center; text-align: left; }
.home-hero__copy { min-width: 0; }
.page-home .home-hero .hero__title { font-size: clamp(36px, 4.1vw, 53px); margin: 22px 0; line-height: 1.08; }
.page-home .home-hero .hero__sub { font-size: 18px; margin: 0 0 14px; line-height: 1.65; }
.page-home .home-hero .hero__setup { font-size: 15px; margin: 0 0 24px; }
.page-home .home-hero .hero__ctas { justify-content: flex-start; }
.page-home .home-hero .hero__ctas .btn { font-size: 14px; padding-inline: 18px; }
.page-home .home-hero .hero__meta { font-size: 12px; line-height: 1.7; margin: 2px 0 18px; }
.home-output { margin: 0; background: #fff; border: 1px solid #d0dfec; border-radius: 20px; box-shadow: 0 22px 70px -36px #123d6880; overflow: hidden; text-align: left; min-width: 0; }
.home-output__top { display: flex; align-items: center; gap: 9px; padding: 16px 20px; font-weight: 600; font-size: 13px; border-bottom: 1px solid var(--c-line); background: #f5f9fd; color: #173956; }
.home-output__dot { width: 8px; height: 8px; background: #247d78; border-radius: 50%; flex-shrink: 0; }
.home-output__input { display: flex; align-items: center; gap: 14px; padding: 18px 20px 0; font-size: 13px; color: var(--c-slate); }
.home-output__input img { width: 72px; height: 48px; object-fit: cover; border-radius: 5px; }
.home-output__flow { padding: 12px 20px; font-size: 13px; font-weight: 600; color: #2265a2; }
.home-output__flow > span { margin: 0 14px 0 28px; }
.home-output__folder { display: flex; gap: 12px; align-items: center; margin: 0 20px; padding: 14px; background: #ecf5ff; border: 1px solid #cee2f7; border-radius: 10px; }
.home-output__folder > span { font-size: 30px; line-height: 1; color: #1764ac; }
.home-output__folder strong { font-size: 13px; overflow-wrap: anywhere; color: #173956; }
.home-output__folder div > span { display: block; font-size: 12px; color: #49617b; margin-top: 3px; }
.home-output__files { margin: 12px 20px; padding: 0 0 0 16px; list-style: none; border-left: 1px solid #d2dfec; }
.home-output__files li { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.home-output__files img { width: 52px; height: 36px; object-fit: contain; background: #eff4f8; border-radius: 4px; }
.home-output__files li > span { font-size: 12px; font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
.home-output__files li > span:last-child { color: #22766a; margin-left: auto; font-family: inherit; }
.home-output figcaption { border-top: 1px solid var(--c-line); font-size: 11px; line-height: 1.6; padding: 12px 20px; color: var(--c-slate); }
.home-peer { padding: 36px 0; border-block: 1px solid var(--c-line); background: #f5f9fd; }
.home-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; padding: 0; margin: 18px 0 0; list-style: none; }
.home-review { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin: 0; padding: 28px; background: #fff; border: 1px solid #d6e3ef; border-radius: 16px; height: 100%; }
.home-peer blockquote { flex: 1 1 540px; margin: 0; text-align: left; }
.home-peer p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: #26435c; }
.home-peer footer { font-size: 14px; font-weight: 600; color: #173956; }
.home-peer footer span { font-weight: 400; color: var(--c-slate); }
.home-review__logo { flex: 0 1 247px; margin: 0; }
.home-review__logo img { display: block; width: 247px; max-width: 100%; height: auto; }
.home-contrast { padding: 64px 0; }
.home-contrast .section-head { margin-bottom: 30px; }
.home-contrast__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #d4e1ed; border-radius: 18px; overflow: hidden; }
.home-contrast__grid > div { padding: 30px; }
.home-contrast__grid h3 { font-size: 23px; line-height: 1.3; margin: 12px 0 20px; }
.home-contrast__grid ul { list-style: none; padding: 0; margin: 0; }
.home-contrast__grid li { padding: 10px 0 10px 22px; position: relative; font-size: 15px; line-height: 1.6; color: var(--c-slate); }
.home-contrast__grid li::before { content: '—'; position: absolute; left: 0; color: #698197; }
.home-contrast__grid .home-contrast__automated { background: #edf6ff; border-left: 1px solid #d4e1ed; }
.home-contrast__automated li::before { content: '✓'; color: #1b786d; }
.home-contrast__footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 22px; }
.home-contrast__footer p { max-width: 620px; font-size: 14px; color: var(--c-slate); line-height: 1.7; margin: 0; }
.home-contrast__footer a { flex-shrink: 0; font-size: 14px; }
.home-setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; align-items: center; background: #f0f6fd; border: 1px solid #d5e3f1; border-radius: 18px; padding: 30px; margin-top: 36px; scroll-margin-top: 100px; }
.home-setup h3 { font-size: 25px; line-height: 1.25; margin: 12px 0 16px; }
.home-setup__intro p { font-size: 14px; line-height: 1.7; color: var(--c-slate); }
.home-setup__intro > a { font-size: 14px; }
.home-setup__guides { list-style: none; padding: 0; margin: 0; }
.home-setup__guides li + li { margin-top: 10px; }
.home-setup__guides a { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid #d7e4f0; border-radius: 10px; background: #fff; text-decoration: none; }
.home-setup__guides a:hover { border-color: #488bc9; background: #f8fbff; }
.home-setup__guides a:focus-visible, .home-output a:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }
.home-setup__guides a > span { color: #276ca9; font-size: 12px; }
.home-setup__guides a > span:last-child { margin-left: auto; }
.home-setup__guides strong { display: block; color: var(--c-ink); font-size: 14px; line-height: 1.4; }
.home-setup__guides small { display: block; color: var(--c-slate); font-size: 12px; line-height: 1.5; margin-top: 5px; }
.home-section-action { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin-top: 30px; }
.home-section-action > span { font-size: 12px; color: var(--c-slate); }
.page-home .home-evidence__note { font-size: 14px; }
.page-home .ba__cta { display: flex; margin-top: 26px; }
.page-home .ba__stage { --ba-x: 50%; }
.home-try-editor { text-align: center; margin: 22px 0 0; font-size: 14px; }
#editor { scroll-margin-top: 100px; }
.page-home .mc--editor .section-head { margin-bottom: 24px; }

.editor-demo { background: #fff; color: var(--c-ink); border: 1px solid #d5e1ec; border-radius: 12px; }
.editor-demo [hidden] { display: none !important; }
.editor-screenshot-scroll { max-width: 100%; overflow: auto; overscroll-behavior-x: contain; }
.editor-screenshot { position: relative; width: 100%; min-width: 1000px; container-type: inline-size; }
.editor-screenshot > [data-editor-screenshot] { display: block; width: 100%; height: auto; }
.editor-live { position: absolute; display: flex; justify-content: center; align-items: center; background: rgb(138,140,141); overflow: hidden; container-type: size; opacity: 0; }
.editor-demo[data-active="true"] .editor-live { opacity: 1; }
.editor-live__stage { position: relative; flex-shrink: 0; width: min(calc(100cqw * .973), calc(100cqh * .973 * var(--demo-ratio, 1.5))); aspect-ratio: var(--demo-ratio, 1.5); isolation: isolate; }
.editor-live__stage > canvas { display: block; width: 100%; height: 100%; }
.editor-live__crop { position: absolute; border: 1px solid #fff; box-shadow: 0 0 0 2000px #0006; cursor: move; touch-action: none; user-select: none; }
.editor-live__grid { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right,transparent 32.9%,#ffffff60 33%,#ffffff60 33.3%,transparent 33.4%,transparent 66.2%,#ffffff60 66.3%,#ffffff60 66.6%,transparent 66.7%), linear-gradient(to bottom,transparent 32.9%,#ffffff60 33%,#ffffff60 33.3%,transparent 33.4%,transparent 66.2%,#ffffff60 66.3%,#ffffff60 66.6%,transparent 66.7%); }
.editor-demo.is-grid-off .editor-live__grid { display: none; }
.editor-handle { position: absolute; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; transform: translate(-50%,-50%); touch-action: none; cursor: move; }
.editor-handle::after { content: ''; position: absolute; inset: 11px; background: #fff; }
.editor-handle[data-editor-handle="nw"] { left: 0; top: 0; cursor: nwse-resize; }
.editor-handle[data-editor-handle="ne"] { left: 100%; top: 0; cursor: nesw-resize; }
.editor-handle[data-editor-handle="sw"] { left: 0; top: 100%; cursor: nesw-resize; }
.editor-handle[data-editor-handle="se"] { left: 100%; top: 100%; cursor: nwse-resize; }
.editor-handle[data-editor-handle="n"] { left: 50%; top: 0; cursor: ns-resize; }
.editor-handle[data-editor-handle="s"] { left: 50%; top: 100%; cursor: ns-resize; }
.editor-handle[data-editor-handle="w"] { left: 0; top: 50%; cursor: ew-resize; }
.editor-handle[data-editor-handle="e"] { left: 100%; top: 50%; cursor: ew-resize; }
.editor-hotspot { position: absolute; z-index: 3; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 2px; background: transparent; color: transparent; cursor: pointer; }
.editor-hotspot:hover { background: #166bba18; }
.editor-demo :focus-visible { outline: 2px solid #1680cf; outline-offset: 2px; }
.editor-tilt { appearance: none; -webkit-appearance: none; cursor: ew-resize; }
.editor-tilt::-webkit-slider-runnable-track { background: transparent; }
.editor-tilt::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 16px; height: 28px; background: transparent; border: 0; }
.editor-tilt::-moz-range-track { background: transparent; }
.editor-tilt::-moz-range-thumb { width: 16px; height: 28px; background: transparent; border: 0; }
.editor-aspect { appearance: none; -webkit-appearance: none; font: 1cqw system-ui, sans-serif; }
.editor-aspect.is-changed, .editor-aspect:focus { color: #202b37; background: #fff; border: 1px solid #cbd5e1; padding-inline: 6px; }
.editor-aspect option { color: #202b37; background: #fff; }
.editor-readout { position: absolute; display: flex; align-items: center; justify-content: center; font: clamp(9px,1cqw,23px) system-ui,sans-serif; color: #344458; background: #f6f7fb; border-radius: 3px; opacity: 0; pointer-events: none; }
.editor-demo[data-active="true"] .editor-readout { opacity: 1; }
.editor-demo figcaption { margin: 0; border-top: 1px solid var(--c-line); padding: 16px 24px; font-size: 13px; line-height: 1.7; color: var(--c-slate); text-align: left; }
.editor-demo figcaption a { color: var(--c-brand); text-underline-offset: 3px; }
.editor-demo__status { margin: 0; padding: 14px 24px; border-top: 1px solid #c9dfef; background: #edf7ff; color: #234d70; font-size: 14px; line-height: 1.6; }
.crop-demo__fallback { padding: 0 24px 20px; font-size: 14px; }
@media (max-width: 760px) {
  .page-home .home-hero { padding: 32px 0; }
  .page-home .home-hero .hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .page-home .home-hero .hero__title { font-size: clamp(32px, 7.2vw, 48px); }
  .page-home .home-hero .hero__sub { font-size: 17px; }
  .home-output { width: 100%; max-width: 520px; margin-inline: auto; }
  .home-peer p { font-size: 16px; }
  .home-peer footer span { display: block; margin-top: 4px; }
  .home-contrast { padding: 48px 0; }
  .home-contrast__grid { grid-template-columns: 1fr; }
  .home-contrast__grid > div { padding: 24px; }
  .home-contrast__grid .home-contrast__automated { border-left: 0; border-top: 1px solid #d4e1ed; }
  .home-contrast__footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .home-contrast__footer a { flex-shrink: 1; }
  .home-setup { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .home-section-action { text-align: center; flex-direction: column; gap: 12px; }
  .home-review { padding: 22px; }
  .editor-demo figcaption { padding: 16px; }
}
