:root {
  --paper: #fffdf8;
  --cream: #f1e8dc;
  --navy: #102f4a;
  --navy-2: #183d5b;
  --red: #b14f4c;
  --gold: #d8b75b;
  --ink: #182531;
  --muted: #687580;
  --line: rgba(16, 47, 74, 0.14);
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color-scheme: light;
  background: #101010;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #101010;
}

body {
  min-width: 320px;
  margin: 0;
  background: #101010;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

button {
  color: inherit;
  font: inherit;
}

.landing-page {
  width: min(100%, 1190px);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.poster-page {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.action-band {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 12px;
  align-items: center;
  padding: 22px clamp(18px, 4vw, 50px);
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.text-button,
.pill-button {
  min-height: 54px;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.text-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.text-button:hover {
  background: #f1e8dc;
  transform: translateY(-2px);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 8px 7px 24px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(16, 47, 74, 0.17);
}

.pill-button i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-style: normal;
}

.pill-button:hover {
  background: var(--navy-2);
  box-shadow: 0 18px 36px rgba(16, 47, 74, 0.24);
  transform: translateY(-2px);
}

.pill-button:active,
.text-button:active {
  transform: scale(0.98);
}

.content-section {
  scroll-margin-top: 20px;
  padding: clamp(64px, 8vw, 98px) clamp(18px, 5vw, 64px);
}

.section-inner {
  width: min(100%, 1060px);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: end;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(35px, 4.5vw, 58px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
}

.section-heading--light h2 {
  color: #fff;
}

.section-heading--light p {
  color: #b9c7d1;
}

.feedback-section {
  background: var(--cream);
}

.results-section {
  background: var(--navy);
  color: #fff;
}

.carousel-shell {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.58);
}

.carousel-shell--dark {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 0 4px 12px;
  color: #6d7982;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.carousel-controls b {
  color: var(--red);
  font-size: 14px;
}

.carousel-controls > div {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(16, 47, 74, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  background: var(--navy);
  color: #fff;
}

.carousel-controls button:disabled {
  cursor: default;
  opacity: 0.35;
  transform: none;
}

.carousel-controls--light {
  color: #c7d6df;
}

.carousel-controls--light b {
  color: var(--gold);
}

.carousel-controls--light button {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.carousel-controls--light button:hover,
.carousel-controls--light button:focus-visible {
  background: #fff;
  color: var(--navy);
}

.carousel-controls--light button:disabled {
  background: transparent;
  color: #fff;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}

.feedback-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(27px, 5vw, 54px);
  border-radius: 23px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(16, 47, 74, 0.08);
}

.feedback-card--featured {
  background: var(--navy);
  color: #fff;
}

.feedback-card > span {
  margin-bottom: 22px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.feedback-card--featured > span {
  color: var(--gold);
}

.feedback-card blockquote {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.9;
}

.feedback-card--featured blockquote {
  color: #fff;
}

.honor-group {
  padding: 28px 32px;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.07);
}

.honor-group--light {
  background: #f4eee4;
  color: var(--navy);
}

.honor-group h3 {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--serif);
  font-size: 26px;
}

.honor-group--light h3 {
  border-color: rgba(16, 47, 74, 0.2);
}

.honor-group ul {
  max-height: 430px;
  margin: 0;
  padding: 5px 8px 0 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
  scrollbar-width: thin;
}

.honor-group--light ul {
  scrollbar-color: rgba(16, 47, 74, 0.34) transparent;
}

.honor-group li {
  display: grid;
  grid-template-columns: 5em 7.5em 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  line-height: 1.45;
}

.honor-group--light li {
  border-color: rgba(16, 47, 74, 0.13);
}

.honor-group li:last-child {
  border-bottom: 0;
}

.honor-group li b {
  font-family: var(--serif);
  font-size: 17px;
  white-space: nowrap;
}

.honor-group li span {
  color: #b9c7d1;
  font-size: 12px;
  white-space: nowrap;
}

.honor-group--light li span {
  color: #6f7d86;
}

.honor-group li em {
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.honor-group--light li em {
  color: var(--navy);
}

.results-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.results-action p {
  margin: 0;
  color: #d6e1e8;
  font-family: var(--serif);
  font-size: 20px;
}

.pill-button--light {
  background: #fff;
  color: var(--red);
}

.pill-button--light:hover {
  background: #fff5f1;
}

.pill-button--light i {
  background: rgba(177, 79, 76, 0.1);
}

.final-cta {
  padding: clamp(68px, 9vw, 104px) 20px;
  background: var(--red);
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.3;
}

.final-cta p {
  margin: 20px 0 28px;
  color: #f5dfdc;
}

.final-cta small {
  display: block;
  margin-top: 16px;
  opacity: 0.78;
}

.mobile-sticky-cta {
  display: none;
}

:focus-visible {
  outline: 3px solid #df9f40;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .action-band {
    grid-template-columns: 1fr 1fr;
    padding: 18px 16px;
  }

  .action-band .pill-button {
    grid-column: 1 / -1;
  }

  .text-button {
    min-height: 50px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .content-section {
    padding: 66px 16px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 35px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .carousel-shell {
    padding: 11px;
    border-radius: 25px;
  }

  .carousel-controls {
    padding: 1px 2px 10px;
    font-size: 10px;
  }

  .carousel-controls button {
    width: 34px;
    height: 34px;
  }

  .feedback-card {
    min-height: 285px;
    padding: 28px 23px;
    border-radius: 19px;
  }

  .feedback-card blockquote {
    font-size: 17px;
    line-height: 1.86;
  }

  .honor-group {
    padding: 22px 20px;
    border-radius: 19px;
  }

  .honor-group h3 {
    font-size: 23px;
  }

  .honor-group ul {
    max-height: 430px;
  }

  .honor-group li {
    grid-template-columns: 4.5em 1fr;
    gap: 3px 8px;
    padding: 9px 0;
  }

  .honor-group li b {
    font-size: 16px;
  }

  .honor-group li span {
    font-size: 11px;
  }

  .honor-group li em {
    grid-column: 1 / -1;
    font-size: 13px;
  }

  .results-action {
    align-items: stretch;
    flex-direction: column;
  }

  .results-action .pill-button,
  .final-cta .pill-button {
    width: 100%;
  }

  .results-action p {
    font-size: 18px;
  }

  .final-cta h2 {
    font-size: 38px;
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 20;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #22b458;
    color: #fff;
    box-shadow: 0 16px 42px rgba(10, 40, 25, 0.3);
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-sticky-cta b {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .carousel-controls > span {
    max-width: 205px;
  }

  .section-heading h2 {
    font-size: 32px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
