/* Straight2Work — tasteful depth system + sticky mobile call bar.
   Static CSS only: no JavaScript, no animation. Readability first.
   Linked after each page's own styles so these rules win ties. */

/* ---- D1: layered shadow stacks on cards ----
   A tight crisp layer plus a wider soft ambient layer. Shadows live
   outside the text box, so readability is untouched. */
.card {
  box-shadow:
    0 1px 2px rgba(7, 26, 43, .10),
    0 10px 28px rgba(7, 26, 43, .10),
    0 28px 56px -16px rgba(7, 26, 43, .14);
}

/* Subtle hover lift on devices that have a hover pointer.
   Gated behind reduced-motion so it never bothers anyone. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card {
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 2px 3px rgba(7, 26, 43, .10),
      0 14px 34px rgba(7, 26, 43, .13),
      0 34px 64px -16px rgba(7, 26, 43, .16);
  }
}

/* ---- D5: call buttons feel physically pressable ----
   Inset top highlight plus a bottom shadow; :active presses inward.
   Existing keyboard focus styles are untouched. */
a.call {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -3px 0 rgba(0, 0, 0, .16),
    0 12px 22px -10px rgba(7, 26, 43, .5);
}
a.call:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, .28),
    0 5px 12px -8px rgba(7, 26, 43, .4);
}

/* ---- Inline alternate-name notes (e.g. "on Windows 10 it is just called Devices") ---- */
.alt-name {
  font-size: .95em;
}

/* ---- Sticky call/chat bar (Sean 2026-09-30) ----
   Was phone-only; now on desktop too, on the same pages with the same
   per-page button as mobile. Body gets bottom padding at every width so
   the bar never covers content or the footer. */
body { padding-bottom: 88px; }

.sticky-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    min-height: 64px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 26, 43, .97);
    border-top: 2px solid var(--teal, #0b968e);
    box-shadow: 0 -10px 28px rgba(7, 26, 43, .4);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: .01em;
  }
  .sticky-call svg { flex: none; width: 34px; height: 34px; transform-origin: 50% 50%; overflow: visible; animation: s2w-ring 3s linear infinite; }
  .sticky-call svg .wv { opacity: 0; animation: s2w-ringwaves 3s linear infinite; }
  .sticky-call svg .wv2 { animation-delay: .12s; }
  .sticky-call strong {
    color: #5fd8cf;
    font-weight: 800;
  }
  .sticky-call:active {
    background: rgba(10, 34, 56, .99);
  }

/* ---- Desktop cart clearance (Sean 2026-09-30) ----
   The sticky bar is on desktop now and the chat pill rides above it, so
   the cart floats higher on desktop to stay clear of both. */
@media (min-width: 768px) {
  button.cart-fab { bottom: 182px; }
}

/* ---- Ringing phone icon (sticky call bar, every page) ----
   UK double-ring pattern on a 3s loop: two shake bursts (0-0.4s,
   0.6-1.0s) then true stillness (1.0-3.0s). Burst-rest cadence from
   the animation study — motion onset captures attention, the rest
   makes the next burst land. Purely visual — never vibrates the
   visitor's device. */
@keyframes s2w-ring {
  0% { transform: rotate(0deg); }
  3.333% { transform: rotate(-14deg); }
  6.666% { transform: rotate(12deg); }
  10% { transform: rotate(-9deg); }
  13.333% { transform: rotate(0deg); }
  20% { transform: rotate(-14deg); }
  23.333% { transform: rotate(12deg); }
  26.666% { transform: rotate(-9deg); }
  30%, 100% { transform: rotate(0deg); }
}
@keyframes s2w-ringwaves {
  0%, 100% { opacity: 0; }
  3%, 28% { opacity: .9; }
  33% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-call svg, .sticky-call svg .wv { animation: none; }
}

/* ---- Keyboard shortcuts section (Learn page) ---- */
kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: .28em .6em;
  margin: 0 .1em;
  border: 1px solid #b9c4cc;
  border-bottom-width: 3px;
  border-radius: 8px;
  background: linear-gradient(#ffffff, #eef3f6);
  color: #10222e;
  font-family: inherit;
  font-size: .92em;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(7, 26, 43, .12);
}
.tip-keys { font-size: 1.12rem; margin: .7em 0 .3em; }
.key-or { color: #f4fbfa; font-size: .85em; margin: 0 .35em; }
.no-keys { color: #f4fbfa; font-style: italic; }

.tip-group { margin: 2.2em 0; }
.tip-group > h3 {
  font-size: 1.5rem;
  color: #0b2a3a;
  margin: 0 0 .3em;
  padding-bottom: .35em;
  border-bottom: 3px solid var(--teal, #0b968e);
}
.tip-group-intro { color: #33454f; font-size: 1.06rem; max-width: 62ch; }

.tip {
  background: #ffffff;
  border: 1px solid #dbe4e9;
  border-radius: 14px;
  padding: 1.1em 1.25em;
  margin: 1em 0;
  box-shadow:
    0 1px 2px rgba(7, 26, 43, .08),
    0 8px 22px rgba(7, 26, 43, .08);
}
.tip h4 { margin: 0 0 .35em; font-size: 1.18rem; color: #0b2a3a; }
.tip-what { margin: .4em 0; color: #1d323d; line-height: 1.55; }
.tip-gotcha {
  margin: .7em 0 0;
  padding: .7em .9em;
  background: #f2f8fa;
  border-left: 4px solid var(--amber, #f0b44d);
  border-radius: 0 8px 8px 0;
  color: #1d323d;
  line-height: 1.5;
}
.tip-steps { margin: .5em 0; padding-left: 1.4em; color: #1d323d; line-height: 1.6; }
.tip-steps li { margin: .35em 0; }
.tip-more { color: #1d323d; line-height: 1.6; max-width: 70ch; }

.key-legend {
  background: #0b2a3a;
  color: #eaf3f6;
  border-radius: 16px;
  padding: 1.3em 1.5em;
  margin: 1.5em 0 2em;
  box-shadow:
    0 1px 2px rgba(7, 26, 43, .2),
    0 14px 34px rgba(7, 26, 43, .25);
}
.key-legend h4 { margin: 0 0 .6em; color: #ffffff; font-size: 1.2rem; }
.key-legend ul { margin: 0; padding-left: 1.3em; line-height: 1.65; }
.key-legend li { margin: .3em 0; }
.key-legend b { color: #ffd98a; }
.key-legend p { margin: .9em 0 0; color: #cfe0e7; }

/* Illustrated key strips (copy / cut / paste / undo) */
.key-strip {
  margin: 1.5em 0;
  padding: 1.1em 1.25em;
  background: #f2f8fa;
  border: 1px solid #dbe4e9;
  border-radius: 14px;
}
.key-strip figcaption { font-size: 1.05rem; color: #1d323d; margin-bottom: .8em; }
.strip-row { display: flex; flex-wrap: wrap; gap: .9em; }
.strip-key {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cfdae1;
  border-radius: 10px;
  padding: .45em .6em;
  box-shadow: 0 2px 5px rgba(7, 26, 43, .1);
}
.strip-plus { margin: 0 .3em; font-weight: 800; color: #0b968e; }
.strip-action { margin-left: .55em; font-weight: 700; color: #0b2a3a; font-size: .95rem; }

.fn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1em;
}
.fn-grid .tip { margin: 0; }
.fn-note {
  margin-top: 1.2em;
  padding: 1em 1.2em;
  background: #fff8e8;
  border: 1px solid #f0d9a0;
  border-radius: 12px;
  color: #1d323d;
  line-height: 1.6;
}
.fn-note h4 { margin: 0 0 .4em; color: #0b2a3a; }

/* Illustrated picture-key legend (function keys) */
.fn-pics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8em;
  margin: 1.2em 0;
}
.fn-pics-title {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
}
.fn-pic {
  margin: 0;
  padding: .7em .6em .8em;
  background: rgba(11, 34, 51, .72);
  border: 1px solid rgba(95, 216, 207, .35);
  border-radius: 12px;
  text-align: center;
}
.fn-pic img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}
.fn-pic figcaption { margin-top: .5em; line-height: 1.4; }
.fn-pic figcaption b { display: block; color: #ffffff; font-size: .95rem; }
.fn-pic figcaption span { display: block; color: #b9cdd6; font-size: .82rem; margin-top: .15em; }
@media (max-width: 520px) {
  .fn-pics { grid-template-columns: repeat(2, 1fr); }
}

.keys-cta {
  margin-top: 2em;
  font-size: 1.1rem;
  color: #1d323d;
}
.keys-cta a { font-weight: 800; }

@media (max-width: 767px) {
  .strip-row { gap: .6em; }
  kbd { font-size: .85em; }
}

/* ---- Dock menu: Games (left) + Devotions (right, slightly smaller) share the last row ---- */
.s2w-dock-list>a.s2w-dock-wide{grid-column:1/-1;}
/* ---- Dock menu even pass (2026-10-17): every tile same size, same text, Home labeled ---- */
.s2w-dock-head .s2w-dock-list>a{grid-column:auto;display:flex;align-items:center;justify-content:center;min-height:60px;font-size:1rem;font-weight:700;text-align:center;padding:10px 8px;}
.s2w-dock-head .s2w-dock-list>a.s2w-dock-wide{grid-column:auto;}
.s2w-dock-head .s2w-dock-list>a[href="/"]{flex-direction:column;gap:2px;}
.s2w-dock-head .s2w-dock-list>a[href="/"]::after{content:"Home";font-size:1rem;font-weight:700;line-height:1.1;}
.s2w-dock-head .s2w-dock-list>a[href="/"] svg{width:26px;height:26px;}
/* ---- Devotions page verse quotes ---- */
.verse{font-style:italic;font-weight:700;font-size:1.14em;line-height:1.65;border-left:3px solid #0d9488;padding-left:12px;}

/* ---- Devotions hero cross ---- */
.hero .devo-hero{text-align:center}
.hero .devo-hero h1{margin:0 auto 20px}
.hero .devo-hero p{margin-left:auto;margin-right:auto}
.devo-cross{display:flex;justify-content:center;margin:0 0 14px}
.devo-cross img{width:clamp(72px,20vw,96px);height:auto;display:block}

/* ============ 2026-09-26 site-wide dark-mode audit (Sean) ============
   Dark mode must never show white content sections. Every rule below
   gives the light content blocks a true dark treatment: dark navy
   surfaces, near-white text, bright teal accents. High contrast,
   senior-readable. This file loads after each page's own styles. */
@media (min-width: 0px) {
  /* Glossary / terms sections (glasses, hearing-aids, tvs) */
  .terms { background:#081826; color:#e8f1f5; }
  .terms h2 { color:#ffffff; }
  .term { background:#0b2233; }
  .term strong { color:#7de8e0; }
  .term p { color:#d7e3ea; opacity:1; }

  /* Callout notes (printers, cameras, glasses, tvs) */
  .detail-note { background:#0a1c2b; border-color:#2a4f66; }
  .detail-note h3 { color:#ffffff; }
  .detail-note strong { color:#7de8e0; }
  .detail-note p, .detail-note ul, .detail-note li { color:#eef4f9; opacity:1; }
  .detail-note a { color:#7de8e0; }
  .refresh-note { background:#0a1c2b; border-color:#2a4f66; }
  .refresh-note strong { color:#7de8e0; }
  .refresh-note p { color:#eef4f9; opacity:1; }

  /* Learn guide cards and notes */
  .tip { background:#0b2233; border-color:#24465f; }
  .tip h4 { color:#ffffff; }
  .tip-what, .tip-steps, .tip-more { color:#d7e3ea; }
  .tip-gotcha { background:#12303c; color:#e8f1f5; }
  .tip-group > h3 { color:#ffffff; }
  .tip-group-intro { color:#b9cdd6; }
  .key-strip { background:#0b2233; border-color:#24465f; }
  .key-strip figcaption { color:#e8f1f5; }
  .fn-note { background:#241c0e; border-color:#8a6d2f; color:#f0e6cf; }
  .fn-note h4 { color:#ffd98a; }

  /* Services page cards */
  .service-card { background:#0b2233; border-color:#24465f; }

  /* First-visit menu popup */
  .s2w-fv .s2w-fv-card { background:#0e2637; color:#eef4f9; }
  .s2w-fv .s2w-fv-card h2 { color:#ffffff; }
  .s2w-fv .s2w-fv-kicker { color:#7de8e0; }
  .s2w-fv .s2w-fv-card ul, .s2w-fv .s2w-fv-card li { color:#d7e3ea; }
}

/* Desktop: restore the intended side-by-side platform cards. */
@media (min-width: 661px) {
  .card.platform { grid-template-columns:minmax(0,360px) minmax(0,1fr); }
}
/* First-visit menu guide floats above the open menu it explains. */
div.s2w-fv { z-index:100000; }
/* Phone: one full-width card column. Beats the duplicated 12-col card
   system some pages redeclare after their own mobile rules. */
@media (max-width: 660px) {
  .cards { grid-template-columns:1fr; }
  .card, .card.wide, .card.solo, .card.card-wide { grid-column:1 / -1; max-width:none; }
  .card.platform { grid-column:1 / -1; grid-template-columns:1fr; }
}

/* ============ DARK LOCK (Sean 2026-09-26): the whole site renders the dark design
   for every visitor. These rules kill the hardcoded-white surfaces that the old
   dark-mode queries never covered. ============ */
.topics-menu-btn,.battery-more-btn,.show-more{background:#102530!important;color:#72ded5!important;border-color:#72ded5!important}
.topics-menu-btn:hover,.battery-more-btn:hover,.show-more:hover{background:#0b2233!important}
.toc-list a{background:#102530!important;border-color:#2c4b54!important;color:#effbfb!important}
.toc-list a:hover{border-color:#3cc7bd!important}
.key-strip{background:#0d222e!important;border-color:#2c4b54!important}
.key-strip figcaption{color:#d4e5e8!important}
.strip-key{background:#0b2233!important;border-color:#24465f!important;color:#eef4f9!important}
.strip-key kbd{background:#0b2233!important;color:#effbfb!important;border-color:#2c4b54!important}
.strip-action{color:#f4fbfa!important}
.strip-plus{color:#5fd8cf!important}
.shop-btn,.contact-btn{background:#102530!important;color:#72ded5!important;border-color:#72ded5!important}
.contact-panel{background:#0b2233!important}

/* Unified header nav 2026-09-26: teal Menu button + brand on every page */
.s2w-dock-head .s2w-dock-btn{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:12px 26px;border-radius:16px;border:1px solid rgba(255,255,255,.16);background:var(--teal);color:#fff;font-size:1.05rem;font-weight:800;letter-spacing:.01em;cursor:pointer;box-shadow:0 4px 14px rgba(7,26,43,.28);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);white-space:nowrap;}
.s2w-dock-head .s2w-dock-btn:hover{background:var(--teal-dark,#0a7f78);}
.s2w-dock-head .s2w-dock-btn:active{transform:scale(.97);}
.s2w-dock-head .s2w-dock-btn:focus-visible{outline:3px solid #f2ad3d;outline-offset:3px;}
.s2w-dock-head .s2w-dock-btn svg{width:22px;height:22px;flex:0 0 auto;}
.nav-shell .brand{margin-right:auto;font-size:17px;color:#fff;text-decoration:none;white-space:nowrap;}
@media (max-width:768px){.s2w-dock-head .s2w-dock-btn{min-height:48px;padding:8px 14px;font-size:.95rem;gap:8px;}}
@media (prefers-reduced-motion:reduce){.s2w-dock-head .s2w-dock-btn{transition:none;}}

/* ============ 2026-09-26 design-study upgrades (Sean: "everything but the prices") ============
   D1: Layered shadow stacks — 3-layer soft elevation on cards. Pure box-shadow, zero JS.
   D5: Pressed call-button physics — inset highlight + shadow, :active swaps inward.
   Typography: body floor 18px for 65+ (NNG/Rubin evidence).
   Motion: reduced-motion gating, opacity-only animation rules. */

/* D1 — card depth: raised treatment for review/service/guide cards */
.bx-maker,.tip,.card,.review-card{
  box-shadow:
    0 1px 2px rgba(7,26,43,.10),
    0 4px 12px rgba(7,26,43,.10),
    0 12px 32px rgba(7,26,43,.08);
}

/* D5 — pressed physics on the sticky call bar + any call button */
@media (max-width:767px){
  .sticky-call{
    box-shadow:
      inset 0 2px 0 rgba(255,255,255,.14),
      inset 0 -3px 6px rgba(0,0,0,.28),
      0 -10px 28px rgba(7,26,43,.4);
  }
  .sticky-call:active{
    box-shadow:
      inset 0 3px 8px rgba(0,0,0,.35),
      inset 0 -1px 0 rgba(255,255,255,.06);
    transform:translateY(1px);
  }
}
.call-btn,.shop-btn,.contact-btn{
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.16),
    inset 0 -3px 6px rgba(0,0,0,.22),
    0 4px 14px rgba(7,26,43,.25);
}
.call-btn:active,.shop-btn:active,.contact-btn:active{
  box-shadow:
    inset 0 3px 8px rgba(0,0,0,.30),
    inset 0 -1px 0 rgba(255,255,255,.06);
  transform:translateY(1px);
}

/* Typography floor: 18px body for the 65+ audience */
body{font-size:18px;line-height:1.65;}

/* Motion discipline (animation study): gate behind no-preference,
   transform/opacity only, never animate box-shadow/blur/filter. */
@media (prefers-reduced-motion:no-preference){
  .sticky-call,.call-btn,.shop-btn,.contact-btn{transition:transform .15s ease,box-shadow .15s ease;}
}
@media (prefers-reduced-motion:reduce){
  .sticky-call,.call-btn,.shop-btn,.contact-btn{transition:none;transform:none;}
}

/* Print stylesheet: seniors print guides. Hide nav/call bar, keep content clean. */
@media print{
  .nav-shell,.sticky-call,.s2w-dock-panel,.no-print{display:none!important;}
  body{padding-bottom:0;background:#fff;color:#000;font-size:12pt;}
  .tip,.bx-maker,.card{break-inside:avoid;box-shadow:none;border:1px solid #999;}
  a{color:#000;text-decoration:underline;}
  a[href^="tel:"]{font-weight:bold;}
}

/* Topic pager: previous/next links at the end of each Learn section (2026-09-27) */
.topic-pager{width:min(100% - 28px,1160px);margin:18px auto 0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.topic-pager-link{display:inline-flex;align-items:center;gap:10px;background:rgba(11,34,51,.72);border:1px solid rgba(95,216,207,.35);color:#f4fbfa;border-radius:14px;padding:14px 20px;font-weight:800;font-size:1.05rem;text-decoration:none;line-height:1.4}
.topic-pager-link:hover,.topic-pager-link:focus-visible{border-color:#5fd8cf;color:#fff}
.topic-pager-link .tp-arrow{color:#5fd8cf}
.tp-prev{margin-right:auto}
.tp-next{margin-left:auto}
@media(max-width:520px){.topic-pager-link{flex:1 1 100%;justify-content:center}}

/* Topic rail: fixed right-side quick nav, desktop only (2026-09-27) */
.topic-rail{display:none}
@media(min-width:1100px){
  main:has(> .topic-rail){padding-right:200px}
  .topic-rail{display:block;position:fixed;right:18px;top:50%;transform:translateY(-50%);width:164px;z-index:25;background:rgba(7,26,43,.94);border:1px solid rgba(95,216,207,.3);border-radius:14px;padding:14px 10px;max-height:72vh;overflow:auto}
  .topic-rail-title{margin:0 0 8px;padding:0 8px;font-weight:800;color:#5fd8cf;font-size:.82rem;text-transform:uppercase;letter-spacing:.07em}
  .topic-rail-list{list-style:none;margin:0;padding:0}
  .topic-rail-list a{display:block;padding:7px 8px;border-left:3px solid transparent;color:#c1d3da;text-decoration:none;font-size:.93rem;line-height:1.35;border-radius:0 8px 8px 0}
  .topic-rail-list a:hover{color:#fff;background:rgba(95,216,207,.08)}
  .topic-rail-list a.is-active{border-left-color:#5fd8cf;color:#fff;font-weight:800;background:rgba(95,216,207,.12)}
}
@media(prefers-reduced-motion:reduce){.topic-rail{transform:none;top:14vh}}

/* Reading-progress bar across the top (2026-09-27) */
#progress{position:fixed;top:0;left:0;height:5px;width:100%;z-index:300;pointer-events:none}
#progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#3cc7bd 0%,#f2b454 100%);border-radius:0 3px 3px 0}
@media print{#progress{display:none}}

/* Topic chips: sticky scrollable topic tabs for phone/tablet (2026-09-27) */
.topic-chips{display:flex;gap:8px;overflow-x:auto;position:sticky;top:125px;z-index:40;background:rgba(7,26,43,.96);padding:10px 14px;border-bottom:1px solid rgba(95,216,207,.25);-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-padding-inline:14px;scroll-snap-type:x mandatory}
.topic-chips::-webkit-scrollbar{display:none}
.topic-chips::after{content:"";flex:0 0 6px}
.topic-chips a{flex:0 0 auto;color:#c1d3da;text-decoration:none;font-weight:700;font-size:.95rem;padding:9px 16px;border:1px solid rgba(95,216,207,.35);border-radius:999px;background:rgba(11,34,51,.72);white-space:nowrap;scroll-snap-align:center}
.topic-chips a.is-active{background:#3cc7bd;border-color:#3cc7bd;color:#fff}
.topic-section{scroll-margin-top:96px;font-size:1.19rem;line-height:1.7;padding-inline:28px}
/* Sean 2026-09-27: easier reading for seniors; section-level side spacing keeps text clear of curved phone edges */
.topic-section .wrap{width:100%;max-width:1020px}
/* Sean 2026-09-30: only curated keywords (<strong class="kw">) are teal — ordinary emphasis stays default */
.topic-section strong.kw{color:var(--teal);scroll-margin-top:300px;cursor:pointer}
/* current keyword while jumping between its mentions */
.topic-section strong.kw.is-current{outline:3px solid var(--teal);outline-offset:3px;border-radius:4px;animation:kw-pulse 1.2s ease-in-out 2}
@keyframes kw-pulse{0%,100%{background-color:transparent}50%{background-color:rgba(60,199,189,.28)}}
@media(prefers-reduced-motion:reduce){.topic-section strong.kw.is-current{animation:none;background-color:rgba(60,199,189,.28)}}
/* keyword mention navigator: floating prev/next between mentions of the same term (Sean 2026-09-30) */
.kw-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:170px;z-index:60;display:none;align-items:center;gap:8px;background:rgba(7,26,43,.97);border:1px solid rgba(95,216,207,.55);border-radius:999px;padding:8px 12px;box-shadow:0 6px 24px rgba(0,0,0,.5)}
.kw-nav.is-open{display:flex}
.kw-nav button{min-width:54px;min-height:54px;border-radius:50%;border:1px solid rgba(95,216,207,.55);background:#0e2f47;color:#fff;font-size:1.6rem;line-height:1;cursor:pointer}
.kw-nav button:active{background:#16425f}
.kw-nav .kw-count{color:#fff;font-size:1.05rem;font-weight:700;white-space:nowrap}
.kw-nav .kw-term{max-width:34vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--teal);font-weight:700;font-size:1.05rem}
.kw-nav .kw-close{min-width:44px;min-height:44px;font-size:1.1rem}
@media(max-width:660px){.topic-section{padding-inline:44px}}
@media print{.topic-chips{display:none}}

/* Learn search toolbar: always-open full-width search bar (2026-09-27).
   Sean: no expander — one tap and you're typing. Magnifier lives inside the left edge. */
.learn-toolbar{position:sticky;top:65px;z-index:41;display:flex;flex-direction:column;align-items:stretch;gap:10px;background:rgba(7,26,43,.97);padding:10px 14px 12px;border-bottom:1px solid rgba(95,216,207,.25);box-sizing:border-box}
.learn-search-row{flex:1;display:flex;align-items:center;gap:8px;background:#0d2a3c;border:1px solid rgba(95,216,207,.35);border-radius:999px;padding:0 6px 0 16px;min-height:52px;min-width:0;width:100%;box-sizing:border-box}
.learn-search-row input{flex:1;background:none;border:0;outline:none;color:#fff;font-size:1.05rem;min-height:50px;min-width:0;font-family:inherit}
.learn-search-row input::placeholder{color:#8fa6b3}
.learn-search-row input::-webkit-search-cancel-button{display:none}
#learn-search-clear{flex:none;width:48px;height:48px;border-radius:50%;border:0;background:none;color:#c1d3da;font-size:1.7rem;line-height:1;cursor:pointer;padding:0}
.learn-search-row .sicon{flex:none;width:34px;height:34px;display:grid;place-items:center;color:#5fd8cf}
.learn-result-line{margin:0;padding:10px 16px 2px;color:#9fb3c8;font-size:.92rem}
.learn-results{padding:2px 16px 14px}
.learn-results{scroll-margin-top:150px}
.learn-results-group h3{color:#fff;font-size:1.08rem;margin:16px 0 8px}
.learn-results-group ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.learn-results-group li a{color:#5fd8cf;font-size:1.1rem;font-weight:700}
.learn-results-group li small{display:block;color:#9fb3c8;font-size:.92rem;margin-top:2px}
@media print{.learn-toolbar,.learn-result-line{display:none}}

/* ============ WOW FACTOR PASS (2026-09-27, Sean's headlines: SHEEN / layered surfaces) ============
   Shared tactile treatment: subtle light sweep on hover (motion-gated), physical press.
   Elevation through lightness: inset top light over the D1 shadow stacks. */
/* Layered elevation — final word after the D1 stacks above */
.bx-maker,.tip,.card,.review-card,.topic-card,.basic-card{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 1px 2px rgba(7,26,43,.10),
    0 10px 28px rgba(7,26,43,.12),
    0 28px 56px -16px rgba(7,26,43,.14);
}
/* Sheen sweep on shared primary buttons — beautiful but subtle, hover-only, motion-gated */
.call-btn,.shop-btn,.contact-btn,.s2w-dock-head .s2w-dock-btn{
  position:relative;overflow:hidden;
}
@media (prefers-reduced-motion:no-preference){
  .call-btn::after,.shop-btn::after,.contact-btn::after,.s2w-dock-head .s2w-dock-btn::after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.25) 50%,transparent 58%);
    transform:translateX(-130%) skewX(-8deg);
    transition:transform .65s cubic-bezier(0.16,1,0.3,1);
  }
  .call-btn:hover::after,.shop-btn:hover::after,.contact-btn:hover::after,.s2w-dock-head .s2w-dock-btn:hover::after{
    transform:translateX(130%) skewX(-8deg);
  }
}

.rail-sort-toggle{display:block;width:100%;margin:0 0 8px;padding:14px;font-size:1.05rem;font-weight:800;color:#0b1f33;background:#5fd8cf;border:0;border-radius:12px;cursor:pointer}
.rail-sort-toggle:active{transform:translateY(1px)}
.rail-cat-head{margin:10px 12px 2px;font-size:.8rem;font-weight:700;color:#c1d3da;white-space:nowrap}
.rail-cat-head:first-of-type{margin-top:4px}

/* ---- Cart FAB hides off-screen until the cart has items (Sean 2026-10-01) ---- */
.cart-fab{transform:translateX(calc(100% + 32px));pointer-events:none;transition:transform .35s ease}
.cart-fab.has-items{transform:none;pointer-events:auto}
@media (prefers-reduced-motion:reduce){.cart-fab{transition:none}}

/* audit-2026-10-24: buying-guide fine print carries prices and specs - it was ~12px.
   These classes exist only on the buying-guide pages. */
p.source-line, p.source-note, p.disclaimer, p.footnote { font-size: .95rem; }
p.caution { font-size: 1rem; }


/* === Fluid pass 2026-10-26: calm cross-page fade; header stays the anchor.
   Reduced-motion visitors keep instant changes (rule inside the media query). */
@media (prefers-reduced-motion: no-preference){
  @view-transition{ navigation:auto; }
}
.nav-shell{ view-transition-name: s2w-header; }


/* === Fluid pass 2026-10-26 (item 6): every tap answers instantly. === */
a, button{ -webkit-tap-highlight-color: rgba(95,216,207,.18); }
a:active, button:active{ opacity:.72; }
