/* Public pricing page (.pub).

   Standalone dark document: it borrows the pack, perk and gem styling from
   app-pages.css by keeping the `.app` root class, but brings its own header
   and page frame because there is no signed-in shell here. */

.app.pub {
  display: block;
  min-height: 100vh;
  padding: 0;
  background: var(--ink, #0b0908);
}

/* ---- header ---- */

.pub__nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(11, 9, 8, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.pub__brand { display: block; flex-shrink: 0; text-decoration: none; }
/* Reuses the marketing header's logo tile, which already carries the crop. */
.pub__brand .topnav__logo { width: 116px; }

.pub__links {
  display: flex;
  gap: 26px;
  margin-right: auto;
}
.pub__links a {
  position: relative;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--hover) var(--ease);
}
.pub__links a:hover { color: var(--white); }
.pub__links a.is-on { color: var(--gold-bright); }
.pub__links a.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
}

.pub__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.pub__login {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.pub__login:hover { color: var(--white); }
.pub__cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  color: #1a1206;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--hover) var(--ease), box-shadow var(--hover) var(--ease);
}
.pub__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(201, 160, 99, 0.3); }

/* ---- page ---- */

.pub__main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 5vw 70px;
}

.pub__hero { text-align: center; margin-bottom: 40px; }
.pub__hero .buysub { max-width: 56ch; margin-left: auto; margin-right: auto; }

.pub__free {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201, 160, 99, 0.28);
  background: rgba(201, 160, 99, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.pub__free b { color: var(--gold-bright); font-weight: 600; }
.pub__free .icon { width: 15px; color: var(--gold-bright); }

.pub__packs { margin-top: 0; }

/* ---- the sign-in gate ---- */

.pub__gate {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 24px 26px;
  border-color: rgba(201, 160, 99, 0.22);
  background:
    radial-gradient(120% 160% at 88% -30%, rgba(201, 160, 99, 0.14), transparent 60%),
    linear-gradient(160deg, rgba(24, 20, 16, 0.6), rgba(11, 9, 8, 0.6));
}
.pub__gate-i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(201, 160, 99, 0.3);
  background: rgba(201, 160, 99, 0.1);
  color: var(--gold-bright);
}
.pub__gate-i .icon { width: 20px; }

.pub__gate-x { flex: 1; min-width: 0; }
.pub__gate-x h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  color: var(--cream);
}
.pub__gate-x p {
  margin: 8px 0 0;
  max-width: 64ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.pub__gate-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  flex-shrink: 0;
}
.pub__gate-cta .btn-gold { height: 44px; padding: 0 22px; }
.pub__gate-cta .icon { width: 15px; }
.pub__gate-alt {
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}
.pub__gate-alt:hover { color: var(--gold-bright); }

/* ---- FAQ ---- */

.pub__faq { margin-top: 46px; }
.pub__faq-t {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--cream);
}
.pub__faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 34px;
}
.pub__faq-item b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}
.pub__faq-item p {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.48);
}

.pub__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
}
.pub__foot a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.pub__foot a:hover { color: var(--gold-bright); }

@media (max-width: 1080px) {
  .app.pub .packgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pub__links { display: none; }
  .pub__gate { flex-wrap: wrap; }
  .pub__gate-cta { width: 100%; }
  .pub__faq-grid { grid-template-columns: 1fr; }
  .app.pub .packgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Create account extras (shares the .lgn frame) ---------------------- */

.lgn__brand .topnav__logo { width: 116px; }

.lgn__hint {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.32);
}

.lgn__err {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-style: normal;
  color: #e08a7c;
}
.lgn__err[hidden] { display: none; }
.lgn__input.is-bad { border-color: rgba(224, 138, 124, 0.6); }
.lgn__input.is-bad:focus { box-shadow: 0 0 0 3px rgba(224, 138, 124, 0.14); }

/* The eyebrow doubles as the "provider connected" confirmation. */
.lgn__eyebrow .icon { width: 13px; margin-left: 4px; vertical-align: -2px; color: #7fd3a0; }

/* "Use a different method" is a button, not a link, but reads as the same
   quiet back-affordance as the one below it. */
.lgn__back--btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  font-size: 12.5px;
}

/* The two signup steps sit inside wrapper divs, so `.lgn__form`'s column gap
   applies to the wrapper rather than the blocks within it — the sections ended
   up touching. Each step carries the same rhythm itself. */
[data-signupstep] {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
[data-signupstep][hidden] { display: none; }
/* The sign-in link belongs to the button above it, not to the next block. */
[data-signupstep] .lgn__alt { margin-top: -8px; }
