:root {
  color-scheme: light;
  --canvas: #f4f0e8;
  --canvas-end: #e8e4db;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --ink: #17212d;
  --ink-soft: #52606d;
  --muted: #8a8176;
  --line: rgba(23, 33, 45, 0.11);
  --primary-50: #edf5f8;
  --primary-100: #d6e7ee;
  --primary-500: #315f75;
  --primary-900: #183243;
  --warm: #b88354;
  --warm-soft: #ead4bd;
  --sage: #717c68;
  --shadow: 0 1px 3px rgba(23, 33, 45, 0.05), 0 12px 34px rgba(23, 33, 45, 0.07);
  --shadow-hover: 0 10px 30px rgba(23, 33, 45, 0.12), 0 2px 8px rgba(23, 33, 45, 0.06);
  --shadow-feature: 0 24px 64px rgba(23, 33, 45, 0.14), 0 8px 20px rgba(23, 33, 45, 0.07);
  --font-sans: "Noto Sans TC", "Manrope", system-ui, sans-serif;
  --font-serif: "Noto Serif TC", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
    --canvas: #f4f0e8;
    --canvas-end: #e8e4db;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --ink: #17212d;
    --ink-soft: #52606d;
    --muted: #8a8176;
    --line: rgba(23, 33, 45, 0.11);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.82;
  background:
    radial-gradient(circle at 18% 8%, rgba(49, 95, 117, 0.11), transparent 34rem),
    radial-gradient(circle at 88% 3%, rgba(184, 131, 84, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--canvas) 0%, #f7f4ef 42%, var(--canvas-end) 100%);
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(49, 95, 117, 0.18);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 16px auto 0;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(1.1);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(49, 95, 117, 0.18);
  border-radius: 999px;
  color: var(--primary-900);
  background: var(--primary-50);
  font-family: var(--font-serif);
}

.brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease-out, background 180ms ease-out;
}

.nav-links a:hover {
  color: var(--primary-900);
  background: rgba(49, 95, 117, 0.08);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out, background 180ms ease-out;
}

.header-cta,
.button-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-500));
  box-shadow: 0 14px 42px rgba(49, 95, 117, 0.24);
}

.button-secondary {
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.58);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.menu-button span::before {
  transform: translateY(-6px);
}

.menu-button span::after {
  transform: translateY(4px);
}

.mobile-nav {
  position: sticky;
  top: 94px;
  z-index: 29;
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 10px auto 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.mobile-nav a {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

body.is-menu-open .mobile-nav {
  display: grid;
}

.hero,
.intro-strip,
.method-section,
.audience-section,
.curriculum-section,
.standard-section,
.outcomes-section,
.plans-section,
.faq-section,
.contact-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
  padding: 108px 0 56px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker::before {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--warm), transparent);
  content: "";
}

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

.hero h1,
.section-copy h2,
.section-heading h2,
.standard-section h2,
.contact-copy h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11.5em;
  margin: 18px 0 24px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.24;
}

.hero-lead {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 45, 0.12);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-feature);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 50, 67, 0.04), rgba(24, 50, 67, 0.52));
  content: "";
}

.hero-media figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(24, 50, 67, 0.62);
  backdrop-filter: blur(18px);
}

.hero-media figcaption span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-media figcaption strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.35;
}

.hero-media figcaption small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.intro-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intro-strip p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.9;
}

.intro-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.intro-facts span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(184, 131, 84, 0.28);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--primary-900);
  background: rgba(234, 212, 189, 0.34);
  font-size: 0.86rem;
  font-weight: 800;
}

.method-section,
.curriculum-section,
.contact-section,
.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  gap: 58px;
  align-items: start;
  padding: 104px 0;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.28;
}

.section-copy p,
.section-heading p,
.contact-copy p {
  color: var(--ink-soft);
  line-height: 1.95;
}

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

.method-board article,
.audience-grid article,
.timeline article,
.outcome-layout article,
.plan-grid article,
.faq-list details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.method-board article:hover,
.audience-grid article:hover,
.timeline article:hover,
.outcome-layout article:hover,
.plan-grid article:hover,
.faq-list details:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 95, 117, 0.26);
  box-shadow: var(--shadow-hover);
}

.method-board article {
  min-height: 230px;
  padding: 26px;
}

.method-board span {
  color: var(--warm);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.method-board h3,
.audience-grid h3,
.timeline h3,
.outcome-layout h3,
.plan-grid h3 {
  margin: 22px 0 10px;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.42;
}

.method-board p,
.audience-grid p,
.timeline p,
.outcome-layout p,
.plan-grid p,
.faq-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.audience-section,
.outcomes-section,
.plans-section {
  padding: 102px 0;
}

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

.audience-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.audience-grid article,
.plan-grid article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
}

.audience-grid span,
.outcome-layout span,
.plan-grid span,
.timeline span {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.curriculum-section {
  grid-template-columns: minmax(0, 0.74fr) minmax(560px, 1.26fr);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 22px;
}

.timeline h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.standard-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(184, 131, 84, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(234, 212, 189, 0.48), transparent 18rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(237, 245, 248, 0.88)),
    var(--surface-strong);
  box-shadow: var(--shadow-feature);
}

.standard-section .kicker,
.standard-section p,
.standard-section li {
  color: var(--ink-soft);
}

.standard-section h2 {
  margin: 16px 0 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.3;
}

.standard-section ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standard-section li {
  position: relative;
  padding-left: 22px;
  line-height: 1.86;
}

.standard-section li::before {
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--warm);
  content: "";
}

.outcome-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.9fr 0.9fr;
  gap: 16px;
}

.outcome-layout article {
  min-height: 310px;
  padding: 28px;
}

.outcome-layout .outcome-feature {
  min-height: 380px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.72), rgba(255, 255, 255, 0.92)),
    url("../../assets/cases/demo-assets/zhihui/course-laptop.jpg") center / cover;
}

.outcome-feature span,
.outcome-feature p {
  color: var(--ink-soft);
}

.plans-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.plans-section .kicker {
  justify-content: center;
}

.plan-grid article {
  min-height: 430px;
}

.plan-grid strong {
  display: block;
  margin: 18px 0;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.2;
}

.plan-grid ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.plan-grid li {
  position: relative;
  padding-left: 18px;
}

.plan-grid li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sage);
  content: "";
}

.plan-grid .button {
  margin-top: auto;
}

.featured-plan {
  border-color: rgba(49, 95, 117, 0.3) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 245, 248, 0.76)),
    var(--surface-strong) !important;
  box-shadow: var(--shadow-feature) !important;
}

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

.faq-list details {
  padding: 0;
}

.faq-list summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.55;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-500);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 22px 22px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--surface-strong);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
}

textarea {
  resize: vertical;
}

.form-result {
  min-height: 28px;
  margin: 0;
  color: var(--primary-500);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .hero,
  .method-section,
  .curriculum-section,
  .standard-section,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 84px;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }

  .intro-strip,
  .outcome-layout {
    grid-template-columns: 1fr;
  }

  .audience-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 10px;
    width: min(100% - 24px, 1180px);
    min-height: 62px;
    padding: 8px 8px 8px 12px;
  }

  .brand span {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    max-width: 164px;
    font-size: 0.92rem;
  }

  .mobile-nav,
  .hero,
  .intro-strip,
  .method-section,
  .audience-section,
  .curriculum-section,
  .standard-section,
  .outcomes-section,
  .plans-section,
  .faq-section,
  .contact-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    gap: 30px;
    padding: 64px 0 40px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.82rem, 7vw, 2.28rem);
    line-height: 1.28;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .hero-media figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 16px;
  }

  .intro-strip,
  .standard-section,
  .contact-form {
    padding: 22px;
  }

  .intro-facts {
    justify-content: flex-start;
  }

  .method-board,
  .audience-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .method-section,
  .audience-section,
  .curriculum-section,
  .outcomes-section,
  .plans-section,
  .faq-section,
  .contact-section {
    padding: 60px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .standard-section h2,
  .contact-copy h2 {
    font-size: clamp(1.65rem, 6.4vw, 2.22rem);
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .audience-grid article,
  .plan-grid article,
  .method-board article,
  .outcome-layout article {
    min-height: auto;
    padding: 22px;
  }
}
