/* Public marketing pages. Display type is reserved for these surfaces. */

body.pub {
  background: var(--paper);
}

.pub-hero {
  background: #141210;
  color: #fbf7ef;
  padding: clamp(72px, 10vw, 128px) var(--m) clamp(64px, 8vw, 112px);
}

.pub-hero-in,
.pub-narrow {
  max-width: 880px;
  margin-inline: auto;
}

.pub-kicker {
  margin: 0 0 18px;
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.pub-hero h1 {
  max-width: 12ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-display);
  line-height: var(--lh-display);
  letter-spacing: -0.025em;
  color: #fbf7ef;
}

.pub-hero .lede {
  max-width: 38em;
  margin-top: 28px;
  font: 400 clamp(18px, 1.5vw, 22px)/1.45 var(--sans);
  color: #e4d8c4;
}

.pub-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 40px;
}

.pub-cta .btn {
  height: 48px;
  padding: 0 22px;
  font-size: 16px;
}

.pub-cta .txt {
  color: #fbf7ef;
  font: 600 16px/1 var(--sans);
  text-underline-offset: 4px;
}

.pub-section {
  max-width: var(--frame);
  margin-inline: auto;
  padding: clamp(64px, 8vw, 112px) var(--m);
}

.pub-section h2,
.pub-read h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.pub-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.pub-split p + p,
.pub-read p + p,
.essay p + p {
  margin-top: 16px;
}

.pub-split p,
.pub-read p,
.essay p,
.price p,
.faq dd {
  font: 400 18px/1.55 var(--sans);
  color: var(--ink-2);
  max-width: 62ch;
}

.pub-band {
  background: var(--stone);
  border-block: 1px solid var(--line);
}

.pub-sec-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.pub-sec-h h2 {
  margin: 0;
}

.pub-sec-h .meta,
.essay .meta,
.tape-mv span {
  font: 500 13px/1.4 var(--sans);
  color: var(--muted);
}

.tape-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.tape-cell {
  background: var(--paper);
  border-radius: var(--r-panel);
  padding: 16px 16px 18px;
  min-width: 0;
}

.tape-name {
  font: 600 14px/1.3 var(--sans);
  color: var(--ink);
}

.tape-sym {
  margin-top: 4px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tape-lvl {
  margin-top: 14px;
  font: 500 28px/1 var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.tape-mv {
  margin-top: 8px;
  font: 500 14px/1 var(--mono);
  font-variant-numeric: tabular-nums;
}

.tape-mv.up { color: var(--up); }
.tape-mv.down { color: var(--down); }
.tape-mv span { margin-left: 6px; font-family: var(--sans); }

.essay {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 68ch;
}

.essay h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.essay h3 a {
  color: inherit;
  text-decoration: none;
}

.essay h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.essay .more {
  display: inline-block;
  margin-top: 18px;
  color: var(--bronze-f);
  font: 600 16px/1 var(--sans);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.price {
  background: var(--stone);
  border-radius: var(--r-panel);
  padding: 32px 32px 28px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.price-desk {
  background: var(--paper);
  outline: 1px solid var(--ink);
}

.price-free {
  background: var(--paper);
  outline: 1.5px solid var(--ink);
  box-shadow: 0 16px 36px rgba(28, 26, 23, 0.08);
}

.price-lead {
  margin: 0;
  max-width: 28em;
  font: 500 20px/1.3 var(--serif);
  color: var(--ink);
}

.price h2 {
  font-size: 32px;
}

.price-amt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 4px;
}

.price-amt .num {
  font: 500 64px/0.95 var(--serif);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-amt .per,
.price-now {
  font: 500 15px/1.4 var(--sans);
  color: var(--muted);
}

.price ul {
  margin: 8px 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.price li {
  padding-left: 16px;
  position: relative;
  font: 400 16px/1.45 var(--sans);
}

.price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--bronze);
}

.price .btn {
  width: fit-content;
  margin-top: auto;
  height: 44px;
  padding: 0 18px;
}

.faq {
  margin-top: 64px;
  max-width: 760px;
  display: grid;
  gap: 28px;
}

.faq h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.faq dt {
  font: 600 17px/1.4 var(--sans);
  margin-bottom: 6px;
}

.pub-read {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--m) clamp(72px, 9vw, 120px);
}

.pub-read h1 {
  margin-bottom: 28px;
}

.pub-read h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.2;
}

.pub-read .motto-line {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .tape-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .pub-split,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .pub-hero {
    padding: 56px var(--m) 48px;
  }
  .pub-hero h1 {
    max-width: none;
  }
  .tape-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .price-amt .num {
    font-size: 52px;
  }
}

@media (max-width: 700px) {
  body.pub .bar-act .btn {
    display: none;
  }
  body.pub .bar .mark {
    width: auto;
    height: 20px;
  }
}

@media (max-width: 420px) {
  .tape-row {
    grid-template-columns: 1fr;
  }
  .pub-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
