/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --page: #f6f7f4;
  --surface: #ffffff;
  --surface-subtle: #eef2f7;
  --graphite: #101418;
  --muted: #586271;
  --border: #d9e0e8;
  --accent: #275cff;
  --accent-dark: #163bb8;
  --teal: #0f766e;
  --amber: #9a5b00;
  --violet: #6d28d9;
  --shadow: 0 22px 70px rgba(16, 20, 24, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--graphite);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(39, 92, 255, 0.45);
  outline-offset: 4px;
}

.public-home {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 224, 232, 0.82);
  background: rgba(246, 247, 244, 0.94);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-identity {
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.site-nav a {
  padding: 4px 0;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  padding: 64px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(39, 92, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--page) 100%);
}

.hero-grid,
.split-layout {
  display: grid;
  gap: 32px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.report-kicker {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 8vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.2;
}

h4 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.hero-lede,
.section-heading p,
.prose-block p,
.final-cta p,
.stage-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(39, 92, 255, 0.22);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: #ffffff;
  border-color: var(--border);
  color: var(--graphite);
}

.button-secondary:hover {
  border-color: #aeb8c5;
}

.stage-note {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.95rem;
}

.report-preview,
.proof-board,
.stage-card,
.final-cta {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.report-preview {
  padding: 20px;
}

.report-header,
.proof-board-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.report-header h2,
.proof-board-header h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.report-pill {
  border: 1px solid #b8c6ff;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.maturity-panel {
  margin-bottom: 18px;
  border-radius: 8px;
  background: #111827;
  color: #f8fafc;
  padding: 18px;
}

.maturity-panel p {
  margin-bottom: 0;
  color: #cbd5e1;
}

.maturity-label {
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: grid;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.status-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  border-radius: 999px;
  border: 1px solid currentColor;
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.status-label {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 4px;
}

.machine-state {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.7rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.observed {
  color: var(--teal);
  background: #ecfdf5;
}

.missing {
  color: #9f1239;
  background: #fff1f2;
}

.configure {
  color: var(--accent-dark);
  background: #eef2ff;
}

.apply {
  color: var(--violet);
  background: #f5f3ff;
}

.not-claimed {
  color: var(--amber);
  background: #fffbeb;
}

.content-section {
  padding: 64px 0;
}

.problem-section,
.process-section,
.final-cta-section {
  background: #ffffff;
}

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

.compact-heading {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.info-card,
.proof-card,
.process-steps article,
.boundary-list div {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
}

.info-card p,
.proof-card p,
.process-steps p,
.boundary-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-marker {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.preview-section {
  background: #eef2f7;
}

.proof-board {
  padding: 18px;
}

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

.proof-card p {
  display: grid;
  gap: 8px;
}

.next-step-panel {
  margin-top: 14px;
  border-radius: 8px;
  background: #111827;
  color: #f8fafc;
  padding: 18px;
}

.next-step-panel ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #dbeafe;
}

.audience-section {
  background: var(--page);
}

.process-steps {
  display: grid;
  gap: 16px;
}

.process-steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

.proof-section {
  background: #111827;
  color: #f8fafc;
}

.proof-section .eyebrow {
  color: #93c5fd;
}

.proof-section h2 {
  color: #ffffff;
}

.boundary-list {
  display: grid;
  gap: 12px;
}

.boundary-list div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.boundary-list p {
  color: #cbd5e1;
}

.stage-card {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #ffffff;
}

.final-cta {
  padding: 32px 24px;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.centered-actions {
  justify-content: center;
}

@media (min-width: 720px) {
  .section-shell {
    width: min(1120px, calc(100% - 56px));
  }

  .hero-section {
    padding: 88px 0 72px;
  }

  .three-up,
  .audience-grid,
  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .status-list li {
    grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
    align-items: center;
  }

  .content-section {
    padding: 84px 0;
  }
}

@media (min-width: 900px) {
  .status {
    white-space: nowrap;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
  }

  .split-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .wide-preview {
    grid-template-columns: minmax(240px, 0.56fr) minmax(0, 1.44fr);
    align-items: center;
  }

  .stage-card {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
    padding: 36px;
  }
}

@media (max-width: 480px) {
  .site-header-inner {
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    gap: 2px 12px;
    font-size: 0.82rem;
  }

  .hero-section {
    padding: 44px 0 40px;
  }

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

  .hero-grid,
  .split-layout {
    gap: 24px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .hero-lede {
    margin-bottom: 18px;
  }

  .hero-actions,
  .centered-actions {
    display: grid;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .process-steps,
  .boundary-list,
  .proof-grid {
    gap: 12px;
  }

  .card-marker {
    margin-bottom: 20px;
  }

  .report-header,
  .proof-board-header {
    gap: 12px;
    margin-bottom: 14px;
  }

  .maturity-panel {
    margin-bottom: 14px;
  }

  .process-steps span {
    margin-bottom: 14px;
  }

  .stage-card {
    gap: 18px;
  }

  .report-preview,
  .proof-board,
  .stage-card,
  .final-cta,
  .info-card,
  .proof-card,
  .process-steps article,
  .boundary-list div {
    padding: 16px;
  }
}
