:root {
  /* Brand colors — shared by both themes */
  --hnsbe-violet-950: #160019;
  --hnsbe-violet-900: #26002a;
  --hnsbe-violet-800: #35003d;
  --hnsbe-violet: #4d0054;
  --hnsbe-red: #dc1f00;
  --hnsbe-orange: #ec7700;
  --hnsbe-gold: #fec601;
  --hnsbe-cream: #fff0bb;
  --hnsbe-white: #ffffff;

  /* Layout tokens */
  --hnsbe-radius: 8px;
  --hnsbe-max: 1180px;
  --hnsbe-header: 76px;

  /* === Light theme (default / primary) === */
  --hnsbe-bg-base: #fdf8f1;
  --hnsbe-bg-tint: rgba(254, 198, 1, 0.16);
  --hnsbe-text: #2c0a33;
  --hnsbe-heading: #25002a;
  --hnsbe-ink: #2c0a33;
  --hnsbe-muted: #6b5570;
  --hnsbe-surface: #ffffff;
  --hnsbe-surface-2: #faf4ee;
  --hnsbe-surface-soft: rgba(77, 0, 84, 0.04);
  --hnsbe-line: rgba(77, 0, 84, 0.14);
  --hnsbe-line-soft: rgba(77, 0, 84, 0.10);
  --hnsbe-nav-hover: rgba(77, 0, 84, 0.08);
  --hnsbe-iconbtn-bg: #ffffff;
  --hnsbe-iconbtn-border: rgba(77, 0, 84, 0.18);
  --hnsbe-header-top: #ffffff;
  --hnsbe-header-scroll: rgba(255, 255, 255, 0.72);
  --hnsbe-header-line: rgba(77, 0, 84, 0.10);
  --hnsbe-mobile-nav-bg: rgba(255, 255, 255, 0.98);
  --hnsbe-soft-text: #7a4a00;
  --hnsbe-soft-bg: rgba(254, 198, 1, 0.16);
  --hnsbe-soft-border: rgba(236, 119, 0, 0.34);
  --hnsbe-note-text: #5a3a00;
  --hnsbe-table-td: #3a1140;
  --hnsbe-accent: var(--hnsbe-orange);
  --hnsbe-panel: var(--hnsbe-surface);
  --hnsbe-panel-strong: var(--hnsbe-surface);
  --hnsbe-shadow: 0 18px 50px rgba(60, 0, 70, 0.12);
  color-scheme: light;
}

/* === Dark theme (opt-in via toggle) === */
:root[data-theme="dark"] {
  --hnsbe-bg-base: #110013;
  --hnsbe-bg-tint: rgba(254, 198, 1, 0.16);
  --hnsbe-text: #f8edff;
  --hnsbe-heading: #ffffff;
  --hnsbe-ink: #f8edff;
  --hnsbe-muted: #cdb8d5;
  --hnsbe-surface: rgba(42, 0, 48, 0.78);
  --hnsbe-surface-2: rgba(20, 0, 24, 0.62);
  --hnsbe-surface-soft: rgba(255, 255, 255, 0.055);
  --hnsbe-line: rgba(255, 240, 187, 0.22);
  --hnsbe-line-soft: rgba(255, 240, 187, 0.13);
  --hnsbe-nav-hover: rgba(255, 255, 255, 0.09);
  --hnsbe-iconbtn-bg: rgba(255, 255, 255, 0.08);
  --hnsbe-iconbtn-border: rgba(255, 240, 187, 0.24);
  --hnsbe-header-top: rgba(22, 0, 25, 0.92);
  --hnsbe-header-scroll: rgba(22, 0, 25, 0.82);
  --hnsbe-header-line: rgba(255, 240, 187, 0.15);
  --hnsbe-mobile-nav-bg: rgba(22, 0, 25, 0.97);
  --hnsbe-soft-text: var(--hnsbe-cream);
  --hnsbe-soft-bg: rgba(254, 198, 1, 0.12);
  --hnsbe-soft-border: rgba(254, 198, 1, 0.28);
  --hnsbe-note-text: #fff9dc;
  --hnsbe-table-td: #ead7ef;
  --hnsbe-accent: var(--hnsbe-gold);
  --hnsbe-panel: rgba(47, 0, 55, 0.78);
  --hnsbe-panel-strong: rgba(29, 0, 34, 0.92);
  --hnsbe-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hnsbe-header) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, var(--hnsbe-bg-tint), transparent 28%),
    var(--hnsbe-bg-base);
  color: var(--hnsbe-text);
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  line-height: 1.62;
  letter-spacing: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

:root[data-theme="dark"] body {
  background:
    linear-gradient(180deg, rgba(22, 0, 25, 0.96), rgba(42, 0, 48, 0.96) 42%, rgba(17, 0, 19, 0.98)),
    radial-gradient(circle at top left, var(--hnsbe-bg-tint), transparent 28%);
}

body.hnsbe-drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.hnsbe-sprite {
  display: none;
}

.hnsbe-page {
  overflow: hidden;
}

.hnsbe-wrap {
  width: min(var(--hnsbe-max), calc(100% - 40px));
  margin: 0 auto;
}

.hnsbe-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--hnsbe-header-line);
  background: var(--hnsbe-header-top);
  backdrop-filter: none;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease,
    box-shadow 0.25s ease, border-color 0.25s ease;
}

.hnsbe-header.hnsbe-is-scrolled {
  background: var(--hnsbe-header-scroll);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 10px 30px rgba(60, 0, 70, 0.10);
}

.hnsbe-header__bar {
  min-height: var(--hnsbe-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hnsbe-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hnsbe-brand__logo {
  width: 152px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(254, 198, 1, 0.22));
}

.hnsbe-brand__geo {
  padding: 5px 9px;
  border: 1px solid var(--hnsbe-soft-border);
  border-radius: 999px;
  color: var(--hnsbe-soft-text);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--hnsbe-soft-bg);
}

.hnsbe-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hnsbe-nav__link {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--hnsbe-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.hnsbe-nav__link:hover,
.hnsbe-nav__link.hnsbe-is-active {
  color: var(--hnsbe-heading);
  background: var(--hnsbe-nav-hover);
}

.hnsbe-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hnsbe-theme-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--hnsbe-iconbtn-border);
  border-radius: 999px;
  background: var(--hnsbe-surface-2);
  color: var(--hnsbe-heading);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.hnsbe-theme-toggle__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hnsbe-theme-toggle__icon--sun {
  left: 8px;
  color: var(--hnsbe-orange);
}

.hnsbe-theme-toggle__icon--moon {
  right: 8px;
  color: var(--hnsbe-gold);
  opacity: 0.45;
}

.hnsbe-theme-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hnsbe-gold), var(--hnsbe-orange));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.hnsbe-theme-toggle:focus-visible {
  outline: 2px solid var(--hnsbe-orange);
  outline-offset: 2px;
}

:root[data-theme="dark"] .hnsbe-theme-toggle__thumb {
  transform: translateX(26px);
}

:root[data-theme="dark"] .hnsbe-theme-toggle__icon--sun {
  opacity: 0.45;
}

:root[data-theme="dark"] .hnsbe-theme-toggle__icon--moon {
  opacity: 1;
}

.hnsbe-iconbtn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--hnsbe-iconbtn-border);
  border-radius: 999px;
  color: var(--hnsbe-heading);
  background: var(--hnsbe-iconbtn-bg);
  cursor: pointer;
}

.hnsbe-menu-toggle {
  display: none;
}

.hnsbe-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hnsbe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: #17001a;
  background: linear-gradient(135deg, var(--hnsbe-gold), var(--hnsbe-orange));
  box-shadow: 0 12px 30px rgba(236, 119, 0, 0.26);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hnsbe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(236, 119, 0, 0.34);
  filter: saturate(1.06);
}

.hnsbe-btn--ghost {
  color: var(--hnsbe-heading);
  background: var(--hnsbe-surface-soft);
  box-shadow: none;
  border: 1px solid var(--hnsbe-line);
}

.hnsbe-btn--soft {
  color: var(--hnsbe-soft-text);
  background: var(--hnsbe-soft-bg);
  border: 1px solid var(--hnsbe-soft-border);
  box-shadow: none;
}

.hnsbe-main {
  padding-top: var(--hnsbe-header);
}

.hnsbe-hero,
.hnsbe-banner {
  position: relative;
  min-height: calc(100vh - var(--hnsbe-header));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--hnsbe-violet-950);
}

.hnsbe-banner {
  min-height: 430px;
  margin: 46px 0;
}

.hnsbe-hero__img,
.hnsbe-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hnsbe-banner__img--top {
  object-position: center top;
}

.hnsbe-hero::after,
.hnsbe-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 0, 25, 0.9) 0%, rgba(40, 0, 48, 0.68) 43%, rgba(22, 0, 25, 0.18) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.5));
}

.hnsbe-hero__content,
.hnsbe-banner__content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  padding: 78px 0;
}

.hnsbe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--hnsbe-cream);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hnsbe-hero h1,
.hnsbe-page-title {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.15rem, 4.8vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--hnsbe-white);
  text-wrap: balance;
}

/* Titles sit on the dark hero/banner overlay — keep them light in both themes */
.hnsbe-hero__content .hnsbe-title,
.hnsbe-banner__content .hnsbe-title,
.hnsbe-hero__content h2,
.hnsbe-banner__content h2 {
  color: var(--hnsbe-white);
}

.hnsbe-hero__lead,
.hnsbe-banner__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #f3dff9;
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
}

.hnsbe-hero__actions,
.hnsbe-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hnsbe-hero__chips,
.hnsbe-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hnsbe-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(254, 198, 1, 0.28);
  border-radius: 999px;
  color: var(--hnsbe-cream);
  background: rgba(22, 0, 25, 0.54);
  font-weight: 800;
  font-size: 0.9rem;
}

.hnsbe-section {
  padding: 66px 0;
}

.hnsbe-section--tight {
  padding: 42px 0;
}

.hnsbe-section__head {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: 34px;
}

.hnsbe-kicker {
  color: var(--hnsbe-accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
}

.hnsbe-title {
  margin: 0;
  color: var(--hnsbe-heading);
  font-size: clamp(1.55rem, 2.7vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.hnsbe-subtitle {
  margin: 0;
  color: var(--hnsbe-muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.hnsbe-section h3 {
  margin: 28px 0 14px;
  color: var(--hnsbe-heading);
  font-size: 1.18rem;
  line-height: 1.22;
}

.hnsbe-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.hnsbe-card {
  position: relative;
  border: 1px solid var(--hnsbe-line);
  border-radius: var(--hnsbe-radius);
  background: var(--hnsbe-surface);
  box-shadow: var(--hnsbe-shadow);
}

:root[data-theme="dark"] .hnsbe-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(42, 0, 48, 0.78);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.hnsbe-card__body {
  padding: 22px;
}

.hnsbe-card h2,
.hnsbe-card h3,
.hnsbe-card h4 {
  margin: 0 0 14px;
  color: var(--hnsbe-heading);
  line-height: 1.18;
  letter-spacing: 0;
  font-size: 1.12rem;
}

.hnsbe-card .hnsbe-title {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.14;
}

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

.hnsbe-card h2 + p,
.hnsbe-card h3 + p,
.hnsbe-card h4 + p {
  margin-top: 2px;
}

.hnsbe-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.hnsbe-feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #210024;
  background: linear-gradient(135deg, var(--hnsbe-gold), var(--hnsbe-orange));
}

.hnsbe-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: center;
}

.hnsbe-media--reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
}

.hnsbe-media--reverse .hnsbe-media__visual {
  order: -1;
}

.hnsbe-media__visual {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--hnsbe-line);
  border-radius: var(--hnsbe-radius);
  background: var(--hnsbe-violet-900);
  box-shadow: var(--hnsbe-shadow);
}

.hnsbe-media__visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hnsbe-note {
  padding: 16px 18px;
  border-left: 4px solid var(--hnsbe-gold);
  border-radius: var(--hnsbe-radius);
  color: var(--hnsbe-note-text);
  background: rgba(254, 198, 1, 0.12);
}

.hnsbe-note p {
  margin: 0;
}

.hnsbe-table-wrap {
  overflow-x: visible;
  border: 1px solid var(--hnsbe-line);
  border-radius: var(--hnsbe-radius);
  background: var(--hnsbe-surface-2);
}

.hnsbe-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.hnsbe-table th,
.hnsbe-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--hnsbe-line-soft);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.hnsbe-table th {
  color: #210024;
  background: linear-gradient(135deg, var(--hnsbe-gold), #ffe783);
  font-size: 0.9rem;
}

.hnsbe-table td {
  color: var(--hnsbe-table-td);
}

.hnsbe-table tr:last-child td {
  border-bottom: 0;
}

.hnsbe-procon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hnsbe-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hnsbe-list li {
  position: relative;
  padding-left: 30px;
  color: var(--hnsbe-muted);
}

.hnsbe-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hnsbe-gold), var(--hnsbe-red));
  box-shadow: 0 0 0 4px rgba(254, 198, 1, 0.08);
}

.hnsbe-steps {
  counter-reset: hnsbe-step;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hnsbe-steps li {
  counter-increment: hnsbe-step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.hnsbe-steps li::before {
  content: counter(hnsbe-step);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #210024;
  background: linear-gradient(135deg, var(--hnsbe-gold), var(--hnsbe-orange));
  font-weight: 900;
}

.hnsbe-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hnsbe-slot {
  overflow: hidden;
  border: 1px solid var(--hnsbe-line);
  border-radius: var(--hnsbe-radius);
  background: var(--hnsbe-surface-2);
}

.hnsbe-slot img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hnsbe-slot__body {
  padding: 12px;
}

.hnsbe-slot__body strong {
  display: block;
  color: var(--hnsbe-heading);
  line-height: 1.2;
}

.hnsbe-slot__body span {
  display: block;
  margin-top: 4px;
  color: var(--hnsbe-muted);
  font-size: 0.9rem;
}

.hnsbe-accordion {
  display: grid;
  gap: 10px;
}

.hnsbe-accordion__item {
  border: 1px solid var(--hnsbe-line);
  border-radius: var(--hnsbe-radius);
  background: var(--hnsbe-surface-soft);
  overflow: hidden;
}

.hnsbe-accordion__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: 0;
  color: var(--hnsbe-heading);
  background: transparent;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.hnsbe-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.hnsbe-accordion__panel > div {
  overflow: hidden;
}

.hnsbe-accordion__panel p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--hnsbe-muted);
}

.hnsbe-accordion__item.hnsbe-is-open .hnsbe-accordion__panel {
  grid-template-rows: 1fr;
}

.hnsbe-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hnsbe-soft-text);
  font-weight: 900;
}

.hnsbe-footer {
  padding: 46px 0 30px;
  border-top: 1px solid var(--hnsbe-line);
  background: var(--hnsbe-surface-2);
}

.hnsbe-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.8fr));
  gap: 26px;
}

.hnsbe-footer h2,
.hnsbe-footer h3 {
  margin: 0 0 12px;
  color: var(--hnsbe-heading);
  font-size: 1.05rem;
}

.hnsbe-footer p,
.hnsbe-footer a {
  color: var(--hnsbe-muted);
}

.hnsbe-footer a:hover {
  color: var(--hnsbe-soft-text);
}

.hnsbe-footer__links {
  display: grid;
  gap: 8px;
}

.hnsbe-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--hnsbe-line-soft);
  color: var(--hnsbe-muted);
  font-size: 0.92rem;
}

.hnsbe-backtop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.hnsbe-backtop.hnsbe-is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hnsbe-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.hnsbe-reveal.hnsbe-is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hnsbe-pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hnsbe-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--hnsbe-accent);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
}

.hnsbe-rating span {
  color: var(--hnsbe-muted);
  font-size: 1rem;
}

.hnsbe-legal-small {
  color: var(--hnsbe-muted);
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .hnsbe-wrap {
    width: min(100% - 28px, var(--hnsbe-max));
  }

  .hnsbe-nav {
    position: fixed;
    top: var(--hnsbe-header);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--hnsbe-line);
    border-radius: var(--hnsbe-radius);
    background: var(--hnsbe-mobile-nav-bg);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    box-shadow: var(--hnsbe-shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .hnsbe-nav.hnsbe-is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hnsbe-nav__link {
    border-radius: var(--hnsbe-radius);
  }

  .hnsbe-menu-toggle {
    display: inline-grid;
  }

  .hnsbe-header__actions .hnsbe-btn {
    display: none;
  }

  .hnsbe-grid--4,
  .hnsbe-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hnsbe-media,
  .hnsbe-media--reverse {
    grid-template-columns: 1fr;
  }

  .hnsbe-media--reverse .hnsbe-media__visual {
    order: 0;
  }

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

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

  .hnsbe-table-wrap {
    overflow-x: auto;
  }

  .hnsbe-table {
    min-width: 680px;
    table-layout: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --hnsbe-header: 68px;
  }

  .hnsbe-brand__logo {
    width: 126px;
  }

  .hnsbe-brand__geo {
    display: none;
  }

  .hnsbe-hero,
  .hnsbe-banner {
    min-height: 620px;
  }

  .hnsbe-hero::after,
  .hnsbe-banner::after {
    background:
      linear-gradient(180deg, rgba(22, 0, 25, 0.86) 0%, rgba(40, 0, 48, 0.75) 54%, rgba(22, 0, 25, 0.56) 100%),
      linear-gradient(90deg, rgba(22, 0, 25, 0.82), rgba(22, 0, 25, 0.16));
  }

  .hnsbe-hero__content,
  .hnsbe-banner__content {
    padding: 54px 0;
  }

  .hnsbe-section {
    padding: 48px 0;
  }

  .hnsbe-grid--2,
  .hnsbe-grid--3,
  .hnsbe-grid--4,
  .hnsbe-procon,
  .hnsbe-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .hnsbe-btn {
    width: 100%;
  }

  .hnsbe-hero__actions,
  .hnsbe-banner__actions {
    width: 100%;
  }

  .hnsbe-footer__bottom {
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .hnsbe-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- geo-links (cross-GEO footer block) ---------- */
.hnsbe-footer .geo-links { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--hnsbe-line); border-radius: var(--hnsbe-radius); background: var(--hnsbe-surface-soft); }
.hnsbe-footer .geo-links__title { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hnsbe-heading); }
.hnsbe-footer .geo-links__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hnsbe-footer .geo-links__list li { margin: 0; }
.hnsbe-footer .geo-links__item { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid var(--hnsbe-line); border-radius: 10px; background: var(--hnsbe-surface); color: var(--hnsbe-text); font-size: .9rem; font-weight: 600; line-height: 1.2; text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.hnsbe-footer a.geo-links__item:hover, .hnsbe-footer a.geo-links__item:focus-visible { border-color: var(--hnsbe-orange); color: var(--hnsbe-orange); transform: translateY(-1px); }
.hnsbe-footer .geo-links__item.is-current { border-color: var(--hnsbe-orange); }
.hnsbe-footer .geo-links__flag { width: 22px; height: 16px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); }
@media (max-width: 520px) {
  .hnsbe-footer .geo-links__list li { flex: 1 1 calc(50% - 10px); }
  .hnsbe-footer .geo-links__item { display: flex; }
}

/* ghost CTA sits on a dark hero image in both themes */
.hnsbe-hero .hnsbe-btn--ghost { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }
/* tables scroll horizontally on small screens instead of breaking words letter by letter */
@media (max-width: 980px) {
  .hnsbe-table th, .hnsbe-table td { overflow-wrap: normal; word-break: normal; hyphens: auto; }
  .hnsbe-table th:first-child, .hnsbe-table td:first-child { min-width: 110px; }
}
