/* PC Weather Products - site stylesheet (2026 redesign) */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Colors: storm navy and slate from the logo and the original site, warning-flag red as the single accent */
  --navy: #10244a;
  --navy-deep: #0a1833;
  --slate: #4a6782;
  --mist: #edf1f5;
  --rule: #d2dbe4;
  --text: #182339;
  --muted: #4d5d70;
  --link: #1d5a96;
  --flag: #c8102e;
  --white: #ffffff;
  --focus: #2f7fd8;

  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: 1.25rem;
  --space: clamp(3rem, 6vw, 4.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--white); color: var(--navy); padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #cfdae6; font-size: 0.9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.4rem; padding-bottom: 0.4rem; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar-contact { display: flex; gap: 1.5rem; }

/* ---------- Header and navigation ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: relative; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 15.5rem; height: auto; }

.menu-button {
  display: none;
  font: 600 1.15rem/1 var(--font-head);
  color: var(--navy); background: var(--white);
  border: 2px solid var(--navy); border-radius: var(--radius);
  padding: 0.55rem 0.9rem; cursor: pointer;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.site-nav a {
  display: block;
  font: 600 1.1rem/1 var(--font-head);
  color: var(--navy); text-decoration: none;
  padding: 0.6rem 0.55rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--rule); color: var(--navy); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--flag); }
.site-nav .nav-order a {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); border-bottom: 0;
  padding: 0.65rem 1rem; margin-left: 0.5rem;
}
.site-nav .nav-order a:hover { background: var(--navy-deep); color: var(--white); }
.site-nav .nav-order a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--flag); }

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  font: 600 1.15rem/1 var(--font-head);
  text-decoration: none;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  background: var(--navy); color: var(--white);
}
.button:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.button-light { background: var(--white); border-color: var(--white); color: var(--navy); }
.button-light:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.button-outline { background: transparent; border-color: rgba(255,255,255,0.85); color: var(--white); }
.button-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy-deep) url("../../2019intro1.jpg") 70% 40% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,24,51,0.96) 0%, rgba(10,24,51,0.86) 38%, rgba(10,24,51,0.25) 72%, rgba(10,24,51,0) 100%);
}
.hero .wrap { position: relative; padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4rem, 9vw, 7.5rem); }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 700; line-height: 1; max-width: 15ch; margin-bottom: 0.4em; }
.hero p { font-size: 1.2rem; max-width: 34rem; color: #e3eaf2; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 0.6rem; font-size: 0.8rem; color: rgba(255,255,255,0.85); text-shadow: 0 1px 2px rgba(0,0,0,0.8); margin: 0; }

/* ---------- Announcement ("What's up") ---------- */
.notice { background: var(--mist); border-bottom: 1px solid var(--rule); }
.notice .wrap { display: flex; align-items: center; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.notice p { margin: 0; max-width: none; }
.notice strong { color: var(--navy); }
.flag-mark { flex-shrink: 0; width: 1.75rem; height: 2.5rem; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section-mist { background: var(--mist); }
.section-intro { max-width: 44rem; margin-bottom: 2rem; }
.section-intro p { color: var(--muted); font-size: 1.125rem; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* Product list: a ruled list rather than cards */
.product-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.product-list li { border-bottom: 1px solid var(--rule); }
.product-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1.5rem; align-items: baseline;
  padding: 1rem 0.25rem; text-decoration: none; color: var(--text);
}
.product-list a:hover { background: var(--mist); }
.product-list .name { font: 600 1.5rem/1.15 var(--font-head); color: var(--navy); }
.product-list .version { font: 600 1.05rem/1 var(--font-head); color: var(--slate); white-space: nowrap; }
.product-list .tagline { grid-column: 1 / -1; color: var(--muted); }
.section-mist .product-list a:hover { background: var(--white); }

.link-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.link-list a { font-weight: 600; }

/* Conference / media */
.media-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.video-frame { background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }
.photo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 2.5rem 0 0.75rem; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.caption { font-size: 0.95rem; color: var(--muted); max-width: 70ch; }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.facts li:first-child { padding-top: 0; }
.facts h3 { margin-bottom: 0.25rem; }
.facts p { margin: 0; color: var(--muted); }

.award { display: flex; gap: 1.25rem; align-items: center; }
.award img { width: 5.5rem; flex-shrink: 0; border: 1px solid var(--rule); }

/* ---------- Inner page header ---------- */
.page-head { background: var(--navy); color: var(--white); padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-bottom: 4px solid var(--slate); }
.page-head h1 { color: var(--white); margin-bottom: 0.3em; }
.page-head p { color: #d9e2ec; font-size: 1.15rem; margin: 0; max-width: 46rem; }

.screenshot { margin: 0; }
.screenshot img { border: 1px solid var(--rule); border-radius: var(--radius); width: 100%; }
.screenshot figcaption { font-size: 0.95rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- Pricing tables ---------- */
.price-block { margin-bottom: var(--space); max-width: 56rem; }
.price-block .table { max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-block:last-child { margin-bottom: 0; }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; font: 600 1.6rem/1.2 var(--font-head); color: var(--navy); padding-bottom: 0.75rem; }
.table th, .table td { text-align: left; padding: 0.85rem 0.75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table thead th { font: 600 1.05rem/1.2 var(--font-head); color: var(--white); background: var(--navy); }
.table tbody th { font-weight: 600; color: var(--navy); }
.table .num { text-align: right; white-space: nowrap; }
.table .group th { background: var(--mist); color: var(--slate); font: 600 1.1rem/1.2 var(--font-head); }
.table .req { display: block; font-weight: 400; font-size: 0.95rem; color: var(--muted); }
.table-note { font-size: 0.95rem; color: var(--muted); margin-top: 0.75rem; }

.callout { border-left: 4px solid var(--navy); background: var(--mist); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cdd8e4; font-size: 0.98rem; margin-top: 0; }
.site-footer .wrap { padding-top: 3rem; padding-bottom: 2rem; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: var(--white); font-size: 1.35rem; margin-bottom: 0.75rem; }
.site-footer a { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer address { font-style: normal; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.18); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; }
.footer-base ul { display: flex; gap: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 68rem) {
  .menu-button { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: 0 8px 16px rgba(10,24,51,0.12); z-index: 50; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem var(--gutter) 1rem; gap: 0; }
  .site-nav a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--rule); font-size: 1.25rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); box-shadow: inset 4px 0 0 var(--flag); padding-left: 0.85rem; }
  .site-nav .nav-order a { margin: 0.75rem 0 0; text-align: center; }
  .split, .media-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 40rem) {
  :root { --gutter: 1rem; }
  body { font-size: 1rem; }
  .topbar .wrap { justify-content: center; }
  .topbar-tagline { display: none; }
  .brand img { width: 12rem; }
  .site-header .wrap { min-height: 4.25rem; }
  .hero { background-position: 75% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(10,24,51,0.45) 0%, rgba(10,24,51,0.88) 45%, rgba(10,24,51,0.97) 100%); }
  .hero .wrap { padding-top: 9rem; }
  .hero p { font-size: 1.1rem; }
  .button-row .button { flex: 1 1 100%; text-align: center; }
  .notice .wrap { align-items: flex-start; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img:first-child { grid-column: 1 / -1; }
  .footer-cols { grid-template-columns: 1fr; }
  .product-list a { grid-template-columns: 1fr; }
  .product-list .version { order: -1; }

  /* Stack the upgrade-credit grid on phones */
  .table-stack thead { position: absolute; left: -9999px; }
  .table-stack tr { display: block; border-bottom: 1px solid var(--rule); padding: 0.75rem 0; }
  .table-stack th, .table-stack td { display: flex; justify-content: space-between; border: 0; padding: 0.25rem 0; }
  .table-stack tbody th { font: 600 1.25rem/1.2 var(--font-head); padding-bottom: 0.4rem; }
  .table-stack td::before { content: attr(data-label); color: var(--muted); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .site-nav, .menu-button, .notice, .video-frame { display: none !important; }
  .hero, .page-head { background: none; color: #000; }
  .hero::before { display: none; }
  .hero h1, .page-head h1, .hero p, .page-head p { color: #000; }
}

.page-head a:not(.button) { color: var(--white); }

/* ---------- Product pages ---------- */
.product-head .product-version { font: 600 1.15rem/1 var(--font-head); color: #b9c8d8; margin-bottom: 0.5rem; }
.product-head h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); font-weight: 700; margin-bottom: 0.25em; }
.product-head p { font-size: 1.25rem; }
.price-line { margin-top: 1rem !important; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; }
.price-line strong { font: 700 1.9rem/1 var(--font-head); color: var(--white); }
.price-line a { font-size: 1rem; }

.split-glance { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.glance { background: var(--mist); border-top: 4px solid var(--navy); padding: 1.5rem; border-radius: 0 0 var(--radius) var(--radius); }
.glance h2 { font-size: 1.5rem; }
.glance dl { margin: 0 0 1rem; }
.glance dt { font: 600 1.05rem/1.2 var(--font-head); color: var(--slate); margin-top: 0.75rem; }
.glance dd { margin: 0.15rem 0 0; }
.glance p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.5rem; }

.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { position: relative; padding: 0.4rem 0 0.4rem 1.75rem; border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.85rem; width: 0.7rem; height: 0.7rem; background: var(--navy); }

.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2rem; }
.highlights li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0 1rem; align-items: start; }
.highlights li > a { display: contents; text-decoration: none; }
.highlights img { grid-row: 1 / span 2; width: 7.5rem; height: auto; max-height: 6rem; object-fit: cover; object-position: top left; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.highlights li > a > .hl-title, .highlights li > p { grid-column: 2; }
.highlights li:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.highlights li:not(:has(img)) > a > .hl-title, .highlights li:not(:has(img)) > p { grid-column: 1; }
.hl-title { font: 600 1.35rem/1.15 var(--font-head); color: var(--navy); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 0.2em; }
.highlights a:hover .hl-title { text-decoration-color: var(--navy); }
.highlights p { margin: 0.4rem 0 0; color: var(--muted); }

.feature-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.feature-group { border-top: 2px solid var(--navy); padding-top: 1rem; }
.feature-group p { color: var(--muted); }
.feature-group ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.5rem; }
.feature-group li { break-inside: avoid; padding: 0.2rem 0; font-size: 0.98rem; }
.more-link { margin-top: 2rem; font-weight: 600; }

.cta-band { background: var(--navy); color: #d9e2ec; padding: 3rem 0; border-top: 4px solid var(--flag); }
.cta-band h2 { color: var(--white); }
.cta-band a { color: var(--white); }
.cta-band p { margin: 0; font-size: 1.15rem; }

.data-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.data-list div { padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.data-list dt { font: 600 1.3rem/1.2 var(--font-head); color: var(--navy); }
.data-list dd { margin: 0.25rem 0 0; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 1.25rem 1.75rem; max-width: 60ch; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.timeline .year { display: block; font: 600 1.3rem/1.2 var(--font-head); color: var(--navy); }

@media (max-width: 68rem) {
  .split-glance, .highlights { grid-template-columns: 1fr 1fr; }
  .split-glance { grid-template-columns: 1fr; }
  .feature-groups, .data-list { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .highlights { grid-template-columns: 1fr; }
  .feature-group ul { columns: 1; }
}

/* ---------- Converted content pages ---------- */
.prose { max-width: 50rem; }
.prose h2 { font-size: 1.75rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose img { display: inline-block; vertical-align: middle; margin: 0.5rem 0.5rem 0.5rem 0; border-radius: var(--radius); }
.prose ul, .prose ol { padding-left: 1.4rem; max-width: 68ch; }
.prose li { margin-bottom: 0.35rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--slate); background: var(--mist); }
.prose > div, .prose div > div { margin-bottom: 1rem; }
.table-scroll { position: relative; overflow-x: auto; margin: 1.5rem 0; }
.table-wide { min-width: 36rem; }
.table-wide td, .table-wide th { font-size: 0.95rem; }
.table-wide tr:first-child td { background: var(--navy); color: var(--white); font-weight: 600; }
.table-wide tr:first-child td a { color: var(--white); }

.update-list { list-style: none; margin: 0; padding: 0; max-width: 50rem; }
.update-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.update-list li:first-child { border-top: 2px solid var(--navy); }
.update-list h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.update-file { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; margin-bottom: 0.4rem; }
.update-file a { font: 600 1.3rem/1.2 var(--font-head); }
.update-file span { color: var(--muted); font-size: 0.95rem; }
.update-list li:first-child .update-file a { color: var(--flag); }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.contact-card { border-top: 2px solid var(--navy); padding-top: 1rem; }
.contact-card dt { font: 600 1.05rem/1.2 var(--font-head); color: var(--slate); margin-top: 0.75rem; }
.contact-card dd { margin: 0.15rem 0 0; font-size: 1.1rem; }
.contact-card address { font-style: normal; font-size: 1.1rem; }

.resource-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.resource-list li { border-bottom: 1px solid var(--rule); }
.resource-list a { display: block; padding: 0.85rem 0.25rem; font: 600 1.25rem/1.2 var(--font-head); text-decoration: none; }
.resource-list a:hover { background: var(--mist); }

.steps { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font: 700 2.5rem/1 var(--font-head); color: var(--slate); margin-bottom: 0.5rem; }
.steps h2 { font-size: 1.5rem; }
.order-extra { grid-template-columns: 1fr 1fr; gap: 2rem; }
.order-extra .callout { margin: 0; }

@media (max-width: 68rem) {
  .contact-grid, .steps, .order-extra { grid-template-columns: 1fr; }
}
.compare-table thead th { position: sticky; top: 0; }
.compare-table thead a { color: var(--white); }
.compare-table .mark { text-align: center; width: 6.5rem; font-size: 1.3rem; color: var(--navy); }
.compare-table thead .mark { font-size: 1.05rem; }
.compare-table tbody th { font-weight: 400; color: var(--text); }
.compare-table tbody tr:nth-child(even) { background: #f7f9fb; }
@media (max-width: 40rem) { .compare-table .mark { width: 3.6rem; font-size: 1.1rem; } .compare-table thead .mark { font-size: 0.9rem; } .compare-table th, .compare-table td { padding: 0.6rem 0.35rem; } }

/* ---------- Detail and archive pages ---------- */
.crumb { margin-bottom: 0.5rem; }
.crumb a { font: 600 1.05rem/1 var(--font-head); color: #b9c8d8 !important; text-decoration: none; }
.crumb a::before { content: "\2039\00a0"; }
.crumb a:hover { color: var(--white) !important; text-decoration: underline; }
.video-inline { margin: 0 0 2rem; max-width: 50rem; }
.prose img { max-width: 100%; height: auto; }
.prose iframe { display: block; width: 100%; max-width: 40rem; height: auto; aspect-ratio: 16 / 9; border: 0; margin: 1rem 0; }
.prose { overflow-wrap: anywhere; }
.prose pre { white-space: pre-wrap; }

/* ---------- Storm report tables (Enhanced AWE results) ---------- */
mark { background: #ffe27a; color: inherit; padding: 0 0.15em; }
.table-key { display: flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0 0; font-size: 0.95rem; color: var(--muted); }
.table-key .swatch { width: 1rem; height: 1rem; border-radius: 2px; background: #dcefe2; border: 1px solid #8cc39f; }
.table-title { font-size: 1.6rem; margin: 2.5rem 0 0; }
.awe-table { min-width: 52rem; font-size: 0.98rem; }
.awe-table th, .awe-table td { padding: 0.55rem 0.7rem; }
.awe-table thead th { text-align: center; vertical-align: bottom; }
.awe-table thead th[rowspan] { text-align: left; }
.awe-table thead tr + tr th { background: var(--slate); font-size: 1rem; text-align: right; }
.awe-table thead .grp { border-left: 1px solid rgba(255, 255, 255, 0.35); }
.awe-table tbody .grp, .awe-table tfoot .grp { border-left: 1px solid var(--rule); }
.awe-table tbody tr:nth-child(even) { background: #f7f9fb; }
.awe-table tbody th { position: sticky; left: 0; z-index: 1; min-width: 10rem; background: var(--white); border-right: 1px solid var(--rule); }
.awe-table tbody tr:nth-child(even) th { background: #f7f9fb; }
.awe-table thead tr:first-child th:first-child { position: sticky; left: 0; z-index: 2; }
.awe-table td.better { background: #dcefe2; color: #17613a; font-weight: 700; }
.awe-table tfoot th, .awe-table tfoot td { border-top: 2px solid var(--navy); border-bottom: 0; background: var(--mist); font-weight: 700; color: var(--navy); }
.awe-table tfoot th { text-align: right; }
.table .key { background: #ffe27a; color: var(--text); font-weight: 700; }
.table-notes { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; color: var(--muted); }
.table-notes li { margin-bottom: 0.25rem; }
.report-highlights { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 1rem 3rem; align-items: start; }
.report-highlights .table-scroll { margin: 0; }
.report-note { font-size: 0.95rem; color: var(--muted); }
.band-table { background: var(--white); }
.band-table caption { font-size: 1.35rem; }
.band-table tfoot th, .band-table tfoot td { border-top: 2px solid var(--navy); border-bottom: 0; font-weight: 700; color: var(--navy); }
.band-table tfoot td.key { color: var(--text); }
@media (max-width: 56rem) { .report-highlights { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .awe-table { min-width: 0; } .awe-table tbody th { min-width: 8.5rem; line-height: 1.3; } .awe-table th, .awe-table td { padding: 0.5rem 0.5rem; } }

/* ---------- Feature explainer (Advanced Wind Estimation) ---------- */
.split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.section-lead { max-width: 46rem; color: var(--muted); font-size: 1.1rem; }
.claim { margin: 0 0 1.5rem; padding: 0; border: 0; background: none; }
.claim::before { content: ""; display: block; width: 3rem; height: 4px; background: var(--flag); margin-bottom: 1rem; }
.claim p { margin: 0; font: 600 clamp(1.8rem, 3.6vw, 2.6rem)/1.1 var(--font-head); color: var(--navy); max-width: 22ch; }
.proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.proof-legend { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.95rem; color: var(--muted); }
.proof-legend li { display: flex; align-items: center; gap: 0.5rem; }
.sw { display: inline-block; width: 1.5rem; height: 0.75rem; border-radius: 2px; }
.sw-std, .bar.std { background: #b3c1d0; }
.sw-awe, .bar.awe { background: var(--navy); }
.proof-chart { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.5rem 0.5rem; }
.proof-chart figcaption { font: 600 1.35rem/1.2 var(--font-head); color: var(--navy); margin-bottom: 0.5rem; }
.proof-list { list-style: none; margin: 0; padding: 0; }
.proof-list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.3rem 1rem; align-items: center; padding: 0.7rem 0; border-top: 1px solid var(--rule); }
.proof-list .storm { grid-row: span 2; font: 600 1.15rem/1.15 var(--font-head); }
.bar-row { display: flex; align-items: center; gap: 0.5rem; }
.bar { display: block; flex: none; height: 0.8rem; width: calc(var(--v) * 1.2%); border-radius: 0 2px 2px 0; }
.val { font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.proof-list .proof-total { border-top: 2px solid var(--navy); }
.proof-total .storm { color: var(--navy); }
.feature-cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.feature-cards img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.feature-cards h3 { margin: 1rem 0 0.4rem; font-size: 1.45rem; }
.feature-cards p { margin: 0 0 0.6rem; color: var(--muted); }
.card-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-weight: 600; }
@media (max-width: 56rem) { .proof, .split-even { grid-template-columns: minmax(0, 1fr); } .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .feature-cards { grid-template-columns: minmax(0, 1fr); } .proof-list li { grid-template-columns: 5.75rem minmax(0, 1fr); gap: 0.3rem 0.75rem; } .proof-chart { padding: 1rem 1rem 0.25rem; } }

/* ---------- Feature pages ---------- */
.feature-body .f-block + .f-block { margin-top: 2.75rem; }
.feature-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 1rem; max-width: 46rem; }
.f-text { max-width: 46rem; }
.f-text > :last-child { margin-bottom: 0; }
.f-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.f-row-small { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.f-fig { margin: 0; width: 100%; min-width: 0; }
.f-fig img { display: block; max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.f-fig figcaption { font-size: 0.95rem; color: var(--muted); margin-top: 0.5rem; }
.f-zoom { display: block; cursor: zoom-in; }
.f-zoom:focus-visible img { outline: 3px solid var(--focus); outline-offset: 2px; }
.f-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.75rem 1.5rem; align-items: start; margin-top: 1.5rem; }
.f-gallery .f-fig { max-width: none !important; }
.f-text + .f-gallery { margin-top: 1.5rem; }
.f-block > h2 + .f-gallery, .f-block > .f-gallery:first-child { margin-top: 0; }
.f-video-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; }
.f-video-link a { font-weight: 600; }
.f-video-link a::before { content: "\25B6\00a0"; font-size: 0.85em; }
.f-video-link span { color: var(--muted); font-size: 0.95rem; }
.video-embed { aspect-ratio: 16 / 9; max-width: 48rem; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.feature-body .video-frame { max-width: 48rem; }
.table-data { min-width: 40rem; font-size: 0.95rem; }
.table-data th, .table-data td { padding: 0.5rem 0.6rem; }
.feature-foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.feature-foot h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-foot-grid > div:only-child { grid-column: 1 / -1; }
.product-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.product-chips a { display: inline-block; padding: 0.5rem 0.9rem; background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--navy); border-radius: var(--radius); font-weight: 600; text-decoration: none; color: var(--navy); }
.product-chips a:hover { border-color: var(--navy); }
.ff-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin: 1.25rem 0 0; font-weight: 600; }
.related-list { list-style: none; margin: 0; padding: 0; columns: 2 16rem; column-gap: 2rem; }
.related-list li { break-inside: avoid; padding: 0.4rem 0; border-bottom: 1px solid var(--rule); }
.related-list a { font-weight: 600; }
@media (max-width: 56rem) { .f-row, .f-row-small, .feature-foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- What's new ---------- */
.wn-cards { margin-top: 1.5rem; }
.also-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.also-grid li { border-top: 3px solid var(--navy); padding-top: 1rem; }
.also-grid h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.also-grid p { margin: 0; color: var(--muted); }
@media (max-width: 56rem) { .also-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About ---------- */
.about-who { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.about-who li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); font-weight: 600; color: var(--navy); }
.about-buttons { margin-top: 2rem; }
.mission { margin: 1rem 0 0; max-width: 48rem; }
.mission blockquote { margin: 0; padding: 0 0 0 1.5rem; border-left: 4px solid var(--flag); }
.mission blockquote p { font-size: 1.2rem; line-height: 1.65; margin: 0; }
.about-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.about-sign img { display: block; border: 1px solid var(--rule); border-radius: var(--radius); }
.about-sign .who { display: flex; flex-direction: column; color: var(--muted); }
.about-sign .who strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); }
.about-sign .webcard { margin-left: 1rem; }
@media (max-width: 40rem) { .about-sign .webcard { margin-left: 0; } }
.button-quiet { background: transparent; border-color: var(--navy); color: var(--navy); }
.button-quiet:hover { background: var(--white); border-color: var(--navy); color: var(--navy); }

/* ---------- Converted videos (formerly Windows Media) ---------- */
.f-video { margin: 1.5rem 0; max-width: 48rem; }
.f-video .video-frame video { display: block; height: auto; }
.f-video figcaption { font-size: 0.95rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- Training video pages: player with a chapter list ---------- */
.chapter-player { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 1.5rem 2.5rem; align-items: start; }
.chapter-player video, .f-video video { display: block; width: 100%; height: auto; }
.cp-chapters h2 { font-size: 1.4rem; margin: 0 0 0.6rem; }
.chapter-list { list-style: none; margin: 0; padding: 0; counter-reset: chapter; border-top: 1px solid var(--rule); }
.chapter-list li { counter-increment: chapter; display: flex; align-items: baseline; gap: 0.75rem; border-bottom: 1px solid var(--rule); }
.chapter-list li::before { content: counter(chapter); min-width: 1.5rem; padding: 0.6rem 0 0.6rem 0.5rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chapter-list a { flex: 1; padding: 0.6rem 0; font-weight: 600; text-decoration: none; }
.chapter-list a:hover { text-decoration: underline; }
.chapter-list .cp-time { padding-right: 0.5rem; color: var(--muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.chapter-list li:has(a[aria-current]) { background: var(--mist); box-shadow: inset 4px 0 0 var(--flag); }
.chapter-list a[aria-current] { color: var(--navy); }
.feature-body .f-video, .section .f-video { max-width: 60rem; }
@media (max-width: 56rem) { .chapter-player { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Training video library (training.html) ---------- */
.t-head .finder { margin-top: 1.75rem; max-width: 34rem; }
.finder label { display: block; font: 600 1.2rem/1.2 var(--font-head); color: var(--white); margin-bottom: 0.45rem; }
.finder input { width: 100%; font: inherit; font-size: 1.05rem; padding: 0.7rem 0.9rem; border: 0; border-radius: var(--radius); background: var(--white); color: var(--text); }
.page-head .finder-status { font-size: 0.95rem; color: #b9c8d8; margin-top: 0.55rem; min-height: 1.5em; }
.t-layout { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding-top: var(--space); padding-bottom: var(--space); }
.t-index { position: sticky; top: 1.5rem; }
.t-index ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.t-index a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--rule); color: var(--navy); font-weight: 600; text-decoration: none; line-height: 1.3; }
.t-index a:hover { background: var(--mist); color: var(--navy); }
.t-index a[aria-current] { background: var(--mist); box-shadow: inset 4px 0 0 var(--flag); }
.ti-count { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.t-body [hidden], [data-finder][hidden] { display: none !important; }
.t-section { scroll-margin-top: 1rem; }
.t-section + .t-section { margin-top: clamp(3rem, 6vw, 4.5rem); }
.t-section > h2 { margin-bottom: 1.25rem; }
.t-section > h2 + .t-sub { margin-top: -0.95rem; }
.t-sub { color: var(--muted); margin: 0 0 1.5rem; }

/* One row per video: title on the left, length or date on the right */
.v-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.v-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.25rem; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.v-title { line-height: 1.45; }
.v-title > a:first-child { font-weight: 600; text-decoration: none; }
.v-title > a:first-child:hover { text-decoration: underline; }
.v-meta { grid-column: 2; grid-row: 1; color: var(--muted); font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.v-note { grid-column: 1; display: block; color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin-top: 0.15rem; }
.v-tag { display: inline-block; margin-left: 0.4rem; padding: 0 0.45rem; border: 1px solid var(--rule); border-radius: var(--radius); color: var(--slate); font-size: 0.8rem; font-weight: 600; line-height: 1.6; vertical-align: 0.1em; white-space: nowrap; }
.v-alt { font-size: 0.9rem; white-space: nowrap; }
.v-list-intro li { padding: 0.85rem 0; }
.v-list-intro .v-title > a:first-child { font: 600 1.4rem/1.2 var(--font-head); }
.v-list-cols { columns: 2 20rem; column-gap: 3rem; }

/* Yearly supplements: one tile per version year */
.year-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.year-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-height: 5.75rem; padding: 0.85rem 1rem 0.8rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.year-tile:hover { background: var(--mist); }
.year-link { display: flex; flex-direction: column; color: var(--navy); text-decoration: none; }
.year-link::after { content: ""; position: absolute; inset: 0; }
.year-link:hover { color: var(--navy); }
.year-link:hover .year-num { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.year-num { font: 700 2.4rem/1 var(--font-head); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.year-meta, .year-flag { margin-top: auto; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.year-meta { color: var(--muted); }
.year-flag { color: var(--flag); font-weight: 600; }
.year-latest { box-shadow: inset 0 4px 0 var(--flag); }
.year-tile .v-alt { position: relative; z-index: 1; margin: auto 0 0; }

/* Lunch-N-Learn: sessions grouped under their year */
.lnl-year { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: 1.5rem; }
.lnl-year + .lnl-year { margin-top: 1.75rem; }
.lnl-year-num { margin: 0; padding-top: 0.45rem; border-top: 2px solid var(--navy); font: 700 2rem/1 var(--font-head); color: var(--navy); }

/* Tracking and analysis: topic groups in two columns */
.topic-groups { columns: 2 22rem; column-gap: 3rem; }
.topic-group { break-inside: avoid; margin-bottom: 2.25rem; }
.topic-group h3 { font-size: 1.45rem; margin: 0 0 0.5rem; }
.topic-group-wide .v-list { columns: 2 22rem; column-gap: 3rem; }
.topic-groups + .topic-group { margin-top: 1.75rem; }

.finder-empty { padding: 1.5rem; background: var(--mist); border-left: 4px solid var(--navy); }
.finder-empty p { margin: 0; }
.link-button { padding: 0; border: 0; background: none; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.link-button:hover { color: var(--navy); }

@media (max-width: 60rem) {
  .t-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .t-index { position: static; }
  .t-index ul { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; }
  .t-index a { border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.45rem 0.75rem; gap: 0.6rem; }
  .t-index a[aria-current] { box-shadow: none; }
  .year-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .year-tile { min-height: 4.75rem; padding: 0.7rem 0.75rem; }
  .year-num { font-size: 2rem; }
  .lnl-year { grid-template-columns: minmax(0, 1fr); }
  .lnl-year-num { padding: 0.45rem 0 0.6rem; font-size: 1.75rem; }
  .lnl-year .v-list { border-top-width: 1px; border-top-color: var(--rule); }
}
@media print {
  .t-index, .finder { display: none !important; }
  .t-layout { display: block; }
}
