:root {
  --bg: #f7f5f0;
  --panel: #ffffff;
  --panel-soft: #fbfaf7;
  --panel-tint: #efeee9;
  --panel-tint-2: #f4f2ec;
  --ink: #111111;
  --muted: #66645f;
  --line: #dedbd2;
  --line-strong: #c9c4b8;
  --accent: #111111;
  --accent-dark: #000000;
  --accent-soft: #f0eee8;
  --gold: #9b6a22;
  --gold-soft: #fbf3df;
  --danger: #a92a1f;
  --shadow: none;
  --section-gap: clamp(72px, 9vw, 132px);
  --block-gap: 22px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }

button,
a,
.match-card,
.package-card,
.feature-card,
.record-card,
.section-band,
.wc-news-stack article,
.wc-schedule-grid article,
.wc-team-grid article {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(17,17,17,0.82);
  outline-offset: 3px;
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowPan {
  0% { background-position: center center; }
  50% { background-position: center top; }
  100% { background-position: center center; }
}

@keyframes linePulse {
  0%, 100% { opacity: 0.55; transform: scaleX(0.94); }
  50% { opacity: 0.95; transform: scaleX(1); }
}

@keyframes surfaceBreath {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes ambientSweep {
  0% { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  22% { opacity: 0.24; }
  50% { opacity: 0.08; }
  100% { transform: translateX(130%) skewX(-12deg); opacity: 0; }
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes numberPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.015); opacity: 0.92; }
}

@keyframes rotateSheen {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes cardGlow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32); }
  50% { box-shadow: inset 0 0 0 1px rgba(155,106,34,0.24), 0 18px 50px rgba(0,0,0,0.08); }
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  background: rgba(247, 245, 240, 0.92);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  padding: 14px 28px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) minmax(220px, 330px);
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 250px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  display: block;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}

.mobile-menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fbfaf7;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  min-width: 0;
}

.nav-link,
.nav-item {
  border: 1px solid transparent;
  background: transparent;
  color: #2b2a27;
  text-align: center;
  padding: 9px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.nav-item-secondary {
  color: var(--muted);
}

.hero-actions {
  flex-wrap: wrap;
}

.nav-link:hover,
.nav-item:hover,
.nav-item.active {
  background: #ebe8df;
  border-color: #e2ded3;
  color: var(--ink);
}

.sidebar-note {
  display: none;
}

.token-panel {
  justify-self: end;
  width: auto;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.account-menu {
  position: relative;
}

.account-menu-trigger::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.account-menu-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 300px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 24px 80px rgba(0,0,0,0.12);
  backdrop-filter: blur(18px);
  padding: 10px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 70;
}

.account-menu.open .account-menu-popover,
.account-menu:focus-within .account-menu-popover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.account-menu-head {
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(239,238,233,0.9), rgba(247,245,240,0.98));
  padding: 14px;
  display: grid;
  gap: 4px;
  margin-bottom: 6px;
}

.account-menu-head span,
.account-menu-head small {
  color: var(--muted);
  font-size: 12px;
}

.account-menu-head strong {
  font-size: 18px;
  font-weight: 560;
}

.account-menu-popover button {
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 12px 13px;
  text-align: left;
}

.account-menu-popover button:hover {
  background: #f3f1eb;
}

.dev-token {
  display: none !important;
}

.token-panel label {
  display: none;
}

.token-panel .hint {
  display: none;
  color: var(--muted);
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 11px 14px;
  outline: none;
}

.token-panel textarea {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 330px;
  min-height: 94px;
  max-height: 94px;
  resize: none;
  overflow: auto;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  border-radius: 18px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  z-index: 50;
}

.token-panel:hover textarea,
.token-panel:focus-within textarea {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.main {
  width: min(1310px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 86px 0 72px;
  min-width: 0;
}

.topbar {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  text-align: left;
  margin-bottom: var(--section-gap);
  animation: softRise 0.7s ease both;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 6% 48% auto -6%;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(155,106,34,0.12), transparent 68%);
  pointer-events: none;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  margin-bottom: 16px;
}

h1 {
  max-width: 1000px;
  font-size: clamp(52px, 7.1vw, 108px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h2 {
  font-size: 24px;
  font-weight: 560;
}

h3 {
  font-size: 24px;
  font-weight: 560;
}

.topbar-copy {
  color: var(--muted);
  margin-top: 22px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.68;
}

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

.hero-system-card {
  display: none !important;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 8%, rgba(155,106,34,0.16), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.74), rgba(239,238,233,0.96));
  padding: clamp(22px, 3vw, 34px);
  min-height: 410px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  overflow: hidden;
  animation: cardGlow 9s ease-in-out infinite;
}

.hero-system-head,
.hero-system-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.hero-system-head span,
.hero-system-foot span,
.hero-system-flow span,
.hero-signal-preview span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.hero-system-head strong {
  font-size: 22px;
  font-weight: 560;
}

.hero-system-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-system-flow article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.66);
  padding: 16px;
  min-height: 126px;
}

.hero-system-flow strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
  font-weight: 500;
}

.hero-system-flow p {
  color: var(--muted);
  margin-top: 8px;
}

.hero-signal-preview {
  display: grid;
  gap: 9px;
}

.hero-signal-preview i {
  position: relative;
  display: block;
  height: 9px;
  border-radius: 999px;
  background: #111;
  overflow: hidden;
}

.hero-signal-preview i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.36), transparent);
  animation: ambientSweep 3.8s ease-in-out infinite;
}

.hero-system-foot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.hero-system-foot strong {
  font-size: 16px;
  line-height: 1.3;
}

body:not([data-active-view="overview"]) .topbar {
  display: none;
}

body:not([data-active-view="overview"]) .main {
  padding-top: 54px;
}

.account-card {
  min-width: 210px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 5px;
}

.account-card span,
.account-card small {
  color: var(--muted);
}

.account-card strong {
  font-size: 28px;
  font-weight: 520;
}

.view { display: none; }
.view.active { display: block; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.product-status-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: var(--section-gap);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.76), rgba(239,238,233,0.98));
  animation: softRise 0.62s ease both;
}

.product-status-panel h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  font-weight: 500;
}

.product-status-panel p {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7;
}

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

.status-metrics button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  padding: 18px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.status-metrics button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.status-metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.status-metrics strong {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  font-weight: 500;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  grid-template-rows: repeat(2, minmax(250px, auto));
  gap: var(--block-gap);
  margin-bottom: var(--section-gap);
}

.method-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--line);
  margin-bottom: var(--section-gap);
}

.anchor-section {
  scroll-margin-top: 124px;
}

.section-intro {
  margin-bottom: 22px;
  max-width: 860px;
}

.section-intro h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  font-weight: 500;
}

.section-intro p {
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.72;
}

.method-strip article {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.62), rgba(239,238,233,0.96));
  padding: 22px;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.method-strip article:hover {
  background: #fff;
  transform: translateY(-1px);
}

.method-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.method-strip strong {
  font-size: 22px;
  font-weight: 560;
}

.method-strip p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.worldcup-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--block-gap);
  margin-bottom: var(--section-gap);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.68), rgba(0,0,0,0.22)),
    url("https://images.unsplash.com/photo-1527871369852-eb58cb2b54e2?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  animation: softRise 0.7s ease both, slowPan 18s ease-in-out infinite;
}

.worldcup-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  pointer-events: none;
  animation: ambientSweep 8s ease-in-out infinite;
}

.worldcup-panel > * {
  position: relative;
  z-index: 1;
}

.worldcup-copy {
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.worldcup-copy .feature-meta,
.worldcup-copy p {
  color: rgba(255,255,255,0.78);
}

.worldcup-copy h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.05;
}

.worldcup-copy p {
  max-width: 760px;
  margin-top: 16px;
  line-height: 1.72;
}

.worldcup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.worldcup-actions .button.primary {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.worldcup-actions a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.48);
  padding-bottom: 2px;
}

.countdown-card {
  margin: 18px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  color: #111;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  backdrop-filter: blur(14px);
  animation: subtleFloat 6s ease-in-out infinite;
}

.countdown-card span,
.countdown-card small {
  color: #66645f;
}

.countdown-number-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 4px 0 2px;
}

.countdown-card strong {
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.95;
  font-weight: 500;
  transform-origin: left center;
  animation: numberPulse 4s ease-in-out infinite;
}

.countdown-number-row em {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.countdown-clock {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-variant-numeric: tabular-nums;
  color: #333;
}

.news-section {
  margin-bottom: var(--section-gap);
  animation: softRise 0.7s ease both;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(239,238,233,0.96));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.news-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.news-card h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-top: 16px;
}

.news-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 18px;
}

.wc-center-hero {
  position: relative;
  min-height: 560px;
  display: block;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.48) 45%, rgba(9,62,66,0.18) 100%),
    url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
  animation: softRise 0.58s ease both, slowPan 22s ease-in-out infinite;
}

.wc-center-hero::before,
.wc-center-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wc-center-hero::before {
  background:
    radial-gradient(circle at 68% 24%, rgba(244,213,148,0.3), transparent 26%),
    linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  width: 52%;
  animation: ambientSweep 9s ease-in-out infinite;
}

.wc-center-hero::after {
  border: 1px solid rgba(255,255,255,0.08);
  inset: 18px;
  border-radius: 22px;
}

.wc-center-copy,
.wc-countdown-panel {
  position: relative;
  z-index: 1;
}

.wc-center-copy {
  padding: clamp(34px, 5vw, 68px);
  padding-right: min(340px, 30vw);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: none;
}

.wc-center-copy .eyebrow,
.wc-center-copy p {
  color: rgba(255,255,255,0.78);
}

.wc-center-copy .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.wc-center-copy h2 {
  max-width: none;
  font-size: clamp(40px, 4.35vw, 68px);
  line-height: 1;
  font-weight: 620;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: nowrap;
}

.wc-center-copy h2 span {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
}

.wc-center-copy h2 span + span {
  margin-left: 0.22em;
}

.wc-center-copy p {
  max-width: 760px;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.78;
}

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

.wc-hero-actions .button {
  min-width: 134px;
}

.wc-hero-actions .button.primary {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.wc-countdown-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(292px, 26vw);
  margin: 0;
  padding: 28px;
  min-height: 282px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(247,245,240,0.92), rgba(219,231,232,0.86));
  color: #111;
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32);
  animation: subtleFloat 6s ease-in-out infinite, cardGlow 7s ease-in-out infinite;
}

.wc-countdown-panel .countdown-number-row {
  align-items: baseline;
  gap: 16px;
}

.wc-countdown-panel::before {
  content: "";
  position: absolute;
  inset: -42%;
  background:
    conic-gradient(from 90deg, transparent 0deg, rgba(155,106,34,0.18) 68deg, transparent 128deg, rgba(255,255,255,0.28) 190deg, transparent 260deg);
  opacity: 0.8;
  animation: rotateSheen 13s linear infinite;
}

.wc-countdown-panel::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(155,106,34,0.26);
  border-top-color: rgba(17,17,17,0.72);
  opacity: 0.78;
  animation: rotateSheen 5.5s linear infinite;
}

.wc-countdown-panel > * {
  position: relative;
  z-index: 1;
}

.wc-countdown-panel span,
.wc-countdown-panel small {
  color: var(--muted);
}

.wc-countdown-panel strong {
  font-size: clamp(66px, 7.2vw, 94px);
  line-height: 0.94;
  font-weight: 500;
  white-space: nowrap;
  animation: numberPulse 4s ease-in-out infinite;
}

.wc-countdown-panel .countdown-number-row em {
  margin-bottom: 0;
  color: #4d4a44;
  font-size: 14px;
  letter-spacing: 0;
}

.wc-signal-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.wc-signal-rail i {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23,23,22,0.18), rgba(23,23,22,0.62), rgba(23,23,22,0.18));
  background-size: 180% 100%;
  animation: linePulse 3.6s ease-in-out infinite;
}

.wc-signal-rail i:nth-child(2) {
  animation-delay: 0.32s;
}

.wc-signal-rail i:nth-child(3) {
  animation-delay: 0.64s;
}

.wc-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 var(--section-gap);
}

.wc-status-grid article,
.wc-news-stack article,
.wc-schedule-grid article,
.wc-team-grid article,
.wc-path-column {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(239,238,233,0.96));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.wc-status-grid article {
  min-height: 184px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wc-status-grid article:hover,
.wc-news-stack article:hover,
.wc-schedule-grid article:hover,
.wc-team-grid article:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.wc-status-grid span,
.wc-news-stack span,
.wc-schedule-grid span,
.wc-team-grid span,
.wc-path-column span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.wc-status-grid strong {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.96;
  font-weight: 500;
}

.wc-status-grid p,
.wc-news-stack p,
.wc-schedule-grid p,
.wc-schedule-grid small,
.wc-team-grid p,
.wc-path-column p,
.wc-method-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.wc-briefing-section,
.wc-path-section,
.wc-schedule-section,
.wc-team-section,
.wc-method-panel {
  margin-bottom: var(--section-gap);
  animation: softRise 0.62s ease both;
}

.wc-briefing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 14px;
}

.wc-lead-brief {
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.72)),
    url("https://images.unsplash.com/photo-1459865264687-595d652de67e?auto=format&fit=crop&w=1400&q=82");
  background-size: cover;
  background-position: center;
  animation: slowPan 20s ease-in-out infinite;
}

.wc-lead-brief span,
.wc-lead-brief p {
  color: rgba(255,255,255,0.78);
}

.wc-lead-brief h3 {
  margin-top: 12px;
  max-width: 760px;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.08;
  font-weight: 570;
}

.wc-lead-brief p {
  max-width: 700px;
  margin-top: 20px;
  line-height: 1.72;
}

.wc-news-stack {
  display: grid;
  gap: 12px;
}

.wc-news-stack article {
  padding: 22px;
  min-height: 145px;
}

.wc-news-stack.is-refreshing,
.wc-schedule-grid.is-refreshing,
.wc-team-grid.is-refreshing,
.wc-path-board.is-refreshing {
  position: relative;
}

.wc-news-stack.is-refreshing::after,
.wc-schedule-grid.is-refreshing::after,
.wc-team-grid.is-refreshing::after,
.wc-path-board.is-refreshing::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.42) 42%, transparent 70%);
  animation: ambientSweep 1.8s ease-in-out infinite;
  pointer-events: none;
}

.wc-data-empty {
  border-style: dashed !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.58), rgba(239,238,233,0.78)) !important;
}

.wc-news-stack strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 560;
}

.wc-news-stack p {
  margin-top: 10px;
}

.wc-path-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.wc-path-column {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wc-path-column strong {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  font-weight: 530;
}

.wc-path-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.8;
  animation: linePulse 3.8s ease-in-out infinite;
}

.wc-schedule-grid,
.wc-team-grid {
  display: grid;
  gap: 12px;
}

.wc-schedule-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wc-schedule-grid article {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.wc-schedule-grid strong,
.wc-team-grid strong {
  display: block;
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 560;
}

.wc-schedule-grid p,
.wc-team-grid p {
  margin-top: 14px;
}

.wc-schedule-grid small {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  font-size: 13px;
}

.wc-team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wc-team-grid article {
  min-height: 180px;
  padding: 22px;
}

.wc-method-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 22px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(145deg, rgba(239,238,233,0.86), rgba(255,255,255,0.72));
}

.wc-method-panel h2 {
  max-width: 820px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.04;
  font-weight: 580;
}

.wc-method-panel p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 16px;
}

.wc-method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wc-method-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.54);
  text-align: center;
  color: #333;
}

.feature-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.58), rgba(239,238,233,0.96));
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  min-height: 250px;
  animation: softRise 0.7s ease both;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(242,240,234,0.98));
}

.feature-card:nth-child(2) { animation-delay: 0.08s; }
.feature-card:nth-child(3) { animation-delay: 0.14s; }

.feature-card-large {
  grid-row: span 2;
}

.feature-card > div:last-child {
  padding: 24px;
}

.feature-body {
  min-height: 270px;
}

.dense-body {
  display: flex;
  flex-direction: column;
}

.feature-meta {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 12px;
}

.feature-card h2 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  max-width: 760px;
}

.feature-card-large h2 {
  font-size: clamp(28px, 2.25vw, 36px);
  line-height: 1.12;
  max-width: 900px;
}

@media (min-width: 1181px) {
  .feature-card-large h2 {
    white-space: nowrap;
  }
}

.feature-card:not(.feature-card-large) h2 {
  font-size: 24px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.68;
  margin-top: 14px;
}

.capability-grid {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.capability-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 10px;
  text-align: center;
  font-size: 13px;
  color: #333;
  background: #faf9f5;
  white-space: nowrap;
}

.feature-visual {
  min-height: 220px;
  border-bottom: 1px solid var(--line);
  background: #f2f0ea;
  position: relative;
  overflow: hidden;
}

.market-visual {
  min-height: 420px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(0,0,0,0.78), rgba(0,0,0,0.18)),
    url("https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  animation: slowPan 16s ease-in-out infinite;
}

.visual-header,
.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.visual-header strong {
  font-size: 72px;
  font-weight: 520;
}

.market-lines {
  width: min(520px, 80%);
  display: grid;
  gap: 14px;
}

.market-lines span {
  height: 14px;
  display: block;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  transform-origin: left center;
  animation: linePulse 3.8s ease-in-out infinite;
}

.market-lines span:nth-child(2) { animation-delay: 0.35s; }
.market-lines span:nth-child(3) { animation-delay: 0.7s; }
.market-lines span:nth-child(4) { animation-delay: 1.05s; }

.report-visual,
.schedule-visual {
  padding: 24px;
  display: grid;
  align-content: end;
  gap: 8px;
}

.report-visual {
  color: #fff;
  background:
    linear-gradient(160deg, rgba(0,0,0,0.85), rgba(0,0,0,0.12)),
    url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  animation: slowPan 18s ease-in-out infinite;
}

.report-visual strong {
  font-size: 34px;
  font-weight: 520;
  line-height: 1.05;
}

.report-visual small,
.schedule-visual span {
  opacity: 0.78;
}

.schedule-visual {
  background:
    linear-gradient(160deg, rgba(247,245,240,0.18), rgba(247,245,240,0.88)),
    url("https://images.unsplash.com/photo-1518091043644-c1d4457512c6?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  animation: slowPan 20s ease-in-out infinite;
}

.schedule-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 52%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  pointer-events: none;
  animation: ambientSweep 9s ease-in-out infinite;
}

.schedule-visual > * {
  position: relative;
  z-index: 1;
}

.schedule-visual div {
  font-size: 44px;
  line-height: 1.02;
  font-weight: 520;
  animation: subtleFloat 7s ease-in-out infinite;
}

.metric,
.section-band,
.detail-panel,
.match-card,
.record-card,
.package-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(244,242,236,0.94));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.metric {
  min-height: 168px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.metric span,
.metric small {
  color: var(--muted);
}

.metric strong {
  font-size: 26px;
  font-weight: 520;
  line-height: 1.1;
}

.section-band,
.detail-panel {
  padding: 24px;
}

.hero-panel {
  min-height: 170px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.update-panel {
  border-radius: 22px;
  margin-bottom: var(--section-gap);
}

.agent-cta-panel {
  min-height: 240px;
  margin-bottom: 28px;
  border-radius: 22px;
  background:
    linear-gradient(110deg, #efeee9, #f7f5f0, #e9e6dd);
  background-size: 180% 180%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 4vw, 44px);
  animation: softRise 0.7s ease both, surfaceBreath 12s ease-in-out infinite;
}

.agent-cta-panel h2 {
  max-width: 920px;
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.08;
  font-weight: 500;
  white-space: nowrap;
}

.agent-cta-panel p {
  color: var(--muted);
  max-width: 760px;
  margin-top: 16px;
  line-height: 1.68;
}

.agent-flow-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  padding: 20px;
}

.agent-flow-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 14px;
}

.agent-flow-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.agent-flow-card li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 12px;
}

.agent-flow-card p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.agent-flow-card code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.doc-links :is(a, button) {
  appearance: none;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font: inherit;
  background: #fff;
  cursor: pointer;
}

.doc-links :is(a, button)::after {
  content: " ↗";
  font-size: 12px;
}

.doc-links :is(a, button):hover {
  border-color: var(--ink);
}

.cta-panel {
  min-height: 360px;
  margin-top: 0;
  margin-bottom: var(--section-gap);
  border-radius: 22px;
  background:
    linear-gradient(110deg, #efeee9, #f7f5f0, #e9e6dd);
  background-size: 180% 180%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 42px 24px;
  animation: softRise 0.7s ease both, surfaceBreath 12s ease-in-out infinite;
}

.cta-panel h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
}

.cta-panel p {
  color: var(--muted);
  margin: 16px auto 24px;
  max-width: 560px;
  line-height: 1.65;
}

.site-footer {
  margin-top: calc(var(--section-gap) * 0.45);
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.footer-cta {
  min-height: 240px;
  margin-bottom: clamp(56px, 8vw, 106px);
  border-radius: 22px;
  background:
    linear-gradient(110deg, #efeee9, #f7f5f0, #e9e6dd);
  background-size: 180% 180%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 20px;
  padding: clamp(28px, 4vw, 46px);
  animation: surfaceBreath 12s ease-in-out infinite;
}

.footer-cta h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  white-space: nowrap;
}

.footer-cta span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 14px;
}

.footer-cta p {
  color: var(--muted);
  max-width: 650px;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-button-link {
  text-decoration: none;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(44px, 9vw, 128px);
  row-gap: 42px;
  padding-bottom: 34px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 19px;
}

.footer-column span {
  color: var(--muted);
  font-size: 14px;
}

.footer-column a,
.footer-column button {
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
  cursor: pointer;
}

.footer-column a:hover,
.footer-column button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(17, 17, 17, 0.28);
  backdrop-filter: blur(16px);
}

.login-modal {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
  animation: softRise 0.22s ease both;
}

.doc-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(244,242,236,0.98));
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
  animation: softRise 0.22s ease both;
}

.doc-modal > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 12px;
}

.doc-modal h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 500;
  margin-bottom: 18px;
}

.doc-body {
  display: grid;
  gap: 14px;
}

.doc-body p {
  color: var(--muted);
  line-height: 1.72;
}

.doc-body .doc-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.doc-callout,
.doc-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  padding: 16px;
}

.doc-callout {
  display: grid;
  gap: 6px;
  border-left: 3px solid var(--accent);
}

.doc-callout strong,
.doc-section h4 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
}

.doc-callout span {
  color: var(--muted);
  line-height: 1.68;
}

.doc-section {
  display: grid;
  gap: 10px;
}

.doc-section pre {
  margin: 0;
  overflow-x: auto;
  border-radius: 14px;
  background: #151515;
  padding: 14px;
}

.doc-section code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.doc-section pre code {
  color: #f5f1e8;
  line-height: 1.7;
  white-space: pre;
}

.doc-section :not(pre) > code {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255,255,255,0.8);
  padding: 2px 6px;
  color: var(--ink);
}

.doc-body article,
.doc-body li {
  color: var(--muted);
  line-height: 1.65;
}

.doc-body article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  padding: 16px;
}

.doc-body article strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.doc-body ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.brand.compact {
  min-width: 0;
  margin-bottom: 26px;
}

.login-modal h2 {
  font-size: 38px;
  font-weight: 520;
  margin-bottom: 12px;
}

.login-modal p,
.login-modal small {
  color: var(--muted);
  line-height: 1.65;
}

.login-modal label {
  display: block;
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.login-preview-card {
  display: none;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaf7;
  padding: 16px;
  display: none;
  gap: 5px;
}

.login-preview-card span,
.login-preview-card small {
  color: var(--muted);
}

.login-preview-card strong {
  font-size: 18px;
}

.login-dev-mode {
  display: none;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  padding: 12px 14px;
}

.login-dev-mode summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.login-dev-mode label {
  margin-top: 14px;
}

.login-modal textarea {
  position: static;
  width: 100%;
  min-height: 112px;
  max-height: none;
  resize: vertical;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaf7;
  color: var(--ink);
  padding: 13px 14px;
}

.auth-form {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf7;
  color: var(--ink);
  padding: 12px 14px;
}

.auth-message {
  min-height: 22px;
  font-size: 13px;
}

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

.login-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 16px 0 12px;
}

.hero-panel p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 680px;
  line-height: 1.7;
}

.page-hero {
  background: #efeee9;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 46px);
  margin-bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  animation: softRise 0.5s ease both;
}

.compact-hero h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 1.05;
}

.compact-hero p {
  color: var(--muted);
  max-width: 690px;
  margin-top: 16px;
  line-height: 1.7;
}

.hero-stat {
  min-width: 190px;
  min-height: 150px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.hero-stat span,
.hero-stat small {
  color: var(--muted);
}

.hero-stat strong {
  font-size: 58px;
  line-height: 0.95;
  font-weight: 500;
}

.research-board-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
  min-height: 380px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.84), rgba(239,238,233,0.96));
  padding: clamp(28px, 4vw, 52px);
  animation: softRise 0.5s ease both;
}

.research-board-hero::before {
  content: "";
  position: absolute;
  inset: auto -18% -38% 28%;
  height: 260px;
  background: radial-gradient(circle, rgba(155,106,34,0.15), transparent 68%);
  pointer-events: none;
}

.research-board-copy,
.research-board-status {
  position: relative;
  z-index: 1;
}

.research-board-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.research-board-copy h2 {
  max-width: 820px;
  font-size: clamp(44px, 4.9vw, 66px);
  line-height: 1.02;
  font-weight: 500;
}

.research-board-copy p {
  max-width: 720px;
  color: var(--muted);
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.72;
}

.board-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.research-board-status {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.research-board-status button {
  appearance: none;
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,0.74);
  color: var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.research-board-status button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.research-board-status span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.research-board-status strong {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.94;
  font-weight: 500;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.button {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
  min-height: 42px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  border-color: var(--ink);
  background: #f8f7f2;
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.button.primary:hover {
  background: #2a2926;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

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

.button.danger {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 170px 170px 130px;
  gap: 8px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 8px;
}

.toolbar input,
.toolbar select {
  border-color: transparent;
  background: transparent;
}

.toolbar .button {
  min-height: 46px;
}

.research-toolbar {
  margin-bottom: 0;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.04);
}

.research-command-bar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(247,245,240,0.94));
  padding: 12px;
}

.command-copy {
  padding: 8px 12px;
  display: grid;
  gap: 4px;
}

.command-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.command-copy strong {
  font-size: 18px;
  font-weight: 560;
}

.focus-strip {
  margin-bottom: 28px;
}

.focus-match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.focus-match-grid .empty-state {
  grid-column: 1 / -1;
}

.focus-match-card {
  min-height: 306px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.76), rgba(239,238,233,0.96));
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.focus-match-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.focus-card-top,
.focus-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.focus-card-top > span:first-child,
.focus-card-footer > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.focus-match-card h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  font-weight: 560;
}

.focus-match-card p {
  color: var(--muted);
  line-height: 1.6;
}

.focus-signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.focus-signal-row span {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  padding: 11px;
  display: grid;
  align-content: center;
  gap: 4px;
}

.focus-signal-row strong {
  font-size: 15px;
  line-height: 1.25;
}

.focus-signal-row small {
  color: var(--muted);
  font-size: 12px;
}

.focus-unlock {
  width: 100%;
}

.match-board-shell {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.64), rgba(239,238,233,0.9));
  padding: 18px;
}

.board-filter-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.board-filter-head h2 {
  font-size: 30px;
  font-weight: 520;
}

.board-filter-head p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.65;
  text-align: right;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.filter-tabs button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #34322e;
  min-height: 38px;
  padding: 8px 13px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.filter-tabs button:hover,
.filter-tabs button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 18px;
}

.research-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(430px, 0.84fr);
  align-items: start;
  gap: 22px;
  margin-bottom: 28px;
}

.board-head {
  margin-bottom: 18px;
}

.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.match-list,
.record-list {
  display: grid;
  gap: 12px;
}

.research-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.research-explainer-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(239,238,233,0.94));
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.research-explainer-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.research-explainer-grid strong {
  font-size: 24px;
  font-weight: 560;
}

.research-explainer-grid p {
  color: var(--muted);
  line-height: 1.68;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-overview {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 190px 190px;
  gap: 14px;
  margin-bottom: 28px;
}

.account-overview .account-card {
  min-width: 0;
  background: #fff;
}

.account-note {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(244,242,236,0.94));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.account-note p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.package-card {
  padding: 22px;
  display: grid;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.package-card.featured {
  border-color: var(--ink);
}

.package-card:hover,
.record-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.package-card span,
.package-card small {
  color: var(--muted);
}

.package-card strong {
  font-size: 40px;
  font-weight: 500;
}

.package-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  display: grid;
  gap: 6px;
}

.developer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.55fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.74), rgba(239,238,233,0.98));
  padding: clamp(28px, 4vw, 48px);
}

.developer-hero h2 {
  max-width: 880px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 500;
}

.developer-hero p {
  color: var(--muted);
  max-width: 760px;
  margin-top: 18px;
  line-height: 1.74;
}

.developer-code-card {
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.78);
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.developer-code-card span {
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}

.developer-code-card pre,
.code-sample {
  margin: 0;
  overflow-x: auto;
  border-radius: 18px;
  background: #151515;
  padding: 16px;
}

.developer-code-card code,
.code-sample code {
  color: #f5f1e8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre;
}

.platform-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: visible;
  background: transparent;
  padding: 10px;
}

.platform-flow article,
.tool-list article,
.help-grid article,
.account-actions-grid article {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(244,242,236,0.94));
  padding: 20px;
  border-radius: 18px;
}

.platform-flow span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.platform-flow strong,
.tool-list strong,
.help-grid strong,
.account-actions-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 17px;
}

.platform-flow p,
.tool-list p,
.help-grid p,
.account-actions-grid p,
.muted-copy {
  color: var(--muted);
  line-height: 1.68;
  margin-top: 10px;
}

.developer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

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

.tool-list article,
.help-grid article,
.account-actions-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
}

.tool-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sample-report-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.25fr);
  gap: 18px;
  align-items: stretch;
}

.sample-preview-card,
.sample-unlocked-card,
.playground-panel,
.about-hero,
.about-platform-card,
.mission-grid article {
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(239,238,233,0.96));
  box-shadow: 0 18px 55px rgba(24, 21, 16, 0.05);
}

.sample-preview-card,
.sample-unlocked-card {
  padding: clamp(20px, 2.6vw, 30px);
  display: grid;
  gap: 18px;
}

.sample-match-plate {
  border-radius: 22px;
  padding: 24px;
  background: #efeee9;
}

.sample-match-plate span,
.sample-report-title span,
.mission-grid span,
.about-quote span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 8px;
}

.sample-match-plate strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.locked-copy,
.sample-report-title {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  padding: 18px;
}

.locked-copy strong,
.sample-report-title strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.locked-copy p,
.sample-report-title p,
.mission-grid p,
.about-hero p,
.about-platform-card p {
  color: var(--muted);
  line-height: 1.72;
  margin-top: 10px;
}

.sample-report-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sample-report-sections article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  padding: 18px;
}

.sample-report-sections span {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
}

.sample-report-sections strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
}

.sample-report-sections p {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}

.playground-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
  gap: 24px;
  padding: clamp(24px, 3vw, 36px);
  margin-bottom: 28px;
  background:
    radial-gradient(circle at 86% 8%, rgba(179,134,74,0.12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(239,238,233,0.96));
}

.playground-copy h2,
.about-platform-card h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 500;
}

.playground-copy p {
  color: var(--muted);
  line-height: 1.74;
  margin-top: 14px;
}

.playground-steps,
.platform-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.playground-steps span,
.platform-mini-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  padding: 9px 12px;
  font-size: 13px;
  color: #34312c;
}

.playground-console {
  border-radius: 22px;
  background: #111;
  color: #f5f1e8;
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  min-width: 0;
}

.console-tabs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(245,241,232,0.66);
  font-size: 13px;
  margin-bottom: 14px;
}

.playground-console pre {
  margin: 0;
  overflow-x: auto;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  padding: 16px;
}

.playground-console code {
  color: #fff7e9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.72;
  white-space: pre;
}

.console-result {
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.05);
}

.console-result span {
  color: #d8b574;
  font-weight: 700;
  font-size: 13px;
}

.console-result p {
  color: rgba(245,241,232,0.74);
  line-height: 1.62;
  margin-top: 8px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  padding: clamp(30px, 5vw, 64px);
  margin-bottom: 22px;
}

.about-hero h2 {
  max-width: 940px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.02;
  font-weight: 500;
}

.about-quote {
  border-radius: 24px;
  background: #111;
  color: #f8f4ec;
  padding: 24px;
  align-self: stretch;
  display: grid;
  align-content: end;
}

.about-quote strong {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.about-quote p {
  color: rgba(248,244,236,0.7);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  margin-bottom: 22px;
}

.mission-grid article {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 230px;
  padding: 22px;
}

.mission-grid strong {
  display: block;
  font-size: 21px;
  line-height: 1.18;
}

.about-platform-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
}

.pricing-hero {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.76), rgba(239,238,233,0.98));
}

.pricing-grid {
  margin-bottom: 18px;
}

.billing-flow-panel,
.account-command-center {
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 4%, rgba(179,134,74,0.10), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(239,238,233,0.96));
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 18px;
  box-shadow: 0 18px 55px rgba(24, 21, 16, 0.045);
}

.billing-flow-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.billing-flow-panel h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 500;
}

.billing-flow-panel p,
.account-command-center p {
  color: var(--muted);
  line-height: 1.68;
  margin-top: 12px;
}

.billing-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.billing-flow-steps article,
.account-command-center article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.billing-flow-steps span,
.account-command-center span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.billing-flow-steps strong,
.account-command-center strong {
  font-size: 20px;
  line-height: 1.18;
}

.billing-status-card,
.billing-placeholder {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  padding: 18px;
  color: var(--muted);
  line-height: 1.68;
}

.billing-status-card {
  margin-bottom: 18px;
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(239,238,233,0.92));
  padding: 22px;
  color: var(--muted);
  line-height: 1.68;
}

.pricing-note strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 4px;
}

.pricing-note p {
  margin: 0;
}

.account-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(160px, 0.8fr));
  gap: 14px;
  margin-bottom: 18px;
}

.account-command-center {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-command-center article {
  min-height: 210px;
}

.account-command-center .button {
  margin-top: auto;
  width: fit-content;
}

.account-profile-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(244,242,236,0.94));
  padding: 20px;
  display: grid;
  gap: 10px;
}

.account-profile-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.account-profile-card strong {
  font-size: 28px;
  font-weight: 520;
}

.account-profile-card p {
  color: var(--muted);
}

.account-context-notice,
.account-context-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(247,245,240,0.96));
  color: var(--muted);
}

.account-context-notice {
  margin: 18px 0;
  padding: 14px 16px;
  font-size: 14px;
}

.account-context-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px 20px;
}

.account-context-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.account-context-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 560;
}

.account-context-panel p {
  max-width: 680px;
  margin: 0;
  line-height: 1.65;
}

.account-actions-grid,
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.help-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#view-agent,
#view-worldcup,
#view-sample,
#view-pricing,
#view-account,
#view-about,
#view-help {
  animation: softRise 0.48s ease both;
}

#view-agent .section-band,
#view-worldcup .section-band,
#view-sample .section-band,
#view-pricing .section-band,
#view-account .section-band,
#view-about .section-band,
#view-help .section-band {
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.68), rgba(239,238,233,0.92));
}

.developer-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
}

.developer-hero::after,
.pricing-hero::after,
.account-hero::after {
  content: "";
  position: absolute;
  inset: auto -18% -44% 38%;
  height: 220px;
  background: radial-gradient(circle, rgba(155,106,34,0.16), transparent 66%);
  pointer-events: none;
}

.developer-hero > *,
.pricing-hero > *,
.account-hero > * {
  position: relative;
  z-index: 1;
}

.developer-hero .eyebrow,
.pricing-hero .eyebrow,
.account-hero .eyebrow {
  margin-bottom: 22px;
}

.developer-hero h2 {
  max-width: 780px;
  font-size: clamp(44px, 4.45vw, 68px);
  letter-spacing: 0;
}

.developer-hero p {
  max-width: 830px;
  font-size: 17px;
}

.developer-code-card {
  align-self: center;
  min-height: 300px;
  background:
    linear-gradient(160deg, rgba(25,25,24,0.96), rgba(54,51,45,0.94));
  color: #f7f1e5;
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 24px 80px rgba(0,0,0,0.14);
}

.developer-code-card span {
  color: rgba(247,241,229,0.66);
  letter-spacing: 0;
}

.developer-code-card p {
  color: rgba(247,241,229,0.72);
  margin: 0;
  line-height: 1.72;
}

.developer-code-card pre {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.28);
}

.developer-code-card code {
  color: #fff7e9;
}

.platform-flow {
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
}

.platform-flow article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(239,238,233,0.96));
  transition: background 0.18s ease, transform 0.18s ease;
}

.platform-flow article:hover {
  background: #fff;
  transform: translateY(-1px);
}

.platform-flow strong {
  font-size: 20px;
  line-height: 1.2;
}

.platform-flow p {
  font-size: 14px;
}

.developer-grid {
  gap: 22px;
  margin-bottom: 22px;
}

.tool-list {
  grid-template-columns: 1fr;
}

.tool-list article {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(247,245,240,0.94));
}

.tool-list strong {
  word-break: normal;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.35;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.tool-list p {
  font-size: 14px;
}

.code-sample {
  min-height: 298px;
  border: 1px solid rgba(0,0,0,0.08);
}

.pricing-hero,
.account-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  align-items: center;
}

.pricing-hero h2,
.account-hero h2 {
  font-size: clamp(44px, 5.2vw, 74px);
  max-width: 960px;
}

.pricing-grid {
  gap: 14px;
  align-items: stretch;
}

.pricing-grid .package-card {
  position: relative;
  min-height: 430px;
  padding: 26px;
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.76), rgba(247,245,240,0.96));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pricing-grid .package-card.featured {
  border-color: #111;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.92), rgba(239,238,233,0.98));
}

.pricing-grid .package-card.featured::before {
  content: "Most used";
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(255,255,255,0.78);
  font-size: 12px;
}

.pricing-grid .package-card span {
  color: #1f1d1a;
  font-size: 18px;
}

.pricing-grid .package-card strong {
  font-size: clamp(48px, 5vw, 70px);
  line-height: 0.94;
  font-weight: 500;
}

.pricing-grid .package-card small {
  min-height: 58px;
  line-height: 1.58;
}

.pricing-grid .package-card ul {
  margin-top: 8px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: #2f2d29;
}

.pricing-grid .package-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-grid .package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #111;
}

.pricing-grid .package-card .button {
  margin-top: auto;
  width: 100%;
  min-height: 46px;
}

.billing-status-card {
  white-space: pre-line;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(239,238,233,0.94));
  border-radius: 22px;
  padding: 20px 22px;
}

.billing-placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.account-dashboard-grid {
  grid-template-columns: minmax(300px, 1.35fr) repeat(3, minmax(150px, 0.75fr));
  gap: 14px;
  align-items: stretch;
}

.account-profile-card,
.account-dashboard-grid .account-card,
.account-actions-grid article,
.help-grid article {
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(239,238,233,0.92));
}

.account-profile-card {
  min-height: 230px;
  align-content: start;
  padding: 24px;
}

.account-profile-card strong {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.08;
}

.account-profile-card .button {
  justify-self: start;
  margin-top: auto;
}

.account-dashboard-grid .account-card {
  min-width: 0;
  min-height: 230px;
  padding: 22px;
  justify-content: space-between;
}

.account-dashboard-grid .account-card strong {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
}

.account-actions-grid article,
.help-grid article {
  min-height: 184px;
  display: flex;
  flex-direction: column;
}

.account-actions-grid .button {
  align-self: flex-start;
  margin-top: auto;
}

#view-account .content-split {
  margin-top: 22px;
  align-items: start;
}

#view-account .record-list,
#view-pricing .record-list {
  gap: 10px;
}

#view-account .record-card,
#view-pricing .record-card,
#view-unlocked .record-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(247,245,240,0.96));
}

.help-grid {
  gap: 14px;
}

.help-grid strong {
  font-size: 18px;
  line-height: 1.28;
}

.doc-modal {
  max-width: min(940px, calc(100vw - 36px));
}

.doc-body pre,
.doc-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.doc-body pre {
  overflow-x: auto;
  border-radius: 18px;
  background: #151515;
  color: #f5f1e8;
  padding: 16px;
}

.doc-body code {
  font-size: 0.92em;
}

.match-card,
.record-card {
  padding: 22px;
  display: grid;
  gap: 16px;
  border-radius: 22px;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}

.match-card:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  background: #fffefa;
}

.match-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

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

.match-title strong {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 620;
}

.match-summary {
  color: var(--muted);
  line-height: 1.62;
  font-size: 14px;
}

.match-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.signal-grid.compact-signals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-grid span {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  padding: 12px;
  display: grid;
  gap: 4px;
}

.signal-grid strong {
  font-size: 24px;
  font-weight: 540;
}

.signal-grid small {
  color: var(--muted);
}

.match-cta {
  width: 100%;
}

.match-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border: 1px solid var(--line);
  color: #3f3d38;
  background: #f8f7f2;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.pill.gold {
  color: #5e4012;
  border-color: #dec486;
  background: var(--gold-soft);
}

.pill.green {
  color: #1c4f49;
  border-color: #c7d8d3;
  background: #edf6f4;
}

.detail-empty,
.log-box,
.token-output,
.detail-content {
  color: var(--muted);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.empty-state,
.loading-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  color: var(--muted);
  line-height: 1.65;
}

.empty-state strong,
.premium-empty strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 8px;
}

.premium-empty {
  background: #fff;
  min-height: 300px;
}

.premium-empty p {
  color: var(--muted);
  margin: 0 0 14px;
}

.premium-empty ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.preview-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.preview-note-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  color: #333;
  text-align: center;
  padding: 9px 10px;
  font-size: 13px;
  white-space: nowrap;
}

.detail-content {
  color: var(--ink);
  white-space: normal;
}

.log-box.compact { margin-top: 12px; }

.detail-content .hint,
.detail-content .meta-row,
.detail-content p,
.detail-content li {
  color: var(--muted);
}

.detail-content .button { width: 100%; }

.detail-panel {
  position: sticky;
  top: 100px;
  align-self: start;
  border-radius: 26px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  max-height: calc(100vh - 122px);
  overflow: auto;
  overscroll-behavior: contain;
}

.detail-block {
  display: grid;
  gap: 16px;
}

.preview-hero {
  border-radius: 20px;
  background: #efeee9;
  padding: 20px;
}

.preview-product-hero {
  border-radius: 22px;
  background:
    linear-gradient(135deg, #efeee9, #f8f7f2);
  border: 1px solid var(--line);
  padding: 22px;
}

.preview-hero h3,
.preview-product-hero h3 {
  font-size: 30px;
  line-height: 1.15;
}

.preview-signal-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.preview-signal-board span {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.76);
  padding: 13px;
  display: grid;
  gap: 5px;
}

.preview-signal-board small,
.research-card-summary small {
  color: var(--muted);
  font-size: 12px;
}

.preview-signal-board strong {
  font-size: 16px;
  line-height: 1.28;
}

.preview-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.compact-value p,
.window-panel p {
  margin-top: 8px;
}

.locked-copy,
.value-panel,
.window-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(244,242,236,0.94));
  padding: 18px;
  border-radius: 18px;
  line-height: 1.65;
}

.locked-copy {
  border-color: #d8c18b;
  background:
    linear-gradient(145deg, #fffaf0, #f4efe3);
}

.value-panel {
  background: #ffffff;
}

.window-panel {
  background: #f7f6f1;
}

.unlock-window-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.84), rgba(239,238,233,0.98));
  padding: 18px;
  border-radius: 18px;
}

.unlock-window-card.is-open {
  border-color: #d8c18b;
  background:
    linear-gradient(145deg, #fffaf0, #f4efe3);
}

.unlock-window-card p {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.65;
}

.unlock-window-card .button {
  width: auto;
  min-width: 150px;
}

.research-card-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.research-card-summary span {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  padding: 12px;
  display: grid;
  gap: 4px;
}

.research-card-summary strong {
  font-size: 16px;
}

.agent-token-band .section-head {
  align-items: flex-start;
}

.agent-token-band .section-head p {
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.65;
}

.agent-token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.locked-copy p,
.value-panel p,
.window-panel p {
  color: var(--muted);
  margin-top: 8px;
}

.unlock-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.unlock-items li { line-height: 1.5; }

.analysis-section {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.84), rgba(244,242,236,0.94));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.analysis-section h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 650;
}

.analysis-section p { margin: 0; }
.analysis-section p + p { margin-top: 8px; }

.analysis-section ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.split-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

@media (max-width: 760px) {
  .split-list {
    grid-template-columns: 1fr;
  }
}

.compliance-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .sidebar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .brand,
  .nav {
    justify-content: flex-start;
  }

  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .token-panel {
    justify-self: start;
  }

  .account-menu-popover {
    left: 0;
    right: auto;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-grid,
  .method-strip,
  .worldcup-panel,
  .news-grid,
  .product-status-panel,
  .account-overview,
  .account-dashboard-grid,
  .account-command-center,
  .account-actions-grid,
  .agent-cta-panel,
  .developer-hero,
  .developer-grid,
  .sample-report-layout,
  .playground-panel,
  .about-hero,
  .about-platform-card,
  .platform-flow,
  .mission-grid,
  .tool-list.compact,
  .help-grid,
  .footer-grid,
  .wc-center-hero,
  .wc-status-grid,
  .wc-briefing-layout,
  .wc-path-board,
  .wc-schedule-grid,
  .wc-team-grid,
  .wc-method-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .wc-path-line {
    width: 2px;
    height: 44px;
    justify-self: center;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
  }

  .wc-countdown-panel {
    align-self: stretch;
  }

  .status-metrics,
  .preview-signal-board,
  .signal-grid.compact-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card-large {
    grid-row: auto;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-split {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .main {
    width: min(1120px, calc(100vw - 44px));
  }

  .wc-center-hero {
    min-height: 520px;
  }

  .wc-center-copy {
    padding: 42px;
    padding-right: 300px;
    min-height: 520px;
  }

  .wc-center-copy h2 {
    max-width: calc(100% - 292px);
    font-size: clamp(34px, 3.9vw, 44px);
    line-height: 1.02;
    white-space: nowrap;
    word-break: keep-all;
  }

  .wc-center-copy p {
    font-size: 16px;
  }

  .wc-countdown-panel {
    right: 22px;
    bottom: 22px;
    width: 270px;
    padding: 22px;
    min-height: 252px;
  }

  .wc-countdown-panel strong {
    font-size: clamp(58px, 5.7vw, 72px);
  }

  .wc-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wc-status-grid article {
    min-height: 170px;
  }

  .wc-status-grid strong {
    font-size: clamp(34px, 4.3vw, 54px);
  }

  .wc-status-grid p {
    font-size: 13px;
  }

  .wc-schedule-grid,
  .wc-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .developer-hero {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  }

  .developer-hero h2 {
    font-size: clamp(42px, 5.2vw, 60px);
  }

  .research-toolbar {
    grid-template-columns: minmax(220px, 1fr) 136px 142px 118px;
  }

  .research-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  }

  .research-layout .detail-panel {
    position: sticky;
    top: 100px;
  }

  .platform-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .developer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-list.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-dashboard-grid {
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(130px, 0.75fr));
  }

  .account-actions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .research-board-hero,
  .research-command-bar {
    grid-template-columns: 1fr;
  }

  .focus-match-grid,
  .research-explainer-grid,
  .wc-status-grid,
  .wc-team-grid {
    grid-template-columns: 1fr;
  }

  .wc-schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-filter-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-filter-head p {
    text-align: left;
  }

  .developer-hero,
  .developer-grid {
    grid-template-columns: 1fr;
  }

  .platform-flow,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-profile-card {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .main,
  .sidebar {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .main {
    padding-top: 42px;
  }

  .sidebar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
  }

  .brand {
    min-width: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    overflow: visible;
    padding: 12px 0 4px;
  }

body.nav-open .nav {
  display: flex;
}

}

.trust-ledger-section,
.wc-command-center,
.conversion-journey,
.agent-console-shell,
.pricing-comparison,
.account-control-room {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 8%, rgba(179,134,74,0.10), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(239,238,233,0.96));
  box-shadow: 0 18px 55px rgba(24, 21, 16, 0.045);
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 36px);
}

.trust-ledger-section,
.conversion-journey,
.pricing-comparison,
.account-control-room {
  display: grid;
  gap: 22px;
}

.trust-ledger-section {
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
}

.trust-ledger-copy h2,
.wc-command-center h2,
.conversion-journey h2,
.pricing-comparison h2,
.account-control-room h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  font-weight: 500;
}

.trust-ledger-copy p,
.wc-command-center p,
.conversion-journey p,
.account-control-room p {
  color: var(--muted);
  line-height: 1.72;
  margin-top: 12px;
}

.trust-metric-grid,
.release-note-strip,
.wc-command-grid,
.conversion-steps,
.agent-console-stats,
.account-control-grid {
  display: grid;
  gap: 10px;
}

.trust-metric-grid,
.agent-console-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.release-note-strip,
.wc-command-grid,
.conversion-steps,
.account-control-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.library-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.library-overview article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(239,238,233,0.94));
  padding: 20px;
}

.library-overview span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.library-overview strong {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  font-weight: 500;
}

.library-overview p {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}

.release-note-strip {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-metric-grid article,
.release-note-strip article,
.wc-command-grid article,
.conversion-steps article,
.agent-console-stats article,
.account-control-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  padding: 18px;
  min-width: 0;
}

.trust-metric-grid span,
.release-note-strip span,
.wc-command-grid span,
.conversion-steps span,
.agent-console-stats span,
.account-control-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-metric-grid strong,
.account-control-grid strong {
  display: block;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  font-weight: 500;
}

.release-note-strip strong,
.wc-command-grid strong,
.conversion-steps strong,
.agent-console-stats strong {
  display: block;
  font-size: 20px;
  line-height: 1.18;
}

.trust-metric-grid p,
.release-note-strip p,
.wc-command-grid p,
.conversion-steps p,
.agent-console-stats p,
.account-control-grid p {
  color: var(--muted);
  line-height: 1.62;
  margin-top: 10px;
}

.wc-command-center {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.agent-console-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
}

.agent-console-nav {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.64);
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.agent-console-nav > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.agent-console-nav > strong {
  font-size: 20px;
  margin-bottom: 12px;
}

.agent-console-nav .console-tab {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #34322e;
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.3;
}

.agent-console-nav .console-tab.active {
  background: #111;
  color: #fff;
}

.agent-console-main {
  min-width: 0;
}

.api-key-table,
.comparison-table {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.68);
}

.api-key-table > div,
.comparison-table > div {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.api-key-table > div {
  grid-template-columns: 1.15fr 0.7fr 1fr 0.8fr;
}

.comparison-table > div {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

.api-key-table > div:first-child,
.comparison-table > div:first-child {
  border-top: 0;
}

.api-key-head,
.comparison-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.comparison-table span,
.api-key-table span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.research-ops-panel,
.wc-live-desk,
.agent-product-overview,
.billing-console-preview,
.account-workspace-shell {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.66), rgba(239,238,233,0.94));
  padding: clamp(24px, 3.2vw, 40px);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.research-ops-panel::before,
.wc-live-desk::before,
.billing-console-preview::before,
.account-workspace-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.38) 45%, transparent 72%);
  transform: translateX(-110%);
  animation: ambientSweep 8s ease-in-out infinite;
  pointer-events: none;
}

.research-ops-panel > *,
.wc-live-desk > *,
.billing-console-preview > *,
.account-workspace-shell > * {
  position: relative;
  z-index: 1;
}

.research-ops-panel,
.wc-live-desk,
.billing-console-preview,
.account-workspace-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.agent-product-overview,
.research-ops-grid,
.wc-live-board,
.billing-console-grid {
  display: grid;
  gap: 12px;
}

.agent-product-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.research-ops-grid,
.wc-live-board,
.billing-console-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agent-product-overview article,
.research-ops-grid article,
.wc-live-board article,
.billing-console-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.7);
  padding: 20px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.agent-product-overview article:hover,
.research-ops-grid article:hover,
.wc-live-board article:hover,
.billing-console-grid article:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.agent-product-overview span,
.research-ops-grid span,
.wc-live-board span,
.billing-console-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.agent-product-overview strong,
.research-ops-grid strong,
.wc-live-board strong,
.billing-console-grid strong {
  font-size: 21px;
  line-height: 1.2;
}

.agent-product-overview p,
.research-ops-panel p,
.wc-live-desk p,
.billing-console-preview p,
.account-workspace-shell p,
.research-ops-grid p,
.wc-live-board p,
.billing-console-grid p {
  color: var(--muted);
  line-height: 1.66;
}

.research-ops-copy h2,
.wc-live-copy h2,
.billing-console-preview h2,
.account-workspace-main h2 {
  font-size: clamp(30px, 3.7vw, 52px);
  line-height: 1.05;
  font-weight: 500;
}

.agent-product-overview {
  margin-bottom: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(247,245,240,0.98));
}

.account-workspace-shell {
  grid-template-columns: 220px minmax(0, 1fr);
}

.account-workspace-nav {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.68);
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.account-workspace-nav span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.account-workspace-nav strong {
  font-size: 22px;
  margin-bottom: 10px;
}

.account-workspace-nav em {
  font-style: normal;
  border-radius: 12px;
  padding: 10px 12px;
  color: #34322e;
  background: transparent;
}

.account-workspace-nav em:first-of-type {
  color: #fff;
  background: #111;
}

.account-workspace-table {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.7);
}

.account-workspace-table > div {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr 0.7fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.account-workspace-table > div:first-child {
  border-top: 0;
}

.account-workspace-table span,
.account-workspace-table em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.account-workspace-table strong {
  font-size: 16px;
  line-height: 1.38;
}

.platform-entry-rail,
.customer-journey-strip,
.credit-economy-panel,
.developer-ops-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.68), rgba(239,238,233,0.94));
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 28px;
}

.platform-entry-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.customer-journey-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.platform-entry-rail article,
.customer-journey-strip article,
.credit-economy-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  padding: 20px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.platform-entry-rail article:hover,
.credit-economy-grid article:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.platform-entry-rail span,
.customer-journey-strip span,
.credit-economy-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.platform-entry-rail strong,
.customer-journey-strip strong,
.credit-economy-grid strong {
  font-size: 23px;
  line-height: 1.16;
}

.platform-entry-rail p,
.customer-journey-strip p,
.credit-economy-panel p,
.developer-ops-panel p,
.credit-economy-grid p {
  color: var(--muted);
  line-height: 1.66;
}

.platform-entry-rail .button {
  margin-top: auto;
  width: fit-content;
}

.credit-economy-panel,
.developer-ops-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(380px, 1fr);
  gap: 20px;
  align-items: start;
}

.credit-economy-panel h2,
.developer-ops-panel h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.05;
  font-weight: 500;
}

.credit-economy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.developer-ops-table {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.72);
}

.developer-ops-table > div {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.75fr 1fr;
  gap: 12px;
  padding: 15px 16px;
  border-top: 1px solid var(--line);
}

.developer-ops-table > div:first-child {
  border-top: 0;
}

.developer-ops-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.developer-ops-table span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.developer-docs-layout,
.library-control-panel,
.account-security-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.7), rgba(239,238,233,0.96));
  padding: clamp(24px, 3.2vw, 42px);
  margin-bottom: 28px;
}

.developer-docs-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
}

.developer-docs-nav {
  position: sticky;
  top: 106px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  padding: 16px;
  display: grid;
  gap: 6px;
}

.developer-docs-nav span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  margin-bottom: 8px;
}

.developer-docs-nav a {
  color: #292724;
  text-decoration: none;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 14px;
}

.developer-docs-nav a:hover,
.developer-docs-nav a:first-of-type {
  background: #111;
  color: #fff;
}

.developer-docs-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.developer-docs-main h2,
.library-control-panel h2,
.account-security-panel h2 {
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.05;
  font-weight: 500;
}

.developer-docs-main p,
.library-control-panel p,
.account-security-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.quickstart-grid,
.library-control-grid,
.account-security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quickstart-grid article,
.library-control-grid article,
.account-security-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  padding: 20px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quickstart-grid span,
.library-control-grid span,
.account-security-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.quickstart-grid strong,
.library-control-grid strong,
.account-security-grid strong {
  font-size: 20px;
  line-height: 1.2;
}

.quickstart-grid p,
.library-control-grid p,
.account-security-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.docs-contract-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.docs-contract-block h3 {
  font-size: 22px;
  font-weight: 560;
  margin-bottom: 8px;
}

.library-control-panel,
.account-security-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: 22px;
  align-items: start;
}

.api-reference-deck,
.trust-center-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(155,106,34,0.1), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(239,238,233,0.96));
  padding: clamp(24px, 3.2vw, 42px);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.api-reference-deck {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1fr);
  gap: 18px;
}

.api-reference-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.api-reference-copy h2,
.trust-center-copy h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 500;
}

.api-reference-copy p,
.trust-center-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.api-reference-grid,
.trust-center-list {
  display: grid;
  gap: 10px;
}

.api-reference-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-column: 1 / -1;
  margin-top: 4px;
}

.api-reference-grid article,
.trust-center-list article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,0.7);
  padding: 18px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.api-reference-grid span,
.trust-center-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.api-reference-grid strong,
.trust-center-list strong {
  font-size: 19px;
  line-height: 1.2;
}

.api-reference-grid p,
.trust-center-list p {
  color: var(--muted);
  line-height: 1.58;
}

.api-schema-panel {
  border-radius: 24px;
  background: #111;
  color: #f5f1e8;
  padding: 20px;
  min-width: 0;
}

.schema-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  color: rgba(245,241,232,0.72);
}

.schema-header strong {
  color: #f5f1e8;
  font-weight: 650;
}

.api-schema-panel pre {
  margin: 0;
  overflow-x: auto;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  padding: 16px;
}

.api-schema-panel code {
  color: #fff7e9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.72;
  white-space: pre;
}

.trust-center-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: 22px;
}

.trust-center-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preview-timeline article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  padding: 16px;
}

.preview-timeline span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 760;
}

.preview-timeline strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.2;
}

.preview-timeline p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.unlock-assurance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.unlock-assurance-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  padding: 8px 11px;
  color: #34312c;
  font-size: 13px;
}

/* Launch-grade visual system overrides. Keep these near the end so older page
   sections inherit the same platform rhythm without changing backend contracts. */
.page-hero,
.developer-hero,
.research-board-hero,
.sample-page-hero,
.about-hero,
.pricing-hero,
.account-hero,
.section-band,
.package-card,
.match-card,
.record-card,
.preview-product-hero,
.value-panel,
.window-panel,
.agent-console-shell,
.playground-panel,
.billing-flow-panel,
.pricing-comparison,
.account-control-room,
.trust-ledger-section,
.wc-command-center,
.wc-method-panel,
.wc-live-desk,
.worldcup-panel,
.agent-cta-panel,
.footer-cta {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.page-hero,
.developer-hero,
.research-board-hero,
.sample-page-hero,
.pricing-hero,
.account-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(155,106,34,0.1), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.74), rgba(239,238,233,0.98));
  border-color: rgba(201,196,184,0.9);
}

.section-band,
.match-card,
.record-card,
.package-card,
.preview-product-hero,
.value-panel,
.window-panel {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.match-card:hover,
.record-card:hover,
.package-card:hover,
.section-band:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.86), rgba(247,245,240,0.98));
}

.button {
  min-height: 42px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button.primary:hover:not(:disabled) {
  background: #000;
  border-color: #000;
}

.wc-center-hero {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.wc-center-copy h2 {
  max-width: calc(100% - min(330px, 28vw));
}

.wc-countdown-panel {
  border: 1px solid rgba(255,255,255,0.42);
}

.wc-signal-rail {
  opacity: 0.9;
}

.wc-signal-rail i:nth-child(2) {
  animation-delay: 0.45s;
}

.wc-signal-rail i:nth-child(3) {
  animation-delay: 0.9s;
}

.agent-console-shell,
.billing-console-preview,
.account-workspace-shell,
.developer-docs-layout {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.api-key-table,
.comparison-table,
.account-workspace-table,
.developer-ops-table {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(247,245,240,0.95));
}

.api-key-table > div:hover,
.comparison-table > div:hover,
.account-workspace-table > div:hover,
.developer-ops-table > div:hover {
  background: rgba(255,255,255,0.72);
}

.developer-code-card,
.api-schema-panel,
.playground-console {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.pricing-grid .package-card.featured {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 18px 55px rgba(17,17,17,0.06);
}

.preview-signal-board span,
.signal-grid span,
.focus-card,
.wc-status-grid article,
.wc-news-stack article,
.wc-schedule-grid article,
.wc-team-grid article,
.wc-bracket-board article {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(247,245,240,0.94));
}

.detail-panel {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68);
}

.modal-backdrop {
  backdrop-filter: blur(16px);
}

html {
  scroll-padding-top: 112px;
}

.sidebar {
  box-shadow: 0 1px 0 rgba(255,255,255,0.54);
}

.brand-mark {
  transition: transform 0.18s ease, color 0.18s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.03);
}

.nav-link,
.nav-item {
  position: relative;
  isolation: isolate;
}

.nav-item.active,
.nav-item[aria-current="page"] {
  background:
    linear-gradient(145deg, rgba(235,232,223,0.92), rgba(255,255,255,0.72));
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.nav-item.active::after,
.nav-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: rgba(17,17,17,0.68);
  transform: translateX(-50%);
}

.view.active {
  animation: softRise 0.42s ease both;
}

.research-layout,
.developer-grid,
.content-split,
.package-grid,
.account-dashboard-grid,
.help-grid {
  align-items: stretch;
}

.research-board-hero,
.developer-hero,
.pricing-hero,
.account-hero,
.about-hero,
.sample-page-hero {
  min-height: clamp(300px, 35vw, 460px);
}

.developer-hero,
.playground-panel,
.api-reference-deck,
.developer-docs-layout {
  scroll-margin-top: 110px;
}

.developer-hero .doc-links,
.agent-cta-panel .doc-links {
  margin-top: 24px;
}

.doc-links button,
.worldcup-actions a,
.wc-hero-actions .button,
.package-card .button,
.match-card .button {
  cursor: pointer;
}

.doc-links button:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.pricing-grid .package-card {
  overflow: hidden;
}

.pricing-grid .package-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,106,34,0.42), transparent);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.pricing-grid .package-card:hover::after {
  opacity: 1;
}

.account-command-center article,
.account-actions-grid article,
.help-grid article,
.mission-grid article {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68);
}

.wc-center-copy h2 {
  text-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

.wc-countdown-panel {
  transform-origin: center;
}

.wc-countdown-panel:hover {
  transform: translateY(-3px);
}

.wc-center-hero .button,
.worldcup-panel .button {
  box-shadow: 0 10px 34px rgba(0,0,0,0.12);
}

.wc-status-grid article,
.wc-command-grid article,
.wc-method-list article {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.wc-status-grid article:hover,
.wc-command-grid article:hover,
.wc-method-list article:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.detail-panel::-webkit-scrollbar,
.doc-modal::-webkit-scrollbar {
  width: 8px;
}

.detail-panel::-webkit-scrollbar-thumb,
.doc-modal::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(17,17,17,0.18);
}

.research-confidence-bar,
.wc-event-dashboard,
.agent-platform-grid,
.billing-trust-strip,
.account-activity-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.research-confidence-bar,
.wc-event-dashboard,
.agent-platform-grid,
.billing-trust-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.billing-trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-activity-panel {
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 90% 12%, rgba(155,106,34,0.10), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(239,238,233,0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.research-confidence-bar article,
.wc-event-dashboard article,
.agent-platform-grid article,
.billing-trust-strip article,
.account-activity-list article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.76), rgba(247,245,240,0.95));
  padding: 19px;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.research-confidence-bar article:hover,
.wc-event-dashboard article:hover,
.agent-platform-grid article:hover,
.billing-trust-strip article:hover,
.account-activity-list article:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: #fff;
}

.research-confidence-bar span,
.wc-event-dashboard span,
.agent-platform-grid span,
.billing-trust-strip span,
.account-activity-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.research-confidence-bar strong,
.wc-event-dashboard strong,
.agent-platform-grid strong,
.billing-trust-strip strong,
.account-activity-list strong {
  font-size: 21px;
  line-height: 1.18;
}

.research-confidence-bar p,
.wc-event-dashboard p,
.agent-platform-grid p,
.billing-trust-strip p,
.account-activity-panel p,
.account-activity-list p {
  color: var(--muted);
  line-height: 1.62;
}

.account-activity-panel h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.05;
  font-weight: 500;
}

.account-activity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-system-card {
    min-height: 340px;
  }

  .trust-ledger-section,
  .wc-command-center,
  .agent-console-shell,
  .research-ops-panel,
  .account-activity-panel,
  .wc-live-desk,
  .billing-console-preview,
  .account-workspace-shell,
  .api-reference-deck,
  .trust-center-panel,
  .credit-economy-panel,
  .developer-ops-panel,
  .developer-docs-layout,
  .library-control-panel,
  .account-security-panel {
    grid-template-columns: 1fr;
  }

  .developer-docs-nav {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .developer-docs-nav span {
    grid-column: 1 / -1;
  }

  .trust-metric-grid,
  .release-note-strip,
  .wc-command-grid,
  .research-confidence-bar,
  .wc-event-dashboard,
  .agent-platform-grid,
  .billing-trust-strip,
  .conversion-steps,
  .account-control-grid,
  .research-ops-grid,
  .wc-live-board,
  .billing-console-grid,
  .agent-product-overview,
  .api-reference-grid,
  .platform-entry-rail,
  .customer-journey-strip,
  .credit-economy-grid,
  .quickstart-grid,
  .library-control-grid,
  .account-security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-console-nav,
  .account-workspace-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
  }

  .agent-console-nav > span,
  .agent-console-nav > strong,
  .account-workspace-nav > span,
  .account-workspace-nav > strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .trust-metric-grid,
  .release-note-strip,
  .wc-command-grid,
  .research-confidence-bar,
  .wc-event-dashboard,
  .agent-platform-grid,
  .billing-trust-strip,
  .account-activity-list,
  .conversion-steps,
  .agent-console-stats,
  .account-control-grid,
  .library-overview,
  .research-ops-grid,
  .wc-live-board,
  .billing-console-grid,
  .agent-product-overview,
  .api-reference-grid,
  .trust-center-list,
  .platform-entry-rail,
  .customer-journey-strip,
  .credit-economy-grid,
  .preview-timeline,
  .quickstart-grid,
  .library-control-grid,
  .account-security-grid {
    grid-template-columns: 1fr;
  }

  .developer-docs-nav {
    grid-template-columns: 1fr;
  }

  .agent-console-nav,
  .account-workspace-nav {
    grid-template-columns: 1fr;
  }

  .api-key-table,
  .comparison-table,
  .account-workspace-table,
  .developer-ops-table {
    overflow-x: auto;
  }

  .api-key-table > div {
    min-width: 680px;
  }

  .comparison-table > div {
    min-width: 720px;
  }

  .account-workspace-table > div {
    min-width: 620px;
  }

  .developer-ops-table > div {
    min-width: 680px;
  }
}

@media (max-width: 760px) {

  .topbar {
    gap: 24px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hero-system-card {
    border-radius: 24px;
    min-height: auto;
  }

  .hero-system-flow {
    grid-template-columns: 1fr;
  }

  .hero-system-head,
  .hero-system-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-link,
  .nav-item {
    width: 100%;
    text-align: left;
    border-color: var(--line);
    background: rgba(255,255,255,0.62);
    border-radius: 16px;
    padding: 13px 14px;
    white-space: nowrap;
  }

  .token-panel {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .account-menu-popover {
    left: 0;
    right: auto;
    width: min(320px, calc(100vw - 32px));
  }

  .topbar,
  .hero-panel,
  .page-hero,
  .agent-cta-panel {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .research-board-hero,
  .research-command-bar,
  .focus-match-grid,
  .research-explainer-grid {
    grid-template-columns: 1fr;
  }

  .research-board-copy h2 {
    font-size: 44px;
  }

  .wc-center-hero {
    min-height: auto;
    border-radius: 24px;
    display: block;
  }

  .wc-center-copy {
    min-height: 440px;
    padding: 28px;
    padding-right: 28px;
  }

  .wc-center-copy h2 {
    max-width: 100%;
    font-size: clamp(30px, 9.4vw, 42px);
    white-space: nowrap;
    word-break: keep-all;
  }

  .wc-center-copy p,
  .wc-lead-brief p {
    font-size: 15px;
  }

  .wc-countdown-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 14px;
    min-height: 220px;
  }

  .wc-countdown-panel strong {
    font-size: clamp(58px, 16vw, 74px);
  }

  .sidebar {
    box-shadow: 0 12px 34px rgba(0,0,0,0.05);
  }

  .nav-item.active::after,
  .nav-item[aria-current="page"]::after {
    left: 14px;
    bottom: 8px;
    transform: none;
  }

  .mobile-menu-toggle {
    min-height: 40px;
  }

  .account-menu-trigger {
    min-height: 40px;
  }

  .view.active {
    animation-duration: 0.34s;
  }

  .research-board-hero,
  .developer-hero,
  .pricing-hero,
  .account-hero,
  .about-hero,
  .sample-page-hero {
    min-height: auto;
  }

  .developer-hero h2,
  .pricing-hero h2,
  .account-hero h2 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.05;
  }

  .doc-links {
    gap: 8px;
  }

  .doc-links button {
    width: fit-content;
    max-width: 100%;
  }

  .wc-countdown-panel .countdown-number-row {
    gap: 10px;
  }

  .wc-countdown-panel .countdown-number-row em {
    font-size: 12px;
  }

  .detail-panel {
    max-height: none;
    overflow: visible;
  }

  .wc-status-grid,
  .wc-schedule-grid,
  .wc-team-grid,
  .wc-method-list {
    grid-template-columns: 1fr;
  }

  .wc-lead-brief {
    min-height: 390px;
    padding: 24px;
  }

  .wc-lead-brief h3,
  .wc-method-panel h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .wc-method-panel {
    padding: 24px;
  }

  .research-board-status {
    grid-template-columns: 1fr;
  }

  .pricing-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .research-board-status button {
    min-height: 104px;
  }

  .board-filter-head,
  .focus-card-top,
  .focus-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-filter-head p {
    text-align: left;
  }

  .focus-signal-row {
    grid-template-columns: 1fr;
  }

  .agent-cta-panel h2 {
    white-space: normal;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta h2 {
    white-space: normal;
  }

  .hero-stat {
    min-width: 0;
    min-height: auto;
  }

  .account-card {
    position: static;
    width: 100%;
  }

  .metric-grid,
  .toolbar,
  .form-grid,
  .package-grid,
  .pricing-grid,
  .sample-report-layout,
  .sample-report-sections,
  .playground-panel,
  .billing-flow-panel,
  .billing-flow-steps,
  .account-command-center,
  .mission-grid,
  .about-hero,
  .about-platform-card,
  .signal-grid,
  .signal-grid.compact-signals,
  .preview-value-grid,
  .preview-signal-board,
  .research-card-summary,
  .preview-note-grid,
  .doc-body .doc-step-grid {
    grid-template-columns: 1fr;
  }

  .sample-preview-card,
  .sample-unlocked-card,
  .playground-panel,
  .about-hero,
  .about-platform-card {
    border-radius: 22px;
    padding: 20px;
  }

  .developer-code-card pre,
  .code-sample,
  .playground-console pre {
    max-width: 100%;
    overflow-x: auto;
  }

  .about-hero h2,
  .playground-copy h2,
  .about-platform-card h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .mission-grid {
    gap: 1px;
  }

  .mission-grid article {
    min-height: auto;
  }

  .toolbar {
    border-radius: 20px;
  }

  h1 {
    font-size: 48px;
  }

  .match-title {
    display: grid;
  }

  .status-metrics,
  .match-card-actions,
  .unlock-window-card {
    grid-template-columns: 1fr;
  }

  .account-context-panel {
    display: block;
  }

  .account-context-panel p {
    margin-top: 12px;
  }

  .unlock-window-card .button {
    width: 100%;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-tabs button {
    white-space: nowrap;
  }

  .doc-modal {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Screenshot QA pass: keep platform pages stable on narrow screens and make
   wide internal tables scroll inside their panels instead of widening the page. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.view,
.main,
.section-band,
.page-hero,
.developer-hero,
.research-board-hero,
.pricing-hero,
.account-hero,
.wc-center-hero,
.agent-console-shell,
.account-workspace-shell,
.developer-docs-layout,
.research-layout,
.detail-panel,
.doc-modal {
  min-width: 0;
}

.content-split,
.content-split > *,
.record-list,
.record-card {
  min-width: 0;
}

.record-card strong,
.record-card span,
.record-card p {
  overflow-wrap: anywhere;
}

.research-confidence-bar article,
.wc-event-dashboard article,
.agent-platform-grid article,
.billing-trust-strip article,
.account-activity-list article,
.account-command-center article,
.account-actions-grid article,
.agent-product-overview article,
.research-ops-grid article,
.wc-live-board article,
.billing-console-grid article {
  min-width: 0;
}

.api-key-table,
.comparison-table,
.account-workspace-table,
.developer-ops-table {
  max-width: 100%;
}

@media (max-width: 760px) {
  .account-menu-popover {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 92px;
    width: auto;
    max-width: none;
  }

  .wc-center-copy h2 {
    font-size: clamp(24px, 7.2vw, 31px);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .wc-center-copy h2 span + span {
    margin-left: 0.12em;
  }

  .wc-center-copy {
    min-height: 390px;
  }

  .account-workspace-shell,
  .developer-docs-layout,
  .agent-console-shell,
  .billing-console-preview,
  .research-ops-panel,
  .wc-live-desk {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .account-workspace-nav,
  .developer-docs-nav,
  .agent-console-nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .account-workspace-nav em,
  .developer-docs-nav a,
  .agent-console-nav em {
    overflow-wrap: anywhere;
  }

  .filter-tabs {
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

.pricing-grid .package-card strong {
    font-size: clamp(44px, 14vw, 58px);
  }

  .api-key-table,
  .comparison-table,
  .account-workspace-table,
  .developer-ops-table {
    overflow: visible;
  }

  .api-key-table > div,
  .comparison-table > div,
  .account-workspace-table > div,
  .developer-ops-table > div {
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px;
    align-items: start;
  }

  .api-key-head,
  .comparison-head,
  .developer-ops-head {
    display: none !important;
  }

  .api-key-table span,
  .comparison-table span,
  .account-workspace-table span,
  .account-workspace-table strong,
  .account-workspace-table em,
  .developer-ops-table span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

.pricing-hero h2 {
  max-width: 1120px;
  font-size: clamp(42px, 4.3vw, 62px);
  text-wrap: balance;
}

@media (max-width: 760px) {
  .pricing-hero h2 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 42px);
  }
}
