/* ═══════════════════════════════════════════════════════════════════════════
   Biaojiang Official Website v2.0 — Unified Design System (assets/biaojiang.css)
   Editorial Warmth × Crisp Product Precision · Zero Fake Italic · Mobile Safe
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg-paper: #FBF8F9;
  --bg-blush: #F6EEF3;
  --bg-blush-soft: #FCF5F9;
  --surface: #FFFFFF;
  --ink: #191117;
  --ink-soft: #3B2D36;
  --muted: #655560;
  --muted-light: #8C7B86;
  --line: #E9DCE4;
  --line-strong: #DBC7D3;
  --accent: #A61B64;
  --accent-bright: #C41976;
  --accent-soft: #F6E6EF;
  --plum-deep: #1A0A16;
  --plum-mid: #281223;
  --plum-card: rgba(255, 255, 255, 0.055);
  --plum-line: rgba(255, 255, 255, 0.12);
  --ok-bg: #ECF8F1;
  --ok-ink: #146C43;
  --ok-line: #C7E8D5;
  --warn-bg: #FFF8EB;
  --warn-ink: #7A4F13;
  --warn-line: #F0D9AD;
  --danger-bg: #FDF2F5;
  --danger-ink: #A12648;
  --danger-line: #ECC8D3;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-stage: 0 28px 70px -24px rgba(28, 12, 24, 0.10), 0 4px 16px rgba(28, 12, 24, 0.03);
  --shadow-float: 0 22px 48px -12px rgba(25, 11, 22, 0.16), 0 2px 10px rgba(25, 11, 22, 0.06);
  --shadow-card: 0 14px 34px -16px rgba(28, 12, 24, 0.08);
  --max-w: 1280px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF4F8 36%, #FBF8F9 100%);
  color: var(--ink);
  line-height: 1.65;
}

/* Enforce zero synthetic Chinese oblique across the entire site */
em, i {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

img {
  height: auto;
}

p, li, dd, dt, td, th, blockquote, code, .prose-wrap {
  overflow-wrap: anywhere;
}

main:focus {
  outline: none;
}

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

/* Accessibility Skip Link */
.site-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  transition: top 0.18s ease;
}

.site-skip:focus {
  top: 14px;
}

/* Layout Containers */
.wrap, .dt-wrap {
  width: min(var(--max-w), calc(100% - 64px));
  margin-inline: auto;
}

/* ─── Typography (Zero Fake Chinese Italic) ─── */
.eyebrow, .dt-eyebrow, .dt-kicker, .access-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.eyebrow::before, .dt-eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}

.display-h1, .dt-title {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 300;
  color: var(--ink);
}

.display-h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.024em;
  font-weight: 300;
  color: var(--ink);
}

.display-h1 strong,
.display-h2 strong,
.dt-title strong,
.dt-h2 strong,
.page-hero h1 strong,
.b2b-hero h1 strong {
  font-weight: 600;
  color: var(--accent);
}

.lead, .dt-lead {
  font-size: clamp(16px, 1.2vw, 18.5px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
}

/* ─── Buttons ─── */
.btn, .dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.btn:hover, .dt-btn.ghost:hover, .btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn.primary, .btn-primary, .dt-btn {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(25, 17, 23, 0.42);
}

.btn.primary:hover, .btn-primary:hover, .dt-btn:hover {
  background: #2D1F29;
  border-color: #2D1F29;
  transform: translateY(-1px);
}

.btn.accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 12px 26px -10px rgba(166, 27, 100, 0.45);
}

.btn.accent:hover {
  background: #8D1554;
  border-color: #8D1554;
}

.btn.ghost, .btn-ghost, .dt-btn.ghost {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn.white {
  background: #FFFFFF;
  color: var(--ink);
  border-color: #FFFFFF;
  font-weight: 600;
}

.btn.white:hover {
  background: #F9EFF5;
  border-color: #F9EFF5;
}

.btn.sm {
  min-height: 40px;
  padding: 7px 18px;
  font-size: 13.5px;
}

.btn:disabled, .dt-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─── Header & Responsive Drawer ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(233, 220, 228, 0.78);
}

.header-inner {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand svg {
  width: 30px;
  height: 30px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--bg-blush);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active,
.main-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.main-nav a.is-active::after,
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::after {
  content: "☰";
  font-size: 13px;
  color: var(--accent);
}

.mobile-menu[open] summary {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}

.mobile-menu[open] summary::after {
  content: "✕";
  color: #FFFFFF;
}

.mobile-drawer {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 80;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-float);
  display: grid;
  gap: 4px;
}

.mobile-drawer a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}

.mobile-drawer a:not(.btn):hover,
.mobile-drawer a:not(.btn).is-active,
.mobile-drawer a:not(.btn)[aria-current="page"] {
  background: var(--bg-blush-soft);
  color: var(--accent);
  font-weight: 600;
}

.mobile-drawer .btn {
  margin-top: 8px;
  width: 100%;
}

/* ─── MODULE 1: Layered Depth Hero + Voice Carousel ─── */
.hero-section {
  position: relative;
  padding: 48px 0 76px;
  background:
    radial-gradient(640px 420px at 78% 36%, rgba(236, 173, 206, 0.24), transparent 70%),
    radial-gradient(520px 360px at 16% 80%, rgba(244, 219, 232, 0.35), transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 52px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-copy .lead {
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-voice-card {
  margin-top: 38px;
  width: 100%;
  max-width: 490px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.hero-voice-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 0.85;
  color: var(--accent);
  font-weight: 700;
  user-select: none;
  margin-top: 4px;
  flex-shrink: 0;
}

.hero-voice-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  min-height: 48px;
}

.hero-voice-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #F1E7ED;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.voice-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #5B0E38 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.voice-author b {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.voice-author span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.voice-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.voice-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #DFCEDA;
  transition: all 0.2s ease;
}

.voice-dot.is-active {
  width: 20px;
  background: var(--accent);
}

.hero-stage {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-arc-top {
  position: absolute;
  z-index: 1;
  width: 310px;
  height: 270px;
  top: 22px;
  left: 26px;
  background: linear-gradient(145deg, #F6CFE5 0%, #FBE6F2 100%);
  border-radius: 220px 28px 28px 28px;
  pointer-events: none;
}

.hero-arc-bottom {
  position: absolute;
  z-index: 1;
  width: 290px;
  height: 240px;
  right: 22px;
  bottom: 26px;
  background: linear-gradient(145deg, #F0C6BE 0%, #F7DDD8 100%);
  border-radius: 28px 28px 190px 28px;
  pointer-events: none;
}

.hero-room-frame {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 430px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 60px -20px rgba(32, 14, 26, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-room-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-person-clip {
  position: absolute;
  z-index: 3;
  width: 78%;
  height: 500px;
  bottom: 55px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  pointer-events: none;
}

.hero-person-clip img {
  position: absolute;
  width: 72%;
  left: 16%;
  top: 4px;
  filter: drop-shadow(0 18px 28px rgba(24, 10, 20, 0.18));
}

.hero-stat-card {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: var(--shadow-float);
}

.hero-stat-card strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
}

.hero-stat-card b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}

.hero-stat-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.hero-stat-card.pos-top-right {
  top: 38px;
  right: 0;
  min-width: 172px;
}

.hero-stat-card.pos-bottom-left {
  bottom: 44px;
  left: 4px;
  min-width: 192px;
}

.hero-stat-card.pos-mid-right {
  bottom: 96px;
  right: 0;
  min-width: 178px;
}

/* ─── MODULE 2: 4-Step Interactive Stage ─── */
.hiw-section {
  padding: 96px 0 104px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5ECF1 55%, #FAF5F8 100%);
  border-top: 1px solid rgba(233, 220, 228, 0.6);
}

.hiw-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.hiw-head .eyebrow {
  justify-content: center;
}

.hiw-head p.sub {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--muted);
  text-wrap: balance;
}

.hiw-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto 40px;
}

.hiw-tabs::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 1.5px;
  background: var(--line-strong);
  z-index: 0;
}

.hiw-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}

.hiw-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: all 0.24s ease;
  box-shadow: 0 6px 18px rgba(25, 11, 22, 0.05);
}

.hiw-circle svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.hiw-tab.is-active .hiw-circle {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #7C104B 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 14px 30px -6px rgba(166, 27, 100, 0.48), 0 0 0 7px rgba(166, 27, 100, 0.10);
  transform: translateY(-2px);
}

.hiw-tab-title {
  margin-top: 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

.hiw-tab.is-active .hiw-tab-title {
  color: var(--accent);
}

.hiw-tab-desc {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 190px;
  line-height: 1.45;
}

.hiw-stage-card {
  background: #FFFFFF;
  border: 1px solid rgba(233, 220, 228, 0.9);
  border-radius: var(--radius-xl);
  padding: 48px 54px;
  box-shadow: var(--shadow-stage);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 54px;
  align-items: center;
}

.hiw-copy {
  min-width: 0;
}

.hiw-step-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hiw-counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.hiw-progress {
  flex: 1;
  max-width: 180px;
  height: 4px;
  border-radius: 999px;
  background: #EFE4EB;
  overflow: hidden;
}

.hiw-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.28s ease;
}

.hiw-arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.circle-btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--bg-paper);
}

.circle-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hiw-copy h3 {
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hiw-copy h3 strong {
  font-weight: 600;
  color: var(--accent);
}

.hiw-copy p.body {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.78;
}

.hiw-points {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hiw-points span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-blush-soft);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
}

.hiw-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hiw-media {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.hiw-photo-box {
  width: 82%;
  height: 400px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 48px -18px rgba(25, 11, 22, 0.22);
  background: #EFE6EC;
}

.hiw-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: opacity 0.22s ease;
}

.hiw-photo-box img[data-step-photo="0"] {
  object-position: center 22%;
}

.hiw-photo-box img[data-step-photo="1"] {
  object-position: center 36%;
}

.hiw-photo-box img[data-step-photo="2"] {
  object-position: center center;
}

.hiw-photo-box img[data-step-photo="3"] {
  object-position: center 30%;
}

.hiw-overlay-card {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 268px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(233, 220, 228, 0.95);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-float);
}

.ov-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.ov-kicker.accent {
  color: var(--accent);
}

.ov-title {
  font-size: 15.5px;
  font-weight: 650;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.35;
}

.ov-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ov-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F4EDF2;
  color: var(--ink-soft);
}

.ov-chip.accent {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.ov-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #F2E8EE;
  font-size: 12.5px;
}

.ov-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0% 94%, #EFE3EA 94% 100%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ov-ring span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
}

.ov-amount {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 4px;
}

.ov-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.ov-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: 12px;
  font-weight: 600;
}

/* ─── MODULE 3: Horizontal Domain Rail ─── */
.domain-section {
  padding: 96px 0 88px;
}

.editorial-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
}

.editorial-side {
  max-width: 420px;
  color: var(--muted);
  font-size: 15.5px;
}

.editorial-side a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
}

.domain-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.domain-toolbar span {
  font-size: 13px;
  color: var(--muted);
}

.domain-nav-btns {
  display: flex;
  gap: 8px;
}

.domain-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(276px, 296px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
  cursor: grab;
}

.domain-track::-webkit-scrollbar {
  display: none;
}

.domain-card {
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 278px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.domain-card:hover {
  transform: translateY(-4px);
  border-color: #D2B8C7;
  box-shadow: var(--shadow-card);
}

.domain-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg-blush);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.domain-icon img {
  width: 22px;
  height: 22px;
}

.domain-kicker {
  font-size: 12px;
  color: var(--muted-light);
  font-weight: 500;
}

.domain-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 6px;
}

.domain-card p.desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
  flex: 1;
}

.domain-foot {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #F3EAEF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.badge-live {
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
}

.badge-pool {
  color: var(--muted);
  background: #F3EDF1;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
}

.domain-card.dark-more {
  background: linear-gradient(155deg, var(--plum-deep) 0%, #34132C 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.domain-card.dark-more .domain-icon {
  background: rgba(255, 255, 255, 0.12);
  filter: invert(1);
}

.domain-card.dark-more .domain-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.domain-card.dark-more h3 {
  color: #FFFFFF;
}

.domain-card.dark-more p.desc {
  color: rgba(255, 255, 255, 0.74);
}

.domain-card.dark-more .domain-foot {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: #FFD7EC;
}

/* ─── MODULE 4: OneForma 3-Column Sticky Color-Morphing Paths Theater ─── */
.story-section {
  position: relative;
  background-color: #220A1A;
  background-image: radial-gradient(760px 460px at 82% 16%, rgba(240, 86, 163, 0.14), transparent 72%);
  color: #FBF6F9;
  transition: background-color 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-section[data-path-active="earn"] {
  background-color: #220A1A;
}

.story-section[data-path-active="grow"] {
  background-color: #4A211A;
}

.story-section[data-path-active="shape"] {
  background-color: #580B39;
}

.paths-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(260px, 0.82fr) minmax(340px, 1.12fr);
  align-items: start;
  gap: clamp(32px, 4.6vw, 72px);
  padding: 116px 0;
}

.paths-intro {
  position: sticky;
  top: 128px;
  min-width: 0;
}

.paths-intro .eyebrow {
  color: #F49AC8;
}

.paths-intro .eyebrow::before {
  background: #F49AC8;
}

.paths-intro .display-h2 {
  color: #FFFFFF;
}

.paths-intro .display-h2 strong {
  color: #F056A3;
}

.paths-intro-lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(251, 246, 249, 0.82);
  max-width: 340px;
}

.paths-nav {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.paths-step-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 246, 251, 0.78);
  transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.paths-step-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
}

.paths-step-btn.is-active {
  background: rgba(240, 86, 163, 0.16);
  border-color: rgba(244, 154, 200, 0.72);
  color: #FFFFFF;
}

.paths-step-btn b {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.paths-step-btn span {
  font-size: 12px;
  color: rgba(249, 178, 215, 0.88);
  flex-shrink: 0;
}

.paths-visual-stack {
  position: sticky;
  top: 108px;
  width: 100%;
  max-width: 372px;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  max-height: min(72vh, 610px);
  border-radius: 28px;
  overflow: hidden;
  background: #351428;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34);
}

.paths-visual {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.56s ease, transform 0.76s ease;
  pointer-events: none;
}

.paths-visual.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.paths-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(20, 6, 16, 0.06) 0%,
    rgba(20, 6, 16, 0) 44%,
    rgba(16, 6, 14, 0.80) 100%
  );
  pointer-events: none;
}

.paths-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paths-visual[data-path-visual="earn"] img {
  object-position: 54% 38%;
}

.paths-visual[data-path-visual="grow"] img {
  object-position: center 24%;
}

.paths-visual[data-path-visual="shape"] img {
  object-position: center 52%;
}

.paths-visual figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.paths-visual figcaption strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #F9B2D7;
  line-height: 1.3;
}

.paths-visual figcaption span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
}

.paths-cards {
  display: flex;
  flex-direction: column;
  gap: 52px;
  padding: 4px 0 48px;
  min-width: 0;
}

.paths-card {
  min-height: 420px;
  padding: 40px 38px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  scroll-margin-top: 124px;
  transition: opacity 0.42s ease, transform 0.42s ease, background-color 0.42s ease, border-color 0.42s ease, box-shadow 0.42s ease;
}

.paths-card:not(.is-active) {
  opacity: 0.38;
  transform: scale(0.976);
}

.paths-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 24px 54px -18px rgba(0, 0, 0, 0.38);
}

.paths-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #F4C8DF;
  text-transform: uppercase;
}

.paths-kicker i,
.paths-kicker .paths-line {
  display: block;
  width: 64px;
  height: 1.5px;
  background: #F056A3;
  flex-shrink: 0;
}

.paths-card h3 {
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-top: 18px;
}

.paths-quote-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}

.paths-quote-mark {
  color: #F056A3;
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 0.9;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 4px;
  user-select: none;
}

.paths-quote {
  font-size: clamp(17.5px, 1.35vw, 21px);
  line-height: 1.56;
  color: #FFF8FC;
  font-weight: 450;
}

.paths-credit {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #F7B5D8;
  margin-top: 14px;
  padding-left: 26px;
}

.paths-desc {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 22px;
  padding-top: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 246, 251, 0.80);
}

.paths-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #FFBEE1;
  border-bottom: 1px solid rgba(255, 190, 225, 0.45);
  padding-bottom: 3px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.paths-link:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* ─── MODULE 5: Open Projects + Match Discovery Banner ─── */
.projects-section {
  padding: 96px 0 64px;
}

.project-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 16px;
}

.project-stat dt {
  font-size: 30px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1;
}

.project-stat dd {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.projects-grid[data-count="1"] {
  grid-template-columns: 1fr;
}

.project-card.is-spotlight {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
}

.project-spotlight-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  min-width: 0;
}

.project-spotlight-main h3 {
  font-size: 26px;
  line-height: 1.28;
}

.project-spotlight-main p {
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 56ch;
}

.project-spotlight-aside {
  background: linear-gradient(155deg, #FDF8FB 0%, #F5EAF1 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.project-spotlight-media {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-blush);
}

#open-projects,
#reserve-pool {
  scroll-margin-top: 148px;
}

.project-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-spotlight-points {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.project-spotlight-points li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-spotlight-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.projects-grid[data-count="2"],
.projects-grid[data-count="4"] {
  grid-template-columns: repeat(2, 1fr);
}

.projects-grid[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.projects-grid[data-count="3"] .project-card {
  padding: 26px;
}

.projects-more-bar {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 26px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}

.projects-more-bar p {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

.projects-more-bar strong {
  color: var(--accent);
  font-weight: 650;
}

.project-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-width: 0;
}

.project-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.project-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ptag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-blush);
  color: var(--ink-soft);
}

.ptag.open {
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-weight: 600;
}

.ptag.warm {
  background: var(--warn-bg);
  color: var(--warn-ink);
  font-weight: 600;
}

.project-card h3 {
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 16px;
}

.project-card p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
}

.project-foot {
  padding-top: 20px;
  border-top: 1px solid #F1E6EC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.project-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-terms span {
  font-size: 13px;
  color: var(--ink-soft);
  background: #F9F5F7;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

.project-terms span.pay {
  font-weight: 650;
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}

.discovery-banner {
  margin-top: 24px;
  border-radius: 24px;
  padding: 28px 34px;
  background: linear-gradient(120deg, #F8ECF3 0%, #FDF8FB 100%);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.discovery-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.discovery-copy strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
}

.discovery-copy p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}

/* ─── MODULE 6: The Bigger Picture Dual Editorial Cards ─── */
.bigger-section {
  padding: 56px 0 92px;
}

.bigger-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.bigger-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.bigger-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 330px;
  box-shadow: var(--shadow-card);
}

.bigger-img {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.bigger-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bigger-body {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.bigger-body h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.3;
}

.bigger-body p {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.72;
}

.pledge-mini {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}

.pledge-mini span::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.bigger-link {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bigger-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── MODULE 7: Split Sticky-Sidebar FAQ + Inset Floating Closing Stage ─── */
.faq-section {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, #F7EFF4 0%, #FBF8F9 100%);
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}

.faq-aside {
  position: sticky;
  top: 104px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.faq-aside .kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.faq-aside h3 {
  font-size: 21px;
  margin-top: 8px;
  color: var(--ink);
}

.faq-aside p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.faq-aside .btn {
  margin-top: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.faq-list details {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 24px;
  transition: border-color 0.18s ease;
}

.faq-list details[open] {
  border-color: #CFB4C4;
  box-shadow: var(--shadow-card);
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-blush);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--ink);
  color: #FFFFFF;
}

.faq-list details p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  padding-right: 16px;
}

.closing-outer, .dt-closing {
  padding: 20px 36px 72px;
}

.closing-stage, .dt-closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: 34px;
  padding: 68px 64px;
  background:
    radial-gradient(650px 380px at 88% 20%, rgba(196, 25, 118, 0.38), transparent 68%),
    radial-gradient(500px 320px at 12% 95%, rgba(128, 30, 88, 0.30), transparent 70%),
    linear-gradient(140deg, #1B0917 0%, #2D1326 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 30px 70px -24px rgba(26, 10, 22, 0.45);
}

.closing-stage .eyebrow {
  color: #F596C8;
}

.closing-stage .eyebrow::before {
  background: #F596C8;
}

.closing-stage h2, .dt-closing-inner h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1.18;
  color: #FFFFFF;
}

.closing-stage h2 strong, .dt-closing-inner h2 strong {
  font-weight: 600;
  color: #FFD4EA;
}

.closing-stage p, .dt-closing-inner p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  max-width: 520px;
  font-size: 16px;
}

.closing-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.closing-btns .btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
}

.closing-btns .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.dt-closing-inner .dt-btn {
  background: #FFFFFF;
  color: var(--ink);
  border-color: #FFFFFF;
  font-weight: 600;
  flex-shrink: 0;
}

/* ─── Clean 4-Column Light Editorial Footer ─── */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.88fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid #F1E6EC;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  max-width: 340px;
}

.footer-brand .footer-contact,
.footer-brand p:last-of-type {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.footer-brand p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-brand p a:hover {
  color: var(--accent);
}

.footer-col b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-light);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TASKS PLAZA (tasks.html)
   ═══════════════════════════════════════════════════════════════════════════ */
.tasks-hero {
  padding: 56px 0 36px;
  background:
    radial-gradient(560px 340px at 84% 20%, rgba(236, 173, 206, 0.22), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF3F7 100%);
  border-bottom: 1px solid var(--line);
}

.tasks-hero-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.tasks-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.tasks-stat-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 24px;
  min-width: 148px;
  box-shadow: var(--shadow-card);
}

.tasks-stat-box dt {
  font-size: 30px;
  font-weight: 650;
  color: var(--accent);
  line-height: 1.05;
}

.tasks-stat-box dd {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
}

.tasks-controls {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 76px;
  z-index: 35;
}

.tasks-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  min-height: 38px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.filter-tab:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-tab.is-active,
.filter-tab[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
  font-weight: 600;
}

.tasks-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 16px;
  min-height: 42px;
  min-width: min(300px, 100%);
  flex: 0 1 320px;
}

.tasks-search img, .tasks-search svg {
  width: 18px;
  height: 18px;
  opacity: 0.65;
  flex-shrink: 0;
}

.tasks-search input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}

.tasks-section {
  padding: 56px 0 28px;
}

.tasks-section + .tasks-section {
  padding-top: 32px;
  padding-bottom: 72px;
}

.tasks-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tasks-section-head h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.tasks-section-head h2 strong {
  font-weight: 600;
  color: var(--accent);
}

.tasks-section-head p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 6px;
  max-width: 640px;
}

.tasks-count-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
}

.pool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pool-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.pool-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.pool-card-media {
  height: 176px;
  overflow: hidden;
  background: var(--bg-blush);
  position: relative;
}

.pool-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.pool-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.pool-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.pool-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
  flex: 1;
}

.pool-card-foot {
  padding-top: 14px;
  border-top: 1px solid #F3EAEF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tasks-notice-card {
  background: var(--bg-blush-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  padding: 24px 28px;
  color: var(--ink-soft);
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROJECT DETAIL PAGES (.dt-* for talent-pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.dt-hero {
  padding: 52px 0 56px;
  background:
    radial-gradient(620px 380px at 82% 28%, rgba(236, 173, 206, 0.24), transparent 72%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF3F7 100%);
}

.dt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.dt-hero-copy {
  min-width: 0;
}

.dt-hero-copy .dt-lead,
.dt-hero-copy .lead {
  margin-top: 18px;
}

.dt-hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.dt-price {
  display: inline-flex;
  flex-direction: column;
  padding: 8px 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
}

.dt-price b {
  font-size: 16px;
  font-weight: 650;
  color: var(--accent);
}

.dt-price span {
  font-size: 12px;
  color: var(--muted);
}

.dt-hero-art {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-stage);
  background: var(--bg-blush);
  aspect-ratio: 4 / 3;
}

.dt-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dt-hero-art img.portrait-focus {
  object-position: center 26%;
}

.dt-facts {
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.dt-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dt-fact {
  padding: 8px 14px;
  border-left: 2px solid var(--accent-soft);
  min-width: 0;
}

.dt-fact span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.dt-fact b {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.dt-body {
  padding: 64px 0 44px;
}

.dt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.dt-article {
  display: grid;
  gap: 36px;
  min-width: 0;
}

.dt-block {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.dt-kicker {
  margin-bottom: 8px;
}

.dt-h2 {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.24;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.dt-intro {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
}

.dt-figure {
  margin: 24px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #FAF5F8;
}

.dt-figure img {
  width: 100%;
  height: auto;
}

.dt-figure figcaption {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: #FFFFFF;
}

.dt-figure figcaption b {
  color: var(--ink);
}

.dt-figure figcaption span {
  color: var(--muted);
}

.dt-worklist {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dt-workitem {
  padding: 20px;
  border-radius: 18px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
}

.dt-workitem strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--ink);
}

.dt-idx {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.dt-workitem p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.dt-process {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dt-step {
  padding: 20px 18px;
  border-radius: 18px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
}

.dt-step b {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.dt-step h3 {
  margin-top: 12px;
  font-size: 16.5px;
  color: var(--ink);
}

.dt-step p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.dt-accept {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.dt-accept h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 600;
  color: var(--ink);
}

.dt-accept > p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.dt-accept-grid, .dt-fitgrid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dt-accept-col, .dt-fit {
  padding: 22px;
  border-radius: 20px;
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
}

.dt-accept-col h3, .dt-fit h3 {
  font-size: 16.5px;
  color: var(--ok-ink);
  margin-bottom: 12px;
}

.dt-accept-col.bad, .dt-fit.no {
  background: var(--danger-bg);
  border-color: var(--danger-line);
}

.dt-accept-col.bad h3, .dt-fit.no h3 {
  color: var(--danger-ink);
}

.dt-accept-col ul, .dt-fit ul, .dt-list {
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.dt-list {
  margin-top: 16px;
}

.dt-principle {
  padding: 22px 26px;
  border-radius: 20px;
  background: var(--accent-soft);
  border: 1px solid #E8C5D8;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.72;
}

.dt-principle b {
  color: var(--accent);
}

.dt-note {
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--bg-blush);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.dt-side {
  position: sticky;
  top: 98px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow-stage);
  display: grid;
  gap: 18px;
}

.dt-status {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: 12px;
  font-weight: 600;
}

.dt-status::before {
  content: "●";
  font-size: 10px;
}

.dt-status.warm {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

.dt-side h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.dt-side-price {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-blush-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.dt-side-price span {
  font-size: 13px;
  color: var(--muted);
}

.dt-side-price b {
  font-size: 19px;
  font-weight: 700;
  color: var(--accent);
}

.dt-side-list {
  display: grid;
  gap: 10px;
}

.dt-side-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F3EAEF;
  font-size: 14px;
}

.dt-side-list span {
  color: var(--muted);
}

.dt-side-list b {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.dt-side .btn, .dt-side .dt-btn {
  width: 100%;
}

.dt-side-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.dt-mobilebar {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   GUIDE / DOCS / ABOUT / LEGAL / STATUS PAGES (for talent-pages)
   ═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(560px 340px at 84% 20%, rgba(236, 173, 206, 0.2), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF4F8 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 44px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.026em;
  font-weight: 300;
  color: var(--ink);
}

.page-hero p.lead,
.page-hero > .wrap > p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
}

.page-meta, .meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-meta span, .meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

.doc-search-bar, .search-panel {
  margin: 28px 0 28px;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.doc-search-bar input, .search-panel input {
  width: 100%;
  border: 1px solid transparent;
  background: var(--bg-paper);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.doc-search-bar input:focus, .search-panel input:focus {
  border-color: var(--accent);
  background: #FFFFFF;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.quick-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.quick-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.quick-card h2, .quick-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}

.quick-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 44px;
  padding: 36px 0 84px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 98px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.toc b {
  display: block;
  padding: 8px 12px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.toc a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
}

.toc a:hover {
  background: var(--bg-blush-soft);
  color: var(--accent);
}

.doc-content {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.doc-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.doc-card h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.doc-card .lead {
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: none;
}

.doc-card h3 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.doc-card p {
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.doc-card ul, .doc-card ol {
  margin-bottom: 14px;
  padding-left: 22px;
  display: grid;
  gap: 7px;
  font-size: 15px;
  color: var(--ink-soft);
}

.doc-card code, .qa code {
  background: var(--bg-blush);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.9em;
  color: var(--accent);
}

.group {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.group-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF9FB 100%);
}

.group-head h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.group-head p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.badge-ok {
  color: var(--ok-ink);
  font-weight: 600;
}

.badge-no {
  color: var(--danger-ink);
  font-weight: 600;
}

.qa details {
  border-bottom: 1px solid #F2E7EE;
}

.qa details:last-child {
  border-bottom: none;
}

.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}

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

.qa summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-blush);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  flex-shrink: 0;
}

.qa details[open] summary::after {
  content: "−";
  background: var(--ink);
  color: #FFFFFF;
}

.qa p, .qa ul {
  margin: 0 28px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.qa ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.qa a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout {
  margin: 14px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid #E8C5D8;
  color: var(--ink);
  font-size: 15px;
}

.callout b {
  color: var(--accent);
}

.warn-box, .warn, .notice-box, .notice {
  margin: 14px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  color: var(--warn-ink);
  font-size: 14.5px;
  line-height: 1.7;
}

.warn-box b, .warn b, .notice-box b, .notice b {
  color: #523207;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFFFF;
}

.table-wrap table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid #F1E6EC;
  vertical-align: top;
}

.table-wrap th {
  background: var(--bg-blush-soft);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.table-wrap tr:last-child td {
  border-bottom: none;
}

.example {
  display: grid;
  gap: 10px;
  margin: 12px 0 16px;
}

.ex-row {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 14.5px;
}

.ex-row b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ex-row.ok {
  background: var(--ok-bg);
  border-color: var(--ok-line);
}

.ex-row.ok b {
  color: var(--ok-ink);
}

.ex-row.no {
  background: var(--danger-bg);
  border-color: var(--danger-line);
}

.ex-row.no b {
  color: var(--danger-ink);
}

/* About Page Grids & Cards */
.about-section {
  padding: 72px 0;
}

.about-section.alt {
  background: var(--bg-blush-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.about-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.about-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.about-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
}

.about-photo {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-stage);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legal Pages (privacy.html / terms.html) */
.legal-shell {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 84px;
}

.legal-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 42px 46px;
  box-shadow: var(--shadow-stage);
  margin-top: 28px;
}

.legal-card h2 {
  margin: 32px 0 12px;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.78;
}

.legal-card p {
  margin-bottom: 12px;
}

.legal-card ul, .legal-card ol {
  padding-left: 22px;
  margin-bottom: 14px;
  display: grid;
  gap: 7px;
}

.legal-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Status Pages (thanks.html / 404.html & hero status box) */
.status-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.status-card b {
  display: block;
  font-size: 17px;
  color: var(--ink);
}

.status-card span {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.status-shell {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.status-shell .status-card {
  padding: 44px 40px;
  border-radius: 28px;
  box-shadow: var(--shadow-stage);
}

.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: 26px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.status-code {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.status-shell h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.status-shell p {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.72;
}

.status-steps {
  margin: 26px 0;
  display: grid;
  gap: 12px;
}

.status-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
}

.status-step > i,
.status-step > span:first-child {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.status-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   JOIN / REGISTRATION PAGE (join.html — 1.3.2 Contract Preserved)
   ═══════════════════════════════════════════════════════════════════════════ */
.join-main {
  padding: 44px 0 80px;
}

.join-layout {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.side-panel {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.side-photo {
  position: relative;
  height: 300px;
  background: var(--bg-blush);
  overflow: hidden;
}

.side-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.side-body {
  padding: 28px;
}

.side-body h1 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.side-body h1 strong {
  font-weight: 600;
  color: var(--accent);
}

.side-body p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

.side-pledges {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #F2E7EE;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.side-pledges div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-pledges div::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.register-card {
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-stage);
  min-width: 0;
}

.access-gate {
  padding: 36px 40px;
}

.gate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid #F2E7EE;
  font-size: 13.5px;
  color: var(--muted);
}

.gate-login {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.access-content {
  padding: 28px 0 24px;
  max-width: 480px;
}

.access-content h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.access-content h2 strong {
  font-weight: 600;
  color: var(--accent);
}

.access-content > p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

.access-content label {
  display: block;
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.access-content input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.access-content input:focus {
  border-color: var(--accent);
  background: #FFFFFF;
}

.gate-button {
  margin-top: 18px;
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 26px -10px rgba(25, 17, 23, 0.42);
  transition: background 0.18s ease, transform 0.18s ease;
}

.gate-button:hover {
  background: #2D1F29;
  transform: translateY(-1px);
}

.gate-foot {
  padding-top: 18px;
  border-top: 1px solid #F2E7EE;
  font-size: 13px;
  color: var(--muted);
}

.gate-foot a {
  color: var(--ink);
  font-weight: 600;
  margin-left: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.registration-flow {
  display: none;
}

.register-card.is-registering .access-gate {
  display: none;
}

.register-card.is-registering .registration-flow {
  display: block;
}

.card-head {
  padding: 30px 36px 22px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.title-row h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.title-row p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.project-context {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid #E6C2D6;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.method-tabs {
  display: flex;
  gap: 10px;
}

.method-tab {
  min-height: 38px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.method-tab.active {
  background: var(--accent-soft);
  border-color: #E6C2D6;
  color: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-light);
}

.step::before {
  content: attr(data-num);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-blush);
  color: var(--muted);
  font-size: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step.active {
  color: var(--accent);
}

.step.active::before {
  background: var(--accent);
  color: #FFFFFF;
}

.form-body {
  padding: 28px 36px 32px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-title {
  margin-bottom: 18px;
  font-size: 14.5px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field.wide, .wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #FFFFFF;
}

.hint-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-blush-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
}

.data-use {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.data-use a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.summary {
  display: grid;
  gap: 4px;
}

.summary-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #F2E7EE;
  font-size: 14px;
}

.summary-row b {
  color: var(--ink);
  font-weight: 600;
}

.summary-row span {
  color: var(--muted);
}

.captcha-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.captcha-image {
  width: 156px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  object-fit: contain;
}

.captcha-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.captcha-actions .field {
  flex: 1 1 160px;
}

.captcha-actions button {
  min-height: 46px;
  padding: 0 12px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}

.agreement {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.agreement input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.agreement a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message {
  min-height: 24px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ok-ink);
}

.message.error {
  color: var(--danger-ink);
}

.bottom-note {
  padding: 16px 36px;
  background: var(--bg-blush-soft);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.bottom-note b {
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════════════════
   B2B ENTERPRISE PAGES (for-clients.html & contact.html — for b2b-intake)
   ═══════════════════════════════════════════════════════════════════════════ */
.b2b-hero {
  padding: 60px 0 68px;
  background:
    radial-gradient(640px 400px at 84% 25%, rgba(166, 27, 100, 0.14), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F7EFF4 100%);
  border-bottom: 1px solid var(--line);
}

.b2b-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 48px;
  align-items: center;
}

.b2b-hero h1 {
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: 1.13;
  font-weight: 300;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.b2b-hero p.lead {
  margin-top: 18px;
}

.b2b-metrics {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.b2b-metric, .b2b-metrics > div {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}

.b2b-metric strong, .b2b-metrics strong, .b2b-metrics b {
  display: block;
  font-size: 20px;
  font-weight: 650;
  color: var(--accent);
}

.b2b-metric span, .b2b-metrics span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.b2b-hero-art {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-stage);
  aspect-ratio: 4 / 3.1;
}

.b2b-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b2b-section {
  padding: 84px 0;
}

.b2b-section.alt {
  background: linear-gradient(180deg, #F7EFF4 0%, #FCF8FA 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.b2b-cap-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.b2b-cap-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.b2b-cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.b2b-cap-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.b2b-cap-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

.b2b-sop-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.b2b-sop-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.b2b-sop-card b, .b2b-sop-num {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.b2b-sop-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.b2b-sop-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
}

.b2b-trust-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.b2b-trust-grid > div, .b2b-trust-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.b2b-trust-grid h3, .b2b-trust-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.b2b-trust-grid p, .b2b-trust-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

.b2b-inquiry-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.b2b-form-card {
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-stage);
  min-width: 0;
}

.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 22px;
}

.intent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
  transition: all 0.16s ease;
}

.intent-chip:hover {
  border-color: var(--accent);
}

.intent-chip input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
}

.intent-chip.is-active,
.intent-chip:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.b2b-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.b2b-form-grid .full,
.b2b-form-grid .wide {
  grid-column: 1 / -1;
}

.b2b-form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.b2b-form-card label.intent-chip {
  display: inline-flex;
  margin-bottom: 0;
}

.b2b-form-card input:not([type="checkbox"]):not([type="radio"]),
.b2b-form-card select,
.b2b-form-card textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.b2b-form-card textarea {
  min-height: 116px;
  resize: vertical;
}

.b2b-form-card input:focus,
.b2b-form-card select:focus,
.b2b-form-card textarea:focus {
  border-color: var(--accent);
  background: #FFFFFF;
}

.b2b-receipt {
  padding: 28px;
  border-radius: 22px;
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
  color: var(--ink);
}

.b2b-receipt h3 {
  font-size: 22px;
  color: var(--ok-ink);
  margin-bottom: 8px;
}

.b2b-receipt p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.b2b-section-head {
  max-width: 720px;
}

.b2b-contact-hero {
  padding: 56px 0 60px;
}

.b2b-contact-hero-head {
  max-width: 760px;
}

.b2b-section-head p.lead,
.b2b-contact-hero-head p.lead {
  margin-top: 14px;
}

.b2b-cap-badge,
.b2b-route-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.b2b-cap-tags {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #F2E7EE;
  font-size: 12.5px;
  color: var(--muted);
}

.b2b-routing-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.b2b-route-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.b2b-route-card.primary-route {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-stage);
}

.b2b-route-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.b2b-route-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

.b2b-route-actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.b2b-inquiry-aside,
.b2b-verify-stack {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.b2b-aside-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 14px;
  min-width: 0;
}

.b2b-verify-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 14px;
  min-width: 0;
}

.b2b-aside-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.b2b-verify-card h2,
.b2b-verify-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}

.b2b-aside-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.b2b-antifraud-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.68;
}

.b2b-contact-pills {
  display: grid;
  gap: 12px;
}

.b2b-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
}

.b2b-contact-row span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.b2b-contact-row a {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  word-break: break-all;
}

.b2b-contact-row a:hover {
  color: var(--accent);
}

.b2b-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.b2b-copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.b2b-form-head {
  margin-bottom: 20px;
}

.b2b-form-head h2,
.b2b-form-head h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.b2b-form-head p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.b2b-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.b2b-submit-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.b2b-submit-note {
  font-size: 12.5px;
  color: var(--muted);
}

.b2b-status-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--danger-bg);
  border: 1px solid var(--danger-line);
  color: var(--danger-ink);
  font-size: 14px;
  line-height: 1.65;
  gap: 12px;
}

.b2b-status-box:not([hidden]) {
  display: grid;
}

.b2b-fallback-actions,
.b2b-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.b2b-receipt-meta {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ok-line);
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.b2b-receipt-meta strong {
  color: var(--ok-ink);
  font-size: 16px;
}

/* Off-screen Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Status card spacing on thanks.html */
.status-card .callout {
  margin-top: 22px;
}

/* Hero actions inside page-hero or about page */
.page-hero .hero-actions {
  margin-top: 24px;
}

/* About figure spacing */
.about-section .dt-figure {
  margin: 30px 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (Tablet <= 980px & Mobile 390px Zero-Overflow)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1120px) {
  .paths-layout {
    grid-template-columns: minmax(220px, 0.72fr) minmax(240px, 0.84fr) minmax(300px, 1.08fr);
    gap: 32px;
  }
}

@media (max-width: 980px) {
  .wrap, .dt-wrap, .legal-shell {
    width: calc(100% - 32px);
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header-inner {
    min-height: 68px;
  }

  .hero-section {
    padding: 32px 0 56px;
  }

  .hero-grid,
  .hiw-stage-card,
  .projects-grid,
  .projects-grid[data-count="1"],
  .projects-grid[data-count="2"],
  .projects-grid[data-count="3"],
  .projects-grid[data-count="4"],
  .project-card.is-spotlight,
  .bigger-grid,
  .faq-layout,
  .paths-layout,
  .footer-grid,
  .dt-hero-grid,
  .dt-layout,
  .page-hero-grid,
  .doc-layout,
  .about-grid2,
  .about-grid3,
  .join-layout,
  .b2b-hero-grid,
  .b2b-inquiry-wrap,
  .b2b-routing-grid {
    grid-template-columns: 1fr;
  }

  .project-card.is-spotlight {
    padding: 24px;
    gap: 20px;
  }

  .project-spotlight-main h3 {
    font-size: 22px;
  }

  .editorial-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .paths-layout {
    gap: 28px;
    padding: 72px 0;
  }

  .paths-intro {
    position: static;
  }

  .paths-nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 22px;
  }

  .paths-step-btn {
    width: auto;
    flex: 1 1 170px;
  }

  .paths-visual-stack {
    position: relative;
    top: auto;
    max-width: 420px;
    aspect-ratio: 3 / 3.8;
    max-height: 420px;
  }

  .paths-cards {
    gap: 20px;
    padding: 0;
  }

  .paths-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .paths-card:not(.is-active) {
    opacity: 0.82;
    transform: none;
  }

  .hiw-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hiw-tabs::before {
    display: none;
  }

  .hiw-stage-card {
    padding: 28px 22px;
    gap: 28px;
  }

  .hiw-media {
    flex-direction: column;
    min-height: 0;
  }

  .hiw-photo-box {
    width: 100%;
    height: 300px;
  }

  .hiw-overlay-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 16px);
    margin: -42px auto 0;
  }

  .bigger-card {
    grid-template-columns: 1fr;
  }

  .discovery-banner {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .faq-aside,
  .toc,
  .dt-side {
    position: static;
  }

  .closing-outer, .dt-closing {
    padding: 12px 16px 48px;
  }

  .closing-stage, .dt-closing-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 26px;
    border-radius: 26px;
  }

  .pool-grid,
  .b2b-cap-grid,
  .b2b-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-sop-grid,
  .dt-fact-grid,
  .dt-process,
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tasks-controls {
    top: 68px;
  }

  /* Mobile Sticky Bottom Action Bar for Project Details */
  body:has(.dt-mobilebar) {
    padding-bottom: 84px;
  }

  .dt-mobilebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-strong);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -10px 28px rgba(25, 11, 22, 0.08);
  }

  .dt-mobilebar span {
    display: block;
    font-size: 12px;
    color: var(--muted);
  }

  .dt-mobilebar b {
    display: block;
    font-size: 15px;
    color: var(--accent);
  }

  .dt-mobilebar .btn,
  .dt-mobilebar .dt-btn {
    min-height: 42px;
    padding: 8px 18px;
    font-size: 13.5px;
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 17.5px;
    gap: 8px;
  }

  .brand svg {
    width: 26px;
    height: 26px;
  }

  .brand-tag {
    font-size: 10.5px;
    padding: 2px 7px;
  }

  /* Clean 390px Hero Visual Stage without horizontal bleed */
  .hero-stage {
    min-height: 380px;
    height: 380px;
    overflow: hidden;
    border-radius: 24px;
  }

  .hero-arc-top {
    width: 200px;
    height: 180px;
    top: 12px;
    left: 8px;
  }

  .hero-arc-bottom {
    width: 190px;
    height: 165px;
    right: 8px;
    bottom: 12px;
  }

  .hero-room-frame {
    width: 88%;
    height: 300px;
    border-radius: 22px;
  }

  .hero-person-clip {
    width: 88%;
    height: 344px;
    bottom: 40px;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }

  .hero-stat-card {
    padding: 10px 13px;
    border-radius: 14px;
    min-width: 0;
  }

  .hero-stat-card strong {
    font-size: 18px;
  }

  .hero-stat-card b {
    font-size: 11.5px;
    margin-top: 2px;
  }

  .hero-stat-card span {
    display: none;
  }

  .hero-stat-card.pos-top-right {
    top: 14px;
    right: 6px;
    min-width: 0;
  }

  .hero-stat-card.pos-bottom-left {
    bottom: 14px;
    left: 6px;
    min-width: 0;
  }

  .hero-stat-card.pos-mid-right {
    bottom: 74px;
    right: 6px;
    min-width: 0;
  }

  .domain-track {
    grid-auto-columns: minmax(256px, 280px);
  }

  .project-card,
  .dt-block,
  .dt-accept,
  .doc-card,
  .legal-card,
  .status-shell .status-card,
  .b2b-form-card,
  .b2b-route-card,
  .b2b-verify-card,
  .b2b-aside-card,
  .access-gate,
  .card-head,
  .form-body {
    padding: 22px 18px;
  }

  .bottom-note {
    padding: 14px 18px;
  }

  .pool-grid,
  .b2b-cap-grid,
  .b2b-sop-grid,
  .b2b-trust-grid,
  .b2b-metrics,
  .b2b-form-grid,
  .dt-fact-grid,
  .dt-worklist,
  .dt-process,
  .dt-accept-grid,
  .dt-fitgrid,
  .quick-grid,
  .doc-search-bar,
  .search-panel,
  .grid,
  .captcha-box,
  .pledge-mini {
    grid-template-columns: 1fr;
  }

  .summary-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .actions {
    flex-direction: column-reverse;
  }

  .actions .btn,
  .actions .dt-btn {
    width: 100%;
  }

  .tasks-search {
    flex: 1 1 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BILINGUAL SWITCH & DELIVERABLE SPEC PREVIEW (v2.2.0)
   ═══════════════════════════════════════════════════════════════════════════ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.en-spec-shell {
  margin-top: 36px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-stage);
}

.en-spec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.en-spec-tab {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.en-spec-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.en-spec-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.en-spec-panel {
  padding-top: 24px;
}

.en-spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: start;
}

.en-spec-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.en-spec-meta h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}

.en-spec-meta p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
}

.en-spec-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  list-style: none;
}

.en-spec-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.en-spec-list strong {
  color: var(--ink);
  font-weight: 650;
}

.en-code-card {
  background: var(--plum-deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(26, 10, 22, 0.55);
  min-width: 0;
  max-width: 100%;
}

.en-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.en-code-file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.en-code-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.en-code-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(247, 239, 244, 0.22);
}

.en-code-dots span:first-child {
  background: rgba(244, 114, 182, 0.65);
}

.en-code-dots span:nth-child(2) {
  background: rgba(251, 191, 36, 0.58);
}

.en-code-dots span:last-child {
  background: rgba(74, 222, 128, 0.58);
}

.en-code-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: rgba(247, 239, 244, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.en-code-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.en-code-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(20, 108, 67, 0.28);
  color: #86EFAC;
  border: 1px solid rgba(134, 239, 172, 0.28);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.en-code-copy {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #F7EFF4;
  font-size: 11.5px;
  font-weight: 600;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.en-code-copy:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

.en-code-block {
  margin: 0;
  padding: 18px 20px;
  background: transparent;
  color: #F7EFF4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre;
  min-width: 0;
  max-width: 100%;
}

.en-code-block .jk { color: #F5A3D0; }
.en-code-block .js { color: #8CE5B6; }
.en-code-block .jn { color: #FBC27E; }
.en-code-block .jb { color: #9CCBFF; }
.en-code-block .jp { color: rgba(247, 239, 244, 0.56); }

.en-code-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  color: rgba(247, 239, 244, 0.65);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.en-spec-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1140px) and (min-width: 981px) {
  .wrap, .dt-wrap {
    width: min(var(--max-w), calc(100% - 40px));
  }

  .header-inner {
    gap: 14px;
  }

  .brand-tag {
    display: none;
  }

  .main-nav {
    gap: 18px;
    font-size: 13.5px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn.sm {
    padding: 7px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .en-spec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .en-spec-shell {
    padding: 20px 16px;
  }

  .en-code-bar {
    flex-wrap: wrap;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH FILTERING & HTML HIDDEN ATTRIBUTE GUARANTEE (KEEP AT END)
   ═══════════════════════════════════════════════════════════════════════════ */
.hidden-by-search,
[hidden],
.projects-more-bar[hidden],
.project-card[hidden],
.pool-card[hidden],
.tasks-notice-card[hidden],
.project-context[hidden],
.b2b-status-box[hidden],
.b2b-receipt[hidden],
.en-spec-panel[hidden],
.doc-card[hidden],
.group[hidden] {
  display: none;
}
