@import url("/shared/theme.css?v=1");
/* 共用 tokens 見 /shared/theme.css */
:root {
  --shell: 1180px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(203, 93, 45, 0.12), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(175, 133, 84, 0.14), transparent 24%),
    linear-gradient(180deg, #f1e6d8 0%, #f8f2ea 48%, #f0e5d6 100%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 26, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 26, 22, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 95%);
}

/* img、a 重設見 /shared/theme.css */

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 32px), var(--shell));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(247, 239, 228, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(20, 16, 12, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #291f1a 0%, #5f3a26 100%);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small,
.eyebrow,
.case-kicker,
.small-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--ink);
}

/* .button 共用元件見 /shared/theme.css */

section {
  padding: 90px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 110px);
}

.hero-copy h1,
.section-heading h2,
.course-card h3,
.cta-copy h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  line-height: 0.96;
  font-weight: 400;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-description,
.story-card-copy p,
.story-note p,
.pain-card p,
.case-copy p,
.case-copy li,
.demo-step p,
.proof-card p,
.proof-card li,
.course-card p,
.agenda-card p,
.cta-copy p,
.cta-box span,
.cta-box small {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-description {
  max-width: 42rem;
  margin-top: 22px;
  font-size: 1.05rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span {
  padding: 12px 16px;
  border: 1px solid rgba(30, 26, 22, 0.09);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-photo-card {
  position: absolute;
  inset: 0 32px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-photo-card img {
  height: 100%;
  object-fit: cover;
}

.hero-stat-card {
  position: absolute;
  right: 0;
  bottom: 32px;
  width: 260px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(28, 23, 19, 0.92);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(16, 12, 9, 0.22);
}

.hero-stat-card p,
.hero-stat-card span {
  color: rgba(255, 248, 240, 0.74);
}

.hero-stat-card strong {
  display: block;
  margin: 8px 0;
  color: #ffd7bc;
  font-size: 2rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.story-card,
.story-note,
.pain-card,
.case-card,
.demo-step,
.proof-card,
.course-card,
.agenda-card,
.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 245, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.story-card {
  overflow: hidden;
}

.story-card img {
  height: 410px;
  object-fit: cover;
}

.story-card-copy {
  padding: 24px 26px 28px;
}

.story-card-copy h3,
.story-note h3,
.pain-card h3,
.case-copy h3,
.demo-step h3,
.proof-card h3,
.agenda-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.story-stack {
  display: grid;
  gap: 18px;
}

.story-note {
  padding: 24px;
}

.story-note.accent {
  background: linear-gradient(135deg, rgba(34, 28, 23, 0.94), rgba(63, 44, 30, 0.92));
  color: var(--white);
}

.story-note.accent p,
.story-note.accent h3 {
  color: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pain-card {
  padding: 26px;
}

.pain-card span,
.demo-step span,
.agenda-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.quote-band p {
  margin: 0;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(33, 27, 22, 0.94);
  color: var(--white);
  line-height: 1.6;
}

.case-list {
  display: grid;
  gap: 24px;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  padding: 22px;
}

.case-card.reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.case-card.reverse .case-copy {
  order: 2;
}

.case-card.reverse .case-gallery {
  order: 1;
}

.case-copy {
  padding: 8px 4px;
}

.case-copy ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.case-result {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(203, 93, 45, 0.08), rgba(175, 133, 84, 0.08));
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
}

.case-gallery {
  display: grid;
  gap: 12px;
}

.case-gallery img,
.demo-step img {
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single {
  grid-template-columns: 1fr;
}

.three-stack {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(260px, auto) minmax(180px, auto);
}

.mini-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-step {
  overflow: hidden;
}

.demo-step img {
  height: 230px;
}

.demo-step div {
  padding: 20px 22px 24px;
}

.proof-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.proof-card {
  padding: 26px;
}

.proof-card.accent {
  background: linear-gradient(135deg, rgba(203, 93, 45, 0.18), rgba(255, 252, 247, 0.82));
}

/* — About / 村長是誰 — */
.about {
  padding-top: 48px;
  padding-bottom: 60px;
}

.about-layout {
  display: grid;
  gap: 28px;
}

.about-intro h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}

.about-subtitle {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 245, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.about-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-card.accent {
  background: linear-gradient(135deg, rgba(203, 93, 45, 0.14), rgba(255, 252, 247, 0.85));
  border-color: rgba(203, 93, 45, 0.18);
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
}

.course-card,
.agenda-card {
  padding: 28px;
}

.course-card.dark {
  background: linear-gradient(180deg, rgba(26, 23, 19, 0.98), rgba(41, 33, 27, 0.96));
  color: var(--white);
}

.course-card.dark p,
.course-card.dark .small-label {
  color: rgba(255, 248, 240, 0.78);
}

.course-card h3 {
  font-size: 2.6rem;
}

.course-price {
  display: grid;
  gap: 6px;
  margin: 22px 0;
}

.course-price strong {
  color: #ffd7bc;
  font-size: 1.8rem;
}

.course-price span {
  color: rgba(255, 248, 240, 0.72);
}

.course-agenda {
  display: grid;
  gap: 18px;
}

/* — Course: Why / Fit — */
.course-why {
  margin-top: 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 245, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.why-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.course-fit {
  margin-top: 24px;
}

.fit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fit-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.fit-card h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.fit-card ul {
  margin: 0;
  padding-left: 20px;
}

.fit-card li {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.fit-card.yes {
  border: 1px solid rgba(203, 93, 45, 0.18);
  background: linear-gradient(135deg, rgba(203, 93, 45, 0.08), rgba(255, 252, 247, 0.9));
}

.fit-card.no {
  border: 1px solid rgba(30, 26, 22, 0.08);
  background: rgba(255, 251, 245, 0.72);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  padding: 30px;
  background: linear-gradient(140deg, rgba(30, 24, 19, 0.98), rgba(62, 43, 29, 0.96));
}

.cta-copy h2,
.cta-copy p,
.cta-copy .eyebrow {
  color: var(--white);
}

.cta-box {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 244, 0.9);
}

.cta-box .form-title {
  margin: 0 0 20px;
  font-size: 1.25rem;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(30, 26, 22, 0.14);
  border-radius: 12px;
  background: rgba(255, 252, 248, 0.9);
  font-family: "Noto Sans TC", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 180ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(203, 93, 45, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-soft);
  opacity: 0.6;
}

.form-field textarea {
  resize: vertical;
  min-height: 56px;
}

.signup-form .button {
  margin-top: 4px;
  cursor: pointer;
  border: none;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1rem;
}

.signup-form small {
  display: block;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.form-success {
  text-align: center;
  padding: 32px 16px;
}

.form-success h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1.4rem;
}

.form-success p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .site-nav {
    display: none;
  }

  .hero,
  .story-layout,
  .case-card,
  .case-card.reverse,
  .course-layout,
  .cta-panel,
  .proof-layout {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card.reverse .case-copy,
  .case-card.reverse .case-gallery {
    order: initial;
  }

  .hero-visual {
    min-height: 540px;
  }

  .quote-band,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .fit-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .shell,
  .site-header {
    width: min(calc(100% - 20px), var(--shell));
  }

  .site-header {
    padding: 14px;
  }

  .brand-copy small {
    display: none;
  }

  .button.ghost {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-photo-card {
    inset: 0 0 76px 0;
  }

  .hero-stat-card {
    right: 18px;
    left: 18px;
    bottom: 0;
    width: auto;
  }

  .about-grid,
  .pain-grid,
  .why-grid,
  .two-up,
  .mini-row {
    grid-template-columns: 1fr;
  }

  .case-card,
  .story-note,
  .pain-card,
  .proof-card,
  .course-card,
  .agenda-card,
  .cta-panel,
  .cta-box {
    padding-left: 18px;
    padding-right: 18px;
  }
}
