/*
Theme Name: Banig
Theme URI: https://banig.net/
Author: Banig
Description: Banig access routes, mobile guides and account information.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: banig
License: GPL-2.0-or-later
*/

/* =====================================================
   1. Variables and base
   ===================================================== */

:root {
  color-scheme: dark;

  --bn-bg: #041b15;
  --bn-bg-deep: #02110c;

  --bn-panel: #082d21;
  --bn-panel-light: #103e2e;

  --bn-text: #f7f5ea;
  --bn-muted: #aec5b7;
  --bn-subtle: #83a391;

  --bn-gold: #ecd08a;
  --bn-gold-light: #fff0bc;
  --bn-gold-dark: #c99d49;

  --bn-green: #72e2ae;

  --bn-line: rgba(236, 208, 138, .20);
  --bn-line-light: rgba(236, 208, 138, .11);

  --bn-radius: 22px;
  --bn-shadow: 0 15px 40px rgba(0, 0, 0, .16);

  --bn-font: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
}

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

html {
  min-width: 280px;
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--bn-text);

  background:
    radial-gradient(
      ellipse at 15% 0,
      rgba(30, 103, 75, .28),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 100% 40%,
      rgba(200, 157, 63, .045),
      transparent 42%
    ),
    var(--bn-bg);

  font-family: var(--bn-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.bn-modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  appearance: none;
  -webkit-appearance: none;
}

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

figure {
  margin: 0;
}

svg {
  display: block;
  flex-shrink: 0;
}

.bn-icon {
  width: 22px;
  height: 22px;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--bn-green);
  outline-offset: 5px;
}

::selection {
  color: #102719;
  background: var(--bn-gold);
}

[hidden] {
  display: none !important;
}

.bn-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.bn-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;

  padding: 10px 16px;
  color: #17301e;
  background: var(--bn-gold-light);
  border-radius: 10px;
  font-weight: 750;
}

.bn-skip:focus {
  top: 12px;
}

/* =====================================================
   2. Typography
   ===================================================== */

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--bn-text);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4.8vw, 48px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 32px);
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

h4 {
  margin-bottom: 10px;
  font-size: 17px;
}

p {
  margin: 0 0 18px;
  color: var(--bn-muted);
}

ul,
ol {
  padding-left: 23px;
}

li + li {
  margin-top: 8px;
}

strong {
  font-weight: 750;
}

.bn-eyebrow {
  display: block;
  margin-bottom: 9px;

  color: var(--bn-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bn-muted {
  color: var(--bn-muted);
}

.bn-small {
  font-size: 13px;
}

.bn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--bn-gold);
  font-size: 13px;
  font-weight: 750;
}

.bn-text-link .bn-icon {
  width: 17px;
  height: 17px;
}

.bn-text-link:hover {
  color: var(--bn-gold-light);
}

/* =====================================================
   3. Header and navigation
   ===================================================== */

.bn-header {
  position: relative;
  z-index: 50;

  background: rgba(3, 23, 16, .94);
  border-bottom: 1px solid var(--bn-line);
}

.bn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  min-height: 88px;
}

.bn-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.bn-logo {
  width: 216px;
  height: 80px;
  object-fit: contain;
}

.bn-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;

  color: var(--bn-gold-light);
  font-size: 31px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.065em;
  line-height: 1;
}

.bn-wordmark small {
  color: var(--bn-green);
  font-size: .56em;
  letter-spacing: -.03em;
}

.bn-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.bn-nav li {
  margin: 0;
}

.bn-nav a {
  display: inline-flex;
  align-items: center;

  color: #ceddd2;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;

  transition: color .2s;
}

.bn-nav a:hover,
.bn-nav .current-menu-item > a,
.bn-nav .current_page_item > a {
  color: var(--bn-gold-light);
}

.bn-menu {
  display: none;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;
  padding: 0;

  color: var(--bn-gold);
  background: #0b3527;

  border: 1px solid var(--bn-line);
  border-radius: 13px;
}

.bn-menu .bn-icon {
  width: 22px;
  height: 22px;
}

.bn-menu-close {
  display: none;
}

.bn-menu[aria-expanded="true"] .bn-menu-open {
  display: none;
}

.bn-menu[aria-expanded="true"] .bn-menu-close {
  display: block;
}

/* =====================================================
   4. Buttons and icon containers
   ===================================================== */

.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 48px;
  padding: 12px 20px;

  color: #22351f;

  background: linear-gradient(
    180deg,
    #fff0bb 0%,
    #efd28d 52%,
    #d7af5c 100%
  );

  border: 1px solid rgba(255, 238, 182, .70);
  border-radius: 14px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    0 7px 18px rgba(0, 0, 0, .12);

  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;

  transition:
    transform .2s,
    filter .2s,
    border-color .2s;
}

.bn-btn:hover {
  color: #1d301c;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.bn-btn:active {
  transform: translateY(0);
}

.bn-btn .bn-icon {
  width: 18px;
  height: 18px;
}

.bn-btn-outline {
  color: var(--bn-gold-light);
  background: linear-gradient(
    145deg,
    rgba(16, 59, 42, .9),
    rgba(5, 34, 23, .9)
  );
  border-color: rgba(235, 208, 138, .36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.bn-btn-outline:hover {
  color: var(--bn-gold-light);
  border-color: rgba(235, 208, 138, .65);
}

.bn-btn-full {
  width: 100%;
}

.bn-icon-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 45px;
  height: 45px;

  color: var(--bn-gold-light);

  background: linear-gradient(
    145deg,
    #1b4d36,
    #0b2f20
  );

  border: 1px solid rgba(235, 208, 138, .26);
  border-radius: 14px;

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
}

.bn-icon-box .bn-icon {
  width: 23px;
  height: 23px;
}

/* =====================================================
   5. Homepage first screen
   ===================================================== */

.bn-access {
  max-width: 760px;
  margin: 30px auto 0;
}

.bn-access-heading {
  margin-bottom: 20px;
}

.bn-access-heading h1 {
  margin: 0 0 8px;
  font-size: clamp(29px, 4vw, 40px);
}

.bn-access-heading p {
  margin: 0;
  color: #9fbdab;
  font-size: 14px;
}

.bn-notice {
  display: flex;
  align-items: center;
  gap: 11px;

  margin-bottom: 14px;
  padding: 11px 15px;

  color: #dfcf9d;
  background: rgba(0, 15, 9, .40);

  border: 1px solid var(--bn-line);
  border-radius: 15px;

  font-size: 13px;
  line-height: 1.5;
}

.bn-notice .bn-icon {
  width: 19px;
  height: 19px;
  color: var(--bn-gold);
}

.bn-routes {
  display: grid;
  gap: 12px;
}

.bn-route {
  position: relative;

  display: flex;
  align-items: center;
  gap: 12px;

  min-height: 74px;
  padding: 12px 13px;

  background: linear-gradient(
    105deg,
    #0c3627,
    #06261a
  );

  border: 1px solid rgba(232, 207, 140, .28);
  border-radius: 20px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .035),
    0 6px 20px rgba(0, 0, 0, .08);

  transition:
    border-color .2s,
    transform .2s,
    background .2s;
}

.bn-route:hover {
  background: linear-gradient(
    105deg,
    #12432e,
    #082d1e
  );

  border-color: rgba(242, 213, 139, .70);
  transform: translateY(-2px);
}

.bn-route-copy {
  flex: 1;
  min-width: 0;
}

.bn-route-copy strong {
  display: block;

  color: #fff7e3;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.3;

  overflow-wrap: anywhere;
}

.bn-route-copy small {
  display: block;
  margin-top: 4px;

  color: #91b09d;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1.3;
}

.bn-route-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: var(--bn-green);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.bn-route-badge::before {
  width: 5px;
  height: 5px;

  background: currentColor;
  border-radius: 50%;

  content: "";
}

.bn-route-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;

  min-height: 39px;
  padding: 9px 13px;

  color: #26351e;
  background: linear-gradient(
    180deg,
    #fff0b7,
    #e1bc6b
  );

  border-radius: 12px;

  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
  white-space: nowrap;
}

.bn-route-visit .bn-icon {
  width: 16px;
  height: 16px;
}

.bn-save {
  margin: 17px 0 12px;

  color: var(--bn-gold);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.bn-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bn-actions .bn-btn {
  width: 100%;
}

.bn-access-note {
  margin: 13px 4px 20px;

  color: #a9c3b1;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* =====================================================
   6. Agency and app cards
   ===================================================== */

.bn-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bn-feature {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  padding: 23px;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(242, 213, 139, .08),
      transparent 65%
    ),
    linear-gradient(
      145deg,
      #103c2a,
      #07291b
    );

  border: 1px solid var(--bn-line);
  border-radius: var(--bn-radius);

  box-shadow: var(--bn-shadow);
}

.bn-feature::before {
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;

  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 233, 169, .65),
    transparent
  );

  content: "";
}

.bn-feature .bn-icon-box {
  margin-bottom: 18px;
}

.bn-feature-tag {
  position: absolute;
  top: 28px;
  right: 21px;

  color: #90af9a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
}

.bn-feature h2 {
  margin: 0 0 9px;

  color: #f7e6b8;
  font-size: 21px;
}

.bn-feature p {
  flex: 1;
  margin: 0 0 20px;

  color: #bed0c1;
  font-size: 13px;
  line-height: 1.65;
}

.bn-feature .bn-btn {
  width: 100%;
  min-height: 43px;
  padding-inline: 10px;
}

/* =====================================================
   7. Homepage guide cards
   ===================================================== */

.bn-section {
  margin-top: 64px;
}

.bn-section-heading {
  max-width: 650px;
  margin-bottom: 24px;
}

.bn-section-heading p {
  margin: 0;
  font-size: 14px;
}

.bn-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bn-guide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  padding: 23px;

  background: rgba(8, 42, 28, .78);
  border: 1px solid var(--bn-line);
  border-radius: 20px;

  transition:
    transform .2s,
    border-color .2s,
    background .2s;
}

.bn-guide:hover {
  background: #0c3424;
  border-color: rgba(242, 213, 139, .5);
  transform: translateY(-3px);
}

.bn-guide .bn-icon-box {
  margin-bottom: 17px;
}

.bn-guide h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.bn-guide p {
  flex: 1;
  margin: 0 0 18px;

  font-size: 13px;
  line-height: 1.7;
}

.bn-guide-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--bn-gold);
  font-size: 12px;
  font-weight: 800;
}

.bn-guide-more .bn-icon {
  width: 16px;
  height: 16px;
}

/* =====================================================
   8. Page layout and content
   ===================================================== */

.bn-inner {
  max-width: 920px;
  padding-top: 45px;
  padding-bottom: 20px;
}

.bn-page-heading {
  margin-bottom: 32px;
  padding-bottom: 28px;

  border-bottom: 1px solid var(--bn-line);
}

.bn-page-heading h1 {
  max-width: 850px;
}

.bn-page-heading p {
  max-width: 67ch;
  margin-bottom: 0;

  font-size: 17px;
  line-height: 1.8;
}

.bn-article {
  margin-top: 40px;
}

.bn-content-section {
  margin: 0;
  padding: 28px 0;

  border-bottom: 1px solid var(--bn-line-light);
}

.bn-content-section h2 {
  margin-bottom: 16px;
  font-size: 26px;
}

.bn-content-section h3 {
  margin-top: 24px;
}

.bn-content-section p {
  max-width: 82ch;
  margin: 0 0 17px;
}

.bn-content-section > :last-child {
  margin-bottom: 0;
}

.bn-content-section ul,
.bn-content-section ol {
  color: var(--bn-muted);
}

.bn-content-section a:not(.bn-btn),
.bn-editor a:not(.bn-btn) {
  color: var(--bn-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bn-editor {
  margin-top: 30px;
  overflow-wrap: anywhere;
}

.bn-editor h2,
.bn-editor h3 {
  margin-top: 30px;
}

.bn-editor ul,
.bn-editor ol {
  color: var(--bn-muted);
}

.bn-editor img {
  border-radius: 15px;
}

.bn-back {
  display: flex;
  justify-content: center;

  padding: 40px 0 12px;
}

.bn-back .bn-btn {
  min-width: 175px;
}

/* Information cards */

.bn-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;

  margin: 26px 0;
}

.bn-info-card {
  min-width: 0;
  padding: 22px;

  background: rgba(9, 43, 29, .8);
  border: 1px solid var(--bn-line);
  border-radius: 19px;
}

.bn-info-card .bn-icon-box {
  margin-bottom: 17px;
}

.bn-info-card h2,
.bn-info-card h3 {
  font-size: 20px;
}

.bn-info-card p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Notices */

.bn-callout {
  display: flex;
  align-items: flex-start;
  gap: 13px;

  margin: 24px 0;
  padding: 20px;

  background: rgba(199, 159, 66, .07);
  border: 1px solid rgba(235, 208, 138, .25);
  border-radius: 17px;
}

.bn-callout > .bn-icon {
  margin-top: 2px;
  color: var(--bn-gold);
}

.bn-callout p {
  margin: 0;
  font-size: 14px;
}

/* Step lists */

.bn-steps {
  display: grid;
  gap: 13px;

  margin: 24px 0;
  padding: 0;

  list-style: none;
  counter-reset: banig-step;
}

.bn-steps li {
  position: relative;

  min-height: 65px;
  margin: 0;
  padding: 18px 18px 18px 65px;

  color: var(--bn-muted);
  background: rgba(7, 38, 25, .7);
  border: 1px solid var(--bn-line);
  border-radius: 16px;

  counter-increment: banig-step;
}

.bn-steps li::before {
  position: absolute;
  top: 17px;
  left: 18px;

  display: grid;
  place-items: center;

  width: 30px;
  height: 30px;

  color: #20321e;
  background: var(--bn-gold);
  border-radius: 50%;

  font-size: 13px;
  font-weight: 850;

  content: counter(banig-step);
}

.bn-steps strong {
  display: block;
  margin-bottom: 3px;
  color: #f3e8c9;
}

/* Tables */

.bn-table-wrap {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;

  border: 1px solid var(--bn-line);
  border-radius: 16px;
}

.bn-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.bn-table th,
.bn-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--bn-line-light);
  vertical-align: top;
}

.bn-table th {
  color: #f3e3b2;
  background: #0e3625;
  font-size: 13px;
  font-weight: 750;
}

.bn-table td {
  color: var(--bn-muted);
  font-size: 14px;
}

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

/* =====================================================
   9. App and image placeholders
   ===================================================== */

.bn-app-panel {
  display: flex;
  align-items: center;
  gap: 24px;

  margin-bottom: 26px;
  padding: 24px;

  background:
    radial-gradient(
      circle at 0 0,
      rgba(238, 209, 136, .06),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      #103f2b,
      #07291b
    );

  border: 1px solid var(--bn-line);
  border-radius: var(--bn-radius);
}

.bn-app-panel h2 {
  margin-bottom: 8px;
  font-size: 25px;
}

.bn-app-panel p {
  margin: 0 0 15px;
  font-size: 13px;
}

.bn-app-picture {
  width: 116px;
  flex-shrink: 0;
}

.bn-app-picture img {
  width: 116px;
  border-radius: 24px;
}

.bn-image-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;

  width: 100%;
  min-height: 116px;
  padding: 16px;

  color: #bca66f;

  background:
    linear-gradient(
      45deg,
      rgba(240, 215, 151, .025) 25%,
      transparent 25%,
      transparent 75%,
      rgba(240, 215, 151, .025) 75%
    ),
    #052319;

  background-size: 20px 20px;

  border: 1px dashed rgba(234, 209, 143, .28);
  border-radius: 22px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  text-align: center;
}

.bn-image-slot .bn-icon {
  width: 31px;
  height: 31px;
  opacity: .65;
}

.bn-hero-image {
  display: grid;
  place-items: center;

  margin: 28px 0;
  overflow: hidden;

  border: 1px solid var(--bn-line);
  border-radius: var(--bn-radius);
}

.bn-hero-image img {
  width: 100%;
}

.bn-hero-image .bn-image-slot {
  min-height: 300px;
  border: 0;
  border-radius: 0;
}

/* =====================================================
   10. FAQ
   ===================================================== */

.bn-faq {
  margin-top: 48px;
}

.bn-faq-heading {
  margin-bottom: 22px;
}

.bn-faq-heading p {
  max-width: 65ch;
  margin-bottom: 0;
  font-size: 14px;
}

.bn-faq details {
  margin: 12px 0;
  padding: 0;

  background: rgba(7, 38, 25, .85);
  border: 1px solid var(--bn-line);
  border-radius: 16px;
}

.bn-faq summary {
  position: relative;

  padding: 19px 49px 19px 20px;

  color: #f1e9d2;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.6;

  list-style: none;
  cursor: pointer;
}

.bn-faq summary::-webkit-details-marker {
  display: none;
}

.bn-faq summary::after {
  position: absolute;
  top: 18px;
  right: 19px;

  display: grid;
  place-items: center;

  width: 24px;
  height: 24px;

  color: var(--bn-gold);
  background: rgba(236, 208, 138, .06);
  border-radius: 7px;

  font-size: 20px;
  font-weight: 400;
  line-height: 1;

  content: "+";
}

.bn-faq details[open] summary::after {
  content: "−";
}

.bn-faq details[open] summary {
  color: var(--bn-gold-light);
}

.bn-faq-answer {
  padding: 0 20px 20px;
}

.bn-faq-answer p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
}

.bn-faq-answer > :last-child {
  margin-bottom: 0;
}

/* =====================================================
   11. Footer
   ===================================================== */

.bn-footer {
  margin-top: 64px;
  padding: 39px 0 30px;

  background: rgba(0, 12, 7, .33);
  border-top: 1px solid var(--bn-line);
}

.bn-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
}

.bn-footer-brand .bn-logo {
  width: 180px;
  height: auto;
}

.bn-footer-brand .bn-wordmark {
  font-size: 28px;
}

.bn-footer-brand p {
  max-width: 490px;
  margin: 16px 0 0;

  color: #99b5a3;
  font-size: 13px;
}

.bn-footer-title {
  margin: 0 0 16px;
  color: #eee1bb;
  font-size: 14px;
}

.bn-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 21px;
}

.bn-footer-links a {
  color: #b9cebe;
  font-size: 12px;
}

.bn-footer-links a:hover {
  color: var(--bn-gold);
}

.bn-footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  margin-top: 30px;
  padding-top: 22px;

  border-top: 1px solid var(--bn-line-light);
}

.bn-copyright {
  margin: 0;
  color: #8aa793;
  font-size: 11px;
}

.bn-footer-note {
  max-width: 440px;
  margin: 0;

  color: #8aa793;
  font-size: 11px;
  text-align: right;
}

/* =====================================================
   12. Floating contact buttons
   ===================================================== */

.bn-floating {
  position: fixed;
  right: 13px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;

  display: grid;
  gap: 9px;
}

.bn-floating a,
.bn-floating button {
  display: grid;
  place-items: center;

  width: 43px;
  height: 43px;
  padding: 0;

  color: #273921;

  background: linear-gradient(
    180deg,
    #fff0b6,
    #d8b060
  );

  border: 1px solid #e8cd87;
  border-radius: 50%;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    0 5px 17px rgba(0, 0, 0, .25);

  transition: transform .2s;
}

.bn-floating a:hover,
.bn-floating button:hover {
  transform: translateY(-2px);
}

.bn-floating .bn-icon {
  width: 20px;
  height: 20px;
}

/* =====================================================
   13. VPN dialog
   ===================================================== */

.bn-dialog {
  width: min(640px, calc(100% - 24px));
  max-height: 90vh;
  max-height: 90dvh;
  padding: 21px;

  color: var(--bn-text);

  background: linear-gradient(
    150deg,
    #0d3525,
    #031c12
  );

  border: 1px solid rgba(236, 208, 135, .38);
  border-radius: 25px;

  box-shadow: 0 30px 100px rgba(0, 0, 0, .55);

  overflow-y: auto;
  overscroll-behavior: contain;
}

.bn-dialog:not([open]) {
  display: none;
}

.bn-dialog::backdrop {
  background: rgba(0, 12, 7, .86);
  backdrop-filter: blur(6px);
}

.bn-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  margin-bottom: 19px;
}

.bn-dialog-head h2 {
  margin: 0;
  font-size: 25px;
}

.bn-dialog-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 39px;
  height: 39px;
  padding: 0;

  color: #26351f;
  background: linear-gradient(#fff0ba, #dcb76b);

  border: 0;
  border-radius: 50%;
}

.bn-dialog-close .bn-icon {
  width: 19px;
  height: 19px;
}

.bn-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;

  margin-bottom: 18px;
  padding: 5px;

  background: #031d12;
  border: 1px solid var(--bn-line);
  border-radius: 40px;
}

.bn-tabs button {
  min-height: 44px;
  padding: 10px 8px;

  color: #d7dfcf;
  background: none;

  border: 0;
  border-radius: 30px;

  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.bn-tabs button[aria-selected="true"] {
  color: #26371f;
  background: linear-gradient(#fff0b9, #ddbb71);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}

.bn-tutorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.bn-tutorial-card {
  min-width: 0;
  padding: 11px;

  background: rgba(0, 17, 10, .65);
  border: 1px solid var(--bn-line);
  border-radius: 18px;
}

.bn-tutorial-picture {
  display: grid;
  place-items: center;

  height: 310px;
  overflow: hidden;

  background: #03190f;
  border-radius: 12px;
}

.bn-tutorial-picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bn-tutorial-picture .bn-image-slot {
  height: 100%;
  border-radius: 12px;
}

.bn-tutorial-card figcaption {
  padding-top: 13px;
}

.bn-step-number {
  display: grid;
  place-items: center;

  width: 29px;
  height: 29px;
  margin-bottom: 10px;

  color: #20321d;
  background: var(--bn-gold);
  border-radius: 50%;

  font-size: 13px;
  font-weight: 850;
}

.bn-tutorial-card strong {
  display: block;

  color: #f3e8c9;
  font-size: 13px;
  line-height: 1.5;
}

.bn-tutorial-card p {
  margin: 7px 0 0;

  color: #9fbaa7;
  font-size: 11px;
  line-height: 1.65;
}

.bn-dialog-note {
  margin: 17px 2px 0;

  color: #98b29e;
  font-size: 11px;
  line-height: 1.75;
}

/* =====================================================
   14. Error page and pagination
   ===================================================== */

.bn-error {
  min-height: 50vh;
  padding-top: 70px;
  text-align: center;
}

.bn-error-code {
  display: block;
  margin-bottom: 16px;

  color: var(--bn-gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .2em;
}

.bn-error p {
  max-width: 530px;
  margin-inline: auto;
}

.navigation.pagination {
  margin-top: 28px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 39px;
  min-height: 39px;
  padding: 7px 12px;

  color: var(--bn-gold);
  background: #082b1c;
  border: 1px solid var(--bn-line);
  border-radius: 10px;

  font-size: 13px;
}

.page-numbers.current {
  color: #23351e;
  background: var(--bn-gold);
}

/* =====================================================
   15. WordPress alignment and accessibility
   ===================================================== */

.aligncenter {
  margin-inline: auto;
}

.alignleft {
  float: left;
  margin: 0 22px 18px 0;
}

.alignright {
  float: right;
  margin: 0 0 18px 22px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.wp-element-caption {
  margin-top: 9px;
  color: var(--bn-subtle);
  font-size: 12px;
  text-align: center;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;

  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bn-editor::after {
  display: table;
  clear: both;
  content: "";
}

/* =====================================================
   16. Desktop refinements
   ===================================================== */

@media (min-width: 1000px) {
  .bn-access-heading {
    text-align: center;
  }

  .bn-access-heading p {
    max-width: 600px;
    margin-inline: auto;
  }
}

/* =====================================================
   17. Tablet and mobile
   ===================================================== */

@media (max-width: 760px) {
  .bn-shell {
    width: calc(100% - 28px);
  }

  .bn-head {
    min-height: 68px;
    gap: 15px;
  }

  .bn-logo {
    width: 172px;
    height: 62px;
  }

  .bn-wordmark {
    font-size: 27px;
  }

  .bn-menu {
    display: flex;
  }

  .bn-nav {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    padding: 17px 20px 20px;

    background: #06291a;
    border-bottom: 1px solid var(--bn-line);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
  }

  .bn-nav.is-open {
    display: block;
  }

  .bn-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 14px;
  }

  .bn-nav a {
    display: flex;
    min-height: 43px;
    padding: 10px 9px;
    border-radius: 10px;
  }

  .bn-nav a:hover,
  .bn-nav .current-menu-item > a {
    background: rgba(255, 255, 255, .035);
  }

  .bn-eyebrow {
    font-size: 9px;
    letter-spacing: .14em;
  }

  .bn-access {
    margin-top: 19px;
  }

  .bn-access-heading {
    margin-bottom: 15px;
  }

  .bn-access-heading h1 {
    margin-bottom: 6px;
    font-size: 27px;
  }

  .bn-access-heading p {
    font-size: 12px;
  }

  .bn-notice {
    gap: 9px;
    margin-bottom: 12px;
    padding: 10px 12px;

    border-radius: 14px;
    font-size: 11px;
  }

  .bn-notice .bn-icon {
    width: 17px;
    height: 17px;
  }

  .bn-routes {
    gap: 10px;
  }

  .bn-route {
    min-height: 66px;
    gap: 9px;
    padding: 10px;
    border-radius: 17px;
  }

  .bn-route .bn-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .bn-route .bn-icon-box .bn-icon {
    width: 18px;
    height: 18px;
  }

  .bn-route-copy strong {
    font-size: clamp(12px, 3.35vw, 16px);
  }

  .bn-route-copy small {
    margin-top: 3px;
    font-size: 8px;
    letter-spacing: .11em;
  }

  .bn-route-badge {
    display: none;
  }

  .bn-route-visit {
    min-height: 35px;
    gap: 4px;
    padding: 8px 10px;

    border-radius: 10px;
    font-size: 11px;
  }

  .bn-route-visit .bn-icon {
    width: 13px;
    height: 13px;
  }

  .bn-save {
    margin: 13px 0 11px;
    font-size: 12px;
  }

  .bn-actions {
    gap: 10px;
  }

  .bn-actions .bn-btn {
    min-height: 43px;
    gap: 7px;
    padding: 10px 8px;

    border-radius: 13px;
    font-size: 12px;
  }

  .bn-actions .bn-icon {
    width: 16px;
    height: 16px;
  }

  .bn-access-note {
    margin: 11px 2px 15px;
    font-size: 11px;
  }

  .bn-feature-grid {
    gap: 11px;
  }

  .bn-feature {
    padding: 16px;
    border-radius: 19px;
  }

  .bn-feature::before {
    left: 16px;
    right: 16px;
  }

  .bn-feature .bn-icon-box {
    width: 37px;
    height: 37px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .bn-feature .bn-icon-box .bn-icon {
    width: 20px;
    height: 20px;
  }

  .bn-feature-tag {
    top: 23px;
    right: 15px;
    font-size: 7px;
  }

  .bn-feature h2 {
    font-size: 17px;
  }

  .bn-feature p {
    margin-bottom: 15px;
    font-size: 11px;
    line-height: 1.6;
  }

  .bn-feature .bn-btn {
    min-height: 39px;
    gap: 6px;
    padding: 9px 7px;

    border-radius: 11px;
    font-size: 11px;
  }

  .bn-feature .bn-btn .bn-icon {
    width: 14px;
    height: 14px;
  }

  .bn-section {
    margin-top: 45px;
  }

  .bn-section-heading {
    margin-bottom: 20px;
  }

  .bn-section-heading p {
    font-size: 13px;
  }

  .bn-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .bn-guide {
    padding: 18px;
    border-radius: 17px;
  }

  .bn-guide .bn-icon-box {
    width: 39px;
    height: 39px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .bn-guide h3 {
    font-size: 16px;
  }

  .bn-guide p {
    font-size: 12px;
  }

  .bn-guide-more {
    font-size: 11px;
  }

  .bn-inner {
    padding-top: 28px;
  }

  .bn-page-heading {
    margin-bottom: 24px;
    padding-bottom: 23px;
  }

  .bn-page-heading h1 {
    font-size: 31px;
  }

  .bn-page-heading p {
    font-size: 15px;
  }

  .bn-article {
    margin-top: 30px;
  }

  .bn-content-section {
    padding: 24px 0;
  }

  .bn-content-section h2 {
    font-size: 23px;
  }

  .bn-content-section h3 {
    font-size: 19px;
  }

  .bn-content-section p,
  .bn-content-section li {
    font-size: 14px;
  }

  .bn-info-grid {
    gap: 12px;
  }

  .bn-info-card {
    padding: 17px;
    border-radius: 17px;
  }

  .bn-info-card h2,
  .bn-info-card h3 {
    font-size: 18px;
  }

  .bn-info-card p {
    font-size: 12px;
  }

  .bn-callout {
    gap: 10px;
    padding: 17px;
  }

  .bn-callout p {
    font-size: 13px;
  }

  .bn-steps li {
    padding: 16px 15px 16px 59px;
    font-size: 13px;
  }

  .bn-steps li::before {
    top: 16px;
    left: 15px;
    width: 28px;
    height: 28px;
  }

  .bn-table th,
  .bn-table td {
    padding: 12px 14px;
    font-size: 12px;
  }

  .bn-app-panel {
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
  }

  .bn-app-picture,
  .bn-app-picture img {
    width: 86px;
  }

  .bn-app-picture img {
    border-radius: 19px;
  }

  .bn-app-picture .bn-image-slot {
    min-height: 86px;
    gap: 7px;
    padding: 9px;
    border-radius: 18px;
    font-size: 8px;
  }

  .bn-app-picture .bn-image-slot .bn-icon {
    width: 25px;
    height: 25px;
  }

  .bn-app-panel h2 {
    font-size: 20px;
  }

  .bn-app-panel p {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .bn-app-panel .bn-btn {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 12px;
  }

  .bn-hero-image .bn-image-slot {
    min-height: 225px;
  }

  .bn-faq {
    margin-top: 37px;
  }

  .bn-faq summary {
    padding: 16px 45px 16px 16px;
    font-size: 13px;
  }

  .bn-faq summary::after {
    top: 15px;
    right: 14px;
    width: 23px;
    height: 23px;
  }

  .bn-faq-answer {
    padding: 0 16px 17px;
  }

  .bn-faq-answer p {
    font-size: 13px;
  }

  .bn-back {
    padding-top: 33px;
  }

  .bn-footer {
    margin-top: 45px;
    padding-top: 30px;
  }

  .bn-footer .bn-shell {
    padding-right: 35px;
  }

  .bn-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .bn-footer-brand .bn-logo {
    width: 160px;
  }

  .bn-footer-brand p {
    font-size: 12px;
  }

  .bn-footer-title {
    margin-bottom: 13px;
    font-size: 13px;
  }

  .bn-footer-links {
    gap: 10px 17px;
  }

  .bn-footer-links a {
    font-size: 11px;
  }

  .bn-footer-bottom {
    display: block;
    margin-top: 25px;
    padding-top: 19px;
  }

  .bn-footer-note {
    margin-top: 10px;
    text-align: left;
  }

  .bn-floating {
    right: 8px;
    gap: 8px;
  }

  .bn-floating a,
  .bn-floating button {
    width: 38px;
    height: 38px;
  }

  .bn-floating .bn-icon {
    width: 18px;
    height: 18px;
  }

  .bn-dialog {
    width: calc(100% - 20px);
    padding: 14px;
    border-radius: 22px;
  }

  .bn-dialog-head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .bn-dialog-head h2 {
    font-size: 21px;
  }

  .bn-dialog-close {
    width: 35px;
    height: 35px;
  }

  .bn-tabs {
    margin-bottom: 14px;
  }

  .bn-tabs button {
    min-height: 41px;
    font-size: 13px;
  }

  .bn-tutorial-grid {
    gap: 10px;
  }

  .bn-tutorial-card {
    padding: 9px;
    border-radius: 15px;
  }

  .bn-tutorial-picture {
    height: 245px;
  }

  .bn-tutorial-card figcaption {
    padding-top: 11px;
  }

  .bn-step-number {
    width: 27px;
    height: 27px;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .bn-tutorial-card strong {
    font-size: 12px;
  }

  .bn-tutorial-card p {
    font-size: 10px;
  }

  .bn-dialog-note {
    font-size: 10px;
  }

  .bn-error {
    padding-top: 45px;
  }
}

/* =====================================================
   18. Small phones
   ===================================================== */

@media (max-width: 360px) {
  .bn-shell {
    width: calc(100% - 22px);
  }

  .bn-logo {
    width: 155px;
  }

  .bn-access-heading h1 {
    font-size: 25px;
  }

  .bn-route {
    gap: 7px;
    padding: 9px 8px;
  }

  .bn-route-copy strong {
    font-size: 11px;
  }

  .bn-route .bn-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .bn-route .bn-icon-box .bn-icon {
    width: 16px;
    height: 16px;
  }

  .bn-route-visit {
    padding: 7px 8px;
    font-size: 10px;
  }

  .bn-actions .bn-btn {
    gap: 5px;
    font-size: 11px;
  }

  .bn-feature {
    padding: 13px;
  }

  .bn-feature h2 {
    font-size: 15px;
  }

  .bn-feature-tag {
    display: none;
  }

  .bn-feature .bn-btn {
    font-size: 10px;
  }

  .bn-feature .bn-btn .bn-icon {
    width: 12px;
    height: 12px;
  }

  .bn-guide-grid,
  .bn-info-grid {
    grid-template-columns: 1fr;
  }

  .bn-tutorial-picture {
    height: 205px;
  }

  .bn-dialog-head h2 {
    font-size: 19px;
  }

  .bn-tabs button {
    font-size: 12px;
  }
}

/* =====================================================
   19. Reduced motion
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* =====================================================
   Banig · Site-wide card refinement
   Append to the END of style.css
   ===================================================== */

/* ---------- Content cards ---------- */

.bn-content-section {
  position: relative;

  margin: 20px 0;
  padding: clamp(22px, 3vw, 34px);

  background:
    radial-gradient(
      ellipse at 100% 0,
      rgba(231, 202, 131, .045),
      transparent 60%
    ),
    linear-gradient(
      135deg,
      #0a3023 0%,
      #07271c 100%
    );

  border: 1px solid rgba(224, 200, 139, .19);
  border-radius: 23px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .025),
    0 12px 32px rgba(0, 0, 0, .10);
}

/* Restrained gold highlight along the upper edge */

.bn-content-section::before {
  position: absolute;
  top: -1px;
  left: 30px;

  width: 76px;
  height: 2px;

  background: linear-gradient(
    90deg,
    #e9d194,
    rgba(233, 209, 148, .08)
  );

  border-radius: 2px;

  content: "";
}

/* Clearer heading hierarchy */

.bn-content-section > h2 {
  position: relative;

  max-width: 37ch;
  margin: 0 0 21px;
  padding-left: 23px;

  color: #f7ebca;

  font-size: clamp(21px, 2.25vw, 27px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.025em;
}

/* Small decorative woven-style mark */

.bn-content-section > h2::before {
  position: absolute;
  top: .45em;
  left: 1px;

  width: 10px;
  height: 10px;

  background: linear-gradient(
    135deg,
    #f4dfaa,
    #cda756
  );

  border: 1px solid rgba(255, 239, 194, .55);
  border-radius: 2px;

  box-shadow: 3px 3px 0 rgba(111, 198, 150, .20);

  transform: rotate(45deg);

  content: "";
}

.bn-content-section h3 {
  margin-top: 25px;
  margin-bottom: 12px;

  color: #e4dfc8;
  font-size: 19px;
  line-height: 1.4;
}

.bn-content-section p {
  max-width: 74ch;
  margin: 0 0 17px;

  color: #b9ccbf;

  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;

  overflow-wrap: break-word;
}

.bn-content-section > :last-child {
  margin-bottom: 0;
}

.bn-content-section li {
  color: #b9ccbf;
  font-size: 15px;
  line-height: 1.85;
}

.bn-content-section li::marker {
  color: #ddc58b;
}

.bn-content-section strong {
  color: #e9e7d7;
}

/* Consistent spacing between article sections */

.bn-article {
  margin-top: 35px;
}

.bn-inner > article,
.bn-shell > .bn-article {
  min-width: 0;
}

/* ---------- Guide and information cards ---------- */

.bn-guide,
.bn-info-card {
  position: relative;

  background:
    radial-gradient(
      ellipse at 100% 0,
      rgba(231, 202, 131, .045),
      transparent 65%
    ),
    linear-gradient(
      145deg,
      #10392a,
      #08291d
    );

  border: 1px solid rgba(224, 200, 139, .20);
  border-radius: 21px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .025),
    0 9px 26px rgba(0, 0, 0, .08);
}

.bn-info-card {
  padding: 25px;
}

.bn-guide {
  padding: 25px;

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.bn-guide h3,
.bn-info-card h2,
.bn-info-card h3 {
  color: #f3e5bf;
  line-height: 1.35;
}

.bn-guide p,
.bn-info-card p {
  color: #aec7b6;
  line-height: 1.8;
}

a.bn-guide:hover,
a.bn-info-card:hover {
  border-color: rgba(235, 210, 148, .47);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 16px 32px rgba(0, 0, 0, .15);
}

/* ---------- SVG icon containers ---------- */

.bn-icon-box {
  width: 46px;
  height: 46px;

  color: #f4dca1;

  background:
    radial-gradient(
      circle at 25% 15%,
      rgba(243, 220, 164, .11),
      transparent 65%
    ),
    linear-gradient(
      145deg,
      #1a4b35,
      #0b3021
    );

  border: 1px solid rgba(234, 207, 141, .31);
  border-radius: 15px;

  box-shadow:
    inset 0 1px 0 rgba(255, 244, 211, .07),
    0 5px 12px rgba(0, 0, 0, .08);
}

.bn-icon-box .bn-icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.65;
}

/* ---------- App / access panels ---------- */

.bn-app-panel {
  padding: 27px;
  gap: 23px;

  background:
    radial-gradient(
      ellipse at 0 0,
      rgba(234, 204, 137, .08),
      transparent 65%
    ),
    linear-gradient(
      120deg,
      #123e2c,
      #08291c
    );

  border: 1px solid rgba(234, 207, 141, .27);
  border-radius: 23px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .035),
    0 12px 30px rgba(0, 0, 0, .11);
}

.bn-app-panel h2 {
  color: #f7e9c4;
  line-height: 1.35;
}

.bn-app-panel p {
  max-width: 60ch;
  color: #b7cdbb;
  line-height: 1.8;
}

/* ---------- Notices ---------- */

.bn-callout {
  padding: 22px;
  gap: 14px;

  background: linear-gradient(
    110deg,
    rgba(176, 143, 68, .11),
    rgba(10, 46, 30, .65)
  );

  border: 1px solid rgba(226, 199, 131, .25);
  border-left: 3px solid #d5b96e;
  border-radius: 17px;

  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
}

.bn-callout p {
  color: #d0d1b8;
  line-height: 1.85;
}

/* ---------- Step cards ---------- */

.bn-steps {
  gap: 12px;
}

.bn-steps li {
  padding: 19px 20px 19px 69px;

  background: rgba(1, 21, 12, .37);
  border: 1px solid rgba(210, 191, 137, .15);
  border-radius: 15px;

  font-size: 14px;
  line-height: 1.8;
}

.bn-steps li::before {
  top: 20px;
  left: 20px;

  width: 30px;
  height: 30px;

  background: linear-gradient(
    145deg,
    #f7e5b2,
    #d8b56b
  );

  box-shadow: 0 4px 10px rgba(0, 0, 0, .10);
}

.bn-steps strong {
  margin-bottom: 5px;
  color: #efe5c7;
}

/* ---------- Tables inside cards ---------- */

.bn-table-wrap {
  margin: 22px 0;

  background: rgba(2, 23, 14, .30);
  border-color: rgba(226, 201, 137, .19);
  border-radius: 15px;
}

.bn-table th {
  background: rgba(23, 65, 44, .72);
  color: #efdfb4;
  line-height: 1.6;
}

.bn-table td {
  color: #b8cbbb;
  line-height: 1.8;
}

.bn-table th,
.bn-table td {
  border-bottom-color: rgba(226, 201, 137, .11);
}

/* ---------- FAQ cards ---------- */

.bn-faq {
  margin-top: 43px;
}

.bn-faq-heading {
  margin-bottom: 23px;
}

.bn-faq-heading h2 {
  margin-bottom: 11px;
  color: #f4e7c7;
}

.bn-faq details {
  margin: 12px 0;

  background: linear-gradient(
    125deg,
    #0b3022,
    #07251a
  );

  border: 1px solid rgba(226, 201, 137, .19);
  border-radius: 17px;

  box-shadow: 0 7px 18px rgba(0, 0, 0, .07);
}

.bn-faq summary {
  padding: 21px 57px 21px 23px;

  color: #e9e9d6;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.7;
}

.bn-faq summary::after {
  top: 20px;
  right: 20px;

  width: 27px;
  height: 27px;

  color: #e9cf91;
  background: rgba(231, 205, 143, .07);

  border: 1px solid rgba(231, 205, 143, .14);
  border-radius: 9px;

  font-size: 19px;
}

.bn-faq details[open] {
  background: linear-gradient(
    125deg,
    #103b29,
    #08291c
  );

  border-color: rgba(231, 205, 143, .34);
}

.bn-faq details[open] summary {
  color: #f4dfaa;
}

.bn-faq-answer {
  padding: 0 23px 23px;
}

.bn-faq-answer p {
  max-width: 75ch;

  color: #b8ccbd;
  font-size: 14px;
  line-height: 1.95;
}

/* ---------- Mobile refinement ---------- */

@media (max-width: 760px) {
  .bn-content-section {
    margin: 16px 0;
    padding: 23px 19px;

    border-radius: 19px;
  }

  .bn-content-section::before {
    left: 21px;
    width: 55px;
  }

  .bn-content-section > h2 {
    max-width: none;
    margin-bottom: 17px;
    padding-left: 20px;

    font-size: 21px;
    line-height: 1.4;
  }

  .bn-content-section > h2::before {
    top: .48em;
    width: 8px;
    height: 8px;
  }

  .bn-content-section h3 {
    font-size: 18px;
  }

  .bn-content-section p {
    margin-bottom: 15px;

    font-size: 14px;
    line-height: 1.9;
  }

  .bn-content-section li {
    font-size: 14px;
    line-height: 1.8;
  }

  .bn-guide,
  .bn-info-card {
    padding: 19px;
    border-radius: 18px;
  }

  .bn-guide h3,
  .bn-info-card h2,
  .bn-info-card h3 {
    font-size: 17px;
  }

  .bn-guide p,
  .bn-info-card p {
    font-size: 12px;
    line-height: 1.8;
  }

  .bn-app-panel {
    padding: 20px 17px;
    gap: 16px;
    border-radius: 20px;
  }

  .bn-app-panel h2 {
    font-size: 20px;
  }

  .bn-callout {
    padding: 18px 16px;
    gap: 11px;
    border-radius: 15px;
  }

  .bn-callout p {
    font-size: 13px;
  }

  .bn-steps li {
    padding: 17px 14px 17px 57px;
    font-size: 13px;
  }

  .bn-steps li::before {
    top: 18px;
    left: 15px;

    width: 27px;
    height: 27px;
    font-size: 12px;
  }

  .bn-faq summary {
    padding: 18px 49px 18px 17px;
    font-size: 13px;
  }

  .bn-faq summary::after {
    top: 18px;
    right: 14px;

    width: 24px;
    height: 24px;
    border-radius: 8px;
  }

  .bn-faq-answer {
    padding: 0 17px 19px;
  }

  .bn-faq-answer p {
    font-size: 13px;
    line-height: 1.9;
  }

  .bn-table th,
  .bn-table td {
    padding: 13px 12px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .bn-content-section {
    padding: 21px 16px;
  }

  .bn-content-section > h2 {
    font-size: 19px;
  }

  .bn-content-section p {
    font-size: 13px;
  }
}

/* Hover effects only for devices with a pointer */

@media (hover: hover) and (pointer: fine) {
  a.bn-info-card {
    transition:
      transform .2s ease,
      border-color .2s ease,
      box-shadow .2s ease;
  }

  a.bn-info-card:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bn-guide,
  a.bn-info-card {
    transition: none !important;
  }
}
/* VPN tutorial: display the complete image */

.bn-tutorial-grid {
  align-items: start;
}

.bn-tutorial-card {
  min-width: 0;
}

.bn-tutorial-picture {
  display: block;
  width: 100%;

  height: auto !important;
  max-height: none !important;

  overflow: visible;
  background: #03190f;
  border-radius: 12px;
}

.bn-tutorial-picture img {
  display: block;
  width: 100% !important;
  max-width: 100%;

  height: auto !important;
  max-height: none !important;

  object-fit: contain;
  object-position: center top;
  border-radius: 12px;
}

/* Keep empty image positions tidy */

.bn-tutorial-picture .bn-image-slot {
  height: auto !important;
  min-height: 240px;
}

/* Allow the dialog to scroll through long screenshots */

.bn-dialog {
  max-height: 90vh;
  max-height: 90dvh;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 760px) {
  .bn-tutorial-picture {
    height: auto !important;
  }

  .bn-tutorial-picture .bn-image-slot {
    min-height: 200px;
  }
}

@media (max-width: 360px) {
  .bn-tutorial-picture {
    height: auto !important;
  }
}
/* Refined floating social buttons */

.bn-floating {
  right: 15px;
  bottom: max(22px, env(safe-area-inset-bottom));
  gap: 10px;
}

.bn-floating a,
.bn-floating button {
  position: relative;

  display: grid;
  place-items: center;

  width: 47px;
  height: 47px;
  padding: 0;

  color: #f0d695;

  background:
    radial-gradient(
      circle at 25% 15%,
      rgba(244, 221, 163, .12),
      transparent 65%
    ),
    linear-gradient(
      145deg,
      #18513a,
      #07291c
    );

  border: 1px solid rgba(236, 208, 138, .6);
  border-radius: 16px;

  box-shadow:
    inset 0 1px 0 rgba(255, 241, 199, .10),
    0 7px 19px rgba(0, 0, 0, .28);

  transition:
    transform .2s ease,
    border-color .2s ease,
    color .2s ease;
}

.bn-floating .bn-icon {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}

/* Slightly smaller top arrow */

.bn-floating button[data-bn-top] {
  width: 41px;
  height: 41px;
  justify-self: center;

  color: #a9c5b4;
  background: #08291d;

  border-color: rgba(236, 208, 138, .25);
  border-radius: 14px;
}

.bn-floating button[data-bn-top] .bn-icon {
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .bn-floating a:hover,
  .bn-floating button:hover {
    color: #fff0bc;
    border-color: #f0d695;
    transform: translateY(-3px);
  }
}

@media (max-width: 760px) {
  .bn-floating {
    right: 9px;
    gap: 8px;
  }

  .bn-floating a,
  .bn-floating button {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .bn-floating .bn-icon {
    width: 21px;
    height: 21px;
  }

  .bn-floating button[data-bn-top] {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bn-floating a,
  .bn-floating button {
    transition: none !important;
  }
}