/* ==========================================================================
   bet 365 - bet-365.homes interface layer
   File   : css/bet-365-interface-a23c05.css
   Canvas : 320-430px mobile-first, centered phone frame on wide screens
   Palette: #273746 canvas / #FFA500 accent
   Prefix : every class and custom property starts with c3c05e-
   Voice  : bold compact headings over light body text, mixed corner radii,
            outlined tile cards, step-driven rhythm, sliding focus indicator,
            full-width primary buttons.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --c3c05e-canvas-w: 430px;
  --c3c05e-gutter: 14px;
  --c3c05e-dock-h: 62px;

  --c3c05e-bg-deep: #0e151e;
  --c3c05e-canvas: #273746;
  --c3c05e-canvas-up: #2c3d50;
  --c3c05e-surface: #2f4256;
  --c3c05e-surface-2: #35495f;
  --c3c05e-line: #425a77;
  --c3c05e-line-soft: #3a4f68;

  --c3c05e-text: #eef4fa;
  --c3c05e-muted: #a9bacd;
  --c3c05e-faint: #7f93a9;

  --c3c05e-accent: #ffa500;
  --c3c05e-accent-deep: #e59400;
  --c3c05e-accent-ink: #22180a;
  --c3c05e-accent-soft: rgba(255, 165, 0, 0.14);
  --c3c05e-accent-line: rgba(255, 165, 0, 0.38);

  --c3c05e-good: #5ecf90;
  --c3c05e-shadow: 0 12px 28px rgba(8, 14, 21, 0.45);
  --c3c05e-shadow-soft: 0 6px 16px rgba(8, 14, 21, 0.3);

  /* mixed radii: panels get a tall top pair, tiles get a shorter pair */
  --c3c05e-r-panel: 18px 18px 10px 10px;
  --c3c05e-r-tile: 14px 14px 8px 8px;
  --c3c05e-r-pill: 999px;

  --c3c05e-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset and base type
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--c3c05e-bg-deep);
  color: var(--c3c05e-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--c3c05e-text);
}

h2 { font-size: 21px; }
h3 { font-size: 16px; }

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--c3c05e-accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection {
  background: var(--c3c05e-accent);
  color: var(--c3c05e-accent-ink);
}

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--c3c05e-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Phone canvas
   -------------------------------------------------------------------------- */
.c3c05e-app {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(255, 165, 0, 0.07), transparent 60%),
    linear-gradient(180deg, var(--c3c05e-canvas-up) 0%, var(--c3c05e-canvas) 34%, #22303f 100%);
  overflow-x: hidden;
}

.c3c05e-main {
  padding: 112px var(--c3c05e-gutter) calc(var(--c3c05e-dock-h) + 40px + env(safe-area-inset-bottom));
}

/* wide screens: keep the phone canvas centred with a subtle frame */
@media (min-width: 431px) {
  .c3c05e-app {
    box-shadow: 0 0 0 1px var(--c3c05e-line-soft), 0 0 60px rgba(0, 0, 0, 0.55);
    min-height: 100vh;
  }
}

/* --------------------------------------------------------------------------
   4. Top bar: brand tier above action tier
   -------------------------------------------------------------------------- */
.c3c05e-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #1b2734 0%, rgba(29, 41, 54, 0.97) 100%);
  border-bottom: 1px solid var(--c3c05e-line-soft);
  transition: box-shadow 0.25s var(--c3c05e-ease);
}

.c3c05e-topbar.c3c05e-is-stuck {
  box-shadow: 0 8px 22px rgba(6, 11, 17, 0.5);
}

/* brand tier: logo image + wordmark only */
.c3c05e-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px var(--c3c05e-gutter) 6px;
}

.c3c05e-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--c3c05e-accent-line);
  background: var(--c3c05e-surface);
  flex: 0 0 auto;
}

.c3c05e-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.c3c05e-wordmark strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.c3c05e-wordmark strong em {
  font-style: normal;
  color: var(--c3c05e-accent);
}

/* action tier: register / login / menu */
.c3c05e-actionrow {
  display: grid;
  grid-template-columns: 1fr 1fr 44px;
  gap: 8px;
  align-items: center;
  padding: 0 var(--c3c05e-gutter) 10px;
}

.c3c05e-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 0.12s var(--c3c05e-ease), filter 0.12s var(--c3c05e-ease),
    background-color 0.15s var(--c3c05e-ease), border-color 0.15s var(--c3c05e-ease);
}

.c3c05e-btn:active {
  transform: translateY(1px) scale(0.97);
  filter: brightness(0.92);
}

/* full-width primary CTA shape */
.c3c05e-btn--primary {
  background: linear-gradient(180deg, #ffb52e 0%, var(--c3c05e-accent) 55%, var(--c3c05e-accent-deep) 100%);
  color: var(--c3c05e-accent-ink);
  box-shadow: 0 4px 14px rgba(255, 165, 0, 0.32);
}

.c3c05e-btn--ghost {
  border: 1px solid var(--c3c05e-accent-line);
  color: var(--c3c05e-accent);
  background: var(--c3c05e-accent-soft);
}

.c3c05e-btn--quiet {
  border: 1px solid var(--c3c05e-line);
  color: var(--c3c05e-muted);
  background: rgba(47, 66, 86, 0.5);
}

.c3c05e-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--c3c05e-line);
  color: var(--c3c05e-muted);
  background: rgba(47, 66, 86, 0.5);
  transition: color 0.15s var(--c3c05e-ease), border-color 0.15s var(--c3c05e-ease),
    transform 0.12s var(--c3c05e-ease);
}

.c3c05e-menubtn:active { transform: scale(0.94); }

.c3c05e-menubtn svg { display: block; }

.c3c05e-menubtn.c3c05e-is-open {
  color: var(--c3c05e-accent);
  border-color: var(--c3c05e-accent-line);
}

/* --------------------------------------------------------------------------
   5. Layered dropdown menu
   -------------------------------------------------------------------------- */
.c3c05e-menu {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: #1c2937;
  border-bottom: 1px solid var(--c3c05e-line-soft);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.32s var(--c3c05e-ease), visibility 0s linear 0.32s;
}

.c3c05e-menu.c3c05e-is-open {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  visibility: visible;
  transition: max-height 0.32s var(--c3c05e-ease);
}

.c3c05e-menuinner {
  padding: 6px var(--c3c05e-gutter) 18px;
}

.c3c05e-menuhome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 4px 12px;
  margin-bottom: 6px;
  border-radius: 10px;
  border: 1px solid var(--c3c05e-accent-line);
  background: var(--c3c05e-accent-soft);
  color: var(--c3c05e-text);
  font-weight: 700;
  font-size: 14px;
}

.c3c05e-menuhome span { color: var(--c3c05e-accent); font-weight: 800; }

.c3c05e-menugroup {
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: 12px;
  background: rgba(47, 66, 86, 0.35);
  margin-bottom: 8px;
  overflow: hidden;
}

.c3c05e-menuhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c3c05e-muted);
}

.c3c05e-menuhead svg {
  flex: 0 0 auto;
  transition: transform 0.22s var(--c3c05e-ease);
  color: var(--c3c05e-faint);
}

.c3c05e-menugroup.c3c05e-is-open .c3c05e-menuhead svg {
  transform: rotate(180deg);
  color: var(--c3c05e-accent);
}

.c3c05e-menulayer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--c3c05e-ease);
}

.c3c05e-menugroup.c3c05e-is-open .c3c05e-menulayer {
  grid-template-rows: 1fr;
}

.c3c05e-menulayer > ul {
  overflow: hidden;
  padding: 0 8px;
}

.c3c05e-menugroup.c3c05e-is-open .c3c05e-menulayer > ul {
  padding: 0 8px 8px;
}

.c3c05e-menulayer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--c3c05e-text);
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

.c3c05e-menulayer a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--c3c05e-faint);
  border-right: 2px solid var(--c3c05e-faint);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.c3c05e-menulayer a:hover {
  background: rgba(255, 165, 0, 0.08);
  text-decoration: none;
}

.c3c05e-menulayer a small {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--c3c05e-faint);
}

.c3c05e-menulink-text { min-width: 0; }

body.c3c05e-menu-locked { overflow: hidden; }

.c3c05e-scrim {
  position: fixed;
  inset: 100px 0 0 0;
  background: rgba(9, 15, 22, 0.62);
  z-index: 54;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--c3c05e-ease);
}

.c3c05e-scrim.c3c05e-is-open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.c3c05e-hero {
  padding: 18px 0 6px;
}

.c3c05e-hero h1 {
  font-size: 27px;
  letter-spacing: -0.03em;
}

.c3c05e-hero h1 mark {
  background: none;
  color: var(--c3c05e-accent);
}

.c3c05e-hero p {
  margin: 10px 0 14px;
  color: var(--c3c05e-muted);
  font-size: 14.5px;
}

.c3c05e-herocta {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   7. Promo carousel
   -------------------------------------------------------------------------- */
.c3c05e-stage {
  position: relative;
  margin: 14px 0 4px;
  border-radius: var(--c3c05e-r-panel);
  overflow: hidden;
  border: 1px solid var(--c3c05e-line);
  background: var(--c3c05e-surface);
  box-shadow: var(--c3c05e-shadow-soft);
}

.c3c05e-track {
  display: flex;
  transition: transform 0.5s var(--c3c05e-ease);
}

.c3c05e-slide {
  min-width: 100%;
  position: relative;
}

.c3c05e-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.c3c05e-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(14, 21, 30, 0.92) 62%);
}

.c3c05e-slidecap strong {
  font-size: 13.5px;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.c3c05e-slidego {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: var(--c3c05e-r-pill);
  background: linear-gradient(180deg, #ffb52e, var(--c3c05e-accent-deep));
  color: var(--c3c05e-accent-ink);
  font-size: 12.5px;
  font-weight: 800;
  transition: transform 0.12s var(--c3c05e-ease);
}

.c3c05e-slidego:active { transform: scale(0.94); }

.c3c05e-dots {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.c3c05e-dots button {
  width: 8px;
  height: 8px;
  border-radius: var(--c3c05e-r-pill);
  background: rgba(238, 244, 250, 0.4);
  transition: width 0.28s var(--c3c05e-ease), background-color 0.2s var(--c3c05e-ease);
}

.c3c05e-dots button.c3c05e-is-live {
  width: 22px;
  background: var(--c3c05e-accent);
}

/* --------------------------------------------------------------------------
   8. Fact strip
   -------------------------------------------------------------------------- */
.c3c05e-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
}

.c3c05e-fact {
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: 12px 12px 7px 7px;
  background: rgba(47, 66, 86, 0.45);
  padding: 9px 11px;
}

.c3c05e-fact strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--c3c05e-accent);
  letter-spacing: -0.02em;
}

.c3c05e-fact span {
  font-size: 11.5px;
  color: var(--c3c05e-muted);
  line-height: 1.35;
  display: block;
}

/* --------------------------------------------------------------------------
   9. Category rail with sliding focus indicator
   -------------------------------------------------------------------------- */
.c3c05e-rail {
  position: sticky;
  top: 100px;
  z-index: 20;
  margin: 14px calc(-1 * var(--c3c05e-gutter)) 10px;
  padding: 8px var(--c3c05e-gutter) 6px;
  background: linear-gradient(180deg, rgba(31, 44, 58, 0.98) 70%, rgba(31, 44, 58, 0.88));
  border-bottom: 1px solid var(--c3c05e-line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.c3c05e-rail::-webkit-scrollbar { display: none; }

.c3c05e-railrow {
  position: relative;
  display: flex;
  gap: 6px;
  min-width: max-content;
}

.c3c05e-railchip {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--c3c05e-r-pill);
  border: 1px solid var(--c3c05e-line-soft);
  background: rgba(47, 66, 86, 0.55);
  color: var(--c3c05e-muted);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.18s var(--c3c05e-ease), border-color 0.18s var(--c3c05e-ease),
    transform 0.12s var(--c3c05e-ease);
}

.c3c05e-railchip:active { transform: scale(0.95); }

.c3c05e-railchip em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--c3c05e-faint);
  font-weight: 600;
}

.c3c05e-railchip.c3c05e-is-live {
  color: var(--c3c05e-accent);
  border-color: var(--c3c05e-accent-line);
}

.c3c05e-railthumb {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: var(--c3c05e-accent);
  transition: left 0.3s var(--c3c05e-ease), width 0.3s var(--c3c05e-ease);
}

/* --------------------------------------------------------------------------
   10. Section shell and headings
   -------------------------------------------------------------------------- */
.c3c05e-section {
  margin-top: 26px;
  scroll-margin-top: 150px;
}

.c3c05e-sechead {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.c3c05e-sechead h2 { flex: 1; }

.c3c05e-countchip {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 3px 9px;
  border-radius: var(--c3c05e-r-pill);
  border: 1px solid var(--c3c05e-accent-line);
  background: var(--c3c05e-accent-soft);
  color: var(--c3c05e-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.c3c05e-secintro {
  color: var(--c3c05e-muted);
  font-size: 13.8px;
  margin-bottom: 12px;
}

.c3c05e-secintro a { font-weight: 700; }

/* --------------------------------------------------------------------------
   11. Game grids and outlined tile cards
   -------------------------------------------------------------------------- */
.c3c05e-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

@media (min-width: 375px) {
  .c3c05e-grid { grid-template-columns: repeat(5, 1fr); gap: 10px 8px; }
}

.c3c05e-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px 6px 9px;
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: var(--c3c05e-r-tile);
  background: linear-gradient(180deg, var(--c3c05e-surface) 0%, rgba(47, 66, 86, 0.65) 100%);
  text-align: center;
  transition: transform 0.12s var(--c3c05e-ease), border-color 0.16s var(--c3c05e-ease),
    box-shadow 0.16s var(--c3c05e-ease);
}

.c3c05e-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(66, 90, 119, 0.6);
  background: #22303f;
}

.c3c05e-tile span {
  font-size: 10.8px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--c3c05e-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  word-break: break-word;
}

.c3c05e-tile:active {
  transform: translateY(1px) scale(0.96);
  border-color: var(--c3c05e-accent);
  box-shadow: 0 0 0 2px var(--c3c05e-accent-soft);
}

.c3c05e-tile:hover { border-color: var(--c3c05e-accent-line); }

/* --------------------------------------------------------------------------
   12. Steps (step-driven information rhythm)
   -------------------------------------------------------------------------- */
.c3c05e-steps {
  margin-top: 12px;
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: var(--c3c05e-r-panel);
  background: rgba(47, 66, 86, 0.32);
  padding: 4px 14px 6px;
}

.c3c05e-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 13px 0 15px;
}

.c3c05e-step + .c3c05e-step { border-top: 1px dashed var(--c3c05e-line-soft); }

.c3c05e-stepnum {
  width: 36px;
  height: 36px;
  border-radius: 11px 11px 6px 6px;
  border: 1px solid var(--c3c05e-accent-line);
  background: var(--c3c05e-accent-soft);
  color: var(--c3c05e-accent);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c3c05e-step h3 { margin-bottom: 4px; font-size: 15px; }

.c3c05e-step p {
  color: var(--c3c05e-muted);
  font-size: 13.6px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. Feature ledger (scannable, comparable rows)
   -------------------------------------------------------------------------- */
.c3c05e-ledger {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.c3c05e-ledgerrow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 11px 13px;
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: 13px 13px 8px 8px;
  background: rgba(47, 66, 86, 0.32);
}

.c3c05e-ledgertop {
  display: flex;
  align-items: center;
  gap: 9px;
}

.c3c05e-ledgertop h3 {
  flex: 1;
  font-size: 14.5px;
  min-width: 0;
}

.c3c05e-ledgertag {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: var(--c3c05e-r-pill);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--c3c05e-accent-soft);
  color: var(--c3c05e-accent);
  border: 1px solid var(--c3c05e-accent-line);
  text-transform: uppercase;
}

.c3c05e-ledgerrow p {
  margin: 0;
  color: var(--c3c05e-muted);
  font-size: 13.4px;
}

.c3c05e-ledgerdot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 3px;
  border: 2px solid var(--c3c05e-accent);
}

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.c3c05e-quotes {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.c3c05e-quote {
  padding: 13px 14px;
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: 16px 16px 9px 9px;
  background:
    linear-gradient(160deg, rgba(255, 165, 0, 0.05), transparent 45%),
    rgba(47, 66, 86, 0.38);
}

.c3c05e-quotehead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.c3c05e-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(160deg, var(--c3c05e-accent), var(--c3c05e-accent-deep));
  color: var(--c3c05e-accent-ink);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.c3c05e-quotewho { flex: 1; min-width: 0; }

.c3c05e-quotewho strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.c3c05e-quotewho span {
  font-size: 11.5px;
  color: var(--c3c05e-faint);
}

.c3c05e-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c3c05e-accent);
}

.c3c05e-stars svg { display: block; }

.c3c05e-quote p {
  margin: 0;
  font-size: 13.6px;
  color: var(--c3c05e-muted);
}

/* --------------------------------------------------------------------------
   15. Glossary
   -------------------------------------------------------------------------- */
.c3c05e-gloss {
  margin-top: 12px;
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: var(--c3c05e-r-panel);
  overflow: hidden;
}

.c3c05e-glossterm {
  padding: 11px 13px;
  background: rgba(47, 66, 86, 0.3);
  border-bottom: 1px solid var(--c3c05e-line-soft);
}

.c3c05e-glossterm:last-child { border-bottom: 0; }

.c3c05e-glossterm dt {
  font-weight: 800;
  font-size: 14px;
  color: var(--c3c05e-accent);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.c3c05e-glossterm dt::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c3c05e-accent);
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.c3c05e-glossterm dd {
  margin: 5px 0 0;
  font-size: 13.4px;
  color: var(--c3c05e-muted);
}

/* --------------------------------------------------------------------------
   16. Scenario answers
   -------------------------------------------------------------------------- */
.c3c05e-scenes {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.c3c05e-scene {
  border: 1px solid var(--c3c05e-line-soft);
  border-left: 3px solid var(--c3c05e-accent);
  border-radius: 6px 14px 8px 8px;
  background: rgba(47, 66, 86, 0.32);
  padding: 12px 13px;
}

.c3c05e-scene h3 {
  font-size: 14.5px;
  margin-bottom: 5px;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.c3c05e-scene h3 q {
  color: var(--c3c05e-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-style: normal;
  quotes: none;
  flex: 0 0 auto;
}

.c3c05e-scene p {
  margin: 0;
  font-size: 13.6px;
  color: var(--c3c05e-muted);
}

.c3c05e-scene p strong { color: var(--c3c05e-text); }

/* --------------------------------------------------------------------------
   17. Mid-page CTA band
   -------------------------------------------------------------------------- */
.c3c05e-band {
  margin-top: 26px;
  border: 1px solid var(--c3c05e-accent-line);
  border-radius: var(--c3c05e-r-panel);
  overflow: hidden;
  background: var(--c3c05e-surface);
  box-shadow: var(--c3c05e-shadow-soft);
}

.c3c05e-band img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.c3c05e-bandbody {
  padding: 12px 14px 14px;
}

.c3c05e-bandbody h2 { font-size: 19px; margin-bottom: 6px; }

.c3c05e-bandbody p {
  color: var(--c3c05e-muted);
  font-size: 13.6px;
  margin-bottom: 12px;
}

.c3c05e-bandbody .c3c05e-btn { width: 100%; }

/* --------------------------------------------------------------------------
   18. Extended footer (home page only)
   -------------------------------------------------------------------------- */
.c3c05e-xfoot {
  margin-top: 30px;
  border-top: 1px solid var(--c3c05e-line-soft);
  padding-top: 18px;
}

.c3c05e-xfoothead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.c3c05e-xfoothead h2 { font-size: 19px; }

.c3c05e-xfoothead span {
  font-size: 11px;
  color: var(--c3c05e-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.c3c05e-xfootlead {
  color: var(--c3c05e-muted);
  font-size: 13.4px;
  margin-bottom: 14px;
}

/* page directory: horizontal shortcuts */
.c3c05e-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.c3c05e-dircard {
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: 12px 12px 7px 7px;
  background: rgba(47, 66, 86, 0.3);
  padding: 10px 11px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  transition: border-color 0.15s var(--c3c05e-ease), transform 0.12s var(--c3c05e-ease);
}

.c3c05e-dircard:active { transform: scale(0.97); }

.c3c05e-dircard:hover {
  border-color: var(--c3c05e-accent-line);
  text-decoration: none;
}

.c3c05e-dircard strong {
  color: var(--c3c05e-text);
  font-size: 13.2px;
  font-weight: 700;
  line-height: 1.25;
}

.c3c05e-dircard small {
  color: var(--c3c05e-faint);
  font-size: 11px;
  line-height: 1.35;
}

/* brand block */
.c3c05e-brandblock {
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: var(--c3c05e-r-panel);
  background: rgba(47, 66, 86, 0.26);
  padding: 13px 14px;
  margin-bottom: 18px;
}

.c3c05e-brandblock .c3c05e-brandrow { padding: 0 0 8px; min-height: 0; }

.c3c05e-brandblock p {
  color: var(--c3c05e-muted);
  font-size: 13.2px;
  margin: 0 0 12px;
}

.c3c05e-partners {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.c3c05e-partners::-webkit-scrollbar { display: none; }

.c3c05e-partners img {
  width: 64px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--c3c05e-line-soft);
  background: rgba(34, 48, 63, 0.7);
  padding: 4px;
  flex: 0 0 auto;
}

/* promotion shortcuts: 4 distinct actions */
.c3c05e-xpromos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.c3c05e-xpromo {
  min-height: 56px;
  padding: 10px 11px;
  border-radius: 13px 13px 8px 8px;
  border: 1px solid var(--c3c05e-accent-line);
  background: linear-gradient(170deg, rgba(255, 165, 0, 0.16), rgba(255, 165, 0, 0.05));
  color: var(--c3c05e-text);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  transition: transform 0.12s var(--c3c05e-ease), border-color 0.15s var(--c3c05e-ease);
}

.c3c05e-xpromo:active { transform: scale(0.97); }

.c3c05e-xpromo strong {
  font-size: 13.2px;
  font-weight: 800;
  color: var(--c3c05e-accent);
  line-height: 1.25;
}

.c3c05e-xpromo small {
  font-size: 11px;
  color: var(--c3c05e-muted);
  line-height: 1.3;
}

/* short factual disclaimer */
.c3c05e-xnote {
  border: 1px dashed var(--c3c05e-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--c3c05e-faint);
  background: rgba(34, 48, 63, 0.4);
}

/* --------------------------------------------------------------------------
   19. Common footer
   -------------------------------------------------------------------------- */
.c3c05e-foot {
  margin-top: 20px;
  padding: 14px 0 6px;
  border-top: 1px solid var(--c3c05e-line-soft);
  text-align: center;
}

.c3c05e-foot small {
  font-size: 11.5px;
  color: var(--c3c05e-faint);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   20. Bottom dock: full-width nav rail
   -------------------------------------------------------------------------- */
.c3c05e-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(24, 35, 47, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--c3c05e-line-soft);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom));
}

.c3c05e-dockbtn {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--c3c05e-faint);
  border-radius: 10px;
  transition: color 0.16s var(--c3c05e-ease), transform 0.12s var(--c3c05e-ease);
}

.c3c05e-dockbtn:active { transform: translateY(1px) scale(0.93); }

.c3c05e-dockbtn svg { display: block; }

.c3c05e-dockbtn span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* accent indicator: underline that slides in */
.c3c05e-dockbar {
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--c3c05e-accent);
  transition: width 0.26s var(--c3c05e-ease);
}

.c3c05e-dockbtn.c3c05e-is-live {
  color: var(--c3c05e-accent);
}

.c3c05e-dockbtn.c3c05e-is-live .c3c05e-dockbar {
  width: 24px;
}

/* --------------------------------------------------------------------------
   21. Reveal-on-scroll motion (light touch)
   -------------------------------------------------------------------------- */
.c3c05e-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--c3c05e-ease), transform 0.5s var(--c3c05e-ease);
}

.c3c05e-reveal.c3c05e-is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c3c05e-track,
  .c3c05e-railthumb,
  .c3c05e-dockbar,
  .c3c05e-reveal,
  .c3c05e-menulayer {
    transition: none;
  }
  .c3c05e-reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   22. Small screens hardening (320px)
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .c3c05e-hero h1 { font-size: 24px; }
  h2 { font-size: 19px; }
  .c3c05e-herocta { grid-template-columns: 1fr; }
  .c3c05e-dir { grid-template-columns: 1fr; }
  .c3c05e-xpromos { grid-template-columns: 1fr; }
  .c3c05e-facts { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .c3c05e-dockbtn span { font-size: 9px; }
  .c3c05e-wordmark strong { font-size: 17px; }
}

/* Help pages use distinct editorial modules while sharing the base tokens. */
.c3c05e-help-main,
.c3c05e-feature-main {
  padding-top: 116px;
}

.c3c05e-help-hero,
.c3c05e-feature-intro {
  padding: 18px 0 20px;
}

.c3c05e-help-kicker {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--c3c05e-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.c3c05e-help-hero h1,
.c3c05e-feature-intro h1 {
  font-size: 27px;
}

.c3c05e-help-hero p,
.c3c05e-feature-intro p {
  margin: 11px 0 14px;
  color: var(--c3c05e-muted);
  font-size: 14.5px;
}

.c3c05e-help-cta { width: 100%; }

.c3c05e-help-section {
  position: relative;
  margin-top: 18px;
  padding: 16px 14px 15px;
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(155deg, rgba(53, 73, 95, 0.74), rgba(35, 48, 63, 0.56));
  box-shadow: var(--c3c05e-shadow-soft);
}

.c3c05e-help-heading {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 8px;
}

.c3c05e-help-heading h2 { font-size: 20px; }

.c3c05e-help-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--c3c05e-accent-line);
  border-radius: 11px 11px 5px 5px;
  background: var(--c3c05e-accent-soft);
  color: var(--c3c05e-accent);
  font-size: 12px;
  font-weight: 800;
}

.c3c05e-help-answer {
  color: var(--c3c05e-muted);
  font-size: 13.7px;
  margin-bottom: 13px;
}

.c3c05e-help-answer strong { color: var(--c3c05e-text); }

.c3c05e-checklist {
  display: grid;
  gap: 7px;
  margin: 12px 0 14px;
  counter-reset: c3c05e-check;
}

.c3c05e-checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--c3c05e-muted);
  font-size: 13px;
}

.c3c05e-checklist b {
  color: var(--c3c05e-accent);
  font-size: 11px;
  padding-top: 2px;
}

.c3c05e-device-grid {
  display: grid;
  gap: 8px;
  margin: 12px 0 13px;
}

.c3c05e-device-grid article {
  padding: 11px 12px;
  border-left: 3px solid var(--c3c05e-accent);
  border-radius: 5px 12px 8px 5px;
  background: rgba(14, 21, 30, 0.24);
}

.c3c05e-device-grid h3,
.c3c05e-safety-notes h3 { margin-bottom: 3px; font-size: 14.5px; }
.c3c05e-device-grid p,
.c3c05e-safety-notes p { margin: 0; color: var(--c3c05e-muted); font-size: 13px; }

.c3c05e-help-inline { margin-top: 12px; color: var(--c3c05e-muted); font-size: 13.5px; }
.c3c05e-help-inline a { font-weight: 800; }

.c3c05e-safety-notes { display: grid; gap: 9px; margin: 12px 0 14px; }
.c3c05e-safety-notes article { display: grid; grid-template-columns: 30px 1fr; gap: 9px; }
.c3c05e-note-mark { color: var(--c3c05e-accent); font-weight: 800; font-size: 14px; }

.c3c05e-compare {
  margin-top: 12px;
  border: 1px solid var(--c3c05e-line-soft);
  border-radius: 12px 12px 7px 7px;
  overflow: hidden;
}

.c3c05e-compare-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--c3c05e-line-soft);
  color: var(--c3c05e-muted);
  font-size: 12.8px;
}

.c3c05e-compare-row:last-child { border-bottom: 0; }
.c3c05e-compare-row strong { color: var(--c3c05e-text); font-size: 12.8px; }
.c3c05e-compare-head { background: var(--c3c05e-accent-soft); color: var(--c3c05e-accent); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; }

.c3c05e-help-finish,
.c3c05e-feature-summary {
  margin-top: 20px;
  padding: 18px 14px;
  border: 1px solid var(--c3c05e-accent-line);
  border-radius: 18px 8px 18px 8px;
  background: radial-gradient(100% 130% at 100% 0%, rgba(255, 165, 0, 0.18), transparent 64%), rgba(47, 66, 86, 0.54);
}

.c3c05e-help-finish h2,
.c3c05e-feature-summary h2 { font-size: 20px; margin-bottom: 7px; }
.c3c05e-help-finish p,
.c3c05e-feature-summary p { margin-bottom: 13px; color: var(--c3c05e-muted); font-size: 13.6px; }

/* Features guide: a map, issue drawer, and verification flow create a distinct rhythm. */
.c3c05e-feature-orbit {
  display: flex;
  gap: 7px;
  margin-bottom: 12px;
}
.c3c05e-feature-orbit span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 22px;
  border-bottom: 2px solid var(--c3c05e-accent);
  color: var(--c3c05e-accent);
  font-size: 10px;
  font-weight: 800;
}

.c3c05e-feature-map,
.c3c05e-feature-issue,
.c3c05e-feature-verify,
.c3c05e-feature-next {
  margin-top: 17px;
  padding: 15px 13px;
  border-top: 2px solid var(--c3c05e-accent);
  border-right: 1px solid var(--c3c05e-line-soft);
  border-bottom: 1px solid var(--c3c05e-line-soft);
  border-left: 1px solid var(--c3c05e-line-soft);
  border-radius: 6px 16px 10px 10px;
  background: rgba(47, 66, 86, 0.37);
}

.c3c05e-feature-maphead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.c3c05e-feature-maphead h2 { font-size: 19px; }
.c3c05e-feature-maphead span { flex: 0 0 auto; color: var(--c3c05e-accent); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.c3c05e-feature-map > p,
.c3c05e-feature-issue > p,
.c3c05e-feature-verify > p,
.c3c05e-feature-next > p { margin-bottom: 12px; color: var(--c3c05e-muted); font-size: 13.4px; }

.c3c05e-mapline { display: grid; gap: 7px; margin: 13px 0 14px; }
.c3c05e-mapline article { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--c3c05e-line-soft); }
.c3c05e-mapline article:last-child { border-bottom: 0; }
.c3c05e-mapline article > span { grid-row: span 2; color: var(--c3c05e-accent); font-size: 11px; font-weight: 800; }
.c3c05e-mapline h3 { font-size: 14px; }
.c3c05e-mapline p { margin: 1px 0 0; color: var(--c3c05e-muted); font-size: 12.8px; }

.c3c05e-issue-list { display: grid; gap: 7px; margin: 13px 0 14px; }
.c3c05e-issue-list details { border: 1px solid var(--c3c05e-line-soft); border-radius: 10px; background: rgba(14, 21, 30, 0.2); }
.c3c05e-issue-list summary { display: grid; grid-template-columns: 29px 1fr; gap: 7px; align-items: start; min-height: 44px; padding: 10px 11px; cursor: pointer; color: var(--c3c05e-text); font-size: 13px; font-weight: 700; list-style: none; }
.c3c05e-issue-list summary::-webkit-details-marker { display: none; }
.c3c05e-issue-list summary span { color: var(--c3c05e-accent); font-size: 11px; }
.c3c05e-issue-list details p { margin: 0; padding: 0 11px 11px 47px; color: var(--c3c05e-muted); font-size: 12.8px; }

.c3c05e-verify-flow { display: grid; gap: 8px; margin: 13px 0 14px; }
.c3c05e-verify-step { display: grid; grid-template-columns: 105px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--c3c05e-line-soft); font-size: 12.8px; }
.c3c05e-verify-step:last-child { border-bottom: 0; }
.c3c05e-verify-step b { color: var(--c3c05e-accent); }
.c3c05e-verify-step span { color: var(--c3c05e-muted); }

.c3c05e-next-rail { display: grid; gap: 8px; margin-top: 13px; }
.c3c05e-next-rail a,
.c3c05e-next-rail button { min-height: 68px; display: grid; grid-template-columns: 82px 1fr; column-gap: 8px; align-items: baseline; padding: 10px 11px; border: 1px solid var(--c3c05e-line-soft); border-radius: 11px 11px 6px 6px; background: rgba(14, 21, 30, 0.2); text-align: left; }
.c3c05e-next-rail a:hover { text-decoration: none; border-color: var(--c3c05e-accent-line); }
.c3c05e-next-rail span { grid-row: span 2; color: var(--c3c05e-accent); font-size: 10px; font-weight: 800; letter-spacing: 0.07em; }
.c3c05e-next-rail strong { color: var(--c3c05e-text); font-size: 13.5px; }
.c3c05e-next-rail small { color: var(--c3c05e-muted); font-size: 12px; }

/* landscape phones keep the phone canvas readable */
@media (max-height: 430px) and (orientation: landscape) {
  .c3c05e-rail { top: 96px; }
  .c3c05e-menu.c3c05e-is-open { max-height: calc(100vh - 106px); }
}
