/* Marketing Prompt Hub: the homepage library app (Nov 2026 zine redesign).
   Loaded only by index.html, after /css/zine.css, which holds the tokens, fonts and shared zine parts.
   The original app layout lives here; the zine layer for the app is at the end of this file. */


  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
  body {
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    
  }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--accent); color: var(--paper); }

  /* ───────── Layout ───────── */
  .app {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
  }

  /* ───────── Sidebar ───────── */
  .sidebar {
    border-right: 2px solid var(--ink);
    background: var(--paper);
    padding: 36px 28px 40px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }
  .brand {
    font-family: var(--f-body);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.025em;
    line-height: 1.1;
  }
  .brand em {
    font-style: normal;
    font-weight: 900;
    color: var(--accent-ink);
  }
  .brand-sub {
    margin-top: 6px;
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-4);
  }

  .nav { margin-top: 36px; }
  .nav-label {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin: 22px 0 10px;
  }
  .nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 14px;
    color: var(--ink-2);
    cursor: pointer;
    border-bottom: 1px dotted transparent;
    transition: color .15s;
    text-decoration: none;     /* anchor links should look clean in nav context */
  }
  .nav-item:hover { color: var(--ink); }
  .nav-item.active { color: var(--accent-ink); font-weight: 700; }
  .nav-item .count {
    font-family: var(--f-body);
    font-size: 11px;
    color: var(--ink-4);
  }
  .nav-item.active .count { color: var(--accent-ink); }

  .sidebar-foot {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--ink-4);
    line-height: 1.5;
  }

  /* ───────── Main ───────── */
  .main {
    padding: 56px 72px 120px;
    max-width: 1120px;
  }

  .eyebrow {
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 14px;
  }
  h1.display {
    font-family: var(--f-body);
    font-weight: 900;
    font-size: 72px;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
    text-wrap: balance;
    color: var(--ink);
  }
  h1.display em {
    font-style: normal;
    color: var(--accent-ink);
    font-weight: 900;
  }
  .lede {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.45;
    color: var(--ink-2);
    max-width: 640px;
    margin: 0 0 40px;
    text-wrap: pretty;
  }

  section.view { display: none; }
  section.view.active { display: block; }

  h2.section-title {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
    color: var(--ink);
  }
  h2.section-title em { font-style: normal; color: var(--accent-ink); font-weight: 700; }
  .section-kicker {
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 10px;
  }
  .section-lede {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 640px;
    margin: 0 0 32px;
    text-wrap: pretty;
  }

  hr.rule {
    border: 0;
    border-top: 2px solid var(--ink);
    margin: 48px 0;
  }

  /* ───────── Landing CTA ───────── */
  .cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 0 0 8px;
    flex-wrap: wrap;
  }
  .cta-primary, .cta-secondary {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .cta-price { display: flex; flex-direction: column; }
  .cta-amount {
    font-family: var(--f-body);
    font-size: 34px;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--ink);
  }
  .cta-amount.alt { color: var(--ink-2); font-weight: 400; }
  .cta-cadence {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-top: 4px;
  }
  .cta-btn {
    padding: 14px 22px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
    font-weight: 700;
    box-shadow: var(--shadow-1);
    transition: transform .12s, box-shadow .12s, background .12s;
  }
  .cta-btn:hover { background: var(--accent); color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-2); transform: translate(-1px, -1px); }
  .cta-btn:active { box-shadow: var(--shadow-press); transform: translate(2px, 2px); }
  .cta-btn.secondary { background: var(--paper); color: var(--ink); }
  .cta-btn.secondary:hover { background: var(--accent); color: var(--ink); }
  .cta-or {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
    color: var(--ink-4);
  }
  .cta-free {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-3);
  }
  .cta-link {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--accent-ink);
    color: var(--accent-ink);
    font: inherit;
    cursor: pointer;
    padding: 0 0 2px;
  }
  .cta-link:hover { color: var(--ink); border-color: var(--ink); }

  /* ───────── Compare ───────── */

  /* ───────── Prompt lock state ───────── */
  .prompt-card.locked .pc-body {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    filter: blur(3px);
    user-select: none;
    pointer-events: none;
  }
  .prompt-card.locked .pc-body::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--paper-2) 100%);
  }
  .lock-overlay {
    margin: 12px 0 0;
    padding: 20px 24px;
    background: var(--ink);
    color: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-1);
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  .lock-overlay-text {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 15px;
    color: var(--paper);
  }
  .lock-overlay-btn {
    padding: 12px 20px;
    background: var(--accent);
    color: var(--ink);
    border: 1.5px solid var(--paper);
    border-radius: 0;
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 3px 3px 0 var(--paper);
    transition: transform .12s, box-shadow .12s;
  }
  .lock-overlay-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--paper); }
  .free-badge {
    display: inline-block;
    font-family: var(--f-body);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--ok);
    color: var(--paper);
    padding: 3px 8px;
    border-radius: 0;
    margin-right: 8px;
    vertical-align: 2px;
  }

  /* ───────── Overview ───────── */
  .stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    margin: 32px 0 48px;
  }
  .stat {
    padding: 24px 26px;
    border-right: 1px solid var(--line-2);
  }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; padding-right: 0; }
  .stat-num {
    font-family: var(--f-body);
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ink);
  }
  .stat-label {
    margin-top: 10px;
    font-family: var(--f-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
  }

  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .col h2, .col h3 {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 20px;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
  }
  .col p { margin: 0 0 12px; color: var(--ink-2); }

  ol.how {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
  }
  ol.how li {
    counter-increment: step;
    padding: 18px 0 18px 52px;
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  ol.how li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 18px;
    font-family: var(--f-body);
    font-size: 22px;
    font-weight: 900;
    color: var(--accent-ink);
    letter-spacing: -0.03em;
  }
  ol.how li strong {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 19px;
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  ol.how li span { color: var(--ink-3); }

  /* ───────── Library controls ───────── */
  .lib-controls {
    position: sticky;
    top: 0;
    background: var(--paper);
    padding: 16px 0 16px;
    margin: 0 0 24px;
    border-bottom: 1px solid var(--line);
    z-index: 5;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
  }
  .search {
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid var(--ink);
    border-radius: 0;
    background: var(--paper);
    box-shadow: var(--shadow-press);
  }
  .search input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
  }
  .search-label {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
  }

  .chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .chip {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 14px;
    border: 2px solid var(--ink);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    transition: all .12s;
    white-space: nowrap;
    font-weight: 700;
  }
  .chip:hover { background: var(--accent-soft); }
  .chip.active {
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow-press);
  }

  /* ───────── Prompt cards ───────── */
  .prompt-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .prompt-card {
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    padding: 28px 32px;
  }
  .prompt-card:last-child { border-bottom: 2px solid var(--ink); }

  .pc-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 10px;
  }
  .pc-id {
    font-family: var(--f-body);
    font-size: 11px;
    color: var(--ink-4);
    letter-spacing: 0.05em;
  }
  .pc-title {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
    margin: 0;
    flex: 1;
    color: var(--ink);
  }
  .pc-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin: 10px 0 14px;
  }
  .pc-meta b {
    color: var(--ink-2);
    font-weight: 400;
    margin-left: 4px;
  }
  .pc-summary {
    color: var(--ink-2);
    max-width: 720px;
    margin: 0 0 16px;
  }

  .pc-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .tag {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--ink);
    background: var(--accent-soft);
    border: 1px solid var(--ink);
    padding: 3px 8px;
    border-radius: 0;
    font-weight: 700;
  }

  .pc-body {
    background: var(--paper-2);
    border: 2px solid var(--ink);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    font-family: var(--f-mono);
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--ink-2);
    white-space: pre-wrap;
    margin: 0 0 10px;
    position: relative;
  }
  .pc-body .var {
    background: var(--accent);
    color: var(--ink);
    padding: 1px 4px;
    border-radius: 0;
    font-weight: 700;
  }

  .pc-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
  }
  .pc-tip {
    flex: 1;
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-3);
    padding-left: 14px;
    border-left: 1px solid var(--line-2);
  }
  .pc-tip::before {
    content: "Pro tip. ";
    font-family: var(--f-body);
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-ink);
  }
  .copy-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
    box-shadow: var(--shadow-press);
    transition: transform .12s, box-shadow .12s, background .12s;
    font-weight: 700;
  }
  .copy-btn:hover { background: var(--accent); color: var(--ink); transform: translate(-1px, -1px); box-shadow: var(--shadow-1); }
  .copy-btn.copied { background: var(--ok); border-color: var(--ok); color: var(--paper); }

  /* ───────── Prompt sample (collapsible) ───────── */
  .pc-sample {
    margin: 14px 0 10px;
    border: 2px solid var(--ink);
    background: var(--accent-soft);
  }
  .pc-sample[open] { background: var(--paper-2); }
  .pc-sample summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 18px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
  }
  .pc-sample summary::-webkit-details-marker { display: none; }
  .pc-sample summary:hover { color: var(--accent-ink); }
  .pc-sample summary::before {
    content: "▸ See what Claude actually produces for this prompt";
    flex: 1;
  }
  .pc-sample[open] summary::before {
    content: "▾ Hide sample output";
  }
  .pc-sample summary::after {
    content: "Real output";
    font-size: 9.5px;
    color: var(--accent-ink);
    background: var(--accent-soft);
    padding: 3px 8px;
    border-radius: 0;
    letter-spacing: 0.1em;
  }
  .pc-sample-body {
    padding: 18px 22px 22px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    font-family: var(--f-mono);
    font-size: 12px;
    line-height: 1.65;
    color: var(--ink-2);
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    max-height: 480px;
    overflow-y: auto;
  }

  /* ───────── Permalink button ───────── */
  .pc-permalink {
    margin-left: 8px;
    border: 0;
    background: transparent;
    color: var(--ink-4);
    cursor: pointer;
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 0;
    transition: all .15s;
  }
  .pc-permalink:hover { color: var(--accent-ink); background: var(--accent-soft); }
  .pc-permalink.copied { color: var(--ok); }
  .prompt-card.highlighted {
    background: var(--accent-soft);
    transition: background 1.5s ease;
  }
  .prompt-card { scroll-margin-top: 24px; }

  /* ───────── Comparison table (vs. competitors) ───────── */
  .compare-table-wrap {
    border: 2px solid var(--ink);
    background: var(--paper);
    overflow-x: auto;
    margin-top: 24px;
    box-shadow: var(--shadow-1);
  }
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    min-width: 760px;
  }
  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
  }
  .compare-table thead th {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-4);
    font-weight: 400;
    border-bottom: 1px solid var(--line-2);
    background: var(--paper);
  }
  .compare-table thead th.us {
    color: var(--accent-ink);
    background: var(--accent-soft);
  }
  .compare-table tbody td.us { background: var(--accent-soft); font-weight: 400; color: var(--ink); }
  .compare-table-wrap { max-width: 100%; }
  @media (max-width: 720px) {
    .compare-table.stack-mobile { min-width: 0; }
    .compare-table.stack-mobile thead { display: none; }
    .compare-table.stack-mobile tr { display: block; border-bottom: 2px solid var(--ink); }
    .compare-table.stack-mobile tbody th, .compare-table.stack-mobile td { display: block; border: 0; padding: 8px 14px; }
    .compare-table.stack-mobile tbody th { padding-top: 14px; color: var(--ink); }
    .compare-table.stack-mobile td::before { content: attr(data-label); display: block; font-family: var(--f-body); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 2px; }
  }
  .compare-table tbody th {
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 400;
    width: 200px;
  }
  .compare-table tbody tr:last-child td,
  .compare-table tbody tr:last-child th { border-bottom: 0; }
  .compare-table .yes { color: var(--ok); font-weight: 400; }
  .compare-table .no { color: var(--ink-4); }
  .compare-table .meh { color: var(--warn); }

  /* ───────── Founder bio ───────── */
  .founder {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    align-items: start;
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 28px 32px;
    margin-top: 32px;
    box-shadow: var(--shadow-1);
  }
  .founder-photo {
    width: 96px;
    height: 96px;
    border-radius: 0;
    border: 2px solid var(--ink);
    background: var(--accent);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 48px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    box-shadow: var(--shadow-press);
  }
  .founder h3 {
    font-family: var(--f-body);
    font-size: 24px;
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: -0.015em;
  }
  .founder .founder-role {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 14px;
  }
  .founder p {
    margin: 0 0 10px;
    color: var(--ink-2);
    max-width: 640px;
  }
  .founder p:last-child { margin-bottom: 0; }

  /* ───────── First 15 minutes callout ───────── */
  .quickwin {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--ink);
    color: var(--paper);
    padding: 28px 32px;
    margin-top: 32px;
    border-radius: 0;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-1);
  }
  .quickwin-num {
    font-family: var(--f-body);
    font-style: normal;
    font-weight: 900;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--accent-ink);
    flex-shrink: 0;
    min-width: 70px;
  }
  .quickwin-body { flex: 1; }
  .quickwin h3 {
    font-family: var(--f-body);
    font-size: 24px;
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--paper);
  }
  .quickwin p { margin: 0 0 14px; color: #C7C7C7; }
  .quickwin-btn {
    background: var(--accent);
    color: var(--ink);
    border: 1.5px solid var(--paper);
    padding: 12px 18px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--paper);
    transition: transform .12s, box-shadow .12s;
  }
  .quickwin-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--paper); }

  /* ───────── Honesty note ───────── */
  .honesty-note {
    border: 2px solid var(--ink);
    background: var(--accent-soft);
    padding: 16px 20px;
    margin: 20px 0 32px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.55;
    box-shadow: var(--shadow-press);
  }
  .honesty-note strong {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
  }

  /* ───────── Strategy tier (separate section, visually distinct) ───────── */
  .tier-strategy {
    border: 1.5px dashed var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
  }
  .tier-strategy .tier-name { color: var(--ink); }
  .tier-strategy .tier-amount { color: var(--ink); }
  #strategy-tiers-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }

  /* ───────── Tier extras (refund, not-for, upgrade) ───────── */
  .tier-refund {
    margin-top: 12px;
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ok);
  }
  .tier-upgrade {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--accent-ink);
    font-style: italic;
    font-family: var(--f-body);
    font-weight: 400;
  }
  .tier-notfor {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dotted var(--line-2);
    font-size: 12.5px;
    color: var(--ink-3);
  }
  .tier-notfor strong {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
    display: block;
    margin-bottom: 4px;
    font-weight: 400;
  }

  /* ───────── Worked example (Northwind) ───────── */
  .we-brand {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    border: 2px solid var(--ink);
    background: var(--accent-soft);
    padding: 28px 32px;
    margin: 32px 0;
    box-shadow: var(--shadow-1);
  }
  .we-brand h3 {
    font-family: var(--f-body);
    font-size: 28px;
    margin: 0 0 4px;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--ink);
  }
  .we-brand .we-tagline {
    font-family: var(--f-body);
    font-style: italic;
    color: var(--ink-3);
    font-size: 15px;
    margin-bottom: 16px;
  }
  .we-brand p { color: var(--ink-2); margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; }
  .we-brand p:last-child { margin: 0; }
  .we-brand-aside {
    border-left: 1px solid var(--line-2);
    padding-left: 24px;
  }
  .we-brand-aside h4 {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin: 0 0 8px;
    font-weight: 400;
  }
  .we-brand-aside p { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }

  .we-vault {
    border: 2px solid var(--ink);
    margin: 32px 0;
    background: var(--paper);
    box-shadow: var(--shadow-1);
  }
  .we-vault h3 {
    font-family: var(--f-body);
    font-size: 22px;
    margin: 0;
    padding: 18px 24px;
    border-bottom: 2px solid var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    background: var(--paper-2);
  }
  .we-vault-framing {
    padding: 16px 24px;
    color: var(--ink-3);
    font-style: italic;
    font-family: var(--f-body);
    font-size: 15px;
    border-bottom: 1px solid var(--line-2);
  }
  .we-vault-fields {
    padding: 8px 24px 24px;
  }
  .we-vault-fields dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 12px 24px;
    margin: 16px 0 0;
  }
  .we-vault-fields dt {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
    padding-top: 4px;
  }
  .we-vault-fields dd {
    margin: 0;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.55;
  }

  .we-suite {
    border: 2px solid var(--ink);
    margin: 24px 0;
    background: var(--paper);
    box-shadow: var(--shadow-1);
  }
  .we-suite-head {
    padding: 22px 28px 18px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper-2);
  }
  .we-suite-head h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 10px;
    color: var(--ink);
    letter-spacing: -0.02em;
  }
  .we-suite-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
  }
  .we-suite-meta div {
    font-size: 13px;
    color: var(--ink-3);
  }
  .we-suite-meta strong {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
    display: block;
    margin-bottom: 4px;
    font-weight: 400;
  }
  .we-output {
    padding: 24px 28px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-2);
  }
  .we-output h3 {
    font-family: var(--f-body);
    font-size: 22px;
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .we-output h4 {
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin: 24px 0 10px;
    font-weight: 700;
  }
  .we-output p { margin: 0 0 14px; }
  .we-output ul, .we-output ol { margin: 0 0 14px; padding-left: 22px; }
  .we-output li { margin-bottom: 8px; }
  .we-output table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
    font-size: 13px;
  }
  .we-output table th,
  .we-output table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
  }
  .we-output table thead th {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 700;
    border-bottom: 2px solid var(--ink);
    background: var(--paper-2);
  }
  .we-checkpoint {
    background: var(--accent-soft);
    border-top: 2px solid var(--ink);
    padding: 16px 28px;
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.55;
  }
  .we-checkpoint::before {
    content: "Human checkpoint · ";
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 700;
  }

  .we-critique {
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 28px 32px;
    margin: 40px 0 24px;
    box-shadow: var(--shadow-1);
  }
  .we-critique h3 {
    font-family: var(--f-body);
    font-size: 26px;
    margin: 0 0 12px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .we-critique p { color: var(--ink-2); margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; }
  .we-critique ul { margin: 0; padding-left: 22px; }
  .we-critique li { margin-bottom: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

  .we-closing {
    background: var(--ink);
    color: var(--paper);
    padding: 36px 40px;
    margin: 24px 0;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-2);
  }
  .we-closing h3 {
    font-family: var(--f-body);
    font-size: 28px;
    margin: 0 0 12px;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--accent-ink);
  }
  .we-closing p { color: #C7C7C7; font-size: 15px; line-height: 1.6; margin: 0; max-width: 640px; }

  /* ───────── Essays (long-form reading layout) ───────── */
  .essay {
    max-width: 680px;
    margin: 32px 0 80px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 48px;
    position: relative;
    scroll-margin-top: 24px;
  }
  .essay:last-child { border-bottom: 0; }
  .essay-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
    margin-bottom: 30px;
    position: relative;
  }
  .essay-dateline {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 14px;
  }
  .essay-title {
    font-family: var(--f-body);
    font-weight: 900;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0 0 12px;
  }
  .essay-title em {
    font-style: normal;
    color: var(--accent-ink);
    font-weight: 900;
  }
  .essay-subtitle {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.4;
    color: var(--ink-3);
    margin: 0;
    max-width: 600px;
  }
  .essay-head .pc-permalink {
    position: absolute;
    top: 0;
    right: 0;
  }
  .essay-body {
    font-family: var(--f-body);
    
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
  }
  .essay-body p {
    margin: 0 0 22px;
  }
  .essay-body p strong {
    color: var(--ink);
    font-weight: 700;
  }
  .essay-body p em {
    color: var(--accent-ink);
    font-style: italic;
  }
  .essay-body h2 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 44px 0 18px;
    padding-top: 24px;
    border-top: 2px solid var(--ink);
  }
  .essay-body h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
  .essay-signoff {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 17px;
    color: var(--ink-3);
    margin-top: 32px !important;
  }

  /* Essay teaser block on the overview */
  .essay-teaser {
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 28px 32px;
    margin-top: 32px;
    cursor: pointer;
    box-shadow: var(--shadow-1);
    transition: transform .12s, box-shadow .12s, background .12s;
  }
  .essay-teaser:hover {
    background: var(--accent-soft);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-2);
  }
  .essay-teaser-label {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 12px;
    font-weight: 700;
  }
  .essay-teaser h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 10px;
    max-width: 580px;
  }
  .essay-teaser-sub {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    color: var(--ink-3);
    margin: 0 0 16px;
    max-width: 580px;
  }
  .essay-teaser-excerpt {
    color: var(--ink-2);
    margin: 0 0 16px;
    max-width: 580px;
    font-size: 14.5px;
    line-height: 1.55;
  }
  .essay-teaser-cta {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-ink);
  }

  /* ───────── Changelog stub ───────── */
  .changelog {
    border-top: 1px solid var(--line);
    margin-top: 48px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
  }
  .changelog-label {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-4);
  }
  .changelog-body p { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; }
  .changelog-body p:last-child { margin: 0; }
  .changelog-body strong { color: var(--accent-ink); font-weight: 400; }

  .empty {
    padding: 60px 0;
    text-align: center;
    color: var(--ink-4);
    font-family: var(--f-body);
    font-style: italic;
    font-size: 18px;
  }

  /* ───────── Guide / principles ───────── */
  .principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
  }
  .principle {
    padding: 24px 24px 24px 0;
    border-bottom: 1px solid var(--line);
  }
  .principle:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 24px;
  }
  .principle:nth-child(even) { padding-left: 24px; }
  .principle-num {
    font-family: var(--f-body);
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-ink);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .principle h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: var(--ink);
  }
  .principle p { margin: 0; color: var(--ink-2); }

  /* ───────── Templates ───────── */
  #templates-list { display: flex; flex-direction: column; gap: 24px; }
  .template {
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    padding: 28px 32px;
  }
  .template:last-child { border-bottom: 2px solid var(--ink); }
  .template h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.025em;
    margin: 0 0 8px;
    color: var(--ink);
  }
  .template .scenario {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    font-size: 17px;
    color: var(--ink-2);
    max-width: 720px;
    margin: 0 0 20px;
  }
  .chain {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    counter-reset: chainstep;
  }
  .chain li {
    counter-increment: chainstep;
    display: grid;
    grid-template-columns: 40px 180px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dotted var(--line);
    align-items: baseline;
  }
  .chain li::before {
    content: counter(chainstep, decimal-leading-zero);
    font-family: var(--f-body);
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-ink);
    letter-spacing: -0.02em;
  }
  .chain-prompt {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 15px;
    color: var(--ink);
  }
  .chain-prompt small {
    display: block;
    font-family: var(--f-body);
    font-size: 10px;
    color: var(--ink-4);
    letter-spacing: 0.08em;
    margin-top: 2px;
    font-weight: 400;
  }
  .chain-note { color: var(--ink-3); font-size: 14px; }
  .template .workflow {
    padding: 16px 20px;
    background: var(--accent-soft);
    border: 2px solid var(--ink);
    font-size: 14px;
    color: var(--ink-2);
  }
  .template .workflow strong {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
  }

  /* ───────── Tools list ───────── */
  #tools-list { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
  .tool-cat {
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    padding: 28px 32px;
  }
  .tool-cat h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: var(--ink);
  }
  .tool-cat .cat-note {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    color: var(--ink-3);
    font-size: 14.5px;
    margin: 0 0 18px;
  }
  .tool-row {
    display: grid;
    grid-template-columns: 180px 110px 90px 1fr;
    gap: 18px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid var(--line-2);
  }
  .tool-row:first-of-type { border-top: 2px solid var(--ink); }
  .tool-row:last-of-type { padding-bottom: 4px; }
  .tool-name {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .tool-price {
    font-family: var(--f-body);
    font-size: 11.5px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }
  .verdict {
    display: inline-block;
    padding: 4px 10px;
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-press);
    line-height: 1.2;
  }
  .verdict-use { background: var(--accent); color: var(--ink); }
  .verdict-optional { background: var(--paper); color: var(--ink); }
  .verdict-skip { background: var(--ink); color: var(--paper); }
  .tool-note {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-2);
  }
  @media (max-width: 900px) {
    .tool-row { grid-template-columns: 1fr 90px; gap: 8px; }
    .tool-name { grid-column: 1; grid-row: 1; }
    .verdict { grid-column: 2; grid-row: 1; justify-self: end; }
    .tool-price { grid-column: 1 / -1; grid-row: 2; }
    .tool-note { grid-column: 1 / -1; grid-row: 3; }
  }

  /* ───────── Roadmap ───────── */
  .roadmap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .cadence {
    padding: 24px 20px 24px 0;
    border-right: 1px solid var(--line);
  }
  .cadence:last-child { border-right: 0; padding-right: 0; }
  .cadence:not(:first-child) { padding-left: 20px; }
  .cadence h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
    color: var(--ink);
  }
  .cadence ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .cadence li {
    padding: 8px 0 8px 14px;
    font-size: 13.5px;
    color: var(--ink-2);
    position: relative;
    line-height: 1.5;
  }
  .cadence li::before {
    content: ",";
    position: absolute;
    left: 0;
    color: var(--accent-ink);
  }

  /* ───────── Customization ───────── */
  .custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .custom-item {
    padding: 24px 24px 24px 0;
    border-bottom: 1px solid var(--line);
  }
  .custom-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .custom-item:nth-child(even) { padding-left: 24px; padding-right: 0; }
  .custom-item h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .custom-item p { margin: 0; color: var(--ink-2); }

  /* ───────── Playbooks ───────── */
  #playbooks-list { display: flex; flex-direction: column; gap: 24px; }
  .playbook {
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    padding: 32px 36px;
  }
  .playbook:last-child { border-bottom: 2px solid var(--ink); }
  .pb-head {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 32px;
    align-items: start;
    margin-bottom: 20px;
  }
  .pb-title {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .pb-summary {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    font-size: 17px;
    color: var(--ink-2);
    margin: 0;
    max-width: 560px;
  }
  .pb-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 1px solid var(--line);
    padding-left: 24px;
  }
  .pb-meta > div { display: flex; flex-direction: column; gap: 2px; }
  .pb-meta-label {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-4);
  }
  .pb-meta-val {
    font-family: var(--f-body);
    font-size: 16px;
    color: var(--ink-2);
    font-weight: 400;
  }

  .mix-bar {
    display: flex;
    height: 32px;
    border: 2px solid var(--ink);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 24px;
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .mix-human { background: var(--ink); color: var(--paper); display: flex; align-items: center; padding: 0 12px; }
  .mix-ai { background: var(--accent); color: var(--ink); display: flex; align-items: center; padding: 0 12px; justify-content: flex-end; }

  .steps { list-style: none; padding: 0; margin: 0 0 24px; }
  .step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px dotted var(--line);
    align-items: start;
  }
  .step-kind {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 0;
    text-align: center;
    font-weight: 400;
  }
  .step-human .step-kind { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font-weight: 700; }
  .step-ai .step-kind { background: var(--accent); color: var(--ink); border: 1px solid var(--ink); font-weight: 700; }
  .step-title {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
    color: var(--ink);
  }
  .step-body { color: var(--ink-2); font-size: 14px; }

  .pitfalls {
    padding: 16px 20px;
    background: var(--paper-2);
    border: 2px solid var(--ink);
    border-left: 4px solid var(--warn);
  }
  .pitfalls-label {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 8px;
    font-weight: 700;
  }
  .pitfalls ul { margin: 0; padding: 0 0 0 16px; color: var(--ink-2); font-size: 14px; }
  .pb-group { font-family: var(--f-body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin: 8px 0 -8px; color: var(--ink-2); }
  .pb-group span { color: var(--ink); font-weight: 700; margin-left: 6px; }
  .pb-uses { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 16px; }
  .pb-uses .pb-meta-label { margin-right: 4px; }
  .pb-chip { font-size: 12.5px; padding: 3px 8px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; }
  .pb-chip:hover { background: var(--paper-2); }
  .pb-connect { padding: 16px 20px; background: var(--paper-2); border: 2px solid var(--ink); border-left: 4px solid var(--ink); margin: 0 0 20px; overflow-x: auto; }
  .pb-connect table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
  @media (max-width: 640px) { .pb-connect table { min-width: 0; } .pb-connect thead { display: none; } .pb-connect tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); } .pb-connect td { display: block; border: 0; padding: 2px 0; } }
  .pb-connect th { text-align: left; font-family: var(--f-body); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 8px 6px 0; border-bottom: 2px solid var(--ink); }
  .pb-connect td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
  .pb-connect td strong { color: var(--ink); display: block; }
  .pb-how { display: inline-block; font-family: var(--f-body); font-size: 10.5px; padding: 2px 6px; border: 1px solid var(--ink); white-space: nowrap; }
  .pb-how-built-in { background: #e6f4ea; }
  .pb-how-connector-directory { background: #e8eefc; }
  .pb-how-custom-connector { background: #fdf0e2; }
  .pb-how-local-mcp { background: #f3e8fc; }
  .pb-how-export { background: #f1f1f1; }
  .pb-need { display: inline-block; margin-top: 2px; font-size: 11px; color: var(--accent, #FF4D2E); font-weight: 700; }
  .pb-connect-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
  .pitfalls li { margin-bottom: 4px; }

  /* ───────── Mobile-only tier jump-bar (sits sticky above the pricing cards on phone) ───────── */
  /* On desktop the 4-up grid lets buyers compare. On mobile the cards stack and you can't see what's coming.
     this gives a 1-tap preview + jump for the 4 pricing tiers. */
  .tier-jumpbar { display: none; }
  @media (max-width: 1000px) {
    .tier-jumpbar {
      display: flex;
      gap: 8px;
      position: sticky;
      top: 64px;                       /* sits below the mobile-topbar */
      background: var(--paper);
      padding: 12px 0;
      margin: 16px 0 24px;
      z-index: 30;
      border-top: 2px solid var(--ink);
      border-bottom: 2px solid var(--ink);
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .tier-jumpbar a {
      flex: 1;
      min-width: 0;
      text-align: center;
      font-family: var(--f-body);
      font-weight: 700;
      font-size: 14px;
      letter-spacing: -0.01em;
      padding: 10px 6px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      background: var(--paper);
      border: 2px solid var(--ink);
      box-shadow: var(--shadow-press);
      text-decoration: none;
      transition: background .12s, transform .12s;
    }
    .tier-jumpbar a:hover, .tier-jumpbar a:active {
      background: var(--accent);
      transform: translate(-1px, -1px);
      box-shadow: var(--shadow-1);
    }
  }

  /* ───────── Pricing (blocks-cloud style: hard borders, hard shadows, no gaps) ───────── */
  /* Main grid holds 2 tiers (Free + the flagship suite). Centre them with a
     constrained width so they read as intentional, not left-crammed. */
  .tiers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    border: 0;
    max-width: 860px;
    margin: 0 auto;
  }
  @media (max-width: 1200px) {
    .tiers { grid-template-columns: repeat(2, 1fr); }
  }
  /* The strategy tier sits in its own grid below, single full-width card */
  #strategy-tiers-grid.tiers { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
  .tier {
    padding: 28px 22px;
    border: 2px solid var(--ink);
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--paper);
    box-shadow: var(--shadow-1);
    transition: transform .12s, box-shadow .12s;
  }
  .tier:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-2); }
  .tier-popular {
    background: var(--accent-soft);
    border: 2px solid var(--ink);
  }
  .tier-badge {
    position: absolute;
    top: -14px;
    left: 22px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 0;
    box-shadow: var(--shadow-press);
  }
  .tier-name {
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 14px;
  }
  /* Bold "FLAT TEAM LICENSE" flag on the Suite card, answers Ravi's "the team story is buried" complaint */
  .tier-team-flag {
    display: inline-block;
    font-family: var(--f-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--paper);
    background: var(--accent);
    border: 2px solid var(--ink);
    padding: 5px 8px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-press);
    line-height: 1.2;
  }
  .tier-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 10px;
  }
  .tier-amount {
    font-family: var(--f-body);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
  }
  .tier-cadence {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: var(--ink-4);
    text-transform: uppercase;
    line-height: 1.6;
    max-width: 100%;
  }
  .tier-tagline {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    font-size: 17px;
    color: var(--ink-2);
    margin: 14px 0 18px;
    line-height: 1.35;
  }
  .tier-best {
    font-size: 13px;
    color: var(--ink-3);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .tier-best span {
    display: block;
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 4px;
  }
  .tier-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex: 1;
  }
  .tier-includes li {
    padding: 7px 0 7px 22px;
    font-size: 13px;
    color: var(--ink-2);
    position: relative;
    line-height: 1.5;
  }
  .tier-includes li.yes::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--accent-ink);
    font-weight: 700;
    font-family: var(--f-body);
  }
  .tier-includes li.no {
    color: var(--ink-4);
    text-decoration: line-through;
  }
  .tier-includes li.no::before {
    content: ",";
    position: absolute;
    left: 0;
    color: var(--ink-4);
    font-family: var(--f-body);
  }
  .tier-cta {
    width: 100%;
    padding: 14px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--paper);
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
    box-shadow: var(--shadow-1);
    transition: transform .12s, box-shadow .12s, background .12s;
    font-weight: 700;
  }
  .tier-cta:hover { background: var(--accent); color: var(--ink); transform: translate(-1px, -1px); box-shadow: var(--shadow-2); }
  .tier-cta:active { box-shadow: var(--shadow-press); transform: translate(2px, 2px); }
  .tier-popular .tier-cta { background: var(--ink); color: var(--paper); }
  .tier-popular .tier-cta:hover { background: var(--accent); color: var(--ink); }
  /* Second CTA appearing high in card on small tiers (Free / Single Pack / Agent Pack)
     so buyers don't have to scroll past the includes list to find Buy. */
  .tier-cta-top { margin: 14px 0 22px; }
  /* Pre-launch state: visually obvious that checkout is not live yet */
  .tier-cta-prelaunch,
  .tier-popular .tier-cta-prelaunch {
    background: var(--paper-2);
    color: var(--ink-3);
    border: 1px dashed var(--line-2);
    font-size: 10.5px;
    cursor: default;
  }
  .tier-cta-prelaunch:hover,
  .tier-popular .tier-cta-prelaunch:hover {
    background: var(--paper-2);
    color: var(--ink-2);
    border-color: var(--accent);
  }
  .ars-cta button.tier-cta-prelaunch,
  button.tier-cta-prelaunch {
    background: var(--paper-2);
    color: var(--ink-3);
    border: 1px dashed var(--line-2);
  }

  @media (max-width: 1000px) {
    .pb-head { grid-template-columns: 1fr; }
    .pb-meta { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; flex-direction: row; gap: 32px; }
    .tiers { grid-template-columns: 1fr; }
    .tier { border-right: 0; border-bottom: 1px solid var(--line); }
    .tier:last-child { border-bottom: 0; }
  }

  /* ───────── Member area ───────── */
  .member-gate {
    max-width: 520px;
    border: 2px solid var(--ink);
    background: var(--paper);
    padding: 32px;
    margin: 8px 0 32px;
    box-shadow: var(--shadow-1);
  }
  .member-gate h3 {
    font-family: var(--f-body);
    font-size: 28px;
    margin: 0 0 8px;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: var(--ink);
  }
  .member-gate p {
    margin: 0 0 16px;
    color: var(--ink-3);
  }
  .member-gate form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }
  .member-gate input {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid var(--ink);
    background: var(--paper);
    font-family: var(--f-body);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--ink);
  }
  .member-gate input:focus {
    outline: none;
    box-shadow: var(--shadow-press);
  }
  .member-gate .prim-btn {
    padding: 12px 22px;
    border: 2px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    border-radius: 0;
    box-shadow: var(--shadow-press);
    transition: transform .12s, box-shadow .12s, background .12s;
  }
  .member-gate .prim-btn:hover { background: var(--accent); color: var(--ink); transform: translate(-1px, -1px); box-shadow: var(--shadow-1); }
  .member-gate .member-gate-hint {
    font-size: 13px;
    color: var(--ink-4);
    margin: 12px 0 0;
  }
  .member-gate .member-gate-hint a { color: var(--accent-ink); }
  .member-gate .member-gate-err {
    color: var(--accent-ink);
    font-size: 13px;
    margin: 10px 0 0;
  }
  .linklike {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
  }
  .member-banner .who .linklike {
    color: var(--accent-ink);
    margin-left: 6px;
    font-size: 12px;
  }
  .member-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 26px;
    background: var(--ink);
    color: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-1);
    border-radius: 0;
    margin-bottom: 32px;
  }
  .member-banner .who {
    font-family: var(--f-body);
    font-size: 18px;
    letter-spacing: -0.015em;
  }
  .member-banner .who b { color: var(--accent-ink); font-weight: 700; }
  .member-banner .lk {
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #C7C7C7;
  }
  .member-banner .lk b { color: var(--paper); }
  .member-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .member-card {
    padding: 24px 28px;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
  }
  .member-card .mc-label {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-ink);
    margin-bottom: 8px;
    font-weight: 700;
  }
  .member-card h3 {
    font-family: var(--f-body);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .member-card p { margin: 0 0 14px; color: var(--ink-2); }
  .member-card .mc-btn {
    padding: 11px 16px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 0;
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow-press);
    transition: transform .12s, box-shadow .12s, background .12s;
    font-weight: 700;
  }
  .member-card .mc-btn:hover { background: var(--accent); transform: translate(-1px, -1px); box-shadow: var(--shadow-1); }
  .member-card .mc-btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .member-card .mc-btn.primary:hover { background: var(--accent); color: var(--ink); }

  /* ───────── Onboarding ───────── */
  .onboard-steps {
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }
  .onboard-step {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
  }
  .onboard-step .minute {
    font-family: var(--f-body);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--accent-ink);
    padding-top: 4px;
  }
  .onboard-step h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: var(--ink);
  }
  .onboard-step p { margin: 0; color: var(--ink-2); max-width: 580px; }
  .onboard-step .cta-btn {
    padding: 11px 16px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 0;
    color: var(--ink);
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--shadow-press);
    font-weight: 700;
    transition: transform .12s, box-shadow .12s, background .12s;
  }
  .onboard-step .cta-btn:hover { background: var(--accent); transform: translate(-1px, -1px); box-shadow: var(--shadow-1); }
  .onboard-aft {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--accent-soft);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-press);
  }
  .onboard-aft strong {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-ink);
    font-weight: 400;
    display: block;
    margin-bottom: 8px;
  }
  .onboard-aft ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
  .onboard-aft li { padding: 3px 0; }

  /* ───────── Context Vault ───────── */
  .vault-why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    margin: 24px 0 36px;
  }
  .vault-why-item {
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    font-family: var(--f-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--ink-2);
    line-height: 1.45;
  }
  .vault-why-item:last-child { border-right: 0; }
  .vault-section {
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    padding: 24px 28px;
    margin-bottom: 16px;
  }
  .vault-section:last-of-type { border-bottom: 2px solid var(--ink); }
  .vault-sec-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 4px;
  }
  .vault-sec-head h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ink);
  }
  .vault-sec-head .num {
    font-family: var(--f-body);
    font-size: 11px;
    color: var(--ink-4);
    letter-spacing: 0.05em;
  }
  .vault-sec-hint {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 400;
    color: var(--ink-3);
    margin: 0 0 16px;
    font-size: 15px;
  }
  .vault-field {
    margin-bottom: 16px;
  }
  .vault-field label {
    display: block;
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 6px;
  }
  .vault-field input,
  .vault-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--ink);
    background: var(--paper);
    font-family: inherit;
    font-size: 14px;
    color: var(--ink);
    border-radius: 0;
    resize: vertical;
  }
  .vault-field textarea { min-height: 72px; font-family: var(--f-mono); font-size: 13px; line-height: 1.6; }
  .vault-field input:focus,
  .vault-field textarea:focus { outline: none; border-color: var(--accent); }
  .vault-field input::placeholder,
  .vault-field textarea::placeholder { color: var(--ink-4); font-style: italic; }
  .vault-actions {
    position: sticky;
    bottom: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 16px 0;
    margin-top: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  .vault-actions .prim-btn {
    padding: 11px 18px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 0;
    cursor: pointer;
  }
  .vault-actions .prim-btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
  .vault-actions .sec-btn {
    padding: 11px 18px;
    font-family: var(--f-body);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--paper-2);
    color: var(--ink);
    border: 1px solid var(--line-2);
    border-radius: 0;
    cursor: pointer;
  }
  .vault-actions .sec-btn:hover { border-color: var(--ink); }
  .vault-actions .saved-msg {
    font-family: var(--f-body);
    font-size: 11px;
    color: var(--ok);
    letter-spacing: 0.05em;
  }
  .vault-output {
    margin-top: 28px;
    padding: 22px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-left: 2px solid var(--accent);
    font-family: var(--f-mono);
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--ink-2);
    white-space: pre-wrap;
    max-height: 420px;
    overflow-y: auto;
    display: none;
  }
  .vault-output.shown { display: block; }

  /* ───────── Prep Checklist ───────── */
  .prep-group {
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    padding: 22px 28px;
    margin-bottom: 16px;
  }
  .prep-group:last-child { border-bottom: 2px solid var(--ink); }
  .prep-group h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--ink);
  }
  .prep-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .prep-group li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    color: var(--ink-2);
    font-size: 14.5px;
  }
  .prep-group li input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink);
    border-radius: 0;
    margin-top: 3px;
    cursor: pointer;
    background: var(--paper);
    flex-shrink: 0;
    position: relative;
  }
  .prep-group li input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
  }
  .prep-group li input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    color: var(--paper);
    font-size: 12px;
    top: -2px;
    left: 2px;
  }
  .prep-group li input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    color: var(--ink-4);
  }
  .prep-group li label { cursor: pointer; flex: 1; }

  /* ───────── Troubleshooting ───────── */
  #trouble-list { display: flex; flex-direction: column; gap: 16px; }
  .trouble-item {
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
    padding: 22px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }
  .trouble-item:last-child { border-bottom: 2px solid var(--ink); }
  .trouble-item h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.015em;
    margin: 0 0 8px;
    line-height: 1.25;
    color: var(--ink);
  }
  .trouble-item .tl-label {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 4px;
    font-weight: 700;
  }
  .trouble-item p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
  .trouble-item .fix p { color: var(--ink-2); }
  .trouble-item .fix .tl-label { color: var(--accent-ink); }

  @media (max-width: 1000px) {
    .member-grid, .vault-why { grid-template-columns: 1fr; }
    .vault-why-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .vault-why-item:last-child { border-bottom: 0; }
    .onboard-step { grid-template-columns: 1fr; gap: 8px; }
    .trouble-item { grid-template-columns: 1fr; gap: 12px; }
  }

  /* ───────── Strategy Operating System ───────── */
  .ars-hero {
    margin: 8px 0 36px;
    padding: 32px 36px;
    background: var(--ink);
    color: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-2);
    border-radius: 0;
    position: relative;
  }
  .ars-hero .eyebrow { color: var(--accent-ink); margin-bottom: 10px; font-weight: 700; }
  .ars-hero h2 {
    font-family: var(--f-body);
    font-weight: 900;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
    max-width: 900px;
    color: var(--paper);
  }
  .ars-hero h2 em { font-style: normal; color: var(--accent-ink); font-weight: 900; }
  .ars-hero p { color: #C7C7C7; max-width: 720px; font-size: 15.5px; line-height: 1.6; margin: 0; }

  .ars-position {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
  }
  .ars-position-cell {
    padding: 22px 22px 24px;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
  }
  .ars-position-cell:last-child { border-right: 2px solid var(--ink); }
  .ars-position-cell .lbl {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    display: block;
    margin-bottom: 10px;
  }
  .ars-position-cell p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

  #ars-suites { display: flex; flex-direction: column; gap: 24px; }
  .ars-suite {
    padding: 28px 32px;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
  }
  .ars-suite:last-of-type { border-bottom: 2px solid var(--ink); }
  .ars-suite-head {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin-bottom: 22px;
  }
  .ars-suite-title {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.025em;
    line-height: 1.12;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .ars-suite-positioning {
    margin: 0;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 640px;
  }
  .ars-pricing-box {
    background: var(--accent-soft);
    border: 2px solid var(--ink);
    padding: 16px 18px;
    font-size: 13px;
    line-height: 1.55;
  }
  .ars-pricing-box .row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dotted var(--line-2); }
  .ars-pricing-box .row:last-child { border-bottom: 0; }
  .ars-pricing-box .lbl { color: var(--ink); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--f-body); font-weight: 700; }
  .ars-pricing-box .val { color: var(--ink); font-weight: 400; text-align: right; max-width: 60%; }
  .ars-pricing-box .val.accent { color: var(--ink); font-weight: 700; }

  .ars-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5px;
    background: var(--ink);
    border: 2px solid var(--ink);
    margin-top: 18px;
  }
  .ars-col { padding: 18px 22px 20px; background: var(--paper); }
  .ars-col h4 {
    font-family: var(--f-body);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 12px;
    font-weight: 700;
  }
  .ars-col h4.yes { color: var(--ok); }
  .ars-col h4.no { color: var(--warn); }
  .ars-col h4.still { color: var(--accent-ink); }
  .ars-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .ars-col li {
    padding: 8px 0 10px 16px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-2);
    border-bottom: 1px dotted var(--line);
    position: relative;
  }
  .ars-col li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--ok);
    font-family: var(--f-body);
  }
  .ars-col.no li::before { content: "-"; color: var(--warn); }
  .ars-col.still li::before { content: "·"; color: var(--accent-ink); font-size: 18px; top: 6px; }
  .ars-col.still p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-2);
  }

  .ars-chained-prompts {
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--paper-2);
    border: 1.5px dashed var(--ink);
    font-size: 12.5px;
    color: var(--ink-2);
    font-family: var(--f-body);
    letter-spacing: 0.02em;
  }
  .ars-chained-prompts b { color: var(--ink); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 10.5px; margin-right: 10px; }
  .ars-chained-prompts .p-chip {
    display: inline-block;
    padding: 3px 8px;
    margin: 0 4px 4px 0;
    background: var(--paper);
    border: 1px solid var(--ink);
    color: var(--ink);
    font-size: 11px;
    letter-spacing: 0.04em;
    font-weight: 700;
  }

  .ars-bonus {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px solid var(--ink);
  }
  .ars-bonus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
  }
  .ars-bonus-item {
    padding: 20px 24px;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-1);
  }
  .ars-bonus-item .id {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-bottom: 8px;
  }
  .ars-bonus-item h4 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 8px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
  }
  .ars-bonus-item p {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-2);
  }
  .ars-bonus-item .use {
    font-size: 12.5px;
    color: var(--ink-3);
    border-top: 1px dotted var(--line);
    padding-top: 10px;
    line-height: 1.5;
  }
  .ars-bonus-item .use b {
    font-family: var(--f-body);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
    font-weight: 400;
    margin-right: 6px;
  }

  .ars-econ {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-1);
  }
  .ars-econ h3 {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .ars-econ .intro { color: var(--ink-3); margin: 0 0 16px; font-size: 14px; }
  .ars-econ table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
  .ars-econ td {
    padding: 10px 0;
    border-bottom: 1px dotted var(--line);
    font-size: 14px;
    vertical-align: top;
  }
  .ars-econ td:first-child { color: var(--ink-3); padding-right: 20px; width: 55%; }
  .ars-econ td:last-child { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
  .ars-econ tr:last-child td { border-bottom: 0; padding-top: 14px; font-weight: 400; }
  .ars-econ tr:last-child td:last-child { color: var(--accent-ink); }
  .ars-econ .caveat {
    margin: 8px 0 0;
    font-size: 12.5px;
    color: var(--ink-3);
    line-height: 1.55;
    font-style: italic;
  }

  .ars-faq {
    margin-top: 40px;
  }
  .ars-faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .ars-faq-item:first-child { border-top: 1px solid var(--line); }
  .ars-faq-item .q {
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 19px;
    margin: 0 0 8px;
    color: var(--ink);
    line-height: 1.3;
    letter-spacing: -0.015em;
  }
  .ars-faq-item .a {
    margin: 0;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.6;
    max-width: 820px;
  }

  .ars-cta {
    margin: 40px 0 20px;
    padding: 36px 40px;
    background: var(--ink);
    color: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-2);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
  }
  .ars-cta h3 {
    font-family: var(--f-body);
    font-weight: 900;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 8px;
    max-width: 640px;
    letter-spacing: -0.025em;
    color: var(--paper);
  }
  .ars-cta .price {
    font-family: var(--f-body);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #C7C7C7;
    margin: 0;
  }
  .ars-cta button {
    background: var(--accent);
    color: var(--ink);
    border: 1.5px solid var(--paper);
    padding: 14px 28px;
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    box-shadow: 3px 3px 0 var(--paper);
    transition: transform .12s, box-shadow .12s;
  }
  .ars-cta button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--paper); }

  @media (max-width: 1000px) {
    .ars-position { grid-template-columns: 1fr; }
    .ars-position-cell { border-right: 0; border-bottom: 1px solid var(--line); }
    .ars-position-cell:last-child { border-bottom: 0; }
    .ars-suite-head { grid-template-columns: 1fr; }
    .ars-cols { grid-template-columns: 1fr; }
    .ars-col { border-right: 0; border-bottom: 1px solid var(--line); }
    .ars-col:last-child { border-bottom: 0; }
    .ars-bonus-grid { grid-template-columns: 1fr; }
    .ars-cta { grid-template-columns: 1fr; }
    .ars-hero h2 { font-size: 30px; }
  }

  /* scrollbars */
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--paper); }
  ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 0; }
  ::-webkit-scrollbar-thumb:hover { background: var(--ink-4); }

  @media (max-width: 1000px) {
    .app { grid-template-columns: 1fr; }
    .sidebar { position: static; height: auto; }
    .main { padding: 32px 24px 80px; }
    h1.display { font-size: 44px; }
    .two-col, .principles, .custom-grid, .roadmap { grid-template-columns: 1fr; }
    .principle:nth-child(odd), .custom-item:nth-child(odd) { border-right: 0; padding-right: 0; }
    .custom-item:nth-child(even), .principle:nth-child(even) { padding-left: 0; }
    .cadence { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    /* Reset all stats to base padding so the 2x2 grid is symmetric */
    .stat { padding: 22px 22px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
    /* Row 1: cells 1+2, kill outer left/right padding so row spans edge-to-edge */
    .stat:nth-child(1) { padding-left: 0; }
    .stat:nth-child(2) { padding-right: 0; border-right: 0; }
    /* Row 2: cells 3+4, same edge alignment, no bottom border (the row container already has one) */
    .stat:nth-child(3) { padding-left: 0; border-bottom: 0; }
    .stat:nth-child(4) { padding-right: 0; border-right: 0; border-bottom: 0; }
    .stat-num { font-size: 40px; }
    .chain li { grid-template-columns: 32px 1fr; }
    .chain-note { grid-column: 2; }
  }

  /* ───────── Discipline picker modal (Single Pack) ───────── */
  .disc-picker-overlay {
    position: fixed; inset: 0;
    background: rgba(20, 19, 18, 0.55);
    z-index: 1000;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 60px 20px;
    overflow-y: auto;
  }
  .disc-picker {
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    max-width: 640px;
    width: 100%;
    padding: 36px 32px 28px;
    position: relative;
    border-radius: 2px;
  }
  .disc-picker-close {
    position: absolute; top: 12px; right: 14px;
    width: 32px; height: 32px;
    background: transparent; border: 0; cursor: pointer;
    font-size: 22px; line-height: 1; color: var(--ink-3);
  }
  .disc-picker-close:hover { color: var(--ink); }
  .disc-picker-kicker {
    font-family: var(--f-body);
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-3); margin-bottom: 8px;
  }
  .disc-picker h2 {
    font-family: var(--f-body); font-weight: 400;
    font-size: 28px; line-height: 1.15; margin: 0 0 12px;
    color: var(--ink);
  }
  .disc-picker-lede {
    font-size: 14px; line-height: 1.55; color: var(--ink-2);
    margin: 0 0 22px;
  }
  .disc-picker-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    margin-bottom: 18px;
  }
  .disc-pick-btn {
    text-align: left;
    background: var(--paper); color: var(--ink);
    border: 2px solid var(--ink);
    padding: 14px 16px;
    cursor: pointer;
    display: flex; flex-direction: column; gap: 4px;
    transition: all 0.12s ease;
    border-radius: 2px;
  }
  .disc-pick-btn:hover {
    background: var(--accent); color: var(--ink);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--ink);
  }
  .disc-pick-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
  .dpb-name { font-size: 14.5px; font-weight: 700; }
  .dpb-count {
    font-family: var(--f-body);
    font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em;
  }
  .disc-pick-btn:hover .dpb-count { color: var(--ink); }
  .disc-picker-foot {
    font-size: 12px; color: var(--ink-3);
    border-top: 1px solid var(--line); padding-top: 14px; margin: 0;
  }
  @media (max-width: 560px) {
    .disc-picker-grid { grid-template-columns: 1fr; }
    .disc-picker { padding: 28px 22px 22px; }
    .disc-picker h2 { font-size: 23px; }
  }

  /* ───────── Mobile top bar + hamburger (hidden on desktop) ───────── */
  .mobile-topbar { display: none; }
  .mobile-menu-btn { display: none; }
  .sidebar-backdrop { display: none; }

  @media (max-width: 900px) {
    /* Layout: collapse to single column. Sidebar becomes a slide-in drawer. */
    .app { grid-template-columns: 1fr; }

    /* Mobile top bar, sticky, contains brand wordmark + hamburger */
    .mobile-topbar {
      display: flex; align-items: center; justify-content: space-between;
      position: sticky; top: 0; z-index: 50;
      background: var(--paper);
      border-bottom: 2px solid var(--ink);
      padding: 14px 18px;
    }
    .mobile-brand {
      font-family: var(--f-body);
      font-weight: 900; font-size: 17px;
      letter-spacing: -0.025em;
      color: var(--ink); text-decoration: none;
    }
    .mobile-brand em { font-style: normal; color: var(--accent-ink); }

    /* Hamburger button, 3 stacked bars; transforms into X when open */
    .mobile-menu-btn {
      display: inline-flex; flex-direction: column; gap: 5px;
      background: var(--paper); border: 2px solid var(--ink);
      box-shadow: var(--shadow-press);
      padding: 9px 11px; cursor: pointer;
    }
    .mobile-menu-bar {
      display: block; width: 18px; height: 2px;
      background: var(--ink); transition: transform .18s, opacity .18s;
    }
    .mobile-menu-btn[aria-expanded="true"] .mobile-menu-bar:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn[aria-expanded="true"] .mobile-menu-bar:nth-child(2) { opacity: 0; }
    .mobile-menu-btn[aria-expanded="true"] .mobile-menu-bar:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* Sidebar: hidden by default, slides in from the left when .is-open */
    .sidebar {
      position: fixed;
      top: 0; left: 0;
      width: min(85vw, 320px);
      height: 100vh;
      z-index: 60;
      border-right: 2px solid var(--ink);
      box-shadow: 4px 0 0 var(--ink);
      padding: 28px 26px 80px;
      transform: translateX(-100%);
      visibility: hidden; /* closed menu: out of the tab order and screen readers, no shadow strip */
      transition: transform .22s ease, visibility 0s linear .22s;
      overflow-y: auto;
    }
    .sidebar.is-open { transform: translateX(0); visibility: visible; transition: transform .22s ease, visibility 0s; }

    /* Backdrop dims main content when sidebar is open */
    .sidebar-backdrop {
      display: block;
      position: fixed; inset: 0;
      background: rgba(17, 17, 17, 0.45);
      z-index: 55;
      opacity: 0; pointer-events: none;
      transition: opacity .22s;
    }
    .sidebar-backdrop.is-open { opacity: 1; pointer-events: auto; }

    /* Main content takes full width on mobile */
    .main { padding-top: 16px; }

    /* Google mobile-friendly compliance: tap targets ≥ 48px, font sizes ≥ 16px */
    /* Sidebar nav items become real touch targets */
    .nav-item {
      font-size: 16px;            /* up from 14px, meets Lighthouse legible-fonts minimum */
      padding: 14px 4px;          /* ~48px tap height with 16px line-height */
      min-height: 48px;
      border-bottom: 1px solid var(--line-2);
    }
    .nav-item:last-child { border-bottom: 0; }
    .nav-item .count { font-size: 13px; }
    .nav-label {
      font-size: 11.5px;          /* up from 10px, small caps label is OK at this size */
      margin: 28px 0 8px;
    }
    /* Brand wordmark in the (now-drawer) sidebar gets a touch of room */
    .sidebar .brand { font-size: 24px; }
    .sidebar .brand-sub { font-size: 12px; margin-top: 8px; }

    /* Footer links, pass tap-target + font-size minimums */
    .footer-links { gap: 14px 22px; }
    .footer-links a {
      font-size: 14px;            /* up from 11.5px */
      padding: 12px 4px;          /* ~48px tap height */
      min-height: 48px;
      display: inline-flex;
      align-items: center;
    }
    .footer-fineprint { font-size: 13px; line-height: 1.65; }

    /* Prompt-card permalink buttons (the small ↗ link in the corner) */
    .pc-permalink {
      min-height: 44px;
      min-width: 44px;
      padding: 10px 12px;
      font-size: 13px;
    }
  }

  /* ───────── Open-source-on-shutdown trust anchor (above pricing) ───────── */
  .shutdown-promise {
    background: var(--accent-soft);
    border: 2px solid var(--ink);
    box-shadow: var(--shadow-1);
    padding: 18px 22px;
    margin: 24px 0 32px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
  }
  .shutdown-label {
    flex-shrink: 0;
    font-family: var(--f-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-ink);
    background: var(--paper);
    border: 2px solid var(--ink);
    padding: 6px 10px;
    box-shadow: var(--shadow-press);
  }
  .shutdown-text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-2);
  }
  .shutdown-text a {
    color: var(--accent-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  @media (max-width: 700px) {
    .shutdown-promise { flex-direction: column; gap: 10px; }
  }

  /* ───────── Site footer ───────── */
  .site-footer {
    margin-top: 80px;
    border-top: 2px solid var(--ink);
    padding: 40px 0 32px;
  }
  .site-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: start;
  }
  .footer-tagline {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 6px;
    line-height: 1.55;
    max-width: 42ch;
  }
  .footer-tagline a {
    color: var(--ink-2);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .footer-tagline a:hover { color: var(--accent-ink); }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    justify-content: flex-end;
  }
  .footer-links a {
    font-family: var(--f-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-2);
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
  }
  .footer-links a:hover {
    color: var(--accent-ink);
    border-bottom-color: var(--accent);
  }
  .footer-fineprint {
    grid-column: 1 / -1;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line-2);
    font-size: 12px;
    color: var(--ink-4);
    line-height: 1.6;
  }
  .footer-fineprint a {
    color: var(--ink-3);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .footer-fineprint a:hover { color: var(--accent-ink); }
  @media (max-width: 760px) {
    .site-footer-inner { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; gap: 14px 18px; }
  }

  /* ───────── Inline error chip (replaces native alert() popups) ───────── */
  .inline-err {
    margin-top: 10px;
    padding: 10px 12px;
    background: #FFEDE8;
    border: 1.5px solid #C73318;
    color: #8B1F0E;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    box-shadow: 2px 2px 0 #C73318;
    max-width: 360px;
    border-radius: 2px;
  }

  /* ───────── Accessibility: focus indicators + skip link ───────── */
  /* Visible focus outline for keyboard users on every interactive element. */
  :where(a, button, [role="button"], input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--accent-ink);
    outline-offset: 2px;
    border-radius: 2px;
  }
  /* Skip-to-content link, first thing in the tab order, only visible when focused. */
  .skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 14px;
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 1000;
    transition: top .15s;
  }
  .skip-link:focus { top: 8px; outline: 2px solid var(--accent); outline-offset: 2px; }
  /* Honor reduced-motion: disable transitions and the slide-in drawer animation */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  }

  /* ───────── Print / PDF export ───────── */
  @media print {
    @page { margin: 18mm 14mm; }
    html, body { background: #fff !important; color: #000 !important; }
    body { font-size: 11pt; }
    .sidebar, .member-gate, .stat-row, .filters, .search-wrap,
    .tier-cta, .cta-btn, .mc-btn, .ars-cta button, .prim-btn, .sec-btn,
    [data-goto] { display: none !important; }
    .app { display: block; }
    .main { padding: 0; }
    /* Show every view so users get a full printable library */
    section.view { display: block !important; break-inside: avoid-page; page-break-inside: avoid; padding: 0 0 18pt; }
    section.view + section.view { border-top: 1px solid #999; padding-top: 14pt; margin-top: 14pt; }
    h1, h2, h3 { break-after: avoid-page; page-break-after: avoid; }
    .prompt-card, .playbook, .course-card, .ars-suite, .tier, .member-card {
      break-inside: avoid-page; page-break-inside: avoid;
      border: 1px solid #bbb; background: #fff; padding: 10pt; margin: 8pt 0;
    }
    .prompt-card .blur-overlay, .locked-overlay { display: none !important; }
    .prompt-card.locked { filter: none !important; opacity: 1 !important; }
    pre, code { white-space: pre-wrap; word-wrap: break-word; font-size: 9.5pt; }
    a { color: #000; text-decoration: underline; }
    a[href]:after { content: "" !important; } /* suppress URL expansion */
  }

/* ───────── Skills grid (was inline in the overview) ───────── */

        .skills-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:6px 0; }
        @media (max-width:720px){ .skills-grid{ grid-template-columns:1fr; } }
        .skill-card { display:block; border:2px solid var(--ink); background:transparent; padding:22px 22px 18px; text-decoration:none; color:inherit; box-shadow:5px 5px 0 var(--ink); transition:transform .12s ease, box-shadow .12s ease; }
        .skill-card:hover { transform:translate(-2px,-2px); box-shadow:7px 7px 0 var(--ink); }
        .skill-card .skill-tag { font-family: var(--f-body); font-size:10px; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-3); margin-bottom:8px; }
        .skill-card h3 { font-family: var(--f-body); font-size:22px; line-height:1.1; margin:0 0 8px; }
        .skill-card p { font-size:14px; line-height:1.55; color:var(--ink-2); margin:0 0 14px; }
        .skill-card .skill-foot { font-family: var(--f-body); font-size:11px; letter-spacing:0.05em; color:var(--accent-ink); font-weight:700; }
      
/* ═════════════════════ Zine layer for the app (Nov 2026) ═════════════════════
   Poster type, label-strip logo, lime tags, pinned cards, sticky notes, the black stats strip. */
body { font-size: 16px; line-height: 1.6; }
.home-head { padding-bottom: 14px; border-bottom: 2px solid var(--ink); max-width: none; }
.home-head .logo { font-size: 28px; }
.app { min-height: calc(100vh - 78px); }

/* Sidebar: the library's shelf list */
.sidebar { border-right: 2px solid var(--ink); padding: 26px 24px 40px; }
.sidebar .brand { display: none; }
.brand-sub { font: 900 11px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
.nav { margin-top: 0; }
.nav-label { display: inline-block; font: 900 11px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 3px 7px; margin: 24px 0 8px; }
.nav-label:first-child { margin-top: 0; }
.nav-item { font-size: 14.5px; color: var(--ink-2); padding: 6px 0; }
.nav-item:hover { color: var(--ink); }
.nav-item:hover > span:first-child, .nav-item.active > span:first-child, .nav-item.active:not(:has(span)) { background: linear-gradient(transparent 52%, var(--lime) 52% 92%, transparent 92%); }
.nav-item.active { color: var(--ink); font-weight: 900; }
.nav-item:not(:has(span)) { width: fit-content; }
.nav-item .count, .nav-item.active .count { font: 700 11.5px var(--f-body); color: var(--ink-3); }
.sidebar-foot { font: 400 15px/1.35 var(--f-hand); color: var(--ink); border-top: 2px dashed var(--ink); transform: rotate(-1deg); }

/* Main column */
.main { padding: 44px 56px 110px; max-width: 1140px; min-width: 0; }
.eyebrow, .section-kicker { display: inline-block; font: 900 11.5px/1.35 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 3px 8px; margin-bottom: 14px; }
h1.display { font: 400 clamp(46px, 7vw, 92px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: .2px; margin: 0 0 24px; }
h1.display em, h2.section-title em { font-style: normal; color: inherit; font-weight: inherit; background: linear-gradient(transparent 55%, var(--lime) 55% 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h2.section-title { font: 400 clamp(32px, 4.4vw, 48px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .3px; margin: 0 0 14px; }
.lede, .section-lede { font-weight: 400; color: var(--ink-2); }
.lede { font-size: 19px; }
.section-lede { font-size: 17.5px; }
hr.rule { border-top: 2px dashed var(--ink); margin: 56px 0; }
.main a:not([class]) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.main a:not([class]):hover { background: var(--lime); }
.main p a[style] { color: var(--ink) !important; text-decoration-color: var(--marker) !important; }

/* Hero: poster headline, cut-out lede, sticky notes */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 0 28px; align-items: start; }
h1.poster { font-size: clamp(54px, 8.2vw, 112px); line-height: .88; margin: 4px 0 30px; }
h1.poster .hl { display: inline; padding-right: .06em; }
h1.poster .cut { display: inline-block; padding: .02em .12em 0; margin-top: .04em; color: #ececea; }
.hero-lede { font-size: 19px; line-height: 1.5; color: var(--ink); background: var(--white); border: 2px solid var(--ink); padding: 16px 18px; max-width: 560px; transform: rotate(-.6deg); margin: 0 0 26px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-small { font-size: 15px; color: var(--ink-3); margin: 18px 0 0; max-width: 560px; }
.hero-notes { display: flex; flex-direction: column; gap: 40px; padding-top: 14px; }
.hero-notes .sticky { transform: rotate(4deg); }
.hero-notes .sticky.orange { transform: rotate(-5deg); margin-left: -34px; }

/* Stats strip */
.strip.stat-row { display: flex; grid-template-columns: none; border: 0; margin: 46px 0 18px; }
.strip .stat { padding: 12px 16px; border-right: 2px dashed #ececea; }
.strip .stat:first-child { padding-left: 16px; }
.strip .stat:last-child { padding-right: 16px; border-right: 0; }
.strip .stat-num { display: block; font: 400 44px/1.05 var(--f-display); color: var(--lime); letter-spacing: .5px; }
.strip .stat-label { display: block; margin: 2px 0 0; font: 900 13px/1.2 var(--f-body); letter-spacing: .04em; color: #ececea; text-transform: uppercase; }
.cta-free { margin: 0 0 8px; justify-content: flex-end; font-size: 14px; }
.cta-link { border-bottom: 2px solid var(--marker); color: var(--ink); font-weight: 700; }
.cta-link:hover { background: var(--lime); }

/* Buttons */
.cta-btn, .quickwin-btn, .prim-btn, .mc-btn.primary, .tier-cta { font: 400 19px/1.05 var(--f-display); letter-spacing: .5px; text-transform: uppercase; background: var(--ink); color: var(--lime); border: 2px solid var(--ink); box-shadow: none; padding: 12px 18px; min-height: 46px; }
.cta-btn:hover, .quickwin-btn:hover, .prim-btn:hover, .mc-btn.primary:hover, .tier-cta:hover { background: var(--ink); color: var(--lime); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--orange); }
.cta-btn.secondary, .sec-btn { background: var(--white); color: var(--ink); }
.cta-btn.secondary:hover { background: var(--white); color: var(--ink); }

/* Pinned cards */
.skill-card, .prompt-card, .playbook, .pb-card, .template, .principle, .tool-cat, .member-card, .onboard-step, .vault-sec, .trouble-item, .course-card, .cadence, .custom-item, .essay-teaser, .quickwin, .founder, .agent, .agent-card {
  position: relative; border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--white);
}
.skill-card::before, .prompt-card::before, .playbook::before, .pb-card::before, .template::before, .principle::before, .tool-cat::before, .member-card::before, .onboard-step::before, .trouble-item::before, .course-card::before, .cadence::before, .custom-item::before, .essay-teaser::before, .agent::before, .agent-card::before {
  content: ""; position: absolute; top: -11px; left: -11px; width: 22px; height: 22px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 35%, #ff9a6b, var(--marker) 60%, #9c3410); box-shadow: 2px 3px 0 rgba(0,0,0,.2);
}
:is(.skill-card, .prompt-card, .playbook, .pb-card, .template, .principle, .tool-cat, .member-card, .onboard-step, .trouble-item, .course-card, .cadence, .custom-item, .essay-teaser, .agent, .agent-card):nth-child(3n+2)::before { background: radial-gradient(circle at 35% 35%, #e3ff86, #9bc41a 60%, #5d7a07); }
:is(.skill-card, .prompt-card, .playbook, .pb-card, .template, .principle, .tool-cat, .member-card, .onboard-step, .trouble-item, .course-card, .cadence, .custom-item, .essay-teaser, .agent, .agent-card):nth-child(3n)::before { background: radial-gradient(circle at 35% 35%, #8fd0ff, var(--blue) 60%, #164b82); }
.skills-grid { gap: 30px; margin: 22px 0 6px; }
.skill-card { padding: 24px 22px 20px; }
.skill-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.skill-card:hover h3 { background: linear-gradient(transparent 55%, var(--lime) 55% 92%, transparent 92%); }
.skill-card .skill-tag { display: table; margin-bottom: 10px; font: 900 11px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 2px 7px; }
.skill-card h3 { font: 400 28px/1.02 var(--f-display); text-transform: uppercase; letter-spacing: .3px; display: inline; }
.skill-card h3::after { content: ""; display: block; height: 10px; }
.skill-card p { font-size: 15px; color: var(--ink-3); }
.skill-card .skill-foot { font: 900 11.5px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.after-cards { margin-top: 26px; }

.two-col { gap: 40px; }
.col h2, .col h3 { font: 400 28px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .3px; }

/* Numbered tape strip (How it works) */
ol.how li { padding: 14px 16px 14px 70px; margin: 0 0 10px; border: 0; background: var(--tape); }
ol.how li:nth-child(odd) { transform: rotate(-.3deg); }
ol.how li:nth-child(even) { transform: rotate(.25deg); }
ol.how li::before { top: 0; bottom: 0; left: 0; width: 54px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--lime); font: 400 24px/1 var(--f-display); letter-spacing: 0; }
ol.how li strong { font: 900 18px/1.3 var(--f-body); letter-spacing: 0; }
ol.how li span { color: var(--ink-2); }

/* Quick win: an orange sticky note */
.quickwin { background: var(--orange); color: var(--ink); border: 0; box-shadow: var(--note-shadow); transform: rotate(-.6deg); }
.quickwin-num { font: 400 72px/1 var(--f-display); color: var(--ink); }
.quickwin h3, .founder h3, .essay-teaser h3, .principle h3, .template h3, .tool-cat h3, .cadence h3, .pb-title, .member-card h3, .member-gate h3, .onboard-step h3, .vault-sec-head h3, .ars-hero h2, .ars-suite-title, .ars-cta h3, .we-brand h3, .we-closing h3, .essay-body h2, .pc-title, .tier-amount, .cta-amount {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .3px; line-height: 1.04;
}
.quickwin p { color: var(--ink); }
.quickwin-btn { background: var(--ink); }

/* Founder card */
.founder-photo { font: 400 48px/1 var(--f-display); background: var(--lime); color: var(--ink); border: 2px solid var(--ink); }
.founder .founder-role { font: 900 11.5px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* Essay teasers */
.essay-teaser { padding: 24px 26px; }
.essay-teaser-label, .changelog-label, .pb-meta-label, .pitfalls-label, .pb-group, .disc-picker-kicker { display: inline-block; font: 900 11px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 2px 7px; }
.essay-teaser-cta { font: 900 12px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.essay-teaser:hover h3 { background: linear-gradient(transparent 55%, var(--lime) 55% 92%, transparent 92%); }
.essay-teaser-excerpt { font-family: var(--f-hand); font-size: 18px; color: var(--ink); }
.changelog { border: 2px dashed var(--ink); padding: 22px 24px; }

/* Compare table */
.compare-table thead th { background: var(--ink); color: #f2f2ec; font: 900 12px var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.compare-table .us { background: var(--lime-soft); }
.compare-table thead th.us { background: var(--lime); color: var(--ink); }

/* Library: search, chips, prompt cards */
.lib-controls { background: var(--white); border-bottom: 2px dashed var(--ink); }
.search { border: 2px solid var(--ink); box-shadow: var(--shadow-sm); }
.search input { font-size: 16px; }
.search-label { font: 900 11px var(--f-body); letter-spacing: .12em; color: var(--ink); }
.chip { font: 700 12.5px/1.2 var(--f-body); letter-spacing: .04em; border: 2px solid var(--ink); }
.chip:hover { background: var(--lime-soft); }
.chip.active { background: var(--ink); color: var(--lime); box-shadow: none; }
.prompt-list { gap: 34px; }
.prompt-card { padding: 26px 28px; }
.pc-title { font-size: 30px; }
.pc-id { font: 900 12px var(--f-body); letter-spacing: .1em; background: var(--ink); color: var(--lime); padding: 3px 7px; }
.tag { font: 900 10.5px/1.3 var(--f-body); letter-spacing: .12em; }
.free-badge { background: var(--lime); color: var(--ink); font: 900 10.5px var(--f-body); }
.pc-body { font: 14px/1.6 var(--f-mono); background: var(--ink); color: #f2f2ec; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--lime); }
.pc-tip { font: 400 15.5px/1.5 var(--f-body); }
.pc-tip::before { font: 400 17px var(--f-hand); color: var(--marker-ink); letter-spacing: 0; text-transform: none; }
.copy-btn { font: 900 12px var(--f-body); letter-spacing: .1em; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.copy-btn:hover { background: var(--orange); color: var(--ink); }

/* Playbook steps: numbered tape strip */
.step-title { font-weight: 900; }
.step-kind { font: 900 10.5px var(--f-body); letter-spacing: .1em; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); }
.site-footer .brand { display: block; }
.site-footer .logo { font-size: 20px; }
.footer-links a { font: 700 13.5px var(--f-body); letter-spacing: .02em; text-transform: none; color: var(--ink); }
.footer-links a:hover { background: var(--lime); }

/* Mobile */
@media (max-width: 900px) {
  .home-head { display: none; }
  .mobile-topbar { padding: 12px 16px; background: var(--white); }
  .mobile-brand.logo { font: 400 20px/1.15 var(--f-display); letter-spacing: 1px; color: #ececea; background: var(--ink); padding: 3px 9px 2px; }
  .sidebar .brand { display: block; margin-bottom: 18px; }
  .main { padding: 22px 16px 80px; }
  .hero { grid-template-columns: 1fr; }
  h1.poster { font-size: clamp(50px, 15vw, 84px); }
  .hero-notes { flex-direction: row; gap: 18px; padding: 8px 6px 0; margin-top: 30px; }
  .hero-notes .sticky { flex: 1 1 0; font-size: 17px; padding: 18px 14px 14px; }
  .hero-notes .sticky.orange { margin-left: 0; transform: rotate(-3deg); }
  .strip.stat-row { flex-wrap: wrap; }
  .strip .stat { flex: 1 1 30%; border-bottom: 2px dashed #ececea; }
  .strip .stat-num { font-size: 36px; }
  .cta-free { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .hero-notes { flex-direction: column; }
  .hero-notes .sticky { transform: rotate(2deg); }
}
.quickwin h3, .quickwin-num { color: var(--ink); }
.changelog-label { align-self: start; }
.cta-free { flex-wrap: wrap; }
@media (max-width: 900px) { h1.poster { line-height: .96; } }
/* Playbook steps: a numbered tape strip */
.steps { counter-reset: pbs; }
.step { counter-increment: pbs; position: relative; background: var(--tape); border: 0; padding: 14px 18px 14px 70px; margin: 0 0 10px; }
.step:nth-child(odd) { transform: rotate(-.2deg); }
.step:nth-child(even) { transform: rotate(.2deg); }
.step::before { content: counter(pbs, decimal-leading-zero); position: absolute; left: 0; top: 0; bottom: 0; width: 52px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--lime); font: 400 22px/1 var(--f-display); }
.step-ai .step-kind { background: var(--lime); }
.step-body { font-size: 15px; color: var(--ink); }
@media (max-width: 600px) { .step { grid-template-columns: 1fr; gap: 8px; padding-left: 60px; } .step::before { width: 44px; } .step-kind { justify-self: start; } }
.custom-grid { gap: 30px; border-top: 0; }
.custom-item, .custom-item:nth-child(odd), .custom-item:nth-child(even) { padding: 22px 22px 18px; border: 2px solid var(--ink); }
.custom-item p { font-size: 15.5px; }
@media (max-width: 700px) { .custom-grid { grid-template-columns: 1fr; } }
