/* The Typewriter Atlas — v2 "Modern shell, vintage soul". Tokens and rules: claude/site-design.md (project doc). */
:root {
  --page: #FFFFFF; --panel: #F4F3F0; --ink: #1D1D1F; --muted: #6E6A64; --text: #3A3732; --line: #E8E6E1; --line2: #D9D6CF;
  --red: #B42A22; --red-tint: #FBEDEC; --sea: #E6F0EB; --sea-ink: #2F5D4A; --sea-text: #4A5A52;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --typed: "Atlas Typed", "Courier Prime", "Courier New", monospace;
  --logo: "Libre Caslon Display", Georgia, serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.typed { font-family: var(--typed); }
.muted { color: var(--muted); }
.nolink { text-decoration: none; }

/* News strip and header */
.strip { background: var(--ink); color: #F5F5F2; font-size: 13px; text-align: center; padding: 10px 16px; }
.strip a { color: #fff; font-weight: 600; }
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-head .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { display: block; width: auto; }
.logo .logo-line { height: 22px; }
.logo .logo-stack { height: 44px; display: none; }
@media (max-width: 900px) { .logo .logo-line { display: none; } .logo .logo-stack { display: block; } }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { color: var(--red); }
.head-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.menu-btn { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 24px 16px; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 25px; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); font: 600 16px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { color: #fff; opacity: .9; }
.btn-o { background: transparent; color: var(--ink); }
.btn-o:hover { color: var(--ink); background: var(--panel); opacity: 1; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-red { background: var(--red); border-color: var(--red); }
.btn-light { background: #F5F5F2; border-color: #F5F5F2; color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.chip { display: inline-block; font-size: 14px; background: var(--panel); border-radius: 14px; padding: 6px 12px; text-decoration: none; }
.chip-w { background: #fff; }
a.chip:hover { background: var(--line); color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.more { font-size: 16px; font-weight: 600; text-decoration: none; }

/* Type */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--red); margin: 0; }
.eyebrow.sea { color: var(--sea-ink); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.h-hero { font-size: 72px; line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; }
.h-page { font-size: 56px; line-height: 1.03; font-weight: 600; letter-spacing: -0.03em; }
.h-sec { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.h-sub { font-size: 32px; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; }
.h-card { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.lede { font-size: 20px; line-height: 1.5; color: var(--muted); margin: 0; }
.body { font-size: 18px; line-height: 1.65; color: var(--text); }
.small { font-size: 14px; color: var(--muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head > div { display: flex; flex-direction: column; gap: 8px; }

/* Layout */
main.page { display: flex; flex-direction: column; gap: 96px; padding-bottom: 24px; }
.section { display: block; }
.band { padding: 72px 0; }
.band-grey { background: var(--panel); }
.band-sea { background: var(--sea); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--panel); border-radius: 28px; overflow: hidden; }
.split > div { padding: 56px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.tile { background: var(--panel); border-radius: 28px; padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.box { border: 1px solid var(--line); border-radius: 22px; }
.crumb { font-size: 14px; color: var(--muted); padding-top: 20px; padding-bottom: 20px; }
.crumb a { color: var(--muted); text-decoration: none; }

/* Machine images: drawings are made on white; multiply blends the white into the panel */
.mimg { mix-blend-mode: multiply; display: block; height: auto; }
.panel-img { background: var(--panel); border-radius: 22px; display: flex; align-items: center; justify-content: center; overflow: hidden; }

/* Machine card */
.mcard { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.mcard .panel-img { aspect-ratio: 1 / 1; }
.mcard .panel-img img { width: 86%; transition: transform .3s ease; }
.mcard:hover .panel-img img { transform: scale(1.03); }
.mcard .t { font-size: 18px; font-weight: 600; padding: 0 4px; }
.mcard .m { font-size: 14px; color: var(--muted); padding: 0 4px; margin-top: -8px; }
.mcard .sw { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 0 4px; font-size: 13px; color: var(--muted); }
.mcard .sw .dot + span:not(.dot) { margin-left: 2px; }
.dot { width: 14px; height: 14px; border-radius: 7px; border: 1px solid rgba(0,0,0,.18); display: inline-block; flex: none; }

/* Hero */
.hero { background: var(--panel); overflow: hidden; }
.hero .wrap { padding-top: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero .lede { max-width: 640px; font-size: 21px; }
.hero .lineup { max-width: 1440px; margin: 20px auto 0; padding-bottom: 16px; }
.hero .lineup { overflow: hidden; }
.hero .lineup img { width: 100%; height: auto; display: block; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.page-hero { background: var(--panel); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 48px; }
.page-hero .txt { display: flex; flex-direction: column; gap: 18px; }

/* Guide cards and guide pages */
.gcard { text-decoration: none; background: var(--panel); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.gcard .pic { height: 230px; display: flex; align-items: center; justify-content: center; padding: 24px 28px 4px; }
.gcard .pic img { max-width: 80%; max-height: 210px; width: auto; }
.gcard .txt { padding: 8px 28px 28px; display: flex; flex-direction: column; gap: 6px; }
.gcard .d { font-size: 16px; color: var(--muted); line-height: 1.45; }
.gcard .go { font-size: 15px; font-weight: 600; padding-top: 6px; }
.rank { font: 700 18px var(--typed); color: var(--red); }
.glance-row { display: grid; grid-template-columns: 48px 64px minmax(0, 1fr) 190px 24px; align-items: center; gap: 14px; padding: 10px 18px; border-top: 1px solid #EEECE7; text-decoration: none; }
.glance-row .pic { height: 48px; border-radius: 10px; background: var(--panel); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.glance-row .pic img { width: 88%; }
.glance-head { background: var(--panel); font-size: 13px; font-weight: 600; color: var(--muted); border-top: 0; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; scroll-margin-top: 90px; }
.pick .pic { position: relative; background: var(--panel); display: flex; align-items: center; justify-content: center; padding: 64px 32px 40px; min-height: 380px; }
.pick .pic img { width: 88%; }
.pick .num { position: absolute; top: 22px; left: 26px; font: 700 44px/1 var(--typed); color: var(--red); }
.pick .txt { padding: 36px 40px; display: flex; flex-direction: column; gap: 18px; }
.pros { background: var(--sea); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--text); }
.pros b { color: var(--sea-ink); }
.cons { background: var(--red-tint); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--text); }
.cons b { color: var(--red); }
.pros ul, .cons ul { margin: 0; padding-left: 18px; }
.row-pick { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; gap: 24px; border: 1px solid var(--line); border-radius: 22px; padding: 14px 28px 14px 14px; text-decoration: none; scroll-margin-top: 90px; }
.row-pick .pic { position: relative; height: 150px; border-radius: 16px; background: var(--panel); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.row-pick .pic img { width: 76%; }
.row-pick .num { position: absolute; top: 10px; left: 12px; font: 700 20px var(--typed); color: var(--red); }
.note { border: 1px dashed var(--line2); border-radius: 22px; padding: 18px 22px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.note b { color: var(--ink); }
.notice { background: var(--panel); border-radius: 14px; padding: 12px 18px; font-size: 14px; color: var(--text); }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.facts.f3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts > div { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts .v { font-size: 17px; font-weight: 600; }
.facts .k { font-size: 13px; color: var(--muted); }
.red { color: var(--red); }

/* Machine page */
.m-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.gallery .stage { position: relative; background: var(--panel); border-radius: 28px; aspect-ratio: 4 / 3.2; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery .stage img { width: 88%; }
.gallery .cap { position: absolute; left: 20px; bottom: 18px; background: #fff; border-radius: 16px; padding: 7px 12px; font-size: 14px; font-weight: 600; }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { aspect-ratio: 1 / 1; border-radius: 14px; border: 2px solid transparent; background: var(--panel); padding: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; mix-blend-mode: multiply; }
.m-side { display: flex; flex-direction: column; gap: 22px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ctile { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font: 500 13px var(--sans); color: var(--ink); text-align: center; }
.ctile[aria-pressed="true"] { border: 2px solid var(--ink); }
.ctile .dot { width: 30px; height: 30px; border-radius: 15px; }
.price-box { background: var(--panel); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.sticky-bar { position: sticky; top: 64px; z-index: 15; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; }
.sticky-bar .wrap { height: 60px; display: flex; align-items: center; gap: 24px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; flex: 1; font-size: 15px; font-weight: 500; scrollbar-width: none; }
.tabs a { text-decoration: none; padding: 8px 14px; border-radius: 18px; white-space: nowrap; }
.tabs:not(.spy) a:first-child, .tabs a.on { background: var(--ink); color: #fff; }
.tabs a { transition: background .15s, color .15s; }
.tabs a:not(.on):hover { background: var(--panel); }
.m-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.aside { background: var(--panel); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 140px; }
.aside h2 { font-size: 15px; font-weight: 600; color: var(--red); }
.aside .k { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.icard { border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.icon { width: 40px; height: 40px; border-radius: 20px; background: var(--red-tint); display: flex; align-items: center; justify-content: center; flex: none; }
.icon.sea { background: var(--sea); }
.tbl { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.tbl .hd { padding: 14px 20px; background: var(--panel); font-size: 15px; font-weight: 600; }
.tbl .r { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 16px; }
.tbl .r > :first-child { color: var(--muted); }
.list-notes { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--text); }
.src { font-size: 13px; color: var(--muted); }
.src a { color: var(--muted); }
.shop { background: #fff; border-radius: 22px; overflow: hidden; }
.shop .hd { padding: 18px 22px; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.shop .it { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; border-top: 1px solid #EEECE7; text-decoration: none; }
.shop .it .p { flex: none; height: 40px; padding: 0 16px; border-radius: 20px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; }
.shop .it .p.o { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.scheme { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.scheme .sw { display: flex; }
.scheme .sw span { width: 26px; height: 26px; border-radius: 13px; border: 2px solid #fff; margin-left: -6px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.scheme .sw span:first-child { margin-left: 0; }
.bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; width: 120px; flex: none; }
.bar i { display: block; height: 100%; background: var(--sea-ink); }

/* Machines index filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.filters input[type=search] { flex: 1 1 260px; height: 50px; padding: 0 20px; border-radius: 25px; border: 1px solid var(--line2); font: 16px var(--sans); color: var(--ink); background: #fff; }
.filters select { height: 50px; padding: 0 16px; border-radius: 25px; border: 1px solid var(--line2); font: 15px var(--sans); color: var(--ink); background: #fff; }
.count { font-size: 15px; color: var(--muted); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.input { height: 52px; padding: 0 20px; border-radius: 26px; border: 1px solid var(--line2); font: 16px var(--sans); color: var(--ink); background: #fff; width: 100%; }
.input.typed { font-family: var(--typed); }
select.input { padding: 0 16px; }

/* Prose pages (Why, Learn) */
.prose { max-width: 720px; width: 100%; min-width: 0; margin: 0 auto; font-size: 19px; line-height: 1.7; color: var(--text); overflow-wrap: break-word; }
.prose h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 48px 0 12px; }
.prose h3 { font-size: 22px; color: var(--ink); margin: 32px 0 8px; }
.prose a { color: var(--red); }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.letter { max-width: 760px; margin: 0 auto; background: #FBFAF6; border: 1px solid var(--line); border-radius: 22px; padding: 56px; font: 18px/1.75 var(--typed); color: var(--ink); }
.letter p { margin: 0 0 18px; }

/* Footer */
.site-foot { margin-top: 96px; background: var(--panel); }
.site-foot .wrap { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; font-size: 14px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols b { font-weight: 600; }
.foot-cols a { color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.foot-social { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; font-size: 14px; }
.foot-social b { font-weight: 600; margin-right: 4px; }
.foot-social a { color: var(--muted); text-decoration: none; }
.foot-social a:hover { color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #DEDBD4; padding-top: 20px; font-size: 13px; color: var(--muted); }

/* Phone */
@media (max-width: 900px) {
  .nav, .head-tools .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .h-hero { font-size: 44px; }
  .h-page { font-size: 40px; }
  .h-sec { font-size: 30px; }
  .h-sub { font-size: 26px; }
  .g2, .g3, .split, .page-hero .wrap, .m-top, .m-body, .pick { grid-template-columns: minmax(0, 1fr); }
  .g4, .g5, .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile, .split > div { padding: 32px 24px; }
  .band { padding: 56px 0; }
  main.page { gap: 64px; }
  .glance-row { grid-template-columns: 36px 56px minmax(0, 1fr); }
  .glance-row .hide-s { display: none; }
  .row-pick { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .row-pick .end { align-items: flex-start !important; }
  .pick .txt { padding: 24px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .facts.f3 { grid-template-columns: minmax(0, 1fr); }
  .facts.f3 > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .aside { position: static; }
  .tbl .r { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .letter { padding: 28px 22px; font-size: 16px; }
  .sticky-bar .mini { display: none; }
  .hero .lineup .stage { width: 150%; margin-left: -25%; }
  .mcard .sw > span:not(.dot) { flex-basis: 100%; }
  .scheme .bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mcard .panel-img img { transition: none; } }

/* Colour rarity */
.rchip { display: inline-block; font: 600 11.5px/1 var(--sans); padding: 4px 9px; border-radius: 10px; background: var(--panel); color: var(--muted); white-space: nowrap; vertical-align: 2px; }
.rchip.top { background: var(--sea); color: var(--sea-ink); }
.rchip.hot { background: var(--red-tint); color: var(--red); }
.ctile .rchip { font-size: 10.5px; padding: 3px 7px; }
.rare-line { font-size: 15px; line-height: 1.5; color: var(--text); background: var(--red-tint); border-radius: 14px; padding: 14px 16px; }
.rare-line b { color: var(--red); }
.rare-line a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.once-box { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.chip.once { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); }
.chip.once i { width: 12px; height: 12px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.scale { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); background: var(--panel); border-radius: 18px; padding: 20px; }
.scale b { color: var(--ink); font-size: 15px; }
.scale span { display: flex; gap: 10px; align-items: center; }
.scale .rchip { min-width: 96px; text-align: center; }
.colour-grid { align-items: start; gap: 40px; }
@media (max-width: 900px) { .colour-grid { gap: 24px; } }

/* Search panel */
.search-pop { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(29,29,31,.10); padding: 20px 0 28px; }
.search-pop .wrap { display: flex; flex-direction: column; gap: 14px; max-width: 760px; height: auto; align-items: stretch; }
.sbox { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--ink); padding: 6px 2px 10px; color: var(--muted); }
.sbox input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 24px/1.2 var(--sans); color: var(--ink); background: transparent; }
.sbox input::-webkit-search-cancel-button { display: none; }
.sclose { border: 0; background: var(--panel); color: var(--ink); font: 600 13px var(--sans); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.sres { display: flex; flex-direction: column; gap: 14px; max-height: 62vh; overflow: auto; }
.sres:empty { display: none; }
.sgroup { display: flex; flex-direction: column; }
.sgroup > b { font-size: 12px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .06em; padding: 0 12px 4px; }
.sgroup a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sgroup a:hover, .sgroup a.on { background: var(--panel); color: var(--ink); }
.sgroup .st { font-size: 17px; font-weight: 600; }
.sgroup .ss { font-size: 14px; color: var(--muted); text-align: right; }
.sall { font-size: 15px; font-weight: 600; text-decoration: none; padding: 4px 12px; }
.snone { margin: 0; color: var(--muted); padding: 0 12px; }
.squick { display: flex; flex-direction: column; gap: 2px; }
.squick b { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 6px; }
.squick a { font-size: 17px; font-weight: 500; text-decoration: none; padding: 6px 0; }
@media (max-width: 900px) { .sbox input { font-size: 20px; } .sgroup .ss { display: none; } .search-pop { max-height: calc(100vh - 64px); overflow: auto; } }

/* Machine page: how it works and where it came from */
.works { gap: 24px; align-items: stretch; }
.wcard { background: #fff; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.wcard .pic { display: flex; justify-content: center; background: var(--panel); border-radius: 16px; padding: 12px; }
.wcard .pic img { width: 78%; height: auto; mix-blend-mode: multiply; }
.wcard .txt { display: flex; flex-direction: column; gap: 8px; }
.wcard .txt .eyebrow { margin: 0; }
.wcard .h-card { margin: 0; }
.wcard .small { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.wcard .chips { margin: 4px 0 6px; }
.wcard .btn { align-self: flex-start; }
.wcard.tree { justify-content: flex-start; }
.mini-tree { width: 100%; height: auto; }
.mini-tree .yl { font: 600 11px var(--sans); fill: var(--muted); text-anchor: middle; }
.mini-tree .sl { font: 600 11.5px var(--sans); fill: var(--ink); text-anchor: middle; }
.mini-tree .me { font: 600 12.5px var(--sans); fill: var(--red); }

/* Journey links: before-you-buy row, parts teaser, milestones, catalog lines, maker tabs, part links */
.before-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 20px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; font-size: 15px; }
.before-row b { font-weight: 600; color: var(--red); }
.before-row a { font-weight: 600; text-decoration: none; }
.parts-teaser { display: flex; flex-direction: column; gap: 12px; background: var(--panel); border-radius: 28px; padding: 24px; color: var(--ink); }
.parts-teaser img { mix-blend-mode: multiply; }
.parts-teaser span { font-size: 15px; color: var(--text); }
.parts-teaser b { display: block; font-size: 18px; color: var(--ink); }
.parts-teaser:hover b { color: var(--red); }
.ms-card .panel-img { aspect-ratio: 4/3; }
.line-row { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.line-row .lh { display: flex; flex-direction: column; gap: 4px; }
.line-row .lh i { width: 36px; height: 7px; border-radius: 4px; }
.line-row .lh b { font-size: 17px; }
.line-row .chips { align-content: flex-start; }
.line-row .chip .muted { font-weight: 500; }
.maker-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.maker-tabs a { font-size: 15px; font-weight: 600; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.maker-tabs a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.maker-tabs a:last-child { border: 0; color: var(--muted); }
.part-link { color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.part-link:hover { color: var(--red); }
.part-link.go { color: var(--red); font-weight: 600; font-size: .92em; text-decoration: none; white-space: nowrap; }
@media (max-width: 900px) {
  .line-row { grid-template-columns: 1fr; gap: 12px; }
  .milestones { grid-template-columns: repeat(2, 1fr) !important; }
}
.mini-tree .yl { font-size: 13px; }
.mini-tree .sl { font-size: 13px; font-weight: 500; fill: var(--muted); }
.mini-tree .sl.ms { font-weight: 600; fill: var(--ink); }
.mini-tree .me { font-size: 15px; }
.st-tile { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--panel); border-radius: 16px; padding: 12px; color: var(--ink); }
.st-tile img { width: 96px; height: 72px; object-fit: contain; mix-blend-mode: multiply; }
.st-tile > span { display: flex; flex-direction: column; gap: 3px; }
.st-tile .k { font-size: 12px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.st-tile b { font-size: 16px; }
.st-tile .small { font-size: 13.5px !important; line-height: 1.45; }
.st-tile:hover b { color: var(--red); }
.squick[hidden], .search-pop[hidden] { display: none; }
[id] { scroll-margin-top: 140px; }
.era-groups { display: flex; flex-direction: column; gap: 14px; }
.era-group { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
.era-group .eg { font: 700 13px var(--typed); color: var(--red); padding-top: 7px; }
@media (max-width: 900px) { .era-group { grid-template-columns: 1fr; gap: 6px; } }
.picker { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--sea); border-radius: 28px; padding: 32px 36px; }
.picker .eyebrow { color: var(--sea-ink); margin: 0; }
.pick-row { display: flex; flex-direction: column; gap: 10px; }
.pick-row select { width: 100%; background: #fff; }
.pick-row a { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .picker { grid-template-columns: 1fr; padding: 24px; gap: 16px; } }
.mini-tree.phone { display: none; }
@media (max-width: 900px) { .mini-tree.wide { display: none; } .mini-tree.phone { display: block; } }

/* Compare (compare.html) and the compare tray */
.cmp-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line2); position: relative; margin: 0; cursor: pointer; transition: background .15s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
.switch input:checked { background: var(--red); }
.switch input:checked::after { left: 21px; }
.cmp-head, .cmp-row, .cmp-sticky .in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.cmp-cells { display: grid; gap: 24px; }
.cmp-head { padding: 32px 0 24px; }
.cmp-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; min-width: 0; }
.cmp-col select { width: 100%; max-width: 300px; height: 44px; border: 1.5px solid var(--line2); border-radius: 22px; padding: 0 36px 0 16px; font: 500 15px var(--sans); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D1D1F' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center no-repeat; appearance: none; -webkit-appearance: none; color: var(--ink); cursor: pointer; }
.cmp-img { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; background: var(--panel); border-radius: 18px; }
.cmp-img img { width: 82%; height: 82%; object-fit: contain; }
.cmp-col h2 { margin: 6px 0 0; font-size: 24px; line-height: 1.2; font-weight: 600; }
.cmp-col h2 a { text-decoration: none; }
.cmp-col .small { margin: 0; }
.cmp-sticky { position: sticky; top: 64px; z-index: 15; height: 0; }
.cmp-sticky .in { position: absolute; left: 0; right: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 12px 0; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .15s, transform .15s; }
.cmp-sticky.show .in { opacity: 1; transform: none; }
.cmp-sticky b { text-align: center; font-size: 16px; font-weight: 600; }
.cmp-sec { padding-top: 40px; }
.cmp-sec h3 { margin: 0; padding-bottom: 12px; font-size: 28px; font-weight: 600; border-bottom: 2px solid var(--ink); }
.cmp-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cmp-lbl { display: flex; flex-direction: column; gap: 2px; }
.cmp-lbl b { font-size: 16px; font-weight: 600; }
.cmp-lbl span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.cmp-cell { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.cmp-cell .v { font-size: 17px; line-height: 1.4; color: var(--ink); }
.cmp-cell .n { font-size: 13.5px; line-height: 1.45; color: var(--text); }
.cmp-cell .s { font-size: 12px; color: var(--muted); }
.cmp-cell .s a { color: var(--muted); }
.cmp-todo, .cmp-none { font-size: 14px; color: var(--muted); font-style: italic; }
.cmp-na { color: var(--line2); font-size: 18px; }
.cmp-differ { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--red); background: var(--red-tint); border-radius: 10px; padding: 2px 8px; }
#cmp-rows.diff-only .cmp-row.same { display: none; }
.cmp-sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cmp-set { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border-radius: 18px; background: var(--panel); text-decoration: none; }
.cmp-set b { font-size: 17px; font-weight: 600; }
.cmp-set span { font-size: 14px; color: var(--muted); }
.cmp-set:hover { background: var(--line); }
.cmp-add { position: absolute; top: 12px; right: 12px; z-index: 2; height: 32px; padding: 0 12px; border-radius: 16px; border: 1.5px solid var(--line2); background: rgba(255,255,255,.92); font: 600 13px var(--sans); color: var(--ink); cursor: pointer; }
.cmp-add:hover { border-color: var(--ink); }
.cmp-add[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#mgrid > div { position: relative; }
#mgrid .cmp-add { opacity: 0; transition: opacity .15s; }
#mgrid > div:hover .cmp-add, #mgrid .cmp-add:focus-visible, #mgrid .cmp-add[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { #mgrid .cmp-add { opacity: 1; } }
.btns .cmp-btn { position: static; height: 50px; padding: 0 24px; border-radius: 25px; font-size: 16px; }
.cmp-tray { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 30; pointer-events: none; }
.cmp-tray .wrap { pointer-events: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 860px; background: var(--ink); color: #fff; border-radius: 28px; padding: 10px 10px 10px 24px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cmp-tray b { font-size: 15px; }
.cmp-tray .cmp-chips { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; align-items: center; min-width: 0; }
.cmp-tray .small { color: #BDB9B2; }
.cmp-chip { display: inline-flex; align-items: center; gap: 4px; background: #3A3A3C; border-radius: 16px; padding: 4px 4px 4px 12px; font-size: 14px; }
.cmp-chip button { border: 0; background: transparent; color: #BDB9B2; font-size: 18px; line-height: 1; width: 24px; height: 24px; cursor: pointer; border-radius: 12px; }
.cmp-chip button:hover { color: #fff; background: #555; }
.cmp-tray .btn { height: 40px; }
.cmp-tray .btn[aria-disabled="true"] { opacity: .45; cursor: default; }
.cmp-with { display: flex; flex-direction: column; gap: 8px; }
.cmp-with a { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; text-decoration: none; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cmp-with a:hover { border-color: var(--ink); }
.spec-src { font-size: 12px; color: var(--muted); }
.spec-src a { color: var(--muted); }
@media (max-width: 720px) {
  .cmp-head, .cmp-row, .cmp-sticky .in { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cmp-head > .cmp-lbl, .cmp-sticky .cmp-lbl { display: none; }
  .cmp-cells { gap: 14px; }
  .cmp-lbl { text-align: center; }
  .cmp-col h2 { font-size: 19px; }
  .cmp-col select { font-size: 14px; padding: 0 30px 0 12px; background-position: right 12px center; }
  .cmp-cell .v { font-size: 15.5px; }
  .cmp-sec h3 { font-size: 22px; }
  .cmp-tray { bottom: 10px; }
  .cmp-tray .wrap { margin: 0 10px; padding: 10px 10px 10px 18px; border-radius: 22px; }
  .cmp-tray .cmp-chip { font-size: 13px; }
}
.cmp-cell .v.long { font-size: 15px; line-height: 1.5; color: var(--text); }
.cmp-img img { mix-blend-mode: multiply; }
.cmp-empty { color: var(--muted); font-size: 15px; border: 2px dashed var(--line2); background: transparent; }

/* Manuals */
.manuals { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.manual { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; color: var(--ink); }
.manual:hover { border-color: var(--ink); }
.manual .cover { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: var(--panel); border-radius: 12px; overflow: hidden; color: var(--muted); margin-bottom: 4px; }
.manual .cover img { width: 100%; height: 100%; object-fit: cover; }
.manual .t { font-size: 16px; font-weight: 600; line-height: 1.3; }
.manual .m { font-size: 13px; color: var(--muted); line-height: 1.4; }
.manual .go { font-size: 14px; font-weight: 600; color: var(--red); margin-top: auto; padding-top: 4px; }
.manual .cr { font-size: 12px; color: var(--muted); }
.lib-brand { padding-top: 48px; }

/* sign-ups */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.signup .input { flex: 1 1 240px; }
.signup .su-msg { flex-basis: 100%; margin: 0; min-height: 0; }
.signup .su-msg:empty { display: none; }
.signup.done .input, .signup.done .btn, .signup.done .field, .signup.done .check, .signup.done .grid { display: none; }
.signup.done .su-msg { font-size: 16px; color: var(--ink); }
.signup .su-msg.err { color: var(--red); }
.signup.compact .input { height: 44px; }
.signup.compact .btn { height: 44px; }
.signup.letters { align-items: stretch; }
.signup.letters .input { flex: none; }
.signup .check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.foot-offers, .dispatch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 8px 0 40px; margin-bottom: 40px; border-bottom: 1px solid #DEDBD4; }
.dispatch .signup .input, .foot-offers .signup .input { background: #fff; }
@media (max-width: 860px) { .foot-offers, .dispatch { grid-template-columns: 1fr; gap: 16px; } }

/* manual library, one maker */
.mlist { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.mrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.mrow:first-child { border-top: 0; }
.mrow > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mrow .t { font-weight: 600; text-decoration: none; }
.mrow .go { color: var(--red); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mrow .small a { color: var(--ink); }
@media (max-width: 640px) { .mrow { grid-template-columns: 1fr; gap: 6px; } }

/* typeface samples on machine pages */
.specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.spec { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.spec img { width: 100%; height: auto; display: block; }
.spec figcaption { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .specs { grid-template-columns: minmax(0, 1fr); } }

.prose ul.shops { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.prose ul.shops li { font-size: 16px; line-height: 1.5; }
.src-line { margin: 4px 0 0; font-size: 13px; color: var(--muted); } .src-line a { color: var(--muted); }

.lore { display: flex; flex-direction: column; gap: 12px; }
.lore ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.lore li { font-size: 17px; line-height: 1.5; border-top: 1px solid var(--line); padding-top: 12px; }
.lore li.who { display: grid; grid-template-columns: 96px 1fr; gap: 0 24px; align-items: start; }
.lore .face { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--panel); display: block; }
.lore .face.none { display: flex; align-items: center; justify-content: center; border: 1px solid var(--line2); color: var(--muted); font: 700 24px var(--typed); box-sizing: border-box; }
@media (max-width: 600px) { .lore li.who { grid-template-columns: 60px 1fr; gap: 0 14px; } .lore .face { width: 60px; height: 60px; } .lore .face.none { font-size: 17px; } }
.lore details.myths { border-top: 1px solid var(--line); padding-top: 10px; }
.lore details.myths summary { cursor: pointer; }
.lore details.myths ul { margin-top: 12px; }
.lore details.myths li { font-size: 15px; }
.vchip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; background: var(--sea); color: var(--sea-ink); vertical-align: 2px; }
.vchip.warn { background: var(--red-tint); color: var(--red); }

/* What's it worth table */
.vwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 18px; }
.vtable { width: 100%; border-collapse: collapse; font-size: 16px; }
.vtable th { text-align: left; font-size: 14px; font-weight: 600; color: var(--muted); padding: 14px 18px; background: var(--panel); white-space: nowrap; }
.vtable td { padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.vtable td:first-child a { font-weight: 600; text-decoration: none; }
.vtable td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- top menu + findability ---- */
/* The full row (logo, five links, search, Identify) needs about 1,040px with the long button label and about 970px with
   "Identify". Links never wrap: the button shortens under 1,100px and the header switches to the menu button under 1,000px. */
.nav { gap: 22px; flex: none; }
.nav a, .head-tools .btn { white-space: nowrap; }
.id-short { display: none; }
@media (max-width: 1100px) { .id-long { display: none; } .id-short { display: inline; } }
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .id-long { display: inline; } .id-short { display: none; }
}
@media (min-width: 1001px) { .mobile-nav.open { display: none; } }
.mobile-nav { max-height: calc(100vh - 64px); overflow-y: auto; }
.mobile-nav a[aria-current="page"] { color: var(--red); }
.mobile-nav .m-search { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.mobile-nav .m-tools { display: flex; flex-direction: column; padding-top: 16px; }
.mobile-nav .m-tools a { padding: 9px 0; font-size: 15px; color: var(--muted); border-bottom: 0; }
.mobile-nav .m-tools .btn { display: flex; height: 48px; margin-bottom: 8px; padding: 0 18px; font-size: 16px; color: #fff; border: 1.5px solid var(--ink); }

/* ---- repair-shop finder ---- */
.finder-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.finder-form .input, .finder-form .btn { height: 60px; border-radius: 30px; }
.finder-form .fz { width: 200px; font-size: 22px; letter-spacing: .06em; padding: 0 24px; }
.finder-form .fr { width: auto; min-width: 190px; font-size: 17px; }
.finder-form .btn { padding: 0 28px; font-size: 17px; }
.finder-form .btn-o { background: #fff; }
.finder-msg { margin: 0; font-size: 15px; }
.finder-msg:empty { display: none; }
.finder-msg.err { color: var(--red); }
.finder { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; }
.finder-map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
#shopmap { height: 640px; }
.finder-side { display: flex; flex-direction: column; gap: 14px; height: 640px; min-height: 0; }
.finder-head { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.finder-head b { color: var(--ink); }
.finder-head .btns { justify-content: flex-start; margin-top: 12px; gap: 8px; }
.finder-head .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.finder-list { list-style: none; margin: 0; padding: 0 4px 0 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.finder-list:empty { display: none; }
.finder-note { margin: 14px 0 0; }
.shop-row { display: flex; flex-direction: column; gap: 5px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.finder-list .shop-row { cursor: pointer; }
.finder-list .shop-row:hover { border-color: var(--line2); background: #FAFAF8; }
.shop-row.on { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.sr-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.sr-name { font-size: 17px; font-weight: 600; line-height: 1.3; }
.sr-dist { flex: none; font: 700 14px var(--typed); color: var(--red); }
.sr-dist:empty { display: none; }
.sr-where { font-size: 15px; color: var(--text); }
.sr-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sr-st { font-size: 13px; color: var(--muted); }
.sr-st.sea { color: var(--sea-ink); font-weight: 600; }
.sr-serv { font-size: 14px; color: var(--muted); }
.sr-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; font-weight: 600; }
.sr-links a { text-decoration: none; }
.sr-links a:hover { text-decoration: underline; }
ul.shop-grid, .prose ul.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.prose ul.shops li.shop-row { font-size: 15px; }
.shop-country > summary { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; padding: 16px 0; border-top: 1px solid var(--line); }
.shop-country > summary::-webkit-details-marker { display: none; }
.shop-country > summary h3 { margin: 0; }
.shop-country > summary::after { content: "+"; margin-left: auto; font-size: 24px; line-height: 1; }
.shop-country[open] > summary::after { content: "\2013"; }
.tip-card { display: flex; flex-direction: column; gap: 10px; }
.tip-card .pic { background: var(--panel); border-radius: 22px; height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tip-card .pic img { max-height: 84%; object-fit: contain; }
.tip-card h3 { margin: 10px 0 0; }
.tip-card p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.55; }
.long-guide { border: 1px solid var(--line); border-radius: 22px; padding: 0 28px; }
.long-guide > summary { cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 24px 0; list-style: none; }
.long-guide > summary::-webkit-details-marker { display: none; }
.long-guide > summary .h-card::after { content: " +"; color: var(--red); }
.long-guide[open] > summary .h-card::after { content: " \2013"; }
.long-guide[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.finder-page .leaflet-container { font-family: var(--sans); }
.finder-page .leaflet-popup-content-wrapper { border-radius: 14px; }
.fpop { display: flex; flex-direction: column; gap: 10px; font-size: 14px; max-height: 240px; overflow-y: auto; }
.fpop b { display: block; font-size: 15px; }
.fpop .sr-links { font-size: 14px; }
.fpin-you { width: 18px; height: 18px; border-radius: 9px; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink); }
@media (max-width: 900px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  #shopmap { height: 380px; }
  .finder-side { height: auto; }
  .finder-list { overflow: visible; padding: 0; }
  .finder-form .fz { flex: 1 1 140px; width: auto; min-width: 0; }
  .finder-form .fr { flex: 1 1 160px; min-width: 0; }
  .finder-form .btn { flex: 1 1 100%; }
  .long-guide { padding: 0 18px; }
}

/* ---- manual library (ux-manuals) ---- */
.mlib-hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding-top: 48px; padding-bottom: 40px; }
.mlib-search { display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 26px; background: #fff; border: 1.5px solid var(--line2); border-radius: 34px; color: var(--muted); box-shadow: 0 10px 30px rgba(29,29,31,.06); margin-top: 6px; }
.mlib-search:focus-within { border-color: var(--ink); color: var(--ink); }
.mlib-search svg { width: 24px; height: 24px; flex: none; }
.mlib-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 21px/1.2 var(--sans); color: var(--ink); }
.mlib-search input::placeholder { color: var(--muted); }
.mlib-try { align-items: center; }
.mlib-try .small { margin-right: 2px; }
.mlib-try button { border: 1px solid var(--line); cursor: pointer; font-family: var(--sans); color: var(--ink); }
.mlib-try button:hover { background: var(--line); }
.mlib-art img { display: block; width: 100%; height: auto; }
.mstack { position: relative; width: 100%; aspect-ratio: 720 / 480; }
.mstack img { position: absolute; height: 62.5%; width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(29,29,31,.12), 0 12px 26px rgba(29,27,24,.22); }
.mlib-res { display: flex; flex-direction: column; gap: 14px; }
.mlib-res[hidden] { display: none; }
.mlib-res .mres-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mlib-res .mres-hd b { font-size: 20px; font-weight: 600; }
.mlib-res .mrow .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--sea-ink); background: var(--sea); border-radius: 8px; padding: 1px 8px; margin-left: 8px; vertical-align: 2px; }
.mlib-res .more { align-self: center; }
.mlib-skim { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mskim { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; background: var(--panel); border-radius: 22px; text-decoration: none; color: var(--ink); }
a.mskim:hover { color: var(--ink); background: var(--line); }
.mskim svg { width: 96px; height: 58px; margin-bottom: 6px; }
.mskim h2 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.mskim p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text); }
.mskim .go { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 600; color: var(--red); }
.mlib-about { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.mlib-about p { margin: 0; color: var(--text); line-height: 1.6; }
@media (max-width: 900px) {
  .mlib-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mlib-search { height: 60px; padding: 0 20px; }
  .mlib-search input { font-size: 18px; }
  .mlib-skim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mlib-art { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) { .mlib-art { display: none; } .mlib-skim { grid-template-columns: minmax(0, 1fr); } .mskim { padding: 22px 20px; } }

/* ---- care & skim (ux-care) ---- */
/* Skim cards: the short version at the top of a guide (content/learn/skim/<slug>.yaml) */
.skim { display: flex; flex-direction: column; gap: 24px; }
.skim-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.skim-top > div { display: flex; flex-direction: column; gap: 8px; }
.skim-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.skim-card { background: var(--panel); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.skim-card:hover { color: var(--ink); }
.skim-card:hover .go, .hub-card:hover .go, .qfix:hover .go { color: var(--red); }
.skim-card .txt { padding: 16px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.skim-card .n { color: var(--red); font-weight: 700; font-size: 13px; }
.skim-h { font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.skim-card .d { font-size: 15px; line-height: 1.45; color: var(--text); }
.skim-card .go { font-size: 14px; font-weight: 600; margin-top: auto; padding-top: 8px; }
/* pictures on skim and hub cards: a ringed part on our drawings, or a line drawing */
.pic.spot, .pic.illus { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.pic.spot img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pic.illus img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 14px 18px 4px; }
.pic.spot.mach { display: flex; align-items: center; justify-content: center; }
.pic.spot.mach img { width: auto; max-width: 80%; max-height: 86%; height: auto; object-fit: contain; }
.full-label { border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: -24px; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 88px; }
.prose h2:target, .prose h3:target { animation: skim-flash 2.4s ease-out; border-radius: 8px; }
@keyframes skim-flash { 0%, 30% { background: var(--red-tint); box-shadow: 0 0 0 8px var(--red-tint); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
@media (max-width: 1100px) { .skim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  /* phone: one compact row per card, picture left, words right */
  .skim-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .skim-card { flex-direction: row; border-radius: 18px; }
  .skim-card .pic.spot, .skim-card .pic.illus { flex: 0 0 118px; aspect-ratio: auto; min-height: 100%; }
  .skim-card .pic.illus img { padding: 10px; }
  .skim-card .txt { padding: 14px 16px 16px; gap: 4px; }
  .skim-h { font-size: 18px; }
  .skim-card .d { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .prose h2:target, .prose h3:target { animation: none; } }

/* Care & repair hub */
.care-hero { background: var(--panel); }
.care-hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.care-hero .txt { display: flex; flex-direction: column; gap: 18px; }
.care-jump { margin-top: 6px; }
.care-jump .chip { background: #fff; font-weight: 600; }
.care-fig { position: relative; margin: 0; }
.care-fig img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.care-fig figcaption { margin-top: 6px; text-align: right; }
.co { position: absolute; width: 0; height: 0; text-decoration: none; color: var(--ink); }
.co i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,255,255,.85); }
.co span { position: absolute; top: 0; transform: translateY(-50%); white-space: nowrap; background: #fff; border-radius: 14px; padding: 6px 12px; font-size: 14px; font-weight: 600;
  box-shadow: 0 1px 2px rgba(29,29,31,.08), 0 6px 18px rgba(29,29,31,.10); }
.co.right span { left: 18px; }
.co.left span { right: 18px; }
.co.up span { left: 0; top: auto; bottom: 16px; transform: translateX(-50%); }
.co:hover span, .co:focus-visible span { color: var(--red); }
.hub-grid { gap: 20px; }
.hub-card { background: var(--panel); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.hub-card:hover { color: var(--ink); }
.hub-card .txt { padding: 18px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hub-card .h-card { font-size: 21px; }
.hub-card.big .h-card { font-size: 24px; }
.hub-card .d { font-size: 15px; line-height: 1.45; color: var(--muted); }
.hub-card .go { font-size: 15px; font-weight: 600; margin-top: auto; padding-top: 6px; }
.qfix { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.qfix:hover { color: var(--ink); border-color: var(--line2); }
.qfix .sym { font-weight: 700; font-size: 18px; }
.qfix .sym::before { content: "› "; color: var(--red); }
.qfix .d { font-size: 15px; line-height: 1.45; color: var(--text); }
.qfix .go { font-size: 14px; font-weight: 600; margin-top: auto; }
@media (max-width: 1100px) { .care-hero .wrap { grid-template-columns: minmax(0, 1fr); } .hub-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .qfix-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
@media (max-width: 640px) {
  .co span { font-size: 12px; padding: 4px 9px; }
  .co i { width: 12px; height: 12px; left: -6px; top: -6px; }
  .co.right span { left: 12px; } .co.left span { right: 12px; } .co.up span { bottom: 12px; }
  .hub-grid.g4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hub-card { flex-direction: row; border-radius: 18px; }
  .hub-card .pic { flex: 0 0 118px; aspect-ratio: auto; min-height: 100%; }
  .hub-card .pic.illus img { padding: 10px; }
  .hub-card .txt { padding: 14px 16px 16px; gap: 4px; }
  .hub-card .h-card, .hub-card.big .h-card { font-size: 18px; }
  .hub-card .d { font-size: 14px; }
}

/* ---- rarity rethink ---- */
.rarity-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 22px; margin-bottom: 8px; }
.rarity-box .rv { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.rarity-box .rev { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rarity-box .rev > div { display: flex; flex-direction: column; gap: 4px; background: var(--panel); border-radius: 18px; padding: 16px 18px; }
.rarity-box .rev .k, .rplot-row .k { font-size: 13px; color: var(--muted); }
.rarity-box .rev b { font-size: 22px; font-weight: 600; }
.rplots { display: flex; flex-direction: column; gap: 14px; }
.rplot-row { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 900px) {
  .rarity-box { padding: 20px; }
  .rarity-box .rev { grid-template-columns: minmax(0, 1fr); }
}
.mcard .rchip { align-self: flex-start; margin-top: 2px; }

/* ---- machine pitch (write-up at the top of The story) ---- */
.pitch { display: flex; flex-direction: column; gap: 14px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.pitch .pitch-h { font-size: 36px; max-width: 22em; text-wrap: balance; }
.pitch-text { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.pitch-text p { margin: 0; }
.pitch-gtk { background: var(--sea); border-radius: 18px; padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.pitch-gtk b { color: var(--sea-ink); font-size: 15px; }
.pitch-gtk ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; color: var(--text); }
@media (max-width: 900px) { .pitch .pitch-h { font-size: 28px; } }

/* ---- rarity fixes (Nov 25) ---- */
.rarity-box .rev.wp4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .rarity-box .rev.wp4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .rarity-box .rev.wp4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- ux-nav: film props and cookie consent (Nov 25) ---- */
.vchip.screen { background: var(--panel); color: var(--ink); border: 1px solid var(--line2); }
.lore .screen-h { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.prose ul.on-screen { list-style: none; padding-left: 0; }
.prose ul.on-screen li { margin-bottom: 14px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px rgba(29, 29, 31, .12); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 15px; line-height: 1.45; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent p a { color: var(--ink); }
.consent .btns { display: flex; gap: 10px; }
.consent .btn { height: 40px; padding: 0 20px; font-size: 15px; }
/* ---- Atlas Typed ---- */
/* The site's own typed voice: Courier Prime softened like ink spread, on a tighter cell (fonts/atlas-typed/, OFL) */
@font-face { font-family: "Atlas Typed"; src: url("fonts/AtlasTyped-Book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atlas Typed"; src: url("fonts/AtlasTyped-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---- ux-nav ---- */
.next-steps .next-tile { background: #fff; border: 1px solid var(--line); padding: 24px; gap: 8px; text-decoration: none; }
.next-steps .next-tile .go { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--ink); }
.next-steps .next-tile:hover { border-color: var(--ink); }
.nf-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; }
.nf-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; min-width: 0; }

/* ---- ux-nav: machine page layout (Nov 25) ---- */
/* one grid: gallery top left, the side column on the right (its buy box follows the reader down), the page below the gallery */
.sticky-bar.m-tabs { margin-top: 0; border-top: 0; }
.m-page { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; }
.m-page > .cw-gallery { grid-column: 1; grid-row: 1; min-width: 0; }
.m-page > .m-side { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; }
.m-page > .m-main { grid-column: 1; grid-row: 2; min-width: 0; padding-top: 72px; display: flex; flex-direction: column; gap: 56px; }
.buy-box { gap: 8px; }
.buy-btns { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 10px; }
.btn.cmp-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
/* colorway gallery */
.cw-gallery .stage { aspect-ratio: 4 / 3; }
.cw-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 21px; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); color: var(--ink); font: 400 26px/1 var(--sans); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.cw-nav:hover { background: #fff; }
.cw-nav.prev { left: 14px; } .cw-nav.next { right: 14px; }
.cw-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; font-size: 15px; }
.cw-cap b { font-size: 17px; font-weight: 600; }
.cw-cap [data-cw-count] { white-space: nowrap; }
.cw-row { position: relative; margin-top: 14px; }
.cw-strip { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 5); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cw-strip::-webkit-scrollbar { display: none; }
.cw { scroll-snap-align: start; border: 0; background: none; padding: 0 0 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 500 13px/1.3 var(--sans); color: var(--ink); text-align: center; min-width: 0; }
.cw-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; background: var(--panel); border: 2px solid transparent; display: flex; align-items: center; justify-content: center; padding: 6px; }
.cw-img img { width: 100%; mix-blend-mode: multiply; }
.cw:hover .cw-img { border-color: var(--line2); }
.cw[aria-pressed="true"] .cw-img { border-color: var(--ink); }
.cw-lbl:empty { display: none; }
.cw-lbl .rchip, .cw-lbl .crl { font-size: 10.5px; padding: 3px 7px; }
.cw-arrow { display: none; position: absolute; top: 36%; transform: translateY(-50%); z-index: 2; width: 36px; height: 36px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); color: var(--ink); font: 400 22px/1 var(--sans); cursor: pointer; align-items: center; justify-content: center; padding: 0 0 3px; }
.cw-arrow.back { left: -12px; } .cw-arrow.fwd { right: -12px; }
.cw-row.more5 .cw-arrow:not([hidden]) { display: flex; }
/* collapsibles */
details.fold { border: 1px solid var(--line); border-radius: 20px; background: #fff; }
details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-size: 17px; font-weight: 600; border-radius: 20px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary:hover .chev { color: var(--ink); }
.fold .chev { margin-left: auto; flex: none; color: var(--muted); transition: transform .15s; }
details.fold[open] > summary .chev { transform: rotate(180deg); }
.fold-t { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fold-b { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.fold.rep .icon { width: 36px; height: 36px; }
.fold.big > summary { font-size: 24px; letter-spacing: -0.01em; padding: 18px 22px; }
.fold.big > .fold-b { padding: 0 22px 22px; }
.count-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--panel); color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.folds { display: flex; flex-direction: column; gap: 10px; }
.fold.similar { background: var(--panel); border: 0; margin-bottom: 56px; }
.similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.similar-grid .k { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.similar-grid .chip { background: #fff; }
.no-manual { margin: 0; }
/* sources: one small word that opens the list */
details.srcs { font-size: 13px; color: var(--muted); }
details.srcs > summary { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; color: var(--muted); font-size: 13px; }
details.srcs > summary::-webkit-details-marker { display: none; }
details.srcs > summary::after { content: "›"; display: inline-block; transform: rotate(90deg); transition: transform .15s; }
details.srcs[open] > summary::after { transform: rotate(-90deg); }
details.srcs > summary:hover { color: var(--ink); }
details.srcs p { margin: 6px 0 0; line-height: 1.6; }
details.srcs a { color: var(--muted); }
details.srcs .for { color: var(--muted); opacity: .8; }
.tbl details.srcs.in-tbl { padding: 12px 20px; border-top: 1px solid var(--line); }
.pitch details.srcs { margin-top: 4px; }
/* where to buy, in the page column */
.m-buy { background: var(--panel); border-radius: 28px; padding: 36px; }
.m-buy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.sbadge { flex: none; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font: 700 13px/1 var(--sans); letter-spacing: .03em; }
.sbadge.logo { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.sbadge.logo img { width: 100%; height: 100%; object-fit: contain; }
.m-record { display: flex; flex-direction: column; gap: 28px; }
.m-tree .wcard { border: 1px solid var(--line); }
/* typefaces: 3 samples (2 on phones), then "More" */
.ty-specs .spec:first-child { grid-column: 1 / -1; }
.ty-specs .spec:first-child img { max-width: 560px; }
.ty-specs:not(.all) .spec:nth-child(n+4) { display: none; }
.ty-more { align-self: flex-start; }
.ty-more.d-hide, .ty-more[hidden] { display: none; }
/* photo library (content/catalog/photos/) */
.photo-lib { display: flex; flex-direction: column; gap: 14px; }
.pl-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pl-item { border: 0; padding: 0; background: var(--panel); border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; }
.pl-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-rule { display: flex; align-items: center; gap: 14px; }
.pl-rule span { flex: 1; height: 1px; background: var(--line); }
.pl-more { border: 0; background: none; color: var(--muted); font: 500 14px var(--sans); cursor: pointer; padding: 4px 0; }
.pl-more:hover { color: var(--ink); }
.pl-dialog { border: 0; border-radius: 22px; padding: 0; width: min(1100px, 94vw); max-height: 90vh; }
.pl-dialog::backdrop { background: rgba(29,29,31,.6); }
.pl-top { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.pl-close { border: 0; background: var(--panel); width: 36px; height: 36px; border-radius: 18px; font-size: 20px; cursor: pointer; }
.pl-all { padding: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.pl-all figure { margin: 0; } .pl-all img { width: 100%; border-radius: 14px; display: block; }
.pl-all figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.next-steps .parts-link { font-size: 15px; font-weight: 600; color: var(--ink); }
@media (max-width: 1100px) { .m-page { grid-template-columns: minmax(0, 1fr) 380px; column-gap: 40px; } }
@media (max-width: 900px) {
  .m-page { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .m-page > .cw-gallery, .m-page > .m-side, .m-page > .m-main { grid-column: auto; grid-row: auto; }
  .m-side { padding-top: 28px; }
  .buy-box { position: static; }
  .m-page > .m-main { padding-top: 48px; gap: 44px; }
  .cw-strip { grid-auto-columns: calc((100% - 20px) / 3); }
  .cw-row.more3 .cw-arrow:not([hidden]) { display: flex; }
  .cw-arrow.back { left: -8px; } .cw-arrow.fwd { right: -8px; }
  .cw-nav { width: 36px; height: 36px; font-size: 22px; }
  .m-buy { padding: 24px 16px; border-radius: 22px; }
  .fold.big > summary { font-size: 21px; }
  .pl-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-row .pl-item:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .ty-specs .spec:first-child { grid-column: auto; }
  .ty-specs:not(.all) .spec:nth-child(n+3) { display: none; }
  .ty-more.d-hide { display: inline-flex; }
  .ty-more[hidden] { display: none; }
}
/* ---- rarity ---- */
/* One scale, least to most rare (Nov 25): five steps from seafoam through greys to typewriter red, the machine's
   marker (ink dot, "This machine") on the bar, the selected color's marker (a caret under the bar). */
.rscale, .dplot { --s0: #6F9E88; --s1: #B9D3C6; --s2: #D9D6CF; --s3: #D8A7A2; --s4: #B42A22; }
.rscale { position: relative; max-width: 560px; margin-top: 4px; }
.rscale.lg { max-width: none; }
.rs-bar { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; height: 10px; margin-top: 24px; }
.rs-seg { border-radius: 2px; }
.rs-seg:first-child { border-radius: 6px 2px 2px 6px; } .rs-seg:nth-child(5) { border-radius: 2px 6px 6px 2px; }
.rs-seg.s0, .dp-zones .s0::after { background: var(--s0); } .rs-seg.s1, .dp-zones .s1::after { background: var(--s1); }
.rs-seg.s2, .dp-zones .s2::after { background: var(--s2); } .rs-seg.s3, .dp-zones .s3::after { background: var(--s3); }
.rs-seg.s4, .dp-zones .s4::after { background: var(--s4); }
.rs-me { position: absolute; top: 50%; width: 0; height: 0; z-index: 2; }
.rs-me i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff, 0 1px 4px rgba(29, 29, 31, .3); }
.rs-me em { position: absolute; bottom: 14px; left: 0; transform: translateX(-50%); font: normal 600 12px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.rs-me.l em { transform: translateX(-10px); } .rs-me.r em { transform: translateX(calc(-100% + 10px)); }
.rs-col { position: absolute; top: calc(100% + 4px); width: 0; height: 0; transition: left .25s ease; }
.rs-col[hidden] { display: none; }
.rs-col i { position: absolute; left: -6px; top: 0; border: 6px solid transparent; border-top: 0; border-bottom: 8px solid var(--ink); }
.rs-col em { display: none; }
.rs-names { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin-top: 20px; font-size: 12.5px; line-height: 1.2; color: var(--muted); text-align: center; }
.rs-names .on { color: var(--ink); font-weight: 600; }
.rs-line { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--text); display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.rs-line a { color: var(--ink); font-weight: 600; white-space: nowrap; font-size: 14px; }
.rs-cline { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.rs-cline::before { content: "▲ "; color: var(--ink); font-size: 10px; vertical-align: 1px; }
.rs-cline[hidden] { display: none; }
.rscale.lg .rs-bar { height: 14px; margin-top: 28px; }
.rscale.lg .rs-me i { left: -11px; top: -11px; width: 22px; height: 22px; }
.rscale.lg .rs-me em { bottom: 16px; font-size: 13px; }
.rscale.lg .rs-names { font-size: 14px; }
.rarity-box .rs-line { margin-top: 12px; font-size: 16px; }
.rarity-box .rev b { font-size: 24px; line-height: 1.2; }
.rsrc { margin: 0; }
.rsrc a { color: var(--muted); }
/* color labels on the gallery's colorways */
.crl { display: inline-block; font: 600 11px/1 var(--sans); padding: 3px 7px; border-radius: 10px; white-space: nowrap; vertical-align: 1px; margin-left: 6px; }
.crl-0, .crl-1 { background: var(--sea); color: var(--sea-ink); } .crl-2 { background: var(--panel); color: var(--muted); }
.crl-3, .crl-4 { background: var(--red-tint); color: var(--red); }
/* dot plots (HTML, laid out by atlas.js at the real width) */
.rplots { gap: 28px; }
.rp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rp-rank { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.dplot { position: relative; }
.dp-zones { position: relative; height: 32px; margin-top: 6px; }
.dp-zones .z { position: absolute; top: 0; height: 32px; overflow: hidden; text-align: center; }
.dp-zones .z em { font: normal 500 11.5px/1.05 var(--sans); color: var(--muted); display: block; overflow-wrap: normal; }
.dp-zones .z::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: 2px; height: 5px; border-radius: 2px; }
.dp-area { position: relative; min-height: 70px; touch-action: manipulation; }
.dp-area .d { position: absolute; width: 10px; height: 10px; margin-left: -5px; top: 40px; padding: 0; border: 1px solid #fff; border-radius: 50%;
  background: rgba(110, 106, 100, .45); cursor: pointer; z-index: 1; }
.dp-area .d:hover, .dp-area .d.on { background: var(--ink); z-index: 3; }
.dp-area .d.me { background: var(--red); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--red); z-index: 4; }
.dp-area .d:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.dp-me { position: absolute; top: 0; font-size: 13px; font-weight: 600; color: var(--red); white-space: nowrap; line-height: 20px; pointer-events: none; }
.dp-me::after { content: ""; position: absolute; left: var(--lx, 50%); top: 21px; height: var(--lead, 10px); border-left: 1px solid var(--red); }
.dp-tip { position: absolute; z-index: 6; display: flex; flex-direction: column; gap: 1px; background: var(--ink); color: #fff; border-radius: 12px; padding: 7px 12px;
  font-size: 13px; line-height: 1.35; white-space: nowrap; box-shadow: 0 6px 18px rgba(29, 29, 31, .18); }
.dp-tip[hidden] { display: none; }
.dp-tip a, .dp-tip b { color: #fff; font-weight: 600; }
.dp-tip span { color: #D9D6CF; }
.dp-ticks, .yb-x { position: relative; height: 18px; margin-top: 4px; border-top: 1px solid var(--line); }
.dp-ticks span, .yb-x span { position: absolute; top: 3px; transform: translateX(-50%); font-size: 12px; color: var(--muted); white-space: nowrap; }
.dp-dir { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 2px; }
/* survivors by year made */
.yb-top { color: var(--muted); margin: 0 0 8px; }
.yb-area { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 170px; touch-action: manipulation; }
.yb-area .b { flex: 1 1 0; min-width: 0; min-height: 2px; padding: 0; border: 0; border-radius: 3px 3px 0 0; background: var(--sea-ink); opacity: .78; cursor: pointer; }
.yb-area .b:hover, .yb-area .b.on { opacity: 1; background: var(--red); }
.yb-area .b:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.yb-area .dp-tip { pointer-events: none; }
@media (max-width: 900px) {
  .rs-names { font-size: 11.5px; }
  .rscale.lg .rs-names { font-size: 12.5px; }
  .yb-area { gap: 1px; height: 140px; }
  .rarity-box .rev { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rarity-box .rev.wp4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rarity-box .rev > div { padding: 14px; }
  .rarity-box .rev b { font-size: 20px; }
}
/* ---- polish 3 ---- */
.buy-btns .see-list { min-width: 0; }
.tblfold .tbl { border-radius: 14px; }
.tblfold .tbl .r:first-child { border-top: 0; }
.tblfold .fold-b > a.nolink { align-self: flex-start; }
.ty-specs:not(.all) .spec:nth-child(n+2) { display: none; }
.ty-more, .ty-more.d-hide { display: inline-flex; }
.ty-more[hidden] { display: none; }
.rarity-box details.srcs.rsrc { margin: 0; }
.dp-area .d { background: rgba(110, 106, 100, .5); border: 1px solid #fff; }
.dp-area .d:hover, .dp-area .d.on { background: var(--ink); }
.dp-area { min-height: 0; }

/* ---- whole side column follows the reader (Landon, Nov 25): name, facts, rarity scale and the buy box move as one ---- */
@media (min-width: 901px) {
  .m-page > .m-side { align-self: start; position: sticky; top: var(--side-top, 132px); }
}

/* ---- quick facts share the row equally, 2, 3 or 4 boxes (Landon, Nov 25) ---- */
.facts.n1 { grid-template-columns: minmax(0, 1fr); }
.facts.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .facts.n2 > div, .facts.n3 > div { border-bottom: 0; border-right: 1px solid var(--line); }
  .facts.n2 > div:last-child, .facts.n3 > div:last-child { border-right: 0; }
  .facts.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- the folds under the rarity box flow as one list (Landon, Nov 25) ---- */
.fold-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.fold-stack:empty { display: none; }
.fold-stack > .fold.similar { margin-bottom: 0; }

/* ---- "This color" marker carries the same weight as "This machine" (Landon, Nov 25) ---- */
.rs-col { top: 50%; z-index: 1; transition: left .25s ease; }
.rs-col i { left: -15px; top: -15px; width: 30px; height: 30px; border: 3px solid var(--ink); border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(29,29,31,.25); box-sizing: border-box; }
.rs-col em { display: block; position: absolute; top: 20px; left: 0; transform: translateX(-50%); font: normal 600 12px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.rs-col.l em { transform: translateX(-12px); } .rs-col.r em { transform: translateX(calc(-100% + 12px)); }
.rscale.has-col .rs-names { margin-top: 34px; }
.rscale.lg .rs-col i { left: -17px; top: -17px; width: 34px; height: 34px; }
.rscale.lg .rs-col em { top: 22px; font-size: 13px; }
.rscale.lg.has-col .rs-names { margin-top: 38px; }
.rs-cline::before { content: "◯ "; font-size: 11px; font-weight: 700; }

/* ---- machine drawings open larger (Landon, Nov 25) ---- */
.gallery .stage img.mimg { cursor: zoom-in; }
.g-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 20px; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.g-zoom:hover { background: #fff; }
.lbx { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; flex-direction: column; }
.lbx[hidden] { display: none; }
.lbx-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; font-size: 16px; }
.lbx-top b { font-weight: 600; } .lbx-top .small { color: var(--muted); margin-left: 10px; }
.lbx-x { width: 44px; height: 44px; border-radius: 22px; border: 0; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); font: 400 26px/1 var(--sans); cursor: pointer; color: var(--ink); }
.lbx-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; touch-action: pinch-zoom; }
.lbx-stage img { max-width: min(92vw, 1400px); max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .2s ease; transform-origin: center; }
.lbx-stage.zoomed img { cursor: zoom-out; transform: scale(2.2); transition: none; }
.lbx .cw-nav { z-index: 2; } .lbx .cw-nav.prev { left: 24px; } .lbx .cw-nav.next { right: 24px; }
.lbx-hint { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 0 18px; }
@media (max-width: 900px) { .lbx-hint { display: none; } .lbx .cw-nav.prev { left: 10px; } .lbx .cw-nav.next { right: 10px; } }
body.lbx-open { overflow: hidden; }

/* ---- ux-switcher: versions of a machine (Landon, Nov 25): switcher cards, per-version panels, "How to tell them apart" ---- */
.m-page > .vgals { grid-column: 1; grid-row: 1; min-width: 0; }
.vpanel[hidden], [data-vp][hidden] { display: none !important; }
.m-side .vpanel { display: flex; flex-direction: column; gap: 22px; }
.vgal .stage { aspect-ratio: 4 / 3; }
.v-coming { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.v-sil { width: 62%; max-width: 120px; fill: #E2DFD9; }
.v-sil .k rect { fill: #CFCBC3; }
.v-stage { width: 100%; height: 100%; font-size: 15px; }
.v-stage .v-sil { max-width: 300px; width: 46%; }
.vgal-none .stage { border: 1px dashed var(--line2); }
.v-cols { margin: 8px 4px 0; }
.vsw { display: flex; flex-direction: column; gap: 10px; }
.vsw-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vsw-t { font-size: 15px; font-weight: 600; color: var(--red); }
.vsw-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; margin: -2px; }
.vsw-row::-webkit-scrollbar { display: none; }
.vcard { scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); min-width: 0; border-radius: 14px; }
.vcard:hover { color: var(--ink); }
.vc-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; background: var(--panel); border: 2px solid transparent; display: flex; align-items: center; justify-content: center; padding: 6px; }
.vc-img img { width: 100%; mix-blend-mode: multiply; }
.vc-img.v-coming { font-size: 11px; gap: 4px; padding: 8px 6px; }
.vcard:hover .vc-img { border-color: var(--line2); }
.vcard[aria-checked="true"] .vc-img { border-color: var(--ink); }
.vc-name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.vc-yrs { font-size: 12px; color: var(--muted); }
.vcard[aria-checked="true"] .vc-yrs { color: var(--red); }
.v-few, .v-lost { margin: -8px 0 0; font-size: 14px; color: var(--text); }
.v-lost a { font-weight: 600; white-space: nowrap; }
.vtell { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 140px; }
.vtell-hd { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.vtell-hd .h-sub { font-size: 36px; margin: 0; }
.vtell-hd .body { margin: 0; }
.vt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vt-card { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; scroll-margin-top: 140px; }
.vt-card.on { border: 2px solid var(--ink); }
.vt-img { display: flex; align-items: center; justify-content: center; background: var(--panel); aspect-ratio: 16 / 9; padding: 14px; }
.vt-img img { max-height: 100%; width: auto; max-width: 70%; mix-blend-mode: multiply; }
.vt-img.v-coming .v-sil { width: 30%; }
.vt-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.vt-b h3 { font-size: 20px; font-weight: 600; margin: 0; line-height: 1.3; }
.vt-b p { margin: 0; }
.vt-yrs { font-size: 15px; font-weight: 600; color: var(--red); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.vt-tag { display: none; font-size: 12px; font-weight: 600; color: var(--sea-ink); background: var(--sea); border-radius: 999px; padding: 3px 10px; }
.vt-card.on .vt-tag { display: inline-block; }
.vt-tells { margin: 2px 0; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.vt-b .small b { color: var(--ink); font-weight: 600; }
.vt-how { margin: 0; max-width: 760px; }
@media (max-width: 900px) {
  .m-page > .vgals { grid-column: auto; grid-row: auto; }
  .vt-grid { grid-template-columns: minmax(0, 1fr); }
  .vtell-hd .h-sub { font-size: 30px; }
  .vsw-row { grid-auto-columns: 104px; }
}
.facts.vfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts.vfacts > div:nth-child(3) { border-right: 0; }
.facts.vfacts > .v-made { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 10px; border-right: 0; border-top: 1px solid var(--line); padding: 12px 16px; }
.facts.vfacts > .v-made .k { flex: none; }
@media (max-width: 900px) {
  .facts.vfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts.vfacts > div { border-bottom: 0; }
  .facts.vfacts > div:nth-child(2) { border-right: 1px solid var(--line); }
}

/* ---- rarity recount: name families, upper bound, how sure ---- */
.rs-sure { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.rarity-box .rev .rv-names { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.rarity-box .rev .rv-names a { color: var(--ink); }
.vpanel .v-few + .v-few { margin-top: 6px; }
.v-few a { color: var(--ink); font-weight: 600; }
/* ---- ads ---- */
.ads-page { display: flex; flex-direction: column; gap: 56px; }
.ad-skims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ad-skim { background: var(--panel); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ad-skim h2.h-card { font-size: 21px; margin: 0 0 6px; }
.ad-skim .small { margin: 0; font-size: 15px; line-height: 1.5; }
.ad-pic { display: block; width: 100%; padding: 0; border: 0; background: #fff; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; }
.ad-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ad-jump { display: flex; flex-direction: column; gap: 10px; }
.ad-jump .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ad-jump .chip { border: 1px solid var(--line); }
.ad-dec { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.ad-dec .h-sec { margin: 0; }
.ad-dec-note { margin: 0 0 8px; max-width: 760px; }
.ad-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ad-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; scroll-margin-top: 90px; }
.ad-card .ad-pic { background: var(--panel); }
.ad-meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.ad-meta b { color: var(--red); font-weight: 600; }
.ad-t { font-size: 18px; font-weight: 600; margin: 0; line-height: 1.3; }
.ad-c { margin: 0; font-size: 15px; line-height: 1.5; }
.ad-card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-card .chip { font-size: 13px; border: 1px solid var(--line); }
.ad-note { border-top: 1px solid var(--line); padding-top: 20px; margin: 0; max-width: 860px; }
.ad-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ad-strip .ad-c { font-size: 14px; }
.ad-strip .ad-t { font-size: 16px; }
.ad-src summary { font-size: 13px; }
.ad-lb { border: 0; border-radius: 22px; padding: 0; width: min(1180px, 94vw); max-height: 92vh; background: #fff; color: var(--ink); }
.ad-lb::backdrop { background: rgba(29, 29, 31, .72); }
.ad-lb-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0; max-height: 92vh; }
.ad-lb-in img { width: 100%; height: 100%; max-height: 92vh; object-fit: contain; background: var(--panel); display: block; }
.ad-lb-txt { padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.ad-lb-txt .h-card { font-size: 24px; margin: 0; }
.ad-lb-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
@media (max-width: 1100px) { .ad-grid, .ad-skims { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ad-grid, .ad-skims { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ad-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-lb-in { grid-template-columns: minmax(0, 1fr); overflow: auto; }
  .ad-lb-in img { max-height: 62vh; }
  .ad-lb-txt { padding: 20px; }
}
@media (max-width: 480px) { .ad-skims { grid-template-columns: minmax(0, 1fr); } .ad-skim { flex-direction: row; align-items: flex-start; } .ad-skim .ad-pic { width: 110px; flex: none; } }
.ad-skim .ad-pic { aspect-ratio: 4 / 3; }

/* ---- machines index: color filter (Landon, Nov 25) ---- */
.cchips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -8px 0 28px; }
.cchips-k { font-size: 14px; font-weight: 600; margin-right: 4px; }
.cchip { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 6px 12px; font: 500 14px/1 var(--sans); color: var(--ink); cursor: pointer; }
.cchip .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cchip .n { color: var(--muted); font-weight: 400; }
.cchip[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cchip:hover { background: var(--panel); }
#mgrid > .c-out { display: none; }

/* ---- Advertising page: masonry, every ad whole at its own shape (Landon, Nov 25) ---- */
.ad-grid.masonry { grid-auto-rows: 4px; row-gap: 0; align-items: start; }
.ad-grid .ad-pic { aspect-ratio: auto; background: #fff; }
.ad-grid .ad-pic img { height: auto; object-fit: contain; }
.ad-grid > .ad-card { padding-bottom: 28px; }
@media (max-width: 900px) { .ad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } }
@media (max-width: 480px) {
  .ad-grid .ad-t { font-size: 15px; }
  .ad-grid .ad-c { font-size: 13px; line-height: 1.45; }
  .ad-grid .ad-meta { font-size: 12px; }
  .ad-grid .chip { font-size: 12px; padding: 4px 8px; }
  .ad-grid > .ad-card { padding-bottom: 20px; }
}
/* each ad and its words sit on one card (Landon, Nov 25) */
.ad-grid > .ad-card { background: var(--panel); border-radius: 18px; padding: 12px 12px 18px; margin-bottom: 24px; gap: 6px; }
.ad-grid > .ad-card .ad-pic { border-radius: 10px; background: #fff; }
.ad-grid > .ad-card .ad-meta, .ad-grid > .ad-card .ad-t, .ad-grid > .ad-card .ad-c, .ad-grid > .ad-card .chips { padding: 0 4px; }
.ad-grid > .ad-card .chip { background: #fff; }
@media (max-width: 480px) { .ad-grid > .ad-card { padding: 8px 8px 14px; margin-bottom: 16px; border-radius: 14px; } }
/* family-tree strip on a page with versions: the whole run pale, the picked version solid with its label (Nov 27) */
.mini-tree .vseg { fill: var(--red); opacity: .38; stroke: #fff; stroke-width: 2; transition: opacity .2s; }
.mini-tree .vseg.on { opacity: 1; }
.mini-tree .vlab { display: none; }
.mini-tree .vlab.on { display: inline; }
/* maker pages: company history from lineage.yaml (Nov 27) */
.tbl.lineage .r { grid-template-columns: 140px 1fr; }
.tbl.lineage .r > span:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.tbl.lineage .src { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tbl.lineage .hd .muted { font-weight: 400; }
@media (max-width: 600px) { .tbl.lineage .r { grid-template-columns: 1fr; gap: 2px; } }

/* Seasonal hero (build/seasons.py draws the art; atlas.js picks it by date). The stage is exactly the lineup image's
   box, so the art's two layers line up with the machines; the art itself is wider than the image and runs off the page. */
.hero .lineup .stage { position: relative; }
.hero .lineup.seasonal { overflow: visible; }
.hero .lineup .stage img { position: relative; z-index: 1; }
.season-layer { position: absolute; top: 0; height: 100%; left: -69.444%; width: 238.889%; pointer-events: none; overflow: visible; }
.season-back { z-index: 0; }
.season-front { z-index: 2; }
.season-layer { opacity: 0; transition: opacity .6s ease; }
.seasonal .season-layer { opacity: 1; }
/* Christmas: each bulb switches on in turn down the strand (left to right, under two seconds), then glows softly
   in and out at its own pace. Calm enough to sit under the headline all season. */
.x-b { animation: x-on .5s var(--d) both; }
.x-g { animation: x-tw var(--t) var(--o) ease-in-out infinite alternate; }
@keyframes x-on { from { opacity: .18; } 60% { opacity: 1; } to { opacity: 1; } }
@keyframes x-tw { from { opacity: .45; } to { opacity: 1; } }
/* the twinkle: now and then a bulb flares with a little star, on its own long clock */
.x-sp { opacity: 0; transform-box: fill-box; transform-origin: center; animation: x-sp var(--p) var(--q) ease-out infinite; }
@keyframes x-sp { 0%, 91%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 94% { opacity: 1; transform: scale(1) rotate(20deg); }
  97% { opacity: .35; transform: scale(.7) rotate(35deg); } }
@media (prefers-reduced-motion: reduce) { .x-b, .x-g { animation: none; } .x-sp { display: none; } }
@media (max-width: 900px) { .x-s { transform: scale(1.5); } }   /* the lineup shrinks on phones; the bulbs shrink less */
/* Winter: snow falls across the whole hero behind the text and machines; drifts and the dusting on top stay still,
   with a glint now and then. Snow stops falling for visitors who turn motion off. */
.hero.has-sky { position: relative; }
.hero.season-winter { background: linear-gradient(180deg, #E3ECF4 0%, #EAF1F7 55%, #EEF3F8 100%); transition: background-color .6s ease; }   /* a pale winter sky, so the snow on the ground stands apart from it */
.hero.has-sky > .wrap { position: relative; z-index: 1; }
.season-sky { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden; }
.w-fall { animation: w-fall var(--t) var(--o) linear infinite; }
.w-sway { animation: w-sway var(--s) ease-in-out infinite alternate; }
@keyframes w-fall { from { transform: translateY(0); } to { transform: translateY(var(--fall, 900px)); } }
@keyframes w-sway { from { transform: translateX(calc(var(--a) * -1)); } to { transform: translateX(var(--a)); } }
.w-wander { animation: w-wander var(--w) var(--wo) ease-in-out infinite alternate; }
@keyframes w-wander { from { transform: translateX(calc(var(--b) * -1)); } to { transform: translateX(var(--b)); } }
.w-spin { transform-box: fill-box; transform-origin: center; animation: w-spin var(--r) linear infinite; }
@keyframes w-spin { to { transform: rotate(360deg); } }
.w-gl { opacity: 0; animation: w-gl var(--t) var(--o) ease-in-out infinite; }
@keyframes w-gl { 0%, 78%, 100% { opacity: 0; } 86% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .season-sky { display: none; } .w-gl { animation: none; opacity: .8; } }
@media (max-width: 900px) { .season-sky g > svg:nth-child(2n) { display: none; } }   /* half the flakes on a phone's narrow hero */
/* Valentine's Day: hearts drift up behind the text (the note in the Hermes is already typed, and still) */
.v-rise { animation: v-rise var(--t) var(--o) linear infinite; }
@keyframes v-rise { 0% { transform: translateY(30px); opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; }
  100% { transform: translateY(calc(var(--fall, 900px) * -1)); opacity: 0; } }
.v-tilt { transform-box: fill-box; transform-origin: center; animation: v-tilt var(--s) ease-in-out infinite alternate; }
@keyframes v-tilt { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
/* St. Patrick's Day: shamrocks tumble down behind the text, turning over as they fall */
.s-flip { transform-box: fill-box; transform-origin: center; animation: s-flip var(--f) var(--fo) ease-in-out infinite alternate; }
@keyframes s-flip { from { transform: scaleX(1); } to { transform: scaleX(-.8); } }
/* Spring: grass at the machines' feet sways a little, butterflies flap and bob; a faint fresh sky */
.hero.season-spring { background: linear-gradient(180deg, #EEF4EA 0%, #F2F5EC 60%, #F4F4EE 100%); }
.g-sway { transform-box: fill-box; transform-origin: 50% 100%; animation: g-sway var(--s) var(--o) ease-in-out infinite alternate; }
@keyframes g-sway { from { transform: skewX(-5deg); } to { transform: skewX(5deg); } }
.b-flap { transform-box: fill-box; transform-origin: center; animation: b-flap .32s ease-in-out infinite alternate; }
@keyframes b-flap { from { transform: scaleX(1); } to { transform: scaleX(.25); } }
.b-bob { animation: b-bob var(--s) var(--o) ease-in-out infinite alternate; }
@keyframes b-bob { from { transform: translateY(-35px); } to { transform: translateY(35px); } }
@media (prefers-reduced-motion: reduce) { .g-sway, .b-flap { animation: none; } }
/* Independence Day: each firework blooms, drifts open a little and fades, then waits for its next turn */
.fw { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fw var(--p) var(--q) ease-out infinite; }
@keyframes fw { 0% { opacity: 0; transform: scale(.12); } 1.5% { opacity: 1; } 12% { opacity: .85; transform: scale(1); }
  24% { opacity: 0; transform: scale(1.08) translateY(4px); } 100% { opacity: 0; transform: scale(1.08) translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .fw { animation: none; opacity: 0; } }
.hero.season-fall { background: linear-gradient(180deg, #F7F1E8 0%, #F5F2EC 60%, #F4F3F0 100%); }   /* fall: a faint warm tint */
@media (max-width: 900px) { .fw-s { transform: scale(1.1); } .season-independence .season-sky g > svg:nth-child(n+3) { display: none; }
  .season-independence .season-sky g > svg:nth-child(-n+2) { display: inline; } }   /* phones: the two top corners only */

/* Home "What do you want it for?" (Landon, Nov 28): the merged "Your first typewriter" guide is one big card across
   the first two columns, the other four sit beside and below it; on phones the big card spans the width and the
   four sit in two rows of two */
.guides-home > .gcard:first-child { grid-column: span 2; flex-direction: row; align-items: center; }
.guides-home > .gcard:first-child .pic { flex: 1 1 55%; height: 100%; min-height: 300px; padding: 28px; }
.guides-home > .gcard:first-child .pic img { max-width: 92%; max-height: 300px; }
.guides-home > .gcard:first-child .txt { flex: 1 1 45%; padding: 28px 36px 28px 8px; }
.guides-home > .gcard:first-child .h-card { font-size: 30px; }
@media (max-width: 900px) {
  .grid.g3.guides-home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .guides-home > .gcard:first-child { flex-direction: column; align-items: stretch; }   /* Nov 28: the desktop row sizes (55% / 45%) don't carry into the stacked card */
  .guides-home > .gcard:first-child .pic { flex: none; min-height: 0; height: 220px; padding: 20px 24px 4px; }
  .guides-home > .gcard:first-child .pic img { max-height: 196px; max-width: 86%; }
  .guides-home > .gcard:first-child .txt { flex: none; padding: 8px 24px 24px; }
  .guides-home > .gcard:first-child .h-card { font-size: 24px; }
  .guides-home > .gcard:not(:first-child) { border-radius: 20px; }
  .guides-home > .gcard:not(:first-child) .pic { height: 120px; padding: 14px 12px 0; }
  .guides-home > .gcard:not(:first-child) .pic img { max-height: 104px; }
  .guides-home > .gcard:not(:first-child) .txt { padding: 6px 14px 16px; }
  .guides-home > .gcard:not(:first-child) .h-card { font-size: 17px; }
  .guides-home > .gcard:not(:first-child) .d { display: none; }
  .guides-home > .gcard:not(:first-child) .go { font-size: 14px; }
}

/* About page: Landon's photos (Nov 28) */
.about-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 8px 0 24px; }
.about-photos figure { margin: 0; }
.about-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.about-photos figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) { .about-photos { grid-template-columns: minmax(0, 1fr); } }

/* Home "History" (Landon, Nov 28): the condensed family-tree map that replaced the five milestone tiles; on phones a
   smaller left-to-right map that fits the screen (no swiping), with a key to the seven lines under it */
.home-tree { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px 28px 18px; }
.home-tree-svg { display: block; width: 100%; height: auto; }
.home-tree-svg text { font-family: var(--sans); }
.home-tree-svg .yl { font-size: 12px; font-weight: 600; fill: var(--muted); text-anchor: middle; }
.home-tree-svg .ln { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.home-tree-svg .sl { font-size: 11px; fill: var(--text); }
.home-tree-svg .mt { font-size: 14px; font-weight: 600; fill: var(--ink); }
.home-tree-svg .my { font-size: 12px; fill: #B42A22; font-weight: 700; text-anchor: middle; }
.home-tree-svg .mg { font-size: 12px; fill: var(--muted); }
.home-tree-svg a { cursor: pointer; }
.home-tree-svg a:hover .mt, .home-tree-svg a.st:hover .sl { text-decoration: underline; }
.home-tree-svg a.st:hover circle:first-child { fill: #B42A22; stroke: #B42A22; }
.home-tree-phone { display: none; }
.home-tree-key { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 12px; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.home-tree-key li { display: flex; align-items: center; gap: 8px; }
.home-tree-key i { flex: none; width: 16px; height: 5px; border-radius: 3px; }
.home-tree-svg.phone .yl { font-size: 10px; }
.home-tree-svg.phone .mt { font-size: 10.5px; }
.home-tree-svg.phone .my { font-size: 10px; }
.home-tree-phone { max-width: 440px; margin: 0 auto; }
@media (max-width: 900px) {
  .home-tree { padding: 18px 14px 14px; border-radius: 22px; }
  .home-tree-wide { display: none; }
  .home-tree-phone { display: block; }
}

/* ---- share (Landon, Nov 29): top-right of every machine drawing, and on news stories ---- */
.g-share { position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 20px; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.12); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.g-share:hover, .g-share[aria-expanded="true"] { background: #fff; }
.share-menu { position: absolute; z-index: 80; min-width: 200px; background: #fff; border-radius: 16px; box-shadow: 0 8px 28px rgba(0,0,0,.16), 0 1px 3px rgba(0,0,0,.08); padding: 6px; display: flex; flex-direction: column; }
.share-menu[hidden] { display: none; }
.share-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font: 500 15px/1.2 var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.share-menu button:hover, .share-menu button:focus-visible { background: var(--panel); outline: none; }
.share-menu svg { flex: none; color: var(--text); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line2); background: #fff; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; }
.share-btn:hover { border-color: var(--ink); }

/* ---- News (Landon, Nov 29): the news desk index, story pages, and "In the news" on machine pages ---- */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.news-card .panel-img, .news-slip { aspect-ratio: 16 / 10; border-radius: 22px; }
.news-card .panel-img img { width: 70%; transition: transform .3s ease; }
.news-card:hover .panel-img img { transform: scale(1.03); }
.news-card:hover .h-card { text-decoration: underline; text-underline-offset: 3px; }
.news-slip { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; padding: 22px 26px; background: var(--panel); overflow: hidden; position: relative; }
.news-slip .k { position: absolute; top: 20px; left: 26px; color: var(--red); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.news-slip .dl { color: var(--ink); font-size: 26px; font-weight: 700; line-height: 1.15; }
.news-slip .d { color: var(--text); font-size: 16px; }
.news-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.news-lead .panel-img img { width: auto; max-width: 62%; max-height: 84%; }
.news-lead .news-txt .h-card { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.news-lead .news-txt .small { font-size: 18px; }
.news-lead .panel-img { aspect-ratio: 16 / 9; }
.news-month:first-child { margin-bottom: 8px; }
.news-lead .news-slip .dl { font-size: 40px; }
@media (max-width: 760px) { .news-lead { grid-template-columns: 1fr; gap: 14px; } .news-lead .news-txt .h-card { font-size: 26px; } .news-lead .news-txt .small { font-size: 15px; } }
.news-txt { display: flex; flex-direction: column; gap: 8px; }
.news-txt .h-card { font-size: 20px; line-height: 1.3; color: var(--ink); }
.news-txt .small { font-size: 15px; line-height: 1.5; }
.news-month { margin-bottom: 56px; }
.news-month > h2 { margin: 0 0 20px; }
.news-art { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; padding-top: 16px; }
.news-head { display: flex; flex-direction: column; gap: 14px; }
.news-head .h-page { font-size: 44px; line-height: 1.12; }
.news-tools { display: flex; gap: 10px; }
.news-fig { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.news-fig .panel-img { aspect-ratio: 16 / 10; border-radius: 28px; }
.news-body.prose { margin: 0; }
.news-why { background: var(--panel); border-radius: 20px; padding: 20px 24px; margin: 28px 0 20px; }
.news-why b { color: var(--ink); font-size: 16px; }
.news-why p { margin: 6px 0 0; font-size: 17px; line-height: 1.6; }
.news-machines, .news-more { padding-top: 72px; }
.news-sign { margin-top: 72px; background: var(--panel); border-radius: 28px; padding: 28px 32px; display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.news-sign b { font-size: 20px; color: var(--ink); }
.news-sign .small { margin: 4px 0 0; }
.news-sign .signup { flex: 1 1 320px; max-width: 480px; }
.news-note { margin-top: 24px; }
@media (max-width: 640px) { .news-head .h-page { font-size: 34px; } .news-sign { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .news-card .panel-img img { transition: none; } }

/* The Atlas Letter founding offer (Dec 5): the reserve form, the in-page card, the join page */
.lf { flex-direction: column; gap: 12px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lf .field label { font-size: 13px; }
.lf .input { width: 100%; height: 46px; }
.lf-go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lf-go .small { color: var(--muted); font-size: 13px; }
.signup.done .lf-row, .signup.done .lf-go { display: none; }
.foot-offers .fo { display: flex; flex-direction: column; }
.foot-offers .fo-letter { background: var(--red-tint); border-radius: 20px; padding: 24px; }
.foot-offers { align-items: start; }
.letter-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background: var(--red-tint); border-radius: 28px; padding: 44px 48px; margin: 56px 0; }
.letter-band .lb-h { font-weight: 400; font-size: 30px; line-height: 1.25; margin: 8px 0 12px; }
.letter-band .lb-p { font-size: 16px; margin: 0 0 12px; color: var(--text); }
.letter-band .signup .input { background: #fff; }
.m-main .letter-band { grid-template-columns: 1fr; padding: 32px; gap: 20px; }
.m-main .letter-band .lb-h { font-size: 26px; }
@media (max-width: 860px) { .letter-band { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; } .letter-band .lb-h { font-size: 24px; } }
@media (max-width: 520px) { .lf-row { grid-template-columns: 1fr; } }
.strip .typed { font-weight: 700; }
.lt-offer { margin-top: 24px; padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; background: #fff; border: 1.5px solid var(--ink); }
.lt-price { display: flex; flex-direction: column; gap: 4px; padding-right: 20px; border-right: 1px solid var(--line2); }
.lt-price .typed { font-size: 56px; line-height: 1; color: var(--red); font-weight: 700; }
.lt-price .small { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .lt-offer { grid-template-columns: 1fr; } .lt-price { flex-direction: row; align-items: center; gap: 14px; border-right: 0; padding: 0 0 14px; border-bottom: 1px solid var(--line2); } }
.lt-main section { margin-bottom: 56px; }
.lt-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lt-steps li { display: flex; gap: 14px; align-items: flex-start; }
.lt-steps .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 760px) { .lt-steps { grid-template-columns: 1fr; } }
.lt-who { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center; background: var(--panel); border-radius: 24px; padding: 20px; }
.lt-who img { width: 100%; height: auto; border-radius: 16px; display: block; }
@media (max-width: 640px) { .lt-who { grid-template-columns: 1fr; } }
.lt-q { border-bottom: 1px solid var(--line); padding: 14px 0; }
.lt-q summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.lt-q p { margin: 10px 0 0; font-size: 15px; }
.lt-keep { background: var(--sea); border-radius: 24px; padding: 28px; }
.lt-keep .signup .input { background: #fff; }
