/* ====================================================================
   Iran Standing - chrome stylesheet (css/dynamic-e9e237-chrome.css)
   Class prefix : layer9e237-
   Canvas       : 320-430px phone-first, centered shell on wide screens
   Palette      : #273746 canvas / #00695C teal / #4169E1 royal
                  #6495ED cornflower / #D2B48C tan / #A9A9A9 muted gray
   Shape system : pill buttons + square-ish cards, light floating tiles
   ==================================================================== */

:root {
  --layer9e237-page: #141b22;
  --layer9e237-canvas: #273746;
  --layer9e237-panel: #2e4053;
  --layer9e237-panel-deep: #22303d;
  --layer9e237-line: rgba(169, 169, 169, 0.22);
  --layer9e237-line-strong: rgba(169, 169, 169, 0.38);
  --layer9e237-text: #eaf0f6;
  --layer9e237-text-soft: #c7d0da;
  --layer9e237-muted: #a9a9a9;
  --layer9e237-teal: #00695c;
  --layer9e237-teal-hi: #0b8474;
  --layer9e237-royal: #4169e1;
  --layer9e237-corn: #6495ed;
  --layer9e237-tan: #d2b48c;
  --layer9e237-radius-card: 6px;
  --layer9e237-radius-btn: 999px;
  --layer9e237-font-head: 'Chakra Petch', 'Segoe UI', Arial, sans-serif;
  --layer9e237-font-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  --layer9e237-topbar-h: 58px;
  --layer9e237-bnav-h: 64px;
  --layer9e237-shell-w: 480px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--layer9e237-page);
  color: var(--layer9e237-text);
  font-family: var(--layer9e237-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
}

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

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

a { color: var(--layer9e237-corn); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--layer9e237-corn);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --- centered phone shell ------------------------------------------ */

.layer9e237-shell {
  position: relative;
  width: 100%;
  max-width: var(--layer9e237-shell-w);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--layer9e237-canvas);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

.layer9e237-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 90;
  background: var(--layer9e237-royal);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--layer9e237-radius-btn);
  font-size: 13px;
  transition: top 0.15s ease;
}
.layer9e237-skip:focus { top: 8px; }

/* --- compact brand bar --------------------------------------------- */

.layer9e237-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layer9e237-shell-w);
  height: var(--layer9e237-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(31, 42, 53, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--layer9e237-line);
}

.layer9e237-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  color: var(--layer9e237-text);
  margin-right: auto;
}

.layer9e237-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(212, 180, 140, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.layer9e237-brand-name {
  font-family: var(--layer9e237-font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.layer9e237-brand-name em {
  font-style: normal;
  color: var(--layer9e237-tan);
}

/* staggered CTA pair: primary wide, ghost narrow */
.layer9e237-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--layer9e237-font-head);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--layer9e237-radius-btn);
  min-height: 44px;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.layer9e237-btn:active { transform: translateY(2px); }

.layer9e237-btn-primary {
  background: linear-gradient(140deg, var(--layer9e237-teal-hi), var(--layer9e237-teal) 58%, #045247);
  color: #f4fbf9;
  padding: 9px 20px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(65, 105, 225, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.layer9e237-btn-primary:hover {
  box-shadow: 0 8px 20px rgba(65, 105, 225, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.layer9e237-btn-ghost {
  border: 1.5px solid var(--layer9e237-corn);
  color: #dce6ff;
  background: rgba(65, 105, 225, 0.1);
  padding: 7px 14px;
  font-size: 13px;
}
.layer9e237-btn-ghost:hover { background: rgba(65, 105, 225, 0.2); text-decoration: none; }

.layer9e237-btn-lg { padding: 12px 28px; font-size: 15px; }
.layer9e237-btn-sm { padding: 6px 13px; font-size: 12.5px; min-height: 40px; }

/* menu toggle with morphing icon */
.layer9e237-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid var(--layer9e237-line-strong);
  background: rgba(170, 190, 210, 0.06);
}
.layer9e237-menubtn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--layer9e237-text-soft);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.layer9e237-menubtn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.layer9e237-menubtn.is-open span:nth-child(2) { opacity: 0; }
.layer9e237-menubtn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- slide-up route panel ------------------------------------------ */

.layer9e237-routeveil {
  position: fixed;
  inset: 0;
  z-index: 64;
  background: rgba(10, 15, 20, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.layer9e237-routeveil.is-on { opacity: 1; visibility: visible; }

.layer9e237-routepanel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 102%);
  width: 100%;
  max-width: var(--layer9e237-shell-w);
  z-index: 65;
  max-height: 74vh;
  overflow-y: auto;
  background: var(--layer9e237-panel-deep);
  border-top: 1px solid rgba(212, 180, 140, 0.35);
  border-radius: 18px 18px 0 0;
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
  transition: transform 0.26s ease;
}
.layer9e237-routepanel.is-open { transform: translate(-50%, 0); }

.layer9e237-routepanel-handle {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--layer9e237-line-strong);
  margin: 0 auto 10px;
}

.layer9e237-routegroup-tag {
  font-family: var(--layer9e237-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--layer9e237-tan);
  margin: 12px 4px 4px;
}
.layer9e237-routegroup-tag:first-of-type { margin-top: 2px; }

.layer9e237-routelist { display: block; margin: 0; padding: 0; list-style: none; }

.layer9e237-routelink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--layer9e237-text);
  font-size: 14.5px;
  border: 1px solid transparent;
}
.layer9e237-routelink:hover {
  background: rgba(100, 149, 237, 0.1);
  text-decoration: none;
  border-color: rgba(100, 149, 237, 0.28);
}
.layer9e237-routelink .layer9e237-routearrow {
  color: var(--layer9e237-muted);
  font-size: 16px;
  transition: transform 0.15s ease;
}
.layer9e237-routelink:hover .layer9e237-routearrow { transform: translateX(3px); color: var(--layer9e237-corn); }

.layer9e237-routeclose {
  margin-top: 12px;
  width: 100%;
  min-height: 46px;
  border-radius: var(--layer9e237-radius-btn);
  border: 1.5px solid var(--layer9e237-line-strong);
  color: var(--layer9e237-text-soft);
  font-family: var(--layer9e237-font-head);
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* --- main column ---------------------------------------------------- */

.layer9e237-main {
  padding: calc(var(--layer9e237-topbar-h) + 8px) 12px
           calc(var(--layer9e237-bnav-h) + 34px + env(safe-area-inset-bottom));
}

.layer9e237-section { margin-top: 26px; }

/* hero */
.layer9e237-hero-h1 {
  font-family: var(--layer9e237-font-head);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.015em;
  margin: 6px 0 10px;
  color: #f4f7fb;
}
.layer9e237-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--layer9e237-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--layer9e237-tan);
  border: 1px solid rgba(212, 180, 140, 0.4);
  border-radius: var(--layer9e237-radius-btn);
  padding: 4px 12px;
}
.layer9e237-hero-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--layer9e237-teal-hi);
  box-shadow: 0 0 0 3px rgba(11, 132, 116, 0.25);
  font-style: normal;
}

.layer9e237-lead {
  margin: 8px 0;
  color: var(--layer9e237-text-soft);
  font-size: 14.5px;
}

.layer9e237-statrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 4px;
}
.layer9e237-stat {
  background: var(--layer9e237-panel);
  border: 1px solid var(--layer9e237-line);
  border-radius: var(--layer9e237-radius-card);
  padding: 9px 10px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.layer9e237-stat b {
  font-family: var(--layer9e237-font-head);
  font-size: 16px;
  color: var(--layer9e237-tan);
  line-height: 1.2;
}
.layer9e237-stat span { font-size: 11.5px; color: var(--layer9e237-muted); }

/* --- carousel -------------------------------------------------------- */

.layer9e237-caro { margin-top: 18px; }

.layer9e237-caro-vp {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--layer9e237-line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.layer9e237-track {
  display: flex;
  width: 100%;
  transition: transform 0.42s ease;
}

.layer9e237-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 2.08 / 1;
}
.layer9e237-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layer9e237-slide figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(20, 27, 34, 0) 0%, rgba(20, 27, 34, 0.86) 62%);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.layer9e237-slide-k {
  margin: 0;
  font-family: var(--layer9e237-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--layer9e237-tan);
  text-transform: uppercase;
}
.layer9e237-slide-t {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #f2f6fa;
  line-height: 1.35;
}
.layer9e237-slide .layer9e237-btn { align-self: flex-start; margin-top: 4px; }

.layer9e237-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}
.layer9e237-dot {
  width: 44px;
  height: 26px;
  position: relative;
  border-radius: var(--layer9e237-radius-btn);
}
.layer9e237-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--layer9e237-line-strong);
  transition: transform 0.18s ease, background 0.18s ease;
}
.layer9e237-dot.is-on::after {
  background: var(--layer9e237-tan);
  transform: translate(-50%, -50%) scale(1.35);
}

/* scenario chip strip */
.layer9e237-chipstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-top: 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.layer9e237-chipstrip::-webkit-scrollbar { display: none; }
.layer9e237-chip {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--layer9e237-radius-btn);
  border: 1px solid var(--layer9e237-line-strong);
  background: rgba(170, 190, 210, 0.05);
  color: var(--layer9e237-text-soft);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.layer9e237-chip:hover { border-color: var(--layer9e237-corn); color: #dce6ff; text-decoration: none; }
.layer9e237-chip b { color: var(--layer9e237-tan); font-weight: 600; }

/* --- category blocks ------------------------------------------------- */

.layer9e237-eyebrow {
  margin: 0 0 3px;
  font-family: var(--layer9e237-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--layer9e237-corn);
}
.layer9e237-eyebrow.alt { color: var(--layer9e237-teal-hi); }

.layer9e237-h2 {
  font-family: var(--layer9e237-font-head);
  font-size: 18.5px;
  line-height: 1.34;
  font-weight: 700;
  color: #f3f6fa;
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.layer9e237-cathead {
  padding: 12px;
  border-left: 3px solid var(--layer9e237-teal-hi);
  background: linear-gradient(90deg, rgba(0, 105, 92, 0.16), rgba(0, 105, 92, 0.02));
  border-radius: 0 var(--layer9e237-radius-card) var(--layer9e237-radius-card) 0;
  margin-bottom: 12px;
}
.layer9e237-cathead.tone-royal { border-left-color: var(--layer9e237-royal); background: linear-gradient(90deg, rgba(65, 105, 225, 0.18), rgba(65, 105, 225, 0.02)); }
.layer9e237-cathead.tone-tan { border-left-color: var(--layer9e237-tan); background: linear-gradient(90deg, rgba(212, 180, 140, 0.14), rgba(212, 180, 140, 0.02)); }

.layer9e237-sublinks {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--layer9e237-muted);
}
.layer9e237-sublinks a { border-bottom: 1px dashed rgba(100, 149, 237, 0.5); }

/* --- game grid: light floating tiles -------------------------------- */

.layer9e237-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

.layer9e237-tile {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  text-align: center;
}
.layer9e237-tile-art {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--layer9e237-radius-card);
  overflow: hidden;
  border: 1px solid var(--layer9e237-line);
  background: var(--layer9e237-panel);
  box-shadow: 0 6px 14px rgba(8, 12, 16, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.layer9e237-tile-art::after {
  /* light floating sheen layer */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}
.layer9e237-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.16s ease;
}
.layer9e237-tile:hover .layer9e237-tile-art,
.layer9e237-tile:focus-visible .layer9e237-tile-art {
  border-color: rgba(212, 180, 140, 0.55);
  box-shadow: 0 9px 18px rgba(8, 12, 16, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.layer9e237-tile:active .layer9e237-tile-art { transform: translateY(2px); }
.layer9e237-tile:active .layer9e237-tile-art img { transform: scale(0.94); }

.layer9e237-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--layer9e237-text-soft);
  overflow-wrap: anywhere;
  min-height: 27px;
}

/* --- highlight rows (category traits) ------------------------------- */

.layer9e237-hl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.layer9e237-hlrow {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  background: var(--layer9e237-panel);
  border: 1px solid var(--layer9e237-line);
  border-radius: var(--layer9e237-radius-card);
}
.layer9e237-hlic {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--layer9e237-font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--layer9e237-tan);
  border: 1px dashed rgba(212, 180, 140, 0.5);
  background: rgba(212, 180, 140, 0.08);
  transition: transform 0.15s ease;
}
.layer9e237-hlrow:hover .layer9e237-hlic { transform: scale(1.08) rotate(-2deg); }
.layer9e237-hlbody h3 {
  margin: 1px 0 3px;
  font-family: var(--layer9e237-font-head);
  font-size: 14.5px;
  color: #f1f5f9;
}
.layer9e237-hlbody p { margin: 0 0 4px; font-size: 13px; color: var(--layer9e237-text-soft); }
.layer9e237-hltag {
  display: inline-block;
  font-size: 11px;
  color: var(--layer9e237-corn);
  border: 1px solid rgba(100, 149, 237, 0.4);
  border-radius: var(--layer9e237-radius-btn);
  padding: 2px 9px;
  margin-top: 2px;
}

/* --- winners wall ---------------------------------------------------- */

.layer9e237-win {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.layer9e237-winrow {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--layer9e237-panel-deep);
  border: 1px solid var(--layer9e237-line);
  border-radius: var(--layer9e237-radius-card);
}
.layer9e237-winava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--layer9e237-font-head);
  font-weight: 700;
  color: #20272e;
  background: linear-gradient(140deg, #e6c79c, var(--layer9e237-tan));
}
.layer9e237-winmeta { min-width: 0; }
.layer9e237-winwho {
  font-size: 13px;
  font-weight: 600;
  color: var(--layer9e237-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.layer9e237-wingame { font-size: 11.5px; color: var(--layer9e237-muted); }
.layer9e237-winamt {
  text-align: right;
  font-family: var(--layer9e237-font-head);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--layer9e237-tan);
  white-space: nowrap;
}
.layer9e237-winamt small {
  display: block;
  font-family: var(--layer9e237-font-body);
  font-weight: 400;
  font-size: 10.5px;
  color: var(--layer9e237-muted);
}
.layer9e237-winnote {
  margin: 10px 2px 0;
  font-size: 12px;
  color: var(--layer9e237-muted);
  border-top: 1px dashed var(--layer9e237-line-strong);
  padding-top: 8px;
}

/* --- entity flow ------------------------------------------------------ */

.layer9e237-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 4px;
}
.layer9e237-flowstep {
  flex: 1 1 auto;
  text-align: center;
  font-family: var(--layer9e237-font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--layer9e237-text);
  background: var(--layer9e237-panel);
  border: 1px solid var(--layer9e237-line-strong);
  border-radius: var(--layer9e237-radius-card);
  padding: 8px 9px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layer9e237-flowstep.hot { border-color: rgba(212, 180, 140, 0.55); color: var(--layer9e237-tan); }
.layer9e237-flowarrow {
  color: var(--layer9e237-corn);
  font-family: var(--layer9e237-font-head);
  font-size: 13px;
  flex: 0 0 auto;
}
.layer9e237-flownote {
  font-size: 13px;
  color: var(--layer9e237-text-soft);
  margin: 8px 0 0;
  padding-left: 10px;
  border-left: 2px solid rgba(100, 149, 237, 0.45);
}

/* --- use-case cards ---------------------------------------------------- */

.layer9e237-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.layer9e237-case {
  background: var(--layer9e237-panel);
  border: 1px solid var(--layer9e237-line);
  border-top: 3px solid var(--layer9e237-corn);
  border-radius: var(--layer9e237-radius-card);
  padding: 12px;
}
.layer9e237-case:nth-child(even) { border-top-color: var(--layer9e237-teal-hi); }
.layer9e237-case h3 {
  margin: 0 0 4px;
  font-family: var(--layer9e237-font-head);
  font-size: 14px;
  color: #f1f5f9;
}
.layer9e237-case p { margin: 0 0 6px; font-size: 13px; color: var(--layer9e237-text-soft); }
.layer9e237-case-go {
  font-size: 12.5px;
  font-weight: 600;
}

/* --- extended footer (home only) --------------------------------------- */

.layer9e237-xfoot {
  margin-top: 30px;
  border-top: 1px solid var(--layer9e237-line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.layer9e237-xhead {
  font-family: var(--layer9e237-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--layer9e237-tan);
  margin: 0 0 9px;
}

.layer9e237-dirgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.layer9e237-dirlink {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--layer9e237-line);
  border-radius: var(--layer9e237-radius-card);
  background: rgba(170, 190, 210, 0.04);
  color: var(--layer9e237-text-soft);
  font-size: 12.5px;
  line-height: 1.3;
}
.layer9e237-dirlink:hover {
  border-color: rgba(100, 149, 237, 0.5);
  color: #dce6ff;
  text-decoration: none;
}

.layer9e237-brandblurb {
  margin: 0;
  font-size: 13px;
  color: var(--layer9e237-text-soft);
}

.layer9e237-promolist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.layer9e237-promoact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  text-align: left;
  border-radius: var(--layer9e237-radius-btn);
  border: 1.5px solid rgba(0, 105, 92, 0.75);
  background: linear-gradient(120deg, rgba(0, 105, 92, 0.34), rgba(65, 105, 225, 0.16));
  color: #eef6f4;
  font-size: 13.5px;
  font-weight: 500;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.layer9e237-promoact:hover { border-color: var(--layer9e237-tan); }
.layer9e237-promoact:active { transform: translateY(2px); }
.layer9e237-promoact b { font-family: var(--layer9e237-font-head); font-size: 12px; color: var(--layer9e237-tan); letter-spacing: 0.06em; white-space: nowrap; }

.layer9e237-disclaimer {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed var(--layer9e237-line-strong);
  border-radius: var(--layer9e237-radius-card);
  font-size: 12px;
  color: var(--layer9e237-muted);
}

/* --- common page footer ----------------------------------------------- */

.layer9e237-pagefoot {
  text-align: center;
  padding: 16px 0 4px;
  border-top: 1px solid var(--layer9e237-line);
  font-size: 12px;
  color: var(--layer9e237-muted);
}
.layer9e237-pagefoot b { color: var(--layer9e237-text-soft); font-weight: 600; }

/* --- outlined bottom function bar -------------------------------------- */

.layer9e237-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--layer9e237-shell-w);
  z-index: 62;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--layer9e237-bnav-h) + env(safe-area-inset-bottom));
  padding: 0 6px env(safe-area-inset-bottom);
  background: rgba(24, 33, 42, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--layer9e237-line-strong);
}

.layer9e237-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--layer9e237-bnav-h);
  color: var(--layer9e237-muted);
  text-decoration: none;
  transition: color 0.16s ease;
}
.layer9e237-bnav-item:hover { color: var(--layer9e237-text-soft); text-decoration: none; }

.layer9e237-bnav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--layer9e237-tan);
  transition: transform 0.18s ease;
}
.layer9e237-bnav-item.is-active::before { transform: translateX(-50%) scaleX(1); }

.layer9e237-bnav-ic {
  width: 23px;
  height: 23px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease, fill 0.18s ease;
}
.layer9e237-bnav-item.is-active { color: var(--layer9e237-corn); }
.layer9e237-bnav-item.is-active .layer9e237-bnav-ic {
  fill: rgba(100, 149, 237, 0.3);
  transform: translateY(-1px) scale(1.08);
}
.layer9e237-bnav-item:active .layer9e237-bnav-ic { transform: scale(0.9); }

.layer9e237-bnav-lb {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* --- width ladder -------------------------------------------------------- */

@media (min-width: 375px) {
  .layer9e237-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 8px; }
  .layer9e237-tile-name { font-size: 11px; }
  .layer9e237-hero-h1 { font-size: 23px; }
  .layer9e237-h2 { font-size: 19.5px; }
  .layer9e237-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layer9e237-main { padding-left: 14px; padding-right: 14px; }
}

@media (min-width: 430px) {
  .layer9e237-main { padding-left: 18px; padding-right: 18px; }
  .layer9e237-hero-h1 { font-size: 25px; }
  .layer9e237-h2 { font-size: 21px; }
  .layer9e237-tile-name { font-size: 11.5px; }
  .layer9e237-slide figcaption { padding: 30px 16px 12px; }
  .layer9e237-slide-t { font-size: 15px; }
  .layer9e237-dirgrid { gap: 8px; }
  .layer9e237-statrow { gap: 10px; }
  .layer9e237-stat b { font-size: 17px; }
}

.layer9e237-help-intro,
.layer9e237-guidelead { padding: 10px 12px 15px; border-bottom: 1px solid var(--layer9e237-line); }
.layer9e237-help-intro .layer9e237-hero-h1,
.layer9e237-guidelead .layer9e237-hero-h1 { margin-top: 10px; }
.layer9e237-answerlist { display: flex; flex-direction: column; gap: 9px; margin: 14px 0 0; }
.layer9e237-answer { border: 1px solid var(--layer9e237-line); border-left: 3px solid var(--layer9e237-corn); border-radius: 5px; background: var(--layer9e237-panel); padding: 11px 12px 12px; }
.layer9e237-answer:nth-child(3n) { border-left-color: var(--layer9e237-teal-hi); }
.layer9e237-answer h3 { margin: 0 0 4px; font-family: var(--layer9e237-font-head); font-size: 14px; line-height: 1.35; color: #f4f7fb; }
.layer9e237-answer p { margin: 0; color: var(--layer9e237-text-soft); font-size: 13px; }
.layer9e237-prompt { display: inline-flex; align-items: center; min-height: 44px; margin-top: 7px; color: var(--layer9e237-corn); font-size: 12.5px; font-weight: 600; }
.layer9e237-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px 0 0; padding: 2px 0 6px; }
.layer9e237-rail::-webkit-scrollbar { display: none; }
.layer9e237-rail a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--layer9e237-line-strong); border-radius: 4px; background: rgba(65,105,225,.1); font-size: 12px; }
.layer9e237-checkpanel { margin-top: 14px; padding: 13px; background: var(--layer9e237-panel-deep); border: 1px solid var(--layer9e237-line); border-radius: 6px; }
.layer9e237-checkpanel ul,
.layer9e237-checkpanel ol { margin: 8px 0 0; padding-left: 20px; color: var(--layer9e237-text-soft); font-size: 13px; }
.layer9e237-checkpanel li { margin: 5px 0; }
.layer9e237-entityline { display: grid; gap: 7px; margin-top: 12px; }
.layer9e237-entityline div { padding: 10px; border-left: 2px solid var(--layer9e237-tan); background: rgba(212,180,140,.08); color: var(--layer9e237-text-soft); font-size: 13px; }
.layer9e237-help-cta,
.layer9e237-guide-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.layer9e237-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 14px 0 2px; }
.layer9e237-progress span { min-height: 36px; display: flex; align-items: center; justify-content: center; border-top: 2px solid var(--layer9e237-teal-hi); color: var(--layer9e237-text-soft); font-family: var(--layer9e237-font-head); font-size: 10.5px; text-align: center; }
.layer9e237-stepstack { position: relative; margin-top: 13px; padding-left: 31px; }
.layer9e237-stepstack::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: var(--layer9e237-line-strong); }
.layer9e237-step { position: relative; margin-bottom: 10px; padding: 12px 12px 13px; border: 1px solid var(--layer9e237-line); border-radius: 4px; background: var(--layer9e237-panel); }
.layer9e237-step::before { content: attr(data-step); position: absolute; left: -31px; top: 11px; width: 23px; height: 23px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--layer9e237-tan); color: #20272e; font-family: var(--layer9e237-font-head); font-weight: 700; font-size: 11px; }
.layer9e237-step h3 { margin: 0 0 4px; font-family: var(--layer9e237-font-head); font-size: 14px; color: #f3f6fa; }
.layer9e237-step p { margin: 0; color: var(--layer9e237-text-soft); font-size: 13px; }
.layer9e237-terms { display: grid; gap: 7px; margin-top: 12px; }
.layer9e237-term { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 9px; padding: 9px 10px; border-bottom: 1px solid var(--layer9e237-line); }
.layer9e237-term b { color: var(--layer9e237-tan); font-family: var(--layer9e237-font-head); font-size: 12px; }
.layer9e237-term span { color: var(--layer9e237-text-soft); font-size: 12.5px; }
.layer9e237-decision { margin-top: 13px; padding: 13px; border: 1px solid rgba(100,149,237,.42); background: linear-gradient(135deg, rgba(65,105,225,.14), rgba(0,105,92,.13)); border-radius: 6px; }
.layer9e237-decision h3 { margin: 0 0 6px; font-family: var(--layer9e237-font-head); font-size: 15px; color: #f4f7fb; }
.layer9e237-decision ul { margin: 0; padding-left: 20px; color: var(--layer9e237-text-soft); font-size: 13px; }
.layer9e237-decision li { margin: 5px 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .layer9e237-track { transition: none; }
}
