html:has(body > .site-masthead), body:has(> .site-masthead) {
  margin: 0;
  background-color: #121018;
}
.site-masthead, .penny-footer {
  box-sizing: border-box;
  background: #121018;
  color: #fff2e6;
  font: 1rem/1.5 system-ui, sans-serif;
}
.site-masthead *, .penny-footer * { box-sizing: border-box; }
.site-masthead { position: relative; z-index: 40; }
.site-masthead .navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding: .7rem max(1rem, 5vw);
  padding-top: max(.7rem, env(safe-area-inset-top));
  border-bottom: 1px solid #b99a5a66;
  background: #121018;
}
.site-masthead a, .penny-footer a { color: #f2d4ac; text-decoration: none; }
.site-masthead a:hover, .penny-footer a:hover { text-decoration: underline; }
.site-masthead .wordmark { font: 600 clamp(1.05rem, 4.2vw, 1.8rem)/1 Georgia, serif; color: #fff2e6; white-space: nowrap; }
.site-masthead .wordmark em { color: #ffb7d8; }
.site-masthead .name-hover { display: none; }
.site-masthead .nav-controls { display: flex; flex-flow: row wrap; align-items: center; gap: .5rem; }
.site-masthead :is(.nav-controls a, .menu, .nav-drop-toggle) { min-height: 44px; }
.site-masthead .nav-controls a { display: inline-flex; align-items: center; padding: .3rem .45rem; font-size: .85rem; white-space: nowrap; }
.site-masthead .home-sign-in { color: #fff2e6; font-weight: 700; }
.site-masthead :is(.menu, .nav-drop-toggle) { color: #f2d4ac; background: transparent; border: 1px solid #b99a5a66; cursor: pointer; }
.site-masthead .menu { display: inline-block; padding: .3rem .55rem; }
.site-masthead #navigation { display: none; }
.site-masthead #navigation.open {
  display: flex; position: absolute; flex-direction: column; align-items: stretch;
  inset: 100% 0 auto; max-height: 74dvh; overflow: auto;
  gap: .85rem; padding: 1rem max(1rem, 5vw); background: #261420;
}
.site-masthead .nav-drop { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.site-masthead .nav-drop-toggle { min-width: 44px; border: 0; }
.site-masthead .nav-sub { display: none; position: static; flex: 1 0 100%; padding: .75rem; background: #261420; }
.site-masthead .drop-open > .nav-sub { display: grid; gap: .6rem; }
.penny-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 2rem max(1rem, 5vw); border-top: 1px solid #b99a5a66; }
.penny-footer :is(.penny-help-links, .newsletter-footer, .brand-equation, .footer-credit) { grid-column: 1 / -1; }
.penny-footer :is(.footer-links, .footer-voice) { display: grid; gap: .4rem; justify-items: start; }
.penny-footer .penny-help-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.penny-footer .brand-equation { min-width: 0; container-type: inline-size; }
.penny-footer .brand-equation span { display: block; color: #e8bed3; }
.penny-footer .brand-equation .brand-equation-line { white-space: nowrap; font: 500 min(1.15rem, 3.2cqi)/1.45 system-ui, sans-serif; color: #fff2e6; }
.penny-footer :is(.footer-heading, .wordmark) { color: #ffb7d8; font: 1.35rem Georgia, serif; }
.penny-footer .footer-credit { margin: 0; font-size: .875rem; }
.penny-footer .newsletter-form { display: grid; gap: .65rem; }
.penny-footer .newsletter-form input[type=email] { max-width: 100%; }
.penny-footer .newsletter-honey { display: none; }
@media (min-width: 48rem) { .penny-footer { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .site-masthead .navbar { flex-wrap: nowrap; }
  .site-masthead .menu { display: none; }
  .site-masthead #navigation, .site-masthead #navigation.open { display: flex; position: static; flex-direction: row; align-items: center; gap: clamp(.5rem, 1.4vw, 1.35rem); padding: 0; background: transparent; overflow: visible; }
  .site-masthead .nav-sub { position: absolute; top: 100%; left: 0; min-width: 15rem; z-index: 1; }
}

/* Keep the glyph proportional to its label while preserving the tap target. */
span.invite-arrow {
  display: inline-flex;
  flex: none;
  width: 1em;
  height: 1em;
  font-size: inherit !important;
  line-height: 1;
  align-items: center;
  vertical-align: -.12em;
}
svg.penny-arrow-vector {
  display: inline-block;
  width: 1em !important;
  height: 1em !important;
  flex: none;
  vertical-align: -.12em;
}

.penny-footer .newsletter-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  padding: clamp(1rem, 3vw, 2rem) 0 2rem;
  border-bottom: 1px solid #b99a5a66;
}
.penny-footer .newsletter-footer .eyebrow {
  color: #f2d4ac;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.penny-footer .newsletter-footer h2 {
  margin: .45rem 0 .75rem;
  font: 500 clamp(1.9rem, 4vw, 3.2rem)/1.1 Georgia, serif;
}
.penny-footer .newsletter-footer h2 em { color: #ffb7d8; }
.penny-footer .newsletter-footer p { max-width: 55ch; }
.penny-footer .newsletter-form > label { display: block; }
.penny-footer .newsletter-form > .newsletter-honey { display: none; }
.penny-footer .newsletter-form input[type=email] {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: .4rem;
  padding: .65rem .8rem;
  border: 1px solid #b99a5a;
  border-radius: .35rem;
  background: #261420;
  color: #fff2e6;
  font: inherit;
}
.penny-footer .newsletter-form input::placeholder { color: #e8bed3; }
.penny-footer .newsletter-consent { font-size: .9rem; }
.penny-footer .newsletter-consent input { accent-color: #f2d4ac; }
.penny-footer .newsletter-privacy { margin: .2rem 0; color: #e8bed3; font-size: .8rem; }
.penny-footer .newsletter-form button {
  justify-self: start;
  min-height: 44px;
  padding: .65rem 1.15rem;
  border: 1px solid #f2d4ac;
  border-radius: 999px;
  background: #f2d4ac;
  color: #261420;
  font: 650 .9rem/1.35 system-ui, sans-serif;
  cursor: pointer;
}
.penny-footer .newsletter-form :focus-visible { outline: 2px solid #ffb7d8; outline-offset: 3px; }
.penny-footer .newsletter-status:empty { display: none; }
@media (min-width: 48rem) {
  .penny-footer .newsletter-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.site-masthead button.home-sign-in {
  appearance: none;
  min-height: 44px;
  background: transparent;
  border: 0;
  padding: .3rem .45rem;
  font: 700 .85rem/1.5 system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.site-masthead button.home-sign-in:hover { text-decoration: underline; }

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(.3rem, 1.5vw, .85rem);
  color: #f2d4ac;
  white-space: nowrap;
}

.portal-brand img {
  display: block;
  width: clamp(5.5rem, 22vw, 9rem);
  height: auto;
}

.portal-penny-speaks {
  color: #fff2e6;
  font: 600 clamp(.9rem, 3vw, 1.3rem)/1 Georgia, serif;
}

.portal-penny-speaks em { color: #ffb7d8; }
.portal-footer .portal-footer-brand { grid-column: 1 / -1; justify-self: start; }

.penny-footer.portal-footer {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding-block: clamp(1.25rem, 3vw, 2rem);
}
.portal-footer .brand-equation span { margin: 0; }
.portal-footer .footer-voice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
}
.portal-footer .footer-voice p { margin: 0; }
.portal-footer .portal-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.4rem;
}
.portal-footer .portal-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0;
}
.portal-footer .footer-credit {
  padding-top: .75rem;
  border-top: 1px solid #b99a5a44;
}
@media (min-width: 62rem) {
  .penny-footer.portal-footer { grid-template-columns: minmax(0, 1fr) auto; }
  .portal-footer .portal-footer-brand,
  .portal-footer .penny-help-links { grid-column: auto; align-self: center; }
  .portal-footer .penny-help-links { justify-content: end; }
  .portal-footer .portal-footer-links { justify-content: end; }
}
