/* HB9HBY 2026 redesign: a personal field-radio identity layered over the stable site. */
:root {
  --bg: #e8ece9;
  --panel: #f7f8f6;
  --panel-soft: #dde3df;
  --text: #121615;
  --muted: #4b5550;
  --cyan: #24568e;
  --green: #087064;
  --yellow: #745600;
  --orange: #d8783c;
  --red: #bd352a;
  --line: #c3cbc6;
  --shadow: 0 18px 50px rgba(11, 20, 17, .14);
  --site-ink: #121615;
  --site-ink-soft: #1b211f;
  --site-paper: #e8ece9;
  --site-white: #f7f8f6;
  --site-muted: #4b5550;
  --site-line: #c3cbc6;
  --site-signal: #a82f27;
  --site-signal-dark: #8f261e;
  --site-radio: #087064;
  --site-blue: #24568e;
  --site-yellow: #745600;
  --site-radius: 5px;
  --site-shadow: 0 18px 50px rgba(11, 20, 17, .14);
}

/* Keep the legacy HTML shell out of the first paint while the shared menu,
   footer and saved language are applied. The inline timeout in each page is
   a fail-safe: the content is never left hidden if a script cannot load. */
html.site-booting {
  min-height: 100%;
  background: #e8ece9;
}

html.site-booting body {
  opacity: 0 !important;
  pointer-events: none;
}

html.site-booting::before {
  content: "HB9HBY";
  position: fixed;
  z-index: 2147483646;
  inset: 0;
  display: grid;
  place-items: center;
  background: #e8ece9;
  color: #121615;
  font: 900 24px/1 "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: .08em;
}

html.site-booting::after {
  content: "";
  position: fixed;
  z-index: 2147483647;
  top: calc(50% + 30px);
  left: 50%;
  width: 112px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bd352a 0 34%, #24568e 34% 67%, #087064 67% 100%);
  transform: translateX(-50%);
  animation: hb9hby-boot-pulse .8s ease-in-out infinite alternate;
}

html.site-ready body {
  animation: hb9hby-site-reveal .16s ease-out both;
}

@keyframes hb9hby-boot-pulse {
  from { opacity: .38; transform: translateX(-50%) scaleX(.72); }
  to { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

@keyframes hb9hby-site-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html.site-booting::after,
  html.site-ready body { animation: none; }
}

html {
  scroll-padding-top: 86px;
}

body {
  background: var(--site-paper);
  color: var(--site-ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.58;
}

body::before,
body::after {
  display: none !important;
}

/* The HF map is a working radio instrument and keeps its dedicated dark palette. */
body.hf-radar-page {
  color-scheme: dark;
  --bg: #06110f;
  --panel: #092a23;
  --panel2: #050f0d;
  --line: #153f34;
  --text: #e9fff6;
  --muted: #9cc8bd;
  --green: #46f2bd;
  --yellow: #ffcf70;
  --red: #ff5d5d;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

body.hf-radar-page::before,
body.hf-radar-page::after {
  display: none !important;
}

body.hf-radar-page > header {
  background: #101413;
  border-bottom-color: rgba(255, 255, 255, .1);
}

body.hf-radar-page .download-widget-button {
  border-color: var(--site-signal);
  border-radius: var(--site-radius);
  background: var(--site-signal);
  color: #fff;
  box-shadow: none;
}

body.hf-radar-page .download-widget-button:hover {
  border-color: var(--site-signal-dark);
  background: var(--site-signal-dark);
}

body.hf-radar-page .site-footer {
  border-top-color: var(--line);
  background: #050f0d;
  color: var(--muted);
}

a {
  text-underline-offset: 3px;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "brand nav language account";
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 76px;
  padding: 10px max(22px, calc((100vw - 1380px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  background: rgba(16, 20, 19, .95);
  box-shadow: none;
  backdrop-filter: blur(14px);
  transition: min-height .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.site-header .brand-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-header .brand-logo {
  display: block;
  width: 154px;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-copy strong {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
}

.brand-copy small {
  color: #9fa9a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-header .main-nav {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  flex-wrap: nowrap;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nav-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.site-header .main-nav a,
.nav-more-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #c8cfcb;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.site-header .main-nav a:hover,
.site-header .main-nav a:focus-visible,
.site-header .main-nav a[aria-current="page"],
.nav-more-toggle:hover,
.nav-more-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.site-header .main-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--site-signal);
}

.nav-more {
  position: relative;
}

.nav-more-toggle {
  gap: 7px;
}

.nav-more-toggle i {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: 230px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--site-radius);
  background: #171c1b;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .34);
}

.nav-more-menu a {
  width: 100%;
  justify-content: flex-start !important;
}

.site-header .language-switch {
  min-height: 38px;
  display: inline-flex;
  gap: 0;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 4px;
  background: #0c0f0e;
}

.site-header .lang-btn {
  min-width: 60px;
  min-height: 32px;
  padding: 5px 8px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #9fa9a4;
  font-weight: 850;
  white-space: nowrap;
}

.site-header .lang-btn:hover,
.site-header .lang-btn.is-active {
  background: #fff;
  color: var(--site-ink);
}

.site-header .account-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--site-signal);
  border-radius: 4px;
  background: var(--site-signal);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: none;
}

.site-header .account-link:hover,
.site-header .account-link:focus-visible {
  border-color: var(--site-signal-dark);
  background: var(--site-signal-dark);
  color: #fff;
}

.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: transparent;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

.official-notice {
  border: 0;
  border-bottom: 1px solid #d7c58d;
  background: #f7f0d7;
  color: #393526;
}

.official-notice-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.official-notice-mark {
  width: 28px;
  height: 28px;
  border: 1px solid #bd9d3e;
  border-radius: 50%;
  background: transparent;
  color: #6e5719;
  box-shadow: none;
}

.official-notice strong {
  color: #4c3c12;
  font-size: 12px;
}

.official-notice p {
  margin: 2px 0 0;
  color: #655f4c;
  font-size: 11px;
  line-height: 1.4;
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  min-height: min(760px, calc(100vh - 108px));
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(70px, 9vw, 132px) max(24px, calc((100vw - 1180px) / 2)) 72px;
  overflow: hidden;
  background: #121817 url("assets/bio-silo-caravane.jpg") center 48% / cover no-repeat;
  color: #fff;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(7, 11, 10, .96) 0%, rgba(7, 11, 10, .82) 44%, rgba(7, 11, 10, .25) 78%, rgba(7, 11, 10, .45) 100%);
}

.home-page .hero::after {
  content: "JN36 · SUISSE";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  top: 48px;
  z-index: -1;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 650px;
}

.eyebrow {
  color: var(--site-signal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-page .hero h1 {
  max-width: 620px;
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(54px, 6.3vw, 88px);
  line-height: .94;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-page .hero-lead {
  max-width: 610px;
  color: #e0e5e2;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.btn,
.download-widget-button,
.spot-button,
.geo-button {
  min-height: 42px;
  border-radius: 4px;
  box-shadow: none;
  font-weight: 850;
}

.btn.primary {
  border-color: var(--site-signal);
  background: var(--site-signal);
  color: #fff;
}

.btn.primary:hover {
  border-color: var(--site-signal-dark);
  background: var(--site-signal-dark);
}

.btn.secondary {
  border-color: currentColor;
  background: transparent;
}

.home-page .hero .btn.secondary {
  min-height: 34px;
  padding: 6px 9px;
  border-color: rgba(255, 255, 255, .32);
  color: #d8dedb;
  font-size: 11px;
}

.home-page .hero .linux-download,
.home-page .hero .mac-download,
.home-page .hero .android-download {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 4px;
  background: rgba(15, 20, 18, .62);
  color: #fff;
}

.home-page .hero-media {
  position: absolute;
  right: max(18px, calc((100vw - 1300px) / 2));
  bottom: 42px;
  z-index: 1;
  width: min(47vw, 690px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .hero-media img {
  width: 100%;
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .48));
}

.home-page .shot-callout {
  display: none;
}

.home-page .platform-row {
  margin-top: 24px;
}

.home-page .platform {
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 3px;
  background: rgba(9, 13, 12, .5);
  color: #dbe2de;
}

.home-page .version-pill,
.home-page .platform-stats {
  display: none;
}

main > section:not(.hero):not(.official-notice) {
  scroll-margin-top: 82px;
}

.download-band,
.premium-band,
.pro-preview-band,
.web-widget-band,
.donate-band,
.client-feature-band {
  border: 0;
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
  background: #eef1ee;
  color: var(--site-ink);
}

.premium-band,
.pro-preview-band {
  --panel: #1b211f;
  --panel-soft: #242c29;
  --text: #ffffff;
  --muted: #b9c2bd;
  --line: rgba(255, 255, 255, .16);
  background: var(--site-ink);
  color: #fff;
}

.premium-band h2,
.premium-band h3,
.pro-preview-band h2,
.pro-preview-band h3,
.premium-band p,
.pro-preview-band p {
  color: inherit;
}

.download-grid,
.premium-grid,
.web-widget-grid,
.donate-grid {
  gap: clamp(38px, 7vw, 100px);
  padding-top: 82px;
  padding-bottom: 82px;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  letter-spacing: 0;
}

.section-heading h2,
.download-grid h2,
.premium-grid h2,
.web-widget-grid h2,
.donate-grid h2,
.roadmap h2,
.trust-strip h2 {
  font-size: clamp(32px, 4.1vw, 54px);
  line-height: 1.08;
  text-wrap: balance;
}

.download-panel,
.premium-panel,
.donate-panel,
.web-widget-panel,
.contact-panel,
.update-version-panel,
.qso-tool-panel,
.client-preview-surface,
.widget-product-visual img {
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
}

.download-panel,
.donate-panel,
.contact-panel,
.update-version-panel,
.qso-tool-panel,
.client-preview-surface {
  border: 1px solid var(--site-line);
  background: var(--site-white);
  color: var(--site-ink);
}

.download-status,
.current-version-card,
.premium-feature-list article,
.web-widget-steps article,
.update-mode-grid > div,
.contact-detail,
.contact-link,
.client-preview-status span,
.client-preview-actions span {
  border-radius: 3px;
}

.faq-section,
.bio-section,
.visual-section,
.roadmap,
.trust-strip,
.benefit-strip,
.latest-update-section,
.legal-content,
.function-guide-section,
.client-account-preview,
.client-final-action {
  padding-top: 84px;
  padding-bottom: 84px;
}

.faq-grid,
.benefit-strip,
.client-feature-grid,
.platform-cards,
.pro-preview-grid,
.visual-grid,
.function-guide-grid {
  gap: 0;
  border-top: 1px solid var(--site-line);
}

.faq-item,
.benefit-strip article,
.client-feature-grid article,
.platform-card,
.pro-preview-card,
.visual-card,
.function-guide-item,
.legal-content article,
.latest-update-card,
.platform-update-card {
  border: 0;
  border-right: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-item,
.benefit-strip article,
.client-feature-grid article,
.platform-card,
.pro-preview-card,
.visual-card,
.function-guide-item {
  padding: 26px;
}

.faq-item p,
.benefit-strip p,
.client-feature-grid p,
.platform-card p,
.visual-card p,
.function-guide-item p,
.function-guide-item small,
.legal-content p,
.legal-content li,
.latest-update-card p,
.platform-update-card p,
.bio-story p,
.bio-timeline p,
.bio-equipment p {
  color: var(--site-muted);
}

.bio-timeline strong,
.function-guide-pro .function-guide-number,
.function-guide-pro .function-guide-item small,
.update-history-list span {
  color: var(--site-yellow);
}

.bio-equipment strong,
.download-status span,
.current-version-card strong,
.version-list b {
  color: var(--site-radio);
}

.help-steps-panel .numbered-steps li,
.donate-page-panel .numbered-steps li {
  border-color: #d8a8a3;
  background: #f7e9e7;
}

.help-steps-panel .numbered-steps strong,
.donate-page-panel .numbered-steps strong {
  color: var(--site-ink);
}

.help-steps-panel .numbered-steps span,
.donate-page-panel .numbered-steps span {
  color: var(--site-muted);
}

.help-steps-panel .numbered-steps li::before,
.donate-page-panel .numbered-steps li::before {
  background: var(--site-signal);
  color: #fff;
}

.donate-page-panel .red-warning {
  border-color: #d8a8a3;
  background: #f7e9e7;
  color: #76271f;
}

.pro-preview-card {
  border-color: rgba(255, 255, 255, .15);
}

.bio-bubble {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bio-story {
  max-width: 850px;
  padding: 0;
  font-size: 18px;
}

.bio-gallery {
  gap: 10px;
  margin-top: 42px;
}

.bio-photo {
  overflow: hidden;
  border-radius: var(--site-radius);
  background: #111;
}

.bio-photo img {
  min-height: 320px;
  object-fit: cover;
  transition: transform .5s ease;
}

.bio-photo:hover img {
  transform: scale(1.025);
}

.license-offers {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.license-offer {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  background: transparent;
}

.license-offer.highlighted {
  background: rgba(230, 71, 54, .1);
}

.contact-hero,
.update-hero,
.qso-tool-hero,
.legal-hero,
.client-page-heading {
  margin-top: 0;
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.contact-hero h1,
.update-hero h1,
.qso-tool-hero h1,
.legal-hero h1,
.client-page-heading h1 {
  max-width: 900px;
  font-size: clamp(43px, 6vw, 76px);
  line-height: 1.02;
  text-wrap: balance;
}

.contact-hero,
.update-hero,
.qso-tool-hero {
  gap: clamp(36px, 6vw, 90px);
}

.legal-content {
  max-width: 940px;
}

.legal-content article {
  padding: 28px 0;
  border-right: 0;
}

.legal-content h2 {
  font-size: 24px;
}

.client-page-heading {
  text-align: left;
}

.client-page-heading .client-page-mark {
  width: 54px;
  height: 54px;
  margin: 0 0 24px;
}

.client-page-heading h1,
.client-page-heading > p:not(.eyebrow) {
  margin-left: 0;
  margin-right: 0;
}

.client-entry-actions {
  justify-content: flex-start;
}

.client-feature-grid article {
  min-height: 230px;
  background: transparent;
}

.client-feature-number {
  color: var(--site-signal);
}

.widget-product-visual img {
  border: 0;
  background: #101413;
}

.qso-page,
.qso-page main {
  background: var(--site-paper);
}

.qso-tool-layout {
  gap: 18px;
}

.qso-canvas-panel,
.qso-export-panel {
  border-color: var(--site-line);
  border-radius: var(--site-radius);
  background: #fff;
  color: var(--site-ink);
  box-shadow: none;
}

.qso-tool-badges span,
.qso-export-view button {
  border-radius: 3px;
}

/* The QSO controls remain a dark radio instrument inside the light editorial page. */
.qso-tool-panel,
.qso-canvas-panel,
.qso-export-panel {
  border-color: #303936;
  border-radius: var(--site-radius);
  background: #101413;
  color: #eef2f0;
  box-shadow: none;
}

.qso-tool-panel label,
.qso-export-panel h2,
.qso-export-view span,
.qso-render-settings label {
  color: #eef2f0;
}

.qso-tool-panel input,
.qso-render-settings select {
  border-color: #3b4743;
  border-radius: 4px;
  background: #070a09;
  color: #fff;
}

.qso-tool-panel input:focus,
.qso-render-settings select:focus {
  border-color: var(--site-radio);
  outline: 3px solid rgba(7, 150, 127, .18);
}

.qso-tool-panel .qso-status,
.qso-export-panel p,
.qso-share-help,
.qso-live-stats em {
  color: #aeb8b3;
}

.qso-tool-panel .btn.secondary {
  border-color: #87938e;
  background: transparent;
  color: #f3f6f4;
}

.qso-tool-panel .btn.secondary:hover,
.qso-tool-panel .btn.secondary:focus-visible {
  border-color: #b8c3be;
  background: #242c29;
  color: #fff;
}

.qso-band-all.is-active,
.qso-band-list button.is-active {
  border-color: var(--site-radio);
  background: var(--site-radio);
  color: #fff;
}

.qso-tool-badges span {
  border-color: #b9dbcf;
  border-radius: 3px;
  background: #eaf5f1;
  color: #185b4b;
}

.qso-tool-badges .qso-beta-badge {
  border-color: #e4b33c;
  background: #f2c34f;
  color: #2d2309;
}

.qso-canvas-toolbar,
.qso-live-stats,
.qso-live-stats span {
  border-color: #303936;
  background: #101413;
}

.qso-live-stats strong,
.qso-canvas-toolbar strong,
.qso-canvas-toolbar span {
  color: #fff;
}

.qso-export-panel button {
  border: 1px solid var(--site-signal);
  border-radius: 4px;
  background: var(--site-signal);
  color: #fff;
}

.qso-export-panel button:hover {
  border-color: var(--site-signal-dark);
  background: var(--site-signal-dark);
}

.qso-export-view button {
  border-color: #3b4743;
  background: #1b211f;
  color: #dce2df;
}

.qso-export-view button.is-active {
  border-color: var(--site-radio);
  background: var(--site-radio);
  color: #fff;
}

.qso-render-settings {
  border-color: #303936;
  border-radius: 4px;
  background: #161c1a;
}

.qso-note-box {
  border-color: rgba(228, 179, 60, .36);
  border-radius: 4px;
  background: rgba(228, 179, 60, .08);
}

.qso-note-box strong {
  color: #f2c34f;
}

.site-footer {
  padding: 0;
  border: 0;
  background: #0e1211;
  color: #b8c0bc;
}

.footer-redesign {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(130px, .6fr));
  gap: 44px;
  padding-top: 66px;
  padding-bottom: 52px;
}

.footer-identity img {
  width: 150px;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.footer-identity p {
  max-width: 360px;
  margin: 18px 0 9px;
  color: #d8dedb;
}

.footer-identity span {
  color: #98a39d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.footer-redesign nav {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-redesign nav strong {
  margin-bottom: 7px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.footer-redesign a,
.footer-bottom a {
  color: #c2cbc6;
  font-size: 13px;
  text-decoration: none;
}

.footer-redesign a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-admin {
  color: #98a39d !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #98a39d;
  font-size: 12px;
}

.footer-bottom > div {
  display: flex;
  gap: 18px;
}

.footer-service-status {
  color: #ffffff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
}

.footer-service-status summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
}

.footer-service-status summary::-webkit-details-marker {
  display: none;
}

.footer-service-status summary > i,
.footer-service-item > i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8d9890;
  box-shadow: 0 0 0 3px rgba(141, 152, 144, .14);
}

.footer-service-status summary > span {
  display: grid;
  gap: 1px;
}

.footer-service-status summary strong { color: #ffffff; }
.footer-service-status summary small { color: #f2f6f3; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.footer-service-status summary > b {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1px solid #aab5ad;
  border-bottom: 1px solid #aab5ad;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}
.footer-service-status[open] summary > b { transform: rotate(225deg) translateY(-2px); }

.footer-service-status.is-operational summary > i,
.footer-service-item.is-operational > i {
  background: #48c78e;
  box-shadow: 0 0 0 3px rgba(72, 199, 142, .14);
}

.footer-service-status.is-maintenance summary > i,
.footer-service-status.is-degraded summary > i,
.footer-service-item.is-maintenance > i,
.footer-service-item.is-degraded > i {
  background: #f0b84d;
  box-shadow: 0 0 0 3px rgba(240, 184, 77, .14);
}

.footer-service-status.is-incident summary > i,
.footer-service-item.is-incident > i,
.footer-service-item.is-unavailable > i {
  background: #ef6b6b;
  box-shadow: 0 0 0 3px rgba(239, 107, 107, .14);
}

.footer-service-status.is-unavailable,
.footer-service-status.is-checking {
  color: #ffffff;
}

.footer-service-list {
  position: absolute;
  z-index: 8;
  bottom: calc(100% + 10px);
  left: 0;
  display: grid;
  width: 248px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #18201d;
  box-shadow: 0 16px 32px rgba(0, 0, 0, .26);
}

.footer-service-status { position: relative; }
.footer-service-item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 5px;
}
.footer-service-item > span { color: #ffffff; }
.footer-service-item > small { color: #f2f6f3; font-size: 11px; font-weight: 800; }

@media (max-width: 720px) {
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
  }
}

@media (max-width: 1160px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
  }

  .nav-primary a:nth-child(3),
  .nav-primary a:nth-child(5) {
    display: none;
  }

  .home-page .hero {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .home-page .hero-media {
    width: 48vw;
    opacity: .9;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand account toggle language";
  }

  .mobile-nav-toggle {
    display: block;
    grid-area: toggle;
    grid-column: 3;
    grid-row: 1;
  }

  .site-header .language-switch {
    grid-column: 4;
    grid-row: 1;
  }

  .site-header .account-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-header .main-nav {
    position: fixed;
    inset: 76px 14px auto;
    display: none;
    max-height: calc(100vh - 92px);
    padding: 12px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--site-radius);
    background: #121716;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .44);
  }

  body.nav-open .site-header .main-nav {
    display: grid;
    gap: 4px;
  }

  .nav-primary {
    display: grid;
    gap: 3px;
  }

  .nav-primary a:nth-child(n) {
    display: flex;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-more-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-more-menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    border: 0;
    background: #0d1110;
    box-shadow: none;
  }

  .home-page .hero {
    display: block;
    min-height: 760px;
    padding-bottom: 300px;
  }

  .home-page .hero::before {
    background: linear-gradient(180deg, rgba(7, 11, 10, .94) 0%, rgba(7, 11, 10, .75) 58%, rgba(7, 11, 10, .45) 100%);
  }

  .home-page .hero-media {
    right: 20px;
    bottom: 22px;
    width: min(86vw, 680px);
  }

  .footer-redesign {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-redesign nav:last-child {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
    padding: 9px 12px;
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand account toggle language";
    gap: 7px;
  }

  .site-header .brand-icon {
    width: 34px;
    height: 34px;
  }

  .site-header .brand-logo {
    width: 124px;
  }

  .brand-copy small,
  .site-header .account-link {
    display: none;
  }

  .site-header .language-switch {
    min-height: 38px;
  }

  .site-header .main-nav {
    inset: 68px 8px auto;
  }

  .official-notice p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .home-page .hero {
    min-height: 720px;
    padding: 62px 18px 245px;
    background-position: 62% center;
  }

  .home-page .hero::after {
    top: 22px;
    right: 18px;
  }

  .home-page .hero h1 {
    font-size: clamp(48px, 16vw, 66px);
  }

  .home-page .hero-lead {
    font-size: 16px;
  }

  .home-page .hero-actions .btn,
  .home-page .hero-actions .linux-download,
  .home-page .hero-actions .mac-download,
  .home-page .hero-actions .android-download {
    width: 100%;
  }

  .home-page .hero-actions .secondary {
    width: auto;
  }

  .home-page .hero-media {
    right: 10px;
    bottom: 20px;
    width: calc(100% - 20px);
  }

  .home-page .platform-row {
    display: none;
  }

  .download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-grid > *,
  .download-panel,
  .current-version-card,
  .download-status {
    min-width: 0;
    max-width: 100%;
  }

  .download-panel .btn {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .download-grid,
  .premium-grid,
  .web-widget-grid,
  .donate-grid,
  .faq-section,
  .bio-section,
  .visual-section,
  .roadmap,
  .trust-strip,
  .benefit-strip,
  .latest-update-section,
  .legal-content,
  .function-guide-section,
  .client-account-preview,
  .client-final-action {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .contact-hero,
  .update-hero,
  .qso-tool-hero,
  .legal-hero,
  .client-page-heading {
    padding-top: 56px;
    padding-bottom: 50px;
  }

  .contact-hero h1,
  .update-hero h1,
  .qso-tool-hero h1,
  .legal-hero h1,
  .client-page-heading h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .faq-item,
  .benefit-strip article,
  .client-feature-grid article,
  .platform-card,
  .pro-preview-card,
  .visual-card,
  .function-guide-item {
    border-right: 0;
    padding: 22px 2px;
  }

  .footer-redesign {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
    padding-top: 48px;
  }

  .footer-identity {
    grid-column: 1 / -1;
  }

  .footer-redesign nav:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* 2026 professional layout: stable media, clear hierarchy, fewer competing panels. */
:root {
  --site-paper: #edf0ee;
  --site-white: #f8f9f7;
  --site-surface: #fbfcfa;
  --site-surface-strong: #dfe5e1;
  --site-ink: #111615;
  --site-ink-soft: #26302c;
  --site-muted: #4a5650;
  --site-line: #bec8c2;
  --site-signal: #a82f27;
  --site-signal-dark: #85251e;
  --site-radio: #087064;
  --site-blue: #24568e;
  --site-yellow: #745600;
  --site-radius: 6px;
  --site-shadow: 0 16px 42px rgba(17, 22, 21, .11);
  --bg: var(--site-paper);
  --panel: var(--site-surface);
  --panel-soft: var(--site-surface-strong);
  --text: var(--site-ink);
  --muted: var(--site-muted);
  --line: var(--site-line);
  --red: var(--site-signal);
  --green: var(--site-radio);
  --cyan: var(--site-blue);
  --yellow: var(--site-yellow);
}

body:not(.hf-radar-page) {
  background: var(--site-paper);
  color: var(--site-ink);
}

html,
body {
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
}

.section-heading {
  max-width: 840px;
  padding: 0;
  margin-bottom: 38px;
}

.section-heading > p:last-child {
  max-width: 720px;
  color: var(--site-muted);
  font-size: 17px;
}

.section-heading h2,
.download-grid h2,
.premium-grid h2,
.web-widget-grid h2,
.donate-grid h2,
.roadmap h2,
.trust-strip h2 {
  max-width: 920px;
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.eyebrow {
  color: var(--site-signal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.btn,
.download-widget-button,
.spot-button,
.geo-button {
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 850;
}

.btn.primary {
  border-color: var(--site-signal);
  background: var(--site-signal);
  color: #fff;
}

.btn.primary:hover,
.btn.primary:focus-visible {
  border-color: var(--site-signal-dark);
  background: var(--site-signal-dark);
  color: #fff;
}

/* Header and official notice */
.site-header {
  min-height: 72px;
  background: rgba(17, 22, 21, .97);
}

.site-header.is-scrolled {
  min-height: 64px;
}

.site-header .account-link {
  border-color: var(--site-signal);
  background: var(--site-signal);
}

.official-notice {
  border-bottom-color: #c8b574;
  background: #eee6c9;
  color: #302c1f;
}

.official-notice-inner {
  align-items: center;
  min-height: 54px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.official-notice p {
  color: #514a34;
}

/* Home hero */
.home-page .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  align-items: center;
  width: 100%;
  min-height: 560px;
  height: min(650px, calc(100svh - 150px));
  max-width: none;
  padding: 64px max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background: #101716 url("assets/bio-silo-caravane.jpg") center 53% / cover no-repeat;
  color: #fff;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(5, 10, 9, .78);
}

.home-page .hero::after {
  content: "JN36 · SUISSE";
  top: 34px;
  right: max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, .72);
}

.home-page .hero-copy {
  max-width: 610px;
}

.home-page .hero .eyebrow {
  color: #98e8d4;
}

.home-page .hero h1 {
  max-width: 610px;
  margin: 8px 0 18px;
  font-size: clamp(54px, 6.2vw, 84px);
  line-height: .96;
}

.home-page .hero-lead {
  max-width: 590px;
  color: #e4e9e6;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
}

.home-page .hero-actions {
  align-items: center;
  gap: 9px;
  margin-top: 25px;
}

.home-page .hero .btn.secondary {
  min-height: 44px;
  padding: 10px 15px;
  border-color: rgba(255, 255, 255, .48);
  color: #fff;
  font-size: 13px;
}

.hero-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 6px;
  color: #f0c86b;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.hero-text-link:hover,
.hero-text-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.home-page .hero-media {
  right: max(20px, calc((100vw - 1240px) / 2));
  bottom: 38px;
  width: min(46vw, 640px);
}

.home-page .hero-media img {
  max-height: 445px;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .54));
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 25px;
  color: #cbd4cf;
  font-size: 11px;
  font-weight: 800;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
}

.hero-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 10px;
  border-radius: 50%;
  background: var(--site-radio);
}

/* Installer section */
.download-band {
  border-color: var(--site-line);
  background: #e4e9e5;
}

.download-grid {
  display: block;
  padding-top: 86px;
  padding-bottom: 92px;
}

.download-grid > div:first-child {
  max-width: 760px;
  margin-bottom: 38px;
}

.download-grid > div:first-child > p:last-child {
  max-width: 690px;
  color: var(--site-muted);
  font-size: 17px;
}

.download-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.installer-option {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--site-line);
  border-top: 4px solid var(--site-ink);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: 0 8px 24px rgba(17, 22, 21, .06);
}

.installer-mac {
  border-top-color: var(--site-blue);
}

.installer-linux {
  border-top-color: var(--site-yellow);
}

.installer-android {
  border-top-color: var(--site-radio);
}

.installer-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.installer-head > span {
  width: 44px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid var(--site-line);
  border-radius: 3px;
  background: #edf0ed;
  color: var(--site-ink);
  font-size: 10px;
  font-weight: 950;
}

.installer-head > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.installer-head strong {
  color: var(--site-ink);
  font-size: 18px;
}

.installer-head small {
  color: var(--site-muted);
}

.installer-head b {
  color: inherit;
}

.installer-option p {
  min-height: 50px;
  margin: 0;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.5;
}

.installer-option .btn {
  width: 100%;
  margin-top: auto;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.download-panel .installer-option .btn.wide {
  white-space: normal;
  overflow-wrap: anywhere;
}

.installer-mac .btn + .btn {
  margin-top: -7px;
}

/* Compact trust and benefit bands */
.trust-strip {
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 58px;
  align-items: end;
  padding-top: 78px;
  padding-bottom: 44px;
}

.trust-strip h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.trust-numbers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.trust-numbers .platform-stat {
  min-width: 0;
  min-height: 118px;
  padding: 12px 14px;
  border: 0;
  border-left: 1px solid var(--site-line);
  border-radius: 0;
  background: transparent;
}

.trust-numbers .platform-stat strong {
  color: var(--site-ink);
  font-size: clamp(25px, 3vw, 38px);
}

.benefit-strip {
  padding-top: 0;
  padding-bottom: 80px;
  border-top: 0;
}

.benefit-strip article {
  min-height: 150px;
  padding: 26px;
  border-top: 1px solid var(--site-line);
}

/* Product screenshots */
#features,
.pro-gallery {
  padding-top: 94px;
  padding-bottom: 94px;
}

.mobile-app-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: center;
  margin: 0 calc(50% - 50vw) 84px;
  padding: 72px max(24px, calc((100vw - 1180px) / 2));
  border: 0;
  border-radius: 0;
  background: #15201e;
  color: #fff;
  box-shadow: none;
}

.mobile-copy > p:not(.eyebrow) {
  color: #c7d0cb;
}

.mobile-app-showcase h2,
.mobile-app-showcase strong {
  color: #fff;
}

.mobile-app-showcase p,
.mobile-app-showcase span,
.mobile-app-showcase figcaption {
  color: #c4cec9;
}

.mobile-version-grid {
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.mobile-version-grid article {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  background: transparent;
}

.phone-shot-row {
  align-items: flex-end;
  gap: 16px;
}

.phone-shot {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-shot img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: var(--site-radius);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .34));
}

.phone-shot figcaption {
  margin-top: 10px;
  font-size: 11px;
  text-align: center;
}

.visual-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.visual-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  gap: 15px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--site-line);
  border-radius: 0;
  background: transparent;
}

.visual-card-large {
  display: grid;
  grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr);
  grid-column: 1 / -1;
  gap: 34px;
  align-items: center;
  margin-bottom: 36px;
  padding-top: 32px;
}

.visual-card h3 {
  margin: 0;
  color: var(--site-ink);
  font-size: 20px;
}

.visual-card p {
  margin: 0;
  color: var(--site-muted);
}

.shot-frame {
  position: relative;
  min-width: 0;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #27312e;
  border-radius: var(--site-radius);
  background: #0a100e;
}

.visual-card-large .shot-frame {
  min-height: 500px;
}

.shot-frame img,
.visual-card img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.shot-callout {
  display: none !important;
}

/* PRO gallery uses one stable horizontal rail instead of broken mini frames. */
.pro-gallery {
  overflow: visible;
}

.pro-grid {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 0 0 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-color: var(--site-radio) var(--site-surface-strong);
  scrollbar-width: thin;
}

.pro-grid .visual-card {
  flex: 0 0 min(78vw, 520px);
  scroll-snap-align: start;
  padding: 20px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.pro-grid .shot-frame {
  width: 100%;
  min-height: 390px;
  aspect-ratio: 4 / 3;
}

.pro-grid .shot-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.pro-grid .visual-card p {
  min-height: 52px;
}

/* Dark PRO decision and pricing bands */
.pro-preview-band,
.premium-band {
  border-color: #303b37;
  background: #111615;
  color: #fff;
}

.pro-preview-band > .section-shell,
.premium-grid {
  padding-top: 88px;
  padding-bottom: 94px;
}

.pro-preview-band .section-heading,
.premium-grid > div:first-child {
  max-width: 850px;
  margin-bottom: 38px;
}

.pro-preview-band .section-heading > p:last-child,
.premium-grid > div:first-child p,
.premium-panel > p {
  color: #bec9c3;
}

.pro-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.pro-preview-card,
.pro-preview-card.is-main {
  min-width: 0;
  padding: 28px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  grid-row: auto;
  grid-column: auto;
}

.pro-preview-card p,
.pro-preview-card li {
  color: #bec9c3;
}

.pro-preview-kicker,
.latest-update-date,
.os-logo.linux-logo {
  color: #fff;
}

.premium-grid {
  display: block;
}

.premium-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.premium-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.premium-feature-list article {
  min-height: 126px;
  padding: 22px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  background: transparent;
}

.premium-feature-list span {
  color: #bec9c3;
}

.license-offers.license-offers-simple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  border: 0;
}

.license-offers-simple .license-offer,
.license-offers-simple .license-offer.highlighted {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-top: 4px solid var(--site-radio);
  border-radius: var(--site-radius);
  background: #1a211f;
}

.license-offers-simple .license-offer:nth-child(2) {
  border-top-color: var(--site-blue);
}

.license-offers-simple .license-offer:nth-child(3) {
  border-top-color: #c59a42;
}

.license-offers-simple .license-offer strong {
  color: #fff;
  font-size: 18px;
}

.license-offers-simple .license-offer span {
  margin: 5px 0 9px;
  color: #f3c65d;
  font-size: 32px;
}

.license-offers-simple .license-offer small {
  color: #bec9c3;
}

.premium-panel .support-note {
  max-width: 900px;
  color: #aebbb4;
}

/* Web access preview */
.web-widget-band {
  background: #e4e9e5;
}

.web-widget-grid {
  gap: 64px;
  align-items: center;
  padding-top: 86px;
  padding-bottom: 86px;
}

.web-widget-copy > p:not(.eyebrow) {
  color: var(--site-muted);
  font-size: 17px;
}

.web-widget-panel {
  padding: 28px;
  border: 1px solid #2d3935;
  border-radius: var(--site-radius);
  background: #15201e;
  color: #fff;
  box-shadow: var(--site-shadow);
}

.web-widget-status {
  border-bottom-color: rgba(255, 255, 255, .16);
}

.web-widget-status span,
.web-widget-steps span {
  color: #bec9c3;
}

.web-widget-status strong,
.web-widget-steps strong {
  color: #fff;
}

.web-widget-steps article {
  border-color: rgba(255, 255, 255, .14);
  background: transparent;
}

/* Biography: dark background behind Loick and stable photo crop. */
.bio-section {
  position: relative;
  z-index: 0;
  padding-top: 92px;
  padding-bottom: 96px;
  color: #fff;
}

.bio-section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: #121817;
}

.bio-section .section-heading h2 {
  color: #fff;
}

.bio-bubble {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 56px;
  align-items: start;
}

.bio-story {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
}

.bio-story p,
.bio-timeline p,
.bio-equipment p {
  color: #c7d0cb;
}

.bio-story > p {
  margin: 0 !important;
}

.bio-story > p:first-child {
  grid-column: 1 / -1;
  color: #f0f3f1;
  font-size: 20px;
}

.bio-full-story {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.bio-full-story summary {
  position: relative;
  padding: 17px 42px 17px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.bio-full-story summary::-webkit-details-marker {
  display: none;
}

.bio-full-story summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 2px;
  color: #69c8b1;
  font-size: 24px;
  font-weight: 500;
  transform: translateY(-50%);
}

.bio-full-story[open] summary::after {
  content: "−";
}

.bio-story-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
  padding: 8px 0 24px;
}

.bio-story-details p {
  margin: 0;
  color: #c7d0cb;
}

.bio-timeline,
.bio-equipment {
  grid-column: 1 / -1;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .17);
}

.bio-timeline article,
.bio-equipment article {
  padding: 18px 16px 18px 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .17);
  border-radius: 0;
  background: transparent;
}

.bio-timeline strong {
  color: #f3c65d;
}

.bio-equipment strong {
  color: #69c8b1;
}

.bio-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.bio-shot {
  min-width: 0;
  height: 220px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--site-radius);
  background: #090d0c;
}

.bio-shot:nth-child(2) {
  height: 520px;
  grid-column: 1 / -1;
  grid-row: 1;
}

.bio-shot img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.bio-shot:nth-child(2) img {
  object-position: center 72%;
}

.bio-shot:nth-child(1) img {
  object-position: center 25%;
}

.bio-shot figcaption {
  padding: 9px 11px;
  background: #0b100f;
  color: #c7d0cb;
  font-size: 11px;
}

/* FAQ and final CTA */
.faq-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}

.faq-item,
.faq-item.faq-item-wide {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--site-line);
  border-top: 3px solid var(--site-ink);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.faq-item.faq-item-wide {
  grid-column: span 2;
}

.faq-item h3 {
  color: var(--site-ink);
  font-size: 18px;
}

.faq-item p,
.faq-item span {
  color: var(--site-muted);
}

.update-mode-grid > div {
  border-color: var(--site-line);
  background: #edf0ed;
}

.donate-band {
  border-top-color: #d6a9a4;
  border-bottom: 0;
  background: #f2dfdc;
}

.donate-grid {
  gap: 52px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 58px;
}

.donate-grid h2 {
  font-size: clamp(29px, 3.2vw, 43px);
}

.donate-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .roadmap {
  display: none;
}

/* Secondary public pages use the same measured surfaces. */
.contact-hero,
.update-hero,
.qso-tool-hero,
.legal-hero,
.client-page-heading {
  gap: clamp(38px, 7vw, 88px);
  padding-top: 74px;
  padding-bottom: 78px;
}

.contact-hero h1,
.update-hero h1,
.qso-tool-hero h1,
.legal-hero h1,
.client-page-heading h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.02;
}

.contact-hero > div:first-child > p:not(.eyebrow),
.update-hero > div:first-child > p:not(.eyebrow),
.qso-tool-hero > div:first-child > p:not(.eyebrow),
.client-page-heading > div:first-child > p:not(.eyebrow) {
  color: var(--site-muted);
  font-size: 17px;
}

.contact-panel,
.update-version-panel,
.client-preview-surface {
  padding: 26px;
  border-color: var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.function-guide-section,
.help-grid-section,
.latest-update-section,
.legal-content,
.client-account-preview,
.client-final-action {
  padding-top: 82px;
  padding-bottom: 88px;
}

.function-guide-grid,
.client-feature-grid,
.platform-update-grid {
  gap: 12px;
  border: 0;
}

.function-guide-item,
.client-feature-grid article,
.platform-update-card,
.latest-update-card,
.legal-content article {
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.function-guide-item small {
  color: var(--site-muted);
}

.widget-product-visual {
  padding-top: 20px;
  padding-bottom: 86px;
}

.widget-product-visual img {
  width: min(920px, 100%);
  max-height: 720px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--site-radius);
  background: #0a100e;
  box-shadow: var(--site-shadow);
}

.client-feature-band {
  background: #e4e9e5;
}

.client-feature-grid article {
  border-top: 3px solid var(--site-radio);
}

.client-preview-surface {
  border-color: #2d3948;
  background: #10151d;
  color: #f4f7fb;
  box-shadow: var(--site-shadow);
}

.client-preview-identity > span {
  color: #86b6ff;
}

.client-preview-identity small,
.client-preview-status span,
.client-preview-actions span {
  color: #c2cedc;
}

.client-preview-status span,
.client-preview-actions span {
  border-color: #334358;
  background: #17202c;
}

.client-preview-status span:first-child {
  color: #8fe3d1;
}

.client-preview-actions span:first-child {
  color: #f3cd72;
}

.qso-map-band-head span,
.qso-map-stat-mini span {
  color: #bac8c2;
}

.qso-map-brand-control span {
  color: #8fe3d1;
}

/* Licence page: broad pricing grid instead of a long narrow purchase column. */
.donate-page .contact-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}

.donate-page .contact-copy {
  max-width: 850px;
}

.donate-page .donate-page-panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.donate-page .donate-page-panel > h2,
.donate-page .donate-page-panel > p,
.donate-page .license-offers {
  grid-column: 1 / -1;
}

.donate-page .donate-page-panel > h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.donate-page .donate-page-panel > p {
  max-width: 920px;
  margin: 0;
  color: var(--site-muted);
}

.donate-page .license-offers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  border: 0;
}

.donate-page .license-offer,
.donate-page .license-offer.highlighted {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid var(--site-line);
  border-top: 4px solid var(--site-blue);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.donate-page .license-offer.highlighted {
  border-top-color: var(--site-radio);
}

.donate-page .license-offer strong {
  color: var(--site-ink);
  font-size: 17px;
}

.donate-page .license-offer span {
  margin: 5px 0 8px;
  color: var(--site-signal-dark);
  font-size: 28px;
  font-weight: 900;
}

.donate-page .license-offer small {
  color: var(--site-muted);
}

.donate-page .terms-box {
  grid-column: span 6;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.donate-page .terms-box h3 {
  color: var(--site-ink);
}

.donate-page .terms-box ul {
  color: var(--site-muted);
}

.donate-page .urgent-steps {
  border-top: 4px solid var(--site-signal);
}

.donate-page .numbered-steps li {
  border-color: #d8a8a3;
  background: #f7e9e7;
}

.donate-page .numbered-steps strong {
  color: var(--site-ink);
}

.donate-page .numbered-steps span {
  color: var(--site-muted);
}

.donate-page .red-warning {
  border-color: #d8a8a3;
  background: #f7e9e7;
  color: #76271f;
}

.donate-page .red-warning.final-paypal-warning {
  grid-column: 1 / -1;
  border-color: #b8483d;
  background: #f4d7d3;
  color: #76271f;
}

.donate-page .terms-accept {
  border-color: #9ebdb4;
  background: #e8f1ee;
  color: var(--site-ink);
}

.donate-page .donate-page-panel > .btn {
  grid-column: span 6;
  width: 100%;
  white-space: normal;
}

/* Update page: versions and installers share a broad, compact panel. */
.updates-page .update-hero {
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
}

.updates-page .update-version-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 24px;
}

.updates-page .update-version-panel > span,
.updates-page .update-version-panel > p,
.updates-page .version-list.large {
  grid-column: 1 / -1;
}

.updates-page .version-list.large {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.updates-page .version-list.large strong {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--site-line);
  border-radius: 4px;
  background: #edf0ed;
  color: var(--site-ink);
  font-size: 12px;
}

.updates-page .version-list.large b {
  color: var(--site-radio);
  font-size: 24px;
}

.updates-page .update-version-panel .btn {
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.updates-page .latest-update-card {
  padding: 28px;
  border: 1px solid var(--site-line);
  background: var(--site-surface);
}

.updates-page .update-history {
  border-color: var(--site-line);
  background: #edf0ed;
}

.updates-page .platform-update-card {
  background: #f5f7f4;
}

/* Footer */
.site-footer {
  background: #0d1211;
}

.footer-redesign {
  gap: 50px;
}

@media (max-width: 1080px) {
  .home-page .hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  }

  .home-page .hero-media {
    width: min(43vw, 530px);
  }

  .download-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .installer-option p {
    min-height: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bio-bubble {
    grid-template-columns: 1fr;
  }

  .bio-gallery {
    max-width: 760px;
  }

  .visual-card {
    grid-column: span 6;
  }

  .visual-card-large {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .home-page .hero {
    display: block;
    min-height: 680px;
    height: auto;
    padding: 58px 18px 285px;
    background-position: 63% center;
  }

  .home-page .hero::before {
    background: rgba(5, 10, 9, .82);
  }

  .home-page .hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .home-page .hero-media {
    right: 12px;
    bottom: 24px;
    width: calc(100% - 24px);
  }

  .home-page .hero-media img {
    max-height: 245px;
  }

  .home-page .hero-actions .btn {
    width: 100%;
  }

  .hero-text-link {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    display: none;
  }

  .download-grid,
  #features,
  .pro-gallery,
  .pro-preview-band > .section-shell,
  .premium-grid,
  .bio-section,
  .faq-section {
    padding-top: 64px;
    padding-bottom: 66px;
  }

  .download-panel,
  .pro-preview-grid,
  .premium-feature-list,
  .license-offers.license-offers-simple,
  .faq-grid,
  .web-widget-grid,
  .contact-hero,
  .update-hero,
  .client-page-heading {
    grid-template-columns: 1fr;
  }

  .donate-page .license-offers,
  .updates-page .version-list.large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donate-page .terms-box,
  .donate-page .donate-page-panel > .btn {
    grid-column: 1 / -1;
  }

  .updates-page .update-hero {
    grid-template-columns: 1fr;
  }

  .trust-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-numbers .platform-stat {
    border-bottom: 1px solid var(--site-line);
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  .benefit-strip article {
    border-right: 0;
  }

  .mobile-app-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .phone-shot-row {
    display: flex;
    width: 100%;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: inline proximity;
  }

  .phone-shot {
    flex: 0 0 min(72vw, 300px);
    scroll-snap-align: center;
  }

  .phone-shot img {
    height: 480px;
  }

  .visual-showcase {
    grid-template-columns: 1fr;
  }

  .visual-card,
  .visual-card-large {
    display: flex;
    grid-column: 1;
    margin-bottom: 18px;
  }

  .visual-card-large .shot-frame,
  .shot-frame {
    min-height: 280px;
  }

  .pro-grid .visual-card {
    flex: 0 0 min(88vw, 500px);
  }

  .pro-grid .shot-frame {
    min-height: 320px;
  }

  .pro-preview-card,
  .pro-preview-card.is-main {
    border-right: 0;
  }

  .premium-feature-list article {
    border-right: 0;
  }

  .license-offers-simple .license-offer,
  .license-offers-simple .license-offer.highlighted {
    min-height: 180px;
  }

  .web-widget-grid {
    gap: 36px;
  }

  .bio-bubble {
    gap: 40px;
  }

  .bio-story {
    display: block;
  }

  .bio-story > p + p {
    margin-top: 18px !important;
  }

  .bio-full-story {
    margin-top: 24px;
  }

  .bio-story-details {
    grid-template-columns: 1fr;
  }

  .bio-timeline,
  .bio-equipment {
    grid-template-columns: 1fr;
  }

  .bio-timeline article,
  .bio-equipment article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .17);
  }

  .bio-shot:nth-child(2) {
    height: 460px;
  }

  .faq-item.faq-item-wide {
    grid-column: auto;
  }

  .donate-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 66px;
  }

  .home-page .hero {
    min-height: 700px;
    padding-top: 50px;
  }

  .home-page .hero-lead {
    font-size: 15px;
  }

  .official-notice p {
    -webkit-line-clamp: 2;
  }

  .download-panel,
  .trust-numbers {
    grid-template-columns: 1fr;
  }

  .donate-page .license-offers,
  .updates-page .version-list.large,
  .updates-page .update-version-panel {
    grid-template-columns: 1fr;
  }

  .installer-option {
    padding: 20px;
  }

  .pro-grid {
    margin-right: -16px;
  }

  .pro-grid .visual-card {
    flex-basis: calc(100vw - 48px);
  }

  .pro-grid .shot-frame {
    min-height: 250px;
  }

  .bio-gallery {
    grid-template-columns: 1fr;
  }

  .bio-shot,
  .bio-shot:nth-child(2) {
    height: 360px;
    grid-column: auto;
  }

  .footer-redesign {
    grid-template-columns: 1fr;
  }

  .footer-redesign nav:last-child,
  .footer-identity {
    grid-column: auto;
  }
}
