/* The inner pages (pricing, FAQ, waitlist, privacy) in the home page's look. They keep their own
   markup and class names; this file styles those names with base.css's colours, type and buttons. */

.container {
  width: var(--page);
  margin-inline: auto;
  padding-top: calc(var(--nav-h) + 120px);
}

.ob-hero,
.ob-section--first {
  position: relative;
  padding-bottom: 24px;
}

/* A soft mint glow behind each page's title, like the home page's hero. */
.ob-hero::before,
.ob-section--first::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -10%;
  z-index: -1;
  width: min(900px, 120%);
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(108 240 200 / 0.12), transparent);
  pointer-events: none;
}

.heroTitle,
.legal h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.heroSub,
.ob-lead,
.legal .lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.ob-small,
.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.ob-hero .ob-small {
  max-width: 62ch;
  margin-top: 14px;
}

.muted {
  color: var(--dim);
}

a:not(.btn):not(.brand) {
  color: var(--accent);
  text-underline-offset: 3px;
}

.navlinks a:not(.btn),
.footer-links a:not(.btn) {
  color: inherit;
  text-decoration: none;
}

.navlinks a[aria-current="page"] {
  color: var(--text);
  background: rgb(255 255 255 / 0.06);
}

/* Undecided items: the same amber pill as the home page's tags. */
.guess {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border: 1px solid rgb(255 181 71 / 0.4);
  border-radius: 999px;
  color: var(--wait);
  font-family: var(--mono);
  font-size: 0.68rem;
  vertical-align: 0.15em;
  white-space: nowrap;
}

.ob-section {
  margin-top: clamp(64px, 10vh, 112px);
}

.ob-section h2,
.ob-faq h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

/* Pricing */
.ob-plans {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 7vh, 72px);
}

.ob-plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ob-plan--pick {
  border-color: rgb(108 240 200 / 0.35);
  background: radial-gradient(120% 80% at 0% 0%, rgb(108 240 200 / 0.13), transparent 60%), var(--surface);
  box-shadow: 0 0 100px -40px var(--accent-glow);
}

.ob-plan h2 {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ob-price {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ob-price small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ob-plan ul,
.legal ul.ticks {
  display: grid;
  gap: 12px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}

.ob-plan li,
.legal ul.ticks li {
  position: relative;
  padding-left: 28px;
}

/* A mint tick drawn with two borders, so the lists need no icon markup. */
.ob-plan li::before,
.legal ul.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35em;
  width: 6px;
  height: 11px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ob-plan .btn {
  align-self: flex-start;
  margin-top: auto;
}

.ob-note {
  max-width: 72ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* FAQ: groups of questions that open in place. */
.ob-faq {
  max-width: 860px;
  margin-top: 24px;
}

.ob-faq h2 {
  margin-top: 56px;
}

.ob-faq details {
  border-bottom: 1px solid var(--line);
}

.ob-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.12rem;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.ob-faq summary::-webkit-details-marker {
  display: none;
}

.ob-faq summary::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.45s var(--ease-out);
}

.ob-faq details[open] summary::after {
  transform: rotate(45deg);
}

.ob-faq summary:hover {
  color: var(--accent);
}

.ob-faq details p {
  max-width: 64ch;
  padding-bottom: 22px;
  color: var(--muted);
}

/* The waitlist form */
.ob-form {
  display: grid;
  gap: 18px;
  max-width: 580px;
  margin-top: 40px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.ob-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.ob-form input,
.ob-form select {
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-raised);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}

.ob-form input::placeholder {
  color: #7d8797;
}

.ob-form input:focus,
.ob-form select:focus {
  border-color: var(--accent);
  outline: 2px solid rgb(108 240 200 / 0.35);
  outline-offset: 1px;
}

.ob-form .btn {
  justify-self: start;
  margin-top: 6px;
}

.ob-placeholder {
  padding: 12px 14px;
  border: 1px solid rgb(255 181 71 / 0.35);
  border-radius: 12px;
  background: rgb(255 181 71 / 0.06);
  color: var(--wait);
  font-size: 0.92rem;
}

.ob-status {
  min-height: 1.4em;
  color: var(--muted);
}

/* The honeypot field: kept off-screen so people never see it; bots that fill every field do. */
.ob-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[data-thanks] {
  margin-top: 40px;
}

[data-thanks] .btn {
  margin-top: 18px;
}

/* The call to action at the foot of each page. */
.ob-cta {
  position: relative;
  overflow: hidden;
  margin: clamp(80px, 12vh, 140px) 0;
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid rgb(108 240 200 / 0.25);
  border-radius: var(--radius);
  background: radial-gradient(80% 120% at 50% 0%, rgb(108 240 200 / 0.12), transparent 70%), var(--surface);
  text-align: center;
}

.ob-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.ob-cta .ob-lead {
  margin: 16px auto 32px;
}

.heroCtas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ob-cta .heroCtas {
  justify-content: center;
}

/* Privacy */
.legal {
  max-width: 74ch;
  padding-bottom: 96px;
}

.legal h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.legal p,
.legal li {
  color: #c9d0db;
}

.legal p + p {
  margin-top: 12px;
}

.legal strong {
  color: var(--text);
}

.draft-note {
  margin-bottom: 40px;
  padding: 16px 18px;
  border: 1px solid rgb(255 181 71 / 0.35);
  border-radius: 12px;
  background: rgb(255 181 71 / 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .container {
    padding-top: calc(var(--nav-h) + 80px);
  }

  .ob-plans {
    grid-template-columns: 1fr;
  }

  /* Keep the title glow inside the page's side margin (16-24px here): at -10% / 120% it reached
     past the screen's right edge, so phones could scroll the page sideways by about 20px. */
  .ob-hero::before,
  .ob-section--first::before {
    left: -16px;
    width: calc(100% + 32px);
  }
}
