/* Pillowbook SEO hub */
:root {
  --pb-paper: #131017;
  --pb-paper-deep: #0b0810;
  --pb-ink: #f2e9d4;
  --pb-text: #c9bfa8;
  --pb-muted: #8a8170;
  --pb-rule: rgba(242, 233, 212, 0.11);
  --pb-rule-soft: rgba(242, 233, 212, 0.07);
  --pb-card: #1a1620;
  --pb-card-strong: #17131d;
  --pb-accent: #e0ae71;
  --pb-accent-dark: #f0c48a;
  --pb-night: #0b0810;
}

body.pb-body {
  background: var(--pb-paper);
  color: var(--pb-ink);
}

.pb-body,
.pb-body .nav-logo,
.pb-body .nav-links a,
.pb-body .footer-logo,
.pb-body .footer-links a,
.pb-body .footer-legal a,
.pb-body .footer-copy {
  color: var(--pb-ink);
}

.pb-body .divider,
.pb-body .footer-divider {
  background: var(--pb-rule);
}

.pb-body .nav-toggle span {
  background: var(--pb-ink);
}

.pb-body .nav-links a.active,
.pb-body .nav-links a:hover,
.pb-body .footer-links a:hover,
.pb-body .footer-legal a:hover {
  color: var(--pb-accent);
}

.pb-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

.pb-crumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 34px auto 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pb-muted);
}

.pb-crumbs a {
  color: var(--pb-accent);
}

.pb-crumbs span {
  color: var(--pb-muted);
}

.pb-label {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pb-accent);
  font-weight: 600;
}

.pb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 56px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 74px;
}

.pb-hero--simple {
  display: block;
  max-width: 820px;
}

.pb-kicker-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}

.pb-pill {
  border: 1px solid var(--pb-rule);
  color: var(--pb-muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  background: rgba(242, 233, 212, 0.04);
}

.pb-hero h1,
.pb-section h2,
.pb-article h1,
.pb-article h2,
.pb-article h3,
.pb-card h2,
.pb-card h3,
.pb-cta h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--pb-ink);
}

.pb-hero h1,
.pb-article h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  margin: 0;
  max-width: 900px;
}

.pb-hero p,
.pb-article .pb-intro {
  font-size: 19px;
  line-height: 1.7;
  color: var(--pb-text);
  font-weight: 300;
  margin: 24px 0 0;
  max-width: 700px;
}

.pb-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.pb-button,
.pb-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pb-button {
  background: var(--pb-accent);
  color: var(--pb-night);
  padding: 0 22px;
  border: 1px solid var(--pb-accent);
}

.pb-button:hover {
  background: var(--pb-ink);
  border-color: var(--pb-ink);
  color: var(--pb-night);
}

.pb-button--ghost {
  background: rgba(242, 233, 212, 0.04);
  color: var(--pb-ink);
  border-color: var(--pb-rule);
}

.pb-button--ghost:hover {
  background: rgba(242, 233, 212, 0.1);
  border-color: var(--pb-accent);
  color: var(--pb-ink);
}

.pb-text-link {
  color: var(--pb-accent);
  border-bottom: 1px solid var(--pb-rule);
  border-radius: 0;
  min-height: 0;
  padding: 12px 0 8px;
}

.pb-hero-media {
  position: relative;
}

.pb-hero-media img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--pb-rule);
  box-shadow:
    0 50px 90px -45px rgba(0, 0, 0, 0.75),
    0 24px 70px -48px rgba(224, 174, 113, 0.55);
}

.pb-hero-note {
  margin-top: 14px;
  color: var(--pb-muted);
  font-size: 13px;
  line-height: 1.6;
}

.pb-section {
  padding: 74px 0;
  border-top: 1px solid var(--pb-rule);
}

.pb-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.pb-section h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 12px 0 0;
}

.pb-section-lede {
  color: var(--pb-text);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 700px;
}

.pb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pb-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pb-card {
  background: var(--pb-card);
  border: 1px solid var(--pb-rule);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 24px 70px -58px rgba(0, 0, 0, 0.9);
}

.pb-card h2,
.pb-card h3 {
  font-size: 24px;
  line-height: 1.18;
  margin: 8px 0 10px;
}

.pb-card p,
.pb-card li {
  color: var(--pb-text);
  line-height: 1.65;
  font-size: 15px;
}

.pb-card ul,
.pb-checklist,
.pb-prompt-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pb-card li,
.pb-checklist li,
.pb-prompt-list li {
  border-top: 1px solid var(--pb-rule);
  padding: 12px 0;
}

.pb-card li:first-child,
.pb-checklist li:first-child,
.pb-prompt-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.pb-card a,
.pb-article a {
  color: var(--pb-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.pb-story-panel {
  background: var(--pb-night);
  color: #f7eddc;
  border-radius: 8px;
  padding: 34px;
  border: 1px solid var(--pb-rule);
}

.pb-story-panel p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 23px;
  line-height: 1.65;
  color: #f7eddc;
  margin: 18px 0 0;
}

.pb-story-panel .pb-label {
  color: #d7ad79;
}

.pb-waitlist {
  margin-top: 30px;
  max-width: 540px;
}

.pb-waitlist-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--pb-rule);
  border-radius: 8px;
  overflow: hidden;
  background: var(--pb-card);
}

.pb-waitlist-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 17px 16px;
  color: var(--pb-ink);
  font: inherit;
}

.pb-waitlist-input::placeholder {
  color: var(--pb-muted);
}

.pb-waitlist-input:focus {
  outline: 2px solid rgba(224, 174, 113, 0.34);
  outline-offset: -2px;
}

.pb-waitlist-btn {
  align-self: stretch;
  border: 0;
  background: var(--pb-accent);
  color: var(--pb-night);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.pb-waitlist-btn:hover {
  background: var(--pb-ink);
}

.pb-waitlist-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pb-waitlist-hint,
.pb-waitlist-msg {
  color: var(--pb-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}

.pb-waitlist-msg.error {
  color: #e89595;
}

.pb-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 64px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 80px;
}

.pb-article {
  min-width: 0;
}

.pb-article h1 {
  margin-top: 18px;
}

.pb-article h2 {
  font-size: 34px;
  line-height: 1.18;
  margin: 54px 0 14px;
}

.pb-article h3 {
  font-size: 25px;
  line-height: 1.2;
  margin: 34px 0 12px;
}

.pb-article p,
.pb-article li {
  color: var(--pb-text);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 300;
}

.pb-article p {
  margin: 0 0 18px;
}

.pb-article ul,
.pb-article ol {
  margin: 18px 0 24px;
  padding-left: 22px;
}

.pb-article ul {
  list-style: disc;
}

.pb-article ol {
  list-style: decimal;
}

.pb-article li {
  margin: 8px 0;
}

.pb-aside {
  position: sticky;
  top: 24px;
}

.pb-aside-card {
  background: var(--pb-card-strong);
  border: 1px solid var(--pb-rule);
  border-radius: 8px;
  padding: 22px;
}

.pb-aside-card h2 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 12px;
}

.pb-aside-card a {
  display: block;
  color: var(--pb-accent);
  border-top: 1px solid var(--pb-rule);
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.45;
}

.pb-aside-card a:first-of-type {
  border-top: 0;
}

.pb-faq {
  margin-top: 44px;
  border-top: 1px solid var(--pb-rule);
}

.pb-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--pb-rule);
}

.pb-faq-q {
  margin: 0 0 8px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 23px;
  line-height: 1.25;
  color: var(--pb-ink);
}

.pb-faq-a {
  margin: 0;
  color: var(--pb-text);
  font-size: 16px;
  line-height: 1.7;
}

.pb-cta {
  margin-top: 56px;
  background: var(--pb-night);
  color: var(--pb-ink);
  border-radius: 8px;
  padding: 34px;
  border: 1px solid var(--pb-rule);
}

.pb-cta h2 {
  color: var(--pb-ink);
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.pb-cta p {
  color: var(--pb-text);
  margin-bottom: 22px;
}

.pb-cta .pb-button {
  background: var(--pb-accent);
  color: var(--pb-night);
  border-color: var(--pb-accent);
}

.pb-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pb-index-card {
  min-height: 220px;
}

.pb-index-card a {
  text-decoration: none;
}

.pb-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pb-resource-section {
  background: var(--pb-card);
  border: 1px solid var(--pb-rule);
  border-radius: 8px;
  padding: 26px;
}

.pb-resource-section h2 {
  margin-top: 0;
}

.pb-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pb-checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid var(--pb-accent);
  border-radius: 4px;
  margin-top: 6px;
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .pb-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pb-hero,
  .pb-article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pb-hero {
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .pb-grid,
  .pb-grid--two,
  .pb-index-list,
  .pb-resource-grid {
    grid-template-columns: 1fr;
  }

  .pb-aside {
    position: static;
  }

}

@media (max-width: 620px) {
  .pb-crumbs {
    margin-top: 22px;
    font-size: 11px;
  }

  .pb-section {
    padding: 52px 0;
  }

  .pb-waitlist-row,
  .pb-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pb-waitlist-btn {
    min-height: 48px;
  }

  .pb-button,
  .pb-text-link {
    width: 100%;
  }

  .pb-article p,
  .pb-article li {
    font-size: 16px;
  }
}
