:root {
  --ink: #142033;
  --muted: #607089;
  --line: #d8e1ea;
  --panel: #ffffff;
  --canvas: #f5f7fa;
  --navy: #10243a;
  --navy-2: #17324d;
  --teal: #0f766e;
  --teal-2: #0b5f59;
  --sky: #eaf3fb;
  --mint: #e9f6f4;
  --gold: #9a6b18;
  --gold-soft: #fff5df;
  --red: #a73333;
  --green: #287a4d;
  --shadow: 0 18px 48px rgba(20, 32, 51, .10);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap,
.section-inner,
.hero-inner,
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  border-radius: 6px;
}

.brand-text strong {
  display: block;
  font-size: 18px;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #39485e;
  font-size: 14px;
}

.main-nav a {
  text-decoration: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button,
button.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  background: #fff;
}

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

.button.primary:hover {
  background: var(--teal-2);
}

.button.secondary {
  background: var(--sky);
  color: var(--navy);
}

.button.ghost {
  background: transparent;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid #d7bd77;
  border-radius: 999px;
  color: #654807;
  background: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cta-note {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

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

h1 {
  font-size: 56px;
  line-height: 1.02;
  margin-bottom: 18px;
}

h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 12px;
}

h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.lead {
  color: #40516a;
  font-size: 20px;
  line-height: 1.55;
  max-width: 680px;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.proof-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.proof-item strong {
  display: block;
  font-size: 18px;
}

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

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-visual figcaption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding: 52px 0;
}

.section.white {
  background: #fff;
}

.section.navy {
  background: var(--navy);
  color: #fff;
}

.section.navy .muted,
.section.navy p {
  color: #d7e1eb;
}

.demand-section {
  background: var(--mint);
  border-top: 1px solid #b7ddd8;
}

.demand-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.demand-panel h2,
.demand-panel p {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-header p {
  max-width: 640px;
}

.muted {
  color: var(--muted);
  line-height: 1.55;
}

.grid-3,
.grid-2,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.price-card,
.form-row,
.update-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(20, 32, 51, .05);
}

.card p,
.price-card p {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.card.kicker {
  background: var(--mint);
  border-color: #b7ddd8;
}

.price-card.featured {
  border-color: #92d1ca;
  box-shadow: var(--shadow);
}

.price {
  font-size: 34px;
  font-weight: 900;
  margin: 12px 0;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  padding-left: 24px;
  position: relative;
  color: #34445b;
}

.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}

.table-like {
  display: grid;
  gap: 10px;
}

.form-row,
.update-row {
  display: grid;
  grid-template-columns: 1.1fr .7fr .8fr;
  gap: 18px;
  align-items: center;
}

.status {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 12px;
  background: var(--gold-soft);
  color: #6f4a00;
}

.status.green {
  background: #e8f5ee;
  color: #1e6a3e;
}

.site-footer {
  background: #0c1a2a;
  color: #dce6f0;
  padding: 36px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

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

.footer-links a {
  color: #dce6f0;
  text-decoration: none;
}

.fine-print {
  color: #9fb0c3;
  font-size: 12px;
  line-height: 1.5;
}

.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

.page-hero h1 {
  font-size: 44px;
}

.legal-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  line-height: 1.6;
}

.legal-copy h2 {
  font-size: 24px;
  margin-top: 28px;
}

.workbench-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
}

.workbench-sidebar {
  background: var(--navy);
  color: #fff;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 20px;
}

.workbench-main {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.role-option {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.role-option.active {
  background: #eaf3fb;
  color: var(--navy);
  border-color: #eaf3fb;
  font-weight: 800;
}

.workbench-card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  padding: 0;
}

.status-strip div {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.form-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.meta-pill {
  background: var(--sky);
  border: 1px solid #c7d9ea;
  border-radius: 6px;
  padding: 10px;
}

.meta-pill span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.wizard {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
}

.step-list,
.field-form,
.review-queue,
.validation-list {
  display: grid;
  gap: 10px;
}

.step-button {
  min-height: 46px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  padding: 8px 10px;
  cursor: pointer;
}

.step-button.active {
  background: var(--mint);
  border-color: #8ecfc7;
  font-weight: 800;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.field p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 6px 0 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

.field input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.grid-workbench {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.queue-item,
.validation-list li {
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #fff;
}

.validation-list {
  padding: 0;
}

.pass {
  border-left: 5px solid var(--green) !important;
}

.warn {
  border-left: 5px solid var(--gold) !important;
}

.fail {
  border-left: 5px solid var(--red) !important;
}

.draft-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fbfcfe;
  min-height: 360px;
  line-height: 1.5;
}

.draft-preview .blank {
  color: var(--red);
  font-weight: 800;
}

.beta-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(19, 34, 53, 0.78);
}

.beta-gate[hidden] { display: none; }

.beta-gate-card {
  width: min(620px, 100%);
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.beta-confirm {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 22px 0;
  font-weight: 700;
}

.beta-confirm input { width: 20px; flex: 0 0 20px; }

@media (max-width: 980px) {
  .hero-inner,
  .grid-3,
  .grid-2,
  .pricing-grid,
  .form-row,
  .update-row,
  .footer-inner,
  .workbench-shell,
  .grid-workbench,
  .wizard,
  .field-form,
  .form-meta,
  .status-strip {
    grid-template-columns: 1fr;
  }

  .demand-panel {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .section-inner,
  .hero-inner,
  .footer-inner,
  .workbench-main,
  .workbench-sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-actions .ghost {
    display: none;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }
}
