/* One calm confirmation, using the storefront's typography, light field and blue CTA. */
:root { color-scheme: only light; background: #020f2a; }
* { box-sizing: border-box; }
body.atlas-compliance-gate { margin: 0; padding: 0; min-width: 280px; background: #020f2a; color: #f4f7ff; }
.atlas-gate-screen { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 40px 20px; }
.atlas-gate-screen .atlas-catalog-rays { position: fixed; inset: 0; width: 100%; height: 100%; max-height: none; mask-image: linear-gradient(#000 0%,#000 70%,transparent 100%); -webkit-mask-image: linear-gradient(#000 0%,#000 70%,transparent 100%); }
.atlas-gate-card { position: relative; z-index: 1; width: min(100%,520px); padding: 40px; border-radius: 28px; background: rgba(11,31,66,.88); box-shadow: 0 24px 80px rgba(0,0,0,.12); }
.atlas-gate-wordmark { display: flex; justify-content: center; gap: 6px; margin-bottom: 30px; font-size: 19px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.atlas-gate-wordmark > span:last-child { color: #4385ff; }
.atlas-gate-card h1 { margin: 0 0 10px; color: #fff; font-size: clamp(26px,4vw,32px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; text-align: center; }
.atlas-gate-intro { margin: 0 0 30px; color: #b9c9e3; font-size: 14px; line-height: 1.6; text-align: center; }
.atlas-gate-confirm { display: flex; align-items: flex-start; gap: 13px; padding: 6px 0; margin-bottom: 26px; cursor: pointer; }
.atlas-gate-confirm input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #0059ff; cursor: pointer; }
.atlas-gate-confirm span { color: #e1e9f8; font-size: 14px; line-height: 1.65; }
.atlas-gate-enter { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 16px 24px; border: 0; border-radius: 999px; background: #0059ff; color: #fff; font: 650 15px/1.4 var(--atlas-font-sans); cursor: pointer; transition: background-color 160ms ease, transform 120ms cubic-bezier(.23,1,.32,1), opacity 160ms ease; }
.atlas-gate-enter:active { background: #020f2a; transform: scale(.985); }
.atlas-gate-enter:disabled { opacity: .5; cursor: not-allowed; }
.atlas-gate-terms { margin: 18px 0 0; color: #b9c9e3; font-size: 12px; line-height: 1.6; text-align: center; }
.atlas-gate-terms a, .atlas-gate-policy a { color: #a9caff; text-underline-offset: 3px; }
.atlas-gate-error { margin: -8px 0 20px; padding: 12px 14px; border-radius: 14px; background: rgba(255,170,168,.08); color: #ffbcb5; font-size: 13px; line-height: 1.5; }
.atlas-compliance-gate :is(a,button,input):focus-visible { outline: 2px solid #a9caff; outline-offset: 4px; }
.atlas-gate-policy { position: fixed; inset: 24px; z-index: 10; width: min(760px,calc(100% - 40px)); max-height: calc(100svh - 48px); margin: auto; padding: 28px; border: 1px solid rgba(244,247,255,.18); border-radius: 24px; background: #081b3b; color: #e1e9f8; }
.atlas-gate-policy::backdrop { background: rgba(2,15,42,.84); }
.atlas-gate-policy-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.atlas-gate-policy-heading h2 { margin: 0; color: #fff; font-size: 23px; }
.atlas-gate-policy-heading form { flex: none; }
.atlas-gate-policy-heading button { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: #142e55; color: #fff; font: 600 13px/1.5 var(--atlas-font-sans); cursor: pointer; }
.atlas-gate-policy-copy { overflow-wrap: anywhere; font-size: 14px; line-height: 1.75; }
.atlas-gate-policy-copy :is(h1,h2,h3,h4) { color: #fff; }
.atlas-gate-policy-copy img { max-width: 100%; height: auto; }
@media (hover:hover) and (pointer:fine) { .atlas-gate-enter:not(:disabled):hover { background: #020f2a; } }
@media (max-width:600px) {
  .atlas-gate-screen { padding: 24px 20px; }
  .atlas-gate-card { padding: 32px 24px; border-radius: 24px; }
  .atlas-gate-wordmark { margin-bottom: 26px; }
  .atlas-gate-confirm { gap: 12px; }
  .atlas-gate-confirm span { font-size: 13px; }
  .atlas-gate-policy { padding: 22px 20px; border-radius: 20px; }
}
@media (prefers-reduced-motion:reduce) { .atlas-gate-enter { transition: none; } }
@media (forced-colors:active) { .atlas-gate-card, .atlas-gate-enter, .atlas-gate-policy { border: 1px solid ButtonText; } }
.atlas-gate-policy-heading { position: sticky; top: 0; z-index: 1; padding-bottom: 12px; background: #081b3b; }
