/* EM Designs shared marketing layer. Scoped classes leave tools and games alone. */
@font-face{font-family:'Geist';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/geist-latin-variable.woff2') format('woff2');}
:root {
  --brand-ink: #17191c;
  --brand-paper: #faf9f6;
  --brand-white: #ffffff;
  --brand-coral: #ff7469;
  --brand-peach: #fff0eb;
  --brand-line: #e6e3dd;
  --brand-muted: #61646a;
  --brand-width: 1240px;
}

footer[hidden] { display: none !important; }

.emd-nav, .emd-footer { font-family: 'Geist', 'Figtree', Arial, sans-serif; color: var(--brand-ink); }
.emd-nav *, .emd-footer * { box-sizing: border-box; }
.emd-nav {
  position: fixed; inset: 0 0 auto; z-index: 2000;
  width: 100%; background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--brand-line); backdrop-filter: blur(14px);
}
.emd-nav a { text-decoration: none; }
.emd-nav button { font: inherit; }
.emd-nav-inner {
  width: min(calc(100% - 48px), var(--brand-width)); min-height: 78px;
  margin: 0 auto; display: flex; align-items: center; gap: 28px;
}
.emd-nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.emd-nav-logo img { display: block; width: 132px; height: auto; max-height: 43px; object-fit: contain; }
.emd-nav-links { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.emd-nav-groups { display: flex; align-items: center; gap: clamp(9px, 1.35vw, 24px); }
.emd-nav-group { position: relative; }
.emd-nav-group-head { display: flex; align-items: center; gap: 1px; white-space: nowrap; }
.emd-nav-parent {
  display: inline-block; padding: 13px 2px; color: var(--brand-ink);
  font-size: 13px; font-weight: 700; line-height: 1.2;
}
.emd-nav-group-head:hover .emd-nav-parent { color: #9e3f38; }
.emd-nav-group.is-current .emd-nav-parent { text-decoration: underline; text-decoration-color: var(--brand-coral); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.emd-nav-expand {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 32px; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: var(--brand-ink); cursor: pointer;
}
.emd-nav-expand svg { transition: transform .18s ease; }
.emd-nav-group.is-open .emd-nav-expand svg { transform: rotate(180deg); }
.emd-nav-expand:hover, .emd-nav-expand:focus-visible { background: var(--brand-peach); }
.emd-nav-panel {
  display: none; position: absolute; top: calc(100% + 12px); left: -16px;
  min-width: 245px; padding: 11px; background: var(--brand-white);
  border: 1px solid var(--brand-line); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(23,25,28,.12);
}
.emd-nav-group.is-open .emd-nav-panel { display: grid; }
.emd-nav-panel-link, .emd-nav-account-panel a {
  display: block; padding: 11px 12px; border-radius: 9px;
  color: var(--brand-ink); font-size: 14px; font-weight: 500; line-height: 1.3;
}
.emd-nav-panel-link:hover, .emd-nav-panel-link:focus-visible,
.emd-nav-account-panel a:hover, .emd-nav-account-panel a:focus-visible,
.emd-nav-panel-link.is-current { background: var(--brand-paper); }
.emd-nav-panel-link.is-current { font-weight: 700; }
.emd-nav-panel-link:hover, .emd-nav-panel-link:focus-visible { background: var(--brand-peach); }
.emd-nav-play { width: 100%; padding: 11px 12px; border: 0; border-top: 1px solid var(--brand-line); background: transparent; color: var(--brand-ink); text-align: left; font-size: 14px; font-weight: 700; cursor: pointer; }
.emd-nav-play:hover, .emd-nav-play:focus-visible { background: var(--brand-paper); }
.emd-nav-actions { display: flex; align-items: center; gap: 17px; flex: 0 0 auto; }
.emd-nav-book {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 43px; padding: 10px 17px; border-radius: 999px;
  background: var(--brand-coral); color: var(--brand-ink);
  font-size: 13px; font-weight: 800; white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}
.emd-nav-book:hover { background: #ff9289; transform: translateY(-1px); }
.emd-nav-utility { display: grid; gap: 2px; min-width: 104px; }
.emd-nav-utility > a, .emd-nav-account-trigger {
  color: var(--brand-muted); font-size: 11px; font-weight: 700; line-height: 1.4;
  white-space: nowrap; text-decoration: underline; text-decoration-color: #c4c4c1;
  text-underline-offset: 3px;
}
.emd-nav-utility > a:hover, .emd-nav-account-trigger:hover { color: var(--brand-ink); }
.emd-nav-account-menu { position: relative; }
.emd-nav-account-trigger { display: inline-flex; gap: 5px; align-items: center; padding: 0; background: none; border: 0; cursor: pointer; }
.emd-nav-avatar { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-ink); color: white; font-size: 10px; }
.emd-nav-account-panel {
  display: none; position: absolute; top: calc(100% + 17px); right: 0;
  min-width: 195px; padding: 10px; background: white; border: 1px solid var(--brand-line);
  border-radius: 16px; box-shadow: 0 18px 44px rgba(23,25,28,.12);
}
.emd-nav-account-menu.is-open .emd-nav-account-panel { display: block; }
.emd-nav-account-email { display: block; padding: 8px 12px; color: var(--brand-muted); font-size: 11px; overflow-wrap: anywhere; }
.emd-nav-toggle { display: none; }
.emd-nav :focus-visible, .emd-footer :focus-visible, .brand-button:focus-visible, .brand-link:focus-visible {
  outline: 3px solid var(--brand-coral); outline-offset: 3px;
}

.emd-footer { position: relative; z-index: 1; width: 100%; background: var(--brand-ink); color: #f9f8f5; }
.emd-footer a { color: inherit; text-decoration: none; }
.emd-footer-inner { width: min(calc(100% - 48px), var(--brand-width)); margin: 0 auto; padding: 70px 0 26px; }
.emd-footer-top { display: grid; grid-template-columns: minmax(200px, 1.45fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 88px); }
.emd-footer-brand { display: inline-block; margin-bottom: 14px; font-size: 26px; font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.emd-footer-dot { color: var(--brand-coral); }
.emd-footer-intro p { max-width: 270px; color: #b7b8b8; font-size: 14px; line-height: 1.6; }
.emd-footer-book { display: inline-block; margin-top: 20px; padding-bottom: 4px; border-bottom: 2px solid var(--brand-coral); font-size: 14px; font-weight: 800; }
.emd-footer-book span { margin-left: 5px; }
.emd-footer-columns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.emd-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.emd-footer-column h3 { margin: 0 0 7px; color: white; font: 800 13px/1.3 'Geist', 'Figtree', Arial, sans-serif; }
.emd-footer-column a { color: #c5c6c6; font-size: 13px; line-height: 1.4; }
.emd-footer-column a:hover, .emd-footer-bottom a:hover { color: white; text-decoration: underline; text-decoration-color: var(--brand-coral); text-underline-offset: 4px; }
.emd-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin-top: 60px; padding-top: 24px; border-top: 1px solid #414247; color: #aeb0b1; font-size: 12px; }
.emd-footer-bottom > div { display: flex; flex-wrap: wrap; gap: 8px 19px; }
.emd-footer-bottom a { color: #c5c6c6; }

/* Reusable page pieces for static and React marketing content. */
.emd-signup-surface { min-width: 0; font-family: 'Geist', 'Figtree', Arial, sans-serif; }
.emd-signup-surface .emd-cap { margin: 0; position: relative; }
.emd-signup-surface .emd-cap-label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
.emd-signup-surface .emd-cap-row { display: flex; gap: 9px; }
.emd-signup-surface .emd-cap-in { box-sizing: border-box; min-width: 0; width: 100%; flex: 1; min-height: 50px; padding: 12px 15px; border: 1px solid #ccc8c1; border-radius: 10px; background: #fff; color: #17191c; font: inherit; font-size: 16px; }
.emd-signup-surface .emd-cap-btn { flex: none; min-height: 50px; padding: 12px 20px; border: 0; border-radius: 10px; background: #ff7469; color: #17191c; font: 600 14px/1.4 'Geist', Arial, sans-serif; cursor: pointer; }
.emd-signup-surface .emd-cap-btn:hover { background: #ff938a; }
.emd-signup-surface .emd-cap-btn:disabled { cursor: default; opacity: .75; }
.emd-signup-surface .emd-cap-in:focus-visible, .emd-signup-surface .emd-cap-btn:focus-visible { outline: 3px solid #ba5148; outline-offset: 3px; }
.emd-signup-surface .emd-cap-note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; }
.emd-signup-surface .emd-cap-msg { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.emd-signup-surface .emd-cap-msg:empty { display: none; }
.emd-signup-surface .emd-cap-pot { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; overflow: hidden; }
.emd-footer-signup { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; margin-bottom: 50px; padding-bottom: 45px; border-bottom: 1px solid #414247; }
.emd-footer-signup h2 { color: #fff; margin: 0 0 12px; font: 600 clamp(24px, 3vw, 34px)/1.15 'Geist', Arial, sans-serif; letter-spacing: -.035em; }
.emd-footer-signup p { color: #c5c6c6; margin-bottom: 0; font-size: 14px; line-height: 1.6; }
.emd-footer-signup .emd-cap-note { font-size: 12px; }
@media(max-width:700px) { .emd-footer-signup { grid-template-columns: 1fr; gap: 25px; } .emd-signup-surface .emd-cap-row { flex-direction: column; } }

.brand-page { background: var(--brand-paper); color: var(--brand-ink); }
.brand-shell { width: min(calc(100% - 48px), var(--brand-width)); margin-inline: auto; }
.brand-section { padding-block: clamp(64px, 8vw, 112px); }
.brand-eyebrow { margin: 0 0 18px; color: #a74139; font: 800 12px/1.2 'Geist', 'Figtree', Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.brand-heading { max-width: 900px; margin: 0; color: var(--brand-ink); font: 700 clamp(38px, 5.1vw, 68px)/1.04 'Geist', 'Figtree', Arial, sans-serif; letter-spacing: -.055em; }
.brand-lede { max-width: 690px; margin: 22px 0 0; color: var(--brand-muted); font: 400 clamp(17px, 1.55vw, 21px)/1.55 'Geist', 'Figtree', Arial, sans-serif; }
.brand-grid { display: grid; gap: 20px; }
.brand-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brand-card { padding: clamp(25px, 3vw, 40px); border: 1px solid var(--brand-line); border-radius: 18px; background: var(--brand-white); }
.brand-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--brand-coral); border-radius: 12px; background: var(--brand-coral); color: var(--brand-ink); font: 800 14px/1.3 'Geist', 'Figtree', Arial, sans-serif; text-decoration: none; cursor: pointer; }
.brand-button:hover { background: #ff9289; }
.brand-button-secondary { border-color: var(--brand-ink); background: transparent; }
.brand-button-secondary:hover { background: #eeeeeb; }
.brand-link { color: var(--brand-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand-coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.brand-cta { padding: clamp(36px, 5vw, 70px); border-radius: 20px; background: var(--brand-peach); }

@media (max-width: 1120px) {
  .emd-nav-inner { min-height: 70px; justify-content: space-between; }
  .emd-nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 9px; border: 1px solid var(--brand-line); border-radius: 12px; background: white; cursor: pointer; }
  .emd-nav-toggle span { display: block; height: 2px; width: 24px; background: var(--brand-ink); }
  .emd-nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 70px); overflow-y: auto; padding: 15px max(24px, calc((100vw - var(--brand-width))/2)) 26px; background: white; border-bottom: 1px solid var(--brand-line); box-shadow: 0 16px 24px rgba(23,25,28,.08); }
  .emd-nav-links.is-open { display: block; }
  .emd-nav-groups { display: block; }
  .emd-nav-group { border-bottom: 1px solid var(--brand-line); }
  .emd-nav-group-head { justify-content: space-between; }
  .emd-nav-parent { flex: 1; padding: 15px 0; font-size: 16px; }
  .emd-nav-expand { width: 44px; height: 44px; }
  .emd-nav-panel { position: static; min-width: 0; padding: 0 0 13px 13px; border: 0; border-radius: 0; box-shadow: none; }
  .emd-nav-panel-link { padding: 10px 12px; }
  .emd-nav-actions { justify-content: space-between; align-items: flex-start; padding-top: 22px; }
  .emd-nav-utility { gap: 10px; padding-top: 2px; }
  .emd-nav-utility > a, .emd-nav-account-trigger { font-size: 13px; }
  .emd-nav-account-panel { position: static; box-shadow: none; border: 0; padding: 5px 0; }
  .emd-footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .emd-nav-inner, .emd-footer-inner, .brand-shell { width: min(calc(100% - 36px), var(--brand-width)); }
  .emd-nav-logo img { width: 122px; }
  .emd-nav-actions { flex-direction: column; }
  .emd-nav-book { width: 100%; }
  .emd-nav-utility { display: flex; gap: 22px; flex-wrap: wrap; }
  .emd-footer-inner { padding-top: 55px; }
  .emd-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 20px; }
  .emd-footer-bottom { margin-top: 50px; }
  .brand-grid-2, .brand-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .emd-nav-play { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .emd-nav-expand svg, .emd-nav-book { transition: none; }
  .emd-nav-book:hover { transform: none; }
}
