:root {
  --navy: #082d61;
  --navy-deep: #041d43;
  --blue: #176ce8;
  --blue-soft: #e9f2ff;
  --ink: #17324d;
  --slate: #5a708d;
  --line: #d5e0ed;
  --green: #329d62;
  --green-soft: #e4f5eb;
  --red: #bd3c34;
  --shadow: 0 18px 50px rgb(17 55 99 / 11%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #f5f9fe;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #ffbd38;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  min-height: 76px;
  padding: 10px clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(110deg, var(--navy), var(--navy-deep));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  text-decoration: none;
}

.logo-plate {
  display: inline-flex;
  padding: 5px 9px;
  background: #fff;
  border-radius: 8px;
}

.logo-plate img {
  display: block;
  width: 168px;
  height: auto;
}

.header-stages {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}

.header-stages span {
  min-width: 46px;
  color: #dbe8f8;
  display: grid;
  justify-items: center;
  gap: 3px;
  position: relative;
}

.header-stages span:not(:last-child)::after {
  content: "";
  width: 22px;
  height: 1px;
  background: rgb(219 232 248 / 42%);
  position: absolute;
  top: 17px;
  left: calc(100% + 2px);
}

.header-stages b {
  width: 36px;
  height: 36px;
  border: 1px solid rgb(219 232 248 / 58%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
}

.header-stages i {
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 655px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 90px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 5.4vw, 68px);
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}

.hero-lead,
.section-heading > p:last-child,
.resource-band > div > p:last-child {
  color: var(--slate);
  font-size: clamp(16px, 1.7vw, 19px);
  text-wrap: pretty;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
}

.hero-actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.primary,
.secondary {
  min-height: 54px;
  padding: 13px 18px;
  border: 2px solid var(--blue);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.primary {
  color: #fff;
  background: linear-gradient(110deg, #1769df, #0b75f1);
  box-shadow: 0 10px 24px rgb(23 108 232 / 20%);
}

.secondary {
  color: var(--blue);
  background: #fff;
}

.primary span {
  margin-left: auto;
}

.fine-print {
  margin: 14px 0 0;
  color: #6b7f97;
  font-size: 12px;
}

.fine-print a {
  color: var(--red);
  font-weight: 900;
}

.journey-card {
  padding: clamp(22px, 3.2vw, 34px);
  background: rgb(255 255 255 / 94%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.journey-step {
  min-height: 116px;
  padding: 18px 26px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 54px 76px 1fr;
  align-items: center;
  gap: 18px;
}

.journey-step.blue {
  color: #176ce8;
  background: #eaf2fd;
}

.journey-step.amber {
  color: #c47a00;
  background: #fff6e5;
}

.journey-step.green {
  color: #15805f;
  background: #e6f6ef;
}

.journey-number {
  width: 54px;
  height: 54px;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 950;
}

.journey-step.blue .journey-number {
  background: #176ce8;
}

.journey-step.amber .journey-number {
  background: #c47a00;
}

.journey-step.green .journey-number {
  background: #15805f;
}

.journey-icon {
  width: 76px;
  height: 76px;
  border: 4px solid currentColor;
  border-radius: 21px;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.journey-step.green .journey-icon {
  border-radius: 50%;
}

.journey-step h2 {
  color: var(--navy);
  font-size: 27px;
  letter-spacing: 0;
}

.journey-step p {
  margin: 7px 0 0;
  color: var(--slate);
  font-size: 15px;
}

.content-section,
.resource-band,
.help-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(72px, 9vw, 110px);
}

.section-heading {
  max-width: 790px;
}

.info-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgb(17 55 99 / 6%);
}

.info-grid strong {
  color: var(--navy);
  font-size: 18px;
}

.info-grid p {
  margin: 8px 0 0;
  color: var(--slate);
}

.resource-band {
  padding: clamp(30px, 5vw, 54px);
  background: linear-gradient(120deg, #edf5ff, #e6f6ec);
  border: 1px solid #cadeec;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.resource-band .primary {
  min-width: 250px;
}

.help-section {
  padding: clamp(30px, 5vw, 52px);
  color: #fff;
  background: linear-gradient(120deg, var(--navy), #0f4c86);
  border-radius: 24px;
}

.help-section .eyebrow,
.help-section h2 {
  color: #fff;
}

.help-actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.help-actions a {
  min-height: 94px;
  padding: 18px;
  color: var(--navy);
  background: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.help-actions small,
.help-actions strong {
  display: block;
}

.help-actions small {
  color: var(--slate);
}

.help-actions strong {
  margin-top: 3px;
  font-size: 19px;
}

footer {
  min-height: 70px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #6a7e96;
  background: #e8f0fa;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

footer a {
  color: var(--navy);
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .info-grid,
  .help-actions {
    grid-template-columns: 1fr;
  }

  .resource-band {
    grid-template-columns: 1fr;
  }

  .resource-band .primary {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    gap: 9px;
    font-size: 13px;
  }

  .logo-plate img {
    width: 134px;
  }

  .header-stages {
    gap: 12px;
  }

  .header-stages span {
    min-width: 34px;
  }

  .header-stages span:not(:last-child)::after {
    width: 9px;
  }

  .header-stages i {
    display: none;
  }

  .hero,
  .content-section,
  .resource-band,
  .help-section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-block: 42px 64px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .journey-card {
    padding: 14px;
  }

  .journey-step {
    min-height: 94px;
    padding: 14px;
    grid-template-columns: 46px 58px 1fr;
    gap: 12px;
  }

  .journey-number {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .journey-icon {
    width: 58px;
    height: 58px;
    border-width: 3px;
    border-radius: 17px;
    font-size: 29px;
  }

  .journey-step h2 {
    font-size: 23px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .header-stages {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
