/* Kopnota marketing site · branding demo */
/* ---------- Branding ---------- */
.brand-controls { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; margin-bottom: 16px; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 40px; height: 24px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.switch input:checked + span { background: var(--mint-deep); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.mini-paper { position: relative; width: min(100%, 380px); margin: 0 auto; aspect-ratio: 210 / 250; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 7%; display: flex; flex-direction: column; gap: 6%; overflow: hidden; color: #10173A; }
.mp-wm { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .5s; pointer-events: none; }
.mp-wm svg { width: 52%; transform: rotate(-18deg); fill: none; stroke: #1C2C8C; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .08; }
.mini-paper.wm .mp-wm { opacity: 1; }
.mp-head { display: flex; position: relative; }
.mp-logo { display: inline-flex; gap: 8px; align-items: center; transition: transform .55s cubic-bezier(.3, 1.2, .5, 1); }
.mp-logo img { border-radius: 7px; }
.mp-logo b { font: 700 14px var(--font-display); }
.mini-paper[data-logo="center"] .mp-head { justify-content: center; }
.mini-paper[data-logo="right"] .mp-head { justify-content: flex-end; }
.mp-lines { display: grid; gap: 10px; position: relative; }
.mp-lines i { height: 7px; border-radius: 4px; background: #DCE1F4; }
.mp-lines i.short { width: 55%; }
.mp-tot { margin-left: auto; width: 46%; display: grid; gap: 7px; position: relative; }
.mp-tot i { height: 6px; border-radius: 3px; background: #E4E8F7; }
.mp-tot b { height: 10px; border-radius: 4px; background: #1C2C8C; }
.mp-sign { margin-top: auto; position: relative; width: 48%; }
.mp-sign svg { width: 100%; height: auto; }
.mp-sign small { display: block; border-top: 1px solid #C9CEE6; padding-top: 4px; font-size: 10px; color: #6B7398; }
.mp-stamp { position: absolute; left: 34%; top: -18%; width: 74px; height: 74px; border-radius: 50%; border: 3px double #C0353A; color: #C0353A; display: grid; place-items: center; font: 800 9px/1.15 var(--font-display); letter-spacing: .12em; text-align: center; transform: rotate(-16deg) scale(.6); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; mix-blend-mode: multiply; }
.mini-paper.st .mp-stamp { transform: rotate(-16deg) scale(1); opacity: .78; }
.bg-remove { position: relative; margin: 18px auto 0; width: min(100%, 380px); height: 104px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); --pos: 50%; touch-action: pan-y; cursor: ew-resize; }
.bgr-half { position: absolute; inset: 0; display: grid; place-items: center; }
.bgr-half svg { width: 62%; height: auto; }
.bgr-before { background: linear-gradient(135deg, #F1EAD9, #E4DAC2 60%, #D9CCAF); }
.bgr-before svg { filter: blur(.3px) contrast(.9); opacity: .85; }
.bgr-after { clip-path: inset(0 0 0 var(--pos)); background-color: #fff; background-image: linear-gradient(45deg, #E8EBF5 25%, transparent 25%), linear-gradient(-45deg, #E8EBF5 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #E8EBF5 75%), linear-gradient(-45deg, transparent 75%, #E8EBF5 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.bgr-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--blue); }
.bgr-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .9rem; box-shadow: 0 4px 12px rgba(51, 85, 230, .5); }
.bgr-tag { position: absolute; bottom: 8px; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(13, 20, 51, .7); color: #fff; }
.bgr-tag.l { left: 8px; }
.bgr-tag.r { right: 8px; }
