html { scroll-behavior: smooth; }

  /* subtle ledger rule texture on the whole page */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 38px,
      color-mix(in srgb, var(--accent) 5%, transparent) 39px
    );
    pointer-events: none;
    z-index: 0;
  }

  header, main, footer { position: relative; z-index: 1; }

  /* ---------- HERO (Docracy split layout, docstoc orange — no blue) ---------- */
  .hero-band {
    --hero-body: rgba(255, 255, 255, 0.78);
    position: relative;
    background:
      radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 55%),
      radial-gradient(ellipse at 15% 85%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 50%),
      linear-gradient(180deg, #14100d 0%, #0b0908 55%, #060504 100%);
    color: #fff;
    padding: 44px 24px 72px;
    overflow: hidden;
  }
  .hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
  }
  .hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }

  /* ---------- FLOATING DOCUMENT SHAPES (revival-style ambient decoration) ---------- */
  .hero-float-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-float-shape {
    position: absolute;
    width: 96px;
    height: 124px;
    border-radius: 10px;
    background-color: #f4f1ec;
    background-size: cover;
    background-repeat: no-repeat;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: hero-float 9s ease-in-out infinite;
  }
  /* Real screenshots of the original docstoc.com — actual colors, not recolored or masked —
     two on the left, two on the right, per the reference screenshots provided. */
  .shape-1 {
    width: 78px; height: 100px; top: 8%; left: 6%; --r: -14deg; animation-delay: 0s;
    background-image: url('/brand/docstoc-old-hero-superhero.jpg');
    background-position: 62% center;
  }
  .shape-2 {
    width: 60px; height: 78px; top: 62%; left: 12%; --r: 9deg; animation-delay: 1.4s;
    background-image: url('/brand/docstoc-old-logo-small.jpg');
    background-position: center;
  }
  .shape-3 {
    width: 92px; height: 118px; top: 12%; right: 7%; --r: 11deg; animation-delay: 0.7s;
    background-image: url('/brand/docstoc-old-closing-notice.jpg');
    background-position: center top;
  }
  .shape-4 {
    width: 66px; height: 86px; top: 68%; right: 13%; --r: -8deg; animation-delay: 2.1s;
    background-image: url('/brand/docstoc-old-featured-docs.jpg');
    background-position: center top;
  }
  @keyframes hero-float {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
  }
  @media (max-width: 900px) {
    .hero-float-shape { display: none; }
  }
  .hero-band h1 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 14px;
    max-width: 14em;
    white-space: pre-line;
  }
  .hero-sub {
    font-size: 17px;
    line-height: 1.45;
    color: var(--hero-body);
    margin: 0 0 16px;
    max-width: 34em;
  }
  .hero-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 22px;
    margin-top: 8px;
  }
  .hero-cta-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
  }
  .hero-signup {
    display: flex;
    align-items: stretch;
    flex: 1 1 320px;
    max-width: 480px;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  }
  .hero-signup-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 14px 18px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: transparent;
  }
  .hero-signup-input::placeholder { color: #8a96a8; }
  .hero-signup-btn {
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    padding: 14px 22px;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    /* Hardcoded fallbacks — button must stay visible even if site.css vars lag CDN cache */
    background: var(--signal, #00E8A8);
    color: var(--on-signal, #04241C);
    white-space: nowrap;
    transition: background 0.15s ease;
  }
  .hero-signup-btn:hover { background: var(--signal-hover, #2AFFC0); }
  .hero-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 0;
  }
  .hero-watch-btn:hover { opacity: 0.88; }
  .hero-watch-icon { display: inline-flex; line-height: 0; }
  .hero-calc-link {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: underline;
    padding: 6px 0;
  }
  .hero-calc-link:hover { opacity: 0.88; }
  .hero-personalized-greeting {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px 14px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
  }
  .hero-trust-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
  }
  .hero-trust-tag svg { width: 16px; height: 16px; flex-shrink: 0; }
  .hero-slab-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(38px, 5.4vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 16px;
  }
  .hero-slab-accent {
    color: var(--accent);
  }

  /* ---------- CIRCULAR HASH WIDGET (revival-style centerpiece — real client-side SHA-256) ---------- */
  .hero-hash-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px 0 6px;
  }
  .hero-hash-ring {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: conic-gradient(from -90deg, var(--accent) 0% 88%, rgba(255, 255, 255, 0.14) 88% 100%);
    padding: 8px;
    box-shadow: 0 30px 70px rgba(245, 128, 37, 0.22);
  }
  .hero-hash-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    border: 2px dashed transparent;
    transition: border-color 0.15s ease, background 0.15s ease;
  }
  .hero-hash-circle:hover,
  .hero-hash-circle:focus-visible {
    border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  }
  .hero-hash-circle.is-dragover {
    background: color-mix(in srgb, var(--accent) 8%, #fff);
    border-color: var(--accent);
  }
  .hero-hash-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 12px;
  }
  .hero-hash-text {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.3;
  }
  .hero-hash-sub {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0;
  }
  .hero-hash-caption {
    margin: 14px 0 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
  }
  .hero-hash-result {
    width: 100%;
    max-width: 480px;
    margin: 4px 0 6px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
  .hero-hash-result-label {
    margin: 0 0 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
  }
  .hero-hash-value {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    color: #fff;
    word-break: break-all;
    line-height: 1.5;
    margin: 0 0 14px;
  }

  /* ---------- STAT BAR (revival-style dark trust strip) ---------- */
  .hero-stat-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 4px;
    padding: 14px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    font-size: 13px;
  }
  .hero-stat svg {
    color: var(--accent);
    flex-shrink: 0;
  }
  .hero-stat strong {
    color: #fff;
    font-weight: 800;
    margin-right: 5px;
  }
  .hero-stat span {
    color: rgba(255, 255, 255, 0.6);
  }
  @media (max-width: 760px) {
    .hero-slab-title { font-size: clamp(30px, 9vw, 40px); }
    .hero-hash-ring { width: 200px; height: 200px; }
  }
  .hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
  }
  .hero-trust-badges li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--hero-body);
  }
  .hero-trust-badges svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.85;
  }
  .hero-cta-hint {
    margin: 12px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
  }
  .hero-secondary-link {
    margin: 14px 0 0;
    font-size: 14px;
  }
  .hero-secondary-link a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .hero-secondary-link a:hover { color: #fff; }

  .doc-mockup-glow {
    position: relative;
    padding: 20px;
  }
  .doc-mockup-glow::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(closest-side, rgba(236, 104, 60, 0.22), transparent 70%);
    z-index: 0;
  }
  .doc-mockup-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    transform: rotate(2.5deg);
    animation: mockup-float 6s ease-in-out infinite;
  }
  @keyframes mockup-float {
    0%, 100% { transform: rotate(2.5deg) translateY(0); }
    50% { transform: rotate(1.5deg) translateY(-6px); }
  }
  .chase-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 28px 28px 24px;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
  }
  .chase-mockup-title {
    height: 14px;
    width: 42%;
    border-radius: 4px;
    background: color-mix(in srgb, var(--accent) 45%, #c9b0a4);
    margin-bottom: 22px;
  }
  .chase-mockup-line {
    height: 8px;
    border-radius: 4px;
    background: #f0e6e1;
    margin-bottom: 12px;
  }
  .chase-mockup-line.w80 { width: 80%; }
  .chase-mockup-line.w95 { width: 95%; }
  .chase-mockup-line.w60 { width: 60%; }
  .chase-mockup-line.w70 { width: 70%; }
  .chase-mockup-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
  }
  .chase-mockup-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: #fff0ea;
    padding: 5px 10px;
    border-radius: 999px;
  }
  .chase-mockup-check {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(236, 104, 60, 0.35);
  }
  .chase-mockup-check svg { display: block; }
  .chase-mockup-snippet {
    margin-top: 18px;
    padding: 14px 14px 12px;
    border-radius: 10px;
    background: #f7f8fb;
    border: 1px solid #e6ebf2;
  }
  .chase-mockup-snippet-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }
  .chase-mockup-snippet .chase-mockup-line { background: #d7dde7; margin-bottom: 8px; }

  @media (max-width: 760px) {
    .hero-band { padding: 36px 20px 40px; }
    .hero-band h1 {
      font-size: clamp(26px, 7.2vw, 34px);
      margin: 0 0 12px;
      max-width: none;
    }
    .hero-sub { font-size: 15px; margin: 0 0 16px; }
    .doc-mockup-glow { display: none; }
    .hero-signup { flex: 1 1 100%; max-width: none; }
    .hero-trustbar { margin: 24px -20px -40px; }
    .hero-trustbar-chip { height: 56px; padding: 8px 16px; }
    .hero-trustbar-logo { height: 34px; max-width: 110px; }
    .hero-trustbar-row { gap: 16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .doc-mockup-card { animation: none; }
    .hero-trustbar-row { animation: none; }
  }

  /* ---------- HERO TRUST BAR (customer logos) ---------- */
  .hero-trustbar {
    margin: 22px -24px -72px;
    padding: 20px 0 24px;
    background: var(--header-bg, #C24A28);
  }
  .hero-trustbar-label {
    margin: 0 0 14px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
  }
  .hero-trustbar-track {
    display: flex;
    overflow: hidden;
    max-width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  }
  .hero-trustbar-row {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 24px;
    padding-right: 24px;
    animation: hero-trustbar-scroll 45s linear infinite;
  }
  @keyframes hero-trustbar-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
  }
  .hero-trustbar-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 10px 22px;
    background: #fff;
    border-radius: 10px;
    flex-shrink: 0;
  }
  .hero-trustbar-logo {
    height: 44px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
  }

  /* ---------- HUB BAND (docstoc pillars — "We Make Every Small Business Better") ---------- */
  .hub-band {
    padding: 64px 24px 60px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .hub-inner { max-width: 1080px; margin: 0 auto; }
  .hub-header { max-width: 640px; margin: 0 auto 40px; text-align: center; }
  .hub-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 10px;
  }
  .hub-revival-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
  }
  .hub-revival-banner-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: header-revival-pulse 2.2s ease-in-out infinite;
  }
  .hub-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    line-height: 1.18;
    color: var(--ink);
    margin: 0 0 12px;
  }
  .hub-sub {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
  }
  .hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 0 40px;
  }
  .hub-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  }
  .hub-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
  }
  .hub-card-icon svg { width: 22px; height: 22px; }
  .hub-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
  }
  .hub-card-body {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 18px;
    flex: 1;
  }
  .hub-card-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .hub-card-links a {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .hub-card-cta { color: var(--accent); }
  .hub-card-cta:hover { text-decoration: underline; }
  .hub-card-secondary { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

  /* ---------- LEGACY STAT BAR (the original docstoc, pre-2015 — not our current numbers) ---------- */
  .hub-legacy-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin: 0 0 10px;
    padding: 18px 28px;
    border-radius: 999px;
    background: var(--ink);
  }
  .hub-legacy-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
  .hub-legacy-stat:last-child { border-right: none; }
  .hub-legacy-stat svg { color: var(--accent); flex-shrink: 0; }
  .hub-legacy-num {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
  }
  .hub-legacy-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
  }
  .hub-legacy-note {
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin: 0 0 40px;
  }
  @media (max-width: 700px) {
    .hub-legacy-bar { border-radius: 20px; padding: 16px; }
    .hub-legacy-stat { border-right: none; padding: 6px 12px; flex: 1 1 45%; }
  }
  .hub-checklist {
    background: var(--ink);
    border-radius: 16px;
    padding: 32px 32px 28px;
  }
  .hub-checklist-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 18px;
  }
  .hub-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .hub-checklist-grid li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
  }
  .hub-checklist-grid svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
  }
  @media (max-width: 820px) {
    .hub-grid { grid-template-columns: 1fr; }
    .hub-checklist-grid { grid-template-columns: 1fr; }
  }

  .how-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 800;
    background: rgba(6, 16, 32, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .how-modal-backdrop.is-open { display: flex; }
  .how-modal-backdrop[hidden] { display: none !important; }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .how-modal {
    position: relative;
    width: min(940px, 100%);
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  }
  .how-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }
  .how-modal-close:hover { background: rgba(0, 0, 0, 0.75); }
  .how-modal-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
  }

  .btn-primary {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    border: 1.5px solid var(--accent);
    transition: transform 0.12s ease;
    display: inline-block;
  }
  .btn-primary:hover { transform: translateY(-1px); }

  /* ---------- SHARED SECTION ---------- */
  .section {
    padding: 80px 0;
    border-top: 1px solid var(--line);
  }
  .section-title {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(26px, 3.4vw, 34px);
    text-align: center;
    margin-bottom: 12px;
  }
  .section-sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.55;
  }

  /* ---------- HOW IT WORKS ---------- */
  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
  }
  .step-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
  }
  .step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .step p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.5;
  }

  /* ---------- AUDIENCE / WHY ---------- */
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
  }
  .feature-grid.five {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
  .feature-item {
    text-align: center;
    padding: 8px 6px;
  }
  .feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .feature-item p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
  }

  /* ---------- TEMPLATES PREVIEW ---------- */
  .tpl-preview-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 28px;
    max-width: 900px;
    margin: 0 auto 28px;
    list-style: none;
  }
  .tpl-preview-list a {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .tpl-preview-list a:hover { color: var(--accent); }
  .tpl-preview-cta { text-align: center; }

  /* ---------- TESTIMONIALS ---------- */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  .testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
  .testimonial-quote {
    font-size: 15px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.55;
    margin: 0;
    flex: 1;
  }
  .testimonial-attrib { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .testimonial-logo { height: 40px; width: auto; max-width: 140px; object-fit: contain; margin-bottom: 6px; }
  .testimonial-name { font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 0; }
  .testimonial-name span { font-weight: 400; color: var(--ink-soft); }
  .testimonial-linkedin { font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
  .testimonial-linkedin:hover { text-decoration: underline; }

  /* ---------- PRICING (eversign-style: features first, sticky prices) ---------- */
  .pricing {
    padding: 48px 0 24px;
  }
  .pricing-compare {
    position: relative;
    /* Shared column math so sticky prices line up under Free / Pro / Business. */
    --pricing-feature-col: 34%;
    --pricing-plan-col: calc((100% - var(--pricing-feature-col)) / 3);
  }
  .price-table-wrap {
    /* No overflow-x by default — it breaks sticky. Enable only on narrow screens. */
  }
  .price-table {
    width: 100%;
    min-width: 640px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    background: var(--white);
  }
  .price-table th,
  .price-table td {
    padding: 12px 14px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
  }
  .price-table th:first-child,
  .price-table td:first-child {
    text-align: left;
    color: var(--ink);
    font-weight: 500;
    width: var(--pricing-feature-col);
    position: sticky;
    left: 0;
    background: var(--white);
    z-index: 1;
  }
  .price-table th:not(:first-child),
  .price-table td:not(:first-child) {
    width: var(--pricing-plan-col);
  }
  .price-table thead th {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--white);
    padding-top: 18px;
    padding-bottom: 14px;
    position: sticky;
    top: 64px;
    z-index: 4;
    box-shadow: 0 1px 0 var(--line);
  }
  .price-table thead th:first-child {
    z-index: 5;
  }
  .price-table .col-pro {
    background: color-mix(in srgb, var(--accent) 8%, var(--white));
  }
  .price-table thead th.col-pro {
    background: color-mix(in srgb, var(--accent) 8%, var(--white));
    color: var(--accent);
  }
  .price-table tbody tr:last-child td {
    border-bottom: none;
  }
  .price-table .plan-cell-text {
    color: var(--ink);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    font-family: 'Fraunces', serif;
  }
  .price-table .muted {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    font-family: 'Fraunces', serif;
  }
  .price-table .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    line-height: 0;
    vertical-align: middle;
    position: relative;
  }
  .price-table .check::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-1px);
    box-sizing: border-box;
  }
  .price-table .check svg {
    display: none;
  }
  .price-table .cross {
    color: color-mix(in srgb, var(--ink) 28%, var(--white));
    font-weight: 600;
  }
  .price-table thead th.col-pro {
    white-space: normal;
    line-height: 1.25;
  }
  .popular-tag {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 6px auto 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .pricing-sticky-bar {
    position: sticky;
    bottom: 0;
    z-index: 6;
    display: grid;
    grid-template-columns:
      var(--pricing-feature-col)
      var(--pricing-plan-col)
      var(--pricing-plan-col)
      var(--pricing-plan-col);
    gap: 0;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 -8px 28px color-mix(in srgb, var(--ink) 12%, transparent);
    overflow: hidden;
  }
  .pricing-sticky-spacer {
    border-right: 1px solid var(--line);
    background: var(--white);
  }
  .pricing-sticky-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px 16px;
    text-align: center;
    border-right: 1px solid var(--line);
  }
  .pricing-sticky-col:last-child {
    border-right: none;
  }
  .pricing-sticky-col.is-pro {
    background: color-mix(in srgb, var(--accent) 8%, var(--white));
  }
  .pricing-sticky-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .pricing-sticky-col.is-pro .pricing-sticky-name {
    color: var(--accent);
  }
  .pricing-sticky-price {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
  }
  .pricing-sticky-note {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
  }
  .pricing-sticky-cta {
    display: block;
    width: 100%;
    max-width: 140px;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    background: transparent;
    white-space: nowrap;
  }
  .pricing-sticky-cta:hover {
    background: var(--accent);
    color: var(--white);
  }
  .pricing-sticky-cta.featured {
    background: var(--accent);
    color: var(--white);
  }
  .pricing-sticky-cta.signal {
    background: var(--signal);
    border-color: var(--signal);
    color: var(--on-signal);
  }
  .pricing-sticky-cta.signal:hover {
    background: var(--signal-hover);
    border-color: var(--signal-hover);
    color: var(--on-signal);
  }

  @media (max-width: 900px) {
    .price-table-wrap {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      border: 1px solid var(--line);
      border-radius: 10px;
    }
    .price-table thead th {
      position: static;
      top: auto;
      box-shadow: none;
    }
    .pricing-sticky-bar {
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .pricing-sticky-spacer {
      display: none;
    }
    .pricing-sticky-price {
      font-size: 18px;
    }
    .pricing-sticky-note {
      font-size: 10px;
    }
    .pricing-sticky-cta {
      max-width: none;
      padding: 8px 4px;
      font-size: 11.5px;
    }
  }

  /* Phones: fixed stacked plan rows (4 plans → taller bar than Docracy) */
  @media (max-width: 720px) {
    .pricing {
      padding-bottom: calc(340px + env(safe-area-inset-bottom, 0px));
    }
    .pricing-compare {
      padding-top: 12px;
    }
    .pricing-sticky-bar {
      position: fixed;
      left: 12px;
      right: 12px;
      bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      z-index: 20;
      grid-template-columns: 1fr;
      border-radius: 10px;
      box-shadow: 0 -4px 28px color-mix(in srgb, var(--ink) 14%, transparent);
    }
    .pricing-sticky-spacer {
      display: none;
    }
    .pricing-sticky-col {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 8px 12px;
      padding: 12px 14px;
      border-right: none;
      border-bottom: 1px solid var(--line);
      text-align: left;
    }
    .pricing-sticky-col:last-child {
      border-bottom: none;
    }
    .pricing-sticky-name {
      flex: 0 0 72px;
      font-size: 10px;
    }
    .pricing-sticky-price {
      flex: 1 1 80px;
      font-size: 20px;
      text-align: left;
    }
    .pricing-sticky-note {
      display: inline;
      margin-top: 0;
      margin-left: 4px;
      font-size: 10px;
      white-space: normal;
    }
    .pricing-sticky-cta {
      flex: 0 0 auto;
      width: auto;
      min-width: 108px;
      max-width: 46%;
      padding: 8px 10px;
      font-size: 11.5px;
      white-space: normal;
      line-height: 1.2;
    }
    /* Keep chat launcher above the fixed pricing bar */
    body:has(.pricing) .docstoc-asst {
      bottom: calc(340px + env(safe-area-inset-bottom, 0px));
      right: 16px;
    }
  }

  @media (max-width: 900px) {
    .steps { grid-template-columns: 1fr 1fr; }
    .feature-grid.five { grid-template-columns: 1fr 1fr; }
    .tpl-preview-list { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 720px) {
    .steps, .feature-grid, .feature-grid.five, .tpl-preview-list { grid-template-columns: 1fr; }
    .pc-row { flex-direction: column; align-items: flex-start; }
    .pc-row-nums { align-self: flex-end; }
  }

  /* Locale switcher (marketing) */
  .locale-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    user-select: none;
  }
  .locale-switch button {
    font: inherit;
    letter-spacing: inherit;
    background: none;
    border: 0;
    padding: 2px 3px;
    cursor: pointer;
    color: inherit;
    opacity: 0.55;
  }
  .locale-switch button:hover { opacity: 0.9; color: var(--ink); }
  .locale-switch button.is-active {
    opacity: 1;
    color: var(--ink);
  }
  .locale-switch-sep { opacity: 0.35; }

  /* ---------- FAQ ---------- */
  .faq {
    padding: 80px 0 40px;
    border-top: 1px solid var(--line);
  }
  .faq h2 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(26px, 3.4vw, 34px);
    text-align: center;
    margin-bottom: 36px;
  }
  .faq-list {
    max-width: 680px;
    margin: 0 auto;
  }
  .faq-item {
    border-bottom: 1px solid var(--line);
  }
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 15.5px;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: "+";
    font-family: 'IBM Plex Mono', monospace;
    color: var(--accent);
    flex-shrink: 0;
  }
  .faq-item[open] summary::after { content: "–"; }
  .faq-item p {
    font-size: 14.5px;
    color: var(--ink-soft);
    padding: 0 0 18px;
    line-height: 1.6;
  }

  /* ---------- FINAL CTA ---------- */
  .final-cta {
    padding: 90px 0 100px;
    text-align: center;
    border-top: 1px solid var(--line);
  }
  .final-cta h2 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(28px, 4vw, 42px);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.15;
  }
