/*
 * sapling-ds.css — shared page furniture for sapling.ai.
 *
 * Loaded from base.html and base2.html AFTER main.css / main2.css, so the
 * rules here win over the site-wide globals at equal specificity. Page-level
 * <style> blocks come later still and can override anything below.
 *
 * WHY THIS FILE EXISTS
 * --------------------
 * Both main.css and main2.css carry two rules that quietly break Bootstrap
 * buttons everywhere:
 *
 *   .btn { border: 0 }              strips the border off .btn-outline-*, so
 *                                   outline buttons render as bare text and
 *                                   only look like buttons on :hover.
 *   a.btn.bg-sapling { ... }        pins border-radius and padding at
 *                                   specificity 0,2,1 — a page-level single
 *                                   class (0,1,0) loses, so a filled button
 *                                   and its outline sibling render at
 *                                   different radii and heights.
 *
 * Rather than escalate specificity page by page, .s-btn below is standalone:
 * it does not use .btn or .bg-sapling at all, so the globals can't reach it.
 * Do not add those classes back to an .s-btn element.
 *
 * NAMING: everything here is prefixed `s-`. Page-specific styling stays in the
 * page's own <style> block.
 */

/* ---------------------------------------------------------------------------
 * Page shell
 * ------------------------------------------------------------------------- */
.s-page {
  color: var(--ds-ink);
  /* editor.css redefines .full-width-container — which base2.html wraps the
     content block in — as `display:flex; flex-direction:column;
     align-items:center`. In a column flexbox that shrink-wraps children, so
     full-bleed sections would render only as wide as their text. Any page
     loading editor.css (grammar-check, the AI detector, the utility tools)
     needs this; it's a no-op everywhere else. */
  width: 100%;
  align-self: stretch;
}
.s-hero,
.s-section,
.s-strip {
  width: 100%;
}

/* Defensive, and pre-existing bugs rather than refresh regressions: the
   `street-cred` customer logo has no max-width, so it pushed /pricing and the
   utility pages into horizontal scroll on a 320px viewport. Scoped rather than
   a blanket `img { max-width: 100% }`, which would disturb the fixed-height
   integration logos elsewhere. */
.street-cred img {
  max-width: 100%;
  height: auto;
}
.s-page h1,
.s-page h2,
.s-page h3 {
  font-family: var(--ds-font-display);
}
/* Bootstrap's default inline `code` is hot pink (#e83e8c), which fights the
   navy/indigo palette. Dark-background code contexts re-assert below at higher
   specificity so this base rule doesn't win over them. */
.s-page code {
  padding: 0.1em 0.35em;
  border-radius: var(--border-radius);
  background: #eef0f9;
  color: var(--sapling-blue);
  font-size: 0.88em;
}

/* X (formerly Twitter) mark. Inline SVG because `fa-x-twitter` only exists from
   Font Awesome 6.4.2 and the site pins 6.4.0. Sized to sit with the sibling
   `fab` icons in the footer. */
.social-x {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

/* ---------------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------------- */
.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--border-radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    border-color var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}
.s-btn:hover,
.s-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
}
.s-btn:focus-visible {
  outline: 2px solid var(--ds-accent-soft);
  outline-offset: 2px;
}
.s-btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.s-btn-primary,
a.s-btn-primary {
  background-color: var(--sapling-blue);
  border-color: var(--sapling-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgb(45 58 140 / 22%);
}
.s-btn-primary:hover,
.s-btn-primary:focus,
a.s-btn-primary:hover,
a.s-btn-primary:focus {
  background-color: var(--sapling-blue-dark);
  border-color: var(--sapling-blue-dark);
  color: #fff;
  box-shadow: 0 10px 22px rgb(45 58 140 / 28%);
}

/* Outline variant — border is always visible, not just on hover. */
.s-btn-secondary,
a.s-btn-secondary {
  background-color: #fff;
  border-color: #c9cfe6;
  color: var(--sapling-blue);
  box-shadow: var(--shadow-sm);
}
.s-btn-secondary:hover,
.s-btn-secondary:focus,
a.s-btn-secondary:hover,
a.s-btn-secondary:focus {
  background-color: #f2f4fb;
  border-color: var(--sapling-blue);
  color: var(--sapling-blue-dark);
}

/* For dark backgrounds (hero, CTA panel). */
.s-btn-ghost,
a.s-btn-ghost {
  background-color: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 28%);
  color: #fff;
}
.s-btn-ghost:hover,
.s-btn-ghost:focus,
a.s-btn-ghost:hover,
a.s-btn-ghost:focus {
  background-color: rgb(255 255 255 / 14%);
  border-color: rgb(255 255 255 / 55%);
  color: #fff;
}

.s-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.s-actions-center {
  justify-content: center;
}

/* ---------------------------------------------------------------------------
 * Dark topnav (opt-in)
 *
 * base2.html pages already have a #161A30 nav. base.html pages render a light
 * one with the dark-ink logo, so a page there that wants a dark hero opts in
 * with `{% set dark_nav = true %}`, which adds .topnav-dark and swaps to the
 * white logo. Scoped to the class so no other page is affected.
 * ------------------------------------------------------------------------- */
#topnav.topnav-dark {
  background-color: var(--ds-navy);
  color: #ffffff7f;
  margin-bottom: 0 !important;
  /* Continue the hero's glow field up through the nav so the two dark bands read
     as one surface instead of meeting at a visible seam. The centres sit on the
     nav's bottom edge at the same x positions as .s-hero::before's first two
     gradients (18% / 86%), so brightness matches across the join. */
  background-image:
    radial-gradient(42% 320% at 11% 125%, rgb(124 140 232 / 30%), transparent 72%),
    radial-gradient(24% 260% at 94% 125%, rgb(82 95 153 / 18%), transparent 70%);
}
#topnav.topnav-dark a {
  color: #ffffff99;
}
#topnav.topnav-dark a:hover {
  color: #ffffffdd;
}
#topnav.topnav-dark .dropdown-item {
  color: var(--sapling-blue);
}
#topnav.topnav-dark .dropdown-item:hover {
  color: #007bff;
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------- */
.s-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0 0;
  background-color: var(--ds-navy);
  color: #fff;
  text-align: left;
}
.s-hero-compact {
  padding: 2.75rem 0 2.75rem;
}
/* Colored light sources. */
.s-hero::before {
  content: "";
  position: absolute;
  inset: -45% -15% auto -15%;
  height: 150%;
  z-index: -2;
  background:
    radial-gradient(42% 48% at 18% 22%, rgb(124 140 232 / 34%), transparent 68%),
    radial-gradient(38% 44% at 86% 6%, rgb(82 95 153 / 45%), transparent 70%),
    radial-gradient(55% 55% at 62% 108%, rgb(14 17 36 / 92%), transparent 72%);
}
/* Dot grid, faded out toward the bottom so it never meets the next section. */
.s-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(255 255 255 / 9%) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 70%), transparent 68%);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 70%), transparent 68%);
}
.s-hero-copy {
  padding-bottom: 3rem;
}
.s-hero-compact .s-hero-copy {
  padding-bottom: 0;
}
.s-hero-visual {
  padding-bottom: 3rem;
}
.s-hero h1,
.s-hero h2,
.s-hero h3 {
  color: #fff;
}

/* NB: there was an `.s-eyebrow` pill here (a small uppercase label above the
   h1). Removed — on every page it just restated the heading below it. Section
   labels above an h2 are a different thing and still live in `.s-kicker`. */

.s-hero-title {
  margin: 1.1rem 0 0;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.s-hero-title-accent {
  color: var(--ds-accent-soft);
}
.s-hero-lead {
  margin: 1.15rem 0 0;
  max-width: 34em;
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgb(255 255 255 / 78%);
}
.s-hero-lead strong {
  color: #fff;
  font-weight: 600;
}
.s-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 60%);
}
.s-hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.45em;
}
.s-hero-meta i {
  color: var(--ds-accent);
}
.s-page .s-hero-meta code {
  background: rgb(255 255 255 / 8%);
  color: var(--ds-accent-soft);
  font-size: 0.95em;
}

/* Strip pinned to the bottom of a hero — client names, logos, credentials. */
.s-strip {
  position: relative;
  border-top: 1px solid rgb(255 255 255 / 8%);
  background: rgb(0 0 0 / 18%);
  padding: 1.15rem 0;
  color: rgb(255 255 255 / 55%);
  text-align: center;
  font-size: 0.85rem;
}
.s-strip-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgb(255 255 255 / 45%);
}
.s-strip-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  color: rgb(255 255 255 / 82%);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------------------
 * Sections
 * ------------------------------------------------------------------------- */
.s-section {
  padding: 4.5rem 0;
}
.s-section-tint {
  background: var(--ds-surface);
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
}
.s-section-dark {
  background: var(--ds-navy);
  color: #fff;
}
.s-section-head {
  max-width: 44rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.s-kicker {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--sapling-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.s-section-dark .s-kicker {
  color: var(--ds-accent);
}
.s-section-head h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ds-ink);
}
.s-section-dark .s-section-head h2 {
  color: #fff;
}
.s-section-head p {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ds-ink-soft);
}
.s-section-dark .s-section-head p {
  color: rgb(255 255 255 / 72%);
}

/* ---------------------------------------------------------------------------
 * Cards
 * ------------------------------------------------------------------------- */
.s-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--ds-line);
  border-radius: var(--border-radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    transform var(--transition-fast);
}
.s-card-hover:hover {
  border-color: #b9c0e4;
  box-shadow: 0 12px 26px rgb(45 58 140 / 12%);
  transform: translateY(-3px);
}
.s-card h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.s-card p {
  margin: 0;
  color: var(--ds-ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}
.s-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, #eef0fb, #dfe3f7);
  color: var(--sapling-blue);
  font-size: 1.1rem;
}
/* Bootstrap columns don't stretch their child by default. */
.s-card-col {
  display: flex;
  margin-bottom: 1.5rem;
}
.s-card-col > .s-card {
  flex: 1;
}

.s-tag {
  display: inline-block;
  padding: 0.15em 0.55em;
  border-radius: var(--border-radius-pill);
  background: #e6f4ec;
  color: #1c7a48;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.s-tag-brand {
  background: #e8eaf6;
  color: var(--sapling-blue);
}

/* ---------------------------------------------------------------------------
 * Code cards
 * ------------------------------------------------------------------------- */
.s-code-card {
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--border-radius-lg);
  background: var(--ds-code-bg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgb(8 10 24 / 45%);
}
/* On a light section the heavy hero shadow reads as dirt. */
.s-section .s-code-card {
  border-color: #2a3050;
  box-shadow: 0 10px 26px rgb(16 20 45 / 18%);
}
.s-code-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.85rem;
  background: rgb(255 255 255 / 4%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}
.s-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255 / 16%);
  flex: 0 0 auto;
}
.s-code-title {
  margin-left: 0.35rem;
  color: rgb(255 255 255 / 55%);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-copy {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.25em 0.6em;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--border-radius);
  background: transparent;
  color: rgb(255 255 255 / 65%);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast),
    background-color var(--transition-fast);
}
.s-copy:hover {
  color: #fff;
  border-color: rgb(255 255 255 / 40%);
  background: rgb(255 255 255 / 8%);
}
.s-copy.is-copied {
  color: #8fe3b0;
  border-color: rgb(143 227 176 / 45%);
}
.s-code-body {
  margin: 0;
  padding: 1.15rem 1.25rem;
  overflow-x: auto;
  color: #cdd6f4;
  font-size: 0.85rem;
  line-height: 1.65;
  text-align: left;
  tab-size: 2;
}
.s-page .s-code-body code {
  color: inherit;
  background: none;
  padding: 0;
  font-size: inherit;
}
.s-sh-prompt {
  color: #6f7aa8;
  user-select: none;
}
.s-tok-key { color: #8fb8f2; }
.s-tok-str { color: #a6e3a1; }
.s-tok-punc { color: #7d87ad; }
.s-tok-flag { color: #f2cdcd; }

/* ---------------------------------------------------------------------------
 * Tabs — progressive enhancement.
 *
 * Panels render visible by default and the tablist is hidden, so with JS off
 * every panel is readable, stacked, each labelled by its own .s-panel-title.
 * sapling-ds.js adds .is-ready, which flips both. Never put a `hidden`
 * attribute on a panel in markup: the UA stylesheet honours it with JS off and
 * strands the content.
 * ------------------------------------------------------------------------- */
.s-tablist {
  display: none;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.s-tabs.is-ready .s-tablist {
  display: flex;
}
.s-tabs.is-ready .s-panel[hidden] {
  display: none;
}
.s-tab {
  padding: 0.45em 0.95em;
  border: 1px solid var(--ds-line);
  border-radius: var(--border-radius-pill);
  background: #fff;
  color: var(--ds-ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast);
}
.s-tab:hover {
  border-color: #c1c8e4;
  color: var(--sapling-blue);
}
.s-tab[aria-selected="true"] {
  background: var(--sapling-blue);
  border-color: var(--sapling-blue);
  color: #fff;
}
.s-panel-title {
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.s-tabs.is-ready .s-panel-title {
  display: none;
}
.s-panel-note {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--ds-ink-soft);
}
.s-panel + .s-panel {
  margin-top: 1.5rem;
}
.s-tabs.is-ready .s-panel + .s-panel {
  margin-top: 0;
}

/* ---------------------------------------------------------------------------
 * Numbered steps
 * ------------------------------------------------------------------------- */
.s-steps {
  max-width: 52rem;
  margin: 0 auto;
}
.s-step {
  position: relative;
  padding: 0 0 2.5rem 3.25rem;
}
.s-step:last-child {
  padding-bottom: 0;
}
.s-step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ds-line);
  color: var(--sapling-blue);
  font-weight: 700;
  font-size: 0.9rem;
}
/* Vertical rail linking the steps. */
.s-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.125rem;
  top: 2.5rem;
  bottom: 0.6rem;
  width: 1px;
  background: var(--ds-line);
}
.s-step h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.s-step p {
  color: var(--ds-ink-soft);
  line-height: 1.65;
}
.s-step p:last-child {
  margin-bottom: 0;
}

/* Horizontal 3-up flow, for "how it works" rows. */
.s-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: s-step;
}
.s-flow-step {
  position: relative;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--ds-line);
  border-radius: var(--border-radius-lg);
  background: #fff;
}
.s-flow-step::before {
  counter-increment: s-step;
  content: counter(s-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--sapling-blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
/* Connector — decorative, hidden once the grid wraps. */
.s-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.6rem;
  right: -0.75rem;
  width: 0.75rem;
  border-top: 2px dashed #c9cfe6;
}
.s-flow-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.s-flow-step p {
  margin: 0;
  color: var(--ds-ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
 * Prompt / quote chips
 * ------------------------------------------------------------------------- */
.s-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.s-prompt {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--ds-line);
  border-radius: var(--border-radius-lg);
  background: #fff;
  color: var(--ds-ink);
  font-size: 0.95rem;
  line-height: 1.55;
}
.s-prompt i {
  margin-top: 0.2rem;
  color: var(--ds-accent);
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------------------
 * FAQ — native <details>, no JS.
 * ------------------------------------------------------------------------- */
.s-faq {
  max-width: 48rem;
  margin: 0 auto;
}
.s-faq-item {
  border: 1px solid var(--ds-line);
  border-radius: var(--border-radius-lg);
  background: #fff;
  margin-bottom: 0.75rem;
}
.s-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.s-faq-item summary::-webkit-details-marker {
  display: none;
}
.s-faq-item summary::after {
  content: "\f078"; /* chevron-down */
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--sapling-blue);
  transition: transform var(--transition-fast);
  flex: 0 0 auto;
}
.s-faq-item[open] summary::after {
  transform: rotate(180deg);
}
.s-faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--ds-ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
 * Closing CTA panel
 * ------------------------------------------------------------------------- */
.s-cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 auto;
  max-width: 60rem;
  padding: 3.25rem 2rem;
  border-radius: var(--ds-radius-panel);
  background: linear-gradient(135deg, var(--ds-navy-soft) 0%, var(--ds-navy) 55%, var(--ds-navy-deep) 100%);
  color: #fff;
  text-align: center;
}
.s-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(38% 60% at 15% 8%, rgb(124 140 232 / 28%), transparent 70%),
    radial-gradient(42% 70% at 88% 92%, rgb(82 95 153 / 34%), transparent 72%);
}
.s-cta-panel h2 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.s-cta-panel p {
  margin: 0.85rem auto 0;
  max-width: 34em;
  color: rgb(255 255 255 / 75%);
  line-height: 1.65;
}
.s-cta-note {
  margin-top: 1.5rem !important;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 55%) !important;
}
.s-cta-note a,
.s-cta-panel a:not(.s-btn) {
  color: var(--ds-accent-soft);
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .s-hero {
    padding-top: 3.25rem;
    text-align: center;
  }
  .s-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .s-actions,
  .s-hero-meta {
    justify-content: center;
  }
  .s-hero-copy {
    padding-bottom: 2.25rem;
  }
  .s-hero-compact .s-hero-copy {
    padding-bottom: 0;
  }
  .s-code-body {
    text-align: left;
  }
}
@media (max-width: 767px) {
  .s-hero-title {
    font-size: 2.1rem;
  }
  .s-hero-lead {
    font-size: 1rem;
  }
  .s-section {
    padding: 3rem 0;
  }
  .s-section-head h2 {
    font-size: 1.6rem;
  }
  .s-flow,
  .s-prompts {
    grid-template-columns: minmax(0, 1fr);
  }
  .s-flow-step:not(:last-child)::after {
    display: none;
  }
  .s-step {
    padding-left: 2.75rem;
  }
  .s-cta-panel {
    padding: 2.25rem 1.25rem;
  }
  .s-cta-panel h2 {
    font-size: 1.5rem;
  }
  .s-actions .s-btn {
    flex: 1 1 100%;
  }
  /* Long commands still scroll, but fit further before they do. */
  .s-code-body {
    font-size: 0.78rem;
    padding: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .s-btn,
  .s-card {
    transition: none;
  }
  .s-btn:hover,
  .s-btn:focus,
  .s-card-hover:hover {
    transform: none;
  }
}
