:root {
  --ink: #0f172a;
  --muted: #475569;
  --soft: #f8fafc;
  --line: rgba(15, 23, 42, 0.1);
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --accent: #14b8a6;
  --gold: #f59e0b;
  --danger: #dc2626;
  --warning: #d97706;
  --success: #059669;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 246, 255, 0.94) 42%, rgba(236, 253, 245, 0.84) 100%),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08));
}

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

.cs-page {
  min-height: 100vh;
  overflow: hidden;
}

.cs-shell {
  width: min(calc(100% - 40px), 1160px);
  margin: 0 auto;
}

.cs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 14px;
}

.cs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.cs-brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14);
}

.cs-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.cs-nav-links a:hover {
  color: var(--brand-strong);
}

.cs-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #14b8a6 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.26);
}

.cs-button--secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.cs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: 34px;
  align-items: center;
  padding: 58px 0 66px;
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.cs-title {
  margin: 18px 0 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(2.7rem, 5vw, 5.15rem);
  line-height: 0.98;
}

.cs-title span {
  color: var(--brand-strong);
}

.cs-lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.cs-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cs-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 800;
}

.cs-trust span::before,
.cs-check-list li::before {
  content: "";
  width: 7px;
  height: 12px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cs-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
}

.cs-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--gold));
}

.cs-app-frame {
  padding: 22px;
}

.cs-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cs-app-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cs-app-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 800;
}

.cs-score-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #10b981;
}

.cs-app-title {
  margin: 12px 0 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.5rem;
}

.cs-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.cs-metric {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.cs-metric strong {
  display: block;
  font-size: 1.35rem;
}

.cs-metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.cs-alert-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.cs-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.cs-alert-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.cs-alert-dot--red {
  background: var(--danger);
}

.cs-alert-dot--gold {
  background: var(--warning);
}

.cs-alert-dot--green {
  background: var(--success);
}

.cs-alert strong {
  display: block;
  font-size: 0.88rem;
}

.cs-alert span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.cs-fix {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 800;
}

.welcome-hero-visual {
  position: relative;
  min-height: 420px;
  padding: 0 0 0 8px;
}

.welcome-mock-spark {
  position: absolute;
  top: -20px;
  left: -10px;
  width: 74px;
  height: 74px;
  color: #60a5fa;
  opacity: 0.9;
  transform: rotate(12deg);
}

.welcome-mock-spark-star {
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
}

.welcome-mock-spark-star--large {
  stroke-width: 2.25;
}

.welcome-mock-spark-star--small {
  stroke-width: 1.9;
  opacity: 0.82;
}

.welcome-mock-spark-star--tiny {
  stroke-width: 1.7;
  opacity: 0.68;
}

.welcome-mock-stack {
  position: relative;
  width: min(100%, 500px);
  min-height: 400px;
  margin-left: auto;
}

.welcome-mock-sidebar {
  position: absolute;
  left: 0;
  top: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 52px;
  padding: 10px 8px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.welcome-mock-nav {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #94a3b8;
}

.welcome-mock-nav svg {
  display: block;
}

.welcome-mock-nav--active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
}

.welcome-mock-issues {
  position: relative;
  z-index: 2;
  margin: 0 0 0 44px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
}

.welcome-mock-issues-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
}

.welcome-mock-issues-total {
  margin: 6px 0 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.welcome-mock-issue-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.welcome-mock-issue {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  background: #fff;
  color: #475569;
  font-size: 0.8rem;
}

.welcome-mock-issue strong {
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 800;
}

.welcome-mock-issue-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.welcome-mock-issue-icon svg {
  display: block;
}

.welcome-mock-issue-icon--red {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.welcome-mock-issue-icon--orange {
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
}

.welcome-mock-issue-icon--blue {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.welcome-mock-issue-icon--green {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.welcome-mock-score {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 196px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.welcome-mock-score-title {
  margin: 0;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
}

.welcome-mock-gauge {
  position: relative;
  min-height: 88px;
  margin-top: 8px;
}

.welcome-mock-gauge-svg {
  display: block;
  width: 100%;
  height: auto;
}

.welcome-mock-gauge-text {
  position: absolute;
  left: 50%;
  bottom: 2px;
  display: flex;
  align-items: baseline;
  gap: 1px;
  transform: translateX(-50%);
}

.welcome-mock-gauge-value {
  color: #0f172a;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.welcome-mock-gauge-max {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
}

.welcome-mock-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 0.78rem;
  font-weight: 700;
}

.welcome-mock-arrow {
  position: absolute;
  right: 72px;
  bottom: 58px;
  z-index: 4;
  width: 90px;
  height: 75px;
  pointer-events: none;
}

.welcome-mock-shinepilot {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.11);
}

.welcome-mock-shinepilot-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.welcome-mock-shinepilot strong {
  display: block;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 800;
}

.welcome-mock-shinepilot p {
  margin: 1px 0 0;
  color: #94a3b8;
  font-size: 0.74rem;
}

.cs-section {
  padding: 70px 0;
}

.cs-section-head {
  max-width: 740px;
  margin-bottom: 28px;
}

.cs-section-label {
  margin: 0;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cs-section-title {
  margin: 10px 0 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.cs-section-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cs-breakdown {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.cs-panel,
.cs-card,
.cs-price-card {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.cs-panel {
  padding: 22px;
}

.cs-panel h3,
.cs-card h3,
.cs-price-card h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

.cs-issue-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.cs-issue {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.cs-severity {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.cs-severity--critical {
  background: var(--danger);
}

.cs-severity--warning {
  background: var(--warning);
}

.cs-severity--ok {
  background: var(--success);
}

.cs-issue strong {
  display: block;
  font-size: 0.9rem;
}

.cs-issue span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.cs-action {
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 900;
}

.cs-shinepilot {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 184, 166, 0.16), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.16), transparent 38%),
    #fff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 26px 70px rgba(37, 99, 235, 0.12);
}

.cs-shinepilot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.cs-mini {
  padding: 15px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.cs-mini strong {
  display: block;
  font-size: 0.9rem;
}

.cs-mini p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

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

.cs-card {
  padding: 22px;
}

.cs-step {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(20, 184, 166, 0.14));
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.cs-card h3 {
  margin-top: 16px;
}

.cs-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.cs-pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cs-price-card {
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
}

.cs-price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.32), rgba(20, 184, 166, 0.5), rgba(148, 163, 184, 0.28));
}

.cs-price-card--featured {
  border-color: rgba(37, 99, 235, 0.38);
  background:
    radial-gradient(circle at 22% 0%, rgba(20, 184, 166, 0.14), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.18), transparent 38%),
    #fff;
}

.cs-price-card--featured::before {
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--gold));
}

.cs-price-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cs-price {
  margin: 8px 0 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
}

.cs-price-card p {
  color: var(--muted);
  line-height: 1.55;
}

.cs-check-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.82rem;
}

.cs-check-list li {
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.cs-check-list li::before {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--brand-strong);
}

.cs-cta {
  margin: 74px 0 44px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 184, 166, 0.18), transparent 34%),
    linear-gradient(135deg, #0f172a, #1e3a8a 56%, #0f766e);
  color: #fff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22);
}

.cs-cta h2 {
  margin: 0;
  max-width: 760px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.05;
}

.cs-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.cs-cta .cs-button {
  background: #fff;
  color: #0f172a;
}

@media (max-width: 980px) {
  .cs-hero,
  .cs-breakdown {
    grid-template-columns: 1fr;
  }

  .cs-hero {
    padding-top: 34px;
  }

  .cs-hero-card {
    max-width: 620px;
  }

  .welcome-hero-visual {
    max-width: 620px;
  }

  .cs-workflow,
  .cs-pricing,
  .cs-shinepilot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .cs-shell {
    width: min(calc(100% - 28px), 1160px);
  }

  .cs-nav {
    align-items: flex-start;
  }

  .cs-nav-links {
    display: none;
  }

  .cs-hero {
    grid-template-columns: 1fr;
    padding: 30px 0 50px;
  }

  .cs-metrics,
  .cs-workflow,
  .cs-pricing,
  .cs-shinepilot-grid {
    grid-template-columns: 1fr;
  }

  .welcome-hero-visual {
    min-height: auto;
    padding: 0;
  }

  .welcome-mock-stack {
    width: 100%;
    min-height: 360px;
  }

  .welcome-mock-sidebar {
    display: none;
  }

  .welcome-mock-issues {
    margin-left: 0;
  }

  .welcome-mock-score {
    position: relative;
    width: auto;
    margin-top: 12px;
  }

  .welcome-mock-arrow,
  .welcome-mock-shinepilot,
  .welcome-mock-spark {
    display: none;
  }

  .cs-alert,
  .cs-issue {
    grid-template-columns: auto 1fr;
  }

  .cs-fix,
  .cs-action {
    grid-column: 2;
    width: fit-content;
  }

  .cs-section {
    padding: 48px 0;
  }

  .cs-cta {
    padding: 26px;
  }
}
