:root {
  --cream: #f6f1e7;
  --warm-white: #fffdf8;
  --paper: #fbf8f0;
  --green: #184f3a;
  --green-2: #2f7456;
  --light-green: #dfeade;
  --blue: #19364d;
  --blue-soft: #dfe8ef;
  --gray: #756f67;
  --line: #ded7c9;
  --gold: #c49a4a;
  --rose: #e7d8ce;
  --shadow: 0 18px 50px rgba(34, 50, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #26312c;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(246, 241, 231, 0.96)),
    radial-gradient(circle at 15% 12%, rgba(223, 234, 222, 0.9), transparent 30%),
    radial-gradient(circle at 85% 8%, rgba(223, 232, 239, 0.8), transparent 32%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px) 64px;
  background:
    linear-gradient(120deg, rgba(24, 79, 58, 0.95), rgba(25, 54, 77, 0.86)),
    url("assets/images/ordering-status-overview.png") center / cover;
  color: var(--warm-white);
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.12);
  backdrop-filter: blur(16px);
}

.topbar a {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.88);
  font-size: 14px;
}

.topbar a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-inner {
  width: min(1440px, 100%);
  margin: 12vh auto 0;
}

.eyebrow,
.section-label,
.tag {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1320px;
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 1.1;
  font-weight: 900;
}

.hero h1 span {
  white-space: nowrap;
}

.subtitle {
  max-width: 900px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 650;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section + .section {
  border-top: 1px solid rgba(117, 111, 103, 0.18);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head.compact {
  display: block;
  max-width: 820px;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.24;
}

h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 21px;
  line-height: 1.3;
}

p {
  margin: 0;
}

.section-head p {
  color: var(--gray);
  font-size: 18px;
}

.reason-grid,
.overview-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.reason-grid article,
.system-card,
.roadmap-grid article,
.closing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
}

.reason-grid article {
  padding: 24px;
}

.reason-grid span,
.system-title span,
.roadmap-grid span {
  color: var(--green-2);
  font-weight: 900;
}

.reason-grid p,
.system-card p,
.roadmap-grid p,
.mini-block p,
.status-line,
.one-line,
.closing-card p {
  color: var(--gray);
}

.goals {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 4vw, 56px);
  background: linear-gradient(90deg, rgba(223, 234, 222, 0.72), rgba(223, 232, 239, 0.62));
}

.goal-strip {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.goal-strip div {
  min-height: 154px;
  padding: 24px;
  border-radius: 8px;
  background: var(--warm-white);
  border: 1px solid rgba(24, 79, 58, 0.12);
}

.goal-strip strong {
  display: block;
  color: var(--green);
  font-size: 24px;
  line-height: 1.26;
}

.goal-strip span {
  display: block;
  margin-top: 12px;
  color: var(--gray);
}

.system-card {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.system-card .tag {
  color: var(--green-2);
}

.system-card h3 {
  color: var(--green);
  font-size: 28px;
}

.system-card strong {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  line-height: 1.55;
}

.system-link,
.url-line a {
  overflow-wrap: anywhere;
  color: var(--green-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(47, 116, 86, 0.28);
  text-underline-offset: 4px;
}

.system-link {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(47, 116, 86, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.74);
  font-size: 14px;
}

.system-card.certificate {
  background: linear-gradient(180deg, #fffdf8, #eef5ed);
}

.system-card.schedule {
  background: linear-gradient(180deg, #fffdf8, #edf3f7);
}

.system-card.learning {
  background: linear-gradient(180deg, #fffdf8, #f2eadf);
}

.system-card.ordering {
  background: linear-gradient(180deg, #fffdf8, #e9efe9);
}

.detail-section {
  width: min(1280px, calc(100% - 40px));
}

.system-title {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}

.system-title span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--light-green);
  color: var(--green);
  font-size: 24px;
}

.system-title p {
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.detail-grid.reverse .detail-copy {
  order: 2;
}

.detail-grid.reverse .screenshot-panel {
  order: 1;
}

.detail-copy {
  position: sticky;
  top: 88px;
}

.mini-block {
  padding: 20px 0;
  border-bottom: 1px solid rgba(117, 111, 103, 0.18);
}

.mini-block:first-child {
  padding-top: 0;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--gray);
}

li + li {
  margin-top: 6px;
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.benefit-row div {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(47, 116, 86, 0.18);
  border-radius: 8px;
  background: var(--light-green);
  color: var(--green);
  font-weight: 800;
  text-align: center;
}

.status-line {
  padding: 18px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 253, 248, 0.8);
}

.url-line {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 116, 86, 0.18);
  border-radius: 8px;
  background: rgba(223, 234, 222, 0.5);
  color: var(--blue);
}

.one-line {
  margin-top: 14px;
  font-weight: 800;
  color: var(--blue);
}

.screenshot-panel {
  display: grid;
  gap: 18px;
}

figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f3f0e8;
}

figcaption {
  padding: 12px 16px;
  color: var(--gray);
  font-size: 14px;
  background: rgba(255, 253, 248, 0.94);
}

.status {
  width: min(1280px, calc(100% - 40px));
}

.status-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--warm-white);
  box-shadow: var(--shadow);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
}

.table-row > div {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
}

.table-row > div + div {
  border-left: 1px solid var(--line);
}

.table-row:last-child > div {
  border-bottom: 0;
}

.table-head > div {
  background: var(--green);
  color: var(--warm-white);
  font-weight: 800;
}

.table-row:not(.table-head) > div:first-child,
.table-row:not(.table-head) > div:last-child {
  color: var(--blue);
  font-weight: 800;
}

.impact {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 4vw, 56px);
  background: var(--blue);
  color: var(--warm-white);
}

.impact-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.impact h2 {
  color: var(--warm-white);
}

.impact-main p {
  margin-top: 18px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 18px;
}

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

.impact-list div {
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.11);
  border: 1px solid rgba(255, 253, 248, 0.16);
  font-size: 20px;
  font-weight: 800;
}

.roadmap-grid article {
  min-height: 210px;
  padding: 26px;
}

.roadmap-grid span {
  display: inline-block;
  margin-bottom: 14px;
}

.closing {
  padding-bottom: 110px;
}

.closing-card {
  padding: clamp(28px, 6vw, 68px);
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.95), rgba(223, 234, 222, 0.74)),
    var(--warm-white);
}

.closing-card h2 {
  max-width: 980px;
}

.closing-card > p {
  max-width: 900px;
  margin-top: 22px;
  font-size: 20px;
}

.closing-callout {
  max-width: 980px;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 34px);
  border: 2px solid rgba(47, 116, 86, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 16px 42px rgba(24, 79, 58, 0.12);
}

.closing-callout strong {
  display: block;
  color: var(--green);
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.18;
}

.closing-callout span {
  display: block;
  margin-top: 14px;
  color: var(--blue);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .section-head,
  .detail-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid,
  .overview-grid,
  .goal-strip,
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-copy {
    position: static;
  }

  .detail-grid.reverse .detail-copy,
  .detail-grid.reverse .screenshot-panel {
    order: initial;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 92vh;
    padding-inline: 18px;
  }

  .hero-inner {
    margin-top: 8vh;
  }

  .hero h1 {
    font-size: clamp(34px, 10.4vw, 48px);
    line-height: 1.16;
  }

  .hero h1 span {
    display: block;
  }

  .topbar {
    border-radius: 8px;
    justify-content: flex-start;
  }

  .topbar a {
    font-size: 13px;
  }

  .reason-grid,
  .overview-grid,
  .goal-strip,
  .roadmap-grid,
  .benefit-row {
    grid-template-columns: 1fr;
  }

  .section,
  .detail-section,
  .status {
    width: calc(100% - 28px);
    padding: 58px 0;
  }

  .system-title {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-head {
    display: none;
  }

  .table-row > div + div {
    border-left: 0;
  }

  .table-row:not(.table-head) > div:first-child {
    background: var(--light-green);
  }

  .table-row:not(.table-head) > div:last-child {
    border-bottom: 3px solid var(--line);
  }
}

@media print {
  .topbar {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .section {
    break-inside: avoid;
  }

  figure,
  .system-card,
  .reason-grid article,
  .roadmap-grid article {
    box-shadow: none;
  }
}
