:root {
  --ink: #191714;
  --muted: #6d6259;
  --line: #e8ddcc;
  --paper: #fbf7ef;
  --cream: #fffaf1;
  --white: #ffffff;
  --gold: #ca9e40;
  --gold-soft: #f2dfb7;
  --brown: #4b3324;
  --brown-dark: #2f241d;
  --orange: #d8752d;
  --shadow: 0 18px 50px rgba(47, 36, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 241, 0.94);
  border-bottom: 1px solid rgba(232, 221, 204, 0.86);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  filter: drop-shadow(0 8px 14px rgba(75, 51, 36, 0.12));
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.menu a,
.menu summary {
  cursor: pointer;
  font-weight: 700;
}

.menu a:hover,
.menu summary:hover {
  color: var(--brown);
}

.menu .nav-cta {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--brown-dark);
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(202, 158, 64, 0.24);
}

.menu .nav-cta:hover {
  color: var(--white);
  background: var(--orange);
}

.has-submenu {
  position: relative;
}

.has-submenu summary {
  list-style: none;
}

.has-submenu summary::-webkit-details-marker {
  display: none;
}

.submenu {
  position: absolute;
  right: 0;
  top: 34px;
  display: grid;
  min-width: 190px;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.submenu a {
  padding: 8px 10px;
  border-radius: 6px;
}

.submenu a:hover {
  background: var(--paper);
}

.hero {
  padding: 64px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  align-items: center;
  gap: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brown);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.28;
}

.lead {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.25;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9em;
  line-height: 0.75;
  font-weight: 500;
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--brown);
  box-shadow: 0 10px 24px rgba(75, 51, 36, 0.24);
}

.button-primary:hover {
  background: var(--orange);
}

.button-soft {
  color: var(--brown-dark);
  background: rgba(202, 158, 64, 0.12);
  border-color: rgba(202, 158, 64, 0.28);
}

.button-gold {
  color: var(--brown-dark);
  background: var(--gold);
  box-shadow: 0 12px 26px rgba(202, 158, 64, 0.28);
}

.button-gold:hover {
  color: var(--white);
  background: var(--orange);
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--cream);
}

.hero-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  align-items: start;
}

.note-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--brown);
  font-weight: 900;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--white);
}

.section-head {
  display: grid;
  gap: 12px;
  align-items: start;
  margin-bottom: 28px;
}

.section-head h2 {
  width: min(760px, 100%);
  margin-bottom: 0;
}

.section-head p {
  width: min(760px, 100%);
  margin-bottom: 0;
  color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card-image {
  overflow: hidden;
  padding: 0;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--cream);
}

.card-image-body {
  padding: 24px;
}

.card.tinted {
  background: var(--cream);
}

.card p {
  color: var(--muted);
}

.emoji {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 8px;
  background: rgba(202, 158, 64, 0.16);
  font-size: 23px;
}

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

.icon-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.icon-item span {
  font-size: 24px;
  line-height: 1;
}

.icon-item strong {
  display: block;
  margin-bottom: 4px;
}

.icon-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.support-heading {
  margin: 30px 0 16px;
  color: var(--brown-dark);
  font-size: clamp(24px, 3vw, 32px);
}

.support-list {
  padding-top: 2px;
}

.case-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.case-kpi {
  padding: 18px;
  border: 1px solid rgba(202, 158, 64, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(202, 158, 64, 0.14), var(--white));
}

.case-kpi strong {
  display: block;
  color: var(--brown-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.case-kpi span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

.case-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(47, 36, 29, 0.07);
}

.case-topline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.case-topline .emoji {
  margin-bottom: 0;
}

.case-label {
  margin-bottom: 6px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.case-metrics div {
  padding: 14px;
  border-radius: 8px;
  background: var(--cream);
}

.case-metrics span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.case-metrics strong {
  display: block;
  color: var(--brown-dark);
  font-size: 20px;
  line-height: 1.2;
}

.compact-table {
  box-shadow: none;
}

.compact-table .info-table {
  min-width: 0;
}

.compact-table .info-table td {
  padding: 13px;
}

.compact-table .info-table td:first-child {
  width: 120px;
}

.case-notice {
  margin-top: 18px;
}

.case-study-list {
  display: grid;
  gap: 34px;
}

.case-study {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(47, 36, 29, 0.08);
}

.case-study-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.case-study-hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--cream);
}

.case-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 22px rgba(47, 36, 29, 0.12);
  font-size: 13px;
  font-weight: 900;
}

.case-study-body {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.case-study-body h3 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.case-study .case-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.case-analysis div {
  padding: 18px;
  border: 1px solid rgba(202, 158, 64, 0.22);
  border-radius: 8px;
  background: var(--cream);
}

.case-analysis strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brown-dark);
}

.case-analysis p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.case-gallery-block {
  display: grid;
  gap: 14px;
}

.case-gallery-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.gallery-heading h4 {
  margin: 0;
  color: var(--brown-dark);
  font-size: 20px;
}

.gallery-heading span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brown);
  background: rgba(202, 158, 64, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.case-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background: var(--cream);
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: start;
  background: var(--cream);
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--brown-dark);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(47, 36, 29, 0.18);
  cursor: pointer;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-control:hover {
  color: var(--white);
  background: var(--gold);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

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

.price-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--brown-dark);
  background: var(--gold-soft);
  font-weight: 900;
  font-size: 13px;
}

.course-outline {
  display: grid;
  gap: 14px;
}

.course-module {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(47, 36, 29, 0.06);
}

.course-module summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.course-module summary::-webkit-details-marker {
  display: none;
}

.course-module summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.course-module[open] summary::after {
  content: "-";
}

.course-module summary {
  position: relative;
  padding-right: 58px;
}

.module-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  color: var(--brown-dark);
  background: var(--gold-soft);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.course-module strong {
  display: block;
  color: var(--brown-dark);
  font-size: 22px;
  line-height: 1.25;
}

.course-module small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.lesson-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0 20px 22px 98px;
  color: #3a312a;
}

.lesson-list li {
  padding-left: 4px;
}

.outline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(202, 158, 64, 0.34);
  border-radius: 8px;
  background: var(--cream);
}

.outline-cta p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(47, 36, 29, 0.08);
}

.pricing-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #fff8e9, var(--white));
  box-shadow: 0 22px 48px rgba(202, 158, 64, 0.18);
}

.recommended {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brown);
  font-size: 13px;
  font-weight: 900;
}

.limited-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brown-dark);
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.price-box {
  display: grid;
  gap: 2px;
  margin: 20px 0 6px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(202, 158, 64, 0.12);
}

.old-price {
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
}

.price-box strong {
  color: var(--brown-dark);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
}

.price-note {
  color: var(--brown);
  font-weight: 900;
  font-size: 14px;
}

.pricing-card .checks {
  margin-bottom: 14px;
}

.plan-features {
  display: grid;
  gap: 11px;
  margin: 18px 0 16px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #332a23;
  line-height: 1.45;
}

.plan-features li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 900;
}

.plan-features .feature-muted {
  color: #9a938c;
}

.plan-features .feature-muted::before {
  content: "×";
  color: #a7a19a;
}

.plan-features .feature-extra {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--brown-dark);
  background: rgba(202, 158, 64, 0.13);
}

.plan-features .feature-extra::before {
  color: var(--orange);
}

.feature-extra strong {
  color: var(--brown-dark);
  font-weight: 900;
}

.feature-extra span {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--brown-dark);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.pricing-card .button {
  margin-top: auto;
  color: var(--brown-dark);
  background: var(--gold);
  box-shadow: 0 12px 26px rgba(202, 158, 64, 0.28);
}

.pricing-card .button:hover {
  color: var(--white);
  background: var(--orange);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--brown-dark);
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

body.checkout-page {
  min-height: 100vh;
  background: var(--white);
}

.checkout-brandbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.checkout-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brown-dark);
  font-weight: 900;
}

.checkout-brand .brand-mark {
  width: 48px;
  height: 48px;
}

.checkout-help {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.checkout-help:hover {
  color: var(--brown);
}

.checkout-shell {
  display: grid;
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, 1fr) minmax(430px, 520px);
}

.checkout-order {
  display: flex;
  justify-content: flex-end;
  padding: clamp(38px, 6vw, 76px) clamp(24px, 6vw, 82px);
  background: linear-gradient(180deg, var(--cream), var(--paper));
}

.checkout-order-inner {
  width: min(100%, 560px);
}

.checkout-order h1 {
  margin: 14px 0 12px;
  color: var(--brown-dark);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
}

.checkout-description {
  max-width: 540px;
  color: var(--muted);
}

.checkout-price {
  display: grid;
  gap: 2px;
  margin: 28px 0;
}

.checkout-price strong {
  color: var(--brown-dark);
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
}

.checkout-line-items {
  display: grid;
  gap: 18px;
  margin: 34px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(75, 51, 36, 0.14);
  border-bottom: 1px solid rgba(75, 51, 36, 0.14);
}

.checkout-line-item,
.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.checkout-line-item {
  color: var(--muted);
}

.checkout-line-price,
.checkout-total strong {
  white-space: nowrap;
  color: var(--brown-dark);
}

.checkout-total {
  color: var(--brown-dark);
  font-weight: 900;
}

.checkout-total strong {
  font-size: 30px;
}

.checkout-includes {
  margin-top: 30px;
}

.checkout-includes h2 {
  margin-bottom: 12px;
  color: var(--brown-dark);
  font-size: 20px;
}

.checkout-payment {
  padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 52px);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.checkout-payment-card {
  position: sticky;
  top: 28px;
  width: min(100%, 460px);
}

.checkout-payment-card .button {
  width: 100%;
  margin-top: 14px;
}

.checkout-payment-card .button-primary {
  color: var(--brown-dark);
  background: var(--gold);
  box-shadow: 0 12px 26px rgba(202, 158, 64, 0.28);
}

.checkout-payment-card .button-primary:hover {
  color: var(--white);
  background: var(--orange);
}

.checkout-payment-head {
  margin-bottom: 20px;
}

.checkout-payment-head h2 {
  margin-bottom: 8px;
  color: var(--brown-dark);
  font-size: 30px;
}

.checkout-payment-head p {
  margin: 0;
  color: var(--muted);
}

.checkout-secure {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--brown);
  background: rgba(202, 158, 64, 0.16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.payment-selector {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.payment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(202, 158, 64, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.payment-tab {
  flex: 1 1 120px;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  color: var(--brown);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.payment-tab.active {
  color: var(--brown-dark);
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(202, 158, 64, 0.22);
}

.payment-tab:focus-visible {
  outline: 3px solid rgba(202, 158, 64, 0.36);
  outline-offset: 2px;
}

.payment-option {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(202, 158, 64, 0.28);
  border-radius: 8px;
  background: var(--white);
}

.payment-option h3 {
  margin: 0;
  color: var(--brown-dark);
  font-size: 18px;
}

.payment-option img {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 8px;
}

.payment-details {
  display: grid;
  gap: 4px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.payment-details strong {
  color: var(--brown-dark);
  font-size: 24px;
}

.payment-disclaimer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.checkout-security-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.bonus {
  border-color: rgba(202, 158, 64, 0.48);
  background: linear-gradient(180deg, var(--cream), #fff);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brown);
  background: rgba(202, 158, 64, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #3a312a;
}

.checks li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 900;
}

.card-image-body .checks + .button {
  margin-top: 22px;
}

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

.credential {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.credential strong {
  display: block;
  color: var(--brown-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.credential span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.cv-panel {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(202, 158, 64, 0.36);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8e6, var(--white));
  box-shadow: 0 18px 42px rgba(47, 36, 29, 0.08);
}

.cv-sidebar {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px 18px;
  color: var(--brown-dark);
  background: linear-gradient(180deg, var(--gold-soft), #d8ad5c);
  text-align: center;
}

.cv-sidebar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(75, 51, 36, 0.14);
  object-fit: contain;
}

.cv-sidebar strong {
  max-width: 128px;
  font-size: 17px;
  line-height: 1.35;
  text-align: center;
}

.cv-content {
  padding: clamp(22px, 3vw, 32px);
}

.cv-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cv-list li {
  position: relative;
  padding-left: 30px;
}

.cv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brown);
}

.cv-list strong {
  display: block;
  color: var(--brown-dark);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.25;
}

.cv-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.one-stop-service {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 26px;
  align-items: start;
}

.service-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-visual img {
  width: 100%;
  height: auto;
}

.service-flow {
  display: grid;
  gap: 10px;
  max-height: 620px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-color: var(--gold) rgba(202, 158, 64, 0.14);
}

.service-step {
  border: 1px solid rgba(202, 158, 64, 0.28);
  border-radius: 8px;
  background: var(--white);
}

.service-step[open] {
  border-color: rgba(202, 158, 64, 0.58);
  background: linear-gradient(180deg, #fff8e9, var(--white));
  box-shadow: 0 12px 24px rgba(47, 36, 29, 0.06);
}

.service-step summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 14px 16px;
  list-style: none;
}

.service-step summary::-webkit-details-marker {
  display: none;
}

.service-step summary::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.service-step[open] summary::after {
  content: "−";
}

.service-step span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--brown-dark);
  background: var(--gold);
  font-weight: 900;
}

.service-step strong {
  color: var(--brown-dark);
  font-size: 18px;
}

.service-step p {
  margin: 0;
  padding: 0 16px 16px 66px;
  color: var(--muted);
  font-size: 15px;
}

.service-note {
  margin-top: 20px;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 54px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--gold);
  font-weight: 900;
}

.page-hero {
  padding: 58px 0 42px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream), var(--paper));
}

.page-hero .lead {
  margin-bottom: 0;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2 {
  margin-top: 26px;
  font-size: 24px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  color: var(--muted);
}

.guide-hero {
  padding: 52px 0 42px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream), var(--paper));
}

.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.chapter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.chapter-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(202, 158, 64, 0.32);
  border-radius: 999px;
  background: rgba(202, 158, 64, 0.12);
}

.guide-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.guide-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.toc-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.toc-card strong {
  color: var(--brown-dark);
}

.toc-card a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  font-weight: 800;
}

.toc-card a:hover {
  color: var(--brown-dark);
  background: var(--gold-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(47, 36, 29, 0.06);
}

.info-table,
.matrix-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.info-table th,
.info-table td,
.matrix-table th,
.matrix-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th,
.matrix-table th {
  color: var(--brown-dark);
  background: var(--cream);
  font-weight: 900;
}

.info-table tr:last-child td,
.matrix-table tr:last-child td {
  border-bottom: 0;
}

.matrix-table td:first-child,
.info-table td:first-child {
  color: var(--brown);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 16px;
  counter-reset: timeline;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline-item::before {
  counter-increment: timeline;
  content: counter(timeline, decimal-leading-zero);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--brown);
  font-weight: 900;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.chapter-link {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
}

.chapter-link span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.guide-cta {
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brown-dark), var(--brown) 58%, #8f5b28);
}

.guide-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.guide-cta .actions {
  margin-top: 18px;
}

.guide-cta .button-primary {
  color: var(--brown-dark);
  background: var(--gold);
}

.guide-cta .button-soft {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.project-join-section {
  padding-top: 0;
  background: var(--paper);
}

.project-join-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 46px;
  border: 1px solid rgba(202, 158, 64, 0.38);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff7e6, var(--white));
  box-shadow: 0 18px 42px rgba(47, 36, 29, 0.08);
  text-align: center;
}

.project-join-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid rgba(202, 158, 64, 0.34);
  border-radius: 999px;
  color: var(--brown);
  background: rgba(202, 158, 64, 0.12);
  font-weight: 900;
}

.project-join-panel h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.project-join-panel > p {
  max-width: 780px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 18px;
}

.project-join-panel .button {
  min-width: min(100%, 360px);
  font-size: 18px;
}

.lazy-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin-top: 14px;
  text-align: left;
}

.lazy-points div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.lazy-points span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  background: rgba(202, 158, 64, 0.16);
  font-size: 22px;
}

.lazy-points strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brown-dark);
}

.lazy-points p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.project-process {
  width: 100%;
  margin-top: 22px;
}

.process-visual {
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(47, 36, 29, 0.08);
}

.process-visual img {
  width: 100%;
  height: auto;
}

.cta {
  padding: 56px 0 74px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brown-dark), var(--brown) 58%, #8f5b28);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta .button {
  color: var(--brown-dark);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--cream);
  color: var(--muted);
}

.comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(47, 36, 29, 0.08);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1.18fr;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-cell {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.comparison-cell:last-child {
  border-right: 0;
}

.comparison-head {
  color: var(--brown-dark);
  background: var(--cream);
  font-weight: 900;
}

.comparison-topic {
  color: var(--brown);
  font-weight: 900;
}

.comparison-feather {
  background: linear-gradient(180deg, rgba(242, 223, 183, 0.42), rgba(255, 255, 255, 0.94));
}

.comparison-feather strong {
  color: var(--brown-dark);
}

footer {
  padding: 26px 0;
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--brown-dark);
}

.social-link svg,
.social-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link {
  color: var(--brown-dark) !important;
}

.social-button {
  margin-top: 12px;
  width: fit-content;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .menu {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 14px;
  }

  .submenu {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }

  .hero-grid,
  .guide-hero-grid,
  .section-head,
  .cta-inner {
    grid-template-columns: 1fr;
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .credential-grid,
  .cv-panel,
  .one-stop-service,
  .case-highlight,
  .case-grid,
  .case-study .case-metrics,
  .case-analysis,
  .lazy-points {
    grid-template-columns: 1fr;
  }

  .icon-list,
  .price-path,
  .pricing-grid,
  .checkout-summary {
    grid-template-columns: 1fr;
  }

  .checkout-brandbar {
    flex-wrap: wrap;
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .checkout-order {
    justify-content: flex-start;
    padding: 34px 22px;
  }

  .checkout-payment {
    padding: 32px 22px 44px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .checkout-payment-card {
    position: static;
    width: 100%;
  }

  .lesson-list {
    grid-template-columns: 1fr;
    padding-left: 78px;
  }

  .checkout-panel {
    position: static;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .comparison-cell:last-child {
    border-bottom: 0;
  }

  .comparison-row {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .comparison-row:first-child {
    display: none;
  }

  .comparison {
    display: grid;
    gap: 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .chapter-nav {
    grid-template-columns: 1fr;
  }

  .cv-sidebar {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .cv-sidebar strong {
    max-width: none;
    text-align: left;
  }

  .cv-sidebar img {
    width: 72px;
    height: 72px;
  }

  .cv-list {
    grid-template-columns: 1fr;
  }

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

  .case-gallery-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    font-size: 15px;
    gap: 8px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

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

  .course-module summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-right: 48px;
  }

  .module-number {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .lesson-list {
    padding: 0 18px 20px 42px;
  }

  .outline-cta .button {
    width: 100%;
  }

  .project-join-panel {
    padding: 28px 18px;
  }

  .project-process {
    gap: 16px;
  }

  .process-visual {
    padding: 4px;
  }

  .project-join-panel .button {
    width: 100%;
    font-size: 16px;
  }

  .has-submenu {
    grid-column: 1 / -1;
  }

  .menu .nav-cta {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .case-study-body {
    padding: 18px;
  }

  .cv-content {
    padding: 22px;
  }

  .cv-sidebar {
    padding: 22px;
  }

  .cv-list strong {
    font-size: 20px;
  }

  .service-step {
    width: 100%;
  }

  .service-step p {
    padding-left: 16px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-gallery-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .gallery-heading h4 {
    font-size: 16px;
    line-height: 1.25;
  }

  .gallery-heading span {
    padding: 4px 8px;
    font-size: 12px;
  }

  .gallery-control {
    width: 36px;
    height: 36px;
    font-size: 25px;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .section,
  .hero,
  .page-hero {
    padding: 46px 0;
  }

  .footer-row {
    display: grid;
  }
}
