/* ==========================================================================
   Dayan Qianji Official Website Design System v5.1 (Silky Craft Edition)
   - 100% Pure Sans-Serif CJK Typography (Zero Songti / Serif anywhere)
   - Native Semibold 700 Weight (Zero macOS PingFang Faux-Bold Blur)
   - Borderless Tonal Surfaces & Multi-Layered Ambient Shadows (Zero Wireframes)
   - 60fps/120fps GPU-Composited Motion, 2D Gliding Tabs & Silky Popovers
   ========================================================================== */

:root {
  --navy-deep: #0A1628;
  --navy: #11233D;
  --navy-soft: #1D375C;
  --paper: #F6F8FB;
  --paper-alt: #EEF2F7;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: rgba(15, 23, 42, 0.08);
  --line-soft: rgba(15, 23, 42, 0.05);
  --gold: #9A6B16;
  --gold-light: #F6DC9F;
  --gold-bg: #FEF9EC;
  --red: #DF203B;
  --red-hover: #BE1830;
  --red-bg: #FFF1F3;
  --teal: #0D7A6F;
  --teal-bg: #ECFDF7;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, "PingFang SC", "Hiragino Sans GB", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 22px -6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 10px -2px rgba(15, 23, 42, 0.05), 0 18px 38px -8px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 12px 28px -6px rgba(10, 22, 40, 0.12), 0 32px 64px -12px rgba(10, 22, 40, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body.modal-open { overflow: hidden; }

h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
.nowrap { white-space: nowrap; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; font-family: var(--sans); color: inherit; }
code, kbd, samp, pre { font-family: var(--mono); }
button { cursor: pointer; border: 0; background: none; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

:is(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -120px; left: 16px; z-index: 200;
  background: var(--navy-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { top: 14px; }

.wrap {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

/* ==========================================================================
   60fps Motion Keyframes & Scroll Reveal Choreography
   ========================================================================== */
@keyframes contentSoftFade {
  from { opacity: 0.28; transform: translate3d(0, 4px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes modalSpringIn {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.978); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes popMenuIn {
  from { opacity: 0; transform: translate3d(0, -4px, 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.panel-anim {
  animation: contentSoftFade 220ms var(--ease-out) both;
}

.reveal-ready {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal-ready.reveal-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   Typography & Pill Eyebrows (Zero Monospace/Songti!)
   ========================================================================== */
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(223, 32, 59, 0.14);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-size: clamp(26px, 2.8vw, 35px);
  font-weight: 700;
  max-width: 22em;
}
.sec-head p.sec-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 32em;
  margin-top: 8px;
}

/* ==========================================================================
   Tactile Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  transition: transform 220ms var(--ease-out), background-color 200ms ease, box-shadow 240ms var(--ease-out), border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translate3d(0, -1.5px, 0); }
.btn:active { transform: translate3d(0, 0, 0) scale(0.98); }

.btn-primary {
  background: linear-gradient(180deg, #EA2845 0%, #D41935 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(223, 32, 59, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #DF203B 0%, #BD152E 100%);
  box-shadow: 0 8px 22px rgba(223, 32, 59, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-navy {
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.14);
}
.btn-navy:hover {
  background: var(--navy-soft);
  box-shadow: 0 8px 20px rgba(10, 22, 40, 0.22);
}

.btn-outline {
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  border-color: var(--navy-deep);
  background: var(--paper);
  color: var(--navy-deep);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  border-color: rgba(246, 220, 159, 0.65);
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.11);
}

.btn-sm {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 13px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-deep);
  padding: 4px 0;
  min-height: 34px;
  transition: color 180ms ease, transform 200ms var(--ease-out);
}
.arrow-link:hover { color: var(--red); transform: translate3d(2px, 0, 0); }

/* ==========================================================================
   Custom Silky Select Component (Replaces Ugly Native OS <select>)
   ========================================================================== */
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 38px !important;
  cursor: pointer;
}

.dsel-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}
.dsel-inline-row .dsel-wrap {
  width: auto;
  min-width: 204px;
}
.dsel-native {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
}
.dsel-btn {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  box-shadow: var(--shadow-xs);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.dsel-btn:hover {
  border-color: rgba(15, 23, 42, 0.24);
  background: #FFFFFF;
}
.dsel-wrap.open .dsel-btn {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(29, 55, 92, 0.10);
}
.dsel-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dsel-chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms var(--ease-out), color 180ms ease;
}
.dsel-wrap.open .dsel-chev {
  transform: rotate(180deg);
  color: var(--navy-deep);
}
.dsel-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  min-width: min(300px, 86vw);
  max-height: 290px;
  overflow-y: auto;
  z-index: 150;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 18px 44px -8px rgba(15, 23, 42, 0.20), 0 4px 12px rgba(15, 23, 42, 0.06);
  animation: popMenuIn 180ms var(--ease-spring) both;
}
.dsel-menu.align-right,
.dsel-inline-row .dsel-menu {
  left: auto;
  right: 0;
}
.dsel-opt {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13.8px;
  font-weight: 550;
  line-height: 1.42;
  color: var(--ink-2);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background-color 140ms ease, color 140ms ease;
}
.dsel-opt:hover,
.dsel-opt.is-focused {
  background: var(--paper);
  color: var(--ink);
}
.dsel-opt[aria-selected="true"] {
  background: rgba(17, 35, 61, 0.07);
  color: var(--navy-deep);
  font-weight: 700;
}
.dsel-check {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  flex-shrink: 0;
}
.dsel-opt[aria-selected="true"] .dsel-check { opacity: 1; }

/* Open upward when inside bottom checkout bar */
.checkout-section .dsel-menu {
  top: auto;
  bottom: calc(100% + 6px);
}

/* Dark context custom select (in dark footer checkout) */
.lead-express-card:not(.light) .dsel-btn {
  background: rgba(10, 22, 40, 0.62);
  border-color: rgba(255, 255, 255, 0.18);
  color: #F8FAFC;
}
.lead-express-card:not(.light) .dsel-chev { color: #94A3B8; }
.lead-express-card:not(.light) .dsel-wrap.open .dsel-btn {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(246, 220, 159, 0.15);
}

/* ==========================================================================
   Header & Frosted Glass Navigation
   ========================================================================== */
.top-promo-strip {
  background: #060E1B;
  color: #CBD5E1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.top-promo-inner {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
  min-height: 36px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.eco-tags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.eco-pill {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.top-promo-cta {
  background: rgba(246, 220, 159, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(246, 220, 159, 0.28);
  padding: 3px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}
.top-promo-cta:hover {
  background: rgba(246, 220, 159, 0.22);
  border-color: rgba(246, 220, 159, 0.55);
  color: #FFFFFF;
  transform: translate3d(1px, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.header-inner {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  flex-shrink: 0;
}
.brand-link img { width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-size: 19px; font-weight: 700; letter-spacing: 0.02em; color: var(--navy-deep); }
.brand-sub { font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 3px; font-weight: 500; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.desktop-nav a {
  padding: 7px 13px;
  border-radius: 999px;
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}
.desktop-nav a:hover {
  color: var(--navy-deep);
  background: rgba(15, 23, 42, 0.04);
}
.desktop-nav a[aria-current="page"] {
  color: var(--navy-deep);
  background: rgba(15, 23, 42, 0.06);
  font-weight: 700;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lang-pill {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: all 180ms ease;
}
.lang-pill:hover { border-color: var(--navy-deep); color: var(--navy-deep); background: var(--paper); }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy-deep);
  background: var(--surface);
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.mobile-drawer {
  position: fixed;
  top: 66px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 18px 16px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2px;
  z-index: 120;
  animation: popMenuIn 200ms var(--ease-spring) both;
}
.mobile-drawer a, .mobile-drawer button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  width: 100%;
}
.mobile-drawer a:last-child { border-bottom: 0; }

/* ==========================================================================
   Homepage Section 1: Luminous Midnight Hero + Interactive Phone Stage
   ========================================================================== */
.hero-v2 {
  background:
    radial-gradient(800px 420px at 82% 16%, rgba(56, 118, 208, 0.24) 0%, transparent 62%),
    radial-gradient(620px 360px at 14% 88%, rgba(223, 32, 59, 0.14) 0%, transparent 58%),
    linear-gradient(145deg, #071120 0%, #0D1E36 56%, #132A4A 100%);
  color: #F8FAFC;
  padding: 58px 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 52px;
  align-items: center;
  padding-bottom: 54px;
}
.hero-v2 h1 {
  color: #FFFFFF;
  font-size: clamp(34px, 4.1vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero-v2 h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #FDE6B0 0%, #F5C96B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 16.2px;
  line-height: 1.75;
  color: #CBD5E1;
  max-width: 31em;
  margin-bottom: 26px;
}

/* Hero Pill Bar */
.dcc-hero-box {
  margin-top: 22px;
  max-width: 636px;
}
.dcc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}
.dcc-pill {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: transform 200ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.dcc-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}
.dcc-pill[aria-selected="true"] {
  background: var(--gold-light);
  color: var(--navy-deep);
  border-color: var(--gold-light);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(246, 220, 159, 0.26);
}
.dcc-bar {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 6px;
  display: grid;
  grid-template-columns: 1.22fr 0.96fr auto;
  gap: 6px;
  box-shadow: 0 20px 44px -10px rgba(4, 10, 22, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: box-shadow 220ms var(--ease-out);
}
.dcc-bar:focus-within {
  box-shadow: 0 24px 52px -10px rgba(4, 10, 22, 0.55), 0 0 0 3px rgba(246, 220, 159, 0.35);
}
.dcc-bar input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
  color: var(--ink);
  font-size: 13.8px;
  font-weight: 600;
  transition: background-color 160ms ease;
}
.dcc-bar input::placeholder { color: #64748B; font-weight: 450; }
.dcc-bar input:focus { outline: none; background: #F8FAFC; border-radius: 10px; }
.dcc-bar .btn-dcc {
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #EA2845 0%, #D41935 100%);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(223, 32, 59, 0.26);
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease;
}
.dcc-bar .btn-dcc:hover { transform: translate3d(0, -1px, 0); box-shadow: 0 10px 22px rgba(223, 32, 59, 0.36); }
.dcc-bar .btn-dcc:active { transform: scale(0.98); }

.dcc-hot-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 12.5px;
  color: #94A3B8;
}
.dcc-sample-chip {
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  transition: all 180ms ease;
}
.dcc-sample-chip:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* Interactive Phone Stage with 2D Gliding Tab Pill */
.phone-card {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 28px 60px -15px rgba(3, 9, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.phone-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #CBD5E1;
}
.phone-card-head b { color: var(--gold-light); font-weight: 700; }

.role-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(6, 14, 27, 0.65);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.role-tab {
  position: relative;
  z-index: 2;
  padding: 8px 6px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: #CBD5E1;
  text-align: center;
  transition: color 200ms ease, background-color 200ms ease;
}
.role-tab[aria-selected="true"] {
  background: var(--gold-light);
  color: var(--navy-deep);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
.role-tabs.has-glider .role-tab[aria-selected="true"] {
  background: transparent;
  box-shadow: none;
}
.glide-pill {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 9px;
  background: var(--gold-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  transition: transform 260ms var(--ease-out), width 260ms var(--ease-out), height 260ms var(--ease-out);
  pointer-events: none;
  will-change: transform, width, height;
}
.glide-pill.no-anim {
  transition: none !important;
}

.phone-screen {
  background: #F8FAFC;
  color: var(--ink);
  border-radius: 16px;
  padding: 16px;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 #FFFFFF;
}
.screen-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 12px;
}
.screen-tag {
  background: rgba(10, 22, 40, 0.08);
  color: var(--navy-deep);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.bubble-user {
  background: #DCFCE7;
  color: #14532D;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 13px;
  line-height: 1.55;
  align-self: flex-end;
  max-width: 92%;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(20, 83, 45, 0.06);
}
.bubble-sys {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.07);
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  font-size: 12.8px;
  line-height: 1.55;
  box-shadow: var(--shadow-xs);
}
.bubble-sys.alert {
  background: #FFF9FA;
  border-color: rgba(223, 32, 59, 0.16);
}
.bubble-sys b { color: var(--navy-deep); display: block; margin-bottom: 4px; }
.mini-kv {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  font-variant-numeric: tabular-nums;
}
.mini-kv:last-child { border-bottom: 0; }
.mini-actions { display: flex; gap: 8px; margin-top: 10px; }
.mini-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--teal-bg);
  color: var(--teal);
}
.mini-pill.warn { background: var(--red-bg); color: var(--red); }
.screen-foot {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 12px;
  color: var(--teal);
  font-weight: 700;
}

/* ==========================================================================
   Key Metrics Band
   ========================================================================== */
.big-num-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
}
.big-num-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}
.big-num-item {
  border-right: 1px solid var(--line-soft);
  padding: 4px 10px;
}
.big-num-item:last-child { border-right: 0; }
.big-num-val {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.big-num-val em {
  font-style: normal;
  font-size: 0.50em;
  color: var(--red);
  margin-left: 3px;
  font-weight: 700;
}
.big-num-lbl {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

/* ==========================================================================
   Generic Sections
   ========================================================================== */
.section { padding: 72px 0; }
.section-alt { padding: 72px 0; background: var(--paper-alt); }
.section-dark { padding: 72px 0; background: var(--navy-deep); color: #F8FAFC; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-light); }

/* ==========================================================================
   V5.1 Borderless Pill Product Router & Product Shelf Cards
   ========================================================================== */
.router-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.52fr 0.88fr;
  gap: 24px;
  align-items: center;
}
.router-controls {
  display: grid;
  gap: 14px;
}
.router-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.router-row-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  min-width: 60px;
}
.router-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.router-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid transparent;
  transition: all 180ms var(--ease-out);
}
.router-pill:hover {
  background: var(--paper-alt);
  color: var(--navy-deep);
}
.router-pill[aria-pressed="true"] {
  background: var(--navy-deep);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.16);
}

.router-advice-card {
  background: linear-gradient(145deg, #0D1E36 0%, #152E4F 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.router-advice-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}
.router-advice-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(246, 220, 159, 0.14);
  padding: 3px 10px;
  border-radius: 999px;
}
.router-advice-card h3 {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0 4px;
}
.router-advice-meta {
  font-size: 12.8px;
  color: #CBD5E1;
  margin-bottom: 8px;
}
.router-advice-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  transition: transform 180ms var(--ease-out), color 180ms ease;
}
.router-advice-link:hover { color: #FFFFFF; transform: translate3d(3px, 0, 0); }

/* ¥999 Diagnosis Featured Banner (Borderless Luminous Dark Card) */
.hook-hero-banner {
  background:
    radial-gradient(500px 260px at 88% 20%, rgba(246, 220, 159, 0.14) 0%, transparent 65%),
    linear-gradient(135deg, #0A1628 0%, #142B4B 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 34px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.hook-hero-banner h3 {
  color: #fff;
  font-size: clamp(22px, 2.3vw, 27px);
  font-weight: 700;
  margin: 10px 0 8px;
  line-height: 1.32;
}
.hook-hero-banner p {
  color: #CBD5E1;
  font-size: 14.5px;
  line-height: 1.68;
  max-width: 34em;
}
.hook-price-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.hook-price-big {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hook-price-big small { font-size: 13px; font-weight: 600; color: #CBD5E1; margin-left: 6px; letter-spacing: 0; }
.hook-price-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 13.2px;
  color: #E2E8F0;
  display: grid;
  gap: 6px;
}

/* 6 Product Shelf Cards */
.sku-shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sku-box-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 220ms ease;
}
.sku-box-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: var(--shadow-md);
}
.sku-box-card.highlight {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 2px rgba(29, 55, 92, 0.15), var(--shadow-md);
}
.sku-ui-preview {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
}
.sku-ui-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 360ms var(--ease-out);
}
.sku-box-card:hover .sku-ui-preview img {
  transform: scale(1.018);
}
.sku-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sku-badge {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
}
.sku-badge.hot { background: var(--red-bg); color: var(--red); }
.sku-badge.gold { background: var(--gold-bg); color: var(--gold); }
.sku-price-tag {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
}
.sku-box-card h3 {
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.sku-box-card p {
  font-size: 13.8px;
  color: var(--muted);
  line-height: 1.6;
}
.sku-deliverables {
  list-style: none;
  padding: 10px 12px;
  margin-top: 10px;
  background: var(--paper);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  display: grid;
  gap: 4px;
}
.simple-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.simple-tag {
  background: var(--paper);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.sku-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

/* ==========================================================================
   4 Customer Scenarios & 1-2-3 Ordering Steps
   ========================================================================== */
.solutions-grid, .easy-steps-grid, .ladder-grid, .cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.info-card, .sol-card, .easy-step-card, .step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.info-card:hover, .sol-card:hover, .easy-step-card:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--shadow-md);
}
.info-card.red,
.info-card.gold {
  background: var(--surface);
  border-color: var(--line);
}
.info-card h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; }
.info-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.68; }

.easy-step-card { border-radius: var(--radius-lg); padding: 28px 26px; }
.easy-step-card.featured {
  background: var(--surface);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: var(--shadow-md);
}
.easy-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(10, 22, 40, 0.08);
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.easy-step-card.featured .easy-step-no {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 14px rgba(223, 32, 59, 0.24);
}
.easy-step-card h3 { font-size: 20px; margin-bottom: 8px; font-weight: 700; }
.easy-step-card p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ==========================================================================
   Case Studies, Founder, Experts & Speaking Gallery
   ========================================================================== */
.work-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.work-card-v2 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.work-card-v2:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-md);
}
.work-thumb {
  aspect-ratio: 16 / 9.5;
  background: var(--paper-alt);
  overflow: hidden;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out);
}
.work-card-v2:hover .work-thumb img { transform: scale(1.03); }
.work-thumb img[src*="amazon.webp"],
.case-hero-grid img[src*="amazon.webp"] {
  transform: scale(1.09);
  transform-origin: center bottom;
}
.work-card-v2:hover .work-thumb img[src*="amazon.webp"] {
  transform: scale(1.11);
}
.work-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.work-meta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.work-body h3 { font-size: 19.5px; font-weight: 700; margin-bottom: 6px; line-height: 1.38; }
.work-body p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.work-foot { font-size: 13.5px; font-weight: 700; color: var(--navy-deep); display: inline-flex; align-items: center; gap: 6px; transition: color 180ms ease; }
.work-card-v2:hover .work-foot { color: var(--red); }

.founder-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: var(--radius-md);
}
.founder-copy h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.founder-copy p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 16px; line-height: 1.72; }

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.expert-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.expert-card:hover { transform: translate3d(0, -2px, 0); box-shadow: var(--shadow-sm); }
.expert-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  flex-shrink: 0;
}
.expert-card h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 2px; }
.expert-role { font-size: 12.5px; font-weight: 700; color: var(--gold); }
.expert-bio { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.photo-rail-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.photo-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.photo-item:hover { transform: translate3d(0, -3px, 0); box-shadow: var(--shadow-md); }
.photo-item a { display: block; aspect-ratio: 16 / 10.5; overflow: hidden; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transition: transform 360ms var(--ease-out); }
.photo-item:hover img { transform: scale(1.04); }
.photo-item figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
}
.photo-item figcaption span:last-child { color: var(--muted); font-weight: 500; }

/* ==========================================================================
   Insights, Open-Source Cards & Smooth Accordion FAQ
   ========================================================================== */
.insight-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.insight-card-v2 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 200ms ease;
}
.insight-card-v2:hover {
  border-color: rgba(15, 23, 42, 0.16);
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--shadow-md);
}
.ins-tag {
  display: inline-block;
  width: fit-content;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.insight-card-v2 h3 { font-size: 16.5px; font-weight: 700; line-height: 1.42; margin-bottom: 8px; }
.insight-card-v2 p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.62; }
.ins-more { font-size: 13px; font-weight: 700; color: var(--navy-deep); }
.insight-card-v2:hover .ins-more { color: var(--red); }

.faq-list {
  display: grid;
  gap: 10px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 22px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.faq-list details[open] {
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 220ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--red-bg);
  color: var(--red);
}
.faq-list details p {
  padding: 12px 0 18px;
  font-size: 14.2px;
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  animation: contentSoftFade 200ms var(--ease-out) both;
}

/* ==========================================================================
   Subpages, Executive Summary (Zero Left Red/Gold Wireframe!), Prose & Quiz
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(680px 320px at 84% 18%, rgba(56, 118, 208, 0.22) 0%, transparent 62%),
    linear-gradient(145deg, #071120 0%, #0E213B 65%, #152E50 100%);
  color: #F8FAFC;
  padding: 50px 0 44px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: #fff; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(27px, 3.4vw, 41px);
  font-weight: 700;
  max-width: 21em;
  margin-bottom: 12px;
}
.page-hero .lead {
  font-size: 15.8px;
  color: #CBD5E1;
  max-width: 38em;
  line-height: 1.72;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: center;
}

/* Borderless Soft Tonal Summary Card */
.exec-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.exec-summary-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-deep);
  background: var(--paper);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.exec-summary h2, .exec-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.exec-summary p, .exec-summary li { font-size: 14.5px; color: var(--ink-2); }
.exec-summary ul { padding-left: 18px; display: grid; gap: 6px; margin-top: 8px; }

.prose-wrap {
  width: min(880px, calc(100% - 48px));
  margin-inline: auto;
  padding: 48px 0 64px;
}
.prose h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin: 38px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.prose h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.prose p { margin: 13px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.82; }
.prose ul, .prose ol { margin: 13px 0; padding-left: 22px; color: var(--ink-2); }
.prose li { margin: 7px 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--navy-soft); border-bottom: 1px solid rgba(29, 55, 92, 0.28); font-weight: 600; }
.prose a:hover { color: var(--red); border-color: var(--red); }
.prose blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.prose pre {
  background: var(--navy-deep);
  color: #F1F5F9;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  margin: 20px 0;
}
.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--paper-alt);
  padding: 2px 7px;
  border-radius: 6px;
}
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table, .cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}
.prose table {
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
  display: table;
}
.compare-table-wrap,
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}
.prose th, .cmp-table th {
  background: var(--navy-deep);
  color: #fff;
  padding: 13px 16px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 700;
}
.cmp-table th.hl { background: #173358; color: var(--gold-light); }
.prose td, .cmp-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--ink-2);
}
.cmp-table tr:last-child td, .prose tr:last-child td { border-bottom: 0; }
.cmp-table td.hl { background: #FAFBFD; color: var(--ink); font-weight: 600; }

.article-cta-box {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta-box h3 { margin: 0 0 6px; font-size: 19.5px; }
.article-cta-box p { margin: 0; font-size: 14.2px; color: var(--muted); max-width: 36em; }

/* Interactive Readiness Quiz */
.quiz-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}
.quiz-card h3 { font-size: 16.5px; margin: 0 0 12px; }
.quiz-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quiz-opt {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  background: var(--paper);
  color: var(--ink-2);
  transition: all 180ms var(--ease-out);
}
.quiz-opt:hover { background: var(--paper-alt); color: var(--ink); }
.quiz-opt[aria-checked="true"] {
  background: var(--navy-deep);
  color: #FFFFFF;
  border-color: var(--navy-deep);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.16);
}
.quiz-result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-top: 22px;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Interactive Product Simulator Workbench (Borderless Elevated Panels)
   ========================================================================== */
.sim-router-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.25fr;
  gap: 18px;
  align-items: center;
}
.sim-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.sim-field input,
.sim-field select,
.sim-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  box-shadow: var(--shadow-xs);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.sim-field input:focus,
.sim-field textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(29, 55, 92, 0.10);
}
.sim-field textarea { min-height: 140px; line-height: 1.62; resize: vertical; }

.sim-workbench {
  display: grid;
  grid-template-columns: 1.04fr 1.16fr;
  gap: 24px;
  align-items: start;
  margin: 26px 0;
}
.sim-panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.sim-panel.stage-dark-frame {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 23, 42, 0.12);
}
.sim-panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

#quote-output {
  min-height: 296px;
}

.sim-tabs {
  position: relative;
  display: flex;
  gap: 6px;
  padding: 5px;
  background: var(--paper);
  border-radius: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.sim-tab-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 110px;
  padding: 9px 12px;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
  transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
.sim-tab-btn[aria-selected="true"] {
  background: var(--surface);
  color: var(--navy-deep);
  box-shadow: var(--shadow-xs);
}
.sim-tabs.has-glider .sim-tab-btn[aria-selected="true"] {
  background: transparent;
  box-shadow: none;
}
.sim-tabs .glide-pill {
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.sim-status-banner {
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}
.sim-status-banner.ok { background: linear-gradient(90deg, #0D7A6F 0%, #11998B 100%); }
.sim-status-banner.warn { background: linear-gradient(90deg, #B45309 0%, #D97706 100%); }
.sim-status-banner.danger { background: linear-gradient(90deg, #B91C1C 0%, #DC2626 100%); }

.sim-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.sim-kv {
  background: var(--paper);
  border-radius: 12px;
  padding: 11px 14px;
  font-variant-numeric: tabular-nums;
}
.sim-kv span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.sim-kv strong { font-size: 15.5px; color: var(--navy-deep); font-weight: 700; }

/* Borderless Soft Alert Cards (Zero 4px Left Red AI Stripe!) */
.sim-alert-item {
  background: var(--red-bg);
  border: 1px solid rgba(223, 32, 59, 0.14);
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.62;
}
.sim-alert-item.amber {
  background: var(--gold-bg);
  border-color: rgba(154, 107, 22, 0.16);
}
.sim-alert-item.ok {
  background: var(--teal-bg);
  border-color: rgba(13, 122, 111, 0.16);
}
.sim-wechat-reply {
  margin-top: 10px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid rgba(13, 122, 111, 0.18);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.sim-kpi-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

/* ==========================================================================
   Express Lead Capture Card, Checkout Section & Footer
   ========================================================================== */
.lead-express-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 22px;
}
.lead-express-card.light {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.lead-express-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.lead-express-head strong {
  font-size: 16px;
  color: var(--gold-light);
}
.lead-express-card.light .lead-express-head strong {
  color: var(--ink);
  font-size: 17px;
}
.lead-express-badge {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(223, 32, 59, 0.22);
  color: #FECDD3;
}
.lead-express-card.light .lead-express-badge {
  background: var(--red-bg);
  color: var(--red);
}
.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr 1.25fr auto;
  gap: 10px;
  align-items: center;
}
.lead-form-grid input,
.lead-form-grid select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 22, 40, 0.62);
  color: #fff;
  font-size: 14px;
}
.lead-form-grid input::placeholder { color: #94A3B8; }
.lead-express-card.light .lead-form-grid input,
.lead-express-card.light .lead-form-grid select {
  background: var(--paper);
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: var(--ink);
}
.lead-express-card.light .lead-form-grid input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(29, 55, 92, 0.08);
}
.lead-express-card.light .lead-form-grid input::placeholder { color: var(--muted); }
.lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.lead-feedback {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  color: #6EE7B7;
}
.lead-express-card.light .lead-feedback { color: var(--teal); }
.lead-feedback.err { color: #FCA5A5; }
.lead-express-card.light .lead-feedback.err { color: var(--red); }
.lead-micro-note {
  margin-top: 8px;
  font-size: 12px;
  color: #94A3B8;
}
.lead-express-card.light .lead-micro-note { color: var(--muted); }

.checkout-section {
  background:
    radial-gradient(640px 320px at 85% 20%, rgba(56, 118, 208, 0.18) 0%, transparent 62%),
    linear-gradient(145deg, #071120 0%, #0E213B 100%);
  color: #F8FAFC;
  padding: 68px 0;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 52px;
  align-items: center;
}
.checkout-section h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 35px);
  font-weight: 700;
  margin-bottom: 12px;
}
.checkout-lead {
  font-size: 15px;
  color: #CBD5E1;
  max-width: 36em;
  margin-bottom: 22px;
}
.direct-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  font-size: 14px;
  color: #E2E8F0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.direct-contacts a, .direct-contacts button {
  color: var(--gold-light);
  font-weight: 700;
  padding: 4px 0;
}
.direct-contacts a:hover, .direct-contacts button:hover { color: #fff; }
.copy-feedback {
  font-size: 12.5px;
  color: #6EE7B7;
  font-weight: 700;
  min-height: 20px;
  margin-top: 6px;
}

.qr-panel {
  background: #FFFFFF;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.qr-panel img { width: 172px; height: 172px; margin: 0 auto 12px; border-radius: 8px; }
.qr-panel strong { display: block; font-size: 14.5px; color: var(--navy-deep); }
.qr-panel span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.qr-panel a {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-soft);
}

.site-footer {
  background: #050C17;
  color: #94A3B8;
  padding: 34px 0 40px;
  font-size: 13px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}
.footer-brand img { width: 28px; height: 28px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}
.footer-links a:hover { color: #fff; }

/* ==========================================================================
   Floating Dock, Scroll-Gated Sticky Bottom Bar & Pure-White Silky Modal
   ========================================================================== */
.xbb-float-dock {
  position: fixed;
  right: 16px;
  top: 52%;
  transform: translateY(-50%);
  z-index: 88;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 6px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.xbb-dock-item {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}
.xbb-dock-item:hover { background: var(--paper); color: var(--navy-deep); }
.xbb-dock-item.hot {
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.18);
}
.xbb-dock-item.hot:hover { background: var(--navy-soft); color: #fff; transform: scale(1.03); }
.xbb-dock-pop {
  display: none;
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 206px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  animation: popMenuIn 180ms var(--ease-spring) both;
}
.xbb-dock-item:hover .xbb-dock-pop,
.xbb-dock-item:focus-within .xbb-dock-pop { display: block; }
.xbb-dock-pop img { width: 144px; height: 144px; margin: 0 auto 8px; border-radius: 6px; }
.xbb-dock-pop strong { display: block; font-size: 13.5px; color: var(--navy-deep); }
.xbb-dock-pop span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Scroll-gated: hidden on hero first screen, glides up smoothly after scrolling */
.xbb-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 86;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 -8px 30px rgba(7, 15, 28, 0.22);
  transform: translate3d(0, 110%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms var(--ease-out), opacity 240ms ease;
}
.xbb-bottom-bar.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}
.xbb-bottom-inner {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.xbb-bottom-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.xbb-bottom-copy span {
  background: var(--gold-light);
  color: var(--navy-deep);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.xbb-bottom-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 640px;
}
.xbb-bottom-form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 13.5px;
}
.xbb-bottom-form input::placeholder { color: #64748B; }
.xbb-bottom-form .btn { min-height: 38px; padding: 0 18px; font-size: 13.5px; }
.xbb-bottom-close {
  color: #94A3B8;
  font-size: 20px;
  width: 30px;
  height: 30px;
  line-height: 1;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background-color 160ms ease, color 160ms ease;
}
.xbb-bottom-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* Pure-White Single-Layer Linear / Feishu Modal */
dialog.dayan-modal {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 0;
  background: #FFFFFF;
  color: var(--ink);
  width: min(720px, calc(100% - 28px));
  max-height: 90dvh;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
dialog.dayan-modal[open] {
  animation: modalSpringIn 240ms var(--ease-spring) both;
}
dialog.dayan-modal.is-closing {
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(0.98);
  transition: opacity 150ms ease, transform 150ms ease;
}
dialog.dayan-modal::backdrop {
  background: rgba(10, 22, 40, 0.52);
  backdrop-filter: blur(8px);
}

.modal-head-light {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 26px 15px;
  border-bottom: 1px solid var(--line-soft);
  background: #FFFFFF;
}
.modal-head-light strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.modal-sub-inline {
  font-size: 12.5px;
  color: var(--muted);
  margin-left: 10px;
}
.modal-close-light {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 160ms ease, color 160ms ease;
}
.modal-close-light:hover {
  background: var(--paper-alt);
  color: var(--ink);
}

/* Dark header kept only for photo lightbox modal */
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--navy-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.modal-close {
  color: #CBD5E1;
  font-size: 22px;
  width: 34px;
  height: 34px;
  line-height: 1;
  border-radius: 50%;
  transition: background-color 160ms ease, color 160ms ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.modal-body { padding: 22px 26px 26px; }
.modal-cols-v4 {
  display: grid;
  grid-template-columns: 214px 1fr;
  gap: 24px;
  align-items: stretch;
}
.modal-qr-box {
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-qr-box img { width: 160px; height: 160px; margin: 0 auto 10px; border-radius: 8px; }
.modal-qr-box p { font-size: 12px; color: var(--muted); line-height: 1.55; }

.modal-form-stack {
  background: transparent;
  border: 0;
  padding: 2px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.modal-form-stack h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}
.modal-two-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.modal-field { margin-bottom: 12px; }
.modal-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.modal-field input,
.modal-field select,
.modal-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.modal-field textarea {
  min-height: 96px;
  line-height: 1.6;
  resize: vertical;
}
.modal-field input:focus,
.modal-field textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(29, 55, 92, 0.08);
}

/* 8-Chip 1-Tap Modal Topic Grid (Zero Dropdown Occlusion!) */
.modal-topic-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}
.modal-topic-pill {
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid transparent;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.modal-topic-pill:hover {
  background: var(--paper-alt);
  color: var(--ink);
}
.modal-topic-pill[aria-pressed="true"] {
  background: var(--navy-deep);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(10, 22, 40, 0.16);
}

.modal-done-box { text-align: center; padding: 10px 16px 6px; animation: contentSoftFade 220ms var(--ease-out) both; }
.modal-done-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-bg);
  color: var(--teal);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.modal-done-box h3 { font-size: 21px; margin-bottom: 8px; color: var(--ink); }
.modal-done-box p { font-size: 14.2px; color: var(--ink-2); max-width: 34em; margin: 0 auto 18px; }
.modal-done-qr {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 18px;
  max-width: 244px;
  margin: 0 auto 16px;
}
.modal-done-qr img { width: 160px; height: 160px; margin: 0 auto 8px; border-radius: 8px; }

#photo-modal { width: min(1020px, calc(100% - 24px)); background: #071120; border-color: rgba(255,255,255,0.12); }
#photo-modal .photo-stage { padding: 18px; text-align: center; background: #071120; }
#photo-modal .photo-stage img { max-height: 76dvh; margin: 0 auto; object-fit: contain; border-radius: 10px; }
#photo-modal .photo-caption { color: #CBD5E1; font-size: 13px; margin-top: 10px; }

.mobile-sticky-bar { display: none; }

/* ==========================================================================
   Responsive Breakpoints (1080px / 760px / 390px)
   ========================================================================== */
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .header-cta .btn-outline { display: none; }
  .xbb-float-dock { display: none; }
  .xbb-bottom-copy span { display: none; }
  .hero-grid, .case-hero-grid, .hook-hero-banner, .sim-workbench, .router-card { grid-template-columns: 1fr; gap: 22px; }
  .sim-router-bar { grid-template-columns: 1fr 1fr; }
  .sim-router-bar > :last-child { grid-column: 1 / -1; }
  .lead-form-grid { grid-template-columns: 1fr 1fr; }
  .sim-kpi-4, .big-num-grid, .photo-rail-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .big-num-item:nth-child(2) { border-right: 0; }
  .solutions-grid, .ladder-grid, .insight-grid-v2, .experts-grid, .cards-3, .sku-shelf-grid, .easy-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .founder-box { grid-template-columns: 200px 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  body, body.has-bottom-bar { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .br-desk { display: none; }
  .top-promo-strip { display: none; }
  .xbb-bottom-bar { display: none !important; }
  .wrap, .prose-wrap { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 28px); height: 64px; gap: 8px; }
  .brand-link { min-width: 0; flex-shrink: 1; gap: 8px; }
  .brand-link img { width: 30px; height: 30px; }
  .brand-title { font-size: 16.5px; white-space: nowrap; }
  .brand-sub { font-size: 9.5px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lang-pill { display: none; }
  .header-cta .btn-sm { padding: 6px 12px; font-size: 12px; min-height: 34px; }

  .hero-v2 { padding-top: 32px; }
  .hero-grid { padding-bottom: 32px; gap: 24px; }
  .hero-lead { font-size: 15px; }
  .page-hero h1 { font-size: clamp(24px, 6.2vw, 36px); }
  .dcc-bar { grid-template-columns: 1fr; gap: 6px; padding: 8px; }
  .dcc-bar input { border-right: 0; border-bottom: 1px solid var(--line-soft); height: 44px; }
  .dcc-bar .btn-dcc { width: 100%; height: 44px; }

  .section, .section-alt, .section-dark, .checkout-section { padding: 48px 0; }
  .sim-panel, .sim-router-bar, .router-card, .hook-hero-banner, .lead-express-card, .easy-step-card { padding: 20px; }
  .solutions-grid, .ladder-grid, .work-grid-v2,
  .insight-grid-v2, .experts-grid, .cards-3, .cards-2, .quiz-opts,
  .sku-shelf-grid, .sim-router-bar, .lead-form-grid, .sim-kv-grid, .sim-kpi-4, .easy-steps-grid, .photo-rail-v2 {
    grid-template-columns: 1fr;
  }
  .prose table { display: block; overflow-x: auto; }
  .cmp-table, .table-scroll table { min-width: 540px; }
  .dsel-inline-row, .dsel-inline-row .dsel-wrap { width: 100%; }
  .big-num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  .big-num-item { border-right: 0; }
  .founder-box { grid-template-columns: 1fr; padding: 22px; }
  .founder-photo { max-width: 190px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 28px; }
  .qr-panel { display: grid; grid-template-columns: 108px 1fr; gap: 4px 16px; text-align: left; align-items: center; padding: 16px; }
  .qr-panel img { width: 108px; height: 108px; grid-row: 1 / 4; margin: 0; }
  .modal-head-light { padding: 16px 20px 13px; }
  .modal-sub-inline { display: block; margin: 3px 0 0; }
  .modal-body { padding: 18px 20px 22px; }
  .modal-cols-v4 { grid-template-columns: 1fr; gap: 18px; }
  .modal-two-inputs { grid-template-columns: 1fr; gap: 0; }
  dialog.dayan-modal { max-height: 92dvh; overflow-y: auto; }

  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 85;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 18px rgba(10, 22, 40, 0.06);
  }
  .mobile-sticky-bar a, .mobile-sticky-bar button {
    min-height: 40px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--navy-deep);
  }
  .mobile-sticky-bar .m-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .mobile-sticky-bar, .xbb-float-dock, .xbb-bottom-bar, .checkout-section, dialog { display: none !important; }
  body { background: #fff; padding: 0; }
  .wrap, .prose-wrap { width: 100%; }
}
