/* ===== brand + polish layer ===== */
:root {
  --sec: 88px;
}
/* logo */
.logo svg {
  display: block;
  height: 30px;
  width: auto;
  color: var(--flame);
}
/* nav bird indicator */
.tabs {
  position: relative;
}
.navbird {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 22px;
  height: 22px;
  transition: transform 0.5s cubic-bezier(0.45, 1.5, 0.5, 1);
  pointer-events: none;
  color: var(--bird);
}
.navbird svg {
  display: block;
  width: 100%;
  height: 100%;
}
.navbird.hop svg {
  animation: hop 0.5s ease-out;
}
@keyframes hop {
  40% {
    transform: translateY(-12px) rotate(-8deg);
  }
}
.tabs a[aria-current] {
  border-color: transparent;
}
.tabs a {
  position: relative;
}
.tabs a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--flame);
}
/* page change */
@media (prefers-reduced-motion: no-preference) {
  .page.on {
    animation: pageIn 0.4s ease-out;
  }
  @keyframes pageIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
  }
}
/* readable buttons on orange (white text needs a deeper orange for 4.5:1) */
.btn-flame,
.down,
.lc .cta,
.mpub,
.toast,
.chips b,
.cloud span:nth-child(3n + 1),
.jstep i,
.step i {
  background: var(--flame-btn);
}
.btn-flame:hover {
  background: #b8361a;
}
/* readable text on orange and blue: large + semibold */
.hero .intro,
.hx-cmp .intro,
.hx-safe .intro {
  font-weight: 600;
  color: inherit;
  opacity: 1;
}
.hero .intro {
  color: var(--paper);
}
.launch {
  font-size: 19px;
  font-weight: 600;
  opacity: 1;
}
.after {
  font-size: 19px;
  font-weight: 600;
  opacity: 1;
}
.safe .lead {
  font-weight: 600;
  opacity: 1;
}
.t3 {
  background: rgba(20, 20, 20, 0.18);
}
.t3 span {
  opacity: 1;
}
/* spacing scale */
.sec {
  padding: var(--sec) 0;
}
.ditch {
  padding: var(--sec) 0 24px;
}
.panels {
  padding: 8px 0;
}
.panel {
  margin: 24px 0;
}
.founders {
  padding: var(--sec) 0 32px;
}
.statement {
  padding: var(--sec) 0 32px;
}
.hx .wrap {
  padding-top: 72px;
  padding-bottom: var(--sec);
}
/* Photo slots: set style="background-image:url(images/photo.jpg)" on .ph to drop in a real photo */
.bwphoto {
  position: relative;
  z-index: 1;
  margin: 0;
  transform: rotate(var(--r, 0deg));
}
.bwphoto .ph {
  aspect-ratio: 4/5;
  border-radius: 6px;
  background: var(--img, linear-gradient(160deg, #d6d6d6, #8a8a8a 60%, #5f5f5f))
    center/cover;
  filter: contrast(1.05);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 30px 60px -30px rgba(20, 20, 20, 0.5);
}
.bwphoto figcaption {
  margin-top: 10px;
  font-weight: 600;
  font-size: 15px;
}
.bwphoto .rib {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% - 34px);
  pointer-events: none;
}
.founders .bwphoto {
  width: 300px;
}
.pbird {
  position: absolute;
  width: 96px;
  right: -30px;
  top: -64px;
  overflow: visible;
}
.pstrip {
  padding: 24px 0 var(--sec);
}
.prow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.prow .riball {
  position: absolute;
  left: -4%;
  top: 12%;
  width: 108%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
}
/* bird props render outside the 407x411 box */
.perch,
.ebird,
.sbird,
.mbird,
.pbird,
.fbird {
  overflow: visible;
}
/* footer */
footer {
  background: #141414;
  padding: 72px 0 28px;
  overflow: hidden;
}
.ftag {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--paper);
}
.fbig {
  position: relative;
  margin-top: 56px;
}
.flogo {
  display: block;
  width: 100%;
  height: auto;
  color: var(--flame);
  position: relative;
  z-index: 1;
}
.fribbon {
  position: absolute;
  left: -10%;
  top: -20%;
  width: 120%;
  height: 140%;
}
.fbird {
  position: absolute;
  z-index: 2;
  width: 8%;
  right: 0.4%;
  bottom: 18.5%;
  color: var(--flame);
}
.fbot {
  margin-top: 32px;
}
/* "Soon" tag on features that don't exist yet */
.soon,
.page b .soon,
.page h2 .soon,
.page h3 .soon {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--lemon);
  color: var(--deep);
  font: 700 12px/1.5 Poppins, system-ui, sans-serif;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
}
