:root {
  color-scheme: dark;
  --bg: #050816;
  --bg-soft: #091126;
  --panel: rgba(10, 17, 38, 0.84);
  --panel-strong: rgba(8, 15, 34, 0.98);
  --panel-border: rgba(142, 164, 255, 0.14);
  --text: #f8fbff;
  --muted: #9ea8c7;
  --muted-strong: #c8d2f1;
  --blue: #5c7dff;
  --blue-strong: #3a66ff;
  --cyan: #54d4ff;
  --amber: #f5b739;
  --green: #41d58e;
  --red: #ff6a67;
  --violet: #b26cff;
  --shadow: 0 30px 90px rgba(1, 6, 22, 0.65);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --section-width: min(1320px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 72, 255, 0.16), transparent 26%),
    radial-gradient(circle at 72% 42%, rgba(87, 58, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #070a18 0%, #050816 42%, #060918 100%);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.ambient,
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
}

.ambient-one {
  background: radial-gradient(circle at 25% 22%, rgba(51, 91, 255, 0.24), transparent 24%);
  filter: blur(42px);
}

.ambient-two {
  background: radial-gradient(circle at 60% 60%, rgba(121, 85, 255, 0.14), transparent 26%);
  filter: blur(64px);
}

.noise {
  z-index: -1;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 92%);
}

.section-shell {
  width: var(--section-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: var(--section-width);
  margin: 12px auto 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(130, 152, 244, 0.12);
  border-radius: 22px;
  background: rgba(6, 10, 24, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(2, 5, 20, 0.36);
}

.brand,
.sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark,
.mini-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(92, 125, 255, 0.18), rgba(92, 125, 255, 0.06));
  border: 1px solid rgba(113, 140, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.mini-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.brand-logo {
  display: block;
  width: clamp(190px, 16vw, 230px);
  height: auto;
}

.footer-logo {
  width: clamp(220px, 20vw, 320px);
}

.brand-type {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav-shell,
.main-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.nav-shell {
  flex: 1;
  justify-content: space-between;
  gap: 22px;
}

.main-nav {
  justify-content: center;
  gap: 34px;
  flex: 1;
}

.main-nav a,
.ghost-link,
.sidebar-group a,
.sidebar-footer a,
.footer-links a {
  color: var(--muted-strong);
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav a:hover,
.ghost-link:hover,
.sidebar-group a:hover,
.sidebar-footer a:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-actions {
  gap: 18px;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(146, 168, 255, 0.16);
  border-radius: 16px;
  background: rgba(14, 23, 50, 0.72);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.menu-open .menu-toggle span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: var(--text);
  background: linear-gradient(135deg, #4d73ff, #6f8dff 55%, #3f61ff);
  box-shadow: 0 18px 40px rgba(61, 98, 255, 0.34);
}

.secondary-button {
  color: var(--text);
  border: 1px solid rgba(150, 169, 255, 0.16);
  background: rgba(14, 21, 44, 0.72);
}

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

.primary-button.small {
  min-height: 48px;
  padding: 0 22px;
}

.primary-button.wide,
.secondary-button.wide {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(520px, 1.35fr);
  gap: 40px;
  align-items: center;
  padding-top: 30px;
}

.hero-copy {
  position: relative;
  padding: 24px 4px 24px 6px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: 5%;
  left: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 94, 255, 0.18), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #9fb3ff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid rgba(124, 146, 255, 0.16);
  background: rgba(14, 22, 46, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero h1,
.section-heading h2,
.analysis-copy h2,
.cta-copy h2 {
  margin: 24px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3.6rem, 5vw, 6.5rem);
  max-width: 680px;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  background: linear-gradient(135deg, #4d72ff 8%, #70b3ff 44%, #8e83ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-heading p,
.analysis-copy p,
.cta-copy p,
.footer-copy,
.feature-card p,
.workflow-list p,
.pricing-card p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 580px;
  margin-top: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.trust-points li {
  position: relative;
  padding-left: 28px;
  color: var(--muted-strong);
}

.trust-points li::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(146, 168, 255, 0.18);
  background:
    radial-gradient(circle at center, rgba(92, 125, 255, 0.9) 0 30%, transparent 31%),
    rgba(10, 18, 39, 0.9);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-chip,
.feature-card,
.pricing-card,
.signal-card,
.cta-panel {
  border: 1px solid var(--panel-border);
  background: rgba(8, 15, 35, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat-chip {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
}

.stat-label,
.plan-label,
.group-label,
.gauge-foot span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-chip strong,
.signal-metrics strong,
.pricing-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 10% -8% 10%;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(84, 67, 255, 0.46), transparent 65%);
  filter: blur(34px);
  z-index: -1;
}

.hero-mockup-frame {
  position: relative;
  border: 1px solid rgba(154, 177, 255, 0.14);
  border-radius: 32px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(10, 16, 36, 0.92), rgba(8, 13, 30, 0.96)),
    rgba(7, 12, 28, 0.95);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-mockup-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-mockup {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.dashboard-window {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 680px;
  border: 1px solid rgba(154, 177, 255, 0.14);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 16, 36, 0.96), rgba(8, 13, 30, 0.96));
  box-shadow: var(--shadow);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  padding: 20px 18px 18px;
  border-right: 1px solid rgba(146, 170, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 22, 47, 0.96), rgba(9, 15, 35, 0.98));
}

.sidebar-brand {
  margin-bottom: 24px;
  font-weight: 700;
}

.sidebar-group {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.sidebar-group a,
.sidebar-footer a {
  font-size: 0.95rem;
}

.sidebar-group a.active {
  color: var(--text);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.dashboard-main {
  padding: 20px;
}

.dashboard-topbar,
.panel-head,
.gauge-foot,
.signal-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.chart-legend,
.zoom-pills,
.panel-legend {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chart-legend span,
.panel-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.risk {
  background: var(--amber);
}

.legend-dot.price {
  background: var(--blue);
}

.zoom-pills button,
.badge {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(147, 169, 255, 0.12);
  border-radius: 999px;
  background: rgba(13, 20, 43, 0.76);
  color: var(--muted-strong);
}

.zoom-pills button {
  cursor: pointer;
}

.zoom-pills button.active,
.badge-live {
  color: var(--text);
  background: rgba(78, 110, 255, 0.28);
  border-color: rgba(96, 126, 255, 0.36);
}

.chart-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(144, 168, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 14, 33, 0.95), rgba(7, 12, 28, 0.9));
}

.chart-panel-large {
  height: 340px;
  margin-top: 16px;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 64px, 78px 100%;
  opacity: 0.38;
}

.chart-threshold {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0.5;
}

.threshold-top {
  top: 72px;
  background: linear-gradient(90deg, transparent, rgba(255, 78, 78, 0.8), transparent);
}

.threshold-mid {
  top: 170px;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.7), transparent);
}

.threshold-bottom {
  top: 250px;
  background: linear-gradient(90deg, transparent, rgba(66, 220, 143, 0.8), transparent);
}

.chart-svg,
.mini-chart {
  width: 100%;
  height: 100%;
}

.chart-svg {
  position: relative;
  z-index: 1;
}

.line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: trace 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.line-blue {
  stroke: #5377ff;
}

.line-gold {
  stroke: #f5b739;
}

.line-teal {
  stroke: #5ce5ea;
}

.line-red {
  stroke: #ff6c67;
}

.area {
  opacity: 0.65;
}

.area-gold {
  fill: url(#riskFill);
}

.chart-scale {
  position: absolute;
  top: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(195, 204, 232, 0.68);
  font-size: 0.75rem;
}

.chart-scale.left {
  left: 10px;
}

.chart-scale.right {
  right: 10px;
  text-align: right;
}

.mini-timeline {
  position: relative;
  margin-top: 16px;
  padding: 14px 12px 20px;
  border: 1px solid rgba(147, 168, 255, 0.08);
  border-radius: 18px;
  background: rgba(7, 12, 28, 0.9);
  display: flex;
  justify-content: space-between;
  color: rgba(197, 208, 240, 0.72);
  font-size: 0.78rem;
}

.timeline-wave {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 24px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10% 50%, rgba(80, 113, 255, 0.6), transparent 18%),
    radial-gradient(circle at 35% 50%, rgba(80, 113, 255, 0.45), transparent 19%),
    radial-gradient(circle at 58% 50%, rgba(80, 113, 255, 0.5), transparent 18%),
    radial-gradient(circle at 85% 50%, rgba(80, 113, 255, 0.6), transparent 20%),
    linear-gradient(180deg, rgba(82, 112, 255, 0.36), rgba(82, 112, 255, 0.06));
}

.dashboard-bottom {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 16px;
  margin-top: 16px;
}

.chart-panel-small,
.gauge-panel {
  min-height: 240px;
  padding: 18px;
}

.panel-head h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.panel-legend span {
  font-size: 0.8rem;
}

.panel-legend .teal {
  color: #7df1f5;
}

.panel-legend .red {
  color: #ff8c88;
}

.gauge {
  width: 100%;
  height: 140px;
  margin-top: 8px;
}

.gauge-readout {
  margin-top: -12px;
  text-align: center;
}

.gauge-readout strong {
  display: block;
  font-size: 3rem;
  letter-spacing: -0.05em;
}

.gauge-readout span {
  color: var(--muted);
}

.gauge-foot {
  margin-top: 22px;
}

.negative {
  color: var(--red);
}

.positive {
  color: var(--green);
}

.feature-section,
.portfolio-section,
.analysis-section,
.pricing-section,
.cta-section,
.site-footer {
  padding-top: 110px;
}

.section-heading {
  max-width: 760px;
}

.section-heading.narrow {
  max-width: 680px;
}

.section-heading h2,
.analysis-copy h2,
.cta-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border-radius: 24px;
}

.feature-card h3,
.pricing-card h3 {
  margin: 20px 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.feature-icon span {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  border: 2px solid currentColor;
}

.feature-icon.blue {
  color: #6f89ff;
  background: rgba(82, 116, 255, 0.18);
}

.feature-icon.violet {
  color: #d082ff;
  background: rgba(184, 97, 255, 0.18);
}

.feature-icon.amber {
  color: #ffbb3f;
  background: rgba(255, 176, 48, 0.18);
}

.feature-icon.green {
  color: #6bdf9d;
  background: rgba(65, 213, 142, 0.18);
}

.portfolio-showcase {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(142, 164, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(81, 109, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(9, 15, 35, 0.94), rgba(8, 13, 30, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.showcase-card-reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(280px, 0.72fr);
}

.showcase-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #f2bf62;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(242, 191, 98, 0.16);
  background: rgba(49, 36, 15, 0.46);
}

.showcase-copy h3 {
  margin: 20px 0 12px;
  font-size: clamp(1.8rem, 2.3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.showcase-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.showcase-points li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-strong);
}

.showcase-points li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f2bf62, #f38a39);
  box-shadow: 0 0 0 6px rgba(242, 191, 98, 0.08);
}

.showcase-media {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(142, 164, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(11, 18, 39, 0.94), rgba(7, 12, 28, 0.9));
}

.showcase-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.showcase-card-reverse .showcase-copy {
  order: 2;
}

.showcase-card-reverse .showcase-media {
  order: 1;
}

.analysis-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.84fr);
  gap: 22px;
  align-items: stretch;
}

.workflow-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.workflow-list article {
  padding: 20px 22px;
  border: 1px solid rgba(148, 170, 255, 0.1);
  border-radius: 20px;
  background: rgba(8, 14, 32, 0.72);
}

.workflow-list strong {
  display: block;
  font-size: 1.08rem;
}

.workflow-list p {
  margin: 10px 0 0;
  font-size: 1rem;
}

.signal-card {
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(67, 106, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(9, 15, 35, 0.92), rgba(8, 13, 30, 0.92));
}

.signal-card-top strong {
  display: block;
  margin-top: 18px;
  font-size: 1.4rem;
  line-height: 1.35;
}

.signal-card-figure {
  margin: 28px 0 0;
  padding: 16px;
  border: 1px solid rgba(148, 171, 255, 0.08);
  border-radius: 22px;
  background: rgba(7, 12, 28, 0.82);
}

.signal-card-image-asset {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 220px;
  margin-top: 36px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(148, 171, 255, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    rgba(7, 12, 28, 0.82);
  background-size: 100% 54px, 56px 100%, auto;
}

.signal-bars span {
  flex: 1;
  height: var(--bar-height);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(107, 134, 255, 0.95), rgba(74, 100, 255, 0.24));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.signal-metrics {
  margin-top: 22px;
}

.signal-metrics article {
  flex: 1;
}

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

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted-strong);
}

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

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(245, 183, 57, 1), rgba(245, 183, 57, 0.52));
}

.price-row {
  display: flex;
  align-items: end;
  gap: 10px;
}

.price-row strong {
  margin-top: 0;
  font-size: 3rem;
  letter-spacing: -0.05em;
}

.price-row span {
  color: var(--muted);
  padding-bottom: 10px;
}

.pricing-card .primary-button,
.pricing-card .secondary-button {
  margin-top: auto;
}

.pricing-card-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.pricing-card-head h3 {
  margin: 2px 0 4px;
  font-size: 2rem;
}

.pricing-summary {
  margin: 0;
  max-width: 28ch;
}

.pricing-icon {
  width: 71px;
  height: 71px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.pricing-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(2, 6, 20, 0.28));
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 0 28px 0 20px;
  background: linear-gradient(180deg, rgba(246, 199, 105, 1), rgba(227, 179, 84, 0.96));
  color: #19140d;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-cta-accent {
  color: #17120b;
  background: linear-gradient(135deg, #f1c56b, #e1b35a 55%, #d59c43);
  box-shadow: 0 18px 40px rgba(213, 156, 67, 0.24);
}

.pricing-card.featured {
  background:
    radial-gradient(circle at top right, rgba(245, 183, 57, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(11, 18, 36, 0.96), rgba(8, 13, 28, 0.94)),
    rgba(8, 15, 35, 0.86);
  border-color: rgba(245, 183, 57, 0.34);
  transform: translateY(-8px);
}

.pricing-card-premium {
  border-color: rgba(245, 183, 57, 0.22);
  background:
    radial-gradient(circle at top left, rgba(245, 183, 57, 0.12), transparent 24%),
    rgba(8, 15, 35, 0.78);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(67, 106, 255, 0.26), transparent 32%),
    linear-gradient(180deg, rgba(9, 15, 36, 0.95), rgba(9, 13, 29, 0.92));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-panel-subscribe {
  align-items: center;
}

.subscribe-form {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
}

.subscribe-form-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(145, 167, 255, 0.16);
  border-radius: 24px;
  background: rgba(8, 13, 30, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.subscribe-form-shell:focus-within {
  border-color: rgba(114, 139, 255, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 4px rgba(76, 109, 255, 0.12);
}

.subscribe-input {
  flex: 1;
  min-width: 0;
  min-height: 58px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.02rem;
}

.subscribe-input::placeholder {
  color: rgba(200, 210, 241, 0.52);
}

.subscribe-input:focus {
  outline: none;
}

.subscribe-button {
  min-width: 188px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(143, 165, 255, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(108, 136, 255, 0.98), rgba(78, 107, 227, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 12px 30px rgba(61, 98, 255, 0.2);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subscribe-button::after {
  content: "->";
  font-size: 0.82rem;
  opacity: 0.9;
}

.subscribe-button:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 36px rgba(61, 98, 255, 0.24);
}

.subscribe-button:focus-visible {
  outline: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 4px rgba(109, 138, 255, 0.16),
    0 14px 32px rgba(61, 98, 255, 0.24);
}

.subscribe-benefits {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.subscribe-benefits li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-strong);
}

.subscribe-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a8cff, #4a6cff);
  box-shadow: 0 0 0 6px rgba(76, 109, 255, 0.1);
}

.subscribe-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.subscribe-status {
  min-height: 1.4em;
  color: var(--muted-strong);
}

.subscribe-form.is-error .subscribe-form-shell {
  border-color: rgba(255, 106, 103, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 4px rgba(255, 106, 103, 0.1);
}

.access-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(2, 4, 12, 0.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.access-modal[hidden] {
  display: none;
}

.access-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.access-modal-panel {
  width: min(100%, 1160px);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 189, 70, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(9, 10, 13, 0.98), rgba(12, 12, 14, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 40px 120px rgba(0, 0, 0, 0.58);
  overflow-y: auto;
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.access-modal.is-open .access-modal-panel {
  transform: translateY(0) scale(1);
}

.access-modal-kicker {
  display: inline-flex;
  margin-bottom: 20px;
  color: #f2b13a;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.access-modal h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.access-modal-copy {
  max-width: 920px;
  margin: 22px 0 0;
  color: rgba(233, 238, 252, 0.68);
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  line-height: 1.6;
}

.access-form {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.access-field {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(18, 18, 20, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.access-field:focus-within {
  border-color: rgba(245, 183, 57, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 4px rgba(245, 183, 57, 0.12);
}

.access-input {
  width: 100%;
  min-height: 78px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.access-input::placeholder {
  color: rgba(193, 203, 229, 0.44);
}

.access-input:focus {
  outline: none;
}

.access-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
}

.access-submit-button,
.access-dismiss-button {
  min-height: 86px;
  padding: 0 28px;
  border-radius: 28px;
  font: inherit;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.access-submit-button {
  border: 0;
  color: #090909;
  background: linear-gradient(180deg, #f9c252, #e7a52f 65%, #d69019);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 42px rgba(231, 165, 47, 0.28);
}

.access-dismiss-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 12, 14, 0.72);
  color: var(--text);
}

.access-submit-button:hover,
.access-dismiss-button:hover {
  transform: translateY(-2px);
}

.access-submit-button:focus-visible,
.access-dismiss-button:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 4px rgba(245, 183, 57, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.access-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted-strong);
}

.access-form.is-error .access-field {
  border-color: rgba(255, 106, 103, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 4px rgba(255, 106, 103, 0.1);
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 52px;
}

.footer-brand .brand-type {
  font-size: 1.4rem;
}

.footer-copy {
  max-width: 420px;
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legal-page-main {
  padding-top: 42px;
  padding-bottom: 64px;
}

.legal-hero {
  max-width: 820px;
}

.legal-hero h1 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.legal-hero p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.legal-article {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid rgba(142, 164, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(81, 109, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(9, 15, 35, 0.94), rgba(8, 13, 30, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.legal-article section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(142, 164, 255, 0.1);
}

.legal-article h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.legal-article p,
.legal-article li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-article ul {
  margin: 0;
  padding-left: 20px;
}

.legal-meta {
  margin-top: 12px;
  color: var(--muted-strong);
  font-size: 0.92rem;
}

@keyframes trace {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .dashboard-window {
    min-height: 0;
  }

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

  .showcase-card,
  .showcase-card-reverse {
    grid-template-columns: 1fr;
  }

  .showcase-card-reverse .showcase-copy,
  .showcase-card-reverse .showcase-media {
    order: initial;
  }

  .analysis-section,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 920px) {
  :root {
    --section-width: min(1320px, calc(100vw - 28px));
  }

  .site-header {
    padding: 14px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-shell {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    padding: 20px;
    border: 1px solid rgba(136, 160, 255, 0.14);
    border-radius: 24px;
    background: rgba(7, 11, 26, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.menu-open .nav-shell {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav,
  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav a,
  .header-actions a {
    display: flex;
    width: 100%;
    align-items: center;
  }

  .main-nav {
    gap: 18px;
  }

  .header-actions {
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 160, 255, 0.08);
  }

  .dashboard-window {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-stats,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .chart-panel-large {
    height: 260px;
  }

  .mini-timeline {
    display: none;
  }

  .hero-mockup-frame {
    padding: 12px;
    border-radius: 24px;
  }

  .hero-mockup {
    border-radius: 18px;
  }

  .hero-mockup-frame::after {
    inset: 12px;
    border-radius: 18px;
  }

  .chart-panel-small,
  .gauge-panel,
  .showcase-card,
  .signal-card,
  .pricing-card,
  .feature-card,
  .cta-panel {
    padding: 22px;
  }

  .signal-bars {
    height: 170px;
    gap: 10px;
  }

  .subscribe-form-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .subscribe-button {
    width: 100%;
    min-width: 0;
  }

  .access-modal {
    padding: 16px;
  }

  .access-modal-panel {
    border-radius: 26px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }

  .access-actions {
    grid-template-columns: 1fr;
  }

  .access-submit-button,
  .access-dismiss-button,
  .access-input {
    min-height: 68px;
  }

  .legal-article {
    padding: 24px;
  }

  .signal-metrics,
  .gauge-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
