/* SEO consulting — "the script doctor's desk" (prefix scn) */
.cinema-page--service-seo-consulting { --scn-red: #e0584c; --scn-ink: #221d18; --scn-paper: #f1ebe0; --scn-hl: #f3d36b; }

/* Atmospheres */
.set--scn-desk::before { inset: -10% 5% 25% 35%; background: radial-gradient(closest-side, rgba(243, 211, 107, .09), transparent); filter: blur(30px); }
.set--scn-desk::after { inset: 0; background: repeating-linear-gradient(180deg, transparent 0 39px, rgba(127, 160, 200, .05) 39px 40px); -webkit-mask-image: radial-gradient(60% 60% at 70% 40%, #000, transparent); mask-image: radial-gradient(60% 60% at 70% 40%, #000, transparent); }
.set--scn-cork::before { inset: 0; background: radial-gradient(rgba(224, 169, 95, .07) 1px, transparent 1.6px) 0 0 / 9px 9px, radial-gradient(rgba(224, 122, 92, .05) 1px, transparent 1.6px) 4px 5px / 13px 13px; -webkit-mask-image: radial-gradient(75% 70% at 50% 55%, #000, transparent); mask-image: radial-gradient(75% 70% at 50% 55%, #000, transparent); }
.set--scn-cork::after { inset: 20% 20% 0; background: radial-gradient(closest-side, rgba(224, 88, 76, .08), transparent); filter: blur(40px); }

/* ---------- Hero: annotated script page ---------- */
.cx-hero--scn_script .cx-hero__visual { width: min(100%, 540px); }
.scn-script { position: relative; padding: 6px 0 70px; }
.js .scn-script { opacity: 0; transform: translateY(30px) rotate(-2deg); }
.is-ready .scn-script { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) .2s, transform 1.6s var(--ease-out) .2s; }
.scn-script__page { position: relative; padding: 22px 104px 30px 30px; padding-inline: 50px 104px; border-radius: 4px; background: radial-gradient(120% 80% at 75% 0%, #fdf9f1, #f1e9db 55%, #e2d6c1); color: var(--scn-ink); box-shadow: 0 70px 110px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .25), 0 0 80px -20px rgba(243, 211, 107, .25); rotate: 1.6deg; }
.scn-script__page::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(200deg, transparent 50%, rgba(60, 40, 20, .1)); }
.scn-script__holes { position: absolute; top: 9%; bottom: 9%; inset-inline-start: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.scn-script__holes i { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #d9b26a, #8a6a2c 70%); box-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.scn-script__top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .18em; color: #8a7d6d; direction: ltr; }
.scn-script__slug { margin-top: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; direction: ltr; text-align: left; color: #3a322a; }
.scn-script__head { margin-top: 14px; }
.scn-script__title { font-size: 19px; font-weight: 900; }
.scn-script__sub { margin-top: 2px; font-size: 13.5px; font-weight: 700; color: #6e6152; }
.scn-script__lines { display: grid; gap: 22px; margin-top: 22px; }
.scn-q { position: relative; }
.scn-q p { position: relative; z-index: 1; font-size: 16px; font-weight: 800; line-height: 1.95; color: var(--scn-ink); }
.scn-mark { position: absolute; pointer-events: none; overflow: visible; }
.scn-mark path { fill: none; stroke: var(--scn-red); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.scn-mark--circle { inset: -10px -16px; width: calc(100% + 32px); height: calc(100% + 20px); }
.scn-mark--under { inset-inline: 0; bottom: -9px; width: 100%; height: 12px; }
.js .scn-mark path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.is-ready .scn-mark path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease-cine) calc(1.1s + var(--i) * .7s); }
.scn-q--hl span { background: linear-gradient(transparent 52%, rgba(243, 211, 107, .85) 52% 90%, transparent 90%) no-repeat 100% 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js .scn-q--hl span { background-size: 0% 100%; }
.is-ready .scn-q--hl span { background-size: 100% 100%; transition: background-size 1.1s var(--ease-cine) calc(1.1s + var(--i) * .7s); }
.scn-note { position: absolute; top: 50%; inset-inline-end: -94px; width: 80px; font-size: 13px; font-weight: 800; line-height: 1.5; text-align: center; color: var(--scn-red); transform: translateY(-50%) rotate(-7deg); }
.scn-note::before { content: ""; position: absolute; top: 50%; inset-inline-start: -16px; width: 14px; border-top: 1.6px solid var(--scn-red); }
.js .scn-note { opacity: 0; }
.is-ready .scn-note { opacity: 1; transition: opacity .6s calc(1.8s + var(--i) * .7s); }
.scn-script__margin { position: absolute; top: 0; bottom: 0; inset-inline-end: 96px; border-inline-start: 1px solid rgba(224, 88, 76, .4); }
.scn-sticky { position: absolute; z-index: 3; left: -5%; bottom: -18px; display: grid; gap: 4px; width: 152px; padding: 20px 16px 16px; background: linear-gradient(180deg, #f6dc7c, #efcd5c); color: #3a2f10; box-shadow: 0 30px 40px -24px rgba(0, 0, 0, .9); rotate: -7deg; animation: scnFloat 8s ease-in-out infinite; }
.scn-sticky::before { content: ""; position: absolute; top: -10px; left: 50%; width: 64px; height: 20px; margin-left: -32px; background: rgba(255, 250, 235, .45); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); rotate: 3deg; }
.scn-sticky small { font-size: 9.5px; letter-spacing: .2em; color: #8a6d1c; direction: ltr; text-align: left; }
.scn-sticky b { font-size: 16px; font-weight: 900; }
@keyframes scnFloat { 50% { transform: translateY(-7px); } }
.scn-pen { position: absolute; z-index: 4; right: -2%; bottom: 18px; width: 250px; height: auto; rotate: -16deg; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .6)); animation: scnPen 9s ease-in-out infinite; }
@keyframes scnPen { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -4px); } }
.scn-pen__body { fill: #201b18; }
.scn-pen__band, .scn-pen__clip, .scn-pen__nib { fill: #d9b26a; }
.scn-pen__tip { fill: #2e2723; }

/* ---------- Coverage reports ---------- */
.scn-cov { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.scn-cov__sheet { --a: var(--scn-hl); position: relative; padding: 24px clamp(20px, 2.4vw, 32px) 28px; border-radius: 20px; border: 1px solid var(--line-2); background: linear-gradient(180deg, color-mix(in srgb, var(--a) 7%, transparent), transparent 40%), var(--panel); }
.scn-cov__sheet--refer { --a: #8fd6de; }
.scn-cov__sheet::before { content: ""; position: absolute; top: -16px; right: 110px; width: 16px; height: 50px; border: 2.5px solid #bdb6aa; border-radius: 9px; }
.scn-cov__sheet::after { content: ""; position: absolute; top: -10px; right: 114px; width: 8px; height: 34px; border: 2.5px solid #bdb6aa; border-bottom: 0; border-radius: 6px 6px 0 0; }
.scn-cov__head { display: flex; justify-content: space-between; direction: ltr; }
.scn-cov__head .mono { font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.scn-cov__head .mono:first-child { color: var(--a); }
.scn-cov__verdict { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; direction: ltr; }
.scn-cov__verdict span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 7px; border-radius: 8px; border: 1px solid var(--line-2); font: 600 9.5px/1 var(--mono); letter-spacing: .12em; color: var(--muted); }
.scn-cov__verdict i { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid currentColor; font-style: normal; }
.scn-cov__verdict .ico { width: 10px; height: 10px; }
.scn-cov__verdict .is-on { border-color: var(--a); color: var(--a); background: color-mix(in srgb, var(--a) 10%, transparent); }
.scn-cov__verdict .is-on i { background: var(--a); border-color: var(--a); color: #15110e; }
.scn-cov__sheet h3 { margin-top: 20px; font-size: 21px; font-weight: 900; line-height: 1.5; }
.scn-cov__sheet ul { display: grid; gap: 10px; margin-top: 16px; }
.scn-cov__sheet li { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); color: var(--text-2); font-size: 15px; line-height: 1.95; }
.scn-cov__sheet li:last-child { border-bottom: 0; padding-bottom: 0; }
.scn-cov__mark { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 3px; border-radius: 7px; background: color-mix(in srgb, var(--a) 15%, transparent); color: var(--a); }
.scn-cov__mark .ico { width: 13px; height: 13px; }
.scn-cov a { color: var(--gold-l); border-bottom: 1px solid rgba(224, 169, 95, .4); font-weight: 800; transition: color .3s, border-color .3s; }
.scn-cov a:hover { color: #fff; border-color: var(--gold-l); }

/* ---------- Evidence exhibits ---------- */
.scn-ex { position: relative; }
.scn-ex__string { position: absolute; z-index: 2; top: 2px; left: 0; width: 100%; height: 40px; pointer-events: none; overflow: visible; }
.scn-ex__string path { fill: none; stroke: rgba(224, 88, 76, .75); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.scn-ex__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); padding-top: 14px; }
.scn-ex__bag { position: relative; height: 100%; padding: 0 20px 24px; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .13); background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015) 38%, rgba(255, 255, 255, .05) 70%, rgba(255, 255, 255, .01)), #15110e; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .95); rotate: -1.2deg; transition: rotate .5s var(--ease-out), translate .5s var(--ease-out); }
.scn-ex__item:nth-child(even) .scn-ex__bag { rotate: 1.1deg; }
.scn-ex__bag:hover { rotate: 0deg; translate: 0 -4px; }
.scn-ex__bag::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .06) 42%, transparent 52%); }
.scn-ex__pin { position: absolute; z-index: 3; top: 6px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9a8a, #c0392b 55%, #7a1f17); box-shadow: 0 4px 6px rgba(0, 0, 0, .6); }
.scn-ex__seal { display: flex; justify-content: space-between; gap: 8px; margin: 0 -20px 18px; padding: 28px 16px 9px; border-bottom: 3px dashed rgba(255, 255, 255, .22); background: linear-gradient(180deg, #a8342b, #8e2a22); direction: ltr; }
.scn-ex__seal .mono { font-size: 9.5px; letter-spacing: .16em; color: #ffe3dc; }
.scn-ex__num { display: inline-block; padding: 2px 10px; border-radius: 6px; border: 1px dashed rgba(243, 211, 107, .55); color: var(--scn-hl); font-size: 13px; font-weight: 900; }
.scn-ex__bag h3 { margin-top: 12px; font-size: 18.5px; font-weight: 900; line-height: 1.5; }
.scn-ex__bag p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; line-height: 2; }

/* ---------- Session: three stages with output slips ---------- */
.scn-ses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.scn-ses__stage { --a: var(--scn-hl); position: relative; display: flex; flex-direction: column; }
.scn-ses__stage:nth-child(2) { --a: var(--scn-red); }
.scn-ses__stage:nth-child(3) { --a: #8fd6de; }
.scn-ses__stage:not(:last-child)::after { content: ""; position: absolute; top: 44px; inset-inline-end: calc(-1 * clamp(18px, 2.4vw, 34px)); width: clamp(18px, 2.4vw, 34px); border-top: 2px dashed rgba(255, 236, 214, .25); }
.scn-ses__card { flex: 1; padding: 24px clamp(18px, 2vw, 26px) 26px; border-radius: 20px 20px 4px 4px; border: 1px solid var(--line-2); border-bottom: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--a) 8%, transparent), transparent 45%), var(--panel); }
.scn-ses__top { display: flex; align-items: center; gap: 12px; }
.scn-ses__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--a) 45%, transparent); background: color-mix(in srgb, var(--a) 12%, transparent); color: var(--a); }
.scn-ses__phase { font-size: 15px; font-weight: 900; color: var(--a); }
.scn-ses__code { margin-inline-start: auto; font-size: 10px; letter-spacing: .2em; color: var(--muted); direction: ltr; }
.scn-ses__stage:nth-child(2) .scn-ses__code::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--scn-red); box-shadow: 0 0 8px var(--scn-red); animation: scnBlink 1.8s ease-in-out infinite; }
@keyframes scnBlink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.scn-ses__card h3 { margin-top: 18px; font-size: 19px; font-weight: 900; line-height: 1.5; }
.scn-ses__card p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; line-height: 2; }
.scn-ses__slip { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 4px 4px 14px 14px; background: linear-gradient(180deg, #f3ede2, #e6dccb); color: #2a2420; font-size: 13.5px; font-weight: 800; line-height: 1.8; -webkit-mask: radial-gradient(circle 8px at 0 0, transparent 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 0, transparent 97%, #000) 100% 0 / 51% 100% no-repeat; mask: radial-gradient(circle 8px at 0 0, transparent 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 0, transparent 97%, #000) 100% 0 / 51% 100% no-repeat; transform-origin: 70% 0; }
.scn-ses__slip::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; border-top: 2px dashed rgba(42, 36, 32, .3); }
.scn-ses__slipico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: #2a2420; color: var(--a); }
.scn-ses__slipico .ico { width: 15px; height: 15px; }
.js .scn-ses__stage.is-in .scn-ses__slip, .reveal-all .scn-ses__slip { transform: translateY(7px) rotate(-1.4deg); transition: transform 1s var(--ease-out) calc(var(--d, 0) * 150ms + .9s); }

/* ---------- Scope: in frame / out of frame ---------- */
.scn-scope { width: min(100%, 500px); margin-inline: auto; }
.scn-scope__frame { position: relative; padding: 52px 24px 24px; border-radius: 6px; border: 1px solid rgba(243, 211, 107, .14); background: radial-gradient(80% 70% at 50% 40%, rgba(243, 211, 107, .07), transparent 70%), rgba(255, 255, 255, .015); }
.scn-scope__c { position: absolute; width: 30px; height: 30px; border-color: var(--scn-hl); border-style: solid; border-width: 0; animation: scnCrop 6s ease-in-out infinite; }
.scn-scope__c--1 { top: -8px; right: -8px; border-top-width: 2.5px; border-right-width: 2.5px; --mx: 4px; --my: -4px; }
.scn-scope__c--2 { top: -8px; left: -8px; border-top-width: 2.5px; border-left-width: 2.5px; --mx: -4px; --my: -4px; }
.scn-scope__c--3 { bottom: -8px; right: -8px; border-bottom-width: 2.5px; border-right-width: 2.5px; --mx: 4px; --my: 4px; }
.scn-scope__c--4 { bottom: -8px; left: -8px; border-bottom-width: 2.5px; border-left-width: 2.5px; --mx: -4px; --my: 4px; }
@keyframes scnCrop { 0%, 100% { transform: none; } 50% { transform: translate(var(--mx), var(--my)); } }
.scn-scope__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .18em; color: var(--scn-hl); direction: ltr; }
.scn-scope__frame > .scn-scope__tag { position: absolute; top: 18px; right: 22px; }
.scn-scope__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 8px var(--rec); animation: scnBlink 1.8s ease-in-out infinite; }
.scn-scope__frame ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.scn-scope__frame li { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(243, 211, 107, .2); background: rgba(243, 211, 107, .05); font-size: 14px; font-weight: 800; line-height: 1.6; }
.scn-scope__frame li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--scn-hl); box-shadow: 0 0 8px rgba(243, 211, 107, .6); }
.scn-scope__out { margin-top: 26px; padding: 0 6px; }
.scn-scope__out .scn-scope__tag { color: var(--muted); }
.scn-scope__out ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.scn-scope__out li { padding: 7px 13px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: line-through; text-decoration-color: rgba(224, 88, 76, .8); text-decoration-thickness: 1.5px; }

/* ---------- Red-pen decision chain ---------- */
.scn-red { position: relative; width: min(100%, 460px); margin-inline: auto; padding: 26px 30px 22px; padding-inline-start: 70px; border-radius: 6px; background: radial-gradient(120% 80% at 20% 0%, #fbf7ef, #efe7d9 60%, #e4d9c5); color: var(--scn-ink); box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .95); rotate: -1deg; }
.scn-red__strike { position: relative; display: inline-block; font-size: 18px; font-weight: 900; color: #7a6d5f; }
.scn-red__strike span::before { content: "«"; }
.scn-red__strike span::after { content: "»"; }
.scn-red__strike svg { position: absolute; top: 50%; left: -6px; width: calc(100% + 12px); height: 16px; margin-top: -8px; overflow: visible; }
.scn-red__strike path { fill: none; stroke: var(--scn-red); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.js .scn-red__strike path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.js .scn-red.is-in .scn-red__strike path, .reveal-all .scn-red__strike path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-cine) .6s; }
.scn-red__steps { margin-top: 12px; }
.scn-red__steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px dashed rgba(34, 29, 24, .2); }
.scn-red__steps li:last-child { border-bottom: 0; }
.scn-red__no { position: absolute; inset-inline-start: -52px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 48% 52% 50% 46%; border: 2.2px solid var(--scn-red); background: #f6efe3; color: var(--scn-red); font-size: 15px; font-weight: 900; rotate: -6deg; }
.scn-red__steps strong { display: block; font-size: 17px; font-weight: 900; }
.scn-red__steps small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; line-height: 1.8; color: #5d5146; }
.scn-red__rail { position: absolute; top: 78px; bottom: 40px; inset-inline-start: 52px; border-inline-start: 2px solid rgba(224, 88, 76, .35); }

/* ---------- Bookmark tabs ---------- */
.scn-tabs { position: relative; }
.scn-tabs__row { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 10px; padding-inline: clamp(10px, 2vw, 26px); }
.scn-tab { position: relative; flex: 1 1 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 18px 24px; border-radius: 14px 14px 0 0; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); border-bottom: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 20%, #19140f), #15110d); transform: translateY(12px); transition: transform .45s var(--ease-out), background .4s; }
.scn-tab::before { content: ""; position: absolute; top: 0; inset-inline: 14px; height: 3px; border-radius: 0 0 3px 3px; background: var(--c); }
.scn-tab__ref { font-size: 9.5px; letter-spacing: .18em; color: var(--c); direction: ltr; text-align: right; }
.scn-tab__t { font-size: 16px; font-weight: 900; line-height: 1.6; }
.scn-tab__go { align-self: flex-end; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); transition: transform .4s var(--ease-out); }
.scn-tab:nth-child(2) { transform: translateY(4px); }
.scn-tab:nth-child(3) { transform: translateY(16px); }
.scn-tab:nth-child(4) { transform: translateY(8px); }
.scn-tab:hover, .scn-tab:focus-visible { transform: translateY(-4px); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 32%, #19140f), #15110d); }
.scn-tab:hover .scn-tab__go, .scn-tab:focus-visible .scn-tab__go { transform: translateX(-4px); }
.scn-tabs__edge { position: relative; z-index: 2; display: block; height: 22px; border-radius: 4px 4px 14px 14px; background: linear-gradient(180deg, #f1e9db, #dcd0bb); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .9); }
.scn-tabs__edge::after { content: ""; position: absolute; inset: 7px 24px auto; border-top: 1px solid rgba(224, 88, 76, .35); }

/* ---------- CTA: legal pad ---------- */
.cta__visual--scn_legal { justify-items: center; }
.scn-legal { position: relative; width: min(100%, 360px); margin-bottom: 26px; rotate: -2deg; animation: scnFloat 8s ease-in-out infinite; }
.scn-legal__band { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px; border-radius: 12px 12px 0 0; background: linear-gradient(180deg, #4a352a, #2c1f18); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); direction: ltr; }
.scn-legal__band .mono { font-size: 10px; letter-spacing: .2em; color: var(--gold-l); margin-right: auto; }
.scn-legal__band i { width: 9px; height: 9px; border-radius: 50%; background: #1a120d; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8); }
.scn-legal__sheet { position: relative; padding: 18px 24px 24px; padding-inline-start: 54px; border-radius: 0 0 8px 8px; background: repeating-linear-gradient(180deg, transparent 0 33px, rgba(70, 110, 170, .28) 33px 34px) 0 12px, linear-gradient(180deg, #faeeb0, #f2df8c); color: #2a2210; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .95); }
.scn-legal__sheet::before, .scn-legal__sheet::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 36px; border-inline-start: 1px solid rgba(224, 88, 76, .7); }
.scn-legal__sheet::after { inset-inline-start: 40px; }
.scn-legal__title { font-size: 19px; font-weight: 900; line-height: 1.8; }
.scn-legal__rows { display: grid; gap: 4px; margin-top: 6px; }
.scn-legal__rows li { position: relative; display: flex; align-items: center; gap: 10px; height: 34px; font-size: 14.5px; font-weight: 800; }
.scn-legal__rows li i { flex: 1; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 9c8-6 12 3 18-1s8-5 12 0 10-6 16-1 9 4 15-2 11 3 17 0 12-3 20 1' fill='none' stroke='%232b4a8a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") 100% 50% / 110px 14px no-repeat; clip-path: inset(0 0 0 100%); }
.js .scn-legal.is-in .scn-legal__rows li i, .reveal-all .scn-legal__rows li i, html:not(.js) .scn-legal__rows li i { clip-path: inset(0); transition: clip-path 1s var(--ease-out) calc(.6s + var(--i) * .45s); }
.scn-legal__ring { position: absolute; inset-inline-start: -14px; top: -4px; width: 140px; height: 42px; overflow: visible; }
.scn-legal__ring path { fill: none; stroke: var(--scn-red); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.js .scn-legal__ring path { stroke-dasharray: 100; stroke-dashoffset: 100; }
.js .scn-legal.is-in .scn-legal__ring path, .reveal-all .scn-legal__ring path { stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-cine) 2s; }
.scn-legal__ok { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border: 2px solid var(--scn-red); border-radius: 8px; color: #b8392f; font-size: 13px; font-weight: 900; rotate: -5deg; }
.scn-legal .scn-pen { right: auto; left: -16%; bottom: -26px; width: 230px; rotate: 24deg; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.cx-hero--scn_script .cx-hero__visual { position: relative; top: auto; left: auto; z-index: 1; width: min(100%, 520px); margin: 34px auto 0; opacity: 1; pointer-events: auto; }
	.scn-sticky { left: -2%; }
	.scn-ex__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
	.scn-ex__string { display: none; }
}
@media (max-width: 860px) {
	.scn-cov, .scn-ses { grid-template-columns: 1fr; }
	.scn-ses__stage:not(:last-child)::after { top: auto; bottom: -26px; inset-inline-end: auto; inset-inline-start: 40px; width: 0; height: 22px; border-top: 0; border-inline-start: 2px dashed rgba(255, 236, 214, .25); }
	.scn-ses { row-gap: 34px; }
	.scn-tabs__row { flex-wrap: wrap; padding: 0; }
	.scn-tab, .scn-tab:nth-child(n) { flex: 1 1 calc(50% - 10px); border-radius: 14px; border-bottom: 1px solid color-mix(in srgb, var(--c) 40%, transparent); transform: none; }
	.scn-tabs__edge { display: none; }
}
@media (max-width: 640px) {
	.cx-hero--scn_script .cx-hero__visual { left: auto; top: auto; width: 100%; opacity: 1; }
	.scn-script { padding-bottom: 90px; }
	.scn-script__page { padding: 18px 18px 24px; padding-inline: 36px 70px; rotate: .8deg; }
	.scn-script__holes { inset-inline-start: 10px; }
	.scn-script__holes i { width: 11px; height: 11px; }
	.scn-script__margin { inset-inline-end: 64px; }
	.scn-note { inset-inline-end: -66px; width: 58px; font-size: 11.5px; }
	.scn-note::before { display: none; }
	.scn-q p { font-size: 14.5px; }
	.scn-script__title { font-size: 17px; }
	.scn-sticky { left: 2%; bottom: 0; width: 132px; padding: 16px 12px 12px; }
	.scn-cov__sheet::before { right: 90px; }
	.scn-cov__sheet::after { right: 94px; }
	.scn-sticky b { font-size: 14px; }
	.scn-pen { width: 190px; right: 0; bottom: 26px; }
	.scn-ex__list { grid-template-columns: 1fr; }
	.scn-scope__frame { padding: 48px 14px 16px; }
	.scn-scope__frame ul { grid-template-columns: 1fr; }
	.scn-red { padding: 22px 18px 18px; padding-inline-start: 58px; rotate: 0deg; }
	.scn-red__no { inset-inline-start: -46px; width: 30px; height: 30px; }
	.scn-red__rail { inset-inline-start: 41px; }
	.scn-tab { flex-basis: 100%; }
	.scn-legal { rotate: 0deg; }
	.scn-legal .scn-pen { left: -4%; width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
	.scn-sticky, .scn-pen, .scn-ses__code::before, .scn-scope__c, .scn-scope__tag i, .scn-legal { animation: none !important; }
	.scn-mark path, .scn-q--hl span, .scn-note, .scn-red__strike path, .scn-legal__ring path, .scn-legal__rows li i, .scn-ses__slip { transition: none !important; }
}
