:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5d6670;
  --line: #d8ded7;
  --paper: #f8f7f1;
  --white: #ffffff;
  --green: #1f6f57;
  --red: #b44b3d;
  --blue: #235a8d;
  --gold: #a77424;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 241, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 60px);
  padding: clamp(36px, 6vw, 88px) clamp(18px, 6vw, 88px) clamp(28px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.lead {
  max-width: 720px;
  color: #30363d;
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0;
}

.facts div {
  border-top: 2px solid var(--ink);
  padding-top: 10px;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 0;
  font-weight: 800;
}

.cover {
  margin: 0;
}

.cover img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--white);
}

.cover figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.band,
.workflow,
.downloads {
  padding: clamp(48px, 7vw, 96px) clamp(18px, 6vw, 88px);
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

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

.deliverables,
.gate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.deliverables article,
.task,
.gate-grid div,
.download-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.deliverables article p,
.task p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.task span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.task.done {
  border-top: 5px solid var(--green);
}

.task.active {
  border-top: 5px solid var(--blue);
}

.task.blocked {
  border-top: 5px solid var(--red);
}

.gate-grid div {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: space-between;
  background: #fbfaf7;
}

.gate-grid span {
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.gate-note {
  max-width: 920px;
  margin: 22px 0 0;
  color: var(--muted);
}

.download-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
}

.download-list a {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.download-list span {
  color: var(--muted);
}

.mock-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

label:nth-child(3) {
  grid-column: 1 / -1;
}

input,
textarea,
button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--muted);
  background: #eeeee9;
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

button {
  min-height: 48px;
  color: var(--white);
  background: #7a7f84;
  font-weight: 800;
}

.footer {
  padding: 28px clamp(18px, 6vw, 88px);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .deliverables,
  .timeline,
  .gate-grid,
  .download-list,
  .mock-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  label:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 42px;
  }
}
