:root {
  --ink: #17212b;
  --muted: #5c6873;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --surface-2: #edf2ef;
  --line: #d8dfd9;
  --blue: #155c8f;
  --teal: #0f8178;
  --green: #4f765b;
  --gold: #b1862f;
  --red: #9b5b55;
  --navy: #172a37;
  --shadow: 0 18px 46px rgba(23, 33, 43, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 247, 244, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue);
  background: var(--surface-2);
  outline: none;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #152633;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  grid-auto-rows: 170px;
  gap: 10px;
  padding: 14px;
  transform: scale(1.04);
}

.hero-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
  opacity: .82;
  filter: saturate(.94) contrast(1);
}

.hero-mosaic img:nth-child(1),
.hero-mosaic img:nth-child(6) {
  grid-row: span 2;
}

.hero-mosaic img:nth-child(4),
.hero-mosaic img:nth-child(7) {
  grid-column: span 2;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 38, .96), rgba(13, 27, 38, .78) 46%, rgba(13, 27, 38, .36)),
    linear-gradient(180deg, rgba(13, 27, 38, .1), rgba(13, 27, 38, .76));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 78px 0 86px;
}

.eyebrow,
.kicker,
.chapter-label {
  margin: 0 0 10px;
  color: #d8b86b;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

.hero-lead {
  max-width: 790px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-actions a,
.action-row a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-weight: 850;
  text-decoration: none;
}

.hero-actions a.primary,
.action-row a {
  border-color: var(--blue);
  background: var(--blue);
}

.hero-actions a:hover,
.action-row a:hover,
.route-grid a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(21, 92, 143, .18);
}

.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.proof-strip {
  position: relative;
  z-index: 3;
  margin-top: -38px;
}

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

.proof-strip article {
  min-height: 122px;
  padding: 18px;
  border: 1px solid rgba(216, 223, 217, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.proof-strip strong {
  display: block;
  color: var(--blue);
  font-size: 36px;
  line-height: 1;
}

.proof-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 750;
}

.section {
  padding: 62px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head.wide {
  max-width: 900px;
}

.section-head.compact {
  max-width: 620px;
}

.section h2,
.evidence-band h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p:not(.kicker) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

.system-tile {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 33, 43, .07);
}

.system-tile div {
  padding: 18px;
}

.tile-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.tile-growth .tile-number { background: var(--teal); }
.tile-data .tile-number { background: var(--green); }
.tile-platform .tile-number { background: var(--gold); }

.system-tile h3,
.chapter-copy h3,
.evidence-stack h3,
.capability-grid h3,
.route-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: 0;
}

.system-tile p,
.chapter-copy p,
.feature-list,
.evidence-stack p,
.capability-grid p,
.timeline p {
  color: var(--muted);
}

.system-tile p {
  margin: 9px 0 0;
}

.system-tile img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-top: 1px solid var(--line);
  background: #dfe8e5;
}

.evidence-band {
  padding: 62px 0;
  color: #fff;
  background: var(--navy);
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.evidence-band .section-head p:not(.kicker),
.evidence-stack p {
  color: rgba(255, 255, 255, .76);
}

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

.evidence-stack article {
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.evidence-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  font-weight: 850;
}

.evidence-stack p {
  margin: 8px 0 0;
}

.portfolio-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.portfolio-chapter:first-of-type {
  border-top: 0;
  padding-top: 6px;
}

.portfolio-chapter.reverse {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.portfolio-chapter.reverse .chapter-media {
  order: 2;
}

.portfolio-chapter.reverse .chapter-copy {
  order: 1;
}

.chapter-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chapter-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 8px;
  background: #dfe8e5;
  box-shadow: 0 12px 28px rgba(23, 33, 43, .11);
}

.chapter-media .wide-shot {
  grid-row: span 2;
  height: 100%;
}

.chapter-copy h3 {
  font-size: 34px;
}

.chapter-copy p:not(.chapter-label) {
  margin: 12px 0 0;
  font-size: 16px;
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.feature-list li + li {
  margin-top: 6px;
}

.action-row a {
  border-color: var(--line);
  color: var(--blue);
  background: #fff;
}

.atlas-band {
  background: #e9efeb;
}

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

.capability-grid article {
  min-height: 160px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.capability-grid .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--teal);
}

.capability-grid h3 {
  font-size: 19px;
}

.capability-grid p {
  margin: 8px 0 0;
  font-size: 14px;
}

.gallery-section {
  padding-bottom: 66px;
}

.image-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.image-wall img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 8px;
  background: #dce5e1;
  box-shadow: 0 8px 22px rgba(23, 33, 43, .08);
}

.image-wall .span-2 {
  grid-column: span 2;
}

.deployment-band {
  color: #fff;
  background: #23313d;
}

.deployment-layout {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
}

.deployment-band .section-head p:not(.kicker) {
  color: rgba(255, 255, 255, .74);
}

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

.timeline article {
  min-height: 170px;
  padding: 18px;
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.timeline article:nth-child(2) { border-color: var(--teal); }
.timeline article:nth-child(3) { border-color: var(--blue); }
.timeline article:nth-child(4) { border-color: var(--green); }

.timeline span {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

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

.route-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(23, 33, 43, .06);
}

.route-grid h3 {
  margin-bottom: 12px;
}

.route-grid a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.route-grid a:first-of-type {
  border-top: 0;
}

.route-grid span {
  font-weight: 820;
}

.route-grid small {
  color: var(--muted);
  text-align: right;
  word-break: break-word;
}

.footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.service-page {
  min-height: calc(100vh - 69px);
  display: grid;
  align-items: center;
  padding: 44px 0;
}

.service-panel,
.payment-tool {
  max-width: 900px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-panel h1,
.payment-tool h1 {
  margin: 12px 0 8px;
  font-size: 32px;
  line-height: 1.25;
}

.service-panel p,
.payment-tool p {
  color: var(--muted);
}

.payment-page {
  align-items: start;
}

.payment-tool {
  width: min(760px, 100%);
  margin: 0 auto;
}

.payment-intro {
  margin-bottom: 22px;
}

.points-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.points-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.points-input-row input {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  border: 1px solid #cbd7e0;
  border-radius: 8px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.points-input-row input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 92, 143, .12);
  outline: none;
}

.points-input-row span {
  font-weight: 800;
}

.field-hint {
  margin: 8px 0 0;
  font-size: 13px;
}

.field-hint code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--surface-2);
}

.field-hint.compact {
  margin-top: 12px;
}

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

.price-summary div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafb;
}

.price-summary span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.price-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .proof-strip-grid,
  .system-map,
  .capability-grid,
  .route-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-layout,
  .portfolio-chapter,
  .portfolio-chapter.reverse,
  .deployment-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-chapter.reverse .chapter-media,
  .portfolio-chapter.reverse .chapter-copy {
    order: initial;
  }

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

@media (max-width: 740px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .topbar-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: 700px;
  }

  .hero-mosaic {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    grid-auto-rows: 138px;
    opacity: .84;
  }

  .hero-mosaic img:nth-child(4),
  .hero-mosaic img:nth-child(7) {
    grid-column: auto;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(13, 27, 38, .96), rgba(13, 27, 38, .8) 58%, rgba(13, 27, 38, .56)),
      linear-gradient(90deg, rgba(13, 27, 38, .86), rgba(13, 27, 38, .5));
  }

  .hero-content {
    padding: 58px 0 70px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .proof-strip {
    margin-top: -28px;
  }

  .proof-strip-grid,
  .system-map,
  .evidence-stack,
  .chapter-media,
  .capability-grid,
  .image-wall,
  .route-grid,
  .timeline,
  .price-summary {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 46px 0;
  }

  .section h2,
  .evidence-band h2 {
    font-size: 31px;
  }

  .chapter-copy h3 {
    font-size: 28px;
  }

  .chapter-media .wide-shot,
  .image-wall .span-2 {
    grid-column: auto;
    grid-row: auto;
  }

  .route-grid a {
    flex-direction: column;
    gap: 2px;
  }

  .route-grid small {
    text-align: left;
  }

  .service-panel,
  .payment-tool {
    padding: 20px;
  }
}
