/*
Theme Name: ChipFlip
Theme URI: https://chipflip.co.uk
Author: ChipFlip
Description: Custom single-page theme for ChipFlip — UK buyer for working CPUs, RAM, SSDs & NVMe.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chipflip
*/

  :root{
    --bg:#FAFAF7;
    --surface:#FFFFFF;
    --surface-2:#F4F4EF;
    --ink:#0A0A0A;
    --ink-2:#1F1F1D;
    --muted:#6B6B66;
    --muted-2:#9A9A95;
    --line:#E8E8E2;
    --line-2:#D4D4CE;
    --gold:#B8893A;
    --gold-soft:#F5EDD8;
    --green:#2E7D5B;
    --green-soft:#E8F4ED;
    --red:#B53D2E;
    --red-soft:#FBEAE7;
    --blue:#2C5F8A;
    --blue-soft:#E5EEF5;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html,body{
    background:var(--bg);color:var(--ink);
    font-family:'Geist',-apple-system,sans-serif;
    -webkit-font-smoothing:antialiased;
    /* Use 'clip' rather than 'hidden': 'hidden' implicitly makes the body a
       scroll container which breaks position:sticky on descendants. 'clip'
       prevents horizontal overflow without creating a scroll context.
       Older browsers fall back to 'hidden' via cascade. */
    overflow-x:hidden;
    overflow-x:clip;
  }

  .container{max-width:1240px;margin:0 auto;padding:0 24px}

  /* ===== TOP NAV ===== */
  nav{
    position:sticky;top:0;z-index:100;
    background:rgba(250,250,247,0.92);
    backdrop-filter:saturate(180%) blur(20px);
    -webkit-backdrop-filter:saturate(180%) blur(20px);
    border-bottom:1px solid var(--line);
  }
  .nav-inner{
    display:flex;align-items:center;justify-content:space-between;
    padding-top:22px;padding-bottom:22px;gap:32px;
  }

  .brand{
    display:flex;align-items:center;gap:12px;
    text-decoration:none;color:var(--ink);
  }
  .brand-mark{width:46px;height:46px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
  .brand-mark svg{width:100%;height:100%}
  .brand-text{display:flex;flex-direction:column;line-height:1}
  .brand-name{font-size:28px;font-weight:700;letter-spacing:-0.03em;color:var(--ink)}
  .brand-name .accent-flip{color:var(--gold)}
  .brand-name .accent-bracket{color:var(--gold);font-weight:600}
  .brand-tag{
    font-family:'Geist Mono',monospace;font-size:10.5px;color:var(--gold);
    letter-spacing:0.06em;text-transform:uppercase;margin-top:5px;font-weight:600;
    text-align:center;
  }
  .nav-right{
    display:flex;align-items:center;gap:18px;
  }

  .live-strip{
    display:flex;align-items:center;gap:8px;
    font-family:'Geist Mono',monospace;font-size:12px;color:var(--muted);
  }
  .live-dot{width:6px;height:6px;border-radius:50%;background:var(--green);animation:pulse 2s ease-in-out infinite}
  @keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}
  .nav-cta{
    background:var(--ink);color:var(--bg);
    padding:8px 16px;border-radius:6px;
    font-weight:500;font-size:13.5px;text-decoration:none;transition:all 0.2s;
  }
  .nav-cta:hover{background:var(--ink-2)}

  /* ===== POSITIONING BANNER ===== */
  .position-banner{background:var(--ink);color:var(--bg);padding:14px 0;font-size:14px}
  .position-inner{
    display:flex;align-items:center;justify-content:center;gap:24px;
    flex-wrap:wrap;text-align:center;
  }
  .position-item{display:flex;align-items:center;gap:8px}
  .position-item svg{width:14px;height:14px;flex-shrink:0}
  .position-divider{width:1px;height:14px;background:rgba(255,255,255,0.2)}

  /* ===== HEADER ===== */
  header{padding:36px 0 28px;border-bottom:1px solid var(--line)}
  .header-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:48px;align-items:end}
  h1{font-size:44px;font-weight:600;letter-spacing:-0.03em;line-height:1.05;margin-bottom:14px}
  h1 .accent{color:var(--green);font-weight:600}
  .header-sub{font-size:16px;color:var(--muted);line-height:1.55;max-width:580px}
  .header-sub strong{color:var(--ink-2);font-weight:600}
  .header-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
  .stat{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 14px}
  .stat-num{font-size:18px;font-weight:600;letter-spacing:-0.015em;line-height:1.1}
  .stat-label{
    font-family:'Geist Mono',monospace;font-size:10.5px;color:var(--muted);
    letter-spacing:0.04em;text-transform:uppercase;margin-top:4px;
  }

  /* ===== WHAT WE BUY ===== */
  .buying-bar{
    background:var(--surface);border:1px solid var(--line);
    border-radius:14px;padding:24px 28px;margin:24px 0 0;
    display:grid;grid-template-columns:1fr 1fr;gap:0;overflow:hidden;position:relative;
  }
  .buying-bar::before{
    content:"";position:absolute;left:50%;top:24px;bottom:24px;width:1px;background:var(--line);
  }
  .buying-col{padding:0 24px}
  .buying-col:first-child{padding-left:0}
  .buying-col:last-child{padding-right:0}
  .buying-head{
    display:flex;align-items:center;gap:8px;
    font-family:'Geist Mono',monospace;font-size:11px;
    letter-spacing:0.06em;text-transform:uppercase;
    margin-bottom:14px;font-weight:600;
  }
  .buying-head.yes{color:var(--green)}
  .buying-head.no{color:var(--red)}
  .buying-head svg{width:14px;height:14px}
  .buying-list{display:flex;flex-wrap:wrap;gap:6px}
  .buying-chip{
    font-size:13px;padding:5px 11px;border-radius:6px;
    background:var(--surface-2);color:var(--ink-2);
    font-weight:500;border:1px solid var(--line);
  }
  .buying-chip.yes{background:var(--green-soft);color:var(--green);border-color:rgba(46,125,91,0.2)}
  .buying-chip.no{background:var(--surface-2);color:var(--muted);border-color:var(--line)}

  /* ===== PAYOUTS TICKER ===== */
  .payouts-ticker{
    background:var(--surface);border:1px solid var(--line);
    border-radius:10px;padding:10px 16px;margin-top:16px;
    display:flex;align-items:center;gap:14px;overflow:hidden;
  }
  .payouts-label{
    flex-shrink:0;font-family:'Geist Mono',monospace;
    font-size:10.5px;color:var(--green);font-weight:600;
    letter-spacing:0.06em;text-transform:uppercase;
    display:flex;align-items:center;gap:6px;
  }
  .payouts-label .live-dot{width:5px;height:5px}
  .payouts-stream{
    flex:1;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);
  }
  .payouts-track{
    display:flex;gap:32px;animation:tickerScroll 50s linear infinite;
    white-space:nowrap;
  }
  .payouts-track:hover{animation-play-state:paused}
  @keyframes tickerScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
  .payout-item{
    font-size:13px;display:inline-flex;align-items:center;gap:8px;
    color:var(--muted);
  }
  .payout-item strong{color:var(--ink);font-weight:600}
  .payout-item .amount{color:var(--green);font-weight:700;font-variant-numeric:tabular-nums}
  .payout-item .when{font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted-2)}

  /* ===== STICKY FILTERS ===== */
  .filter-bar{
    position:sticky;top:60px;z-index:90;
    background:rgba(250,250,247,0.92);
    backdrop-filter:saturate(180%) blur(20px);
    -webkit-backdrop-filter:saturate(180%) blur(20px);
    border-bottom:1px solid var(--line);padding:12px 0;
  }
  .filter-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
  .search-box{flex:1;max-width:340px;position:relative}
  .search-box input{
    width:100%;padding:9px 14px 9px 36px;
    background:var(--surface);border:1px solid var(--line);
    border-radius:8px;font-family:inherit;font-size:14px;
    color:var(--ink);outline:none;transition:border-color 0.2s;
  }
  .search-box input:focus{border-color:var(--ink)}
  .search-box input::placeholder{color:var(--muted-2)}
  .search-box svg{
    position:absolute;left:12px;top:50%;transform:translateY(-50%);
    width:14px;height:14px;color:var(--muted);
  }
  .filter-tabs{
    display:flex;gap:2px;background:var(--surface-2);padding:3px;border-radius:8px;
    border:1px solid var(--line);overflow-x:auto;
  }
  .filter-tab{
    padding:6px 12px;font-size:13px;font-weight:500;
    border:none;background:transparent;cursor:pointer;
    border-radius:5px;transition:all 0.15s;
    font-family:inherit;color:var(--muted);white-space:nowrap;
  }
  .filter-tab.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,0.05)}
  .filter-tab:hover:not(.active){color:var(--ink-2)}

  /* ===== MAIN LAYOUT ===== */
  main{padding:24px 0 60px}
  .main-grid{
    display:grid;grid-template-columns:1fr 320px;gap:28px;
    /* No align-items here — let grid cells stretch to row height so the
       right column has scroll room for the sticky .calc inside it. The
       calc itself uses align-self:start to stick to the top of its cell. */
  }

  /* ===== HOW IT WORKS BAR ===== */
  .how-bar{
    background:var(--surface);border:1px solid var(--line);
    border-radius:12px;padding:18px 22px;margin-bottom:24px;
    display:grid;grid-template-columns:repeat(3,1fr) auto;
    gap:24px;align-items:center;
  }
  .how-step{display:flex;align-items:center;gap:12px}
  .how-num{
    width:28px;height:28px;border-radius:50%;
    background:var(--ink);color:var(--bg);
    display:flex;align-items:center;justify-content:center;
    font-weight:600;font-size:13px;flex-shrink:0;
  }
  .how-text{font-size:13.5px;line-height:1.3}
  .how-text strong{font-weight:600;display:block;margin-bottom:1px}
  .how-text span{color:var(--muted);font-size:12.5px}
  .how-cta{
    background:var(--ink);color:var(--bg);
    padding:10px 18px;border-radius:8px;
    font-weight:500;font-size:13.5px;text-decoration:none;
    transition:all 0.2s;white-space:nowrap;
  }
  .how-cta:hover{background:var(--ink-2)}

  /* ===== GUARANTEE BAR ===== */
  .guarantee{
    background:#0F2920;color:#E8F4ED;
    border:1px solid #1A3D32;
    border-radius:12px;padding:20px 24px;margin-bottom:24px;
    display:grid;grid-template-columns:auto 1fr auto;
    gap:20px;align-items:center;
  }
  .guarantee-icon{
    width:44px;height:44px;border-radius:50%;
    background:rgba(157,217,182,0.15);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
  }
  .guarantee-icon svg{width:22px;height:22px;stroke:#9DD9B6}
  .guarantee-text strong{font-size:14.5px;font-weight:600;color:#FAFAF7;display:block;margin-bottom:4px}
  .guarantee-text p{font-size:13px;color:#A8C4B5;line-height:1.5}
  .guarantee-text p strong{display:inline;color:#9DD9B6;font-weight:600}
  .guarantee-link{
    font-size:12px;color:#9DD9B6;text-decoration:none;
    border:1px solid rgba(157,217,182,0.3);
    padding:8px 14px;border-radius:6px;font-weight:500;
    white-space:nowrap;transition:all 0.2s;
    font-family:'Geist Mono',monospace;letter-spacing:0.04em;
  }
  .guarantee-link:hover{background:rgba(157,217,182,0.1)}

  /* ===== PRICE TABLES ===== */
  .category{margin-bottom:32px}
  .category-head{
    display:flex;align-items:baseline;justify-content:space-between;
    margin-bottom:12px;padding:0 4px;flex-wrap:wrap;gap:8px;
  }
  .category-title{
    font-size:13px;font-weight:600;letter-spacing:0.04em;
    text-transform:uppercase;color:var(--ink);
    display:flex;align-items:baseline;gap:10px;
  }
  .category-count{font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted);font-weight:500}
  .category-note{font-size:12.5px;color:var(--muted)}

  .price-table{
    background:var(--surface);border:1px solid var(--line);
    border-radius:12px;overflow:hidden;
  }
  .price-row{
    display:grid;
    grid-template-columns:auto 1.4fr 1.6fr 110px 130px;
    gap:14px;align-items:center;
    padding:14px 20px;
    border-bottom:1px solid var(--line);
    transition:background 0.15s;
  }
  .price-row:last-child{border-bottom:none}
  .price-row:hover{background:var(--surface-2)}
  .price-row.notbuy{background:#FBF8F7;opacity:0.6}
  .price-row.notbuy:hover{opacity:0.8}

  /* Quote calculator add button */
  .add-btn{
    width:28px;height:28px;border-radius:6px;
    background:var(--surface-2);border:1px solid var(--line);
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;transition:all 0.15s;flex-shrink:0;
    font-size:18px;font-weight:400;color:var(--muted);line-height:1;padding:0;
  }
  .add-btn:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}
  .add-btn.added{background:var(--green);color:#fff;border-color:var(--green)}
  .add-btn.disabled{opacity:0.3;cursor:not-allowed;pointer-events:none}

  .price-name{
    font-size:14.5px;font-weight:600;letter-spacing:-0.005em;
    display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  }
  .price-tag{
    display:inline-block;padding:1.5px 6px;border-radius:3px;
    font-family:'Geist Mono',monospace;font-size:9.5px;
    font-weight:600;letter-spacing:0.04em;text-transform:uppercase;
  }
  .price-tag.premium{background:var(--gold-soft);color:var(--gold)}
  .price-tag.hot{background:var(--green-soft);color:var(--green)}
  .price-tag.notbuy{background:var(--red-soft);color:var(--red)}
  .price-examples{
    font-family:'Geist Mono',monospace;font-size:12px;
    color:var(--muted);line-height:1.5;
  }
  .price-grade{font-family:'Geist Mono',monospace;font-size:11.5px;color:var(--muted)}
  .price-amount{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
  .price-value{
    font-size:18px;font-weight:600;letter-spacing:-0.015em;line-height:1;
    font-variant-numeric:tabular-nums;
  }
  .price-value.notbuy{color:var(--red);font-size:12.5px;font-weight:500;font-style:italic}
  .price-unit{
    font-family:'Geist Mono',monospace;font-size:10.5px;
    color:var(--muted);letter-spacing:0.05em;
  }

  /* ===== QUOTE CALCULATOR (sticky sidebar) ===== */
  .calc{
    position:sticky;top:120px;
    align-self:start;
    background:var(--surface);border:1px solid var(--line);
    border-radius:14px;overflow:hidden;
    max-height:calc(100vh - 140px);
    display:flex;flex-direction:column;
  }
  .calc-head{
    padding:18px 20px 14px;border-bottom:1px solid var(--line);
    background:var(--surface-2);
  }
  .calc-title{
    font-size:14px;font-weight:600;letter-spacing:-0.01em;
    margin-bottom:2px;display:flex;align-items:center;gap:8px;
  }
  .calc-title svg{width:14px;height:14px;color:var(--green)}
  .calc-sub{font-size:12px;color:var(--muted);line-height:1.4}

  .calc-empty{
    padding:32px 20px;text-align:center;
    flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;
  }
  .calc-empty-icon{
    width:42px;height:42px;border-radius:50%;background:var(--surface-2);
    display:flex;align-items:center;justify-content:center;
    color:var(--muted-2);margin-bottom:4px;
  }
  .calc-empty-text{font-size:13px;color:var(--muted);line-height:1.5;max-width:220px}
  .calc-empty-text strong{display:block;color:var(--ink);font-weight:600;margin-bottom:4px;font-size:13.5px}

  .calc-items{
    flex:1;overflow-y:auto;padding:8px 0;
  }
  .calc-item{
    padding:12px 20px;border-bottom:1px solid var(--line);
    display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;
  }
  .calc-item:last-child{border-bottom:none}
  .calc-item-name{
    font-size:13px;font-weight:600;letter-spacing:-0.005em;
    line-height:1.3;margin-bottom:3px;
  }
  .calc-item-price{
    font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted);
  }
  .calc-qty{display:flex;align-items:center;gap:0;background:var(--surface-2);border-radius:6px;padding:2px}
  .calc-qty-btn{
    width:24px;height:24px;border:none;background:transparent;
    cursor:pointer;color:var(--muted);font-size:14px;font-weight:400;
    border-radius:4px;display:flex;align-items:center;justify-content:center;
    line-height:1;padding:0;
  }
  .calc-qty-btn:hover{background:var(--surface);color:var(--ink)}
  .calc-qty-num{
    min-width:24px;text-align:center;font-size:13px;font-weight:600;
    font-variant-numeric:tabular-nums;
  }
  .calc-item-subtotal{
    font-size:13px;font-weight:600;color:var(--ink);
    font-variant-numeric:tabular-nums;text-align:right;
    margin-top:4px;
  }
  .calc-remove{
    background:none;border:none;cursor:pointer;color:var(--muted-2);
    font-size:14px;padding:4px;line-height:1;
  }
  .calc-remove:hover{color:var(--red)}

  .calc-summary{
    padding:16px 20px;border-top:1px solid var(--line);
    background:var(--surface-2);
  }
  .calc-line{
    display:flex;justify-content:space-between;align-items:baseline;
    font-size:13px;color:var(--muted);margin-bottom:6px;
  }
  .calc-line.total{
    font-size:15px;color:var(--ink);font-weight:600;
    padding-top:10px;margin-top:8px;border-top:1px solid var(--line-2);
  }
  .calc-line .val{font-family:'Geist Mono',monospace;font-variant-numeric:tabular-nums}
  .calc-line.total .val{font-family:'Geist',sans-serif;font-size:20px;color:var(--green)}
  .calc-warn{
    margin-top:10px;padding:8px 10px;background:var(--red-soft);
    border-radius:6px;font-size:11.5px;color:var(--red);line-height:1.4;
    border:1px solid rgba(181,61,46,0.15);
  }
  .calc-warn.ok{background:var(--green-soft);color:var(--green);border-color:rgba(46,125,91,0.15)}
  .calc-cta{
    display:block;width:100%;
    background:var(--ink);color:var(--bg);
    padding:12px;border-radius:8px;
    font-weight:600;font-size:14px;text-align:center;
    text-decoration:none;margin-top:12px;border:none;cursor:pointer;
    font-family:inherit;transition:background 0.2s;
  }
  .calc-cta:hover{background:var(--ink-2)}
  .calc-cta.disabled{background:var(--muted-2);cursor:not-allowed;pointer-events:none}
  .calc-clear{
    display:block;text-align:center;font-size:11.5px;color:var(--muted);
    text-decoration:none;margin-top:10px;font-family:'Geist Mono',monospace;
    letter-spacing:0.04em;cursor:pointer;background:none;border:none;width:100%;
  }
  .calc-clear:hover{color:var(--ink)}

  /* ===== INFO SECTIONS ===== */
  .info-section{
    background:var(--surface);border:1px solid var(--line);
    border-radius:14px;padding:32px;margin-bottom:24px;
  }
  .info-section h2{
    font-size:22px;font-weight:600;letter-spacing:-0.02em;margin-bottom:8px;
  }
  .info-section .info-sub{color:var(--muted);font-size:14px;margin-bottom:24px}

  /* GRADING SCALE */
  .grade-scale{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
  .grade-card{
    padding:18px;border:1px solid var(--line);border-radius:10px;
    background:var(--surface-2);
  }
  .grade-letter{
    display:inline-block;font-family:'Geist Mono',monospace;
    font-size:11px;font-weight:700;letter-spacing:0.06em;
    padding:3px 8px;border-radius:4px;margin-bottom:10px;
  }
  .grade-letter.a{background:var(--green-soft);color:var(--green)}
  .grade-letter.b{background:var(--gold-soft);color:var(--gold)}
  .grade-letter.c{background:var(--blue-soft);color:var(--blue)}
  .grade-letter.x{background:var(--red-soft);color:var(--red)}
  .grade-card h4{font-size:14.5px;font-weight:600;margin-bottom:6px}
  .grade-card p{font-size:12.5px;color:var(--muted);line-height:1.5}

  /* PACKING */
  .two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}
  .info-block{
    padding:22px;background:var(--surface-2);
    border:1px solid var(--line);border-radius:12px;
    position:relative;overflow:hidden;
    transition:transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .info-block::before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
    background:var(--info-accent, var(--ink));
    border-radius:12px 0 0 12px;
  }
  .info-block:hover{
    transform:translateY(-1px);
    box-shadow:0 4px 16px rgba(10,10,10,0.04);
    border-color:var(--info-accent-line, var(--line-2));
  }
  .info-block-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
  .info-icon{
    display:inline-flex;align-items:center;justify-content:center;
    width:32px;height:32px;border-radius:8px;
    background:var(--info-accent-soft, var(--surface));
    color:var(--info-accent, var(--ink));
    flex-shrink:0;
  }
  .info-icon svg{width:18px;height:18px}
  .info-block h4{
    font-size:15px;letter-spacing:-0.005em;color:var(--ink);
    font-weight:600;margin:0;
  }
  .info-block p{font-size:13.5px;line-height:1.6;color:var(--ink-2);margin-bottom:8px}
  .info-block p:last-child{margin-bottom:0}
  .info-block ul{list-style:none;margin-top:0}
  .info-block li{
    font-size:13.5px;line-height:1.6;color:var(--ink-2);
    padding-left:18px;position:relative;margin-bottom:4px;
  }
  .info-block li::before{
    content:"";position:absolute;left:0;top:8px;
    width:6px;height:6px;border-radius:50%;
    background:var(--info-accent, var(--ink));
  }
  /* Accent palette mapping */
  .info-block[data-accent="blue"],
  .footnote[data-accent="blue"]{
    --info-accent:var(--blue);
    --info-accent-soft:var(--blue-soft);
    --info-accent-line:rgba(58,107,176,0.25);
  }
  .info-block[data-accent="gold"],
  .footnote[data-accent="gold"]{
    --info-accent:var(--gold);
    --info-accent-soft:var(--gold-soft);
    --info-accent-line:rgba(184,137,58,0.3);
  }
  .info-block[data-accent="green"],
  .footnote[data-accent="green"]{
    --info-accent:var(--green);
    --info-accent-soft:var(--green-soft);
    --info-accent-line:rgba(46,125,91,0.25);
  }
  .info-block[data-accent="red"],
  .footnote[data-accent="red"]{
    --info-accent:var(--red);
    --info-accent-soft:var(--red-soft);
    --info-accent-line:rgba(181,61,46,0.25);
  }

  /* ===== FOOTNOTES ===== */
  .footnotes{
    margin-top:24px;
    display:grid;grid-template-columns:repeat(2,1fr);gap:18px;
    background:transparent;padding:0;border:none;border-radius:0;
  }
  .footnote{
    padding:24px;background:var(--surface);
    border:1px solid var(--line);border-radius:14px;
    position:relative;overflow:hidden;
    transition:transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .footnote::before{
    content:"";position:absolute;top:0;left:0;right:0;height:3px;
    background:linear-gradient(90deg, var(--info-accent, var(--ink)) 0%, transparent 100%);
  }
  .footnote:hover{
    transform:translateY(-1px);
    box-shadow:0 6px 20px rgba(10,10,10,0.05);
    border-color:var(--info-accent-line, var(--line-2));
  }
  .footnote-icon{
    display:inline-flex;align-items:center;justify-content:center;
    width:36px;height:36px;border-radius:10px;
    background:var(--info-accent-soft, var(--surface-2));
    color:var(--info-accent, var(--ink));
    margin-bottom:14px;
  }
  .footnote-icon svg{width:20px;height:20px}
  .footnote h4{
    font-size:16px;letter-spacing:-0.01em;color:var(--ink);
    margin-bottom:8px;font-weight:600;
  }
  .footnote p{font-size:13.5px;line-height:1.6;color:var(--ink-2)}
  .footnote p strong{font-weight:600;color:var(--ink)}
  .footnote a{
    color:var(--info-accent, var(--ink));
    text-decoration:underline;text-decoration-color:var(--info-accent-line, var(--line-2));
    text-underline-offset:2px;font-weight:600;
  }
  .footnote a:hover{text-decoration-color:var(--ink)}

  /* ===== FOOTER ===== */
  footer{
    border-top:1px solid var(--line);padding:36px 0 24px;margin-top:48px;
  }
  .footer-grid{
    display:grid;grid-template-columns:2fr 1fr 1fr;
    gap:40px;margin-bottom:32px;
  }
  .footer-brand{display:flex;flex-direction:column;gap:14px}
  .footer-brand-info{font-size:13px;color:var(--muted);line-height:1.55;max-width:340px}
  .footer-brand-info strong{color:var(--ink-2);font-weight:600;display:block;margin-bottom:4px}
  .footer-address{
    font-size:12.5px;color:var(--muted);line-height:1.6;
    padding:12px 14px;background:var(--surface);border:1px solid var(--line);
    border-radius:8px;max-width:340px;
  }
  .footer-address a{color:var(--ink);text-decoration:none}
  .footer-address a:hover{text-decoration:underline}
  footer h4{
    font-family:'Geist Mono',monospace;font-size:11px;letter-spacing:0.06em;
    text-transform:uppercase;color:var(--muted);margin-bottom:14px;font-weight:600;
  }
  footer ul{list-style:none}
  footer ul li{margin-bottom:8px}
  footer ul a{color:var(--ink-2);text-decoration:none;font-size:13.5px;transition:color 0.2s}
  footer ul a:hover{color:var(--muted)}
  .footer-bottom{
    padding-top:20px;border-top:1px solid var(--line);
    display:flex;justify-content:space-between;align-items:center;
    font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted);
    letter-spacing:0.03em;flex-wrap:wrap;gap:12px;
  }

  /* count display on .add-btn after item is added */
  .add-btn.added{font-size:14px;font-weight:600;letter-spacing:-0.02em;font-family:'Geist',-apple-system,sans-serif}

  /* SSD capacity chip strip — sits below the per-GB price row */
  .ssd-cap-strip{
    display:flex;align-items:center;gap:8px;flex-wrap:wrap;
    padding:14px 22px 18px;
    background:var(--surface-2);
    border-top:1px dashed var(--line);
  }
  .ssd-cap-label{
    font-family:'Geist Mono',monospace;font-size:11px;font-weight:600;
    letter-spacing:0.06em;text-transform:uppercase;color:var(--muted);
    margin-right:4px;
  }
  .ssd-cap-btn{
    /* override default .add-btn (round +) */
    width:auto !important;height:auto !important;border-radius:8px !important;
    font-size:inherit !important;font-weight:inherit !important;font-family:inherit !important;
    /* chip styling */
    display:inline-flex;align-items:baseline;gap:7px;
    background:var(--surface);border:1px solid var(--line);
    padding:8px 12px;cursor:pointer;
    transition:background 0.15s, border-color 0.15s, transform 0.1s;
  }
  .ssd-cap-btn:hover{background:#fff;border-color:var(--line-2)}
  .ssd-cap-btn:active{transform:scale(0.97)}
  .ssd-cap-btn .cap{font-weight:600;color:var(--ink);font-size:13.5px}
  .ssd-cap-btn .amt{font-family:'Geist Mono',monospace;font-size:12px;color:var(--muted)}
  .ssd-cap-btn.added{background:var(--gold-soft);border-color:var(--gold)}
  .ssd-cap-btn.added .cap{color:var(--gold)}
  .ssd-cap-btn.added::after{
    content:attr(data-qty);
    font-family:'Geist Mono',monospace;font-size:11px;font-weight:700;
    background:var(--gold);color:#fff;
    padding:1px 6px;border-radius:99px;margin-left:2px;min-width:18px;text-align:center;
  }

  /* SSD per-GB row "↓" prompt: signals "pick below" without auto-adding */
  .ssd-pick-prompt{
    background:transparent !important;color:var(--muted);
    font-size:16px;line-height:1;
    border-color:var(--line-2);
  }
  .ssd-pick-prompt:hover{background:var(--surface-2) !important;color:var(--ink);border-color:var(--ink)}
  .ssd-cap-strip.flash{
    animation:ssdCapFlash 1.2s ease-out;
  }
  @keyframes ssdCapFlash{
    0%{box-shadow:0 0 0 0 rgba(184,137,58,0.5)}
    35%{box-shadow:0 0 0 8px rgba(184,137,58,0.18);background:#FBF1DD}
    100%{box-shadow:0 0 0 0 rgba(184,137,58,0)}
  }

  /* SSD capacity cell: chip + (conditional) minus button as a stepper */
  .ssd-cap-cell{display:inline-flex;align-items:stretch;border-radius:8px}
  .ssd-cap-cell .ssd-cap-btn{border-radius:8px}
  .ssd-cap-cell.has-items .ssd-cap-btn{border-radius:8px 0 0 8px;border-right:0}
  .ssd-cap-minus{
    display:none;align-items:center;justify-content:center;
    background:var(--gold-soft);color:var(--gold);border:1px solid var(--gold);
    padding:0 12px;font-size:18px;font-weight:600;line-height:1;cursor:pointer;
    border-radius:0 8px 8px 0;font-family:inherit;
    transition:background 0.15s;min-width:36px;
  }
  .ssd-cap-minus:hover{background:var(--gold);color:#fff}
  .ssd-cap-cell.has-items .ssd-cap-minus{display:inline-flex}

  /* Custom-size input — for 6TB / 16TB / 480GB / odd capacities */
  .ssd-cap-other{
    display:inline-flex;align-items:center;gap:8px;
    padding:6px 10px;background:var(--surface);
    border:1px dashed var(--line-2);border-radius:8px;
    font-family:'Geist Mono',monospace;font-size:12px;color:var(--muted);
  }
  .ssd-cap-gb{
    width:72px;font-family:'Geist Mono',monospace;font-size:13px;font-weight:600;
    color:var(--ink);background:var(--bg);
    border:1px solid var(--line);border-radius:6px;
    padding:5px 8px;text-align:right;
    -moz-appearance:textfield;
    transition:border-color 0.2s;
  }
  .ssd-cap-unit{
    font-family:'Geist Mono',monospace;font-size:12px;font-weight:600;
    color:var(--ink);background:var(--bg);
    border:1px solid var(--line);border-radius:6px;
    padding:5px 6px;cursor:pointer;
  }
  .ssd-cap-gb::-webkit-outer-spin-button,
  .ssd-cap-gb::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
  .ssd-cap-gb:focus{outline:none;border-color:var(--ink)}
  .ssd-cap-add-other{
    background:var(--ink);color:var(--bg);border:none;border-radius:6px;
    padding:6px 12px;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer;
  }
  .ssd-cap-add-other:hover{background:var(--ink-2)}
  @media(max-width:640px){
    .ssd-cap-strip{padding:12px 14px 14px;gap:6px}
    .ssd-cap-label{display:block;width:100%;margin-bottom:4px;margin-right:0}
    .ssd-cap-btn{padding:7px 10px}
    .ssd-cap-btn .cap{font-size:13px}
    .ssd-cap-btn .amt{font-size:11.5px}
  }

  /* typeable quantity input in cart */
  .calc-qty-num{
    width:48px;text-align:center;
    font-size:14px;font-weight:600;color:var(--ink);
    background:var(--bg);border:1px solid var(--line);border-radius:6px;
    padding:4px 6px;
    -moz-appearance:textfield;
  }
  .calc-qty-num::-webkit-outer-spin-button,
  .calc-qty-num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
  .calc-qty-num:focus{outline:none;border-color:var(--ink)}

  /* ===== LOCK-IN MODAL ===== */
  .lock-modal{
    position:fixed;inset:0;z-index:300;
    display:flex;align-items:center;justify-content:center;
    padding:24px;
  }
  .lock-modal[hidden]{display:none}
  .lock-backdrop{
    position:absolute;inset:0;
    background:rgba(10,10,10,0.55);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
  }
  .lock-card{
    position:relative;background:var(--bg);
    width:100%;max-width:560px;max-height:calc(100vh - 48px);
    border-radius:16px;border:1px solid var(--line);
    box-shadow:0 24px 80px rgba(10,10,10,0.32);
    overflow-y:auto;
  }
  .lock-close{
    position:absolute;top:12px;right:14px;
    width:36px;height:36px;border-radius:50%;border:none;
    background:transparent;color:var(--muted);
    font-size:24px;line-height:1;cursor:pointer;
    transition:background 0.15s;z-index:1;
  }
  .lock-close:hover{background:var(--surface-2);color:var(--ink)}
  .lock-body{padding:32px 36px}
  .lock-eyebrow{
    font-family:'Geist Mono',monospace;font-size:11px;font-weight:600;
    letter-spacing:0.08em;text-transform:uppercase;color:var(--gold);margin-bottom:8px;
  }
  .lock-card h2{
    font-size:26px;font-weight:600;letter-spacing:-0.02em;line-height:1.2;
    margin:0 0 12px;color:var(--ink);
  }
  .lock-lede{font-size:15px;color:var(--muted);line-height:1.55;margin:0 0 20px}
  .lock-lede a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
  .lock-summary{
    background:var(--surface-2);border:1px solid var(--line);
    border-radius:10px;padding:8px 16px 14px;margin-bottom:22px;
  }
  .lock-items-list{margin:8px 0;display:flex;flex-direction:column;gap:6px}
  .lock-items-list:empty{display:none}
  .lock-items-empty{
    padding:14px 4px;font-size:13px;color:var(--muted);text-align:center;font-style:italic;
  }
  .lock-item{
    display:grid;grid-template-columns:1fr auto auto;gap:10px;
    align-items:center;padding:10px 0;border-bottom:1px solid var(--line);
  }
  .lock-item:last-child{border-bottom:none}
  .lock-item-name{font-size:14px;font-weight:600;color:var(--ink);line-height:1.2}
  .lock-item-price{font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted);margin-top:2px}
  .lock-item-qty{
    display:inline-flex;align-items:center;gap:0;
    background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:1px;
  }
  .lock-item-qty button{
    width:26px;height:26px;border:none;background:transparent;
    color:var(--muted);font-size:14px;font-weight:600;cursor:pointer;line-height:1;padding:0;
  }
  .lock-item-qty button:hover{background:var(--surface-2);color:var(--ink);border-radius:5px}
  .lock-item-qty input{
    width:36px;height:26px;border:none;background:transparent;
    text-align:center;font-size:13px;font-weight:600;color:var(--ink);
    -moz-appearance:textfield;
  }
  .lock-item-qty input::-webkit-outer-spin-button,
  .lock-item-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
  .lock-item-sub{
    font-family:'Geist Mono',monospace;font-size:14px;font-weight:600;
    color:var(--ink);min-width:56px;text-align:right;
  }
  .lock-summary-row{
    display:flex;justify-content:space-between;align-items:baseline;
    padding:8px 0 0;border-top:1px solid var(--line);
  }
  .lock-summary-row:first-of-type{border-top:1px solid var(--line);padding-top:12px}
  .lock-summary-row + .lock-summary-row{border-top:none;padding-top:4px}
  .lock-summary-label{
    font-family:'Geist Mono',monospace;font-size:11px;font-weight:600;
    letter-spacing:0.06em;text-transform:uppercase;color:var(--muted);
  }
  .lock-summary-val{font-size:14px;color:var(--ink);font-family:'Geist Mono',monospace}
  .lock-summary-total{font-size:22px;font-weight:700;letter-spacing:-0.01em}
  .lock-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
  .lock-field{display:block;margin-bottom:14px}
  .lock-label{
    display:block;font-family:'Geist Mono',monospace;font-size:11px;font-weight:600;
    letter-spacing:0.06em;text-transform:uppercase;color:var(--muted);margin-bottom:6px;
  }
  .lock-label em{color:var(--red);font-style:normal;margin-left:2px}
  .lock-optional{color:var(--muted-2);text-transform:none;letter-spacing:normal;font-weight:400;font-family:inherit;font-size:11px}
  .lock-field input,
  .lock-field textarea{
    width:100%;font-family:'Geist',-apple-system,sans-serif;font-size:15px;
    color:var(--ink);background:var(--surface);
    padding:10px 12px;border:1px solid var(--line);border-radius:8px;
    transition:border-color 0.15s, box-shadow 0.15s;
    box-sizing:border-box;
  }
  .lock-field textarea{resize:vertical;min-height:72px;font-family:inherit}
  .lock-field input:focus,
  .lock-field textarea:focus{
    outline:none;border-color:var(--ink);
    box-shadow:0 0 0 3px rgba(184,137,58,0.18);
  }
  .lock-error{
    padding:10px 12px;background:var(--red-soft);
    border:1px solid rgba(181,61,46,0.3);border-radius:8px;
    color:var(--red);font-size:13.5px;margin-bottom:14px;
  }
  .lock-submit{
    width:100%;background:var(--ink);color:var(--bg);
    padding:14px 22px;border:none;border-radius:10px;
    font-family:inherit;font-size:15px;font-weight:600;letter-spacing:-0.005em;
    cursor:pointer;transition:background 0.2s, transform 0.1s;
  }
  .lock-submit:hover{background:var(--ink-2)}
  .lock-submit:active{transform:scale(0.99)}
  .lock-submit:disabled{opacity:0.6;cursor:wait}
  .lock-fineprint{
    font-size:12px;color:var(--muted);line-height:1.55;margin:14px 0 0;text-align:center;
  }
  .lock-fineprint a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold)}

  .lock-success{padding:48px 36px 36px;text-align:center}
  .lock-success-icon{
    width:64px;height:64px;border-radius:50%;background:var(--green-soft);
    color:var(--green);display:flex;align-items:center;justify-content:center;
    margin:0 auto 18px;
  }
  .lock-success-icon svg{width:30px;height:30px}
  .lock-success h2{margin-bottom:14px}
  .lock-success p{font-size:15px;color:var(--muted-2);line-height:1.55;margin:0 0 14px}
  .lock-success p strong{color:var(--ink)}
  .lock-success code{
    font-family:'Geist Mono',monospace;font-size:13px;background:var(--surface-2);
    padding:2px 8px;border-radius:4px;border:1px solid var(--line);color:var(--gold);font-weight:600;
  }
  .lock-success .lock-submit{margin-top:18px;max-width:200px}

  body.lock-modal-open{overflow:hidden}

  @media(max-width:640px){
    .lock-modal{padding:0;align-items:flex-end}
    .lock-card{max-width:none;border-radius:16px 16px 0 0;max-height:92vh}
    .lock-body{padding:24px 22px}
    .lock-card h2{font-size:22px}
    .lock-grid{grid-template-columns:1fr;gap:0}
    .lock-success{padding:32px 22px 24px}
  }

  /* ===== STICKY DESKTOP QUOTE STRIP ===== */
  .quote-strip{
    position:fixed;left:0;right:0;bottom:0;z-index:150;
    background:var(--ink);color:var(--bg);
    padding:14px 24px;
    display:flex;align-items:center;gap:24px;
    border-top:1px solid rgba(255,255,255,0.08);
    box-shadow:0 -10px 32px rgba(0,0,0,0.18);
  }
  .quote-strip[hidden]{display:none}
  .qs-info{display:flex;align-items:baseline;gap:14px;flex-shrink:0}
  .qs-eyebrow{
    font-family:'Geist Mono',monospace;font-size:11px;font-weight:600;
    letter-spacing:0.08em;text-transform:uppercase;
    color:rgba(255,255,255,0.5);
  }
  .qs-count{font-size:14px;color:rgba(255,255,255,0.85)}
  .qs-total{
    font-family:'Geist Mono',monospace;font-size:22px;font-weight:600;
    color:#fff;letter-spacing:-0.01em;
  }
  .qs-status{
    flex:1;font-size:13.5px;color:rgba(255,255,255,0.7);
    font-family:'Geist Mono',monospace;
  }
  .qs-status.ok{color:#9DD9B6}
  .qs-status.warn{color:var(--gold)}
  .qs-cta{
    background:var(--gold);color:var(--ink);
    padding:10px 22px;border-radius:8px;border:none;
    font-weight:600;font-size:14px;cursor:pointer;
    transition:background 0.2s, transform 0.1s;
    flex-shrink:0;
  }
  .qs-cta:hover{background:#D4A14A}
  .qs-cta:active{transform:scale(0.98)}
  .qs-cta.disabled{background:rgba(255,255,255,0.15);color:rgba(255,255,255,0.5);cursor:not-allowed}
  .qs-cta.disabled:hover{background:rgba(255,255,255,0.15)}

  /* leave room for the strip so footer/content isn't hidden behind it */
  body:has(.quote-strip:not([hidden])){padding-bottom:74px}

  /* hide the strip on mobile — bottom drawer handles it */
  @media(max-width:900px){
    .quote-strip{display:none !important}
    body:has(.quote-strip:not([hidden])){padding-bottom:0}
  }

  /* ===== FLOATING WHATSAPP BUTTON ===== */
  .wa-fab{
    position:fixed;bottom:24px;right:24px;
    width:56px;height:56px;border-radius:50%;
    background:#25D366;color:#fff;
    display:flex;align-items:center;justify-content:center;
    text-decoration:none;
    box-shadow:0 6px 22px rgba(37,211,102,0.35), 0 2px 6px rgba(0,0,0,0.12), 0 0 0 2px #FAFAF7;
    z-index:250;
    transition:transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }
  .wa-fab:hover{
    transform:scale(1.06);
    box-shadow:0 10px 32px rgba(37,211,102,0.45), 0 4px 10px rgba(0,0,0,0.14), 0 0 0 2px #FAFAF7;
  }
  .wa-fab:active{transform:scale(0.97)}
  .wa-fab svg{width:28px;height:28px;fill:#fff}
  /* On desktop, lift FAB above the quote-strip when it's visible */
  @media(min-width:901px){
    body:has(.quote-strip:not([hidden])) .wa-fab{bottom:104px}
  }
  /* On mobile (where .calc is the sticky bottom drawer), lift well clear of it */
  @media(max-width:900px){
    body:has(.calc) .wa-fab{bottom:108px}
    body:has(.calc.is-expanded) .wa-fab{opacity:0;visibility:hidden;pointer-events:none}
  }
  /* Hide the FAB while the lock-in modal is open so it doesn't compete with the form CTA */
  body.lock-modal-open .wa-fab{opacity:0;visibility:hidden;pointer-events:none}

  /* ===== CPU illustration (used on /sell-cpu/, brand pages) ===== */
  .cpu-hero-art{
    position:relative;
    width:280px;height:280px;
    margin:0 auto;
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
  }
  .cpu-hero-art svg{width:100%;height:100%;display:block;filter:drop-shadow(0 12px 32px rgba(0,0,0,0.18))}

  /* small CPU icon for inline use (e.g. price rows) */
  .cpu-icon-mini{
    width:30px;height:30px;flex-shrink:0;
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:7px;
    background:var(--surface-2);
    color:var(--gold);
  }
  .cpu-icon-mini svg{width:18px;height:18px}

  /* tier-colored variants for the icon */
  .cpu-icon-mini.tier-i9{background:var(--gold-soft);color:var(--gold)}
  .cpu-icon-mini.tier-i7{background:var(--blue-soft);color:var(--blue)}
  .cpu-icon-mini.tier-i5{background:var(--green-soft);color:var(--green)}
  .cpu-icon-mini.tier-i3{background:var(--surface-2);color:var(--muted)}

  /* hero with chip art layout */
  .hero-with-art{
    display:grid;grid-template-columns:1fr 280px;
    gap:48px;align-items:center;
    padding-bottom:8px;
  }
  @media(max-width:780px){
    .hero-with-art{grid-template-columns:1fr;gap:24px}
    .cpu-hero-art{width:200px;height:200px;order:-1}
  }

  /* enhanced price row with icon */
  .pp-price-row.with-icon{
    display:grid;grid-template-columns:46px 1fr auto;
    gap:14px;align-items:center;
  }

  /* ===== COOKIE BANNER ===== */
  .cookie-banner{
    position:fixed;bottom:24px;left:24px;
    max-width:380px;
    background:#0A0A0A;color:#FAFAF7;
    border:1px solid rgba(184,137,58,0.25);
    border-radius:12px;padding:16px 18px;
    box-shadow:0 12px 40px rgba(0,0,0,0.28);
    z-index:240;
    display:flex;flex-direction:column;gap:12px;
    opacity:0;transform:translateY(8px);
    transition:opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, bottom 0.2s ease;
  }
  .cookie-banner[hidden]{display:none}
  .cookie-banner.is-shown{opacity:1;transform:translateY(0)}
  .cookie-banner-text{
    display:flex;flex-direction:column;gap:4px;line-height:1.45;
  }
  .cookie-banner-text strong{
    font-size:13.5px;font-weight:600;color:#FAFAF7;letter-spacing:-0.005em;
  }
  .cookie-banner-text span{
    font-size:12.5px;color:rgba(250,250,247,0.72);
  }
  .cookie-banner-text a{
    color:#B8893A;text-decoration:underline;
    text-decoration-color:rgba(184,137,58,0.45);text-underline-offset:2px;
  }
  .cookie-banner-text a:hover{text-decoration-color:#B8893A}
  .cookie-banner-actions{
    display:flex;gap:8px;justify-content:flex-end;
  }
  .cookie-banner-btn{
    background:#B8893A;color:#0A0A0A;
    border:1px solid #B8893A;
    padding:8px 16px;border-radius:8px;
    font-family:inherit;font-size:13px;font-weight:600;
    cursor:pointer;flex-shrink:0;
    transition:opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  }
  .cookie-banner-btn:hover{opacity:0.92}
  .cookie-banner-btn:active{transform:scale(0.97)}
  .cookie-banner-btn--secondary{
    background:transparent;color:#FAFAF7;
    border-color:rgba(250,250,247,0.18);
  }
  .cookie-banner-btn--secondary:hover{
    background:rgba(250,250,247,0.06);
    border-color:rgba(250,250,247,0.3);
    opacity:1;
  }

  /* Lift above the desktop quote-strip when it's visible */
  @media(min-width:901px){
    body:has(.quote-strip:not([hidden])) .cookie-banner{bottom:104px}
  }
  /* Lift above the mobile sticky calc drawer */
  @media(max-width:900px){
    body:has(.calc) .cookie-banner{bottom:118px}
    body:has(.calc.is-expanded) .cookie-banner{opacity:0;visibility:hidden;pointer-events:none}
    /* Hide WhatsApp FAB while cookie banner is shown — both are bottom-positioned
       on mobile and the FAB visually overlaps the right edge of the banner card. */
    body:has(.cookie-banner.is-shown) .wa-fab{
      opacity:0;visibility:hidden;pointer-events:none;
    }
  }
  /* Hide while the lock modal is open */
  body.lock-modal-open .cookie-banner{opacity:0;visibility:hidden;pointer-events:none}
  @media(max-width:640px){
    .cookie-banner{
      left:12px;right:12px;bottom:12px;max-width:none;
      padding:12px 14px;
    }
  }

  /* ===== FREE TESTING PROMISE (home page) ===== */
  .test-promise{
    display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;
    background:var(--green-soft);
    border:1px solid rgba(46,125,91,0.22);
    border-radius:14px;padding:16px 22px;margin:0 0 18px;
  }
  .test-promise-icon{
    width:42px;height:42px;border-radius:50%;
    background:var(--green);color:#fff;
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
  }
  .test-promise-icon svg{width:20px;height:20px;stroke:#fff}
  .test-promise-text strong{
    display:block;font-size:14.5px;font-weight:600;
    color:var(--green);margin-bottom:4px;letter-spacing:-0.005em;
  }
  .test-promise-text p{
    font-size:13px;color:var(--ink-2);line-height:1.5;margin:0;
  }
  .test-promise-text strong + strong{display:inline;color:inherit;font-weight:600}
  .test-promise-text p strong{display:inline;color:var(--ink);font-weight:600}
  .test-promise-link{
    color:var(--green);font-size:13px;font-weight:600;text-decoration:none;
    padding:8px 14px;border:1px solid var(--green);border-radius:8px;
    transition:all 0.2s;flex-shrink:0;
  }
  .test-promise-link:hover{background:var(--green);color:#fff}
  @media(max-width:780px){
    .test-promise{grid-template-columns:auto 1fr;gap:14px;padding:14px 16px}
    .test-promise-link{grid-column:1/-1;text-align:center;justify-self:stretch}
  }

  /* ===== INNER PAGES ===== */
  .page-wrap-outer{padding:32px 0 96px;background:var(--bg);min-height:60vh}
  .page-breadcrumb{
    font-family:'Geist Mono',monospace;font-size:11px;color:var(--muted);
    text-transform:uppercase;letter-spacing:0.06em;margin-bottom:14px;
    max-width:1080px;margin-left:auto;margin-right:auto;
  }
  .page-breadcrumb a{color:var(--muted);text-decoration:none}
  .page-breadcrumb a:hover{color:var(--ink)}
  .page-breadcrumb .breadcrumb_last{color:var(--ink)}
  .page-wrap{max-width:1080px;margin:0 auto}

  .page-hero{padding:8px 0 36px;border-bottom:1px solid var(--line);margin-bottom:40px}
  .page-hero-eyebrow{
    font-family:'Geist Mono',monospace;font-size:11px;color:var(--gold);
    letter-spacing:0.08em;text-transform:uppercase;font-weight:600;margin-bottom:14px;
  }
  .page-hero h1{
    font-size:48px;font-weight:600;letter-spacing:-0.03em;line-height:1.05;
    margin-bottom:18px;max-width:880px;
  }
  .page-hero h1 .accent{color:var(--green);font-weight:600}
  .page-hero h1 .accent-gold{color:var(--gold);font-weight:600}
  .page-hero-sub{font-size:18px;color:var(--muted);line-height:1.55;max-width:720px;margin-bottom:24px}
  .page-hero-sub strong{color:var(--ink-2);font-weight:600}
  .page-hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:620px;margin-top:24px}

  .page-section{margin-bottom:56px}
  .page-section > h2{font-size:28px;font-weight:600;letter-spacing:-0.02em;margin-bottom:8px;line-height:1.2}
  .page-section > .page-section-sub{font-size:15px;color:var(--muted);margin-bottom:24px;max-width:720px;line-height:1.5}

  .prose{max-width:720px}
  .prose p{font-size:16px;line-height:1.65;color:var(--ink-2);margin-bottom:16px}
  .prose ul,.prose ol{margin:0 0 18px 22px;color:var(--ink-2);line-height:1.7;font-size:16px}
  .prose li{margin-bottom:6px}
  .prose a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px;text-decoration-thickness:1.5px}
  .prose a:hover{color:var(--gold)}
  .prose strong{color:var(--ink);font-weight:600}
  .prose h3{font-size:18px;font-weight:600;margin-top:28px;margin-bottom:10px;color:var(--ink)}
  .prose blockquote{border-left:3px solid var(--gold);padding:4px 0 4px 20px;margin:18px 0;color:var(--muted);font-size:15px;font-style:italic}
  .prose hr{border:none;border-top:1px solid var(--line);margin:32px 0}
  .prose code{font-family:'Geist Mono',monospace;font-size:13px;background:var(--surface-2);padding:2px 6px;border-radius:4px;border:1px solid var(--line)}
  .prose table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px}
  .prose th,.prose td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line)}
  .prose th{background:var(--surface-2);font-weight:600;font-family:'Geist Mono',monospace;font-size:11px;letter-spacing:0.04em;text-transform:uppercase;color:var(--muted)}

  .pp-buying-bar{
    background:var(--surface);border:1px solid var(--line);border-radius:14px;
    padding:24px 28px;display:grid;grid-template-columns:1fr 1fr;gap:36px;
    position:relative;
  }
  .pp-buying-bar::before{
    content:'';position:absolute;top:24px;bottom:24px;left:50%;width:1px;background:var(--line);
  }
  .pp-buying-col h3{
    font-family:'Geist Mono',monospace;font-size:11px;letter-spacing:0.06em;text-transform:uppercase;
    color:var(--muted);margin-bottom:12px;display:flex;align-items:center;gap:8px;font-weight:600;
  }
  .pp-buying-col h3.yes{color:var(--green)}
  .pp-buying-col h3.gold{color:var(--gold)}
  .pp-buying-col h3 svg{width:14px;height:14px}
  .pp-buying-col p{font-size:14.5px;color:var(--ink-2);line-height:1.55;margin-bottom:14px}
  .pp-buying-col p strong{color:var(--ink);font-weight:600}

  .pp-how-bar{
    background:var(--surface);border:1px solid var(--line);border-radius:14px;
    padding:18px 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;align-items:center;
  }
  .pp-how-bar .how-step{display:flex;align-items:center;gap:11px}
  .pp-how-bar .how-num{
    width:30px;height:30px;border-radius:50%;background:var(--ink);color:var(--bg);
    display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13.5px;flex-shrink:0;
  }
  .pp-how-bar .how-text{font-size:13px;line-height:1.3}
  .pp-how-bar .how-text strong{font-weight:600;display:block;margin-bottom:1px}
  .pp-how-bar .how-text span{color:var(--muted);font-size:12px}

  .pp-cards{
    display:grid;grid-template-columns:repeat(2,1fr);gap:14px;
  }
  .pp-cards.three{grid-template-columns:repeat(3,1fr)}
  .pp-card{
    background:var(--surface);border:1px solid var(--line);border-radius:12px;
    padding:22px 24px;
  }
  .pp-card-eyebrow{
    font-family:'Geist Mono',monospace;font-size:10.5px;letter-spacing:0.06em;
    text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:10px;
  }
  .pp-card h3{font-size:18px;font-weight:600;margin-bottom:8px;letter-spacing:-0.01em}
  .pp-card p{font-size:14px;color:var(--ink-2);line-height:1.55;margin:0}
  .pp-card p + p{margin-top:8px}
  .pp-card strong{color:var(--ink);font-weight:600}

  .pp-tag-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
  .pp-tag{
    font-family:'Geist Mono',monospace;font-size:11px;font-weight:500;
    padding:5px 10px;border-radius:6px;border:1px solid;
  }
  .pp-tag.yes{background:var(--green-soft);color:var(--green);border-color:rgba(46,125,91,0.2)}
  .pp-tag.no{background:var(--surface-2);color:var(--muted);border-color:var(--line)}

  .pp-cta{
    background:var(--ink);color:var(--bg);border-radius:14px;padding:24px 28px;
    display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:36px 0;
  }
  .pp-cta-text{flex:1;min-width:240px}
  .pp-cta-text strong{display:block;font-size:18px;margin-bottom:4px;font-weight:600;color:#FAFAF7}
  .pp-cta-text span{font-size:14px;color:#A8A8A2;line-height:1.5}
  .pp-cta-btn{
    background:var(--gold);color:var(--ink);
    padding:12px 22px;border-radius:8px;
    font-weight:600;font-size:14px;text-decoration:none;transition:all 0.2s;
  }
  .pp-cta-btn:hover{background:#D4A14A}

  .pp-price-list{
    background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;
  }
  .pp-price-row{
    display:grid;grid-template-columns:1fr auto;gap:14px;
    padding:14px 22px;border-bottom:1px solid var(--line);align-items:center;
  }
  .pp-price-row:last-child{border-bottom:none}
  .pp-price-row .pp-price-label{font-weight:600;color:var(--ink);font-size:15px}
  .pp-price-row .pp-price-eg{font-family:'Geist Mono',monospace;font-size:12px;color:var(--muted);margin-top:3px}
  .pp-price-row .pp-price-amt{font-weight:600;font-size:17px;color:var(--ink);font-family:'Geist Mono',monospace;letter-spacing:-0.01em}

  .how-flow-section{padding-top:6px}
  .how-flow{
    display:grid;
    grid-template-columns:repeat(6,1fr) auto auto auto auto auto;
    grid-auto-flow:column;
    align-items:center;justify-content:space-between;
    gap:0;
    background:var(--surface);border:1px solid var(--line);border-radius:14px;
    padding:22px 18px;
  }
  .how-flow{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:0}
  .how-flow-step{
    display:flex;flex-direction:column;align-items:center;gap:6px;
    flex:1 1 0;min-width:0;text-align:center;
  }
  .how-flow-icon{
    width:46px;height:46px;border-radius:50%;
    background:rgba(184,137,58,0.08);border:1px solid rgba(184,137,58,0.25);
    display:flex;align-items:center;justify-content:center;
    color:var(--gold);
  }
  .how-flow-icon svg{width:22px;height:22px}
  .how-flow-num{
    font-family:'Geist Mono',monospace;font-size:11px;font-weight:600;
    color:var(--muted);letter-spacing:0.08em;
  }
  .how-flow-label{
    font-size:13.5px;font-weight:600;color:var(--ink);letter-spacing:-0.01em;
  }
  .how-flow-arrow{
    color:var(--muted);font-size:18px;font-weight:300;
    flex-shrink:0;padding:0 4px;align-self:center;margin-top:14px;
  }
  @media(max-width:780px){
    .how-flow{flex-wrap:wrap;justify-content:center;gap:6px 12px;padding:16px 12px}
    .how-flow-step{flex:0 0 calc(33.33% - 8px)}
    .how-flow-arrow{display:none}
  }
  @media(max-width:480px){
    .how-flow-step{flex:0 0 calc(50% - 8px)}
    .how-flow-icon{width:40px;height:40px}
    .how-flow-icon svg{width:19px;height:19px}
    .how-flow-label{font-size:12.5px}
  }

  .faq-list{
    background:var(--surface);border:1px solid var(--line);border-radius:14px;
    padding:8px 24px;
  }
  .faq-item{
    border-bottom:1px solid var(--line);padding:18px 0;
  }
  .faq-item:last-child{border-bottom:none}
  .faq-q{font-size:17px;font-weight:600;color:var(--ink);margin-bottom:8px;letter-spacing:-0.01em}
  .faq-a{font-size:15px;color:var(--ink-2);line-height:1.65}
  .faq-a a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}

  .pp-guarantee{
    background:#0A1A12;color:#A8C4B5;border-radius:14px;padding:22px 26px;
    display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;margin:36px 0;
  }
  .pp-guarantee-icon{
    width:44px;height:44px;border-radius:50%;background:rgba(157,217,182,0.15);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
  }
  .pp-guarantee-icon svg{width:22px;height:22px;stroke:#9DD9B6}
  .pp-guarantee-text strong{display:block;font-size:14.5px;font-weight:600;color:#FAFAF7;margin-bottom:4px}
  .pp-guarantee-text p{font-size:13px;color:#A8C4B5;line-height:1.5;margin:0}
  .pp-guarantee-text p strong{display:inline;color:#9DD9B6;font-weight:600}
  .pp-guarantee-link{
    color:#9DD9B6;font-size:13px;font-weight:500;text-decoration:none;
    padding:8px 14px;border:1px solid rgba(157,217,182,0.3);border-radius:8px;
    transition:all 0.2s;flex-shrink:0;
  }
  .pp-guarantee-link:hover{background:rgba(157,217,182,0.1)}

  /* responsive overrides for inner pages */
  @media(max-width:780px){
    .page-wrap-outer{padding:24px 0 64px}
    .page-hero{padding:0 0 28px;margin-bottom:32px}
    .page-hero h1{font-size:34px}
    .page-hero-sub{font-size:16px}
    .pp-buying-bar{grid-template-columns:1fr;gap:24px}
    .pp-buying-bar::before{display:none}
    .pp-how-bar{grid-template-columns:1fr 1fr;gap:14px}
    .pp-cards,.pp-cards.three{grid-template-columns:1fr}
    .pp-guarantee{grid-template-columns:1fr;text-align:center}
    .page-hero-stats{grid-template-columns:1fr 1fr}
    .page-section{margin-bottom:40px}
    .page-section > h2{font-size:24px}
  }
  @media(max-width:640px){
    .page-hero h1{font-size:26px;line-height:1.15}
    .page-hero-sub{font-size:15px}
    .page-hero-eyebrow{margin-bottom:10px;font-size:10.5px}
    .page-hero-stats{grid-template-columns:1fr 1fr;gap:8px;max-width:none}
    .page-section{margin-bottom:32px}
    .page-section > h2{font-size:20px}
    .page-section > .page-section-sub{font-size:14px;margin-bottom:18px}
    .pp-card{padding:16px 18px}
    .pp-card h3{font-size:16px}
    .pp-card p{font-size:13.5px}
    .pp-buying-bar{padding:18px 20px}
    .pp-buying-col h3{font-size:10.5px}
    .pp-cta{padding:18px 20px;flex-direction:column;align-items:flex-start;text-align:left;gap:14px}
    .pp-cta-text{min-width:0}
    .pp-cta-btn{align-self:stretch;text-align:center}
    .pp-guarantee{padding:18px 20px}
    .pp-price-row{padding:12px 16px;gap:8px}
    .pp-price-row .pp-price-label{font-size:14px}
    .pp-price-row .pp-price-amt{font-size:15px}
    .pp-how-bar{grid-template-columns:1fr;padding:14px 16px}
    .faq-list{padding:4px 18px}
    .faq-q{font-size:15.5px}
    .faq-a{font-size:14px}
    .prose p{font-size:15px}
    .prose ul,.prose ol{font-size:15px}
  }

  /* ===== RESPONSIVE ===== */
  @media(max-width:1100px){
    .main-grid{grid-template-columns:1fr}
    .calc{
      position:static;max-height:none;
      max-width:none;margin-bottom:24px;order:-1;
    }
  }
  @media(max-width:900px){
    /* PAGE REORDER ON MOBILE — prices first, hero/header content moves below */
    body{display:flex;flex-direction:column;min-height:100vh}
    body:has(.calc){padding-bottom:80px}
    nav{order:1}
    .position-banner{order:2}
    .filter-bar{order:3}
    main{order:4}
    header{order:5;margin-top:32px;padding-top:36px !important;border-top:1px solid var(--line)}
    footer{order:6}

    /* Hide the buying-bar entirely on mobile — without the chip lists
       (already hidden), the headings alone are noise. The price categories
       below carry the same meaning. */
    .buying-bar{display:none}

    /* compact nav */
    .nav-inner{gap:14px;padding-top:20px;padding-bottom:20px}
    .brand{gap:10px}
    .brand-mark{width:38px;height:38px}
    .brand-name{font-size:22px}
    .brand-tag{margin-top:7px}
    .nav-right{gap:12px}
    .live-strip{display:none}

    /* compact position banner */
    .position-banner{font-size:13px;padding:10px 0}
    .position-divider{display:none}

    /* compact header */
    header{padding:24px 0 20px}
    .header-grid{grid-template-columns:1fr;gap:18px}
    h1{font-size:30px;line-height:1.1}
    .header-sub{font-size:15px}

    /* hide social-proof animation on mobile — wastes vertical space */
    .payouts-ticker{display:none}

    /* compact buying-bar — keep headers but hide chip lists on mobile.
       The price categories below communicate the same info more directly. */
    .buying-bar{grid-template-columns:1fr 1fr;gap:18px;padding:14px 16px}
    .buying-bar::before{display:none}
    .buying-col{padding:0;text-align:center}
    .buying-head{font-size:11px;justify-content:center}
    .buying-list{display:none}

    /* sticky filter bar — sits directly under the (sticky) nav so users can
       search/filter while scrolling prices */
    .filter-bar{
      position:sticky;
      top:62px;z-index:90;
      background:rgba(250,250,247,0.95);
      backdrop-filter:saturate(180%) blur(20px);
      -webkit-backdrop-filter:saturate(180%) blur(20px);
      box-shadow:0 1px 0 var(--line);
    }
    .filter-inner{flex-direction:column;align-items:stretch}
    .search-box{max-width:none}

    /* MOBILE-FIRST CONTENT ORDER — price categories before how-it-works,
       guarantee, and info sections in the left column */
    .main-grid > div:first-child{display:flex;flex-direction:column}
    .main-grid > div:first-child > .category{order:1}
    .main-grid > div:first-child > .how-bar{
      order:10;margin-top:32px;padding-top:24px;
      border-top:1px solid var(--line);
    }
    .main-grid > div:first-child > .guarantee{order:11}
    .main-grid > div:first-child > .info-section{order:12}
    .main-grid > div:first-child > .footnotes{order:13}

    .how-bar{grid-template-columns:1fr;gap:14px}
    .footnotes{grid-template-columns:1fr;gap:20px}
    .grade-scale{grid-template-columns:1fr 1fr}
    .two-col{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
    .guarantee{grid-template-columns:auto 1fr;gap:14px}
    .guarantee-link{grid-column:1/-1;text-align:center}


    /* QUOTE CALCULATOR AS STICKY BOTTOM DRAWER ON MOBILE */
    .calc{
      position:fixed !important;
      bottom:0;left:0;right:0;top:auto !important;
      margin:0 !important;max-width:none !important;
      z-index:200;
      border-radius:16px 16px 0 0;
      border:1px solid var(--line);border-bottom:none;
      box-shadow:0 -10px 32px rgba(10,10,10,0.12);
      padding:0 !important;
      max-height:85vh;
      transform:translateY(calc(100% - 80px));
      transition:transform 0.28s cubic-bezier(0.4,0,0.2,1);
      overflow:hidden;
      order:0 !important;
      display:flex !important;
      flex-direction:column;
    }
    .calc.is-expanded{transform:translateY(0);overflow-y:auto}
    .calc-head{
      flex-shrink:0;
      padding:14px 18px 14px;
      background:var(--ink);color:var(--bg);
      border-radius:15px 15px 0 0;border-bottom:0 !important;
      cursor:pointer;position:relative;user-select:none;
    }
    .calc-head::before{
      content:'';position:absolute;top:6px;left:50%;
      transform:translateX(-50%);
      width:40px;height:4px;border-radius:2px;
      background:rgba(255,255,255,0.22);
    }
    .calc-title{
      color:var(--bg) !important;font-size:13px !important;
      font-family:'Geist Mono',monospace !important;
      text-transform:uppercase;letter-spacing:0.06em;font-weight:600;
      margin-top:6px;display:flex !important;
      justify-content:space-between;align-items:center;gap:10px;
    }
    .calc-title svg{display:none}
    .calc-title::after{
      content:'⌃';font-family:'Geist Mono',monospace;font-size:14px;
      color:rgba(255,255,255,0.5);transition:transform 0.2s;
      margin-left:auto;transform:rotate(180deg);
    }
    .calc.is-expanded .calc-title::after{transform:rotate(0deg)}
    .calc-sub{
      color:rgba(255,255,255,0.9) !important;
      font-size:13.5px !important;margin-top:4px;font-weight:500;
    }
    .calc-empty,
    .calc-items,
    .calc-summary{padding:18px 20px;background:var(--surface)}
  }
  @media(max-width:640px){
    /* slightly smaller FAB on tiny phones */
    .wa-fab{width:50px;height:50px;bottom:20px;right:16px}
    .wa-fab svg{width:24px;height:24px}
    body:has(.calc) .wa-fab{bottom:104px}

    .container{padding:0 16px}
    header{padding:18px 0 14px}
    h1{font-size:26px}
    .header-sub{font-size:14px;line-height:1.5}
    .header-stats{grid-template-columns:1fr 1fr 1fr;gap:6px}
    .stat{padding:8px 10px}
    .stat-num{font-size:14px}
    .stat-label{font-size:9.5px}

    /* even smaller nav */
    .nav-inner{padding-top:18px;padding-bottom:18px}
    .brand-mark{width:32px;height:32px}
    .brand-name{font-size:19px}
    .brand-tag{margin-top:6px;font-size:9.5px}
    .nav-cta{padding:7px 12px;font-size:12.5px}

    /* simplified position banner — single-line on phones */
    .position-banner{padding:8px 0;font-size:12px}
    .position-banner .position-item:nth-child(3){display:none}

    /* compact buying-bar to a single row */
    .buying-bar{grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px}
    .buying-head{font-size:10.5px;gap:6px}
    .buying-head svg{width:12px;height:12px}

    /* tight price rows */
    .price-row{
      grid-template-columns:auto 1fr auto;gap:6px 12px;
      padding:12px 14px;
    }
    .price-name{grid-column:2;font-size:14px}
    .price-examples{grid-column:1/-1;order:3;font-size:11.5px;padding-left:36px}
    .price-grade{display:none}
    .price-amount{grid-column:3;grid-row:1}
    .price-value{font-size:16px}

    /* category title row tighter */
    .category-title{font-size:14px}
    .category-count{font-size:10.5px}
    .category-note{font-size:11.5px}

    /* footer stacks */
    .footer-grid{grid-template-columns:1fr}

    /* sticky filter top adjusts for shorter nav */
    .filter-bar{top:56px}
  }
