/* ============================================================
   MrTsComputers.com — homepage design layer
   Loaded only by index.html, after style.css and the inline
   homepage styles, so it re-skins the front page without
   touching the dark theme used by every other page.

   System: a paper quote sheet and a printed work ticket.
   Paper, ink, one hi-vis marker. Rules instead of shadows.
   ============================================================ */

:root {
  --ink:        #101713;
  --ink-soft:   #1B241E;
  --paper:      #F1F0E8;
  --paper-2:    #E5E6D9;
  --hi:         #D2F04A;
  --signal:     #C9512A;
  --graphite:   #4B544D;
  --rule:       #C9CCB9;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --radius: 2px;
  --max-w: 1180px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--hi); color: var(--ink); }

a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { color: var(--signal); text-decoration: underline; }

.container { max-width: var(--max-w); }

/* ── Nav: paper, hairline, no glow ─────────────────────────── */
#site-nav {
  background: rgba(241, 240, 232, .94);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: blur(8px);
}
.nav-brand { color: var(--ink); font-family: var(--font); font-weight: 800; letter-spacing: -.02em; }
.nav-brand .accent { color: var(--signal); }
.nav-links-wrap > a,
.nav-dropdown-toggle { color: var(--ink) !important; font-weight: 600; }
.nav-links-wrap > a:hover { color: var(--signal) !important; }
.nav-cta {
  background: var(--ink) !important; color: var(--paper) !important;
  border-radius: var(--radius); font-weight: 700; padding: .45rem 1rem !important;
}
.nav-cta:hover { background: var(--signal) !important; }
#nav-search-input {
  background: transparent; border: 1px solid var(--rule); border-radius: var(--radius);
  color: var(--ink);
}
#nav-search-input::placeholder { color: var(--graphite); }
.nav-hamburger { color: var(--ink); }

/* ── Type ──────────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--paper-2); }

.section-title {
  display: block; color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800;
  letter-spacing: -.028em; line-height: 1.05; margin-bottom: .65rem;
}
.section-title::after {
  content: ''; display: block; width: 44px; height: 3px;
  background: var(--ink); margin-top: .85rem;
}
.section-subtitle {
  color: var(--graphite); font-size: 1.02rem; line-height: 1.65;
  max-width: 60ch; margin-bottom: 2.25rem;
}
.tag {
  background: var(--hi); color: var(--ink); border: 1px solid var(--ink);
  border-radius: var(--radius); font-family: var(--mono);
  font-size: .72rem; letter-spacing: .02em; text-transform: none;
  padding: .3rem .55rem; font-weight: 500;
}
.badge {
  background: var(--ink); color: var(--hi); border-radius: var(--radius);
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
}

/* ── Buttons: one loud, one quiet ──────────────────────────── */
.btn {
  border-radius: var(--radius); font-weight: 700; letter-spacing: -.01em;
  border-width: 1px; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary {
  background: var(--hi); color: var(--ink); border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-primary:hover {
  background: var(--ink); color: var(--hi); border-color: var(--ink);
  box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-outline:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }
.btn-sm { box-shadow: none; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 0; background: var(--paper);
  position: relative; text-align: left; overflow: visible;
}
.hero::before { display: none; }
.hero p { text-align: left; }
.hero h1 em { color: var(--ink); }
.hero-btns { justify-content: flex-start; }
.hero .tag {
  display: inline-block; font-family: var(--mono); font-size: .72rem;
  font-weight: 500; line-height: 1.4; max-width: none; margin: 0 0 1rem;
  color: var(--ink);
}
.hero .hero-copy {
  color: var(--graphite); font-size: 1.06rem; line-height: 1.68;
  max-width: 52ch; margin: 0 0 1.6rem; text-align: left;
}
.hero .hero-copy strong { color: var(--ink); }
.hero .hero-note {
  font-family: var(--mono); font-size: .76rem; color: var(--graphite);
  margin: 1rem 0 0; max-width: none; text-align: left;
}
.hero-grid {
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.ticket { align-self: center; }
.hero h1 {
  color: var(--ink); font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  line-height: .97; letter-spacing: -.038em; font-weight: 800;
  margin: 1rem 0 1.1rem; max-width: 16ch;
}
.hero h1 em {
  font-style: normal; color: var(--ink);
  background: linear-gradient(transparent 58%, var(--hi) 58%, var(--hi) 94%, transparent 94%);
  padding: 0 .08em;
}
.hero > .container > p,
.hero-copy {
  color: var(--graphite); font-size: 1.06rem; line-height: 1.68;
  max-width: 52ch; margin-bottom: 1.6rem;
}
.hero-copy strong { color: var(--ink); }
.hero-btns { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.hero-note {
  font-family: var(--mono); font-size: .76rem; color: var(--graphite);
  margin-top: 1rem; letter-spacing: .01em;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.hero-stat { padding: 1rem 1rem 1rem 0; border-left: 1px solid var(--rule); padding-left: 1rem; text-align: left; }
.hero-stat:first-child { border-left: 0; padding-left: 0; }
.hero-stat .number {
  font-family: var(--mono); font-size: 1.15rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em;
}
.hero-stat .label { color: var(--graphite); font-size: .79rem; line-height: 1.4; margin-top: .3rem; }

/* ── The work ticket (hero visual) ─────────────────────────── */
.ticket {
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.35rem;
  position: relative; box-shadow: 6px 6px 0 var(--paper-2);
  border: 1px solid var(--ink);
}
.ticket-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; padding-bottom: .9rem; border-bottom: 1px dashed rgba(241,240,232,.35);
}
.ticket-kicker {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(241,240,232,.62);
}
.ticket-no { font-family: var(--mono); font-size: .78rem; color: var(--hi); }
.ticket-title {
  font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em;
  margin: .55rem 0 .15rem; color: var(--paper);
}
.ticket-sub { font-family: var(--mono); font-size: .74rem; color: rgba(241,240,232,.6); }
.ticket-fields { margin: .95rem 0 .6rem; display: grid; gap: .55rem; }
.ticket-field {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .78rem;
  padding-bottom: .5rem; border-bottom: 1px solid rgba(241,240,232,.14);
}
.ticket-field span:first-child { color: rgba(241,240,232,.55); }
.ticket-field span:last-child { color: var(--paper); text-align: right; }
.ticket-attach {
  font-family: var(--mono); font-size: .74rem; color: var(--hi);
  display: flex; align-items: center; gap: .4rem; margin-top: .3rem;
}
.ticket-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; margin-top: 1rem; padding-top: .85rem;
  border-top: 1px dashed rgba(241,240,232,.35);
}
.ticket-stamp {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em;
  border: 1px solid var(--hi); color: var(--hi);
  padding: .3rem .5rem; border-radius: var(--radius); text-transform: uppercase;
}
.ticket-inbox { font-family: var(--mono); font-size: .7rem; color: rgba(241,240,232,.6); }

/* ── The price sheet ───────────────────────────────────────── */
.sheet {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.sheet-row {
  display: grid; grid-template-columns: 1.3fr 1.9fr 9rem 9.5rem;
  gap: 1rem; align-items: center;
  padding: 1.15rem 0; border-bottom: 1px solid var(--rule);
}
.sheet-row:last-child { border-bottom: 0; }
.sheet-head {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--graphite);
  padding: .7rem 0; border-bottom: 1px solid var(--ink);
}
.sheet-row.feature { background: linear-gradient(90deg, rgba(210,240,74,.28), transparent 62%); }
.sheet-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -.015em; }
.sheet-name .flag {
  display: inline-block; font-family: var(--mono); font-size: .64rem;
  background: var(--ink); color: var(--hi); padding: .12rem .35rem;
  border-radius: var(--radius); margin-left: .45rem; vertical-align: 2px;
  letter-spacing: .05em;
}
.sheet-what { color: var(--graphite); font-size: .87rem; line-height: 1.55; }
.sheet-price { font-family: var(--mono); font-size: 1.12rem; font-weight: 600; }
.sheet-price small {
  display: block; font-family: var(--mono); font-size: .68rem;
  color: var(--graphite); font-weight: 400; margin-top: .15rem;
}
.sheet-buy { text-align: right; }
.sheet-buy .btn { white-space: nowrap; }
.sheet-note {
  font-family: var(--mono); font-size: .72rem; color: var(--graphite);
  margin-top: 1.1rem; line-height: 1.7; max-width: 72ch;
}

/* ── Problem / solution ────────────────────────────────────── */
.lsp-compare { gap: 1.25rem; }
.lsp-col {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: none;
}
.lsp-col.bad { border-top: 3px solid var(--signal); }
.lsp-col.good { border-top: 3px solid var(--ink); }
.lsp-col h3 { color: var(--ink); font-size: .82rem; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.lsp-list li {
  color: var(--graphite); border-bottom: 1px solid var(--rule);
  font-size: .92rem; line-height: 1.55; padding: .7rem 0;
}
.lsp-list li strong { color: var(--ink); }
.lsp-list li .ico { filter: grayscale(1); opacity: .55; font-size: .95rem; }

/* ── Chips ─────────────────────────────────────────────────── */
.lsp-chips { gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.lsp-chip {
  background: var(--paper); border: 0; border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule); border-radius: 0;
  color: var(--ink); font-weight: 600; font-size: .92rem;
  padding: .95rem 1rem; transition: background .15s;
}
.lsp-chip:hover { background: var(--hi); border-color: var(--rule); transform: none; box-shadow: none; text-decoration: none; color: var(--ink); }
.lsp-chip.more { background: var(--ink); color: var(--hi); border-color: var(--ink); }
.lsp-chip.more:hover { background: var(--ink-soft); color: var(--hi); }

/* ── Flagship offer ────────────────────────────────────────── */
.lsp-offer {
  background: var(--ink); border: 1px solid var(--ink);
  border-radius: var(--radius); box-shadow: none;
  padding: clamp(1.5rem, 3vw, 2.25rem); gap: clamp(1.5rem, 3vw, 2.25rem);
}
.lsp-offer h3 { color: var(--paper); letter-spacing: -.028em; }
.lsp-offer-main > p { color: rgba(241,240,232,.72); }
.lsp-offer .lsp-list li { color: rgba(241,240,232,.7); border-bottom-color: rgba(241,240,232,.13); }
.lsp-offer .lsp-list li strong { color: var(--paper) !important; }
.lsp-offer .btn-ghost { color: var(--paper); border-color: rgba(241,240,232,.45); }
.lsp-offer .btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.lsp-price-panel {
  background: var(--paper); border: 1px solid var(--paper);
  border-radius: var(--radius); text-align: left; padding: 1.4rem 1.35rem;
}
.lsp-anchor {
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  border-radius: 0; text-align: left; color: var(--graphite);
  font-family: var(--mono); font-size: .74rem; line-height: 1.6;
  padding: 0 0 .75rem; margin-bottom: .9rem;
}
.lsp-anchor strong { color: var(--ink); }
.lsp-price { color: var(--ink); font-family: var(--mono); font-size: 2.6rem; letter-spacing: -.045em; }
.lsp-price small { color: var(--graphite); font-family: var(--mono); font-size: .7rem; letter-spacing: .01em; text-transform: none; }
.lsp-coupon {
  background: var(--hi); border: 0; color: var(--ink);
  border-radius: var(--radius); font-family: var(--mono);
  font-size: .74rem; font-weight: 500;
}
.lsp-fine { color: var(--graphite); font-family: var(--mono); font-size: .72rem; }
.lsp-diy { color: var(--graphite); font-size: .78rem; }
.lsp-diy strong { color: var(--ink); }

/* ── Steps (a real sequence) ───────────────────────────────── */
.lsp-steps { gap: 0; border-top: 1px solid var(--ink); }
.lsp-step {
  background: transparent; border: 0; border-right: 1px solid var(--rule);
  border-radius: 0; padding: 1.35rem 1.35rem 1.5rem 0; gap: .55rem;
}
.lsp-step:last-child { border-right: 0; }
.lsp-step:not(:first-child) { padding-left: 1.35rem; }
.lsp-step:hover { border-color: var(--rule); transform: none; }
.lsp-step .step-num {
  width: 2rem; height: 2rem; border-radius: var(--radius);
  background: var(--hi); color: var(--ink); border: 1px solid var(--ink);
  display: grid; place-items: center; font-family: var(--mono);
  font-size: .85rem; font-weight: 600; margin-bottom: .35rem;
}
.lsp-step h4 { color: var(--ink); font-size: 1rem; }
.lsp-step p { color: var(--graphite); font-size: .87rem; }

/* ── Builder ───────────────────────────────────────────────── */
.lsp-builder {
  background: var(--paper); border: 1px solid var(--ink);
  border-radius: var(--radius); padding: 1.9rem;
}
.lsp-builder-mark {
  border-radius: var(--radius); background: var(--ink); color: var(--hi);
  box-shadow: 4px 4px 0 var(--hi); font-family: var(--mono);
  font-size: 1.5rem; letter-spacing: -.02em;
}
.lsp-builder p { color: var(--graphite); }
.lsp-builder p strong { color: var(--ink); }
.lsp-builder-list span { color: var(--graphite); font-family: var(--mono); font-size: .74rem; }
.lsp-builder a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); }

/* ── Accordion ─────────────────────────────────────────────── */
.accordion {
  background: transparent; border: 0; border-top: 1px solid var(--ink);
  border-radius: 0;
}
.accordion + .accordion { border-top: 1px solid var(--rule); }
.acc-header { padding: 1.15rem .25rem; }
.acc-header h4 { color: var(--ink); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.acc-arrow { color: var(--graphite); font-family: var(--mono); font-size: .7rem; }
.acc-body { color: var(--graphite); font-size: .93rem; line-height: 1.7; }
.acc-body a { color: var(--ink); }

/* ── CTA band ──────────────────────────────────────────────── */
.lsp-cta {
  background: var(--ink); border: 1px solid var(--ink); color: var(--paper);
  border-radius: var(--radius); text-align: left;
  padding: clamp(2rem, 5vw, 3.25rem);
}
.lsp-cta::before { display: none; }
.lsp-cta h2 { color: var(--paper); letter-spacing: -.035em; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.lsp-cta p { color: rgba(241,240,232,.72); margin: 0 0 1.6rem; max-width: 54ch; }
.lsp-cta .btn-ghost { color: var(--paper); border-color: rgba(241,240,232,.45); }
.lsp-cta .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.lsp-cta .lsp-fine { color: rgba(241,240,232,.6); }
.lsp-cta .lsp-fine strong { color: var(--hi); }

/* ── Newsletter ────────────────────────────────────────────── */
.newsletter-strip {
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 1.6rem;
}
.newsletter-strip h3 { color: var(--ink); }
.newsletter-strip p { color: var(--graphite); }
.form-control {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); color: var(--ink);
}
.form-control::placeholder { color: var(--graphite); opacity: .8; }
.form-control:focus { border-color: var(--ink); outline: 2px solid var(--hi); outline-offset: 1px; }

/* ── Blog cards ────────────────────────────────────────────── */
.card, .blog-card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: none;
}
.card:hover, .blog-card:hover {
  border-color: var(--ink); transform: none; box-shadow: none;
}
.blog-thumb {
  background: var(--paper-2); border-bottom: 1px solid var(--rule);
  filter: grayscale(1);
}
.blog-title { color: var(--ink); font-weight: 700; }
.blog-excerpt, .blog-meta, .card p { color: var(--graphite); }
.card h3, .card-icon { color: var(--ink); }
.blog-card .btn-ghost { color: var(--ink); border-color: var(--rule); }
.blog-card .btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ── Contact form panel ────────────────────────────────────── */
.admin-panel {
  background: var(--paper); border: 1px solid var(--ink);
  border-radius: var(--radius); padding: 1.6rem;
}
.admin-panel label { color: var(--ink); font-weight: 600; }

/* ── Footer: the back of the sheet ─────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(241,240,232,.7);
  border-top: 0; margin-top: 0;
}
.site-footer h5 {
  color: var(--paper); font-family: var(--mono); font-size: .72rem;
  letter-spacing: .09em; text-transform: uppercase;
}
.site-footer a { color: rgba(241,240,232,.72); }
.site-footer a:hover { color: var(--hi); }
.footer-brand p { color: rgba(241,240,232,.62); }
.footer-bottom {
  border-top: 1px solid rgba(241,240,232,.16);
  color: rgba(241,240,232,.55);
}
.footer-brand > div:first-child { color: var(--paper) !important; }
.footer-brand > div:first-child span { color: var(--hi) !important; }

/* ── Cookie consent: a note clipped to the sheet ──────────── */
#cookie-banner {
  left: 1rem; right: auto; bottom: 1rem; top: auto;
  width: auto; max-width: 430px;
  background: var(--paper); border: 1px solid var(--ink);
  border-radius: var(--radius); color: var(--ink);
  box-shadow: 5px 5px 0 rgba(16, 23, 19, .14);
  padding: 1rem 1.05rem; z-index: 500;
}
#cookie-banner p { color: var(--graphite); font-size: .84rem; line-height: 1.6; margin-bottom: .8rem; }
#cookie-banner a { color: var(--ink); text-decoration: underline; }
.cookie-btns { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ── Focus, responsive ─────────────────────────────────────── */
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--signal); outline-offset: 2px;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ticket { max-width: 520px; }
  .sheet-row { grid-template-columns: 1.2fr 1.8fr 7rem; }
  .sheet-buy { display: none; }
}

@media (max-width: 760px) {
  .hero h1 { max-width: none; }
  #cookie-banner { left: .6rem; right: .6rem; max-width: none; bottom: .6rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .sheet-row { grid-template-columns: 1fr; gap: .35rem; padding: 1.25rem 0; }
  .sheet-head { display: none; }
  .sheet-buy { display: block; text-align: left; margin-top: .5rem; }
  .lsp-steps { border-top: 0; }
  .lsp-step { border-right: 0; border-top: 1px solid var(--rule); padding: 1.25rem 0; }
  .lsp-step:not(:first-child) { padding-left: 0; }
}

@media (max-width: 480px) {
  .nav-brand { font-size: 1.05rem !important; }
  .tag { letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ── Services: the rest of the shop ────────────────────────── */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink); border-left: 1px solid var(--rule);
}
.svc {
  display: flex; flex-direction: column; gap: .45rem;
  padding: 1.4rem 1.35rem 1.5rem; border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule); color: var(--ink);
  text-decoration: none; background: var(--paper);
  transition: background .15s;
}
.svc:hover { background: var(--paper-2); text-decoration: none; color: var(--ink); }
.svc:hover .svc-name { text-decoration: underline; text-decoration-color: var(--signal); }
.svc-kicker {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--graphite);
}
.svc-name { font-size: 1.08rem; font-weight: 700; letter-spacing: -.018em; }
.svc-what { color: var(--graphite); font-size: .86rem; line-height: 1.55; flex: 1; }

/* Bundle framing: one builder, the whole stack */
.stackband { background: var(--ink); color: var(--paper); }
.stackband .container { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.stackband-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.stackband h2 {
  color: var(--paper); font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  letter-spacing: -.032em; line-height: 1.08; margin-bottom: .8rem;
}
.stackband p { color: rgba(241, 240, 232, .74); line-height: 1.7; max-width: 58ch; }
.stackband .btn-ghost { color: var(--paper); border-color: rgba(241, 240, 232, .45); }
.stackband .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.stackband-note { font-family: var(--mono); font-size: .72rem; color: rgba(241, 240, 232, .55); margin-top: .8rem; }

@media (max-width: 960px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .stackband-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* Hero: the demo is a link, not a third button */
.hero-demo {
  display: inline-block; margin-top: .55rem;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .01em;
  color: var(--graphite); text-decoration: underline;
  text-decoration-color: var(--rule); text-underline-offset: 3px;
}
.hero-demo:hover { color: var(--ink); text-decoration-color: var(--signal); }

/* Trade chips: one readable column on a phone */
@media (max-width: 520px) {
  .lsp-chips { grid-template-columns: 1fr !important; }
}

.stackband .stackband-items {
  font-family: var(--mono); font-size: .76rem; line-height: 1.7;
  color: rgba(241, 240, 232, .8); margin-top: .7rem;
}

/* Fee details get a readable size on a phone */
@media (max-width: 620px) {
  .sheet-note { font-size: .8rem; line-height: 1.65; }
}

/* Narrow phones: brand, a compact search field and the menu button share one row */
@media (max-width: 560px) {
  #site-nav .nav-inner { gap: .45rem; padding: 0 .75rem; }
  #site-nav .nav-brand {
    font-size: 1rem !important; gap: .3rem; flex: 0 0 auto;
    white-space: nowrap;
  }
  #site-nav .nav-search-wrap {
    display: flex !important; flex: 1 1 auto; min-width: 0;
  }
  #site-nav .nav-search-wrap input {
    width: 100%; min-width: 0; padding: .3rem .55rem; font-size: .78rem;
  }
  #site-nav .nav-hamburger { flex: 0 0 auto; font-size: 1.35rem; padding: 0 .1rem; }
}

/* Below 340px the search field cannot share the row without clipping the brand */
@media (max-width: 340px) {
  #site-nav .nav-search-wrap { display: none !important; }
}
