/* The public top bar (templates/_topbar.html). Brand: white ground, black ink, Oxygen small capitals for navigation,
   the dark sage accent on hover, hairline rules, the DeepEarth lockup (simulation docs/BRAND.md). */
.tb{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);border-bottom:1px solid transparent;
  font-family:'Oxygen',system-ui,sans-serif;-webkit-font-smoothing:antialiased;transition:border-color .25s ease}
.tb.scrolled,.tb.open{border-bottom-color:#e5e5e5}
.tb-in{max-width:1168px;margin:0 auto;height:64px;padding:0 24px;display:flex;align-items:center;gap:16px}
.tb-brand{flex:0 0 auto;display:block;line-height:0}
.tb-brand img{height:30px;width:auto}
.tb-nav{margin-left:auto}
.tb-links{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0}
.tb .tb-links a,.tb .tb-sub-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 11px;font:400 .7rem/1 'Oxygen',system-ui,sans-serif;
  letter-spacing:.16em;text-transform:uppercase;color:#000;text-decoration:none;background:none;border:0;cursor:pointer;white-space:nowrap}
.tb .tb-links a:hover,.tb .tb-links a:focus-visible,.tb .tb-sub-btn:hover,.tb .tb-sub-btn:focus-visible{color:#6e7355;outline:none}
.tb .tb-links a[aria-current="page"],.tb .tb-sub-btn[aria-current="page"]{text-decoration:underline dotted;text-underline-offset:.5em}
.tb-sub-btn svg{width:9px;height:6px;fill:none;stroke:currentColor;stroke-width:1.3;transition:transform .2s ease}
.tb-has{position:relative}
.tb-sub{position:absolute;top:calc(100% + 4px);left:0;min-width:230px;margin:0;padding:6px 0;list-style:none;background:#fff;
  border:1px solid #e5e5e5;border-radius:2px;display:none}
.tb-has.open .tb-sub{display:block}
.tb-has.open .tb-sub-btn svg{transform:rotate(180deg)}
@media(hover:hover) and (min-width:1101px){.tb-has:hover .tb-sub{display:block}}
.tb .tb-sub a{display:block;padding:10px 16px;font:300 .92rem/1.3 'Oxygen',system-ui,sans-serif;letter-spacing:.01em;text-transform:none}
.tb .tb-sub a:hover,.tb .tb-sub a:focus-visible{background:#f3f1e7;color:#000}
.tb-phone{display:none}
.tb-acts{flex:0 0 auto;display:flex;align-items:center;gap:6px}
.tb .tb-signin{padding:10px 12px;font:400 .7rem/1 'Oxygen',system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#000;text-decoration:none}
.tb .tb-signin:hover,.tb .tb-signin:focus-visible{color:#6e7355;outline:none}
.tb .tb-start{display:inline-flex;align-items:center;padding:.85rem 1.25rem;border-radius:999px;background:#000;color:#fff;border:1px solid #000;
  font:400 .62rem/1 'Oxygen',system-ui,sans-serif;letter-spacing:.24em;text-indent:.24em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.tb .tb-start:hover,.tb .tb-start:focus-visible{background:#333;border-color:#333;outline:none}
.tb-menu{display:none;width:40px;height:40px;padding:11px 9px;margin-right:-8px;background:none;border:0;cursor:pointer;flex-direction:column;justify-content:space-between}
.tb-menu span{display:block;height:1.3px;background:#000;transition:transform .2s ease,opacity .2s ease}
.tb.open .tb-menu span:nth-child(1){transform:translateY(7.6px) rotate(45deg)}
.tb.open .tb-menu span:nth-child(2){opacity:0}
.tb.open .tb-menu span:nth-child(3){transform:translateY(-7.6px) rotate(-45deg)}

/* the way back to the audience page a visitor arrived on */
.tb-back{display:flex;align-items:center;justify-content:center;gap:10px;padding:7px 44px;background:#f3f1e7;border-top:1px solid #e5e5e5;position:relative;
  font:300 .86rem/1.35 'Oxygen',system-ui,sans-serif}
.tb-back[hidden]{display:none}
.tb .tb-back a{color:#000;text-decoration:underline dotted;text-underline-offset:.16em}
.tb-back button{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;background:none;
  font-size:1.2rem;line-height:1;color:#555;cursor:pointer}

/* phones and narrow windows: the six items fold into a menu; the trial button stays in view */
@media(max-width:1100px){
  .tb-menu{display:flex}
  .tb .tb-signin{display:none}
  .tb-acts{margin-left:auto}
  .tb-nav{position:absolute;top:64px;left:0;right:0;background:#fff;border-bottom:1px solid #e5e5e5;display:none;
    max-height:calc(100vh - 64px);overflow-y:auto}
  .tb.open .tb-nav{display:block}
  .tb-links{flex-direction:column;align-items:stretch;padding:6px 0 14px}
  .tb .tb-links a,.tb .tb-sub-btn{padding:15px 24px;font-size:.74rem;width:100%}
  .tb-sub-btn{justify-content:space-between}
  .tb-sub{position:static;border:0;padding:0 0 6px 12px;min-width:0}
  .tb .tb-sub a{padding:11px 24px}
  .tb-phone{display:block;border-top:1px solid #e5e5e5;margin-top:6px}
}
@media(max-width:420px){
  .tb-in{padding:0 16px;gap:10px}
  .tb-brand img{height:26px}
  .tb .tb-start{padding:.8rem .95rem;letter-spacing:.16em;text-indent:.16em}
}
@media(prefers-reduced-motion:reduce){.tb,.tb-menu span,.tb-sub-btn svg{transition:none}}
/* the audience item: only for a visitor sent to an audience page (topbar.js) */
.tb .tb-links .tb-aud a{color:#6e7355}
.tb .tb-links .tb-aud a:hover,.tb .tb-links .tb-aud a:focus-visible{color:#000}
.tb-links li[hidden]{display:none}
