/* Company landing pages (inc/corp-landing.php, /corporate-events): builds on home.css (hp-panel, hs-*, fx-*). */
.xl { --xl-coral: #ff5a5f; --xl-gold: #ffc062; }

/* hero */
.xl-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 40px; padding: 56px 56px 56px 68px; overflow: hidden; }
.xl-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.6px), radial-gradient(circle, rgba(255, 255, 255, .35) 1px, transparent 1.4px);
  background-size: 90px 90px, 140px 140px; background-position: 10px 20px, 60px 75px; }
.xl-hero > * { position: relative; }
.xl-hero .hs-title { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.xl-hero .hs-sub { max-width: 44ch; }
.xl-dot { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--xl-coral); vertical-align: 1px; }
.xl-fine { margin-top: 14px; color: inherit; font-size: .875rem; opacity: .72; }
.xl-hero .hs-btn:not(.ghost) { background: var(--xl-gold); border-color: var(--xl-gold); color: #1d3441; }

.xl-devices { position: relative; padding: 0 0 36px; margin: 0; }
.xl-laptop { margin: 0; }
.xl-laptop-screen { padding: 10px 10px 12px; border-radius: 14px 14px 4px 4px; background: #0d1419; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 24px 50px rgba(0, 0, 0, .35); }
.xl-laptop-screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.xl-laptop-base { height: 14px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(#c9cdd1, #8d949a); box-shadow: 0 10px 20px rgba(0, 0, 0, .3); }
.xl-phone { position: absolute; right: -6px; bottom: 0; width: 25%; min-width: 108px; margin: 0; padding: 6px; border-radius: 26px; background: #0d1419; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 20px 40px rgba(0, 0, 0, .45); }
.xl-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 20px; }

.xl-trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; }
.xl-trust li { padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; }
.xl-trust b { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.xl-trust span { color: var(--text-muted); font-size: .875rem; }

/* sections */
.xl-sec { padding-top: 24px; scroll-margin-top: calc(var(--nav-h) - 8px); }
.xl-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.xl-split-flat { padding: 0; }
.xl-split .fx-foot { margin-top: 24px; }
.xl-h3 { margin: 26px 0 10px; font-size: 1.0625rem !important; font-weight: 600 !important; }
.xl-shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.xl-shot-tall { max-width: 420px; justify-self: center; }
.xl-shot-plain img { border-radius: 0; box-shadow: none; }   /* a composite with its own frames and shadows */
.xl-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* rsvp */
.xl-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.xl-modes div { padding: 14px; border-radius: 10px; background: rgba(255, 255, 255, .62); }
.xl-modes b { display: block; font-size: .9375rem; margin-bottom: 4px; }
.xl-modes span { font-size: .8125rem; line-height: 1.4; opacity: .82; }
.xl-form { padding: 26px 26px 22px; border-radius: 16px; background: #284755; color: #fff3e3; box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.xl-form-head { margin-bottom: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--xl-gold); }
.xl-q { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; border-top: 1px solid rgba(255, 243, 227, .16); }
.xl-q span { flex: 1 0 100%; font-size: .9375rem; font-weight: 500; }
.xl-q em { padding: 6px 12px; border: 1px solid rgba(255, 243, 227, .4); border-radius: 999px; font-style: normal; font-size: .8125rem; }
.xl-q em:first-of-type { border-color: var(--xl-gold); color: var(--xl-gold); }
.xl-input { flex: 1; height: 36px; border: 1px solid rgba(255, 243, 227, .4); border-radius: 6px; }
.xl-form-more { padding-top: 14px; border-top: 1px solid rgba(255, 243, 227, .16); font-size: .8125rem; line-height: 1.5; opacity: .82; }

/* seating */
.xl-seat-media { position: relative; padding-bottom: 70px; }
.xl-browser { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.xl-browser > span { display: block; height: 26px; background: radial-gradient(circle at 14px 13px, #ff5f57 4px, transparent 4.5px), #eef1f3; border-bottom: 1px solid #e1e5e8; position: relative; }
.xl-browser > span::after { content: ''; position: absolute; left: 24px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #febc2e; box-shadow: 12px 0 0 #28c840; }
.xl-browser img { display: block; width: 100%; height: auto; }
.xl-find { position: absolute; right: -14px; bottom: 0; width: 62%; height: auto; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }

/* designs */
.xl-designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.xl-design { display: block; color: inherit; }
.xl-design-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; padding: 10%; border-radius: 12px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.xl-design-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); transition: transform .35s ease; }
.xl-design:hover .xl-design-img img { transform: scale(1.04); }
.xl-design-name { display: block; padding: 8px 2px 0; font-size: .8125rem; font-weight: 500; opacity: .9; }

/* memory vault */
.xl-vault { padding: 64px 64px 56px; }
.xl-vault-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.xl-vault-head .fx-label { justify-content: center; }
.xl-vault-head .hp-title { font-size: clamp(2rem, 4vw, 3rem); }
.xl-vault-head .hp-lead { margin-left: auto; margin-right: auto; }
.xl-vault .fx-tag { background: var(--xl-gold); color: #111c24; }
.xl-flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.xl-flow li { display: flex; flex-direction: column; padding: 16px 16px 24px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.xl-flow-art { display: flex; align-items: center; justify-content: center; height: 260px; margin-bottom: 18px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #24404f, #16262f); overflow: hidden; }
.xl-flow-card img { max-height: 86%; max-width: 80%; width: auto; height: auto; box-shadow: 0 12px 28px rgba(0, 0, 0, .45); transform: rotate(-3deg); }
.xl-mini-phone { width: 128px; padding: 5px; margin-top: 40px; border-radius: 22px; background: #05090c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset, 0 14px 30px rgba(0, 0, 0, .5); align-self: flex-start; }
.xl-mini-phone img { display: block; width: 100%; height: auto; border-radius: 17px; }
.xl-tv { width: 88%; padding: 6px; border-radius: 6px; background: #05090c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset, 0 14px 30px rgba(0, 0, 0, .5); }
.xl-tv img { display: block; width: 100%; height: auto; }
.xl-n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0 8px 10px; border-radius: 50%; background: var(--xl-coral); color: #fff; font-size: .875rem; font-weight: 700; }
.xl-flow h3 { padding: 0 8px; margin-bottom: 6px; }
.xl-flow p { padding: 0 8px; color: inherit; opacity: .8; font-size: .9375rem; line-height: 1.5; }
.xl-vault-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 48px; padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .12); }
.xl-vault-body .xl-h3 { margin-top: 0; }
.xl-browser-dark > span { background-color: #1b2830; border-bottom-color: #26343d; }
.xl-storage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 10px; }
.xl-storage div { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.xl-storage b { display: block; font-size: 1.75rem; font-weight: 500; letter-spacing: -.02em; color: var(--xl-gold); }
.xl-storage span { font-size: .875rem; opacity: .82; }
.xl-vault .hs-btn:not(.ghost) { background: var(--xl-gold); border-color: var(--xl-gold); color: #111c24; }

/* how it works */
.xl-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; }
.xl-steps li { padding: 24px 22px 28px; border-radius: var(--hp-radius); background: var(--ground); color: #181818; }
.xl-steps .xl-n { margin: 0 0 14px; }
.xl-steps h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -.015em; margin-bottom: 8px; color: inherit; }
.xl-steps p { opacity: .82; font-size: .9375rem; line-height: 1.55; color: inherit; }

.xl-close .hs-btn:not(.ghost) { background: var(--xl-gold); border-color: var(--xl-gold); color: #1d3441; }

@media (max-width: 1024px) {
  .xl-hero { grid-template-columns: minmax(0, 1fr); padding: 44px 36px; gap: 32px; }
  .xl-devices { max-width: 640px; margin: 0 auto; width: 100%; }
  .xl-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .xl-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xl-vault { padding: 44px 32px; }
  .xl-flow { grid-template-columns: minmax(0, 1fr); }
  .xl-flow li { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 20px; align-items: start; }
  .xl-flow-art { grid-row: 1 / 4; height: 200px; margin: 0; }
  .xl-flow .xl-n { margin-top: 6px; }
  .xl-vault-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .xl-seat-media { max-width: 620px; }
}
@media (max-width: 760px) {
  .xl-hero { padding: 30px 20px 26px; text-align: left; }
  .xl-hero .hs-title { font-size: 2.05rem; }
  .xl-hero .hs-sub { margin: 0 0 18px; }
  .xl-hero .hs-actions { justify-content: flex-start; }
  .xl-devices { padding-bottom: 24px; }
  .xl-phone { right: -4px; border-radius: 20px; padding: 4px; }
  .xl-phone img { border-radius: 16px; }
  .xl-trust li { padding: 12px 14px; }
  .xl-trust b { font-size: 1rem; }
  .xl-modes { grid-template-columns: minmax(0, 1fr); }
  .xl-form { padding: 20px 18px 16px; }
  .xl-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .xl-vault { padding: 32px 18px; }
  .xl-vault-head { margin-bottom: 28px; text-align: left; }
  .xl-vault-head .fx-label { justify-content: flex-start; }
  .xl-flow li { display: flex; flex-direction: column; padding: 12px 12px 20px; }
  .xl-flow-art { width: 100%; }
  .xl-flow-art { height: 220px; margin-bottom: 14px; }
  .xl-vault-body { margin-top: 32px; padding-top: 28px; }
  .xl-storage b { font-size: 1.375rem; }
  .xl-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .xl-seat-media { padding-bottom: 50px; }
  .xl-find { right: -6px; width: 72%; }
  .xl-find { border-radius: 8px; }
}

/* the hero's designs take turns (js/corp-landing.js) */
.xl-laptop-screen img, .xl-phone img { transition: opacity .45s ease; }
.xl-swap .xl-laptop-screen img, .xl-swap .xl-phone img { opacity: 0; }

/* /corporate-events (the hub): neutral accent, feature cards, stationery band, the year of company events */
.cx { --xl-gold: #f1dfbd; }
.cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cx-card { display: flex; flex-direction: column; padding: 18px 18px 26px; border-radius: var(--hp-radius); background: var(--ground); color: var(--ink, #181818); }
.cx-card h3 { margin: 4px 0 6px; color: inherit; font-size: 1.375rem; font-weight: 500; letter-spacing: -.015em; }
.cx-card .fx-label { margin-bottom: 4px; }
.cx-card .hp-kicker { color: inherit; opacity: .8; }
.cx-card .fx-list { margin-top: 6px; }
.cx-card-art { position: relative; display: flex; align-items: center; justify-content: center; height: 260px; margin-bottom: 18px; overflow: hidden; border-radius: 10px; background: rgba(255, 255, 255, .55); }
.cx-card-art > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cx-dark .cx-card-art { background: #0b1015; }
.cx-dark .cx-card-art > img { object-fit: contain; }
.cx-card-form { align-items: flex-start; padding: 14px 16px 0; }
.cx-card-form .xl-form { width: 100%; max-width: 440px; padding: 16px 20px 4px; box-shadow: none; }
.cx-card-form .xl-q { padding: 10px 0; }
.cx-card-seat > img:first-child { object-position: left top; }
.cx-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 32px; align-items: center; padding: 18px 28px 18px 18px; }
.cx-wide .cx-card-art { height: auto; margin-bottom: 0; }
.cx-card-plain { background: rgba(255, 255, 255, .45); padding: 14px; }
.cx-card-plain > img { height: auto; object-fit: contain; }
.cx-wide .cx-btn { margin-top: 18px; }
.cx-card-seat .cx-find { position: absolute; right: 10px; bottom: 10px; width: 58%; height: auto; object-fit: initial; border-radius: 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.cx-print { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 20px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--hp-radius); }
.cx-print > div { flex: 1 1 420px; }
.cx-print p { color: var(--text-muted); font-size: .9375rem; line-height: 1.55; }
.cx-print .hs-btn.ghost { --ink: var(--text); --ground: var(--bg); }
.cx-cal { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.cx-month { display: flex; flex-direction: column; padding: 18px 18px 20px; border: 1px solid var(--border); border-radius: 14px; }
.cx-month.is-live { border-color: transparent; background: #1d3441; color: #fff6ea; }
.cx-month-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cx-month-top b { font-size: 1.125rem; font-weight: 600; }
.cx-badge { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--text-muted); font-size: .6875rem; font-weight: 600; letter-spacing: .02em; }
.is-live .cx-badge { background: var(--xl-coral); color: #fff; }
.cx-month ul { list-style: none; margin: 0; padding: 0; }
.cx-month li { padding: 3px 0; color: var(--text-muted); font-size: .875rem; line-height: 1.4; }
.is-live li { color: inherit; opacity: .85; }
.cx-month-link { margin-top: auto; padding-top: 12px; color: #ffc062; font-size: .875rem; font-weight: 600; }
.cx-month-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) {
  .cx-cal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cx-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cx-card-art { height: 200px; }
  .cx-wide { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 26px; }
  .cx-wide .cx-card-art { height: auto; margin-bottom: 18px; }
  .cx-card-form .xl-form-head { display: none; }
  .cx-card-form .xl-q span { font-size: .8125rem; }
  .cx-card-form .xl-q em { padding: 4px 9px; font-size: .75rem; }
  .cx-cal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cx-month { padding: 14px; }
  .cx-print { padding: 20px; }
}

/* /corporate-events/how-to (the step-by-step guide): contents in the hero, numbered step panels, screenshots, the DNS record */
.gd-hero { align-items: start; }
.gd-toc { padding: 22px 24px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.gd-toc-head { margin-bottom: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--xl-gold); }
.gd-toc ol { list-style: none; margin: 0; padding: 0; }
.gd-toc li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.gd-toc a { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: inherit; font-size: .9375rem; line-height: 1.35; }
.gd-toc a:hover { color: var(--xl-gold); }
.gd-toc a span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: .75rem; font-weight: 700; }
.gd-step .fx-label .xl-n { margin: 0; }
.gd-step .hp-title { margin-bottom: 4px; }
.gd-list { counter-reset: gd; list-style: none; margin: 18px 0 0; padding: 0; }
.gd-list li { counter-increment: gd; position: relative; padding: 8px 0 8px 34px; color: inherit; font-size: .9375rem; line-height: 1.5; }
.gd-list li::before { content: counter(gd); position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: .75rem; font-weight: 600; line-height: 20px; text-align: center; opacity: .7; }
.gd-list b { font-weight: 600; }
.gd-step .fx-note { margin-top: 14px; }
.gd-shot { margin: 0; min-width: 0; }
.gd-shot-tall { max-width: 460px; justify-self: center; }
.gd-mem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px 48px; align-items: center; }
.gd-mem .xl-h3 { margin-top: 0; }
.gd-pair { display: flex; align-items: center; gap: 20px; }
.gd-pair .xl-tv { flex: 1; width: auto; }
.gd-phone { flex: none; width: 150px; padding: 5px; border-radius: 22px; background: #05090c; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16) inset, 0 14px 30px rgba(0, 0, 0, .5); }
.gd-phone img { display: block; width: 100%; height: auto; border-radius: 17px; }
.gd-mem-foot { justify-content: center; margin-top: 40px; }
.gd-dns { padding: 26px; border-radius: 16px; background: #284755; color: #fff3e3; box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.gd-dns table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.gd-dns th, .gd-dns td { padding: 10px 8px; text-align: left; border-bottom: 1px solid rgba(255, 243, 227, .18); }
.gd-dns th { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.gd-dns code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875rem; color: var(--xl-gold); word-break: break-all; }
.gd-dns p { margin-top: 14px; font-size: .875rem; line-height: 1.5; opacity: .9; color: inherit; }
.gd-dns p code { white-space: nowrap; word-break: normal; }
.gd-status { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.gd-status li { padding: 5px 12px; border: 1px solid rgba(255, 243, 227, .4); border-radius: 999px; font-size: .8125rem; }
.gd-status li + li::before { content: '→ '; opacity: .6; }
.gd-status li.on { border-color: var(--xl-gold); color: var(--xl-gold); }
@media (max-width: 1024px) {
  .gd-mem { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gd-mem > .xl-browser, .gd-pair { margin-bottom: 18px; }
}
@media (max-width: 760px) {
  .gd-toc { padding: 16px 18px; }
  .gd-list li { padding-left: 30px; }
  .gd-phone { width: 104px; border-radius: 16px; padding: 4px; }
  .gd-phone img { border-radius: 12px; }
  .gd-pair { gap: 12px; }
  .gd-dns { padding: 18px; }
  .gd-mem-foot { justify-content: flex-start; }
}
