/* ============ Pricing identity ============
     Type-driven, minimal, tabular.
     Big numbers. Comparison table is the hero
     of the second-fold. */

  .crumb { padding: 20px 0 0; font-size: 13px; color: var(--fg-mute); display: flex; gap: 10px; align-items: center; }
  .crumb a { color: var(--fg-mute); }
  .crumb a:hover { color: var(--accent); }
  .crumb .sep { opacity: 0.4; }

  /* hero */
  .price-hero { padding: 56px 0 56px; text-align: center; }
  .price-hero h1 {
    font-size: clamp(48px, 6.5vw, 96px);
    line-height: 0.95; letter-spacing: -0.04em; font-weight: 600;
    margin: 24px auto 22px; max-width: 16ch;
  }
  .price-hero h1 em {
    font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400;
    letter-spacing: -0.02em; color: var(--accent);
  }
  .price-hero .lede { font-size: 19px; color: var(--fg-dim); max-width: 54ch; margin: 0 auto 36px; }

  /* monthly/annual toggle */
  .billing-toggle {
    display: inline-flex; gap: 4px;
    padding: 4px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-bottom: 8px;
  }
  .billing-toggle button {
    padding: 8px 16px; border: 0; border-radius: 999px;
    background: transparent; color: var(--fg-dim);
    font-size: 13.5px; font-weight: 500;
  }
  .billing-toggle button.on {
    background: var(--bg-card); color: var(--fg);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  }
  .billing-toggle .save {
    font-family: "Geist Mono", monospace; font-size: 10.5px;
    color: var(--accent); margin-left: 6px;
  }

  /* tier cards */
  .tiers {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-top: 32px;
  }
  @media (max-width: 980px) { .tiers { grid-template-columns: 1fr; } }
  .tier {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex; flex-direction: column;
    position: relative;
  }
  .tier.featured {
    background:
      radial-gradient(500px 200px at 50% 0%, color-mix(in oklch, var(--accent) 20%, transparent), transparent 60%),
      var(--bg-elev);
    border: 1px solid var(--accent);
    box-shadow: 0 30px 80px -40px color-mix(in oklch, var(--accent) 60%, transparent);
  }
  .tier .badge {
    position: absolute; top: -12px; left: 32px;
    padding: 4px 10px;
    background: var(--accent); color: oklch(0.99 0 0);
    border-radius: 999px;
    font-family: "Geist Mono", monospace; font-size: 10.5px;
    letter-spacing: 0.1em;
  }
  .tier .name {
    font-family: "Geist Mono", monospace; font-size: 11px;
    letter-spacing: 0.14em; color: var(--fg-mute);
    text-transform: uppercase; margin-bottom: 8px;
  }
  .tier h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 12px; }
  .tier .tier-tagline {
    font-family: "Instrument Serif", serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(22px, 2.8vw, 32px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--accent);
    margin: 0 0 16px;
  }
  .tier .tier-tagline em { font-style: italic; }
  .tier .desc { color: var(--fg-dim); font-size: 14px; min-height: 3em; margin-bottom: 24px; }
  .tier .tier-tagline + .desc { min-height: auto; margin-top: -4px; }
  .tier .price-block { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 6px; }
  .tier .price-num {
    font-family: "Instrument Serif", serif; font-style: italic;
    font-size: 72px; line-height: 1; letter-spacing: -0.03em;
    color: var(--fg);
  }
  .tier.featured .price-num { color: var(--accent); }
  .tier .price-unit { color: var(--fg-mute); font-size: 14px; }
  .tier .billed { color: var(--fg-mute); font-size: 12px; margin-bottom: 24px; font-family: "Geist Mono", monospace; }
  .tier .cta { margin-bottom: 28px; }
  .tier .cta .btn { width: 100%; justify-content: center; }
  .tier ul { list-style: none; padding: 0; margin: 0; flex: 1; }
  .tier li {
    padding: 10px 0; border-top: 1px solid var(--border);
    font-size: 14px; color: var(--fg-dim);
    display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start;
  }
  .tier li:first-child { border-top: 0; }
  .tier li::before {
    content: ""; width: 14px; height: 14px; border-radius: 50%;
    background: color-mix(in oklch, var(--accent) 30%, transparent);
    border: 1px solid var(--accent);
    margin-top: 3px;
  }
  .tier li strong { color: var(--fg); font-weight: 500; }

  /* recommend helper */
  .rec-box {
    margin: 64px auto 0; max-width: 720px;
    padding: 28px 32px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }
  .rec-head { display: flex; justify-content: space-between; align-items: baseline; }
  .rec-head .ttl {
    font-family: "Geist Mono", monospace; font-size: 11px;
    letter-spacing: 0.1em; color: var(--fg-mute); text-transform: uppercase;
  }
  .rec-head .out { font-size: 14px; color: var(--fg-dim); }
  .rec-head .out strong { color: var(--accent); font-weight: 500; }
  .rec-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 999px; outline: none;
    margin: 24px 0 12px;
  }
  .rec-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    background: var(--accent); border: 3px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 4px 12px -2px color-mix(in oklch, var(--accent) 60%, transparent);
    cursor: pointer;
  }
  .rec-slider::-moz-range-thumb {
    width: 22px; height: 22px; background: var(--accent);
    border: 3px solid var(--bg); border-radius: 50%; cursor: pointer;
  }
  .rec-ticks {
    display: flex; justify-content: space-between;
    font-family: "Geist Mono", monospace; font-size: 11px;
    color: var(--fg-mute);
  }

  /* comparison table */
  .compare {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .compare table { width: 100%; border-collapse: collapse; }
  .compare thead th {
    text-align: left;
    padding: 22px 24px;
    font-weight: 500; font-size: 14px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .compare thead th:first-child { color: var(--fg-mute); font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
  .compare thead th .nm { font-size: 17px; letter-spacing: -0.01em; }
  .compare thead th .pr { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--fg-mute); margin-top: 4px; display: block; }
  .compare thead th.feat { background: color-mix(in oklch, var(--accent) 6%, var(--bg-elev)); }
  .compare thead th.feat .nm { color: var(--accent); }
  .compare tbody tr { border-top: 1px solid var(--border); }
  .compare tbody td {
    padding: 14px 24px; font-size: 14px;
    color: var(--fg-dim);
    vertical-align: top;
  }
  .compare tbody td:first-child { color: var(--fg); }
  .compare tbody td.center { text-align: center; }
  .compare tbody tr.section-row td {
    background: var(--bg);
    font-family: "Geist Mono", monospace; font-size: 10.5px;
    letter-spacing: 0.12em; color: var(--accent);
    text-transform: uppercase;
    padding: 14px 24px;
  }
  .compare .yes {
    display: inline-block; width: 18px; height: 18px;
    border-radius: 50%;
    background: color-mix(in oklch, var(--accent) 28%, transparent);
    border: 1px solid var(--accent);
    position: relative;
  }
  .compare .yes::after {
    content: ""; position: absolute; left: 5px; top: 3px;
    width: 5px; height: 9px;
    border: 1.5px solid var(--accent);
    border-top: 0; border-left: 0; transform: rotate(45deg);
  }
  .compare .no { color: var(--fg-mute); font-family: "Geist Mono", monospace; font-size: 12px; }

  /* add-ons */
  .addons {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  }
  @media (max-width: 900px) { .addons { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .addons { grid-template-columns: 1fr; } }
  .addon {
    padding: 22px;
    background: var(--bg-elev); border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .addon .nm { font-weight: 500; margin-bottom: 4px; letter-spacing: -0.005em; }
  .addon .pr { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--accent); margin-bottom: 12px; }
  .addon p { font-size: 13px; color: var(--fg-mute); margin: 0; }

  /* enterprise callout */
  .enterprise {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ps-bg);
    color: var(--ps-fg);
    padding: 56px;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center;
    position: relative;
  }
  .enterprise::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(800px 300px at 0% 100%, color-mix(in oklch, var(--accent) 25%, transparent), transparent 60%);
    pointer-events: none;
  }
  .enterprise > * { position: relative; }
  @media (max-width: 900px) { .enterprise { grid-template-columns: 1fr; padding: 36px; } }
  .enterprise h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 16px; }
  .enterprise h3 em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--accent); }
  .enterprise p { color: var(--ps-mute); margin: 0; max-width: 60ch; }
  .ent-points { display: grid; gap: 12px; margin-top: 24px; }
  .ent-points div { font-size: 13.5px; color: var(--ps-fg); padding-left: 24px; position: relative; }
  .ent-points div::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: "Geist Mono", monospace; }
