:root {
  --b7x-ink: #211631;
  --b7x-ink-2: #322047;
  --b7x-cream: #fff8e7;
  --b7x-cream-2: #f4e8cf;
  --b7x-blue: #3157c8;
  --b7x-blue-2: #203d9a;
  --b7x-red: #f0502f;
  --b7x-lime: #c7ef63;
  --b7x-muted: #71687c;
  --b7x-line: rgba(33, 22, 49, .18);
  --b7x-shadow: 14px 16px 0 rgba(33, 22, 49, .14);
  --b7x-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--b7x-ink);
  background: var(--b7x-cream);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-wrap: break-word;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 {
  margin: 0;
  font-family: "Aptos Display", "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.025em;
}
h1 { max-width: 19ch; font-size: clamp(2.3rem, 5.4vw, 5.8rem); }
h2 { max-width: 27ch; font-size: clamp(1.85rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); }

.b7x-skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--b7x-cream);
  background: var(--b7x-ink);
  transform: translateY(-160%);
}
.b7x-skip:focus { transform: none; }
.b7x-shell { width: min(1200px, calc(100% - 44px)); margin-inline: auto; }

.b7x-top {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: minmax(180px, 230px) 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 82px;
  padding: 9px max(22px, calc((100vw - 1244px) / 2));
  border-bottom: 2px solid var(--b7x-ink);
  background: rgba(255, 248, 231, .94);
  backdrop-filter: blur(16px);
}
.b7x-brand { text-decoration: none; }
.b7x-brand img { width: 205px; height: auto; }
.b7x-nav { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; }
.b7x-nav__link, .b7x-nav__home {
  flex: 0 0 auto;
  padding: 8px 9px;
  border: 1px solid transparent;
  font-size: .79rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.b7x-nav__link:hover, .b7x-nav__home:hover { border-color: var(--b7x-blue); color: var(--b7x-blue); }
.b7x-top__actions, .b7x-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.b7x-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--b7x-ink);
  border-radius: 4px 16px 4px 16px;
  color: var(--b7x-cream);
  background: var(--b7x-red);
  box-shadow: 5px 5px 0 var(--b7x-ink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .16s ease, box-shadow .16s ease;
}
.b7x-action:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--b7x-ink); }
.b7x-action--quiet { color: var(--b7x-ink); background: transparent; box-shadow: none; }

.b7x-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 10vw, 140px) 0 72px;
  background:
    linear-gradient(135deg, transparent 0 66%, rgba(199, 239, 99, .55) 66% 74%, transparent 74%),
    var(--b7x-cream);
}
.b7x-hero::after {
  position: absolute;
  top: 32px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 38px solid rgba(49, 87, 200, .13);
  border-radius: 50%;
  content: "";
}
.b7x-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); gap: clamp(36px, 8vw, 110px); align-items: end; }
.b7x-kicker { margin: 0 0 18px; color: var(--b7x-blue); font: 900 .76rem/1.3 Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; }
.b7x-lead { max-width: 70ch; margin: 28px 0 32px; font-size: clamp(1.03rem, 1.5vw, 1.24rem); }
.b7x-console {
  padding: 26px;
  border: 2px solid var(--b7x-ink);
  border-radius: 5px 30px 5px 30px;
  color: var(--b7x-cream);
  background: var(--b7x-blue);
  box-shadow: var(--b7x-shadow);
  transform: rotate(1.5deg);
}
.b7x-console > p { margin-bottom: 24px; color: var(--b7x-lime); font: 900 .72rem/1 Consolas, monospace; letter-spacing: .17em; }
.b7x-console ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.b7x-console li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 11px; border-bottom: 1px dashed rgba(255,248,231,.42); }
.b7x-console li span { color: var(--b7x-cream); font: 900 1.45rem/1 "Aptos Display", sans-serif; }

.b7x-strip { color: var(--b7x-cream); background: var(--b7x-ink); }
.b7x-strip .b7x-shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.b7x-strip p { display: flex; align-items: center; gap: 10px; min-height: 78px; margin: 0; padding: 14px 19px; border-right: 1px dashed rgba(255,248,231,.25); font-size: .88rem; }
.b7x-strip p:first-child { border-left: 1px dashed rgba(255,248,231,.25); }
.b7x-strip p::before { width: 10px; height: 10px; flex: 0 0 10px; background: var(--b7x-lime); content: ""; transform: rotate(45deg); }

.b7x-section { position: relative; padding: clamp(70px, 9vw, 122px) 0; border-bottom: 2px solid var(--b7x-ink); }
.b7x-section--cream { background: var(--b7x-cream); }
.b7x-section--night { color: var(--b7x-cream); background: var(--b7x-ink); }
.b7x-section--blue { color: var(--b7x-cream); background: var(--b7x-blue); }
.b7x-section--lime { color: var(--b7x-ink); background: var(--b7x-lime); }
.b7x-section--night .b7x-kicker, .b7x-section--blue .b7x-kicker { color: var(--b7x-lime); }
.b7x-section--lime .b7x-kicker { color: var(--b7x-blue-2); }
.b7x-heading { position: relative; min-width: 0; }
.b7x-index { display: inline-block; margin-bottom: 18px; color: var(--b7x-red); font: 900 clamp(2.5rem,5vw,5.5rem)/.8 "Arial Black", sans-serif; }
.b7x-section--blue .b7x-index, .b7x-section--night .b7x-index { color: var(--b7x-lime); }
.b7x-copy { font-size: 1.02rem; }
.b7x-copy p:last-child { margin-bottom: 0; }
.b7x-section--ledger > .b7x-shell { display: grid; grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr); gap: 25px clamp(42px, 8vw, 115px); align-items: start; }
.b7x-section--ledger .b7x-heading { grid-column: 1; }
.b7x-section--ledger .b7x-copy { grid-column: 2; padding-top: 58px; columns: 2 290px; column-gap: 44px; }
.b7x-section--ledger .b7x-cardgrid, .b7x-section--ledger .b7x-points, .b7x-section--ledger .b7x-faq, .b7x-section--ledger .b7x-crosslink { grid-column: 1 / -1; }
.b7x-section--split > .b7x-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(35px,7vw,90px); align-items: start; }
.b7x-section--split .b7x-copy { padding: 34px; border: 2px solid currentColor; border-radius: 4px 24px 4px 24px; background: rgba(255,255,255,.09); }
.b7x-section--split .b7x-cardgrid, .b7x-section--split .b7x-points, .b7x-section--split .b7x-faq, .b7x-section--split .b7x-crosslink { grid-column: 1 / -1; }
.b7x-section--stack .b7x-heading { display: grid; grid-template-columns: 100px 1fr; gap: 0 26px; align-items: end; }
.b7x-section--stack .b7x-index { grid-row: 1 / span 2; margin: 0; }
.b7x-section--stack .b7x-kicker { margin-bottom: 10px; }
.b7x-section--stack .b7x-copy { max-width: 930px; margin: 38px 0 0 auto; columns: 2 300px; column-gap: 50px; }

.b7x-crosslink { max-width: 900px; margin: 36px 0 0 auto; padding: 17px 20px; border-left: 5px solid var(--b7x-red); color: var(--b7x-ink); background: var(--b7x-cream-2); }
.b7x-section--night .b7x-crosslink, .b7x-section--blue .b7x-crosslink { color: var(--b7x-ink); }
.b7x-section--lime .b7x-crosslink { background: rgba(255,248,231,.66); }
.b7x-inline { color: var(--b7x-blue-2); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.b7x-cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.b7x-card { position: relative; padding: 27px; border: 2px solid var(--b7x-ink); border-radius: 4px 22px 4px 22px; color: var(--b7x-ink); background: var(--b7x-cream); box-shadow: 7px 7px 0 rgba(33,22,49,.28); }
.b7x-card > span { display: block; margin-bottom: 24px; color: var(--b7x-red); font: 900 1.7rem/1 "Aptos Display", sans-serif; }
.b7x-card h3 { margin-bottom: 14px; }
.b7x-card p { min-height: 4.8em; color: var(--b7x-muted); }
.b7x-card .b7x-action { margin-top: 10px; }
.b7x-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 34px 0 0; padding: 0; list-style: none; }
.b7x-points li { padding: 12px 0 12px 25px; border-bottom: 1px dashed currentColor; }
.b7x-points li::before { margin-left: -25px; margin-right: 10px; color: var(--b7x-red); content: "◆"; }

.b7x-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 38px; }
.b7x-faq details { border: 2px solid currentColor; border-radius: 3px 18px 3px 18px; background: rgba(255,255,255,.1); }
.b7x-faq summary { padding: 18px 20px; font-weight: 900; cursor: pointer; }
.b7x-faq details p { margin: 0; padding: 0 20px 19px; }

.b7x-footer { padding: 58px 0 34px; color: #d9d0e2; background: #160e22; }
.b7x-footer__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; }
.b7x-footer img { width: 205px; margin-bottom: 18px; }
.b7x-footer nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 8px 20px; }
.b7x-footer nav a { color: var(--b7x-lime); text-underline-offset: 4px; }
.b7x-footer__note { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,248,231,.2); font-size: .84rem; }

@media (max-width: 1080px) {
  .b7x-top { grid-template-columns: 178px 1fr auto; }
  .b7x-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; }
  .b7x-top__actions .b7x-action--quiet { display: none; }
  .b7x-cardgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .b7x-shell { width: min(100% - 28px, 1200px); }
  .b7x-top { position: relative; grid-template-columns: minmax(150px, 1fr) auto; gap: 8px; padding: 10px 14px; }
  .b7x-brand img { width: 178px; }
  .b7x-nav { grid-column: 1 / -1; order: 3; margin-inline: -14px; padding: 8px 14px 2px; border-top: 1px solid var(--b7x-line); }
  .b7x-top__actions .b7x-action { min-height: 38px; padding: 8px 12px; font-size: .7rem; }
  .b7x-hero { padding-top: 58px; }
  .b7x-hero__grid { grid-template-columns: 1fr; }
  .b7x-console { transform: none; }
  .b7x-strip .b7x-shell { grid-template-columns: 1fr 1fr; width: 100%; }
  .b7x-strip p:nth-child(odd) { border-left: 0; }
  .b7x-section--ledger > .b7x-shell, .b7x-section--split > .b7x-shell { display: block; }
  .b7x-section--ledger .b7x-copy, .b7x-section--stack .b7x-copy { padding-top: 0; columns: 1; margin-top: 30px; }
  .b7x-section--split .b7x-copy { margin-top: 30px; padding: 24px; }
  .b7x-section--stack .b7x-heading { display: block; }
  .b7x-section--stack .b7x-index { margin-bottom: 18px; }
  .b7x-cardgrid, .b7x-faq, .b7x-points { grid-template-columns: 1fr; }
  .b7x-footer__grid { grid-template-columns: 1fr; }
  .b7x-footer__note { grid-column: auto; }
}

@media (max-width: 430px) {
  h1 { font-size: clamp(2rem, 12vw, 3.35rem); }
  h2 { font-size: clamp(1.7rem, 9vw, 2.6rem); }
  .b7x-brand img { width: 154px; }
  .b7x-top__actions .b7x-action { padding-inline: 10px; }
  .b7x-strip .b7x-shell { grid-template-columns: 1fr; }
  .b7x-strip p { min-height: 58px; border-left: 0; border-right: 0; border-bottom: 1px dashed rgba(255,248,231,.24); }
  .b7x-actions .b7x-action { width: 100%; }
  .b7x-console { padding: 20px; }
  .b7x-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .b7x-action { transition: none; }
}

