:root {
  --bg: #11110f;
  --bg-deep: #090908;
  --surface: #181816;
  --surface-strong: #20201d;
  --surface-soft: rgba(27, 27, 24, 0.82);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f2ec;
  --text-soft: #c8c2b9;
  --muted: #8d8881;
  --ember: #ed7336;
  --ember-soft: #ff9f62;
  --rose: #e64b6c;
  --green: #85d7a5;
  --amber: #f2b65d;
  --red: #ef6a72;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 36px 110px rgba(0, 0, 0, 0.48);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(218, 84, 53, 0.08), transparent 34%),
    var(--bg);
  font-size: 14px;
  line-height: 1.6;
}

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

button {
  color: inherit;
}

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(237, 115, 54, 0.72);
  outline-offset: 2px;
}

::selection {
  color: #fff;
  background: rgba(237, 115, 54, 0.75);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #10100e;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #10100e;
  border-radius: 999px;
  background: #3d3a35;
}

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

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 17, 15, 0.78);
  backdrop-filter: blur(22px);
}

.brand,
.top-actions,
.top-nav,
.hero-actions,
.action-row,
.result-actions,
.report-meta,
.invite-box,
.check-line,
.deck-topline,
.deck-topline > div,
.score-block,
.lead-bar-top,
.signal-item {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.05);
  transform-origin: 50% 28%;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark path,
.brand-mark circle {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-paper,
.logo-fold,
.logo-shield,
.logo-line {
  stroke: rgba(245, 242, 236, 0.78);
  stroke-width: 1.3;
}

.logo-orbit {
  stroke: var(--ember);
  stroke-width: 1.6;
}

.logo-node {
  fill: var(--rose) !important;
  stroke: none !important;
}

.brand-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.brand-line {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.top-nav {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.top-nav-btn,
.nav-btn,
.bottom-btn,
.text-btn {
  border: 0;
  cursor: pointer;
  background: transparent;
}

.top-nav-btn {
  min-width: 60px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  transition: color 180ms ease, background 180ms ease;
}

.top-nav-btn:hover,
.top-nav-btn.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.top-actions {
  justify-self: end;
  gap: 10px;
}

.status-pill,
.ghost-btn {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
}

.ghost-btn {
  cursor: pointer;
}

.ghost-btn:hover {
  border-color: rgba(237, 115, 54, 0.5);
  color: #fff;
}

.layout {
  min-height: 100vh;
}

.rail {
  display: none;
}

.main {
  min-width: 0;
  padding-top: 72px;
}

.view {
  display: none;
}

.view.active {
  display: block;
  animation: viewIn 420ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  letter-spacing: -0.02em;
}

.signal-stage {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  padding: 82px 34px 70px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #151513;
  background-size: 42px 42px;
}

.signal-stage::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 31%, rgba(242, 111, 49, 0.12), transparent 18%),
    radial-gradient(circle at 50% 42%, rgba(9, 9, 8, 0.1) 0 28%, rgba(9, 9, 8, 0.74) 66%);
}

.signal-stage::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

.signal-orbit {
  position: absolute;
  z-index: -1;
  top: -330px;
  left: 50%;
  width: 980px;
  height: 980px;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
  background: conic-gradient(from 215deg, transparent 0 6%, var(--ember) 17%, #ff9a5e 31%, var(--rose) 48%, rgba(230, 75, 108, 0.2) 62%, transparent 72% 100%);
  filter: drop-shadow(0 0 14px rgba(237, 115, 54, 0.74)) drop-shadow(0 0 34px rgba(230, 75, 108, 0.42));
  animation: orbitBreathe 5.6s ease-in-out infinite;
}

.orbit-two {
  top: -326px;
  width: 988px;
  height: 988px;
  opacity: 0.3;
  filter: blur(18px);
  animation-delay: -2.2s;
}

.stage-intro {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin: 0 auto 32px;
  text-align: center;
}

.stage-sigil {
  position: relative;
  width: 42px;
  height: 42px;
  margin: 0 auto 20px;
}

.stage-sigil::before,
.stage-sigil::after {
  position: absolute;
  content: "";
}

.stage-sigil::before {
  top: 8px;
  left: 9px;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(245, 242, 236, 0.38);
  border-width: 0 0 1px 1px;
  border-radius: 50%;
  transform: rotate(-24deg);
}

.stage-sigil::after {
  top: 2px;
  left: 21px;
  width: 9px;
  height: 9px;
  background: var(--rose);
  box-shadow: 0 0 18px rgba(230, 75, 108, 0.7);
  transform: rotate(45deg);
}

.stage-sigil span {
  position: absolute;
  right: 5px;
  bottom: 7px;
  width: 23px;
  height: 1px;
  background: var(--ember);
  transform: rotate(28deg);
  transform-origin: right;
}

.stage-intro .eyebrow {
  color: rgba(245, 242, 236, 0.58);
}

.stage-intro h1 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.stage-intro h1 span {
  display: inline;
}

.hero-sub {
  width: min(580px, 100%);
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 15px;
}

.hero-actions {
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.founder-entry {
  display: flex;
  align-items: center;
  width: min(520px, 100%);
  min-height: 60px;
  margin: 18px auto 0;
  padding: 7px 9px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  background: rgba(19, 19, 17, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.founder-entry:hover {
  transform: translateY(-1px);
  border-color: rgba(237, 115, 54, 0.45);
  background: rgba(28, 27, 24, 0.88);
}

.founder-avatar {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  font-style: normal;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.05);
  transform-origin: 50% 28%;
}

.founder-entry > span {
  display: grid;
  min-width: 0;
  margin-left: 11px;
}

.founder-entry small {
  color: var(--ember);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.founder-entry strong {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.founder-entry i {
  margin: 0 3px;
  color: #665f57;
  font-style: normal;
}

.founder-entry b {
  margin-left: auto;
  padding: 0 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.primary-btn,
.secondary-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.primary-btn {
  border: 1px solid transparent;
  color: #fff;
  background: var(--ember);
  box-shadow: 0 10px 28px rgba(237, 115, 54, 0.18);
}

.primary-btn:hover {
  transform: translateY(-1px);
  background: #f08148;
  box-shadow: 0 14px 34px rgba(237, 115, 54, 0.26);
}

.secondary-btn {
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.025);
}

.secondary-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(237, 115, 54, 0.48);
  color: #fff;
  background: rgba(237, 115, 54, 0.07);
}

.analysis-deck {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(24, 24, 22, 0.91);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.deck-topline {
  justify-content: space-between;
  min-height: 46px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.deck-topline > div {
  gap: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(133, 215, 165, 0.85);
  animation: livePulse 2s ease infinite;
}

.text-btn {
  padding: 7px 0;
  color: var(--text-soft);
  font-size: 11px;
  letter-spacing: 0;
}

.text-btn:hover {
  color: var(--ember-soft);
}

.task-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.task-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 10px;
  min-width: 0;
  padding: 16px 18px 15px;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  background: transparent;
  transition: background 180ms ease, color 180ms ease;
}

.task-card:last-child {
  border-right: 0;
}

.task-card::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 2px;
  content: "";
  opacity: 0;
  background: var(--ember);
  box-shadow: 0 0 12px rgba(237, 115, 54, 0.7);
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.task-card:hover,
.task-card.active {
  background: rgba(255, 255, 255, 0.035);
}

.task-card.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.task-card span {
  grid-row: 1 / 3;
  padding-top: 2px;
  color: var(--ember);
  font-size: 9px;
  font-weight: 700;
}

.task-card strong {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 640;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-card small {
  overflow: hidden;
  color: #6f6b65;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-card.active strong {
  color: #fff;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
}

.input-pane {
  min-width: 0;
  padding: 28px;
}

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

.section-head h1 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.mini-status {
  flex: 0 0 auto;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.mini-status span,
.mini-status strong {
  display: block;
}

.mini-status span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.mini-status strong {
  margin-top: 3px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 550;
}

.task-tabs {
  display: none;
}

.precheck-form {
  display: grid;
  gap: 16px;
}

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

.form-grid label,
.textarea-wrap {
  display: grid;
  gap: 7px;
}

.form-grid label > span,
.textarea-wrap > span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

select,
textarea,
.invite-box input {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

select {
  height: 42px;
  padding: 0 34px 0 12px;
  border-radius: 11px;
  color-scheme: dark;
}

select:focus,
textarea:focus,
.invite-box input:focus {
  border-color: rgba(237, 115, 54, 0.5);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(237, 115, 54, 0.08);
}

.upload-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

#contractFile {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.file-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 0 15px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 180ms ease, background 180ms ease;
}

.file-box:hover {
  border-color: rgba(237, 115, 54, 0.55);
  background: rgba(237, 115, 54, 0.035);
}

.file-main {
  color: var(--text-soft);
  font-size: 12px;
}

.file-sub {
  overflow: hidden;
  color: #706c66;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-line {
  gap: 8px;
  min-height: 50px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.check-line input {
  width: 15px;
  height: 15px;
  accent-color: var(--ember);
}

textarea {
  min-height: 176px;
  padding: 15px 16px;
  resize: vertical;
  border-radius: 14px;
  line-height: 1.75;
}

textarea::placeholder,
input::placeholder {
  color: #67635d;
}

.action-row {
  flex-wrap: wrap;
  gap: 10px;
}

.analyze-btn {
  min-width: 132px;
}

.analyze-btn span {
  display: inline-block;
  margin-left: 7px;
  font-size: 16px;
}

.safe-note {
  margin-left: auto;
  color: #6f6b65;
  font-size: 10px;
}

.result-pane {
  min-width: 0;
  min-height: 570px;
  padding: 28px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    rgba(8, 8, 7, 0.24);
  background-size: 24px 24px;
}

.result-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 510px;
  text-align: center;
}

.result-empty h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 23px;
}

.result-empty > p:not(.eyebrow) {
  max-width: 350px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 12px;
}

.idle-scan {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 115, 54, 0.08), transparent 55%);
}

.idle-scan::before,
.idle-scan::after,
.idle-scan span {
  position: absolute;
  content: "";
}

.idle-scan::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.idle-scan::after {
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 16px rgba(237, 115, 54, 0.9);
  transform: translate(-50%, -50%);
}

.idle-scan span {
  top: 50%;
  left: 50%;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(237, 115, 54, 0), var(--ember));
  transform-origin: left center;
  animation: scanRound 3.6s linear infinite;
}

.empty-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.empty-flow div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #74706a;
  font-size: 9px;
}

.empty-flow span {
  display: block;
  margin-bottom: 3px;
  color: var(--ember);
}

.deck-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  color: #6f6b65;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 34px auto 0;
  color: #6f6b65;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.scroll-cue span {
  position: relative;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.scroll-cue span::after {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  content: "";
  background: var(--ember);
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease infinite;
}

.intelligence-flow {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
  padding: 96px max(34px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}

.flow-copy h2 {
  max-width: 430px;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.flow-track div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 14px;
  padding: 22px 14px 22px 0;
  border-bottom: 1px solid var(--line);
}

.flow-track div:nth-child(odd) {
  margin-right: 22px;
}

.flow-track span {
  grid-row: 1 / 3;
  color: var(--ember);
  font-size: 10px;
}

.flow-track strong {
  color: var(--text);
  font-size: 15px;
}

.flow-track small {
  color: var(--muted);
  font-size: 11px;
}

.score-block {
  gap: 15px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.score-ring {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border: 1px solid rgba(237, 115, 54, 0.55);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle, rgba(237, 115, 54, 0.18), transparent 62%);
  box-shadow: inset 0 0 28px rgba(237, 115, 54, 0.07), 0 0 26px rgba(237, 115, 54, 0.08);
  font-size: 25px;
  font-weight: 720;
}

.score-block h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 24px;
}

.report-meta {
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
}

.tag.green {
  border-color: rgba(133, 215, 165, 0.25);
  color: var(--green);
}

.tag.amber {
  border-color: rgba(242, 182, 93, 0.3);
  color: var(--amber);
}

.tag.red {
  border-color: rgba(239, 106, 114, 0.3);
  color: var(--red);
}

.result-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.result-section:last-child {
  border-bottom: 0;
}

.result-section h3 {
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.result-section p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 12px;
}

.compact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 11px;
}

.compact-list li::marker {
  color: var(--ember);
}

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

.lens-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
}

.lens-grid span,
.lens-grid strong {
  display: block;
}

.lens-grid span {
  color: var(--muted);
  font-size: 9px;
}

.lens-grid strong {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 11px;
}

.soft-callout {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(237, 115, 54, 0.2);
  border-radius: 12px;
  background: rgba(237, 115, 54, 0.05);
}

.soft-callout span,
.soft-callout strong {
  display: block;
}

.soft-callout span {
  color: var(--muted);
  font-size: 9px;
}

.soft-callout strong {
  margin: 4px 0 7px;
  color: var(--ember-soft);
  font-size: 13px;
}

.result-actions {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.result-actions .primary-btn,
.result-actions .secondary-btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 10px;
}

.risk-critical .score-ring,
.risk-high .score-ring {
  border-color: rgba(239, 106, 114, 0.55);
  background: radial-gradient(circle, rgba(239, 106, 114, 0.18), transparent 62%);
}

.risk-low .score-ring,
.risk-medium .score-ring {
  border-color: rgba(133, 215, 165, 0.48);
  background: radial-gradient(circle, rgba(133, 215, 165, 0.14), transparent 62%);
}

.page-head,
.report-list,
.benefit-grid,
.growth-path,
.event-strip,
.event-list,
.admin-grid {
  width: min(1120px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 82px 0 28px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
}

.report-list,
.event-list {
  display: grid;
  gap: 0;
  padding: 18px 0 80px;
}

.report-item,
.event-item,
.redeem-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
}

.report-item > div:first-child,
.event-item > div:first-child {
  min-width: 0;
}

.report-title,
.event-title {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
}

.report-item p,
.event-item p {
  max-width: 760px;
  margin: 5px 0 11px;
  color: var(--muted);
  font-size: 12px;
}

.benefit-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0 26px;
}

.plain-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.018);
}

.plain-panel h2 {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 18px;
}

.plain-panel > p {
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-row div {
  padding: 18px 0;
}

.metric-row span,
.metric-row strong {
  display: block;
}

.metric-row span {
  color: var(--muted);
  font-size: 10px;
}

.metric-row strong {
  margin-top: 5px;
  color: var(--text);
  font-size: 19px;
}

.invite-box {
  gap: 8px;
}

.invite-box input {
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  border-radius: 10px;
}

.share-note {
  display: grid;
  gap: 3px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid var(--ember);
}

.share-note strong {
  color: var(--text-soft);
  font-size: 11px;
}

.share-note span {
  color: var(--muted);
  font-size: 11px;
}

.redeem-list {
  border-top: 1px solid var(--line);
}

.redeem-item {
  padding: 14px 0;
}

.redeem-item strong,
.redeem-item span {
  display: block;
}

.redeem-item strong {
  color: var(--text-soft);
  font-size: 12px;
}

.redeem-item span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.growth-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 0 80px;
  border-top: 1px solid var(--line-strong);
}

.growth-path > div {
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid var(--line);
}

.growth-path span,
.growth-path strong {
  display: block;
}

.growth-path span {
  color: var(--ember);
  font-size: 10px;
}

.growth-path strong {
  margin-top: 7px;
  color: var(--text);
}

.growth-path p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.host-page-card,
.event-section-head {
  width: min(1120px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.host-page-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin-top: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 14% 25%, rgba(237, 115, 54, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.018);
}

.host-page-card > img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22px;
  object-fit: cover;
  object-position: 50% 25%;
}

.host-page-card h2 {
  max-width: 690px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.22;
}

.host-page-card p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--muted);
}

.event-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.event-section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
}

.event-strip div {
  padding: 20px 0;
}

.event-strip span,
.event-strip strong {
  display: block;
}

.event-strip span {
  color: var(--muted);
  font-size: 10px;
}

.event-strip strong {
  margin-top: 3px;
  color: var(--text-soft);
}

.admin-grid {
  padding-bottom: 80px;
}

.lead-bars,
.signal-list {
  display: grid;
  gap: 16px;
}

.lead-bar-top,
.signal-item {
  justify-content: space-between;
}

.lead-bar-top {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
}

.bar-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ember), var(--rose));
}

.signal-item {
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.signal-item strong,
.signal-item span {
  display: block;
}

.signal-item strong {
  color: var(--text-soft);
  font-size: 11px;
}

.signal-item span {
  color: var(--muted);
  font-size: 9px;
}

.bottom-nav {
  display: none;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(237, 115, 54, 0.26);
  border-radius: 12px;
  color: var(--text);
  background: rgba(28, 27, 24, 0.96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

.account-chip,
.charge-btn {
  border: 1px solid var(--line);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.account-chip:hover,
.charge-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(237, 115, 54, 0.42);
  background: rgba(237, 115, 54, 0.06);
}

.account-chip {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  text-align: left;
}

.account-avatar {
  display: block;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  font-style: normal;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.05);
  transform-origin: 50% 28%;
}

.account-chip span,
.account-chip strong,
.account-chip small {
  display: block;
}

.account-chip strong {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 650;
}

.account-chip small {
  color: #746f68;
  font-size: 8px;
}

.charge-btn {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
}

.modal-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(5, 5, 4, 0.78);
  backdrop-filter: blur(18px);
  animation: modalFade 180ms ease both;
}

.modal-card {
  position: relative;
  width: min(480px, 100%);
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: #1b1b18;
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.62);
  animation: modalIn 240ms ease both;
}

.modal-card h2 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-soft);
  cursor: pointer;
  background: rgba(10, 10, 9, 0.58);
  font-size: 22px;
  line-height: 1;
}

.founder-modal {
  width: min(960px, 100%);
  padding: 0;
  overflow: hidden;
}

.founder-modal-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
}

.founder-modal figure {
  position: relative;
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  background: #d9b890;
}

.founder-modal figure::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(10, 10, 9, 0.72));
}

.founder-modal figure img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  object-position: 50% 20%;
}

.founder-modal figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.founder-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 46px 44px;
}

.founder-story h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  letter-spacing: -0.045em;
}

.founder-story > p:not(.eyebrow) {
  margin-bottom: 13px;
  color: var(--text-soft);
  font-size: 12px;
}

.founder-story blockquote {
  margin: 7px 0 18px;
  padding: 13px 0 13px 16px;
  border-left: 2px solid var(--ember);
  color: #fff;
  font-size: 14px;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.founder-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
}

.founder-story .primary-btn {
  align-self: flex-start;
}

.modal-avatar {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 18px;
  object-fit: cover;
  object-position: 50% 24%;
}

.modal-intro {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

.account-wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-wallet span,
.account-wallet strong {
  display: block;
}

.account-wallet span {
  color: var(--muted);
  font-size: 9px;
}

.account-wallet strong {
  margin-top: 2px;
  color: #fff;
  font-size: 21px;
}

.modal-field {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.modal-field span {
  color: var(--muted);
  font-size: 10px;
}

.modal-field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.local-note {
  display: block;
  margin-top: 13px;
  color: #69655f;
  font-size: 9px;
}

.wallet-balance {
  margin: 22px 0 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wallet-balance span,
.wallet-balance strong {
  display: block;
}

.wallet-balance span {
  color: var(--muted);
  font-size: 10px;
}

.wallet-balance strong {
  margin-top: 4px;
  color: #fff;
  font-size: 32px;
}

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

.recharge-options button {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text-soft);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
}

.recharge-options button.active {
  border-color: rgba(237, 115, 54, 0.6);
  color: #fff;
  background: rgba(237, 115, 54, 0.09);
  box-shadow: inset 0 0 0 1px rgba(237, 115, 54, 0.16);
}

.recharge-options span {
  color: var(--ember);
  font-size: 11px;
}

.recharge-options strong {
  margin-left: 2px;
  font-size: 22px;
}

.recharge-confirm {
  width: 100%;
  margin-top: 14px;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes orbitBreathe {
  0%, 100% { opacity: 0.76; transform: translateX(-50%) scale(0.99); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.015); }
}

@keyframes livePulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes scanRound {
  to { transform: rotate(360deg); }
}

@keyframes scrollCue {
  0% { opacity: 0; transform: translate(-50%, -2px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 8px); }
}

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

  .top-nav {
    display: none;
  }

  .workspace-grid,
  .intelligence-flow {
    grid-template-columns: 1fr;
  }

  .result-pane {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .result-empty {
    min-height: 390px;
  }

  .intelligence-flow {
    gap: 44px;
  }

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

@media (max-width: 720px) {
  body {
    padding-bottom: 68px;
  }

  .topbar {
    min-height: 62px;
    padding: 0 14px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .brand-name {
    font-size: 13px;
  }

  .account-chip {
    min-height: 36px;
    padding: 0 11px;
  }

  .account-avatar {
    width: 28px;
    height: 28px;
  }

  .account-chip small {
    display: none;
  }

  .account-chip strong {
    max-width: 66px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .charge-btn {
    min-height: 34px;
    padding: 0 11px;
    font-size: 10px;
  }

  .main {
    padding-top: 62px;
  }

  .signal-stage {
    min-height: calc(100vh - 62px);
    padding: 58px 14px 58px;
    background-size: 32px 32px;
  }

  .signal-orbit {
    top: -164px;
    width: 610px;
    height: 610px;
  }

  .orbit-two {
    top: -160px;
    width: 618px;
    height: 618px;
  }

  .stage-intro {
    margin-bottom: 26px;
  }

  .stage-sigil {
    margin-bottom: 14px;
  }

  .stage-intro h1 {
    font-size: clamp(32px, 9.2vw, 38px);
  }

  .stage-intro h1 span {
    display: block;
  }

  .hero-sub {
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .founder-entry {
    min-height: 54px;
    margin-top: 15px;
  }

  .founder-avatar {
    width: 40px;
    height: 40px;
  }

  .founder-entry b {
    display: none;
  }

  .analysis-deck {
    border-radius: 22px;
  }

  .deck-topline {
    padding: 0 16px;
  }

  .task-cards {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .task-cards::-webkit-scrollbar {
    display: none;
  }

  .task-card {
    min-width: 126px;
    padding: 14px 13px;
  }

  .input-pane,
  .result-pane {
    padding: 21px 16px;
  }

  .section-head {
    display: block;
  }

  .section-head h1 {
    font-size: 23px;
  }

  .mini-status {
    margin-top: 14px;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .upload-row {
    grid-template-columns: 1fr;
  }

  .file-box {
    display: grid;
    justify-content: stretch;
    gap: 2px;
    padding: 10px 13px;
  }

  .file-sub {
    white-space: normal;
  }

  .check-line {
    min-height: auto;
  }

  textarea {
    min-height: 190px;
  }

  .safe-note {
    width: 100%;
    margin-left: 0;
  }

  .deck-footer {
    display: grid;
    gap: 3px;
    padding: 12px 16px;
  }

  .scroll-cue {
    margin-top: 24px;
  }

  .intelligence-flow {
    padding: 68px 18px;
  }

  .flow-track {
    grid-template-columns: 1fr;
  }

  .flow-track div:nth-child(odd) {
    margin-right: 0;
  }

  .page-head,
  .report-list,
  .benefit-grid,
  .growth-path,
  .event-strip,
  .event-list,
  .admin-grid,
  .host-page-card,
  .event-section-head {
    width: calc(100% - 28px);
  }

  .page-head {
    display: block;
    padding: 58px 0 22px;
  }

  .page-head .primary-btn,
  .page-head .secondary-btn {
    margin-top: 18px;
  }

  .benefit-grid,
  .admin-grid,
  .growth-path,
  .event-strip,
  .host-page-card {
    grid-template-columns: 1fr;
  }

  .host-page-card {
    gap: 22px;
    padding: 16px;
  }

  .host-page-card > img {
    aspect-ratio: 1.18;
  }

  .event-section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 46px;
  }

  .modal-backdrop {
    align-items: end;
    padding: 10px;
  }

  .modal-card {
    max-height: calc(100vh - 20px);
    padding: 24px 20px;
    overflow-y: auto;
    border-radius: 24px;
  }

  .founder-modal {
    padding: 0;
  }

  .founder-modal-layout {
    grid-template-columns: 1fr;
  }

  .founder-modal figure,
  .founder-modal figure img {
    min-height: 260px;
    max-height: 300px;
  }

  .founder-story {
    padding: 28px 20px 26px;
  }

  .founder-story h2 {
    font-size: 29px;
  }

  .report-item,
  .event-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-strip div {
    border-bottom: 1px solid var(--line);
  }

  .bottom-nav {
    position: fixed;
    z-index: 60;
    right: 10px;
    bottom: 9px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(24, 24, 22, 0.94);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(20px);
  }

  .bottom-btn {
    min-height: 44px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 10px;
  }

  .bottom-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
  }

  .toast {
    right: 14px;
    bottom: 76px;
  }
}

@media (max-width: 460px) {
  .topbar {
    gap: 7px;
  }

  .brand {
    gap: 7px;
  }

  .brand-name {
    font-size: 10.5px;
  }

  .top-actions {
    gap: 5px;
  }

  .account-chip strong {
    max-width: none;
  }

  .account-avatar {
    display: none;
  }

  .account-chip {
    padding: 0 9px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .primary-btn,
  .secondary-btn {
    padding-right: 15px;
    padding-left: 15px;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    flex: 1;
  }

  .empty-flow,
  .lens-grid,
  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-entry strong {
    font-size: 10px;
  }

  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-row div {
    border-bottom: 1px solid var(--line);
  }

  .invite-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}


.page-head-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

/* UI POLISH V8 */
.signal-stage {
  padding-top: clamp(92px, 10vh, 132px);
  background-size: 46px 46px;
}

.signal-stage::before {
  background:
    radial-gradient(circle at 50% 28%, rgba(244, 113, 47, 0.2), transparent 16%),
    radial-gradient(circle at 50% 38%, rgba(230, 75, 108, 0.08), transparent 34%),
    radial-gradient(circle at 50% 44%, rgba(9, 9, 8, 0.06) 0 27%, rgba(9, 9, 8, 0.8) 68%);
  animation: stageAura 8s ease-in-out infinite;
}

.signal-stage::after {
  opacity: 0.15;
  animation: grainShift 8s steps(2, end) infinite;
}

.signal-orbit {
  top: -360px;
  width: 1080px;
  height: 1080px;
  filter: drop-shadow(0 0 18px rgba(237, 115, 54, 0.78)) drop-shadow(0 0 48px rgba(230, 75, 108, 0.46));
  animation: orbitDrift 10s ease-in-out infinite;
}

.orbit-two {
  top: -353px;
  width: 1094px;
  height: 1094px;
  opacity: 0.34;
  filter: blur(24px);
  animation: orbitGlow 7s ease-in-out infinite -2.4s;
}

.stage-intro {
  width: min(900px, 100%);
  margin-bottom: 58px;
  animation: heroReveal 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stage-sigil {
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  animation: sigilFloat 4.8s ease-in-out infinite;
}

.stage-sigil::before {
  top: 9px;
  left: 10px;
  width: 33px;
  height: 33px;
  border-color: rgba(245, 242, 236, 0.46);
}

.stage-sigil::after {
  top: 1px;
  left: 28px;
  width: 11px;
  height: 11px;
  box-shadow: 0 0 12px rgba(230, 75, 108, 0.94), 0 0 34px rgba(230, 75, 108, 0.62);
  animation: starPulse 2.4s ease-in-out infinite;
}

.stage-sigil span {
  right: 5px;
  bottom: 8px;
  width: 31px;
  background: linear-gradient(90deg, transparent, var(--ember) 42%, var(--rose));
  box-shadow: 0 0 10px rgba(237, 115, 54, 0.42);
}

.stage-intro h1 {
  margin-bottom: 20px;
  font-size: clamp(54px, 5.7vw, 78px);
  font-weight: 780;
  line-height: 1.06;
  letter-spacing: -0.062em;
  text-shadow: 0 4px 34px rgba(255, 255, 255, 0.08), 0 18px 70px rgba(0, 0, 0, 0.44);
}

.hero-sub {
  width: min(660px, 100%);
  color: rgba(225, 220, 212, 0.78);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  gap: 12px;
  margin-top: 30px;
}

.hero-actions .primary-btn,
.hero-actions .secondary-btn {
  min-height: 50px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 620;
}

.hero-actions .primary-btn {
  box-shadow: 0 12px 34px rgba(237, 115, 54, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: primaryBreathe 3.2s ease-in-out infinite;
}

.analysis-deck {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: rgba(23, 23, 21, 0.94);
  box-shadow: 0 42px 130px rgba(0, 0, 0, 0.58), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  animation: deckReveal 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.analysis-deck::before {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 7%;
  left: 7%;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 152, 93, 0.5), rgba(230, 75, 108, 0.38), transparent);
}

.analysis-deck::after {
  position: absolute;
  z-index: 4;
  top: 0;
  left: -28%;
  width: 26%;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  filter: blur(0.5px);
  animation: deckScan 5.6s ease-in-out infinite 1.2s;
}

.deck-topline {
  min-height: 52px;
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.012);
}

.live-dot {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 12px rgba(133, 215, 165, 0.95), 0 0 24px rgba(133, 215, 165, 0.38);
}

.task-card {
  min-height: 76px;
  padding: 18px 20px 17px;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.task-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.task-card.active {
  background: linear-gradient(180deg, rgba(237, 115, 54, 0.07), rgba(255, 255, 255, 0.025));
}

.task-card.active::after {
  height: 3px;
}

.task-card span {
  font-size: 10px;
}

.task-card strong {
  font-size: 14px;
}

.input-pane,
.result-pane {
  padding: 34px;
}

.section-head {
  margin-bottom: 27px;
}

.section-head h1 {
  font-size: 30px;
}

.form-grid {
  gap: 11px;
}

select {
  height: 46px;
  border-radius: 13px;
}

select:hover,
textarea:hover,
.file-box:hover {
  border-color: rgba(255, 255, 255, 0.23);
}

.file-box {
  min-height: 56px;
  border-radius: 14px;
}

textarea {
  min-height: 208px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
}

.analyze-btn {
  position: relative;
  min-height: 46px;
  overflow: hidden;
}

.analyze-btn::before {
  position: absolute;
  inset: 0 auto 0 -48%;
  width: 38%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-18deg);
  animation: buttonSweep 4.6s ease-in-out infinite 1.5s;
}

.result-pane {
  min-height: 640px;
  background:
    radial-gradient(circle at 50% 33%, rgba(237, 115, 54, 0.05), transparent 27%),
    linear-gradient(rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.017) 1px, transparent 1px),
    rgba(8, 8, 7, 0.25);
  background-size: auto, 24px 24px, 24px 24px, auto;
}

.result-empty {
  min-height: 570px;
}

.idle-scan {
  width: 138px;
  height: 138px;
  box-shadow: 0 0 54px rgba(237, 115, 54, 0.08);
  animation: radarBreathe 3.8s ease-in-out infinite;
}

.scroll-cue {
  margin-top: 42px;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(22px) scale(0.985); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes deckReveal {
  from { opacity: 0; transform: translateY(30px) scale(0.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes stageAura {
  0%, 100% { opacity: 0.78; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-0.5%, 0.5%); }
  50% { transform: translate(0.5%, -0.5%); }
  75% { transform: translate(0.3%, 0.3%); }
}

@keyframes orbitDrift {
  0%, 100% { opacity: 0.76; transform: translateX(-50%) rotate(-1.5deg) scale(0.995); }
  50% { opacity: 1; transform: translateX(-50%) rotate(2deg) scale(1.018); }
}

@keyframes orbitGlow {
  0%, 100% { opacity: 0.22; transform: translateX(-50%) scale(0.985); }
  50% { opacity: 0.5; transform: translateX(-50%) scale(1.025); }
}

@keyframes sigilFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(2deg); }
}

@keyframes starPulse {
  0%, 100% { opacity: 0.72; transform: rotate(45deg) scale(0.9); }
  50% { opacity: 1; transform: rotate(45deg) scale(1.18); }
}

@keyframes primaryBreathe {
  0%, 100% { box-shadow: 0 12px 34px rgba(237, 115, 54, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
  50% { box-shadow: 0 16px 46px rgba(237, 115, 54, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.13) inset; }
}

@keyframes deckScan {
  0%, 35% { left: -28%; opacity: 0; }
  46% { opacity: 0.8; }
  65%, 100% { left: 108%; opacity: 0; }
}

@keyframes buttonSweep {
  0%, 55% { left: -48%; opacity: 0; }
  65% { opacity: 1; }
  82%, 100% { left: 118%; opacity: 0; }
}

@keyframes radarBreathe {
  0%, 100% { transform: scale(0.98); opacity: 0.8; }
  50% { transform: scale(1.035); opacity: 1; }
}

@media (max-width: 980px) {
  .stage-intro h1 {
    font-size: clamp(50px, 7.2vw, 66px);
  }

  .input-pane,
  .result-pane {
    padding: 30px;
  }
}

@media (max-width: 720px) {
  .signal-stage {
    padding: 62px 14px 64px;
    background-size: 36px 36px;
  }

  .signal-orbit {
    top: -180px;
    width: 700px;
    height: 700px;
  }

  .orbit-two {
    top: -174px;
    width: 712px;
    height: 712px;
  }

  .stage-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    margin-bottom: 38px;
  }

  .stage-sigil {
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
  }

  .stage-sigil::before {
    width: 30px;
    height: 30px;
  }

  .stage-intro h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 11.6vw, 52px);
    line-height: 1.08;
  }

  .hero-sub {
    width: min(360px, 100%);
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    min-height: 48px;
    padding: 0 22px;
    font-size: 13px;
  }

  .analysis-deck {
    border-radius: 25px;
  }

  .deck-topline {
    min-height: 48px;
  }

  .task-card {
    min-height: 72px;
  }

  .input-pane,
  .result-pane {
    padding: 24px 18px;
  }

  .section-head h1 {
    font-size: 27px;
  }

  .result-pane,
  .result-empty {
    min-height: 460px;
  }
}

@media (max-width: 460px) {
  .stage-intro {
    min-height: 390px;
  }

  .stage-intro h1 {
    font-size: clamp(40px, 11.8vw, 48px);
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-stage::before,
  .signal-stage::after,
  .signal-orbit,
  .stage-intro,
  .stage-sigil,
  .stage-sigil::after,
  .hero-actions .primary-btn,
  .analysis-deck,
  .analysis-deck::after,
  .analyze-btn::before,
  .idle-scan {
    animation: none !important;
  }
}
/* ORBIT MOTION V9 */
.signal-stage > .signal-orbit {
  z-index: 0;
  top: -350px;
  width: 1120px;
  height: 1120px;
  opacity: 0.96;
  background: conic-gradient(
    from 202deg,
    transparent 0 5%,
    rgba(241, 108, 47, 0.28) 8%,
    #f67b37 15%,
    #ff9a58 23%,
    transparent 31% 45%,
    rgba(229, 70, 105, 0.3) 50%,
    #e94f72 58%,
    #ff6e89 65%,
    transparent 73% 100%
  );
  filter:
    drop-shadow(0 0 8px rgba(247, 121, 54, 0.92))
    drop-shadow(0 0 24px rgba(237, 90, 70, 0.62))
    drop-shadow(0 0 52px rgba(230, 75, 108, 0.28));
  will-change: transform, opacity, filter;
  animation: orbitSweepPrimary 20s linear infinite;
}

.signal-stage > .orbit-two {
  top: -336px;
  width: 1148px;
  height: 1148px;
  opacity: 0.46;
  background: conic-gradient(
    from 28deg,
    transparent 0 9%,
    rgba(255, 143, 76, 0.22) 14%,
    rgba(255, 143, 76, 0.88) 22%,
    transparent 34% 53%,
    rgba(236, 74, 109, 0.2) 58%,
    rgba(236, 74, 109, 0.92) 69%,
    transparent 79% 100%
  );
  filter:
    blur(1.5px)
    drop-shadow(0 0 14px rgba(247, 121, 54, 0.68))
    drop-shadow(0 0 38px rgba(230, 75, 108, 0.42));
  animation: orbitSweepSecondary 28s linear infinite reverse;
}

.signal-stage > .analysis-deck {
  position: relative;
  z-index: 2;
}

@keyframes orbitSweepPrimary {
  0% {
    opacity: 0.78;
    transform: translateX(-50%) rotate(0deg) scale(0.994);
    filter:
      drop-shadow(0 0 7px rgba(247, 121, 54, 0.82))
      drop-shadow(0 0 22px rgba(237, 90, 70, 0.52));
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) rotate(180deg) scale(1.012);
    filter:
      drop-shadow(0 0 12px rgba(247, 121, 54, 1))
      drop-shadow(0 0 34px rgba(237, 90, 70, 0.72));
  }
  100% {
    opacity: 0.78;
    transform: translateX(-50%) rotate(360deg) scale(0.994);
    filter:
      drop-shadow(0 0 7px rgba(247, 121, 54, 0.82))
      drop-shadow(0 0 22px rgba(237, 90, 70, 0.52));
  }
}

@keyframes orbitSweepSecondary {
  0% {
    opacity: 0.3;
    transform: translateX(-50%) rotate(0deg) scale(0.99);
  }
  50% {
    opacity: 0.58;
    transform: translateX(-50%) rotate(180deg) scale(1.018);
  }
  100% {
    opacity: 0.3;
    transform: translateX(-50%) rotate(360deg) scale(0.99);
  }
}

@media (max-width: 720px) {
  .signal-stage > .signal-orbit {
    top: -174px;
    width: 720px;
    height: 720px;
  }

  .signal-stage > .orbit-two {
    top: -164px;
    width: 740px;
    height: 740px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-stage > .signal-orbit {
    animation: none !important;
  }
}
/* TYPOGRAPHY TUNE V10 */
.brand-name {
  font-size: 16px;
}

.top-nav-btn {
  min-width: 66px;
  padding: 8px 15px;
  font-size: 14px;
}

.status-pill,
.ghost-btn {
  font-size: 14px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
}

.deck-topline {
  min-height: 50px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.text-btn {
  font-size: 13px;
}

.task-card span {
  font-size: 11px;
}

.task-card strong {
  font-size: 15px;
}

.task-card small {
  font-size: 12px;
}

.section-sub {
  font-size: 14px;
  line-height: 1.65;
}

.mini-status span {
  font-size: 11px;
}

.mini-status strong {
  font-size: 13px;
}

.form-grid label > span,
.textarea-wrap > span {
  font-size: 12px;
}

select,
textarea,
.invite-box input,
.modal-field input {
  font-size: 15px;
}

.file-main {
  font-size: 14px;
}

.file-sub {
  font-size: 12px;
  line-height: 1.5;
}

.check-line {
  font-size: 13px;
}

.safe-note {
  font-size: 12px;
}

.result-empty > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.7;
}

.empty-flow div,
.deck-footer,
.scroll-cue {
  font-size: 11px;
}

.flow-track span {
  font-size: 12px;
}

.flow-track strong {
  font-size: 16px;
}

.flow-track small {
  font-size: 13px;
}

.tag {
  min-height: 26px;
  font-size: 11px;
}

.result-section h3 {
  font-size: 14px;
}

.result-section p {
  font-size: 14px;
  line-height: 1.75;
}

.compact-list {
  font-size: 13px;
  line-height: 1.7;
}

.lens-grid span,
.soft-callout span {
  font-size: 11px;
}

.lens-grid strong {
  font-size: 13px;
}

.soft-callout strong {
  font-size: 14px;
}

.result-actions .primary-btn,
.result-actions .secondary-btn {
  min-height: 38px;
  font-size: 12px;
}

.report-item p,
.event-item p {
  font-size: 14px;
  line-height: 1.7;
}

.metric-row span,
.growth-path span,
.event-strip span,
.lead-bar-top {
  font-size: 12px;
}

.share-note strong,
.share-note span,
.growth-path p {
  font-size: 13px;
}

.redeem-item strong {
  font-size: 14px;
}

.redeem-item span {
  font-size: 12px;
}

.event-strip strong {
  font-size: 15px;
}

.signal-item strong {
  font-size: 13px;
}

.signal-item span {
  font-size: 11px;
}

.account-chip strong {
  font-size: 13px;
}

.account-chip small {
  font-size: 10px;
}

.charge-btn {
  font-size: 13px;
}

.founder-modal figcaption {
  font-size: 13px;
}

.founder-story > p:not(.eyebrow),
.modal-intro {
  font-size: 14px;
  line-height: 1.7;
}

.founder-story blockquote {
  font-size: 15px;
  line-height: 1.65;
}

.founder-tags span,
.account-wallet span,
.local-note {
  font-size: 11px;
}

.modal-field span,
.wallet-balance span {
  font-size: 12px;
}

.recharge-options span {
  font-size: 13px;
}

@media (max-width: 720px) {
  .brand-name {
    font-size: 14px;
  }

  .account-chip strong {
    max-width: 76px;
    font-size: 11px;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.75;
  }

  .task-card {
    min-width: 142px;
  }

  select,
  textarea,
  .invite-box input,
  .modal-field input {
    font-size: 16px;
  }

  .bottom-nav {
    padding: 5px;
  }

  .bottom-btn {
    min-height: 48px;
    font-size: 12px;
  }
}

@media (max-width: 460px) {
  .brand-name {
    font-size: 12.5px;
  }

  .account-chip strong {
    font-size: 11px;
  }
}
/* FOUNDER PROFILE V11 */
.founder-story h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.14;
}

.founder-story > p:not(.eyebrow) {
  margin-bottom: 11px;
}

.founder-story blockquote {
  margin: 8px 0 16px;
}

.founder-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.founder-highlights div {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.founder-highlights dt {
  color: #fff;
  font-size: 16px;
  font-weight: 720;
}

.founder-highlights dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

@media (min-width: 721px) {
  .founder-story {
    justify-content: flex-start;
    max-height: 610px;
    padding: 38px 40px 34px;
    overflow-y: auto;
  }
}

@media (max-width: 720px) {
  .founder-highlights {
    margin-bottom: 18px;
  }

  .founder-highlights div {
    padding: 11px;
  }
}
/* READABILITY PASS V12 */
:root {
  --text-soft: #d5cfc6;
  --muted: #a39d94;
  --line: rgba(255, 255, 255, 0.12);
}

.deck-topline {
  color: rgba(213, 207, 198, 0.76);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.text-btn {
  min-height: 36px;
  font-weight: 600;
}

.task-card strong {
  line-height: 1.35;
}

.task-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mini-status span {
  font-size: 12px;
}

.mini-status strong {
  font-size: 14px;
  line-height: 1.45;
}

.form-grid label > span,
.textarea-wrap > span,
.modal-field span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.055em;
}

.file-sub,
.safe-note,
.local-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

textarea::placeholder,
input::placeholder {
  color: #8f8980;
  opacity: 1;
}

.result-empty h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.result-empty > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 15px;
}

.empty-flow {
  gap: 0;
}

.empty-flow div {
  display: flex;
  min-height: 82px;
  padding: 15px 12px;
  flex-direction: column;
  justify-content: center;
  border-top-color: var(--line-strong);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.45;
}

.empty-flow div + div {
  border-left: 1px solid var(--line);
}

.empty-flow span {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 750;
}

.deck-footer {
  flex-wrap: wrap;
  padding: 15px 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.scroll-cue {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.tag,
.lens-grid span,
.soft-callout span,
.metric-row span,
.growth-path span,
.event-strip span,
.lead-bar-top,
.signal-item span {
  font-size: 13px;
  line-height: 1.5;
}

.tag {
  min-height: 28px;
  padding: 0 10px;
}

.lens-grid strong,
.signal-item strong {
  font-size: 14px;
  line-height: 1.5;
}

.soft-callout strong,
.share-note strong,
.share-note span,
.growth-path p {
  font-size: 14px;
  line-height: 1.65;
}

.result-section h3 {
  font-size: 15px;
}

.result-section p {
  font-size: 15px;
}

.compact-list {
  font-size: 14px;
}

.result-actions .primary-btn,
.result-actions .secondary-btn {
  min-height: 40px;
  font-size: 13px;
}

.report-item p,
.event-item p,
.plain-panel > p {
  font-size: 15px;
  line-height: 1.72;
}

.redeem-item strong {
  font-size: 15px;
}

.redeem-item span {
  font-size: 13px;
  line-height: 1.55;
}

.event-strip strong {
  font-size: 16px;
}

.account-chip small {
  color: var(--muted);
  font-size: 11px;
}

.founder-story > p:not(.eyebrow),
.modal-intro {
  font-size: 15px;
}

.founder-tags span,
.founder-highlights dd,
.account-wallet span,
.wallet-balance span {
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .brand-name {
    font-size: 14px;
  }

  .account-chip strong {
    font-size: 12px;
  }

  .deck-topline {
    font-size: 11.5px;
  }

  .empty-flow div {
    min-height: 76px;
    padding: 14px 8px;
    font-size: 13.5px;
  }

  .deck-footer {
    font-size: 12.5px;
  }

  .bottom-btn {
    font-size: 13px;
  }
}

@media (max-width: 460px) {
  .brand-name {
    font-size: 13px;
  }

  .empty-flow div:nth-child(odd) {
    border-left: 0;
  }
}
/* TRUST & COMPLIANCE PASS V13 */
.report-disclaimer {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
  padding: 15px 16px;
  border: 1px solid rgba(91, 199, 154, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91, 199, 154, 0.1), rgba(237, 115, 54, 0.04));
}

.report-disclaimer strong {
  color: #8bdab9;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-disclaimer span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.human-review-callout {
  display: grid;
  gap: 5px;
  margin: 2px 0 18px;
  padding: 15px 16px;
  border: 1px solid rgba(237, 115, 54, 0.34);
  border-radius: 14px;
  background: rgba(237, 115, 54, 0.08);
}

.human-review-callout strong {
  color: var(--ember-soft);
  font-size: 15px;
}

.human-review-callout span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.founder-boundary {
  margin: 5px 0 18px !important;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.legal-footer {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 10px auto 28px;
  padding: 22px 24px;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 20, 18, 0.84);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.legal-footer-brand {
  display: grid;
  gap: 4px;
}

.legal-footer-brand strong {
  color: #fff;
  font-size: 15px;
}

.legal-footer-brand span,
.filing-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  justify-content: center;
}

.legal-footer button {
  padding: 5px 0;
  border: 0;
  color: var(--text-soft);
  background: transparent;
  font-size: 13px;
}

.legal-footer button:hover {
  color: var(--ember-soft);
}

.filing-note {
  text-align: right;
}

.legal-modal {
  width: min(720px, 100%);
  max-height: min(78vh, 760px);
  overflow-y: auto;
}

.legal-document {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.legal-document h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
}

.legal-document p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.legal-document ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.legal-document li::marker {
  color: var(--ember);
}

@media (max-width: 900px) {
  .legal-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .filing-note {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .report-disclaimer,
  .human-review-callout {
    padding: 14px;
  }

  .report-disclaimer span,
  .human-review-callout span {
    font-size: 13.5px;
  }

  .legal-footer {
    width: calc(100% - 24px);
    margin: 8px 12px 88px;
    padding: 20px 16px;
    border-radius: 16px;
  }

  .legal-footer nav {
    gap: 3px 16px;
  }

  .legal-footer button {
    min-height: 34px;
    font-size: 13.5px;
  }

  .legal-modal {
    max-height: calc(100vh - 20px);
  }

  .legal-document p,
  .legal-document ul {
    font-size: 14px;
  }
}

/* TASK MODE EXPERIENCE V14 */
.task-brief {
  position: relative;
  display: grid;
  margin-bottom: 18px;
  padding: 16px 17px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(237, 115, 54, 0.2);
  border-radius: 15px;
  background:
    radial-gradient(circle at 0 50%, rgba(237, 115, 54, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.025);
}

.task-brief::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, transparent, var(--ember), transparent);
  box-shadow: 0 0 16px rgba(237, 115, 54, 0.55);
}

.task-brief-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.task-brief-copy span {
  color: var(--ember-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.task-brief-copy strong {
  color: #f7f4ee;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.55;
}

.task-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.task-focus-list span {
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(0, 0, 0, 0.16);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.task-card.active span {
  color: var(--ember-soft);
  text-shadow: 0 0 14px rgba(237, 115, 54, 0.55);
}

.task-card.active small {
  color: #bdb5ab;
}

.workspace-grid.task-switching .section-head,
.workspace-grid.task-switching .task-brief,
.workspace-grid.task-switching .precheck-form,
.workspace-grid.task-switching .task-idle {
  animation: taskModeReveal 380ms cubic-bezier(0.2, 0.72, 0.28, 1) both;
}

.workspace-grid.task-switching .task-brief {
  animation-delay: 35ms;
}

.workspace-grid.task-switching .precheck-form {
  animation-delay: 70ms;
}

.workspace-grid.task-switching .task-idle {
  animation-delay: 45ms;
}

@keyframes taskModeReveal {
  from {
    opacity: 0.35;
    transform: translateY(7px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 720px) {
  .task-brief {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }

  .task-brief-copy strong {
    font-size: 14px;
  }

  .task-focus-list {
    justify-content: flex-start;
  }

  .task-focus-list span {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workspace-grid.task-switching .section-head,
  .workspace-grid.task-switching .task-brief,
  .workspace-grid.task-switching .precheck-form,
  .workspace-grid.task-switching .task-idle {
    animation: none;
  }
}
