/* © 2026 Barry Duncan - LeMerovingian. All rights reserved.
   The store website (web-store.js, web-store-pages.js) - the owner's approved design of 2026-11-22
   (store_website_design.png): night blue, ghost cyan, brass, the binocular sight for the featured offer.
   No inline style anywhere: the page rules allow only this file. Fonts: Barlow Condensed (SIL OFL, fonts/), served
   from this address - no third party. */

@font-face { font-family: 'Barlow Condensed'; src: url('fonts/BarlowCondensed-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/BarlowCondensed-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }

:root {
  --night: #0d1b22; --deep: #08141a; --deck: #15303c; --deck-2: #1c3c4a; --line: rgba(142, 205, 222, .16); --line-2: rgba(142, 205, 222, .3);
  --ghost: #5ee3f2; --paper: #e6f1f3; --dust: #9db6c0; --brass: #d9a441; --paypal: #ffc439; --danger: #ff8f8f;
  --display: 'Barlow Condensed', Bahnschrift, 'DIN Alternate', 'Arial Narrow', sans-serif;
  --body: 'Segoe UI', system-ui, -apple-system, 'Noto Sans', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--deep); }
body { margin: 0; background: var(--night); color: var(--paper); font: 16px/1.55 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
a { color: var(--ghost); }
a:hover { color: #9bf0f8; }
:focus-visible { outline: 3px solid var(--ghost); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1344px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ghost); color: #052a30; padding: 10px 16px; border-radius: 6px; z-index: 10; font-weight: 600; }
.skip:focus { top: 12px; }

/* the frame */
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { font: 600 24px var(--display); letter-spacing: .05em; color: var(--paper); text-decoration: none; }
.brand span { color: var(--ghost); }
.top nav { display: flex; gap: 28px; }
.top nav a { color: var(--dust); text-decoration: none; font-size: 15px; padding: 10px 2px; }
.top nav a:hover { color: var(--paper); }
.on-store nav [data-nav="store"], .on-help nav [data-nav="help"] { color: var(--paper); }
.who { display: flex; align-items: center; gap: 10px; color: var(--dust); font-size: 14px; text-decoration: none; padding: 10px 0; }
.who b { color: var(--paper); font: 600 17px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ghost); box-shadow: 0 0 8px var(--ghost); }
.preview { background: var(--brass); color: #1d1405; padding: 10px 48px; font-size: 14.5px; }
.notice { margin-top: 18px; color: var(--paper); background: var(--deck); border: 1px solid var(--line-2); border-radius: 6px; padding: 12px 16px; max-width: 1248px; }
.foot { border-top: 1px solid var(--line); color: var(--dust); font-size: 13.5px; margin-top: 24px; }
.foot-row { display: flex; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.foot-links { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot a { color: var(--dust); padding: 6px 0; }
.foot a:hover { color: var(--paper); }

/* the featured offer: the binocular sight */
.hero { display: grid; grid-template-columns: minmax(0, 600px) 1fr; align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 64px; }
.hero-empty { grid-template-columns: 1fr; }
.scope { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 48%, #7f7f7f 0%, #767879 34%, #4a5255 58%, #1a2528 76%, #0b1418 100%);
  box-shadow: 0 0 0 10px #0a161c, 0 0 0 11px var(--line), 0 0 60px rgba(94, 227, 242, .12); animation: breathe 7s ease-in-out infinite; }
.scope img { position: absolute; left: 50%; top: 50%; width: 100%; transform: translate(-50%, -52%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.scope::before { content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, transparent 58%, rgba(5, 14, 18, .75) 72%, #050e12 78%); }
.reticle { position: absolute; inset: 0; z-index: 2; }
.reticle i { position: absolute; background: rgba(94, 227, 242, .32); }
.reticle .h1 { left: 0; right: 0; top: 50%; height: 1px; }
.reticle .v1 { top: 0; bottom: 0; left: 50%; width: 1px; }
.range { position: absolute; z-index: 2; left: 50%; bottom: 12.5%; transform: translateX(-50%); font: 600 14px var(--display); color: var(--ghost); letter-spacing: .14em; white-space: nowrap; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 10px #0a161c, 0 0 0 11px var(--line), 0 0 60px rgba(94, 227, 242, .10); } 50% { box-shadow: 0 0 0 10px #0a161c, 0 0 0 11px var(--line-2), 0 0 80px rgba(94, 227, 242, .18); } }
.kicker { color: var(--brass); font: 600 15px var(--body); margin: 0 0 10px; }
.hero h1 { font: 600 76px/0.95 var(--display); margin: 0 0 18px; letter-spacing: .01em; }
.lede { color: var(--dust); max-width: 46ch; margin: 0 0 26px; font-size: 18px; }
.contents { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; }
.contents li { background: var(--deck); border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; font-size: 14px; color: var(--dust); }
.contents b { display: block; color: var(--paper); font: 600 18px var(--display); letter-spacing: .03em; }
.buy { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }
.price { font: 600 46px var(--display); margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 6px; font: 600 16px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-ghost { background: var(--ghost); color: #052a30; }
.btn-ghost:hover { background: #8ff0fa; color: #052a30; }
.btn-line { border-color: var(--line-2); color: var(--paper); background: transparent; }
.btn-line:hover { border-color: var(--ghost); color: var(--paper); }
.soon { color: var(--dust); font-size: 15px; }
.owned { color: var(--ghost); font-weight: 600; font-size: 14px; margin: 0; }
.owned-big { font-size: 16px; margin: 0 0 14px; }

.promise { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--dust); font-size: 15px; }
.promise-row { display: flex; gap: 10px 40px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.promise b { color: var(--paper); font-weight: 600; }

/* rows of cards */
.block { padding-top: 44px; padding-bottom: 8px; }
.block h2 { font: 600 32px var(--display); margin: 0 0 6px; }
.sub { color: var(--dust); margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--deck); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; color: var(--paper); text-decoration: none; display: block; }
.card-link:hover { border-color: var(--line-2); color: var(--paper); }
.card-link:hover .case { filter: brightness(1.06); }
.case { display: block; width: 100%; aspect-ratio: 1024 / 572; object-fit: cover; background: radial-gradient(ellipse at 50% 40%, #707678, #50585b 70%); }
.card .meta { padding: 14px 16px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card .name { font: 600 24px var(--display); letter-spacing: .03em; }
.card .slot { color: var(--dust); font-size: 14px; }
.card .owned { padding: 0 16px 14px; }
.card-line { color: var(--dust); font-size: 14px; margin: -6px 16px 14px; }
.empty { border: 1px dashed var(--line-2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--dust); min-height: 150px; text-align: center; padding: 20px; }

/* an offer's page */
.crumb { color: var(--dust); font-size: 14px; padding-top: 22px; }
.crumb a { text-decoration: none; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 48px; padding-top: 32px; padding-bottom: 56px; }
.viewer { background: radial-gradient(ellipse at 50% 42%, #737a7c, #4b5356 75%); border-radius: 10px; overflow: hidden; aspect-ratio: 1024 / 572; }
.viewer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.thumbs a { display: block; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #5d6467; }
.thumbs a.on { border-color: var(--ghost); box-shadow: 0 0 0 1px var(--ghost); }
.thumbs img { width: 150px; display: block; aspect-ratio: 1024 / 572; object-fit: cover; }
.panel h1 { font: 600 58px/1 var(--display); margin: 4px 0 12px; }
.panel p { color: var(--dust); margin: 0 0 16px; }
.panel .price { color: var(--paper); margin: 0 0 14px; }
.where { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
.where li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.where li span { color: var(--dust); text-align: right; }
.ticks { border: 0; margin: 0; padding: 0; min-width: 0; }
.tick-row { display: flex; gap: 12px; align-items: flex-start; background: var(--deck); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; font-size: 14.5px; color: var(--dust); margin-bottom: 14px; }
.tick-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ghost); flex: none; }
.pp { display: block; width: 100%; min-height: 52px; text-align: center; background: var(--paypal); color: #11264b; font: 700 18px var(--body); border: 0; border-radius: 26px; padding: 14px; margin: 18px 0 8px; }
.pp i { font-style: italic; font-weight: 800; }
.pp:disabled { opacity: .55; cursor: not-allowed; }
.soon-line { text-align: center; color: var(--paper) !important; font-weight: 600; }
.small { color: var(--dust); font-size: 13.5px; }
.small b, .panel .small b { color: var(--paper); }

/* forms and single boxes */
.narrow { max-width: 640px; padding-top: 48px; padding-bottom: 32px; }
.narrow h1 { font: 600 46px/1.05 var(--display); margin: 0 0 22px; }
.box { background: var(--deck); border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px; margin-bottom: 20px; }
.box h2 { font: 600 24px var(--display); margin: 0 0 8px; }
.box p { margin: 0 0 14px; }
.box-ghost { border-color: rgba(94, 227, 242, .45); box-shadow: 0 0 40px rgba(94, 227, 242, .08); }
.center { text-align: center; }
.center .actions { justify-content: center; }
.field { display: block; margin: 0 0 16px; }
.field span { display: block; font-size: 14px; color: var(--dust); margin-bottom: 6px; }
.field input { width: 100%; min-height: 48px; background: var(--night); color: var(--paper); border: 1px solid var(--line-2); border-radius: 6px; padding: 10px 12px; font: 16px var(--body); }
.field input:focus-visible { border-color: var(--ghost); }
.error { color: #ffd2d2; background: rgba(255, 143, 143, .12); border: 1px solid rgba(255, 143, 143, .45); border-radius: 6px; padding: 10px 12px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.callsign, .callsign-big { color: var(--ghost); text-transform: uppercase; letter-spacing: .03em; }
.callsign-big { font: 600 34px var(--display); margin: 0 0 6px !important; }
.sessions { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.sessions li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sessions small { color: var(--dust); }
.pill { display: inline-block; font-size: 12px; font-weight: 600; color: #052a30; background: var(--ghost); border-radius: 10px; padding: 1px 8px; margin-left: 6px; }
.inline { display: inline-block; margin: 0 10px 10px 0; }
.prose h2 { font: 600 26px var(--display); margin: 26px 0 6px; }
.prose p { color: var(--dust); }
.placeholder { color: #1d1405 !important; background: var(--brass); border-radius: 6px; padding: 12px 14px; font-weight: 600; }

/* a narrower screen, then a phone */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; }
  .scope { margin: 0 auto; max-width: min(560px, 86vw); }
  .item { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .preview { padding: 10px 18px; }
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 52px; }
  .panel h1 { font-size: 44px; }
  .price { font-size: 40px; }
  .range { font-size: 11px; letter-spacing: .1em; }
  .top nav { gap: 18px; }
  .narrow h1 { font-size: 38px; }
  .box { padding: 20px 18px; }
  .thumbs img { width: 104px; }
}

/* anyone who asks for less motion gets none */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
