/* ============================================================
   Poxif — GPU Cloud & AI Hardware pages
   Builds on styles.css tokens (--gold, --surface, --line …)
   ============================================================ */

.nav-links a[aria-current="page"] { color: var(--text); }

/* ============= PAGE HERO ============= */
.page-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.page-hero .hero-grid { padding-bottom: 0; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 1.2rem; }
.page-hero .lead { font-size: 1.08rem; color: var(--muted); max-width: 540px; margin-bottom: 1.8rem; }
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.82rem; color: var(--muted);
  margin-bottom: 1.2rem;
}
.crumbs a:hover { color: var(--gold); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  list-style: none;
  font-size: 0.88rem; color: var(--muted);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 8px var(--blue);
}

/* Terminal mock (GPU cloud hero) */
.term {
  position: relative;
  background: #0b0b12;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.7;
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c3a; }
.term-bar i:nth-child(1) { background: #ff5e7a; }
.term-bar i:nth-child(2) { background: var(--gold); }
.term-bar i:nth-child(3) { background: #4ade80; }
.term-bar span { margin-left: 10px; color: var(--muted); font-size: 0.75rem; }
.term-body { padding: 18px 20px 20px; color: #c8c8d4; overflow-x: auto; white-space: pre; }
.term-body .p { color: var(--gold); }
.term-body .ok { color: #4ade80; }
.term-body .dim { color: #6b6b80; }
.term-body .hl { color: var(--blue); }
.cursor-blink { display: inline-block; width: 8px; height: 1em; background: var(--gold); vertical-align: -2px; animation: pulse 1s steps(1) infinite; }

/* Hardware hero visual */
.hw-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hw-tile {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.hw-tile svg { width: 100%; height: 72px; color: var(--gold); }
.hw-tile strong { font-family: 'Space Grotesk', sans-serif; font-size: 0.98rem; }
.hw-tile span { color: var(--muted); font-size: 0.82rem; }
.hw-tile:first-child { grid-column: span 2; }
.hw-tile:first-child svg { height: 96px; }

/* ============= STAT STRIP ============= */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}
.strip-item:last-child { border-right: none; }
.strip-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.strip-item span { color: var(--muted); font-size: 0.88rem; }

/* ============= CONTROLS ============= */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.control-group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.control-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-right: 4px; }

.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-pressed="true"] {
  color: #1a0f00;
  background: var(--grad);
  border-color: transparent;
  font-weight: 600;
}

.seg {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.seg button {
  background: transparent;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg button .save { color: var(--blue); font-size: 0.75rem; margin-left: 4px; }

.chip:focus-visible, .seg button:focus-visible, .btn:focus-visible,
.qty button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============= PRICE TABLE ============= */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.price-table th {
  text-align: left;
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  white-space: nowrap;
}
.price-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr { transition: background .2s ease; }
.price-table tbody tr:hover { background: rgba(255, 193, 77, 0.035); }
.price-table tbody tr[hidden] { display: none; }

.gpu-name { display: flex; flex-direction: column; gap: 4px; }
.gpu-name strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.02rem; font-weight: 600; }
.gpu-name small { color: var(--muted); font-size: 0.8rem; }
.tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  width: fit-content;
}
.tag-new { color: var(--gold); border-color: rgba(255,193,77,0.35); background: rgba(255,193,77,0.08); }

.spec { display: flex; flex-direction: column; gap: 2px; }
.spec b { font-weight: 600; color: var(--text); }
.spec small { color: var(--muted); font-size: 0.8rem; }

.avail { display: inline-flex; align-items: center; gap: 7px; font-size: 0.84rem; white-space: nowrap; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.avail.limited::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.avail.waitlist::before { background: #ff5e7a; box-shadow: 0 0 8px #ff5e7a; }

.rate { text-align: right; white-space: nowrap; }
.rate-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rate-main small { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 400; color: var(--muted); margin-left: 2px; }
.rate-sub { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.rate-sub .was { text-decoration: line-through; opacity: 0.7; }
.th-right { text-align: right !important; }
.row-cta { text-align: right; }

.table-note {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ============= CALCULATOR ============= */
.calc {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
}
.panel h3 { margin-bottom: 0.4rem; }
.panel > p.muted { font-size: 0.92rem; margin-bottom: 1.6rem; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label, .field .label { font-size: 0.84rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.field label output { color: var(--text); font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.select, .input, .textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s ease;
}
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239a9aae' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.select:hover, .input:hover, .textarea:hover { border-color: rgba(255,193,77,0.4); }
.textarea { min-height: 96px; resize: vertical; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(255,193,77,0.5);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
  cursor: pointer;
}

.seg-block { display: flex; flex-wrap: wrap; width: 100%; border-radius: 14px; }
.seg-block button { flex: 1 1 auto; border-radius: 10px; }

.result {
  background: linear-gradient(180deg, rgba(255, 193, 77, 0.07) 0%, var(--surface) 70%);
  border-color: rgba(255, 193, 77, 0.3);
  display: flex; flex-direction: column;
}
.result-total {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 6px 0 4px;
}
.result-total small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.result-lines { list-style: none; margin: 22px 0; display: flex; flex-direction: column; }
.result-lines li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 0.92rem;
}
.result-lines li span:first-child { color: var(--muted); }
.result-lines li.saving span:last-child { color: var(--blue); }
.result .btn { margin-top: auto; }

/* ============= FEATURE GRID ============= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .3s ease;
}
.feature:hover { border-color: rgba(255, 193, 77, 0.35); }
.feature .card-icon { margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.93rem; }

/* ============= SIMPLE LIST TABLE (add-ons, sizing) ============= */
.list-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.list-table th {
  text-align: left; font-weight: 500; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  padding: 0 0 12px; border-bottom: 1px solid var(--line);
}
.list-table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.list-table td + td, .list-table th + th { padding-left: 18px; }
.list-table tr:last-child td { border-bottom: none; }
.list-table td:last-child, .list-table th:last-child { text-align: right; white-space: nowrap; }
.list-table td small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.list-table .price-cell { font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ============= CLUSTER BAND ============= */
.band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.08), rgba(255, 193, 77, 0.06));
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 48px;
}
.band h2 { margin-bottom: 0.8rem; }
.band p.muted { margin-bottom: 1.4rem; }
.band .checks { margin-bottom: 1.6rem; }
.band-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.band-stats .stat { padding: 22px 20px; }
.band-stats .stat strong { font-size: 1.7rem; }

/* ============= FAQ ============= */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(255, 193, 77, 0.3); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 500;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; font-size: 0.95rem; }

/* ============= HARDWARE CATALOGUE ============= */
.cat-nav {
  position: sticky;
  top: 64px;
  z-index: 20;
  padding: 14px 0;
  margin-bottom: 18px;
  background: rgba(7, 7, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.cat-nav .controls { margin-bottom: 0; }
.cat-nav .control-group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.cat-nav .control-group::-webkit-scrollbar { display: none; }
.cat-nav .chip { flex-shrink: 0; }

.cat-section { padding: 36px 0 28px; scroll-margin-top: 140px; }
.cat-section[hidden] { display: none; }
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.cat-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cat-head p { color: var(--muted); max-width: 520px; font-size: 0.95rem; }

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .3s ease, transform .3s ease;
}
.product:hover { border-color: rgba(255, 193, 77, 0.32); }
.product.featured {
  border-color: rgba(255, 193, 77, 0.4);
  background: linear-gradient(180deg, rgba(255, 193, 77, 0.06) 0%, var(--surface) 55%);
}
.product-art {
  height: 120px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 193, 77, 0.18), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--gold);
  position: relative;
}
.product-art svg { width: 70%; height: 78px; }
.product-art .stock { position: absolute; top: 10px; left: 10px; }
.stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(7,7,11,0.75);
  border: 1px solid var(--line-2);
  color: var(--text);
}
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.stock.lead::before { background: var(--gold); }
.stock.order::before { background: var(--blue); }
.stock.pre::before { background: #ff5e7a; }

.product-top { display: flex; flex-direction: column; gap: 6px; }
.product-brand { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.product h3 { font-size: 1.12rem; }
.product-desc { color: var(--muted); font-size: 0.9rem; }

.keyspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; }
.keyspecs li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  display: flex; flex-direction: column;
}
.keyspecs li b { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; }
.keyspecs li span { color: var(--muted); font-size: 0.74rem; }

.specs { border-top: 1px solid var(--line); padding-top: 10px; }
.specs summary {
  cursor: pointer; list-style: none;
  font-size: 0.86rem; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
}
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; color: var(--gold); font-size: 1.1rem; }
.specs[open] summary::after { content: "−"; }
.specs summary:hover { color: var(--text); }
.specs dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 10px; font-size: 0.84rem; }
.specs dt { color: var(--muted); }
.specs dd { color: var(--text); text-align: right; }

.variant label { font-size: 0.78rem; color: var(--muted); display: block; margin-bottom: 6px; }
.variant .select { padding: 9px 12px; font-size: 0.88rem; padding-right: 34px; }

.product-foot {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.product-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product-price .amt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.product-price .amt .from { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--muted); font-weight: 400; margin-right: 4px; }
.product-price .tax { color: var(--muted); font-size: 0.78rem; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.78rem; color: var(--muted); }
.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; padding: 11px 14px; font-size: 0.86rem; }
.btn.added { background: rgba(94, 234, 212, 0.14); color: var(--blue); box-shadow: none; border-color: rgba(94, 234, 212, 0.35); }

/* ============= QUOTE DRAWER ============= */
.quote-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,193,77,0.4);
  background: rgba(17, 17, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  font: inherit; font-weight: 500; font-size: 0.92rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform .2s ease, border-color .2s ease;
}
.quote-fab:hover { transform: translateY(-2px); border-color: var(--gold); }
.quote-fab svg { width: 18px; height: 18px; color: var(--gold); }
.quote-count {
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  background: var(--grad);
  color: #1a0f00;
  font-size: 0.75rem; font-weight: 700;
  display: inline-grid; place-items: center;
}
.quote-fab.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.08); } }

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(460px, 100%);
  z-index: 100;
  background: var(--bg-2);
  border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.drawer.open { transform: none; }
.drawer.open + .drawer-backdrop, .drawer-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.3rem; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line-2); background: transparent; color: var(--text);
  cursor: pointer; display: grid; place-items: center; font-size: 1.1rem;
}
.icon-btn:hover { border-color: var(--gold); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer-empty { color: var(--muted); text-align: center; padding: 48px 12px; font-size: 0.95rem; }
.q-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.q-item strong { font-size: 0.95rem; font-weight: 600; }
.q-item small { display: block; color: var(--muted); font-size: 0.8rem; }
.q-price { text-align: right; font-family: 'Space Grotesk', sans-serif; font-weight: 600; white-space: nowrap; }
.q-controls { display: flex; align-items: center; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 30px; height: 30px; border: none; background: transparent; color: var(--text); cursor: pointer; font-size: 1rem; border-radius: 50%; }
.qty button:hover { color: var(--gold); }
.qty span { min-width: 26px; text-align: center; font-size: 0.9rem; }
.q-remove { background: none; border: none; color: var(--muted); font: inherit; font-size: 0.8rem; cursor: pointer; text-decoration: underline; }
.q-remove:hover { color: #ff5e7a; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.totals { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.totals li { display: flex; justify-content: space-between; }
.totals li span:first-child { color: var(--muted); }
.totals li.grand { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals li.grand span:first-child { color: var(--text); }
.quote-form { display: none; flex-direction: column; gap: 10px; }
.quote-form.show { display: flex; }
.quote-form .field-row { gap: 10px; }
.quote-form .input, .quote-form .textarea { padding: 10px 12px; font-size: 0.9rem; }
.quote-form .textarea { min-height: 70px; }
.fine { font-size: 0.76rem; color: var(--muted); }

/* ============= HOMEPAGE TEASER LINK ============= */
.inline-link { color: var(--gold); font-weight: 500; }
.inline-link:hover { color: var(--gold-2); }

/* ============= RESPONSIVE ============= */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .page-hero { padding: 44px 0 36px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: none; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .calc, .two-col, .band { grid-template-columns: 1fr; }
  .band { padding: 36px 28px; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .cat-nav { top: 58px; }

  /* Pricing table → stacked cards */
  .table-wrap { background: transparent; border: none; border-radius: 0; overflow: visible; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody { display: block; }
  .price-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 12px;
  }
  .price-table tbody tr[hidden] { display: none; }
  .price-table td { display: block; padding: 0; border: none; min-width: 0; }
  .price-table .spec b { white-space: normal; }
  .price-table th:nth-child(4), .price-table td:nth-child(4) { display: block; }
  .price-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--muted); margin-bottom: 4px;
  }
  .price-table td.cell-name { grid-column: 1 / -1; }
  .price-table td.rate { text-align: left; }
  .price-table td.row-cta { grid-column: 1 / -1; text-align: left; }
  .price-table td.row-cta .btn { width: 100%; }
  .price-table tbody tr:hover { background: var(--surface); }
}

@media (max-width: 600px) {
  .hw-visual { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hw-tile { padding: 14px; }
  .hw-tile svg { height: 54px; }
  .feature-grid, .products { grid-template-columns: 1fr; }
  .panel { padding: 22px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .controls { flex-direction: column; align-items: stretch; }
  .controls .control-group { width: 100%; }
  .seg { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .strip-item { padding: 20px 16px; }
  .strip-item strong { font-size: 1.25rem; }
  .term { font-size: 0.72rem; }
  .band { padding: 28px 20px; }
  .quote-fab { right: 16px; bottom: 16px; padding: 12px 16px; }
  .list-table td + td, .list-table th + th { padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-blink, .quote-fab.bump { animation: none; }
  .drawer { transition: none; }
}

/* ============= UTILITIES ============= */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
#c-usage { transition: opacity .2s ease; }
#c-usage.is-disabled { opacity: 0.4; }
#c-usage-note { margin: -6px 0 20px; }
.svc-list { border: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 2px 0; }
.svc-list legend { margin-bottom: 6px; }
.svc-list label { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--text); cursor: pointer; }
.svc-list input { accent-color: var(--gold); width: 16px; height: 16px; }
.gpu-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.spec b { white-space: nowrap; }
.row-cta .btn { white-space: nowrap; }
.price-table th, .price-table td { padding-left: 16px; padding-right: 16px; }
@media (max-width: 1200px) and (min-width: 961px) {
  .price-table th:nth-child(4), .price-table td:nth-child(4) { display: none; }
}
.quote-fab[hidden] { display: none; }
.drawer-foot { max-height: 72vh; overflow-y: auto; }
@media (max-width: 600px) {
  .cat-nav { position: static; }
  .quote-fab { bottom: max(16px, env(safe-area-inset-bottom)); }
}
