:root {
  color-scheme: light;
  --ink: #101113;
  --paper: #fbfbf8;
  --line: #d6ddd8;
  --muted: #606763;
  --green: #25785e;
  --blue: #386fb0;
  --yellow: #c9961a;
  --shadow: 0 22px 70px rgba(16, 17, 19, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 17, 19, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  color: var(--ink);
}

.launch-shell {
  width: min(1180px, 100%);
  max-width: 100vw;
  margin: 0 auto;
  padding: 44px 24px 56px;
}

.intro {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.32em;
  background: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
}

.primary-links,
.copy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.primary-links a,
.asset-card > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.primary-links a:nth-child(2) {
  border-color: var(--blue);
  background: var(--blue);
}

.primary-links a:nth-child(3) {
  border-color: var(--green);
  background: var(--green);
}

.primary-links a:nth-child(4),
.asset-card > a {
  border-color: var(--green);
  background: var(--green);
}

.asset-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.asset-card,
.copy-grid article,
.route-hero,
.route-step,
.handoff-card,
.material-card,
.checklist {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

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

.asset-card p,
.copy-grid p,
.checklist li {
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.asset-card p,
.copy-grid p {
  margin-bottom: 0;
}

.asset-card img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.cover-card img,
.workflow-poster-card img {
  max-height: 760px;
  object-fit: contain;
}

.social-card img {
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.route-shell {
  max-width: 100vw;
}

.route-intro {
  max-width: 880px;
}

.route-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.route-hero p {
  color: var(--muted);
  line-height: 1.6;
}

.route-hero img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.route-map,
.handoff-grid,
.health-grid,
.materials-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

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

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

.health-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

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

.material-card {
  padding: 18px;
}

.material-wide {
  grid-column: 1 / -1;
}

.material-card p,
.material-card li {
  color: var(--muted);
  line-height: 1.58;
}

.material-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.material-card a {
  color: var(--blue);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.route-step,
.handoff-card {
  padding: 16px;
}

.route-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 900;
}

.route-step p,
.handoff-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.route-boundary {
  margin-top: 18px;
}

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

.reuse-hero img {
  aspect-ratio: 900 / 1200;
  max-height: 620px;
  object-fit: contain;
}

.reuse-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.reuse-step {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.reuse-step:nth-child(2n) {
  border-color: rgba(37, 120, 94, 0.45);
}

.reuse-step:nth-child(3n) {
  border-color: rgba(56, 111, 176, 0.45);
}

.reuse-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.reuse-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.reuse-step a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.reuse-proof {
  margin-top: 18px;
}

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

.copy-grid article {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.copy-grid a {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.copy-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: none;
}

.copy-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.guide-panel,
.guide-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.guide-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

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

.filter-button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.pack-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: white;
}

.pack-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.guide-results-head {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
}

.guide-results-head a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.guide-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: white;
}

.guide-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

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

.guide-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.pack-shell {
  max-width: 100vw;
}

.pack-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.pack-copy-panel,
.pack-visual,
.pack-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.pack-copy-panel,
.pack-visual {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.pack-copy-panel p,
.pack-item p {
  color: var(--muted);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.pack-copy-panel p {
  margin-bottom: 0;
}

.pack-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  object-fit: cover;
}

.pack-visual a,
.pack-item a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.pack-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pack-item {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.pack-item p {
  margin-bottom: 0;
}

.preflight-shell {
  max-width: 100vw;
}

.preflight-panel,
.preflight-report {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.preflight-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.preflight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.preflight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.preflight-check {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: white;
  box-shadow: var(--shadow);
}

.preflight-check[data-state="fail"] {
  border-color: rgba(184, 70, 70, 0.7);
}

.preflight-check-head {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.state-pill {
  display: inline-flex;
  min-width: 52px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-size: 0.78rem;
  font-weight: 950;
}

.preflight-check[data-state="fail"] .state-pill {
  background: #b84646;
}

.preflight-check p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.preflight-report {
  margin-top: 0;
}

.preflight-report pre {
  overflow: auto;
  max-width: 100%;
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: white;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.checklist {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
}

.checklist ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.checklist li::marker {
  color: var(--green);
}

@media (max-width: 900px) {
  .primary-links,
  .asset-grid,
  .route-hero,
  .route-map,
  .reuse-flow,
  .handoff-grid,
  .health-grid,
  .materials-grid,
  .guide-list,
  .pack-hero,
  .pack-list,
  .preflight-panel,
  .preflight-list,
  .copy-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .pack-card,
  .guide-results-head,
  .guide-actions {
    grid-template-columns: 1fr;
  }

  .preflight-actions {
    justify-content: stretch;
  }

  .preflight-actions .copy-button {
    flex: 1 1 160px;
  }

  .guide-results-head {
    display: grid;
    align-items: start;
  }

  .launch-shell {
    padding: 28px 16px 40px;
  }
}
