:root {
  --ink: #18201d;
  --muted: #66716c;
  --paper: #f2f5ef;
  --panel: #fffef8;
  --line: #ccd8d0;
  --teal: #0d6f66;
  --teal-dark: #084b46;
  --clay: #b95d43;
  --moss: #5f7d48;
  --amber: #d39b3f;
  --shadow: 0 24px 80px rgba(24, 32, 29, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(24, 32, 29, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(24, 32, 29, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(24, 32, 29, 0.1);
  background: rgba(247, 244, 236, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(72px, 9vw, 112px) clamp(18px, 5vw, 72px) clamp(48px, 7vw, 82px);
  border-bottom: 1px solid var(--line);
}

.hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rhythm-lane {
  position: absolute;
  left: -8vw;
  right: -8vw;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(13, 111, 102, 0.28) 0 28px, transparent 28px 52px);
  transform: rotate(-8deg);
}

.lane-one {
  top: 22%;
}

.lane-two {
  bottom: 24%;
  background: repeating-linear-gradient(90deg, rgba(185, 93, 67, 0.24) 0 18px, transparent 18px 46px);
  transform: rotate(7deg);
}

.practice-panel {
  position: absolute;
  border: 1px solid rgba(24, 32, 29, 0.16);
  background: rgba(255, 253, 247, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel-session {
  right: clamp(18px, 7vw, 92px);
  top: 16%;
  width: min(380px, 38vw);
  padding: 22px;
}

.panel-report {
  right: clamp(72px, 12vw, 180px);
  bottom: 10%;
  width: min(320px, 32vw);
  padding: 20px;
}

.panel-topline,
.report-line,
.metric-strip,
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-topline span,
.report-line span,
.metric-strip span,
.preview-top span,
.eyebrow,
.placeholder-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breath-signal,
.preview-orbit {
  display: grid;
  width: 168px;
  height: 168px;
  margin: 26px auto;
  place-items: center;
  border: 1px solid rgba(13, 111, 102, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 111, 102, 0.2) 0 38%, rgba(13, 111, 102, 0.08) 39% 64%, transparent 65%);
  color: var(--teal-dark);
  font-weight: 900;
  animation: breathe 6s ease-in-out infinite alternate;
}

.wave-bars,
.chart-row {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 92px;
  margin: 18px 0;
}

.wave-bars i,
.chart-row span {
  flex: 1;
  min-width: 10px;
  background: var(--teal);
}

.wave-bars i:nth-child(1) { height: 24%; background: var(--moss); }
.wave-bars i:nth-child(2) { height: 44%; background: var(--moss); }
.wave-bars i:nth-child(3) { height: 84%; background: var(--teal); }
.wave-bars i:nth-child(4) { height: 62%; background: var(--teal); }
.wave-bars i:nth-child(5) { height: 36%; background: var(--clay); }
.wave-bars i:nth-child(6) { height: 22%; background: var(--clay); }

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin-top: 16px;
  font-size: clamp(42px, 6.4vw, 72px);
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: #37413d;
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 850;
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-secondary {
  background: rgba(255, 253, 247, 0.72);
  color: var(--ink);
}

.safety-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(300px, 1.28fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin-bottom: 34px;
}

.section-heading.narrow {
  display: block;
  max-width: 780px;
}

.section h2 {
  font-size: clamp(31px, 4.8vw, 62px);
}

.section p {
  color: #3d4742;
}

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

.problem-grid article,
.preview-pane,
.price-card,
.form-placeholder,
.faq-list details {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.7);
}

.problem-grid article {
  min-height: 210px;
  padding: 24px;
}

.problem-grid span {
  color: var(--clay);
  font-weight: 900;
}

.problem-grid h3 {
  margin: 36px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.product-section {
  background: linear-gradient(180deg, rgba(13, 111, 102, 0.08), rgba(247, 244, 236, 0));
}

.preview-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.preview-pane {
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 18px 60px rgba(24, 32, 29, 0.08);
}

.preview-metrics,
.report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-metrics div,
.report-summary div {
  border: 1px solid rgba(24, 32, 29, 0.12);
  padding: 14px;
  background: rgba(247, 244, 236, 0.72);
}

.preview-metrics small,
.report-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.preview-metrics strong,
.report-summary strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(18px, 2vw, 28px);
}

.chart-row {
  height: 180px;
  align-items: end;
}

.chart-row span {
  background: linear-gradient(180deg, var(--teal), var(--moss));
}

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

.price-card {
  min-height: 210px;
  padding: 22px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.price-card:hover,
.price-card.is-selected {
  transform: translateY(-3px);
  border-color: var(--teal);
  background: rgba(13, 111, 102, 0.08);
}

.price-card span,
.price-card small {
  display: block;
  color: var(--muted);
}

.price-card strong {
  display: block;
  margin: 22px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.04;
}

.validation-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.validation-section p,
.validation-section .eyebrow {
  color: rgba(247, 244, 236, 0.72);
}

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

.validation-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(247, 244, 236, 0.2);
}

.form-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.form-placeholder,
.form-embed-card {
  min-height: 380px;
  padding: 20px;
}

.form-placeholder {
  display: grid;
  place-items: center;
  border-style: dashed;
}

.form-embed-card {
  overflow: hidden;
}

.form-placeholder-inner {
  max-width: 440px;
  text-align: center;
}

.form-embed-card iframe {
  display: block;
  width: 100%;
  max-width: 760px;
  height: 5284px;
  margin: 0 auto;
  border: 0;
  background: var(--panel);
}

.form-fallback {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.form-fallback a {
  color: var(--teal-dark);
  font-weight: 800;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
}

@keyframes breathe {
  from {
    transform: scale(0.86);
  }
  to {
    transform: scale(1.04);
  }
}

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

  .breath-signal,
  .preview-orbit,
  .price-card {
    animation: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
  }

  .hero-scene {
    opacity: 0.36;
  }

  .panel-session {
    top: 14%;
    right: -42px;
    width: 310px;
  }

  .panel-report {
    right: 22px;
    bottom: 4%;
    width: 260px;
  }

  .section-heading,
  .preview-grid,
  .validation-section,
  .form-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .panel-session,
  .panel-report {
    display: none;
  }

  .problem-grid,
  .price-grid,
  .preview-metrics,
  .report-summary {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }

  .form-embed-card {
    padding: 8px;
  }

  .form-embed-card iframe {
    height: 6100px;
  }
}
