/* Tradesteps — site styles
   Layout idea: a site-board look. Olive header band, white working surface,
   hi-vis amber used only for the one thing that matters on a block, and a
   tape-measure rule as the section divider. */
:root {
  --olive: #3d4a2a;
  --olive-deep: #2a331c;
  --amber: #f2b705;
  --paper: #f7f7f2;
  --surface: #ffffff;
  --ink: #1d2116;
  --muted: #5d6452;
  --line: #d9dccf;
  --link: #3d5a14;
  --on-olive: #f3f5ec;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.4rem, 5vw, 3.4rem);
  --radius: 6px;
  --measure: 68ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --olive: #2f3a20;
    --olive-deep: #1f2715;
    --amber: #f5c432;
    --paper: #14170f;
    --surface: #1c2015;
    --ink: #e9ecdf;
    --muted: #a7ae98;
    --line: #343a29;
    --link: #b8d47a;
    --on-olive: #f3f5ec;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --olive: #2f3a20;
  --olive-deep: #1f2715;
  --amber: #f5c432;
  --paper: #14170f;
  --surface: #1c2015;
  --ink: #e9ecdf;
  --muted: #a7ae98;
  --line: #343a29;
  --link: #b8d47a;
  --on-olive: #f3f5ec;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.005em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-top: 1.6em; }
h3 { font-size: var(--step-2); margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: #1d2116; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.prose { max-width: var(--measure); }

/* Header */
.site-header { background: var(--olive); color: var(--on-olive); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 0.9rem; }
.logo { display: inline-flex; flex-direction: column; gap: 3px; color: #fff; text-decoration: none; }
.logo-word { font-family: "Archivo", "Arial Black", sans-serif; font-weight: 400; font-size: 1.85rem; line-height: 1; letter-spacing: -0.03em; }
.logo-word b { font-weight: 900; }
.logo-tape { display: block; height: 6px; border-radius: 1px; background-color: var(--amber); background-image: repeating-linear-gradient(90deg, #1d2116 0 1.5px, transparent 1.5px 22px); }
/* Main nav with dropdowns */
.site-header { position: relative; z-index: 20; }
.site-nav .nav-top { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; margin: 0; padding: 0; }
.nav-top > li > a { display: inline-block; color: var(--on-olive); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding-block: 0.3rem; border-bottom: 2px solid transparent; }
.nav-top > li > a:hover, .nav-top > li > a[aria-current="page"] { border-bottom-color: var(--amber); }
.has-menu { position: relative; }
.has-menu > a::after { content: ""; display: inline-block; width: 0.38em; height: 0.38em; margin-left: 0.4em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.2em) rotate(45deg); opacity: 0.8; }
.sub-toggle, .nav-toggle { display: none; }
.menu {
  position: absolute; top: 100%; left: -0.9rem; min-width: 16rem; padding: 0.6rem 0;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--amber);
  border-radius: 0 0 8px 8px; box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.has-menu:hover > .menu, .has-menu.open > .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 0.42rem 1.1rem; color: var(--ink); text-decoration: none; font-size: 0.94rem; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.menu a:hover, .menu a:focus-visible { background: var(--paper); color: var(--ink); box-shadow: inset 3px 0 0 var(--amber); }
.menu-cols { display: grid; grid-template-columns: repeat(2, max-content); }
.menu-right .menu, .menu-cols { left: auto; right: -0.9rem; }
.mega { position: static; }
.site-nav { position: relative; }
.menu-mega { left: auto; right: 0; display: grid; grid-template-columns: repeat(4, minmax(12.5rem, 1fr)); gap: 0 0.5rem; padding: 0.9rem 0.4rem; width: min(980px, calc(100vw - 2.5rem)); }
.menu-head { margin: 0.2rem 0 0.2rem; }
.menu-head a { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; color: var(--muted); }
.menu-mega ul + .menu-head { margin-top: 0.8rem; }
.menu-mega a { white-space: normal; }
.menu-all { margin: 0.8rem 0 0; }
.menu-all a { font-weight: 700; color: var(--link); }

@media (max-width: 860px), (hover: none) and (pointer: coarse) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.55rem; background: transparent; color: var(--on-olive); border: 2px solid rgba(255,255,255,0.35); border-radius: 6px; padding: 0.4rem 0.75rem; font: 600 0.95rem/1 inherit; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .site-nav { display: none; flex-basis: 100%; }
  .site-header.nav-open .site-nav { display: block; }
  .site-nav .nav-top { flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.18); }
  .nav-top > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.18); }
  .nav-top > li > a { flex: 1; padding-block: 0.8rem; border-bottom: 0; }
  .has-menu > a::after { display: none; }
  .sub-toggle { display: block; width: 44px; height: 44px; background: transparent; border: 0; color: var(--on-olive); cursor: pointer; position: relative; }
  .sub-toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-50%, -70%) rotate(45deg); transition: transform .15s; }
  .has-menu.open .sub-toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .menu, .menu-mega { position: static; display: none; flex-basis: 100%; width: auto; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; background: transparent; color: var(--on-olive); padding: 0 0 0.6rem; }
  .has-menu:hover > .menu { display: none; }
  .has-menu.open > .menu { display: block; }
  .menu-cols, .menu-mega { grid-template-columns: 1fr; }
  .has-menu.open > .menu-cols, .has-menu.open > .menu-mega { display: grid; }
  .menu a { color: var(--on-olive); padding: 0.5rem 0.9rem; white-space: normal; opacity: 0.92; }
  .menu a:hover, .menu a:focus-visible { background: rgba(255,255,255,0.08); color: #fff; }
  .menu-head a { color: var(--amber); }
  .menu-all a { color: var(--amber); }
}

/* Tape-measure rule: ticks every 10 units, longer every 50 */
.tape {
  height: 14px;
  background-color: var(--amber);
  background-image:
    repeating-linear-gradient(90deg, #1d2116 0 2px, transparent 2px 50px),
    repeating-linear-gradient(90deg, #1d2116 0 1px, transparent 1px 10px);
  background-size: 100% 14px, 100% 6px;
  background-repeat: no-repeat;
}

/* Hero */
.hero { background: var(--olive-deep); color: var(--on-olive); padding-block: 3rem 3.2rem; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.hero p.lead { font-size: var(--step-1); max-width: 46ch; color: #d8ddc8; }
.hero h1 { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.btn { display: inline-block; padding: 0.75rem 1.15rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--amber); color: #1d2116; }
.btn-primary:hover { background: #ffcf2e; }
.btn-ghost { border-color: #c8cfb4; color: var(--on-olive); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.route-card { background: var(--olive); border: 1px solid #56653c; border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.route-card h2 { margin-top: 0; font-size: var(--step-2); color: #fff; }
.route-card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.route-card li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.7rem; align-items: start; }
.route-card .n { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: var(--amber); color: #1d2116; border-radius: 4px; }
.route-card a { color: #fff; font-weight: 600; }
.route-card small { display: block; color: #c9d0b6; font-size: 0.92rem; }

/* Sections */
section.band { padding-block: 3rem; }
section.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }
.kicker { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--muted); font-size: 0.95rem; margin: 0 0 0.3rem; }

.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.card h3 { margin: 0; font-size: 1.45rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--link); text-decoration: underline; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .meta { font-size: 0.85rem; color: var(--muted); margin-top: auto; padding-top: 0.6rem; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--olive); background: color-mix(in srgb, var(--olive) 12%, transparent); padding: 0.15rem 0.5rem; border-radius: 3px; align-self: flex-start; }
:root[data-theme="dark"] .tag { color: var(--link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag { color: var(--link); } }

.audience { border-left: 5px solid var(--amber); }
a.card.cat { text-decoration: none; color: var(--ink); border-top: 5px solid var(--olive); transition: border-color .15s, transform .15s; }
a.card.cat:hover { border-top-color: var(--amber); transform: translateY(-2px); }
a.card.cat h3 { color: var(--ink); }
.cat-section { scroll-margin-top: 1rem; padding-block: 0.5rem 1.5rem; border-bottom: 1px solid var(--line); }
.cat-section:last-child { border-bottom: 0; }
.cat-section .intro { color: var(--muted); max-width: var(--measure); margin-bottom: 1rem; }
.card.planned { background: transparent; border-style: dashed; }
.card.planned h3 { color: var(--muted); }
.trust-list { list-style: none; padding: 0; margin: 0; }
.trust-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.trust-list strong { display: block; font-family: var(--font-display); font-size: 1.35rem; }

.signup { background: var(--olive); color: var(--on-olive); border-radius: var(--radius); padding: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.signup h2 { margin: 0 0 0.3rem; color: #fff; }
.signup p { margin: 0; color: #d8ddc8; }
.signup form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.signup label { flex-basis: 100%; font-weight: 600; font-size: 0.92rem; }
.signup input { flex: 1 1 14rem; padding: 0.75rem 0.9rem; border-radius: var(--radius); border: 1px solid #56653c; font: inherit; }
.signup .msg { flex-basis: 100%; font-size: 0.92rem; color: var(--amber); min-height: 1.4em; }

/* Article */
.article-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 2rem 1.6rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.8rem; }
.crumbs a { color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.92rem; color: var(--muted); }
.byline strong { color: var(--ink); }
.article-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3rem; padding-block: 2rem 3rem; }
.toc { position: sticky; top: 1rem; align-self: start; font-size: 0.93rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.toc h2 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; }

.disclosure { font-size: 0.9rem; background: color-mix(in srgb, var(--amber) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line)); border-radius: var(--radius); padding: 0.7rem 0.9rem; margin-bottom: 1.6rem; max-width: var(--measure); }

.verdict { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--olive); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.6rem; max-width: var(--measure); }
.verdict h2 { margin-top: 0; font-size: var(--step-2); }
.verdict ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.verdict li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.6rem; }
.verdict li span:first-child { font-weight: 700; }

.table-wrap { overflow-x: auto; margin-bottom: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--olive); color: var(--on-olive); font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.02em; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }

.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 1.4rem 0; }
.product h3 { margin-top: 0.2rem; }
.product .best-for { display: inline-block; background: var(--amber); color: #1d2116; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2rem 0.55rem; border-radius: 3px; }
.product .spec { font-size: 0.93rem; color: var(--muted); margin-bottom: 0.8rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.8rem 0 1rem; }
.pros-cons h4 { margin: 0 0 0.3rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pros-cons ul { margin: 0; padding-left: 1.1rem; font-size: 0.97rem; }
.pros h4 { color: var(--link); }
.cons h4 { color: #a3401f; }
:root[data-theme="dark"] .cons h4 { color: #f08a63; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cons h4 { color: #f08a63; } }
.buy-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.buy { display: inline-block; background: var(--olive); color: #fff; font-weight: 700; text-decoration: none; padding: 0.6rem 1rem; border-radius: var(--radius); font-size: 0.95rem; }
.buy:hover { background: var(--olive-deep); }
.buy.secondary { background: transparent; color: var(--link); border: 2px solid var(--line); }

.tier { border-left: 5px solid var(--olive); padding-left: 1.1rem; margin: 1.6rem 0; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.4rem 0; max-width: var(--measure); }
.callout p:last-child { margin-bottom: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 0.8rem 0; max-width: var(--measure); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 0.6rem 0 0; }

.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-top: 2rem; max-width: var(--measure); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--olive); color: var(--amber); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.author-box p { margin: 0.2rem 0 0; font-size: 0.95rem; color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 1rem; max-width: var(--measure); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.9rem; }
.steps > li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--olive); color: var(--amber); border-radius: 4px; }
.steps h3 { margin: 0.25rem 0 0.3rem; font-size: 1.4rem; }
.steps p { margin: 0; }

/* Footer */
.site-footer { background: var(--olive-deep); color: #cfd5bf; padding-block: 2.6rem 1.6rem; font-size: 0.95rem; margin-top: 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1.25rem; color: #fff; margin: 0 0 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: #e6ebd8; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.site-footer .social a { text-decoration: none; font-weight: 600; font-size: 0.88rem; padding: 0.35rem 0.8rem; border: 1px solid #5a6740; border-radius: 999px; }
.site-footer .social a:hover { border-color: var(--amber); color: #fff; }
.site-footer .small { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #3f4a2c; font-size: 0.85rem; color: #aeb69c; }

@media (max-width: 900px) {
  .hero .wrap, .signup, .article-body { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .pros-cons, .site-footer .cols { grid-template-columns: 1fr; }
  .verdict li { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-block: 2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Photos */
figure.photo { margin: 0; }
figure.photo img { display: block; width: 100%; height: auto; background: var(--line); }
figure.photo figcaption { font-size: 0.78rem; color: var(--muted); padding-top: 0.35rem; }
figure.photo figcaption a { color: var(--muted); }
.card > figure.card-photo { margin: -1.25rem -1.3rem 0.7rem; }
.card > figure.card-photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
a.card.cat > figure.card-photo img { border-radius: 2px 2px 0 0; }
figure.lead-photo { margin: 0 0 1.6rem; max-width: var(--measure); }
figure.lead-photo img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

/* Cookie notice */
.cookie-bar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50; max-width: 760px; margin-inline: auto; background: var(--olive-deep); color: var(--on-olive); border: 1px solid #56653c; border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; align-items: center; box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.cookie-bar p { margin: 0; flex: 1 1 320px; font-size: 0.93rem; }
.cookie-bar a { color: var(--amber); }
.cookie-actions { display: flex; gap: 0.5rem; }
.cookie-actions .btn { padding: 0.55rem 1rem; cursor: pointer; font: inherit; font-weight: 700; }
.cookie-reject { background: transparent; color: var(--on-olive); border: 2px solid #8a9670; }

/* Site weather */
.wx-band { padding-block: 2rem; background: var(--surface); border-block: 1px solid var(--line); }
.site-weather { display: grid; gap: 1rem; }
.wx-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; }
.wx-head h2 { margin: 0; }
.wx-form { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.wx-form label { font-weight: 600; font-size: 0.92rem; }
.wx-form input { padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: var(--paper); color: var(--ink); width: 12rem; }
.wx-form .btn { padding: 0.6rem 1rem; cursor: pointer; font: inherit; font-weight: 700; }
.wx-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.6rem; min-height: 0; }
.wx-days:empty { display: none; }
.wx-day { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.4rem; display: flex; flex-direction: column; align-items: center; gap: 0.2rem; text-align: center; }
.wx-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.wx-cond { font-size: 0.8rem; color: var(--muted); }
.wx-temp { font-variant-numeric: tabular-nums; font-size: 0.95rem; color: var(--muted); }
.wx-temp b { color: var(--ink); font-size: 1.1rem; }
.wx-msg { margin: 0; color: var(--muted); font-size: 0.93rem; }
.wx-msg:empty { display: none; }
.wx-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8rem; background: var(--olive); color: #fff; border-radius: var(--radius); padding: 0.9rem 1.2rem; }
.wx-line { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.btn-ghost-dark { border: 2px solid var(--amber); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
.wx-credit { margin: 0; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 760px) { .wx-days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .wx-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* New guides ticker */
.ticker { display: flex; align-items: stretch; background: var(--olive-deep); color: var(--on-olive); border-bottom: 1px solid #3f4a2c; font-size: 0.92rem; overflow: hidden; }
.ticker-label { flex: none; background: var(--amber); color: #1d2116; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.45rem 0.9rem; display: flex; align-items: center; z-index: 1; }
.ticker-track { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-list { display: flex; flex: none; gap: 2.2rem; list-style: none; margin: 0; padding: 0.45rem 1.1rem; animation: ticker 55s linear infinite; white-space: nowrap; }
.ticker-list li::before { content: "\25B8"; color: var(--amber); margin-right: 0.5rem; }
.ticker-list a { color: var(--on-olive); text-decoration: none; }
.ticker-list a:hover, .ticker-list a:focus-visible { color: var(--amber); text-decoration: underline; }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-list { animation: none; }
  .ticker-track { overflow-x: auto; mask-image: none; }
  .ticker-list[aria-hidden="true"] { display: none; }
}
