/* Model pages (page-model.php). Base = the Toughbook 34/56 landing page style. */
  /* Tough Outlet house style (matches toughoutlet.com / FZ-55 page):
     white page, Poppins headings + Istok Web text, blue gradient pill actions,
     orange price pills, dark bands only for the hero and Rugged Performance. */
  :root {
    --ink: #212529;
    --muted: #6c757d;
    --line: #dee2e6;
    --soft: #f4f5f7;
    --white: #ffffff;
    --blue: #007bff;
    --blue2: #00b7ff;
    --blue-text: #0062cc;
    --orange: #d07303;
    --band: #15171b;
    --band2: #1e2023;
    --band-line: #2e3238;
    --band-muted: #a7afbc;
    --head: 'Poppins', 'Poppins Fallback', Helvetica, Arial, sans-serif;
    --body: 'Istok Web', 'Istok Fallback', Helvetica, Arial, sans-serif;
  }
  * { box-sizing: border-box; }
  body { font-family: var(--body); background: var(--white); color: var(--ink); line-height: 1.6; margin: 0; }
  h1, h2, h3, h4 { font-family: var(--head); }
  a { color: var(--blue); }
  img { max-width: 100%; }
  .poppins-fam { font-family: var(--head); }
  .font-600 { font-weight: 600; }

  /* Buttons (site: .buynowbutton-v3) */
  .to-pill { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .3px; line-height: 1.2; padding: 13px 30px; border-radius: 50rem; border: 0; text-decoration: none; color: #fff; background: linear-gradient(90deg, var(--blue) 0%, var(--blue2) 100%); text-shadow: 0 1px 1px rgba(0,0,0,.35); box-shadow: 2px 2px var(--line); transition: filter .15s, box-shadow .15s; }
  .to-pill:hover { color: #fff; text-decoration: none; filter: brightness(1.06); }
  .to-pill:focus-visible { outline: 3px solid var(--blue2); outline-offset: 3px; }
  .to-pill.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); text-shadow: none; }
  .to-pill.ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
  .to-pill.orange { background: var(--orange); text-shadow: 0 1px 1px rgba(84,46,0,.6); }
  .to-pill.white { background: #fff; color: var(--blue-text); text-shadow: none; box-shadow: none; }
  .to-pill.on-dark { box-shadow: none; }
  .span-price { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 1.1em; color: #fff; background: var(--orange); padding: .1rem .6rem; border-radius: 50rem; text-shadow: 1px 1px 1px #542e00; }

  /* Sticky dark sub-bar (site: "Starts at" bar) */
  .subbar { position: sticky; top: 0; z-index: 100; background: var(--band2); border-bottom: 1px solid #000; }
  .subbar-in { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
  .subbar-price { color: #fff; white-space: nowrap; font-size: 13px; }
  .subbar-price span { color: var(--band-muted); }
  .subbar-price b { font-family: var(--head); font-size: 18px; font-weight: 600; margin-left: 4px; }
  .subbar-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .subbar-links::-webkit-scrollbar { display: none; }
  .subbar-links a { white-space: nowrap; color: #4da8ff; font-size: 14px; padding: 5px 12px; border-radius: 50rem; text-decoration: none; }
  .subbar-links a:hover { color: #fff; }
  .subbar-links a.is-main { background: #fff; color: var(--ink); }

  /* Layout */
  .section { max-width: 1140px; margin: 0 auto; padding-block: 64px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .band-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .band-dark { background: var(--band); color: #fff; }
  .section-title { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.2; margin: 0 0 8px; text-wrap: balance; color: var(--ink); }
  .section-title span { color: var(--blue); }
  .band-dark .section-title { color: #fff; }
  .band-dark .section-title span { color: var(--blue2); }
  .section-lead { color: var(--muted); max-width: 62ch; margin: 0 0 32px; font-size: 15px; }
  .band-dark .section-lead { color: var(--band-muted); }
  .section-line { display: none; }

  /* Breadcrumb + hero (dark band) */
  .crumbs { max-width: 1140px; margin: 0 auto; padding: 18px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
  .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 13px; color: var(--band-muted); }
  .crumbs li + li::before { content: "›"; margin-right: 6px; }
  .crumbs a { color: var(--band-muted); }
  .hero { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 36px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); }
  .hero-content { min-width: 0; }
  .hero-badge { display: inline-block; background: var(--orange); color: #fff; font-family: var(--head); font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 50rem; margin-bottom: 18px; text-shadow: 1px 1px 1px #542e00; }
  .hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; line-height: 1.02; margin: 0 0 12px; color: #fff; letter-spacing: -.5px; }
  .hero h1 .pre { display: block; font-size: 18px; font-weight: 600; letter-spacing: 1px; color: var(--band-muted); margin-bottom: 6px; text-transform: uppercase; }
  .hero h1 span:not(.pre) { color: var(--blue2); }
  .hero-subtitle { font-family: var(--head); font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 14px; }
  .hero-desc { color: #c3cad6; font-size: 15px; max-width: 58ch; margin: 0 0 22px; }
  .hero-price { color: #c3cad6; margin-bottom: 24px; font-size: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .hero-price .span-price { font-size: 30px; line-height: 1.15; padding: .15rem .95rem; font-weight: 700; }
  .hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-image img { width: 100%; height: auto; display: block; }

  /* Trust tiles (site photo tiles) */
  .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1440px; margin: 0 auto; }
  .tile { position: relative; overflow: hidden; border-radius: 4.8px; min-height: 180px; padding: 34px 28px; color: #fff; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: center; }
  .tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,16,.72) 0%, rgba(10,12,16,.35) 100%); }
  .tile > * { position: relative; }
  .tile h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: #fff; }
  .tile p { margin: 0; font-size: 14px; color: #e3e7ee; max-width: 30ch; }
  .tiles-wrap { background: #fff; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-top: 40px; }
  .tiles-wrap + .tbf { padding-top: 48px; }
  /* White behind the trust tiles (Brian, Oct 18): when a gray section follows, leave white space before it so the gray doesn't start flush against the tiles. */
  .tiles-wrap + .band-soft, .tiles-wrap + .tbf, .tiles-wrap + .home-promo-wrap { margin-top: 40px; }

  /* Quick Quote band (site: blue gradient banner) */
  .qq-band { background: linear-gradient(90deg, var(--blue) 0%, var(--blue2) 100%); color: #fff; }
  .qq-in { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 30px max(16px, env(safe-area-inset-right, 0px)) 30px max(16px, env(safe-area-inset-left, 0px)); }
  .qq-in h2 { font-size: 22px; font-weight: 700; margin: 0 0 4px; color: #fff; }
  .qq-in p { margin: 0; color: #eaf4ff; font-size: 15px; max-width: 60ch; }
  .qq-actions { display: flex; flex-wrap: wrap; gap: 12px; }

  /* Feature cards */
  .features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .feature-card { background: #fff; border: 1px solid var(--line); border-radius: 4.8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); padding: 22px 20px; }
  .feature-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
  .feature-card p { font-size: 14px; color: #495057; margin: 0; }

  /* Rugged (dark band) */
  .rugged-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .rugged-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rugged-card { background: var(--band2); border: 1px solid var(--band-line); border-radius: 4.8px; padding: 26px 24px; }
  .badge-num { font-family: var(--head); font-size: 40px; font-weight: 800; line-height: 1; color: var(--blue2); margin-bottom: 12px; }
  .rugged-card h3 { font-size: 17px; margin: 0 0 6px; color: #fff; }
  .rugged-card p { font-size: 14px; color: var(--band-muted); margin: 0; }

  /* Gallery (light) */
  .pgal { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 24px; align-items: start; }
  .pgal-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 620px; }
  .pgal-nav { background: none; border: 0; color: var(--ink); cursor: pointer; padding: 4px; line-height: 0; }
  .pgal-nav:hover { color: var(--blue); }
  .pgal-nav svg { width: 28px; height: 28px; }
  .pgal-thumbs { position: relative; flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: none; padding: 2px; }
  .pgal-thumbs::-webkit-scrollbar { display: none; }
  .pgal-thumb { flex: 0 0 auto; width: 96px; height: 96px; background: #fff; border: 2px solid var(--line); border-radius: 4.8px; padding: 4px; cursor: pointer; margin: 0 auto; }
  .pgal-thumb img { width: 100%; height: 100%; object-fit: contain; }
  .pgal-thumb:hover { border-color: #b8c2cc; }
  .pgal-thumb[aria-current="true"] { border-color: var(--blue); }
  .pgal-stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 4.8px; height: 620px; display: flex; align-items: center; justify-content: center; padding: 24px; }
  .pgal-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
  .pgal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(33,37,41,.72); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .pgal-arrow:hover { background: linear-gradient(90deg, var(--blue), var(--blue2)); }
  .pgal-arrow svg { width: 22px; height: 22px; }
  .pgal-prev { left: 14px; } .pgal-next { right: 14px; }
  .pgal-count { position: absolute; right: 14px; bottom: 12px; background: rgba(33,37,41,.72); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 50rem; }
  .pgal-cap { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

  /* Specs */
  .specs-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 4.8px; overflow: hidden; }
  .specs-table th { font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--ink); width: 210px; vertical-align: top; padding: 14px 20px; text-align: left; }
  .specs-table td { padding: 14px 20px; font-size: 14px; color: #495057; }
  .specs-table tr { border-bottom: 1px solid var(--line); }
  .specs-table tr:last-child { border-bottom: 0; }
  .specs-table tr:nth-child(even) th, .specs-table tr:nth-child(even) td { background: #f8f9fa; }
  .note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.7; }

  /* Industries */
  .chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
  .chips li { background: #fff; border: 1px solid var(--line); border-radius: 50rem; padding: 9px 18px; font-size: 14px; font-family: var(--head); font-weight: 500; }

  /* Downloads */
  .resources-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .resource-link { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 4.8px; padding: 14px 16px; font-family: var(--head); font-weight: 500; font-size: 14px; color: var(--ink); text-decoration: none; }
  .resource-link:hover { border-color: var(--blue); color: var(--blue-text); text-decoration: none; }
  .resource-link svg { flex: none; color: var(--blue); }
  .resource-link.is-soon, .resource-link.is-soon:hover { color: var(--muted, #6b7280); border-color: var(--line); cursor: default; }
  .resource-link.is-soon svg { color: currentColor; opacity: .6; }
  .resource-link.is-soon em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #6b7280); }

  /* FAQ */
  .faq details { background: #fff; border: 1px solid var(--line); border-radius: 4.8px; margin-bottom: 10px; }
  .faq details[open], .faq details:hover { border-color: #b8c2cc; }
  .faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-family: var(--head); font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
  .faq details[open] summary::after { content: "–"; }
  .faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
  .faq details p { padding: 0 20px 16px; margin: 0; font-size: 14px; color: #495057; line-height: 1.75; }

  /* More models */
  .compare-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .compare-card { background: #fff; border: 1px solid var(--line); border-radius: 4.8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
  .compare-card h3 { font-size: 16px; margin: 0; }
  .compare-card h3 a { color: var(--ink); text-decoration: none; }
  .compare-card p { font-size: 14px; color: #495057; margin: 0; flex: 1; }
  .compare-card .more { font-family: var(--head); font-weight: 600; font-size: 13px; text-decoration: none; }

  /* Closing CTA */
  .cta-band { background: linear-gradient(90deg, var(--blue) 0%, var(--blue2) 100%); color: #fff; text-align: center; }
  .cta-in { max-width: 760px; margin: 0 auto; padding: 56px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px)); }
  .cta-in h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); font-weight: 700; margin: 0 0 10px; }
  .cta-in p { color: #eaf4ff; margin: 0 0 24px; }
  .cta-in .qq-actions { justify-content: center; }

  /* Footer (site footer) */
  .site-footer { background: var(--band2); color: #fff; font-size: 14px; }
  .footer-in { max-width: 1140px; margin: 0 auto; padding: 48px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); }
  .footer-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .footer-cols h4 { font-size: 15px; font-weight: 700; margin: 0 0 10px; color: #fff; }
  .footer-cols ul { list-style: none; margin: 0; padding: 0; }
  .footer-cols li { margin: 0 0 4px; line-height: 1.4; }
  .footer-cols a, .footer-cols span { color: #a9b0bb; text-decoration: none; font-size: 13px; }
  .footer-cols a:hover { color: #fff; }
  .footer-legal { margin-top: 36px; font-size: 13px; color: #a9b0bb; }
  .footer-legal a { color: #4da8ff; }
  .footer-legal em { display: block; margin-top: 10px; }
  .footer-copy { margin-top: 18px; font-family: var(--head); color: #fff; }

  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

  @media (max-width: 991px) {
    .features-grid, .resources-grid, .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rugged-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rugged-grid.five .rugged-card:last-child { grid-column: 1 / -1; }
    .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 768px) {
    .tiles { gap: 10px; }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
    .hero-image { order: -1; max-width: 420px; }
    .tiles, .rugged-grid { grid-template-columns: minmax(0, 1fr); }
    .rugged-grid.five { grid-template-columns: minmax(0, 1fr); }
    .tile { min-height: 140px; }
    .pgal { grid-template-columns: minmax(0, 1fr); }
    .pgal-rail { order: 2; flex-direction: row; height: auto; }
    .pgal-thumbs { flex-direction: row; overflow-x: auto; overflow-y: hidden; }
    .pgal-thumb { width: 72px; height: 72px; }
    .pgal-nav svg { transform: rotate(-90deg); }
    .pgal-stage { height: auto; aspect-ratio: 1 / 1; padding: 12px; }
    .pgal-arrow { width: 38px; height: 38px; }
    .specs-table th { width: 120px; }
    .subbar-price span { display: none; }
    .section { padding-block: 48px; }
  }
  @media (max-width: 520px) {
    .tile { min-height: 0; padding: 18px 20px; }
    .tile p { max-width: none; }
    .features-grid, .resources-grid, .compare-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .specs-table th, .specs-table td { display: block; width: 100%; }
    .specs-table th { padding-bottom: 0; }
    .subbar-price { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
  html { scroll-behavior: smooth; scroll-padding-top: 60px; }

  /* All models grid */
  .models-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  @media (max-width: 991px) { .models-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .model-card img { width: 110px; height: 82px; } .model-card h3 { font-size: 14px; } }
  .model-card { display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 4.8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); padding: 16px 14px 14px; text-align: center; text-decoration: none; color: var(--ink); }
  .model-card:hover { border-color: var(--blue); text-decoration: none; color: var(--ink); }
  .model-card img { width: 140px; max-width: 100%; height: 105px; object-fit: contain; }
  .model-card h3 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.3; }
  .model-card .more { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--blue); }
  .model-card.text-only { justify-content: center; min-height: 196px; }

  /* Quick Quote modal (matches the site's modal) */
  .qq-modal { border: 0; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: 0 1rem 3rem rgba(0,0,0,.35); }
  .qq-modal::backdrop { background: rgba(0,0,0,.7); }
  .qq-modal-in { position: relative; padding: 28px 30px 30px; }
  .qq-modal h2 { font-size: 28px; font-weight: 700; text-align: center; margin: 0; }
  .qq-modal .qq-sub { text-align: center; font-size: 13px; color: var(--muted); margin: 2px 0 18px; }
  .qq-close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font-size: 28px; line-height: 1; color: #8e8e8e; cursor: pointer; }
  .qq-close:hover { color: var(--ink); }
  .qq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .qq-grid .qq-qty { grid-column: span 1; }
  .qq-field { display: grid; gap: 4px; min-width: 0; }
  .qq-field.full { grid-column: 1 / -1; }
  .qq-field label { font-size: 13px; font-weight: 700; margin: 0; }
  .qq-field input, .qq-field textarea { width: 100%; font: inherit; font-size: 15px; border: 1px solid var(--orange); border-radius: 4px; padding: 7px 12px; color: var(--ink); background: #fff; }
  .qq-field input:focus, .qq-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
  .qq-field textarea { min-height: 72px; resize: vertical; }
  .qq-row2 { display: grid; grid-template-columns: 90px 1fr; gap: 16px; grid-column: 1 / -1; }
  .qq-submit { grid-column: 1 / -1; width: 100%; margin-top: 6px; font-size: 15px; padding: 14px; cursor: pointer; }
  @media (max-width: 520px) { .qq-grid { grid-template-columns: 1fr; } .qq-modal-in { padding: 24px 18px 22px; } .qq-modal h2 { font-size: 24px; } }

  /* ===== Model page additions (tiers, generations, specials, ports, services) ===== */
  .to-model-page { margin: 0; }
  .hero-notice { margin: 18px 0 0; font-size: 13px; color: var(--band-muted); max-width: 52ch; line-height: 1.6; }
  .hero-notice a { color: #8cc8ff; }
  .rugged-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .mp-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 4.8px; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; color: var(--ink); }
  .mp-name { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 700; line-height: 1.25; }
  .mp-price { font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
  .mp-price small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
  .mp-lines { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; }
  .mp-lines li { padding: 7px 0 7px 22px; border-top: 1px solid var(--line); position: relative; }
  .mp-lines li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
  .mp-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 6px; }
  .mp-go { font-family: var(--head); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: #fff !important; background: linear-gradient(90deg, var(--blue), var(--blue2)); border-radius: 50rem; padding: 11px 22px; text-decoration: none !important; text-shadow: 0 1px 1px rgba(0,0,0,.3); }
  .mp-go:hover { filter: brightness(1.08); }
  .mp-quote { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
  .mp-go:focus-visible, .mp-quote:focus-visible, .mp-gen:focus-visible, .mp-svc:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

  .mp-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
  .mp-tier.is-flagged { border: 2px solid var(--blue); box-shadow: 0 .5rem 1.25rem rgba(0,123,255,.15); }
  .mp-flag { position: absolute; top: -12px; left: 20px; font-family: var(--head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; background: var(--orange); border-radius: 50rem; padding: 5px 12px; }

  .mp-subtitle { font-family: var(--head); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 44px 0 14px; }
  .mp-gens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  a.mp-gen { text-decoration: none; gap: 6px; padding: 18px; transition: border-color .15s, box-shadow .15s; }
  a.mp-gen:hover { border-color: var(--blue); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.1); }
  .mp-mk { font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1; text-transform: lowercase; color: var(--ink); }
  .mp-cpu { font-size: 14px; font-weight: 700; color: var(--ink); }
  .mp-note { font-size: 12px; color: var(--muted); }
  .mp-gen-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
  .mp-from { font-size: 13px; color: var(--muted); }
  .mp-from b { font-family: var(--head); font-size: 20px; font-weight: 800; color: var(--ink); margin-left: 4px; }
  .mp-arrow { color: var(--blue); font-weight: 700; font-size: 18px; }

  .mp-custom { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; background: #fff; border: 1px dashed #c3cad3; border-radius: 4.8px; padding: 18px 22px; }
  .mp-custom p { margin: 0; font-size: 15px; }

  .mp-specials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .mp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .mp-special .mp-name { font-size: 17px; }
  .mp-special .mp-price { font-size: 26px; text-align: right; white-space: nowrap; }
  .mp-tag { display: inline-block; vertical-align: middle; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; background: var(--ink); border-radius: 50rem; padding: 3px 9px; }
  .mp-small { margin: 0; font-size: 12px; color: var(--muted); }

  .mp-chips-check li { padding-left: 34px; position: relative; }
  .mp-chips-check li::before { content: ""; position: absolute; left: 15px; top: 14px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

  .mp-ports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .mp-port { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 4.8px; padding: 14px; }
  .mp-port img { display: block; width: 100%; height: auto; border-radius: 3px; }
  .mp-port ol { margin: 14px 0 0; padding-left: 22px; columns: 2; column-gap: 24px; font-size: 13px; line-height: 1.7; }

  .mp-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .mp-svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4.8px; overflow: hidden; text-decoration: none !important; color: var(--ink) !important; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); transition: border-color .15s, box-shadow .15s; }
  .mp-svc:hover { border-color: var(--blue); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.1); }
  .mp-svc img { width: 100%; height: 150px; object-fit: contain; display: block; background: #fff; padding: 12px; border-bottom: 1px solid var(--line); }
  .mp-svc-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; font-size: 14px; }
  .mp-svc-body b { font-family: var(--head); font-size: 16px; }
  .mp-svc-body span { color: var(--muted); }
  .mp-svc-body em { font-style: normal; font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--blue-text); margin-top: 4px; }

  @media (max-width: 991px) {
    .mp-tiers, .mp-specials, .mp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mp-gens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rugged-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 768px) {
    .mp-ports { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 600px) {
    .mp-tiers, .mp-specials, .mp-services, .mp-gens, .rugged-grid.four { grid-template-columns: minmax(0, 1fr); }
    .mp-port ol { columns: 1; }
    .mp-custom { flex-direction: column; align-items: flex-start; }
  }
  .mp-byquote { font-size: 18px !important; }

  .mp-special-img { width: 96px; height: 72px; object-fit: contain; }
  .mp-special-txt { font-size: 13px; line-height: 1.55; }
  .mp-includes { padding-bottom: 8px; }
  .to-model-page .hero-image img { filter: drop-shadow(0 1.4rem 1.6rem rgba(0,0,0,.5)); }

  /* ===== Without Bootstrap: the few base rules the page relied on ===== */
  html { -webkit-text-size-adjust: 100%; }
  h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; font-weight: 500; line-height: 1.2; }
  p { margin-top: 0; margin-bottom: 1rem; }
  ul, ol { margin-top: 0; margin-bottom: 1rem; }
  figure { margin: 0; }
  img, svg { vertical-align: middle; }
  a { text-decoration: none; background-color: transparent; }
  a:hover { text-decoration: underline; }
  button, input, textarea, select { font: inherit; margin: 0; }
  button { cursor: pointer; }
  table { border-collapse: collapse; }
  th { text-align: inherit; }
  .to-pill:hover, .mp-go:hover, .model-card:hover, .mp-svc:hover, .mp-gen:hover, .mp-acc:hover, .resource-link:hover { text-decoration: none; }

  /* Header bar */
  .site-bar { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }
  .site-bar-in { max-width: 1140px; margin: 0 auto; padding: 10px max(24px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; gap: 10px; }
  .site-logo img { display: block; width: 70px; height: auto; }
  .site-phone { font-family: var(--head); font-weight: 600; color: var(--blue-text) !important; font-size: 15px; } /* same phone blue as the shop */
  .site-phone:hover, .site-phone:focus { color: #004a99 !important; }
  .site-bar-links { margin-left: auto; display: flex; gap: 4px; }
  .site-bar-links a { color: var(--ink); padding: .5rem; font-size: 15px; }
  .site-bar-links a.site-search { display: inline-flex; align-items: center; line-height: 1; }
  .site-bar-links a.site-search svg { display: block; }
  .site-bar-links a.site-search:hover { color: var(--blue, #007bff); }
  @media (max-width: 575px) { .site-bar-links a:not(.site-search) { display: none; } }

  /* Accessories call-out (in the buy section) */
  .mp-acc { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding: 24px 28px; border-radius: 6px; color: #fff !important; background: linear-gradient(135deg, #0d0e10 0%, #1e2530 60%, #0f2d4f 100%); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.15); }
  .mp-acc-txt { display: flex; flex-direction: column; gap: 4px; max-width: 64ch; }
  .mp-acc-txt b { font-family: var(--head); font-size: 22px; font-weight: 700; }
  .mp-acc-txt span { color: var(--band-muted); font-size: 15px; }
  .mp-acc:hover .mp-acc-btn { filter: brightness(1.08); }
  .mp-acc:focus-visible { outline: 3px solid var(--blue2); outline-offset: 3px; }

  /* Buying guide */
  .mp-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
  .mp-guide-grid article { background: #fff; border: 1px solid var(--line); border-radius: 4.8px; padding: 22px 20px; }
  .mp-guide-grid h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
  .mp-guide-grid p { font-size: 15px; line-height: 1.7; margin: 0; }
  @media (max-width: 991px) { .mp-guide-grid { grid-template-columns: minmax(0, 1fr); } }

  /* ===== Phones: bottom Buy / Quote bar ===== */
  .mbar { display: none; }
  @media (max-width: 768px) {
    .mbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: rgba(22,24,29,.97); border-top: 1px solid #000; box-shadow: 0 -6px 18px rgba(0,0,0,.25); padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); transform: translateY(110%); transition: transform .25s ease; }
    .mbar.is-on { transform: none; }
    .mbar-price { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; color: #fff; }
    .mbar-price span { font-size: 12px; color: var(--band-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mbar-price b { font-family: var(--head); font-size: 18px; font-weight: 600; }
    .mbar-btn { padding: 11px 18px; font-size: 13px; box-shadow: none; }
    body.mbar-on { padding-bottom: 68px; }
    body.mbar-on #chat-widget-container { bottom: 64px !important; transition: bottom .25s ease; }
  }
  @media (max-width: 768px) {
    /* The bottom bar carries Shop / Quote on phones, so the top bar keeps just the on-page links. */
    .subbar-links .sb-buy { display: none; }
    .subbar-price { display: none; }
    .subbar-in { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
    .subbar-links { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
    .subbar-links a { padding: 5px 10px; }
  }
  @media (max-width: 520px) {
    .resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .resource-link { padding: 12px; font-size: 13px; }
  }

  .models-sub { font-size: 20px; font-weight: 700; margin: 32px 0 14px; color: var(--ink); }
  .models-sub span { color: var(--blue); }
  .model-card img { object-fit: contain; }

  .mp-tiers:has(> .mp-tier:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
  @media (max-width: 768px) { .mp-tiers:has(> .mp-tier:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); } }
  .mp-browse { margin-top: 0; margin-bottom: 16px; }
  .mp-tiers + .mp-browse, .mp-gens + .mp-browse { margin-top: 28px; } /* breathing room when it follows the tier cards */

  [id$="-models"], #specs, #faq, #reviews, #services { scroll-margin-top: 64px; }
