/* VapeEnd help centre: the studio's paper and type, the app's own mark. Loaded after /assets/style.css. */

.help { width: min(1000px, 100% - 48px); margin: 0 auto; padding: 136px 0 40px; }
/* the studio gives every section in <main> its own width; here they share the page's left edge */
.help > section:not(.hero) { width: auto; margin-inline: 0; }

/* the app lockup: the real icon, bare, breathing at the pace of the app's SOS exercise */
.app-head { display: flex; align-items: center; gap: 22px; }
.app-icon {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 17px;
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { transform: scale(1); } 45%, 55% { transform: scale(1.045); } }
.app-head h1 { margin: 0; font: 400 clamp(40px, 5vw, 58px)/1 var(--display); letter-spacing: -.005em; }
.app-head h1 span { display: block; margin-top: 8px; font-size: .46em; font-style: italic; color: var(--ink-2); letter-spacing: 0; }
.app-sub { margin: 28px 0 0; max-width: 48ch; color: var(--ink-2); font-size: 19px; text-wrap: pretty; }

.help h2 { margin: 96px 0 32px; font: 400 clamp(28px, 3vw, 38px)/1.15 var(--display); scroll-margin-top: 96px; }
.help .rows { gap: 30px; }
.help .rows dt { font-size: 21px; line-height: 1.35; }
.help .rows dt a { color: inherit; }
.help .rows dt a:hover { color: var(--ink); }
.help .rows dd { max-width: 56ch; text-wrap: pretty; }

.help .ledger { margin-top: 104px; scroll-margin-top: 96px; }
.help .ledger h2 { margin: 0 0 36px; }
.help .ledger p { text-wrap: pretty; }

/* active page in the nav: a tonal shift, nothing bolted on */
.nav .nav-app { color: var(--tone); }
.nav a[aria-current="page"] { color: var(--ink); }

.doc p, .doc li { text-wrap: pretty; }

@media (max-width: 760px) {
  .help { padding-top: 112px; }
  .app-head { gap: 16px; }
  .app-icon { width: 64px; height: 64px; border-radius: 14px; }
  .help h2 { margin-top: 72px; }
  .help .ledger { margin-top: 80px; }
}
