/* Landing "Other businesses" disclosure; matches primary nav link metrics. */
#landingHeader .landing-business{position:relative;flex:none}
#landingHeader .landing-business__trigger{
  display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0;padding:0;
  border:0;border-radius:0;background:transparent;color:var(--site-header-ink,#fff);
  font:inherit;font-size:inherit;font-weight:inherit;line-height:1.4;letter-spacing:inherit;
  cursor:pointer;white-space:nowrap;-webkit-text-fill-color:currentColor;
}
#landingHeader .landing-business__chevron{display:inline-flex;align-items:center;line-height:1;opacity:.9;transition:transform .2s cubic-bezier(.2,.7,.2,1)}
#landingHeader .landing-business__chevron svg{display:block;width:14px;height:14px}
#landingHeader .landing-business.is-open .landing-business__chevron{transform:rotate(180deg)}

/* ob6: Stripe-style dark mega-panel attached under the header (position from JS: --lb-*). */
#landingHeader .landing-business__panel{
  position:fixed;top:var(--lb-top,72px);left:var(--lb-left,16px);right:auto;
  width:var(--lb-width,min(720px,calc(100vw - 32px)));min-width:0;max-width:calc(100vw - 32px);
  padding:0;z-index:2;
}
#landingHeader .landing-business__panel:not([hidden]){animation:landing-business-enter .26s cubic-bezier(.2,.7,.2,1) both}
#landingHeader .landing-business__links{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:14px;
  background:#0b0b0c;border:1px solid rgba(255,255,255,.09);border-top-color:rgba(255,255,255,.06);
  border-radius:0 0 20px 20px;box-shadow:none;
  color:#fff;animation:none;
}
#landingHeader .landing-business__link{
  display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;column-gap:14px;
  min-height:72px;padding:14px 14px 14px 12px;border-radius:14px;white-space:normal;
  color:#fff;text-decoration:none;font-weight:400;transition:background-color .16s ease;
  -webkit-tap-highlight-color:transparent;
}
#landingHeader .landing-business__link:hover,#landingHeader .landing-business__link:focus-visible{background:#161618;outline:none}
#landingHeader .landing-business__link:focus-visible{box-shadow:0 0 0 2px #0b0b0c, 0 0 0 4px #ffffff}
#landingHeader .landing-business__icon{
  display:grid;place-items:center;width:44px;height:44px;border-radius:12px;
  background:#151517;border:1px solid rgba(255,255,255,.08);color:#fff;
}
#landingHeader .landing-business__icon svg{display:block;width:22px;height:22px}
#landingHeader .landing-business__copy{display:flex;flex-direction:column;gap:3px;min-width:0}
#landingHeader .landing-business__text{font-size:15px;line-height:1.35;font-weight:500;color:#fff;-webkit-text-fill-color:#fff}
#landingHeader .landing-business__desc{font-size:13px;line-height:1.4;font-weight:400;color:#a1a1a8;-webkit-text-fill-color:#a1a1a8}
#landingHeader .landing-business__arrow{flex:none;opacity:0;transform:translateX(-5px);transition:opacity .16s,transform .16s;color:#fff}
#landingHeader .landing-business__link:hover .landing-business__arrow,
#landingHeader .landing-business__link:focus-visible .landing-business__arrow{opacity:1;transform:none}
#landingHeader .landing-business__arrow svg{display:block;width:18px;height:18px}

/* Page blur + dim behind the panel. Inside the header's stacking context at z-index:-1, so
   header content (logo, links, CTA, flag) paints ABOVE it and stays sharp. */
#landingHeader .landing-business__scrim{
  position:fixed;inset:0;z-index:-1;pointer-events:none;visibility:hidden;opacity:0;
  background:rgba(0,0,0,.62);
  transition:opacity .24s ease,visibility 0s linear .24s;
}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  #landingHeader .landing-business__scrim{
    background:rgba(0,0,0,.42);
    -webkit-backdrop-filter:none;backdrop-filter:none;
  }
}
#landingHeader .landing-business__scrim.is-visible{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .24s ease,visibility 0s}
#landingHeader.landing-business-header-open{box-shadow:none}
@keyframes landing-business-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  #landingHeader .landing-business__panel:not([hidden]){animation:none}
  #landingHeader .landing-business__scrim,#landingHeader .landing-business__scrim.is-visible{transition:none}
  #landingHeader .landing-business__chevron,#landingHeader .landing-business__arrow,#landingHeader .landing-business__link{transition:none}
}

/*
  Zoom-safe landing chrome (3.10.5 breakpoints, 1100 / 820).
  Root cause of missed hamburger under browser zoom: CSS @media width can disagree with the
  zoomed layout width the user sees. Layout is therefore driven by html[data-landing-mq] set from window.innerWidth / documentElement.clientWidth (never screen-width). @media remains as a no-JS fallback only.
*/
html[data-landing-mq="desktop"] #landingHeader .site-header__nav{display:flex!important}
html[data-landing-mq="desktop"] #landingHeader .site-header__account,
html[data-landing-mq="desktop"] #landingHeader .site-header__start{display:inline-flex!important}
html[data-landing-mq="desktop"] #landingHeader .site-header__menu{display:none!important}
html[data-landing-mq="desktop"] #landingHeader .site-header__nav a,
html[data-landing-mq="desktop"] #landingHeader .site-header__account,
html[data-landing-mq="desktop"] #landingHeader .site-header__start,
html[data-landing-mq="desktop"] #landingHeader .landing-business__trigger{font-weight:400}

html[data-landing-mq="compact"] #landingHeader .landing-business{display:none!important}
html[data-landing-mq="compact"] #landingHeader .site-header__nav,
html[data-landing-mq="compact"] #landingHeader .site-header__account,
html[data-landing-mq="compact"] #landingHeader .site-header__start{display:none!important}
html[data-landing-mq="compact"] #landingHeader .site-header__menu{display:grid!important}

/* no-JS / progressive fallback — same 3.10.5 numbers */
@media(min-width:1100px){
  html:not([data-landing-mq]) #landingHeader .site-header__nav{display:flex}
  html:not([data-landing-mq]) #landingHeader .site-header__account,
  html:not([data-landing-mq]) #landingHeader .site-header__start{display:inline-flex}
  html:not([data-landing-mq]) #landingHeader .site-header__menu{display:none}
}
@media(max-width:1099px){
  html:not([data-landing-mq]) #landingHeader .landing-business{display:none}
  html:not([data-landing-mq]) #landingHeader .site-header__nav,
  html:not([data-landing-mq]) #landingHeader .site-header__account,
  html:not([data-landing-mq]) #landingHeader .site-header__start{display:none}
  html:not([data-landing-mq]) #landingHeader .site-header__menu{display:grid}
}
@media(max-width:820px){
}

/* TH: match EN gaps on the landing bar */
html:lang(th) body.landing-page #landingHeader .site-header__inner{gap:24px}
html:lang(th) body.landing-page #landingHeader .site-header__nav{gap:18px}
html:lang(th) body.landing-page #landingHeader .site-header__actions{gap:10px}
@media(min-width:821px){
  html:lang(th) body.landing-page #landingHeader .site-header__nav a,
  html:lang(th) body.landing-page #landingHeader .site-header__account,
  html:lang(th) body.landing-page #landingHeader .site-header__start,
  html:lang(th) body.landing-page #landingHeader .landing-business__trigger{font-size:13px}
}

#landingHeader .site-header__language{
  display:grid!important;visibility:visible!important;opacity:1!important;
}
#landingHeader .site-header__language [data-flag]:not([hidden]){
  display:block!important;visibility:visible!important;opacity:1!important;
}
#landingHeader .site-header__language img{
  opacity:1!important;visibility:visible!important;
}

/* ob6: the trigger is a <button>, so the 14px nav-link rule never reached it (it rendered 16px).
   Thai keeps its existing 13px rule above (higher specificity) — Thai spacing unchanged. */
body.landing-page.landing-logo-light-concept #landingHeader .landing-business__trigger{font-size:14px}
/* index.css paints the old small box (#000 + shadow) on the panel wrapper; the ob6 card is .landing-business__links. */
body.landing-page.landing-logo-light-concept.landing-dark-concept #landingHeader .landing-business__panel{background:transparent;box-shadow:none}
/* ob7: desktop mega panel rows fade + rise in with a slight stagger after the panel slides in;
   the scrim (dim + backdrop blur) fades in with the panel. Reduced motion: no animation. */
#landingHeader .landing-business__panel:not([hidden]) .landing-business__link{animation:landing-business-row .32s cubic-bezier(.22,1,.36,1) both}
#landingHeader .landing-business__panel:not([hidden]) .landing-business__link:nth-child(2){animation-delay:.05s}
#landingHeader .landing-business__panel:not([hidden]) .landing-business__link:nth-child(3){animation-delay:.1s}
#landingHeader .landing-business__scrim{transition:opacity .28s cubic-bezier(.22,1,.36,1),visibility 0s linear .28s}
#landingHeader .landing-business__scrim.is-visible{transition:opacity .28s cubic-bezier(.22,1,.36,1),visibility 0s}
@keyframes landing-business-row{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#landingHeader .landing-business__panel:not([hidden]) .landing-business__link{animation:none}#landingHeader .landing-business__scrim,#landingHeader .landing-business__scrim.is-visible{transition:none}}
