:root {
  color-scheme: light;
  --background: #f7f5ef;
  --foreground: #17201a;
  --muted: #5d665e;
  --line: #d9d4c8;
  --accent: #2f6f5e;
  --accent-strong: #173f35;
  --panel: #fffdf8;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(1120px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
}

.masthead {
  display: grid;
  align-content: end;
  min-height: 44vh;
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95rem;
}

.phase-label {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 640;
  line-height: 0.9;
  letter-spacing: 0;
}

.tagline {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
}

.status-card {
  display: flex;
  min-height: 148px;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
}

.status-card h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
}

.status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.status-card span {
  height: fit-content;
  color: var(--accent-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.tour-note {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.tour {
  display: grid;
  gap: 40px;
  margin: 0;
  padding: 32px 0 0;
  list-style: none;
}

.tour-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.tour-index {
  color: var(--accent-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
}

.tour-copy h2 {
  margin: 8px 0 10px;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0;
}

.tour-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.tour-shot {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--panel);
}

@media (max-width: 900px) {
  .tour-step {
    grid-template-columns: 1fr;
  }
}

.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.cta{display:inline-block;padding:12px 20px;background:var(--accent-strong);color:#fff;text-decoration:none;font-weight:600;border:1px solid var(--accent-strong)}
.cta:hover{background:var(--accent)}
.cta.secondary{background:transparent;color:var(--accent-strong)}
.cta.secondary:hover{background:var(--panel)}
.tour-end{border-top:1px solid var(--line);margin-top:40px;padding:32px 0}
.tour-end h2{margin:0 0 10px;font-size:1.3rem}
.tour-end p{color:var(--muted);margin:0;line-height:1.5}
footer.site-foot{color:var(--muted);font-size:.85rem;padding:24px 0;border-top:1px solid var(--line)}
footer.site-foot a{color:var(--accent-strong)}
