/* Light theme matching the GoExpo app. Desktop-first: base styles target
   computer screens; the media queries at the bottom of each block stack
   columns for tablets and phones. */
:root {
  --bg: #ffffff;
  --bg-2: #f7fafc;
  --bg-3: #eef4fa;
  --line: #e1e8f0;
  --text: #0e2233;
  --muted: #4a5e72;
  --blue: #1f6feb;
  --blue-ink: #ffffff;
  --blue-dark: #1558c7;
  --teal: #10b98a;
  --mint: #38e8b0;
  --grad: linear-gradient(90deg, #1f6feb 0%, #12a4c4 50%, #10b98a 100%);
  --warn-bg: #fff8e6;
  --warn-line: #f0c96a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14,34,51,.04), 0 8px 24px rgba(14,34,51,.06);
  --wrap: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: 4.25rem; letter-spacing: -0.035em; }
h2 { font-size: 2.6rem; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--blue); color: var(--blue-ink); padding: 8px 12px; z-index: 10; }
@media (max-width: 900px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); }
  h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); }
  .wrap { padding: 0 20px; }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 32px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
/* The real app icon (full-bleed artwork), clipped to an app-icon squircle-ish radius. */
.mark { width: 34px; height: 34px; border-radius: 22.5%; flex: none; display: block; box-shadow: 0 0 0 1px rgba(14,34,51,.06), 0 2px 6px rgba(14,34,51,.12); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
.account { display: flex; gap: 8px; flex: none; }
@media (max-width: 820px) { .nav { display: none; } .bar { gap: 16px; height: 62px; } .account { margin-left: auto; } }
@media (max-width: 420px) { .account .btn-ghost { display: none; } }

/* Buttons */
.btn { display: inline-block; background: var(--blue); color: var(--blue-ink); font-weight: 700; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 0; font-size: 1rem; cursor: pointer; box-shadow: 0 6px 18px rgba(31,111,235,.25); }
.btn:hover { background: var(--blue-dark); color: var(--blue-ink); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-2); color: var(--text); }
.btn-sm { padding: 9px 18px; font-size: .9rem; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--blue-dark); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 104px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--blue); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.lede { font-size: 1.3rem; color: var(--muted); max-width: 36em; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lede { margin-bottom: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; margin: 0; }
.card li + li { margin-top: 8px; }
.icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 14px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  section { padding: 64px 0; }
  .lede { font-size: 1.12rem; }
  .section-head { margin-bottom: 32px; }
  .grid { gap: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
}

/* Block 1: the hero is the page's focal point (headline, subline, search, one primary button, QR card beside it) */
.hero { padding: 96px 0 104px; background:
  radial-gradient(700px 420px at 88% 10%, rgba(16,185,138,.12), transparent 65%),
  radial-gradient(700px 420px at 60% 0%, rgba(31,111,235,.10), transparent 65%),
  var(--bg-2);
  border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; max-width: 14em; }
/* Desktop: the headline stays on one line beside the QR card. ~17.5em of text has to fit the column left of the
   240px card + 48px gap + 80px page padding; at the 1200px layout that is 3rem, the biggest type on the page. */
@media (min-width: 1101px) { .hero h1 { max-width: none; white-space: nowrap; font-size: min(3rem, calc((100vw - 368px) / 17.5)); } }
/* 901-1100px: QR card hidden, headline still one line across the full width. */
@media (min-width: 901px) and (max-width: 1100px) { .hero h1 { max-width: none; white-space: nowrap; font-size: calc((100vw - 80px) / 17.5); } }
@media (max-width: 1100px) { .hero-grid { grid-template-columns: 1fr; } .hero .qr-card { display: none; } }
.hero .lede { margin-bottom: 36px; }
.hero-cta { margin-top: 32px; }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }
.search { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 12px 36px rgba(14,34,51,.09); }
.search .s-name, .search .btn { grid-column: span 2; }
.search label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); min-width: 0; }
.search input, .search select { width: 100%; height: 48px; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: .98rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.search input:focus, .search select:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.search .btn { height: 48px; padding: 0 30px; box-shadow: none; }
@media (max-width: 1000px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .s-name { grid-column: 1 / -1; }
  .search .btn { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .hero { padding: 56px 0 64px; } }

/* App-download QR card (src/assets/app-qr.svg, generated by `npm run qr`). Used in the hero and in The App block. */
.qr-card { display: flex; flex-direction: column; align-items: center; justify-self: center; width: 240px; padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px; color: var(--text); text-decoration: none; box-shadow: 0 24px 56px rgba(14,34,51,.14), 0 0 0 1px rgba(14,34,51,.04); transition: transform .2s ease, border-color .2s ease; }
.qr-card:hover { color: var(--text); border-color: var(--blue); transform: translateY(-4px); }
.qr-img { display: block; width: 196px; height: 196px; }
.qr-caption { margin-top: 14px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.qr-url { font-size: .85rem; font-weight: 600; color: var(--blue); }

/* Block 2: one Trade Shows zone (Recommended, My Shows strip, the full list) */
.zone-title, .app-copy h2 { font-size: 2.25rem; }
.zone-title { margin-bottom: 40px; }
.zone-part + .zone-part { margin-top: 56px; }
.myshows-strip { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.myshows-strip .row-head { margin-bottom: 14px; }
.myshows-strip .row-title { font-size: 1.25rem; }
@media (max-width: 900px) { .zone-title, .app-copy h2 { font-size: clamp(1.7rem, 5vw, 2.1rem); } .zone-part + .zone-part { margin-top: 40px; } }

/* Block 3: The App promotion (QR card, the nine-module grid, web line, CTAs) */
.app-promo { background:
  radial-gradient(600px 360px at 10% 10%, rgba(31,111,235,.10), transparent 65%),
  radial-gradient(600px 360px at 90% 100%, rgba(16,185,138,.12), transparent 65%),
  var(--bg-3); border-top: 1px solid var(--line); }
.app-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: center; }
.app-copy .lede { margin-bottom: 28px; }
/* The app's nine-module home grid (scripts/modules.mjs). Each tile sets --m, its module color. */
.mod-grid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mod-tile { display: flex; flex-direction: column; gap: 4px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 16px; color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.mod-tile:hover { color: var(--text); border-color: var(--m, var(--blue)); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(14,34,51,.10); }
.mod-tile strong { font-size: 1.05rem; margin-top: 10px; }
.mod-tile .muted { font-size: .88rem; line-height: 1.4; }
.mod-icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--m, var(--blue)); background: color-mix(in srgb, var(--m, var(--blue)) 13%, #fff); }
.mod-icon .icon { width: 28px; height: 28px; margin: 0; color: inherit; }
.mod-icon-lg { width: 72px; height: 72px; border-radius: 22px; margin-bottom: 20px; }
.mod-icon-lg .icon { width: 38px; height: 38px; }
@media (max-width: 1000px) { .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .mod-grid { gap: 10px; } .mod-tile { padding: 14px; } .mod-tile .muted { font-size: .82rem; } }
/* In The App the grid spans the full section width and lays out by width: one row of nine on wide
   desktops, else two rows (5 + 4, second row centered on a 10-track grid), 2 columns on phones. */
.app-grid > .mod-grid { grid-column: 1 / -1; margin: 0; }
@media (min-width: 641px) {
  .app-grid > .mod-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .app-grid > .mod-grid > li { grid-column: span 2; }
  .app-grid > .mod-grid > li:nth-child(6) { grid-column: 2 / span 2; }
}
@media (min-width: 1180px) {
  .app-grid > .mod-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
  .app-grid > .mod-grid > li, .app-grid > .mod-grid > li:nth-child(6) { grid-column: auto; }
  .app-grid > .mod-grid .mod-tile { padding: 14px 10px 12px; border-radius: 18px; }
  .app-grid > .mod-grid .mod-icon { width: 44px; height: 44px; border-radius: 14px; }
  .app-grid > .mod-grid .mod-icon .icon { width: 24px; height: 24px; }
  .app-grid > .mod-grid .mod-tile strong { font-size: .9rem; margin-top: 8px; line-height: 1.25; }
  .app-grid > .mod-grid .mod-tile .muted { font-size: .76rem; line-height: 1.35; }
}
.app-web { font-size: 1.08rem; font-weight: 500; margin-bottom: 24px; max-width: 38em; }
.app-ios { margin: 18px 0 0; }
@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; gap: 48px; }
  .app-promo .qr-card { order: 2; }
}

/* Module demo pages (/modules/<slug>): what it does + a rendered sample view */
.module-hero { padding: 56px 0 96px; background:
  radial-gradient(700px 420px at 88% 10%, color-mix(in srgb, var(--m) 14%, transparent), transparent 65%),
  radial-gradient(700px 420px at 40% 0%, rgba(31,111,235,.08), transparent 65%),
  var(--bg-2); border-bottom: 1px solid var(--line); }
.module-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: start; }
.module-copy h1 { font-size: 3.4rem; margin-bottom: .25em; }
.module-copy .lede { margin-bottom: 24px; }
.module-points { margin: 0 0 32px; padding-left: 1.2em; max-width: 34em; }
.module-points li + li { margin-top: 8px; }
.module-points li::marker { color: var(--m); }
.module-signin { margin: 16px 0 0; }
.module-more .row-title { margin-bottom: 20px; }
.mod-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
@media (max-width: 1000px) { .module-grid { grid-template-columns: 1fr; gap: 48px; } .mock { max-width: 480px; } .mod-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .module-copy h1 { font-size: clamp(2.2rem, 7vw, 3rem); } }

/* Sample-view mock: an app-style card. Everything inside is sample data. */
.mock { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 56px rgba(14,34,51,.12); overflow: hidden; scroll-margin-top: 90px; }
.mock:focus { outline: none; }
.mock:target { box-shadow: 0 0 0 3px color-mix(in srgb, var(--m) 45%, transparent), 0 24px 56px rgba(14,34,51,.12); }
.mock-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.mock-icon { width: 20px; height: 20px; color: var(--m); }
.mock-sample { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: #7a4d00; }
.mock-body { padding: 18px; font-size: .95rem; }
.mock-body p { margin: 0; }
.mock figcaption { padding: 12px 18px 16px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
.mk-list { list-style: none; margin: 0; padding: 0; }
.mk-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; }
.mk-row + .mk-row { border-top: 1px solid var(--line); }
.mk-txt { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.mk-txt span { font-size: .85rem; color: var(--muted); }
.mk-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--m); background: color-mix(in srgb, var(--m) 14%, #fff); }
.mk-av-lg { width: 72px; height: 72px; font-size: 1.4rem; }
.mk-chip { flex: none; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-3); color: var(--muted); white-space: nowrap; }
.mk-chip.mk-on { background: color-mix(in srgb, var(--m) 14%, #fff); color: var(--m); }
.mk-chip.mk-lock { margin-left: 6px; vertical-align: middle; }
.mk-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--m); margin: 0 6px; }
.mk-file { flex: none; width: 40px; height: 46px; border-radius: 8px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: var(--m); background: color-mix(in srgb, var(--m) 12%, #fff); }
.mk-star { flex: none; font-size: 1.2rem; color: var(--line); width: 24px; text-align: center; }
.mk-star.on { color: #f0b429; }
.mk-hello { font-weight: 800; font-size: 1.1rem; margin-bottom: 12px !important; }
.mk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mk-grid li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .72rem; font-weight: 600; line-height: 1.2; }
.mk-gi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--m); background: color-mix(in srgb, var(--m) 13%, #fff); }
.mk-icon { width: 24px; height: 24px; }
.mk-log p + p { margin-top: 8px; }
.mk-log .mk-day { font-weight: 800; color: var(--m); margin-top: 16px; }
.mk-log .mk-day:first-child { margin-top: 0; }
.mk-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.mk-timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid var(--line); }
.mk-timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.mk-timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--m); border: 2px solid #fff; }
.mk-timeline time { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); }
.mk-badge { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--m) 10%, #fff), #fff 45%); }
.mk-badge strong { font-size: 1.25rem; margin-top: 8px; }
.mk-badge > span:not(.mk-av) { font-size: .88rem; color: var(--muted); }
.mk-code { width: 120px; height: 120px; margin-top: 14px; fill: var(--text); opacity: .85; }
.mk-badge .mk-note { font-size: .72rem !important; }
.mk-scan { display: grid; gap: 14px; }
.mk-finder { position: relative; padding: 26px; border-radius: 18px; background: #1b2a3a; }
.mk-finder::before { content: ""; position: absolute; inset: 12px; border: 3px solid var(--m); border-radius: 12px; }
.mk-card { position: relative; display: grid; gap: 1px; padding: 16px 18px; background: #fff; border-radius: 8px; font-size: .85rem; color: var(--muted); transform: rotate(-2deg); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.mk-card strong { font-size: 1.05rem; color: var(--text); }
.mk-saved { padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--m) 12%, #fff); color: var(--text); font-size: .9rem; }
.mk-saved > span { color: var(--m); font-weight: 800; margin-right: 4px; }

/* Row headings inside the Trade Shows zone */
.row-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.row-title { font-size: 1.5rem; margin: 0; }
.row-head p { margin: 0; }

/* Recommended: horizontal row of featured expo cards */
.rec-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; }
.rec { position: relative; display: flex; flex-direction: column; scroll-snap-align: start; padding: 0; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.rec[hidden] { display: none; }
.rec-body { flex: 1; display: flex; flex-direction: column; padding: 18px 22px 22px; }
/* Expo visual header: background image (cover) + logo, or the generated gradient + initials */
.expo-media { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--grad); color: #fff; }
.expo-media.has-bg { background: var(--bg-3); }
.em-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.em-initials { position: relative; font-weight: 800; font-size: 2.4rem; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(14,34,51,.18); }
.em-logo { position: relative; display: grid; place-items: center; max-width: 62%; max-height: 64%; padding: 10px 14px; background: rgba(255,255,255,.94); border-radius: 12px; box-shadow: 0 4px 16px rgba(14,34,51,.18); }
.em-logo img { display: block; max-width: 100%; max-height: 56px; object-fit: contain; }
.rec-media { aspect-ratio: 16 / 7; }
.rec:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 12px 32px rgba(31,111,235,.14); }
.rec h3 { font-size: 1.15rem; margin: 0 0 6px; }
.rec .expo-where { font-weight: 500; color: var(--muted); font-size: .95rem; }
.rec .expo-when { font-size: .88rem; }
.rec-foot { margin: auto 0 0 !important; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1000px) { .rec-row { grid-auto-columns: 42%; } }
@media (max-width: 700px) { .rec-row { grid-auto-columns: 80%; } }

/* My Shows: the visitor's own expos with day countdowns */
.myshows { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.myshow { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 16px; box-shadow: var(--shadow); }
.myshow a { display: grid; text-decoration: none; color: var(--text); line-height: 1.3; }
.myshow a:hover strong { color: var(--blue); }
.myshow strong { font-size: .98rem; }
.myshow.past { opacity: .7; box-shadow: none; }
.myshow-remove { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.myshow-remove:hover { color: var(--text); border-color: var(--muted); }
.myshows-empty { margin: 0; }
/* My Shows banner: the nearest selected show, full width. Its background image (or the brand gradient)
   fills the whole banner; a white fade on the left keeps the text legible and leaves the right ~60% as
   image, with the show's logo there. Other selected shows are the chips below. */
.ms-banner { position: relative; display: grid; grid-template-columns: minmax(300px, 42%) 1fr; align-items: center; min-height: 260px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--grad); box-shadow: var(--shadow); isolation: isolate; }
.ms-banner.has-bg { background: var(--bg-3); }
.msb-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ms-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.18) 58%, rgba(255,255,255,.08) 100%); }
.msb-body { padding: 28px 32px; }
.msb-body p { margin: 0; }
.msb-label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.ms-banner h4 { font-size: 1.7rem; line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0 6px; }
.msb-meta { font-weight: 600; color: var(--muted); }
.msb-count { display: flex; align-items: baseline; gap: 10px; margin-top: 18px !important; color: var(--text); }
.msb-count strong { font-size: 3.4rem; line-height: 1; font-weight: 800; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.msb-count strong.msb-word { font-size: 1.9rem; letter-spacing: -0.02em; }
.msb-count span { font-weight: 700; color: var(--muted); }
.ms-banner.past .msb-count strong { background: none; color: var(--muted); }
.msb-mark { display: grid; place-items: center; align-self: stretch; padding: 24px; }
.msb-mark .em-logo { max-width: 70%; padding: 14px 20px; }
.msb-mark .em-logo img { max-height: 84px; }
.msb-mark .em-initials { font-size: 4.5rem; }
.ms-banner .expo-link::after { content: ""; position: absolute; inset: 0; }
.msb-remove { position: absolute; top: 14px; right: 14px; z-index: 1; background: rgba(255,255,255,.92); }
@media (max-width: 700px) {
  .ms-banner { grid-template-columns: 1fr; grid-template-rows: 150px auto; }
  .ms-banner::before { background: linear-gradient(0deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 48%, rgba(255,255,255,.1) 72%); }
  .msb-mark { grid-row: 1; padding: 16px; }
  .msb-body { grid-row: 2; padding: 4px 20px 22px; }
  .ms-banner h4 { font-size: 1.4rem; }
}

/* Expos: status chips, the scrollable list, toggles */
.expo-when { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; font-weight: 700; color: var(--blue); font-size: .95rem; }
.expo-status { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-3); color: var(--blue-dark); white-space: nowrap; }
.expo-status:empty { display: none; }
.expo-status.now { background: rgba(16,185,138,.14); color: #0b7a5c; }
.expo-status.past { color: var(--muted); }
.expo-where { font-weight: 600; color: var(--text); margin: 0 0 8px; }
.expo-link { color: inherit; text-decoration: none; }
.expo-link:hover { color: var(--blue); }
/* The whole card/row opens the detail page; venue links and toggles sit above that. */
.rec .expo-link::after, .expo-row .expo-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rec a:not(.expo-link), .rec button, .expo-row a:not(.expo-link), .expo-row button { position: relative; z-index: 1; }
.tag-ind, .tag-plain { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(16,185,138,.1); color: #0b7a5c; white-space: nowrap; }
.tag-plain { background: var(--bg-3); color: var(--muted); }
.myshow-toggle.btn-toggle { font: inherit; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--blue); cursor: pointer; white-space: nowrap; }
.myshow-toggle.btn-toggle:hover { border-color: var(--blue); }
.myshow-toggle[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.myshow-toggle.btn[aria-pressed="true"]:hover { background: var(--blue-dark); color: #fff; }

.list-head { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.list-head h2 { margin: 0; }
.list-count { margin: 0; font-weight: 600; }
.list-count .link-btn { margin-left: 10px; }
/* All Expos: a bounded box showing 3 rows, scrolled inside (like the app's Trade Shows list). Rows are by start
   date; happening-now shows are blue text, ended shows gray. expos.js sizes the box to exactly 3 rows; the
   max-height here is the no-JS fallback. */
.expo-list-wrap { position: relative; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.expo-list-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.expo-list { list-style: none; margin: 0; padding: 0; }
.expo-row { position: relative; display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--text); transition: background .12s ease; }
.expo-row:hover { background: var(--bg-2); }
.expo-row:last-of-type { border-bottom: 0; }
.expo-row[hidden] { display: none; }
.expo-row p { margin: 0; }
.expo-row h3 { font-size: 1.05rem; margin: 0 0 3px; color: inherit; }
.er-dates { white-space: nowrap; }
.er-meta { font-size: .9rem; font-weight: 500; }
.er-related { font-size: .85rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.expo-row[data-status="now"] { color: var(--blue); }
.expo-row[data-status="past"] { color: #7d8a97; }
.er-main { flex: 1; min-width: 0; }
.er-side { flex: none; display: flex; align-items: center; gap: 12px; }
.er-chev { font-size: 1.6rem; line-height: 1; color: var(--muted); }
.expo-row:hover .er-chev { color: var(--blue); }
.expo-empty { padding: 32px 24px; text-align: center; color: var(--muted); }
.add-expo { margin: 18px 0 0; font-weight: 700; }
.add-expo a { text-decoration: none; }
.add-expo a:hover { text-decoration: underline; }
.expo-note { margin: 12px 0 0; }
@media (max-width: 700px) {
  .list-head { display: block; }
  .list-count { margin-top: 10px; }
  .expo-row { flex-wrap: wrap; gap: 10px 14px; padding: 14px 16px; }
  .er-main { flex-basis: 100%; }
  .er-side { width: 100%; justify-content: flex-end; }
}

/* Expo detail pages */
.expo-detail-hero { padding: 56px 0 88px; background:
  radial-gradient(700px 420px at 88% 10%, rgba(16,185,138,.12), transparent 65%),
  radial-gradient(700px 420px at 60% 0%, rgba(31,111,235,.10), transparent 65%),
  var(--bg-2); border-bottom: 1px solid var(--line); }
.crumbs { margin-bottom: 36px; font-weight: 600; }
.crumbs a { text-decoration: none; }
.expo-detail { max-width: 860px; }
.expo-detail .expo-when { justify-content: flex-start; font-size: 1.1rem; }
.expo-detail .expo-status { font-size: .85rem; padding: 4px 12px; }
.expo-detail h1 { font-size: 3.6rem; margin-bottom: .3em; }
.expo-detail .expo-venue { font-size: 1.2rem; font-weight: 600; margin: 0 0 4px; }
.expo-detail .expo-where { font-size: 1.2rem; margin-bottom: 16px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.detail-media { aspect-ratio: 16 / 5; border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow); }
.detail-media .em-initials { font-size: 4rem; }
.detail-media .em-logo img { max-height: 96px; }
.expo-detail .lede { margin-bottom: 32px; }
.detail-app { border-top: 0; }
.detail-app-band { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.detail-app-band h2 { font-size: 2rem; }
.detail-app-band p { margin: 0; max-width: 34em; }
@media (max-width: 900px) { .detail-app-band { display: block; } .detail-app-band .ctas { margin-top: 24px; } .expo-detail h1 { font-size: clamp(2.2rem, 7vw, 3rem); } }
main > .expo-note { padding-top: 20px; padding-bottom: 20px; }

/* "Coming soon" badge (iOS App Store) */
.badge-soon { display: inline-block; vertical-align: middle; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg-3); color: var(--muted); }

/* Notices */
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px; }
.notice strong { color: #7a4d00; }

/* Forms (placeholder only, never submits) */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.form input, .form textarea { width: 100%; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font: inherit; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.form fieldset:disabled { opacity: .6; }

/* Inner pages (privacy, support) */
.page { padding: 72px 40px 96px; max-width: 880px; }
.page h1 { font-size: 3rem; }
.prose { max-width: 800px; }
.prose h1 { font-size: 2.6rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-2); }
.prose li + li { margin-top: 4px; }
@media (max-width: 900px) { .page { padding: 48px 20px 64px; } .page h1, .prose h1 { font-size: clamp(1.9rem, 6vw, 2.4rem); } }

details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; box-shadow: 0 1px 2px rgba(14,34,51,.04); }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 650; }
summary::marker { color: var(--blue); }
details[open] summary { margin-bottom: 10px; }

/* Footer */
.site-footer { padding: 56px 0 64px; background: var(--bg-2); border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.foot .small { grid-column: 1 / -1; margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--text); }
@media (max-width: 820px) { .foot { grid-template-columns: 1fr; } }
