/* AC37 — orchestration pass: less webpage, more proprietary legal product. */

/* A. Give the product an unmistakable operating-surface silhouette. */
.acx-frame{border-radius:2px;overflow:hidden}
.acx-stage{isolation:isolate}
.acx-stage:before{content:"";position:absolute;z-index:0;left:0;right:0;top:0;height:100%;pointer-events:none;background:
  linear-gradient(90deg,transparent 0 65.5%,rgba(156,111,63,.025) 65.55% 65.65%,transparent 65.7%),
  radial-gradient(circle at 66% 27%,rgba(196,154,99,.06),transparent 24%)}
.acx-journey,.acx-workspace{position:relative;z-index:1}

/* B. Live dossier fingerprint — five facts, one visual signature. */
.acx-live-file{position:relative;padding-bottom:22px}
.acx-live-file:after{content:"";position:absolute;left:0;right:0;bottom:3px;height:7px;background:
  linear-gradient(90deg,#c79b61 0 18%,transparent 18% 20%,rgba(255,255,255,.12) 20% 38%,transparent 38% 40%,rgba(255,255,255,.12) 40% 58%,transparent 58% 60%,rgba(255,255,255,.12) 60% 78%,transparent 78% 80%,rgba(255,255,255,.12) 80% 100%);opacity:.72}
.acx-live-file[data-filled="1"]:after{background:linear-gradient(90deg,#c79b61 0 18%,transparent 18% 20%,rgba(255,255,255,.12) 20% 38%,transparent 38% 40%,rgba(255,255,255,.12) 40% 58%,transparent 58% 60%,rgba(255,255,255,.12) 60% 78%,transparent 78% 80%,rgba(255,255,255,.12) 80%)}
.acx-live-file[data-filled="2"]:after{background:linear-gradient(90deg,#c79b61 0 18%,transparent 18% 20%,#c79b61 20% 38%,transparent 38% 40%,rgba(255,255,255,.12) 40% 58%,transparent 58% 60%,rgba(255,255,255,.12) 60% 78%,transparent 78% 80%,rgba(255,255,255,.12) 80%)}
.acx-live-file[data-filled="3"]:after{background:linear-gradient(90deg,#c79b61 0 18%,transparent 18% 20%,#c79b61 20% 38%,transparent 38% 40%,#c79b61 40% 58%,transparent 58% 60%,rgba(255,255,255,.12) 60% 78%,transparent 78% 80%,rgba(255,255,255,.12) 80%)}
.acx-live-file[data-filled="4"]:after{background:linear-gradient(90deg,#c79b61 0 18%,transparent 18% 20%,#c79b61 20% 38%,transparent 38% 40%,#c79b61 40% 58%,transparent 58% 60%,#c79b61 60% 78%,transparent 78% 80%,rgba(255,255,255,.12) 80%)}
.acx-live-file[data-filled="5"]:after{background:linear-gradient(90deg,#c79b61 0 18%,transparent 18% 20%,#c79b61 20% 38%,transparent 38% 40%,#c79b61 40% 58%,transparent 58% 60%,#c79b61 60% 78%,transparent 78% 80%,#c79b61 80%)}

/* C. Choice rows behave more like evidence signals than menu items. */
.acx-choice{overflow:visible}
.acx-choice-copy{position:relative}
.acx-choice-copy:after{content:"";position:absolute;left:0;bottom:-7px;width:0;height:1px;background:linear-gradient(90deg,#b17c43,transparent);transition:width .28s cubic-bezier(.22,.74,.22,1)}
.acx-choice:hover .acx-choice-copy:after,.acx-choice:focus-visible .acx-choice-copy:after{width:58%}
.acx-choice-arrow{position:relative}
.acx-choice-arrow:after{content:"";position:absolute;inset:-6px;border:1px solid transparent;border-radius:50%;transition:border-color .22s ease,transform .22s ease}
.acx-choice:hover .acx-choice-arrow:after{border-color:rgba(156,111,63,.16);transform:scale(1.08)}
.acx-choice.is-selected .acx-choice-arrow:after{border-color:rgba(224,188,134,.18)}

/* D. The legal lens reads as its own authored object. */
.acx-context{min-height:475px}
.acx-context:after{content:"AC / LENS";position:absolute;right:-2px;bottom:0;font:700 5.5px var(--acx-sans);letter-spacing:.25em;color:rgba(156,111,63,.42);writing-mode:vertical-rl;transform:rotate(180deg)}
.acx-context-kicker{position:relative}
.acx-context-kicker:after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:1px;background:linear-gradient(90deg,rgba(156,111,63,.28),transparent)}
.acx-context-note{background:linear-gradient(90deg,rgba(156,111,63,.035),transparent);padding-right:14px}
.acx-no-infer b{transition:background .18s ease,color .18s ease,border-color .18s ease}
.acx-context:hover .acx-no-infer b{background:#f6eddf;border-color:rgba(156,111,63,.22);color:#775c41}

/* E. Document aperture gets registration marks and a physical-paper illusion. */
.acx-document-aperture{overflow:hidden}
.acx-document-aperture:after{content:"";position:absolute;inset:10px;pointer-events:none;background:
  linear-gradient(#ad7a44,#ad7a44) left top/9px 1px no-repeat,
  linear-gradient(#ad7a44,#ad7a44) left top/1px 9px no-repeat,
  linear-gradient(#ad7a44,#ad7a44) right top/9px 1px no-repeat,
  linear-gradient(#ad7a44,#ad7a44) right top/1px 9px no-repeat,
  linear-gradient(#ad7a44,#ad7a44) left bottom/9px 1px no-repeat,
  linear-gradient(#ad7a44,#ad7a44) left bottom/1px 9px no-repeat,
  linear-gradient(#ad7a44,#ad7a44) right bottom/9px 1px no-repeat,
  linear-gradient(#ad7a44,#ad7a44) right bottom/1px 9px no-repeat;opacity:.36}
.acx-doc-stack span:nth-child(3):after{content:"";position:absolute;left:14px;right:14px;bottom:17px;height:18px;background:repeating-linear-gradient(180deg,rgba(8,23,25,.12) 0 1px,transparent 1px 5px)}

/* F. Result becomes the handoff climax. */
.acx-result-head{border-bottom:1px solid rgba(8,23,25,.15);padding-bottom:34px}
.acx-result-head>div:first-child{position:relative}
.acx-result-head>div:first-child:before{content:"05";position:absolute;left:-13px;top:-26px;font:500 8px var(--acx-sans);letter-spacing:.18em;color:#a87948}
.acx-result-route{margin-top:22px;position:relative}
.acx-result-route:before{content:"DOSAR PREGĂTIT PENTRU URMĂTORUL PAS";position:absolute;left:14px;top:-17px;font:700 5.5px var(--acx-sans);letter-spacing:.18em;color:#9c7044}
.acx-result-body{box-shadow:0 18px 52px rgba(8,23,25,.035)}
.acx-ledger-row dd{font-family:var(--acx-serif);letter-spacing:-.008em}
.acx-result-cta{min-height:96px}
.acx-primary{position:relative;overflow:hidden}
.acx-primary:before{content:"";position:absolute;left:-34%;top:-80%;width:22%;height:250%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);transform:rotate(18deg);transition:left .55s ease}
.acx-primary:hover:before{left:115%}

/* G. Remove the generic web-footer drag from product pages. The site remains reachable via header. */
body.acx-product-page .site-footer{padding:22px 0 14px!important}
body.acx-product-page .site-footer__grid{display:grid!important;grid-template-columns:1fr auto!important;align-items:end;gap:20px!important}
body.acx-product-page .site-footer__identity{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}
body.acx-product-page .site-footer__identity>p{grid-column:2;margin:2px 0 7px!important;max-width:520px!important;font-size:8.5px!important}
body.acx-product-page .site-footer__contact,body.acx-product-page .site-footer__social{grid-column:2;display:flex!important;gap:12px!important}
body.acx-product-page .site-footer__contact a,body.acx-product-page .site-footer__social a{font-size:7.5px!important}
body.acx-product-page .site-footer__grid>nav{display:none!important}
body.acx-product-page .site-footer__legal{margin-top:13px!important;padding-top:10px!important;display:flex!important;justify-content:space-between!important;gap:20px!important}
body.acx-product-page .site-footer__legal p{font-size:7px!important;max-width:760px}

/* H. Mobile becomes an app-like guided surface instead of a long compressed webpage. */
@media(max-width:820px){
  body.acx-product-page .site-header{position:relative;backdrop-filter:none}
  .acx-case-rail{padding:10px 16px 9px!important}
  .acx-rail-back{display:inline-block;margin-bottom:5px!important}
  .acx-rail-eyebrow{display:inline-flex!important;margin-left:12px!important;margin-bottom:0!important}
  .acx-case-rail h1{font-size:18px!important;display:inline-block;margin:0 0 0 0!important}
  .acx-live-file{position:absolute;right:15px;bottom:10px;display:block!important;width:54px!important;height:auto!important;max-height:none!important;margin:0!important;padding:0 0 11px!important;border:0!important}
  .acx-live-file-header{min-width:0!important;display:block!important;border:0!important;padding:0!important;text-align:right}
  .acx-live-file-header span{display:none!important}.acx-live-file-header strong{font-size:15px!important}
  .acx-live-file .acx-live-row{display:none!important}.acx-live-file:after{height:4px!important;bottom:0!important}
  .acx-journey{padding:7px 16px 6px!important}.acx-journey-meta span{font-size:5px!important}.acx-journey-meta strong{font-size:7px!important}
  .acx-question-layout{padding-top:20px!important}.acx-context{min-height:0}.acx-context:after{display:none}
  .acx-context-note{padding-right:0;background:transparent}
  .acx-no-infer{padding-bottom:2px}
  .acx-system-strip{grid-template-columns:1fr 1fr!important}.acx-system-strip div{min-height:62px}
  body.acx-product-page .site-footer{padding:18px 14px 12px!important}
  body.acx-product-page .site-footer .site-container{padding:0!important}
  body.acx-product-page .site-footer__grid{display:block!important}
  body.acx-product-page .site-footer__identity{display:grid!important;grid-template-columns:auto 1fr!important}
  body.acx-product-page .site-footer__identity>p{font-size:7.5px!important;line-height:1.5!important}
  body.acx-product-page .site-footer__contact,body.acx-product-page .site-footer__social{gap:8px!important;flex-wrap:wrap}
  body.acx-product-page .site-footer__legal{display:block!important}.site-footer__legal p:last-child{margin-top:5px}
}
@media(max-width:520px){
  .acx-rail-eyebrow{font-size:4.8px!important;letter-spacing:.18em!important}.acx-rail-eyebrow:before{width:10px!important}.acx-case-rail h1{font-size:16px!important}
  .acx-main-question h2{font-size:34px!important}.acx-choice-sub{font-size:6.6px!important}.acx-choice{min-height:59px!important}
  .acx-system-strip strong{font-size:6.5px!important}.acx-system-strip span:not(.acx-strip-glyph){font-size:6.4px!important}
  body.acx-product-page .site-footer__brand{font-size:14px!important}.site-footer__monogram{width:42px!important}
}
@media(prefers-reduced-motion:reduce){.acx-primary:before,.acx-choice-copy:after{transition:none!important}}

/* AC37 corrective: avoid sticky displacement in full product canvas; compress product footer completely on narrow screens. */
@media(min-width:1101px){.acx-case-rail{position:relative!important;top:auto!important;align-self:stretch!important}}
@media(max-width:820px){
  body.acx-product-page .site-footer__grid nav{display:none!important}
  body.acx-product-page .site-footer__grid{display:block!important}
  body.acx-product-page .site-footer__identity{display:grid!important;grid-template-columns:auto 1fr!important}
  body.acx-product-page .site-footer__identity>p{grid-column:2!important;max-width:100%!important}
}
@media(max-width:820px){body.acx-product-page .site-footer__grid>nav,body.acx-product-page .site-footer__grid>nav:last-child{display:none!important}}
