:root {
  color-scheme: light;
  --paper: #f1f3f7;
  --paper-deep: #e1e6ef;
  --surface: #fbfcfe;
  --ink: #101828;
  --muted: #526075;
  --line: rgba(16, 24, 40, 0.15);
  --blue: #315bea;
  --blue-dark: #2345b8;
  --white: #ffffff;
  --radius: 18px;
  --max: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", "Noto Sans TC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  width: min(calc(100% - 3rem), var(--max));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.wordmark {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.045em;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

nav .nav-cta {
  padding: 0.66rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  display: grid;
  min-height: min(850px, 100dvh);
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 7.25rem 0 3.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 4.5vw, 5rem);
  font-weight: 620;
  letter-spacing: -0.074em;
  line-height: 0.88;
}

.hero-lede {
  max-width: 30rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:active {
  transform: scale(0.98);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.text-link {
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.text-link span {
  margin-left: 0.25rem;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: 0 28px 70px rgba(24, 39, 75, 0.14);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 24, 40, 0.48), transparent 48%);
  content: "";
}

.hero-visual figcaption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: calc(var(--radius) - 5px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-visual figcaption span,
.hero-visual figcaption strong {
  display: block;
}

.hero-visual figcaption span {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-visual figcaption strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.answer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.answer-strip p {
  min-height: 104px;
  margin: 0;
  padding: 1.55rem 2rem;
  border-right: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 680;
}

.answer-strip p:last-child {
  border-right: 0;
}

.answer-strip span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
}

.plan-section {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-heading h2,
.evidence-copy h2,
.today-title h2,
.offer-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.65rem, 5.2vw, 5.2rem);
  font-weight: 610;
  letter-spacing: -0.063em;
  line-height: 0.95;
}

.section-heading p,
.evidence-copy > p,
.offer-section > div > p {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.plan-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.journey {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.journey li:last-child {
  border-bottom: 1px solid var(--line);
}

.journey > li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 780;
}

.journey h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.journey p {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.subject-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 56px rgba(24, 39, 75, 0.12);
}

.subject-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.subject-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.9);
}

.subject-photo figcaption strong {
  font-size: 0.93rem;
}

.subject-photo figcaption span {
  color: var(--muted);
  font-size: 0.78rem;
}

.evidence-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 650px;
  background: var(--ink);
  color: var(--white);
}

.evidence-photo {
  min-height: 460px;
}

.evidence-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.evidence-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.evidence-copy h2 {
  max-width: 8ch;
}

.evidence-copy > p {
  color: #c7d0df;
}

.evidence-note {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.evidence-note > span {
  color: #84a0ff;
  font-size: 1.2rem;
}

.evidence-note p {
  margin: 0;
  color: #d9dfeb;
  line-height: 1.5;
}

.evidence-note strong {
  color: var(--white);
}

.today-section {
  position: relative;
  display: grid;
  width: min(calc(100% - 3rem), var(--max));
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 10rem) 0;
}

.today-title {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 1rem;
  align-items: start;
}

.today-title h2 {
  max-width: 11ch;
  margin: 0;
}

.today-dot {
  width: 13px;
  height: 13px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(49, 91, 234, 0.12);
}

.today-question {
  position: absolute;
  right: 4%;
  bottom: 18%;
  z-index: -1;
  margin: 0;
  color: rgba(49, 91, 234, 0.08);
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.today-body {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.offer-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--blue);
  color: var(--white);
}

.offer-section h2 {
  max-width: 10ch;
}

.offer-section > div > p {
  color: #f0f3ff;
}

.offer {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(19, 43, 126, 0.24);
}

.price {
  margin-bottom: 0.4rem;
  color: var(--white) !important;
  font-size: clamp(2.5rem, 5vw, 4.25rem) !important;
  font-weight: 670;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price span {
  margin-right: 0.18rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  vertical-align: top;
}

.price small {
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: 0;
}

.offer > p:not(.price) {
  margin-bottom: 1.4rem;
  color: #f0f3ff;
  font-size: 0.88rem;
  line-height: 1.5;
}

.button-light {
  background: var(--white);
  color: var(--blue-dark);
}

.button-light:hover,
.button-light:focus-visible {
  background: #eef2ff;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem max(1.5rem, calc((100vw - var(--max)) / 2));
  background: var(--surface);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

footer div {
  display: flex;
  gap: 1.2rem;
}

footer div a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
}

footer div a:hover,
footer div a:focus-visible {
  color: var(--ink);
}

@media (prefers-reduced-transparency: reduce) {
  .hero-visual figcaption,
  .subject-photo figcaption {
    background: var(--white);
    backdrop-filter: none;
  }
}

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

  .button {
    transition: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr 0.82fr;
    gap: 2rem;
    padding-top: 8rem;
  }

  h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }

  .hero-visual {
    min-height: 480px;
  }

  .answer-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .answer-strip p:nth-child(2) {
    border-right: 0;
  }

  .answer-strip p:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .plan-layout {
    gap: 3rem;
  }

  .evidence-section {
    grid-template-columns: 1fr;
  }

  .evidence-photo {
    height: 54vw;
    min-height: 380px;
  }

  .evidence-copy {
    padding: 4rem 1.5rem 5rem;
  }

  .evidence-copy h2 {
    max-width: 10ch;
  }

  .today-section,
  .offer-section {
    grid-template-columns: 1fr;
  }

  .today-section {
    align-items: start;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: min(calc(100% - 2rem), var(--max));
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    width: min(calc(100% - 2rem), var(--max));
    min-height: 100dvh;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 7.25rem 0 2rem;
  }

  h1 {
    font-size: clamp(2.75rem, 11.2vw, 3.75rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 420px;
  }

  .answer-strip p {
    min-height: 94px;
    padding: 1.3rem 1rem;
  }

  .plan-section,
  .today-section {
    width: min(calc(100% - 2rem), var(--max));
  }

  .plan-layout {
    grid-template-columns: 1fr;
  }

  .subject-photo {
    order: -1;
  }

  .section-heading h2,
  .evidence-copy h2,
  .today-title h2,
  .offer-section h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .subject-photo figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .evidence-photo {
    min-height: 340px;
  }

  .today-question {
    display: none;
  }

  .offer-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  footer p {
    grid-column: auto;
    grid-row: auto;
  }
}
