/* ── Founding Member Offer Bar ── */
.yos-founder-bar {
  background: #FFE600;
  font-family: Inter, system-ui, sans-serif;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1500;
}
.yos-founder-bar__inner {
  align-items: center;
  display: flex;
  gap: .65rem;
  height: 44px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 3rem 0 1rem;
  position: relative;
  white-space: nowrap;
}
.yos-founder-bar__badge {
  background: #111;
  border-radius: 4px;
  color: #FFE600;
  flex-shrink: 0;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: .18rem .45rem;
  text-transform: uppercase;
}
.yos-founder-bar__msg {
  color: #111;
  font-size: .88rem;
  font-weight: 500;
}
.yos-founder-bar__msg strong { font-weight: 800; }
.yos-founder-bar__actions {
  display: flex;
  flex-shrink: 0;
  gap: .35rem;
}
.yos-founder-bar__btn {
  background: #111;
  border: 1.5px solid #111;
  border-radius: 5px;
  color: #FFE600;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 800;
  padding: .28rem .65rem;
  text-decoration: none;
  transition: opacity .15s;
  white-space: nowrap;
}
.yos-founder-bar__btn:hover { opacity: .78; }
.yos-founder-bar__btn--outline {
  background: transparent;
  color: #111;
}
.yos-founder-bar__btn--outline:hover { background: rgba(0,0,0,.08); opacity: 1; }
.yos-founder-bar__close {
  background: none;
  border: none;
  color: #111;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  opacity: .55;
  padding: .3rem;
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
}
.yos-founder-bar__close:hover { opacity: 1; }
body.has-yos-founder-bar .yos-header { top: 44px; }
@media (max-width: 720px) {
  .yos-founder-bar__inner {
    flex-wrap: wrap;
    gap: .4rem;
    height: auto;
    justify-content: center;
    min-height: 44px;
    padding: .45rem 2.5rem .45rem .75rem;
    text-align: center;
    white-space: normal;
  }
  .yos-founder-bar__badge { display: none; }
  .yos-founder-bar__msg { font-size: .8rem; }
  .yos-founder-bar__btn { font-size: .75rem; }
  body.has-yos-founder-bar .yos-header { top: 72px; }
}

.yos-header {
  --yos-nav-blue: #0077ff;
  --yos-nav-orange: #f97316;
  --yos-nav-orange-hover: #ea580c;
  --yos-nav-black: #111;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  display: flex;
  font-family: Inter, system-ui, sans-serif;
  height: 64px;
  justify-content: space-between;
  padding: 0 max(2rem, calc((100vw - 1120px) / 2));
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.yos-header * { box-sizing: border-box; }
.yos-header a { text-decoration: none; }
.yos-header__brand { align-items: center; display: flex; gap: .75rem; }
.yos-header__brand img { height: 32px; width: 32px; }
.yos-header__brand span { color: var(--yos-nav-black); font-size: 1rem; font-weight: 600; }
.yos-header__links { align-items: center; display: flex; gap: 1.35rem; }
.yos-header__links > a,
.yos-header__dropdown > a { color: var(--yos-nav-black); font-size: .95rem; font-weight: 500; }
.yos-header__links > a:hover,
.yos-header__dropdown > a:hover { color: var(--yos-nav-blue); }
.yos-header__cta {
  background: var(--yos-nav-orange);
  border-radius: 6px;
  color: #fff !important;
  font-size: .9rem !important;
  font-weight: 700 !important;
  padding: .5rem 1.1rem;
}
.yos-header__cta:hover { background: var(--yos-nav-orange-hover); }
.yos-header__dropdown { position: relative; }
.yos-header__dropdown-menu {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
  display: none;
  left: 0;
  min-width: 260px;
  padding: .35rem 0;
  position: absolute;
  top: 100%;
}
.yos-header__dropdown-menu a {
  color: var(--yos-nav-black);
  display: block;
  font-size: .9rem;
  font-weight: 500;
  padding: .7rem 1rem;
}
.yos-header__dropdown-menu a:hover { background: #f4f6f8; color: var(--yos-nav-blue); }
.yos-header__dropdown:hover .yos-header__dropdown-menu,
.yos-header__dropdown:focus-within .yos-header__dropdown-menu { display: block; }
.yos-header__toggle { background: none; border: 0; cursor: pointer; display: none; padding: .5rem; }
.yos-header__toggle span { background: var(--yos-nav-black); display: block; height: 3px; margin: 4px 0; width: 24px; }

/* Floating engagement dock: persistent without consuming the page header. */
.yos-action-bar {
  align-items: center;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  background: linear-gradient(135deg, rgba(20, 22, 27, .94), rgba(10, 11, 14, .96));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .38), 0 0 0 1px rgba(0, 119, 255, .08) inset;
  display: flex;
  font-family: Inter, system-ui, sans-serif;
  gap: .6rem;
  justify-content: center;
  left: 50%;
  padding: .55rem;
  position: fixed;
  transform: translateX(-50%);
  width: max-content;
  z-index: 1100;
}
.yos-action-bar a,
.yos-action-bar__contact {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  color: #e6e8ec;
  display: inline-flex;
  font-size: .86rem;
  font-weight: 700;
  gap: .5rem;
  justify-content: center;
  min-height: 42px;
  padding: .5rem .8rem;
  text-decoration: none;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.yos-action-bar > a:hover,
.yos-action-bar__contact:hover { background: rgba(255,255,255,.07); border-color: #00afff; color: #fff; transform: translateY(-1px); }
.yos-action-bar__contact { padding: 0; }
.yos-action-bar__contact a {
  border: 0;
  min-height: 40px;
  padding: .38rem .75rem;
}
.yos-action-bar__contact a:hover { color: #fff; }
.yos-action-bar__label { display: flex; flex-direction: column; line-height: 1.15; }
.yos-action-bar__contact .yos-action-bar__detail { font-size: .7rem; margin-top: .2rem; }
.yos-action-bar__primary { background: rgba(0, 119, 255, .18); border-color: rgba(0, 175, 255, .6) !important; color: #fff !important; }
.yos-action-bar__primary:hover { background: rgba(0, 119, 255, .28); }
.yos-action-bar__icon {
  color: #7dd3fc; display: block; flex: 0 0 20px; height: 20px; width: 20px;
}
.yos-action-bar__garry .yos-action-bar__icon { color: #c4b5fd; }
.yos-action-bar__penny .yos-action-bar__icon { color: #fb923c; }
.yos-action-bar__detail { color: #a7adb8; font-weight: 600; }
body.has-yos-action-bar { padding-bottom: 82px; }

/* Shared exits appended before every footer so no page ends without a useful next step. */
.yos-page-exits {
  background: #202023;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #e6e8ec;
  font-family: Inter, system-ui, sans-serif;
  padding: 3rem 1.25rem;
}
.yos-page-exits__inner { margin: 0 auto; max-width: 1120px; }
.yos-page-exits h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 0 0 .55rem; }
.yos-page-exits p { color: #a7adb8; margin: 0; max-width: 720px; }
.yos-page-exits__links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; }
.yos-page-exits__links a {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  color: #e6e8ec;
  font-size: .9rem;
  font-weight: 700;
  padding: .65rem .9rem;
  text-decoration: none;
}
.yos-page-exits__links a:first-child { background: #f97316; border-color: #f97316; color: #fff; }
.yos-page-exits__links a:hover { border-color: #f97316; color: #f97316; }
.yos-page-exits__links a:first-child:hover { background: #ea580c; color: #fff; }

@media (max-width: 1280px) {
  .yos-header { padding: 0 1rem; }
  .yos-header__toggle { display: block; }
  .yos-header__links {
    align-items: flex-start;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    display: none;
    flex-direction: column;
    gap: .9rem;
    max-height: calc(100vh - 80px);
    max-width: calc(100vw - 2rem);
    overflow-y: auto;
    padding: 1rem;
    position: absolute;
    right: 1rem;
    top: 64px;
    width: 300px;
  }
  .yos-header__links.is-open { display: flex; }
  .yos-header__dropdown { width: 100%; }
  .yos-header__dropdown-menu {
    box-shadow: none;
    display: block;
    margin-top: .4rem;
    min-width: 0;
    padding: 0 0 0 .5rem;
    position: static;
    width: 100%;
  }
  .yos-header__dropdown-menu a { padding: .45rem .5rem; }
}

@media (max-width: 640px) {
  .yos-action-bar {
    bottom: max(10px, env(safe-area-inset-bottom));
    display: grid;
    gap: .3rem;
    grid-template-columns: 1fr 1fr;
    padding: .4rem;
    width: calc(100vw - 28px);
  }
  .yos-action-bar > a,
  .yos-action-bar__contact { flex: 1 1 0; font-size: .76rem; min-width: 0; }
  .yos-action-bar > a { min-height: 42px; padding: .4rem .45rem; }
  .yos-action-bar__contact a { min-width: 0; padding: .32rem .45rem; }
  .yos-action-bar__contact .yos-action-bar__detail { display: block; font-size: .59rem; overflow-wrap: anywhere; }
  .yos-action-bar__penny { grid-column: 1 / -1; }
  .yos-action-bar__icon { height: 18px; width: 18px; }
  body.has-yos-action-bar { padding-bottom: 118px; }
  .yos-page-exits { padding: 2.5rem 1.25rem; }
  .yos-page-exits__links { display: grid; grid-template-columns: 1fr 1fr; }
  .yos-page-exits__links a { text-align: center; }
}

/* Tablet portrait: keep the four-action dock inside the viewport. */
@media (min-width: 641px) and (max-width: 900px) {
  .yos-action-bar {
    gap: .35rem;
    max-width: calc(100vw - 32px);
    padding: .4rem;
    width: calc(100vw - 32px);
  }
  .yos-action-bar > a,
  .yos-action-bar__contact {
    flex: 1 1 0;
    min-width: 0;
  }
  .yos-action-bar > a,
  .yos-action-bar__contact a {
    font-size: .74rem;
    min-width: 0;
    padding: .38rem .45rem;
  }
  .yos-action-bar__detail {
    font-size: .6rem;
    overflow-wrap: anywhere;
  }
  .yos-action-bar__icon { flex-basis: 18px; height: 18px; width: 18px; }
}

.yos-footer-key-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  justify-content: center;
  margin: 0 auto 1.5rem;
  max-width: 1120px;
}
.yos-footer-key-links a { color: #a7adb8; font: 600 .84rem/1.4 Inter, system-ui, sans-serif; text-decoration: none; }
.yos-footer-key-links a:hover { color: #f97316; }
