:root {
  color-scheme: dark;
  --bg: #0f1412;
  --bg-soft: #151b18;
  --panel: rgba(246, 243, 232, 0.08);
  --panel-strong: rgba(246, 243, 232, 0.13);
  --text: #f4f0e5;
  --muted: #b8c2b5;
  --subtle: #758277;
  --line: rgba(244, 240, 229, 0.16);
  --teal: #62d6c5;
  --amber: #f2b65a;
  --green: #8bd174;
  --violet: #9b8cff;
  --danger: #f07878;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(98, 214, 197, 0.08), transparent 440px),
    radial-gradient(circle at 85% 12%, rgba(242, 182, 90, 0.1), transparent 270px),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 14px clamp(18px, 3vw, 48px);
  border-bottom: 1px solid transparent;
  background: rgba(15, 20, 18, 0.5);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header[data-elevated="true"] {
  border-color: var(--line);
  background: rgba(15, 20, 18, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(98, 214, 197, 0.5);
  background: linear-gradient(135deg, rgba(98, 214, 197, 0.22), rgba(242, 182, 90, 0.16));
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a,
.text-link {
  transition: color 160ms ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--teal);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 0 18px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  background: rgba(246, 243, 232, 0.08);
  color: var(--text);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92svh;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 76px) 58px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: image-set(
    url("assets/orzbar-lab-hero.webp") type("image/webp"),
    url("assets/orzbar-lab-hero.png") type("image/png")
  );
  background-size: cover;
  background-position: center;
  transform: scale(1.012);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 20, 18, 0.95) 0%, rgba(15, 20, 18, 0.75) 38%, rgba(15, 20, 18, 0.3) 72%),
    linear-gradient(180deg, rgba(15, 20, 18, 0.28), rgba(15, 20, 18, 0.96));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(4.4rem, 12vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lead {
  width: min(650px, 100%);
  margin: 26px 0 0;
  color: #e2e1d8;
  font-size: clamp(1.06rem, 2.2vw, 1.42rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

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

.button {
  min-width: 152px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  background: var(--teal);
  color: #08100e;
}

.button-secondary {
  background: rgba(15, 20, 18, 0.46);
  color: var(--text);
}

.status-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(620px, 100%);
  margin-top: 56px;
  border: 1px solid var(--line);
  background: rgba(15, 20, 18, 0.66);
  box-shadow: var(--shadow);
}

.status-panel div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.status-panel span,
.item-kicker,
.ticker-card small,
.site-footer {
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-panel strong {
  color: var(--text);
  font-size: 0.95rem;
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 76px);
}

.section-tight {
  padding-top: 36px;
  padding-bottom: 54px;
}

.section-heading {
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2,
.join-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.04;
}

.section-heading p:not(.eyebrow),
.join-copy p,
.feature-copy p,
.analysis-stack p,
.dispatch-list p,
.intro-item p,
.tool-card p,
.workflow-step p {
  color: var(--muted);
  line-height: 1.75;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #111714;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-item {
  padding: clamp(24px, 4vw, 44px);
  background: rgba(246, 243, 232, 0.045);
}

.intro-item h2,
.tool-card h3,
.workflow-step h3,
.feature-copy h3,
.analysis-stack h3,
.dispatch-list h3 {
  margin: 10px 0 0;
  font-size: 1.2rem;
}

.intro-item p,
.tool-card p,
.workflow-step p,
.analysis-stack p,
.dispatch-list p {
  margin: 12px 0 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.tool-card,
.signal-card,
.analysis-stack article,
.dispatch-list article,
.feature-copy,
.source-item,
.media-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.tool-card {
  display: grid;
  align-content: start;
  min-height: 330px;
  padding: 24px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 214, 197, 0.42);
  background: var(--panel-strong);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(98, 214, 197, 0.35);
  color: var(--teal);
  font-weight: 900;
}

.tool-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 26px 0 0;
  list-style: none;
}

.tool-card li {
  border: 1px solid rgba(244, 240, 229, 0.14);
  padding: 7px 9px;
  color: #dcd8ca;
  font-size: 0.82rem;
}

.workflow-band {
  background:
    linear-gradient(180deg, rgba(98, 214, 197, 0.04), transparent),
    #121815;
}

.signal-section {
  background:
    linear-gradient(180deg, rgba(242, 182, 90, 0.04), transparent 50%),
    #0f1412;
}

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

.signal-card {
  display: grid;
  overflow: hidden;
  min-height: 420px;
}

.feature-image img,
.media-card img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.feature-image img {
  aspect-ratio: 16 / 10;
}

.signal-card div {
  padding: 22px;
}

.signal-card h3 {
  margin: 10px 0 0;
  font-size: 1.34rem;
}

.signal-card p {
  color: var(--muted);
  line-height: 1.72;
}

.cadence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.cadence-grid article {
  min-height: 180px;
  padding: 22px;
  background: rgba(246, 243, 232, 0.055);
}

.cadence-grid span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.cadence-grid strong {
  display: block;
  margin-top: 16px;
  font-size: 1.15rem;
}

.cadence-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

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

.workflow-step {
  display: flex;
  gap: 18px;
  min-height: 176px;
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(246, 243, 232, 0.06);
}

.workflow-step.active {
  border-color: rgba(242, 182, 90, 0.58);
  background: rgba(242, 182, 90, 0.12);
}

.workflow-step span {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(98, 214, 197, 0.16);
  color: var(--teal);
  font-weight: 900;
}

.feature-copy {
  display: grid;
  align-content: center;
  padding: clamp(26px, 4vw, 44px);
}

.feature-copy h3 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.text-link {
  width: fit-content;
  margin-top: 22px;
  color: var(--amber);
  font-weight: 800;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
}

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

.ticker-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(98, 214, 197, 0.12), transparent 54%),
    rgba(246, 243, 232, 0.07);
}

.ticker-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: 20px;
  width: 150px;
  height: 60px;
  border: solid rgba(98, 214, 197, 0.28);
  border-width: 2px 0 0 0;
  transform: rotate(-18deg);
}

.ticker-card span {
  color: var(--teal);
  font-weight: 900;
}

.ticker-card strong {
  display: block;
  margin-top: 40px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1;
}

.ticker-card small {
  display: block;
  margin-top: 14px;
  overflow-wrap: anywhere;
}

.ticker-card.up small {
  color: var(--green);
}

.ticker-card.down small {
  color: var(--danger);
}

.skeleton strong {
  color: var(--subtle);
  font-size: 1.4rem;
}

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

.analysis-stack article {
  padding: 24px;
}

.dispatch-section {
  background: #101613;
}

.dispatch-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.dispatch-list article {
  min-height: 230px;
  border: 0;
  padding: 24px;
  background: #151b18;
}

.category-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid rgba(98, 214, 197, 0.28);
  padding: 6px 9px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
}

.dispatch-list time {
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 800;
}

.dispatch-list a:hover,
.source-item:hover,
.media-card:hover {
  color: var(--teal);
}

.radar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  margin-top: 56px;
}

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

.source-item {
  display: grid;
  gap: 8px;
  padding: 18px;
  transition: border-color 160ms ease, background 160ms ease;
}

.source-item:hover,
.media-card:hover {
  border-color: rgba(98, 214, 197, 0.44);
  background: var(--panel-strong);
}

.source-item span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.source-item strong {
  line-height: 1.42;
}

.source-item small {
  color: var(--muted);
  line-height: 1.58;
}

.media-grid {
  display: grid;
  gap: 12px;
}

.media-card {
  display: grid;
  overflow: hidden;
}

.media-card img {
  aspect-ratio: 16 / 8;
}

.media-card span {
  padding: 14px 16px;
  font-weight: 800;
}

.text-media {
  min-height: 120px;
  align-content: center;
  padding: 18px;
}

.text-media span {
  padding: 0;
}

.text-media small {
  margin-top: 8px;
  color: var(--muted);
}

.article-shell {
  min-height: 100svh;
  padding: 130px clamp(18px, 5vw, 76px) 80px;
  background:
    linear-gradient(180deg, rgba(98, 214, 197, 0.08), transparent 360px),
    var(--bg);
}

.article-view {
  width: min(860px, 100%);
}

.article-view h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 1.02;
}

.article-summary {
  color: #e2e1d8;
  font-size: 1.16rem;
  line-height: 1.78;
}

.article-view time {
  display: block;
  margin: 24px 0 42px;
  color: var(--amber);
  font-weight: 800;
}

.article-body {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.article-body h2 {
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.article-body p,
.article-body ul {
  margin: 0;
}

.article-body a {
  color: var(--teal);
}

.article-body li + li {
  margin-top: 10px;
}

.risk-note {
  margin-top: 44px;
  border-left: 3px solid var(--amber);
  padding-left: 16px;
  color: var(--muted);
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.join-copy {
  width: min(760px, 100%);
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #0b100e;
}

@media (max-width: 1080px) {
  .tool-grid,
  .signal-grid,
  .ticker-grid,
  .dispatch-list,
  .cadence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-layout,
  .workflow-layout,
  .radar-layout {
    grid-template-columns: 1fr;
  }

  .ticker-card {
    min-height: 180px;
  }
}

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

  .main-nav {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 112px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(15, 20, 18, 0.58), rgba(15, 20, 18, 0.95)),
      linear-gradient(90deg, rgba(15, 20, 18, 0.82), rgba(15, 20, 18, 0.24));
  }

  .hero-media {
    background-position: 58% center;
    transform: none;
  }

  .hero-lead {
    max-width: 34ch;
    font-size: 1.02rem;
    line-height: 1.68;
  }

  .status-panel,
  .intro-grid,
  .dispatch-list,
  .join-section {
    grid-template-columns: 1fr;
  }

  .tool-grid,
  .signal-grid,
  .ticker-grid,
  .workflow-board,
  .cadence-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 260px;
  }

  .join-actions {
    justify-content: start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-copy span {
    display: none;
  }

  .hero-actions,
  .join-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-inline: 16px;
  }
}
