/* ==========================================================================
   NWR Online - nwronline.homes
   File: responsive-b98b1f-frame.css
   Mobile-first frame: 320-430px canvas, centered as a phone frame on wide
   viewports. All classes use the frameb98b1- prefix, tokens use --frameb98b1-*.
   Palette: flame #FFA500 / sand #DEB887 / clay #CD5C5C / navy #1A1A2E.
   Design notes: geometric headings over neutral body text, lightly rounded
   floating game cards, compact square-corner CTAs, step-driven information
   rhythm, motion budget spent only on key CTAs and the raised tab button.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens and base reset
   -------------------------------------------------------------------------- */
:root {
  --frameb98b1-navy: #1A1A2E;
  --frameb98b1-navy-deep: #12121F;
  --frameb98b1-navy-raise: #23233A;
  --frameb98b1-navy-card: #2A2A45;
  --frameb98b1-flame: #FFA500;
  --frameb98b1-flame-soft: #FFB733;
  --frameb98b1-sand: #DEB887;
  --frameb98b1-clay: #CD5C5C;
  --frameb98b1-ink: #F7EFE3;
  --frameb98b1-ink-dim: #CDC2B0;
  --frameb98b1-line: rgba(222, 184, 135, 0.20);
  --frameb98b1-line-strong: rgba(222, 184, 135, 0.38);
  --frameb98b1-font-head: "Poppins", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --frameb98b1-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --frameb98b1-r-card: 10px;
  --frameb98b1-r-soft: 6px;
  --frameb98b1-r-cta: 3px;
  --frameb98b1-top-h: 56px;
  --frameb98b1-tab-h: 66px;
  --frameb98b1-gap: 14px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background: var(--frameb98b1-navy-deep);
  background-image: radial-gradient(90% 40% at 50% 0%, rgba(255, 165, 0, 0.06), transparent 70%);
  color: var(--frameb98b1-ink);
  font-family: var(--frameb98b1-font-body);
  font-size: 14px;
  line-height: 1.62;
  min-height: 100vh;
}

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

.frameb98b1-no-scroll {
  overflow: hidden;
}

/* Phone canvas: capped at 430px and centered on any wide screen. */
.frameb98b1-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  background: var(--frameb98b1-navy);
  border-inline: 1px solid rgba(222, 184, 135, 0.12);
  overflow-x: clip;
}

.frameb98b1-main {
  display: block;
  padding-top: var(--frameb98b1-top-h);
  /* Reserve room so the fixed bottom navigation never covers content. */
  padding-bottom: calc(var(--frameb98b1-tab-h) + 26px + env(safe-area-inset-bottom));
}

.frameb98b1-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 120;
  background: var(--frameb98b1-flame);
  color: var(--frameb98b1-navy);
  font: 700 12px/1 var(--frameb98b1-font-head);
  padding: 10px 14px;
  border-radius: var(--frameb98b1-r-cta);
  text-decoration: none;
  transition: top 0.15s ease;
}

.frameb98b1-skip:focus {
  top: 6px;
}

/* --------------------------------------------------------------------------
   2. Top bar: compact brand strip with separate action cluster
   -------------------------------------------------------------------------- */
.frameb98b1-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: 100%;
  max-width: 430px;
  height: var(--frameb98b1-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(18, 18, 31, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--frameb98b1-line);
  z-index: 80;
}

.frameb98b1-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.frameb98b1-brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: var(--frameb98b1-r-soft);
  border: 1px solid var(--frameb98b1-line-strong);
  background: var(--frameb98b1-navy-raise);
  object-fit: cover;
}

.frameb98b1-brand-name {
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--frameb98b1-ink);
  white-space: nowrap;
}

.frameb98b1-brand-name em {
  font-style: normal;
  color: var(--frameb98b1-flame);
}

.frameb98b1-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   3. Buttons: compact, square-corner, high contrast
   -------------------------------------------------------------------------- */
.frameb98b1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: var(--frameb98b1-r-cta);
  border: 1px solid transparent;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.frameb98b1-btn--solid {
  background: var(--frameb98b1-flame);
  color: var(--frameb98b1-navy);
}

.frameb98b1-btn--solid:active {
  /* Key CTA feedback: brief glow press, nothing more. */
  box-shadow: 0 0 14px rgba(255, 165, 0, 0.55);
  transform: translateY(1px);
}

.frameb98b1-btn--ghost {
  background: transparent;
  color: var(--frameb98b1-ink);
  border-color: var(--frameb98b1-line-strong);
}

.frameb98b1-btn--ghost:active {
  background: rgba(222, 184, 135, 0.12);
}

.frameb98b1-btn--block {
  width: 100%;
}

.frameb98b1-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 40px;
  border-radius: var(--frameb98b1-r-cta);
  border: 1px solid var(--frameb98b1-line-strong);
  background: transparent;
  color: var(--frameb98b1-sand);
  cursor: pointer;
}

.frameb98b1-burger:active {
  background: rgba(222, 184, 135, 0.12);
}

/* Very narrow phones: shave button copy padding, keep 44px-ish targets. */
@media (max-width: 349px) {
  .frameb98b1-btn {
    padding: 9px 9px;
    font-size: 11.5px;
  }
  .frameb98b1-brand-name {
    font-size: 15px;
  }
  .frameb98b1-brand-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}

/* --------------------------------------------------------------------------
   4. Full-height menu layer (drawer)
   -------------------------------------------------------------------------- */
.frameb98b1-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: 100%;
  max-width: 430px;
  background: #15152A;
  border-left: 1px solid var(--frameb98b1-line);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(103%);
  transition: transform 0.28s ease, visibility 0.28s ease;
  visibility: hidden;
  overflow-y: auto;
}

.frameb98b1-drawer.frameb98b1-is-open {
  transform: translateX(0);
  visibility: visible;
}

.frameb98b1-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--frameb98b1-line);
}

.frameb98b1-drawer-head .frameb98b1-brand-logo {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.frameb98b1-drawer-title {
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--frameb98b1-ink);
}

.frameb98b1-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--frameb98b1-r-cta);
  border: 1px solid var(--frameb98b1-line-strong);
  background: transparent;
  color: var(--frameb98b1-sand);
  cursor: pointer;
}

.frameb98b1-drawer-nav {
  padding: 10px 14px 18px;
}

.frameb98b1-drawer-tag {
  display: block;
  margin: 16px 2px 6px;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frameb98b1-flame);
}

.frameb98b1-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 12px;
  margin: 0 0 4px;
  border-radius: var(--frameb98b1-r-soft);
  border: 1px solid transparent;
  color: var(--frameb98b1-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.frameb98b1-drawer-link span {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--frameb98b1-ink-dim);
  margin-top: 2px;
}

.frameb98b1-drawer-link::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-top: 2px solid var(--frameb98b1-sand);
  border-right: 2px solid var(--frameb98b1-sand);
  transform: rotate(45deg);
}

.frameb98b1-drawer-link.frameb98b1-is-current {
  background: var(--frameb98b1-flame);
  color: var(--frameb98b1-navy);
  border-color: var(--frameb98b1-flame);
}

.frameb98b1-drawer-link.frameb98b1-is-current span {
  color: rgba(26, 26, 46, 0.75);
}

.frameb98b1-drawer-cta {
  margin: 18px 14px 24px;
}

/* --------------------------------------------------------------------------
   5. Hero: heading block, banner carousel, fact chips
   -------------------------------------------------------------------------- */
.frameb98b1-hero {
  padding: 20px var(--frameb98b1-gap) 6px;
  background:
    radial-gradient(130% 62% at 50% 0%, rgba(255, 165, 0, 0.13), transparent 62%),
    linear-gradient(180deg, #22223C 0%, var(--frameb98b1-navy) 78%);
  border-bottom: 1px solid var(--frameb98b1-line);
}

.frameb98b1-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border: 1px solid var(--frameb98b1-line-strong);
  border-radius: var(--frameb98b1-r-cta);
  font-family: var(--frameb98b1-font-head);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frameb98b1-sand);
}

.frameb98b1-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--frameb98b1-flame);
}

.frameb98b1-h1 {
  margin: 0 0 10px;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--frameb98b1-ink);
}

.frameb98b1-h1 em {
  font-style: normal;
  color: var(--frameb98b1-flame);
}

.frameb98b1-lede {
  margin: 0 0 14px;
  color: var(--frameb98b1-ink-dim);
  font-size: 14px;
}

.frameb98b1-lede strong {
  color: var(--frameb98b1-ink);
}

/* Banner carousel */
.frameb98b1-carousel {
  margin: 4px 0 14px;
}

.frameb98b1-c-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--frameb98b1-r-card);
  border: 1px solid var(--frameb98b1-line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.frameb98b1-c-track {
  display: flex;
  transition: transform 0.45s ease;
}

.frameb98b1-c-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  text-decoration: none;
}

.frameb98b1-c-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frameb98b1-c-slide:not(.frameb98b1-is-on) {
  pointer-events: none;
}

.frameb98b1-c-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(18, 18, 31, 0) 0%, rgba(18, 18, 31, 0.94) 82%);
}

.frameb98b1-c-cap b {
  display: block;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--frameb98b1-ink);
}

.frameb98b1-c-cap i {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frameb98b1-flame);
  margin-top: 3px;
}

.frameb98b1-c-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.frameb98b1-c-dot {
  width: 24px;
  height: 7px;
  padding: 0;
  border: 1px solid var(--frameb98b1-sand);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.frameb98b1-c-dot.frameb98b1-is-on {
  background: var(--frameb98b1-flame);
  border-color: var(--frameb98b1-flame);
}

/* Fact chips row */
.frameb98b1-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: none;
}

.frameb98b1-chips::-webkit-scrollbar {
  display: none;
}

.frameb98b1-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--frameb98b1-line);
  border-radius: var(--frameb98b1-r-cta);
  background: rgba(35, 35, 58, 0.65);
  font-family: var(--frameb98b1-font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--frameb98b1-sand);
  white-space: nowrap;
}

.frameb98b1-chip b {
  color: var(--frameb98b1-flame);
}

/* --------------------------------------------------------------------------
   6. Section shells and headings
   -------------------------------------------------------------------------- */
.frameb98b1-section {
  padding: 24px var(--frameb98b1-gap) 8px;
}

.frameb98b1-cat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.frameb98b1-h2 {
  margin: 0 0 4px;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--frameb98b1-ink);
}

.frameb98b1-h2 em {
  font-style: normal;
  color: var(--frameb98b1-flame);
}

.frameb98b1-cat-badge {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 4px 8px;
  border: 1px solid var(--frameb98b1-flame);
  border-radius: var(--frameb98b1-r-cta);
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frameb98b1-flame);
  white-space: nowrap;
}

.frameb98b1-sub {
  margin: 0 0 14px;
  color: var(--frameb98b1-ink-dim);
  font-size: 13.5px;
}

.frameb98b1-prose p {
  margin: 0 0 10px;
  color: var(--frameb98b1-ink-dim);
  font-size: 14px;
}

.frameb98b1-prose p:last-child {
  margin-bottom: 0;
}

.frameb98b1-prose strong {
  color: var(--frameb98b1-ink);
}

.frameb98b1-prose a,
.frameb98b1-steps a,
.frameb98b1-checks a,
.frameb98b1-faq-body a {
  color: var(--frameb98b1-sand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(222, 184, 135, 0.5);
  text-underline-offset: 3px;
}

.frameb98b1-h3 {
  margin: 18px 0 8px;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--frameb98b1-sand);
}

/* --------------------------------------------------------------------------
   7. Game grid: light floating image cards
   -------------------------------------------------------------------------- */
.frameb98b1-grid {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}

.frameb98b1-gcard {
  display: block;
  padding: 6px 6px 8px;
  background: linear-gradient(180deg, var(--frameb98b1-navy-card) 0%, var(--frameb98b1-navy-raise) 100%);
  border: 1px solid var(--frameb98b1-line);
  border-radius: var(--frameb98b1-r-card);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.30);
  text-decoration: none;
  text-align: center;
  overflow: hidden;
}

.frameb98b1-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--frameb98b1-r-soft);
  background: var(--frameb98b1-navy-deep);
}

.frameb98b1-gcard-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 6px;
  min-height: 27px;
  font-family: var(--frameb98b1-font-head);
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1.28;
  color: var(--frameb98b1-ink);
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   8. Step blocks (step-driven information rhythm)
   -------------------------------------------------------------------------- */
.frameb98b1-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: frameb98b1-step;
}

.frameb98b1-step {
  position: relative;
  counter-increment: frameb98b1-step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(35, 35, 58, 0.55);
  border: 1px solid var(--frameb98b1-line);
  border-radius: var(--frameb98b1-r-card);
}

.frameb98b1-step::before {
  content: counter(frameb98b1-step, decimal-leading-zero);
  flex: 0 0 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frameb98b1-flame);
  color: var(--frameb98b1-navy);
  border-radius: var(--frameb98b1-r-cta);
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 13px;
}

.frameb98b1-step p {
  margin: 2px 0 0;
  color: var(--frameb98b1-ink-dim);
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   9. Checklist blocks
   -------------------------------------------------------------------------- */
.frameb98b1-checks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.frameb98b1-check {
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--frameb98b1-line);
  border-left: 3px solid var(--frameb98b1-flame);
  border-radius: 0 var(--frameb98b1-r-soft) var(--frameb98b1-r-soft) 0;
  background: rgba(35, 35, 58, 0.45);
  color: var(--frameb98b1-ink-dim);
  font-size: 13.5px;
}

.frameb98b1-check strong {
  color: var(--frameb98b1-ink);
  font-family: var(--frameb98b1-font-head);
}

/* --------------------------------------------------------------------------
   10. FAQ accordion
   -------------------------------------------------------------------------- */
.frameb98b1-faq {
  margin: 0 0 10px;
  border: 1px solid var(--frameb98b1-line);
  border-radius: var(--frameb98b1-r-card);
  background: rgba(35, 35, 58, 0.5);
  overflow: hidden;
}

.frameb98b1-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-family: var(--frameb98b1-font-head);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--frameb98b1-ink);
}

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

.frameb98b1-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--frameb98b1-flame);
  transition: transform 0.18s ease;
}

.frameb98b1-faq[open] summary::after {
  transform: rotate(45deg);
}

.frameb98b1-faq-body {
  padding: 0 14px 13px;
  margin: 0;
  color: var(--frameb98b1-ink-dim);
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   11. Extended home footer: promo tiles, brand note, two-column directory
   -------------------------------------------------------------------------- */
.frameb98b1-xfoot {
  margin-top: 26px;
  padding: 22px var(--frameb98b1-gap) 20px;
  background: #141428;
  border-top: 1px solid var(--frameb98b1-line);
}

.frameb98b1-xtag {
  margin: 0 0 10px;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frameb98b1-flame);
}

.frameb98b1-xpromos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.frameb98b1-xpromo {
  display: block;
  padding: 11px 12px;
  border: 1px solid rgba(255, 165, 0, 0.4);
  border-radius: var(--frameb98b1-r-cta);
  background: linear-gradient(180deg, rgba(255, 165, 0, 0.14), rgba(255, 165, 0, 0.04));
  text-decoration: none;
  cursor: pointer;
}

.frameb98b1-xpromo b {
  display: block;
  font-family: var(--frameb98b1-font-head);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--frameb98b1-ink);
}

.frameb98b1-xpromo i {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--frameb98b1-sand);
  margin-top: 3px;
}

.frameb98b1-xpromo:active {
  background: rgba(255, 165, 0, 0.22);
}

.frameb98b1-xbrand {
  margin: 0 0 22px;
  color: var(--frameb98b1-ink-dim);
  font-size: 12.5px;
}

.frameb98b1-xdir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.frameb98b1-xdir a {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--frameb98b1-line);
  border-radius: var(--frameb98b1-r-soft);
  background: rgba(26, 26, 46, 0.6);
  text-decoration: none;
  color: var(--frameb98b1-ink);
  font-family: var(--frameb98b1-font-head);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
}

.frameb98b1-xdir a span {
  display: block;
  font-family: var(--frameb98b1-font-body);
  font-weight: 400;
  font-size: 10.5px;
  color: var(--frameb98b1-ink-dim);
  margin-top: 2px;
}

.frameb98b1-xnote {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--frameb98b1-line);
  color: rgba(205, 194, 176, 0.75);
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   12. Common footer (copyright line only)
   -------------------------------------------------------------------------- */
.frameb98b1-footer {
  padding: 14px var(--frameb98b1-gap) calc(16px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--frameb98b1-line);
  background: #101020;
}

.frameb98b1-footer p {
  margin: 0;
  font-family: var(--frameb98b1-font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--frameb98b1-sand);
}

/* --------------------------------------------------------------------------
   13. Bottom tab bar with raised center button
   -------------------------------------------------------------------------- */
.frameb98b1-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: 100%;
  max-width: 430px;
  height: calc(var(--frameb98b1-tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(16, 16, 32, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--frameb98b1-line);
  z-index: 90;
}

.frameb98b1-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding-top: 9px;
  color: var(--frameb98b1-sand);
  text-decoration: none;
  cursor: pointer;
}

.frameb98b1-tab-ic {
  display: flex;
  width: 22px;
  height: 22px;
}

.frameb98b1-tab-ic svg {
  width: 100%;
  height: 100%;
}

.frameb98b1-tab-label {
  font-family: var(--frameb98b1-font-head);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}

/* Accent indicator above each idle tab. */
.frameb98b1-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: rgba(222, 184, 135, 0.22);
}

/* Active state: full contrast inversion on the tab tile. */
.frameb98b1-tab.frameb98b1-is-active {
  background: var(--frameb98b1-flame);
  color: var(--frameb98b1-navy);
}

.frameb98b1-tab.frameb98b1-is-active::before {
  background: var(--frameb98b1-flame);
}

/* Raised center promo button. */
.frameb98b1-tab--raise {
  padding-top: 0;
}

.frameb98b1-tab-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-top: -24px;
  background: var(--frameb98b1-flame);
  color: var(--frameb98b1-navy);
  border-radius: var(--frameb98b1-r-soft);
  box-shadow: 0 0 0 5px #101020, 0 10px 22px rgba(255, 165, 0, 0.35);
}

.frameb98b1-tab-tile:active {
  /* Restrained glow feedback on the key promo button. */
  box-shadow: 0 0 0 5px #101020, 0 0 24px rgba(255, 165, 0, 0.6);
}

.frameb98b1-tab-tile svg {
  width: 26px;
  height: 26px;
}

.frameb98b1-tab--raise .frameb98b1-tab-label {
  margin-top: 4px;
  color: var(--frameb98b1-flame);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   14. Accessibility and motion budget
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--frameb98b1-flame);
  outline-offset: 2px;
}

::selection {
  background: rgba(255, 165, 0, 0.35);
  color: var(--frameb98b1-ink);
}

@media (prefers-reduced-motion: reduce) {
  .frameb98b1-c-track,
  .frameb98b1-drawer,
  .frameb98b1-faq summary::after,
  .frameb98b1-tab-tile,
  .frameb98b1-skip {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   15. Wider phone canvas steps
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .frameb98b1-h1 {
    font-size: 27px;
  }
  .frameb98b1-h2 {
    font-size: 20px;
  }
  .frameb98b1-grid {
    gap: 14px 10px;
  }
  .frameb98b1-gcard-name {
    font-size: 11px;
  }
  .frameb98b1-hero,
  .frameb98b1-section,
  .frameb98b1-xfoot,
  .frameb98b1-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* At the top of the canvas the grid widens to five tracks. */
@media (min-width: 430px) {
  .frameb98b1-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .frameb98b1-xdir {
    gap: 10px 14px;
  }
  .frameb98b1-h1 {
    font-size: 29px;
  }
}

/* Help-page variations keep the same palette while changing the reading rhythm. */
.frameb98b1-guide-intro {
  padding: 18px var(--frameb98b1-gap) 20px;
  background: linear-gradient(135deg, rgba(205, 92, 92, 0.20), rgba(255, 165, 0, 0.08));
  border-bottom: 1px solid var(--frameb98b1-line);
}

.frameb98b1-guide-kicker {
  margin: 0 0 8px;
  color: var(--frameb98b1-flame);
  font-family: var(--frameb98b1-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.frameb98b1-route {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.frameb98b1-route-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid var(--frameb98b1-line);
  border-radius: var(--frameb98b1-r-card);
  background: rgba(42, 42, 69, 0.72);
}

.frameb98b1-route-mark {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: var(--frameb98b1-r-cta);
  background: var(--frameb98b1-sand);
  color: var(--frameb98b1-navy);
  font-family: var(--frameb98b1-font-head);
  font-size: 13px;
  font-weight: 800;
}

.frameb98b1-route-card h3,
.frameb98b1-answer-card h3,
.frameb98b1-issue h3 {
  margin: 0 0 4px;
  color: var(--frameb98b1-ink);
  font-family: var(--frameb98b1-font-head);
  font-size: 14px;
  line-height: 1.3;
}

.frameb98b1-route-card p,
.frameb98b1-answer-card p,
.frameb98b1-issue p {
  margin: 0;
  color: var(--frameb98b1-ink-dim);
  font-size: 13px;
}

.frameb98b1-action-line {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid var(--frameb98b1-flame);
  border-radius: var(--frameb98b1-r-cta);
  background: rgba(255, 165, 0, 0.10);
  color: var(--frameb98b1-ink);
  font-family: var(--frameb98b1-font-head);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.frameb98b1-answer-board {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.frameb98b1-answer-card {
  padding: 12px;
  border-left: 3px solid var(--frameb98b1-sand);
  border-radius: 0 var(--frameb98b1-r-card) var(--frameb98b1-r-card) 0;
  background: rgba(42, 42, 69, 0.68);
}

.frameb98b1-issue-grid {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.frameb98b1-issue {
  padding: 12px;
  border: 1px solid var(--frameb98b1-line);
  border-radius: var(--frameb98b1-r-soft);
  background: rgba(26, 26, 46, 0.78);
}

.frameb98b1-issue strong {
  color: var(--frameb98b1-flame);
}

.frameb98b1-note {
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid rgba(205, 92, 92, 0.55);
  border-radius: var(--frameb98b1-r-card);
  background: rgba(205, 92, 92, 0.10);
  color: var(--frameb98b1-ink-dim);
  font-size: 13px;
}

@media (min-width: 375px) {
  .frameb98b1-guide-intro {
    padding-left: 16px;
    padding-right: 16px;
  }
}
