:root {
  color-scheme: light dark;
  --bg: #f3f4f1;
  --surface: #ffffff;
  --surface-alt: #eceee8;
  --text: #16181c;
  --text-secondary: #6b7078;
  --text-muted: #8a9098;
  --line: rgba(20, 22, 26, 0.08);
  --green: #91b65b;
  --green-strong: #5b8a18;
  --green-deep: #3f5a0c;
  --green-soft: #e8f3d0;
  --ink: #16181c;
  --shadow: 0 18px 46px rgba(20, 22, 26, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 6%, rgba(145, 182, 91, 0.16), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC",
    "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 244, 241, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 19px;
  box-shadow: 0 8px 20px rgba(22, 24, 28, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--text);
}

.nav-contact {
  background: var(--ink) !important;
  color: #fff !important;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 800;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: 64px;
  padding: 84px 0 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 7px 12px;
  border: 1px solid rgba(91, 138, 24, 0.18);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-strong);
  content: "";
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.hero-copy > p {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(20, 22, 26, 0.04);
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(20, 22, 26, 0.09);
}

.hero-note {
  margin: 16px 0 0 !important;
  color: var(--text-muted) !important;
  font-size: 13px !important;
}

.product-scene {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.product-scene::before {
  position: absolute;
  inset: 7% 2% 4% 6%;
  z-index: -1;
  border-radius: 46% 54% 40% 60%;
  background: rgba(232, 243, 208, 0.92);
  content: "";
  transform: rotate(-4deg);
}

.ui-card {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.schedule-card {
  top: 18px;
  right: 0;
  width: 84%;
  padding: 22px;
  transform: rotate(2deg);
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-heading {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.session-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.session-row:first-of-type {
  border-top: 0;
}

.session-time {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.session-name {
  font-weight: 800;
}

.session-meta {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.status-dot {
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(91, 138, 24, 0.18);
}

.workout-card {
  right: 7%;
  bottom: 6px;
  width: 72%;
  padding: 22px;
  transform: rotate(-2deg);
}

.set-row {
  display: grid;
  grid-template-columns: 34px 1fr 62px 28px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.set-index {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-alt);
  color: var(--text);
}

.set-check {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
}

.student-chip {
  top: 218px;
  left: 0;
  width: 210px;
  padding: 16px;
  transform: rotate(-4deg);
}

.student-chip-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.student-chip strong,
.student-chip span {
  display: block;
}

.student-chip span {
  color: var(--text-muted);
  font-size: 12px;
}

.section {
  padding: 100px 0;
}

.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 18px;
}

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

.feature-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(20, 22, 26, 0.04);
}

.feature-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 48px;
  border-radius: 34px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 22px 58px rgba(20, 22, 26, 0.18);
}

.privacy-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.privacy-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.privacy-points {
  display: grid;
  gap: 12px;
}

.privacy-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.privacy-point-badge {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.privacy-point strong,
.privacy-point span {
  display: block;
}

.privacy-point span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.cta {
  padding: 100px 0 110px;
  text-align: center;
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.06em;
}

.cta p {
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: 18px;
}

.site-footer {
  padding: 38px 0 46px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.footer-brand p {
  max-width: 430px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-meta {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 12px;
}

.legal-hero {
  padding: 78px 0 46px;
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 68px);
}

.legal-hero p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 18px;
}

.document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 54px;
  align-items: start;
  padding: 20px 0 110px;
}

.document-toc {
  position: sticky;
  top: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.document-toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.document-toc a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
}

.document-toc a:hover,
.document-toc a:focus-visible {
  color: var(--green-strong);
}

.document {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(20, 22, 26, 0.045);
}

.document section + section {
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.document h2 {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.document h3 {
  margin: 26px 0 8px;
  font-size: 18px;
}

.document p,
.document li {
  color: var(--text-secondary);
}

.document ul,
.document ol {
  margin: 10px 0 0;
  padding-left: 1.4em;
}

.document li + li {
  margin-top: 9px;
}

.document a {
  color: var(--green-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

.document-note {
  margin-bottom: 34px;
  padding: 16px 18px;
  border: 1px solid rgba(91, 138, 24, 0.16);
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-deep) !important;
  font-size: 14px;
}

.data-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 13px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface-alt);
  color: var(--text);
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 20px 0 110px;
}

.support-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20, 22, 26, 0.045);
}

.support-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.support-card p {
  color: var(--text-secondary);
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--green-deep);
  font-size: clamp(19px, 3vw, 25px);
  font-weight: 900;
  text-decoration: none;
  word-break: break-word;
}

.faq-list {
  margin-top: 22px;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 17px 0;
  cursor: pointer;
  font-weight: 800;
}

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

.steps {
  counter-reset: steps;
  list-style: none;
  padding-left: 0 !important;
}

.steps li {
  position: relative;
  min-height: 38px;
  padding: 4px 0 18px 48px;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green-deep);
  content: counter(steps);
  font-size: 13px;
  font-weight: 900;
}

.not-found {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
}

.not-found h1 {
  margin-bottom: 10px;
}

.not-found p {
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .menu-button {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 54px;
    padding-top: 66px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-scene {
    width: min(100%, 600px);
    margin: 0 auto;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .document-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .document-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 16px;
  }

  .document-toc strong {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .nav-shell,
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .hero {
    padding: 52px 0 60px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .hero-copy > p {
    font-size: 17px;
  }

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

  .button {
    width: 100%;
  }

  .product-scene {
    min-height: 410px;
  }

  .schedule-card {
    width: 92%;
    padding: 18px;
  }

  .workout-card {
    right: 2%;
    width: 82%;
    padding: 18px;
  }

  .student-chip {
    top: 190px;
    width: 180px;
  }

  .session-row {
    grid-template-columns: 46px 1fr auto;
    gap: 8px;
  }

  .section {
    padding: 72px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .privacy-panel {
    padding: 30px 22px;
    border-radius: 26px;
  }

  .cta {
    padding: 76px 0 84px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .document {
    padding: 26px 20px;
  }

  .legal-hero {
    padding-top: 54px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    padding: 26px 20px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f13;
    --surface: #16181e;
    --surface-alt: #22252d;
    --text: #f4f5f7;
    --text-secondary: rgba(244, 245, 247, 0.66);
    --text-muted: rgba(244, 245, 247, 0.46);
    --line: rgba(255, 255, 255, 0.08);
    --green: #a6c86a;
    --green-strong: #a6c86a;
    --green-deep: #b8d88a;
    --green-soft: rgba(166, 200, 106, 0.16);
    --ink: #22252d;
    --shadow: none;
  }

  body {
    background:
      radial-gradient(circle at 86% 6%, rgba(166, 200, 106, 0.09), transparent 25rem),
      var(--bg);
  }

  .site-header {
    background: rgba(14, 15, 19, 0.88);
  }

  .brand-mark,
  .nav-contact,
  .avatar,
  .privacy-panel {
    background: #22252d !important;
  }

  .ui-card {
    background: rgba(22, 24, 30, 0.97);
  }

  .product-scene::before {
    background: rgba(166, 200, 106, 0.1);
  }

  .section-soft {
    background: rgba(255, 255, 255, 0.018);
  }

  .document-toc {
    background: rgba(22, 24, 30, 0.72);
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
