/* Shared surfaces for the account menu, shop steps and temporary section screens. */
:root[data-theme] #account-popover {
  display:grid;
  gap:4px;
  max-width:calc(100vw - 24px);
  border:0;
  background:var(--air-surface);
  box-shadow:var(--air-shadow);
  -webkit-backdrop-filter:var(--liquid-blur);
  backdrop-filter:var(--liquid-blur);
}
:root[data-theme] #account-popover[hidden] {display:none}
:root[data-theme] #account-popover :is(#account-open,#header-logout) {
  display:flex;
  gap:12px;
  border:0;
  color:var(--liquid-ink);
  background:var(--liquid-field-fill);
  box-shadow:var(--liquid-field-shadow);
}
:root[data-theme] #account-popover :is(#account-open,#header-logout):is(:hover,:focus-visible) {
  color:var(--liquid-ink);
  background:var(--air-field);
}
:root[data-theme] #shop-page .shop-steps>li,
:root[data-theme] .section-launch-glass {
  color:var(--air-ink);
  background:var(--air-surface);
  box-shadow:var(--air-shadow);
  -webkit-backdrop-filter:var(--liquid-blur);
  backdrop-filter:var(--liquid-blur);
}
:root[data-theme] #shop-page .shop-steps>li::before {
  color:var(--air-ink);
  background:var(--liquid-field-fill);
  box-shadow:var(--liquid-rim);
}
#search-page .product-store-strip {margin-bottom:16px}
#product-feed-sentinel {min-height:1px}

#main:has(#section-launch:not([hidden])) {padding:0}
#main:has(#section-launch:not([hidden])) > footer {display:none}
.section-launch[hidden] {display:none}
.section-launch {
  --launch-base:#e1e9f3;
  --launch-ink:#172a43;
  --launch-muted:#324966;
  --launch-backdrop:none;
  --launch-poster-opacity:.19;
  min-height:calc(100vh - var(--header-height));
  min-height:calc(100svh - var(--header-height));
  display:grid;
  align-items:center;
  position:relative;
  isolation:isolate;
  overflow:clip;
  padding:clamp(24px,6vw,96px);
  color:var(--launch-ink);
  background:var(--launch-base);
}
.section-launch[data-section=banking] {
  --launch-base:#e9e4f1;
  --launch-ink:#2b2149;
  --launch-muted:#4d3f68;
  --launch-backdrop:url('/static/cinema-v38-banking-desktop-poster.jpg');
  --launch-story:launch-banking;
}
.section-launch[data-section=travel] {
  --launch-base:#deedf0;
  --launch-ink:#173947;
  --launch-muted:#2d4f5e;
  --launch-backdrop:url('/static/cinema-v38-travel-desktop-poster.jpg');
  --launch-story:launch-travel;
}
.section-launch[data-section=shop] {
  --launch-base:#ede8d7;
  --launch-ink:#322d1b;
  --launch-muted:#52482b;
  --launch-backdrop:url('/static/cinema-v38-shop-desktop-poster.jpg');
  --launch-story:launch-shop;
}
:root[data-theme=dark] .section-launch {
  --launch-ink:#f7f8ff;
  --launch-muted:#e2e8f0;
  --launch-poster-opacity:.23;
}
:root[data-theme=dark] .section-launch[data-section=banking] {--launch-base:#211b34}
:root[data-theme=dark] .section-launch[data-section=travel] {--launch-base:#112c38}
:root[data-theme=dark] .section-launch[data-section=shop] {--launch-base:#302a1e}
.section-launch::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  opacity:var(--launch-poster-opacity);
  background:var(--launch-backdrop) center / cover no-repeat;
  pointer-events:none;
}
.section-launch-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(24px,4vw,64px);
  width:min(100%,1240px);
  margin-inline:auto;
}
.section-launch-copy {max-width:540px}
.section-launch-status {
  width:fit-content;
  padding:4px 12px;
  border-radius:999px;
  margin:0 0 16px;
  color:var(--launch-ink);
  background:var(--air-surface);
  box-shadow:var(--liquid-rim);
  font-size:14px;
}
.section-launch h1 {
  margin:0;
  color:var(--launch-ink);
  font-size:clamp(38px,5vw,76px);
  line-height:1.05;
  letter-spacing:-.04em;
  text-wrap:balance;
}
.section-launch h1:focus {outline:none}
#section-launch-description {
  max-width:36ch;
  color:var(--launch-muted);
  font-size:clamp(17px,1.7vw,22px);
  line-height:1.5;
  margin:16px 0 24px;
}
.section-launch .section-launch-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--launch-ink);
  background:var(--air-surface);
  border:0;
  border-radius:16px;
  box-shadow:var(--air-shadow);
  min-height:44px;
  padding:8px 16px;
  text-decoration:none;
}
.section-launch-link:focus-visible {outline:2px solid currentColor;outline-offset:4px}
.section-launch-visual {
  display:grid;
  align-items:center;
  min-width:0;
}
.section-launch-glass {
  border-radius:clamp(24px,4vw,48px);
  min-height:clamp(240px,32vw,480px);
  display:grid;
  align-items:center;
  padding:clamp(12px,2vw,24px);
}
.section-launch-glass img {
  display:block;
  width:100%;
  max-height:440px;
  object-fit:contain;
  filter:drop-shadow(0 16px 20px var(--liquid-depth));
}
@media(max-width:700px) {
  .section-launch {padding:24px 16px}
  .section-launch-layout {grid-template-columns:1fr;gap:24px}
  .section-launch-glass {min-height:192px}
  .section-launch-glass img {max-height:min(32svh,256px)}
  .section-launch[data-section=banking] {--launch-backdrop:url('/static/cinema-v38-banking-mobile-poster.jpg')}
  .section-launch[data-section=travel] {--launch-backdrop:url('/static/cinema-v38-travel-mobile-poster.jpg')}
  .section-launch[data-section=shop] {--launch-backdrop:url('/static/cinema-v38-shop-mobile-poster.jpg')}
}
@media(prefers-reduced-motion:no-preference) {
  body:not([data-motion=paused]) .section-launch[data-on-screen][data-tab-active] .section-launch-glass img {
    animation:var(--launch-story) 6s cubic-bezier(.22,1,.36,1) infinite;
  }
}
@keyframes launch-banking {
  0%,100% {transform:none}
  35% {transform:translateY(-3%) scale(1.055) rotate(-2deg)}
  68% {transform:translateY(-1%) scale(1.02)}
}
@keyframes launch-travel {
  0%,100% {transform:none}
  38% {transform:translate(6%,-9%) rotate(-4deg)}
  70% {transform:translate(1%,-3%)}
}
@keyframes launch-shop {
  0%,100% {transform:none}
  36% {transform:translate(-4%,-4%) rotate(-2deg)}
  67% {transform:translate(3%,-2%) rotate(2deg)}
}

/* The same glass surface curves inward where the header meets the sidebar. */
:root[data-theme] body {--navigation-join-radius:16px}
@media(max-width:999px) {
  :root[data-theme] body:not([data-menu=open]) {--navigation-join-radius:0px}
}
:root[data-theme] .navigation-material {
  --join-x:var(--navigation-sidebar-width);
  --join-y:var(--header-visible-height);
  --join-r:var(--navigation-join-radius);
  clip-path:polygon(0 0,100% 0,100% var(--join-y),
    calc(var(--join-x) + var(--join-r)) var(--join-y),
    calc(var(--join-x) + var(--join-r)*.6173) calc(var(--join-y) + var(--join-r)*.0761),
    calc(var(--join-x) + var(--join-r)*.2929) calc(var(--join-y) + var(--join-r)*.2929),
    calc(var(--join-x) + var(--join-r)*.0761) calc(var(--join-y) + var(--join-r)*.6173),
    var(--join-x) calc(var(--join-y) + var(--join-r)),
    var(--join-x) 100%,0 100%);
}
.section-launch-status {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 16px 4px 8px;
  font-size:clamp(17px,2vw,22px);
  font-weight:700;
}
.section-launch-status svg {width:36px;height:36px;flex:none}
body[data-cinema=on] .section-launch:not([hidden]) {
  background:color-mix(in srgb,var(--launch-base) 40%,transparent);
}
body[data-cinema=on] .section-launch:not([hidden])::before {opacity:0}
:root[data-theme=dark] body[data-cinema=on] .section-launch:not([hidden]) {
  background:color-mix(in srgb,var(--launch-base) 53%,transparent);
}
