:root {
  --ink: #111827;
  --muted: #5b6577;
  --line: #e5e7eb;
  --paper: #fffdf8;
  --soft: #f7f3ea;
  --accent: #f25c3b;
  --accent-dark: #c63f26;
  --green: #2e7d5b;
  --shadow: 0 18px 44px rgba(31, 41, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 156px;
  height: 34px;
  overflow: hidden;
  color: transparent;
  background: url("./assets/dong-claw-logo.svg") center / contain no-repeat;
  border-radius: 8px;
  font-size: 0;
}

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

.nav a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.header-home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(229, 231, 235, 0.96);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
  font-weight: 750;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-cta,
.button.primary {
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(242, 92, 59, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.button.ghost {
  min-height: 40px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.button:hover,
.header-home-cta:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.header-home-cta:hover {
  color: var(--accent-dark);
  border-color: rgba(242, 92, 59, 0.35);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.1);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(20px, 5vw, 72px) 60px;
  color: white;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 18, 28, 0.88) 0%, rgba(12, 18, 28, 0.68) 38%, rgba(12, 18, 28, 0.18) 78%),
    linear-gradient(0deg, rgba(12, 18, 28, 0.28), rgba(12, 18, 28, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 850;
}

.hero .eyebrow {
  color: #ffd0c4;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 30px;
  font-weight: 850;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

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

.section-heading h2,
.pricing-copy h2,
.proof-panel h2 {
  max-width: 820px;
}

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

.pain-grid article,
.feature-grid article,
.timeline article,
.price-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.pain-grid article,
.feature-grid article {
  padding: 26px;
}

.pain-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--accent);
  font-weight: 850;
}

.pain-grid p,
.feature-grid p,
.timeline p,
.pricing-copy p,
.note,
details p {
  color: var(--muted);
}

.route,
.proof,
.faq {
  background: var(--soft);
}

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

.timeline article {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.timeline article::before {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--green);
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
}

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

.proof-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  color: white;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-panel .eyebrow {
  color: #ffd0c4;
}

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

.check-list li {
  padding: 18px 18px 18px 48px;
  position: relative;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  color: #7ee0ae;
  font-weight: 900;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: center;
}

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

.price-card {
  padding: 30px;
}

.badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--accent-dark);
  background: #ffe7df;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.price {
  margin-bottom: 10px;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
}

.full {
  width: 100%;
  margin: 14px 0 12px;
}

.hidden {
  display: none !important;
}

.price-card small {
  display: block;
  color: #7b8494;
  text-align: center;
}

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

details {
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.checkin-body {
  min-height: 100vh;
  background: #f5f6f8;
}

.checkin-topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}

.checkin-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 56px;
}

.profile-card,
.checkin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.profile-card {
  align-self: start;
  padding: 32px 28px;
}

.student-avatar {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  color: white;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #1f2937, #334155);
  border-radius: 999px;
  font-size: 42px;
  font-weight: 900;
}

.profile-card h1 {
  margin-bottom: 4px;
  text-align: center;
  font-size: 24px;
  line-height: 1.2;
}

.student-role {
  margin-bottom: 28px;
  color: var(--muted);
  text-align: center;
}

.profile-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.profile-section h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.profile-section dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-section div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.profile-section dt {
  font-weight: 750;
}

.profile-section dd {
  margin: 0;
  color: #737985;
  text-align: right;
}

.streak-card {
  padding: 18px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
}

.streak-card p,
.streak-card span {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.streak-card strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 34px;
  line-height: 1.1;
}

.checkin-panel {
  overflow: hidden;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-title h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.breadcrumb {
  margin-bottom: 8px;
  color: #8b91a0;
  font-weight: 750;
}

.panel-title time {
  white-space: nowrap;
  font-size: 22px;
  font-weight: 900;
}

.checkin-form {
  display: grid;
  gap: 28px;
  padding: 28px 32px 34px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid.two {
  grid-template-columns: 1fr 1.4fr;
}

.field {
  display: grid;
  gap: 10px;
}

.field > span,
.upload-heading span,
.metric-box legend {
  color: #1f2937;
  font-size: 18px;
  font-weight: 850;
}

.field b {
  color: #ef4444;
}

.field textarea,
.field input,
.field select,
.metric-box input {
  width: 100%;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  background: white;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  min-height: 92px;
  padding: 14px 16px;
  resize: vertical;
}

.field input,
.field select,
.metric-box input {
  min-height: 48px;
  padding: 0 14px;
}

.field textarea:focus,
.field input:focus,
.field select:focus,
.metric-box input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.field small {
  color: #8b91a0;
  text-align: right;
  font-size: 16px;
}

.metric-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-box legend {
  padding: 0 8px;
}

.metric-box label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}

.upload-field {
  display: grid;
  gap: 14px;
}

.upload-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.upload-heading small {
  color: #8b91a0;
}

.upload-box {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 1px dashed #cfd5dd;
  border-radius: 8px;
  background: #fbfcfd;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.upload-box span {
  margin-top: 16px;
  font-size: 30px;
  line-height: 1;
}

.upload-box strong {
  margin-top: -24px;
  font-size: 18px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.preview-grid figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.preview-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.preview-grid figcaption {
  overflow: hidden;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.submit-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px -32px -34px;
  padding: 18px 32px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.submit-bar p {
  margin: 0;
  color: var(--muted);
}

.poster-modal[hidden] {
  display: none;
}

.poster-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.poster-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 24, 0.72);
  backdrop-filter: blur(12px);
}

.poster-dialog {
  position: relative;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  animation: poster-pop 0.28s ease both;
}

@keyframes poster-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.poster-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: white;
  background: rgba(17, 24, 39, 0.36);
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.success-poster {
  position: relative;
  width: min(390px, calc(100vw - 48px));
  min-height: 624px;
  overflow: hidden;
  padding: 28px 28px 24px;
  color: white;
  background:
    radial-gradient(circle at 62% 14%, rgba(255, 255, 255, 0.74), transparent 17%),
    radial-gradient(circle at 42% 44%, rgba(255, 255, 255, 0.25), transparent 30%),
    linear-gradient(155deg, #1687ff 0%, #65d2ff 48%, #0a75ff 100%);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.poster-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 55%, rgba(255, 255, 255, 0.45) 56%, transparent 68%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.18), transparent 24%);
  opacity: 0.82;
}

.poster-top,
.poster-title-block,
.poster-start,
.poster-person,
.poster-slogan,
.poster-progress,
.poster-footer {
  position: relative;
  z-index: 1;
}

.poster-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.poster-logo {
  display: grid;
  gap: 2px;
}

.poster-logo strong {
  font-size: 28px;
  line-height: 0.9;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.18);
}

.poster-logo span,
.poster-top b {
  font-size: 15px;
  font-weight: 900;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.16);
}

.poster-top b {
  margin-top: 8px;
  font-size: 18px;
}

.poster-title-block {
  margin-top: 54px;
}

.poster-title-block p {
  margin-bottom: 8px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22);
}

.poster-title-block h2 {
  margin: 0;
  font-size: 58px;
  line-height: 1.02;
  text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
}

.poster-astronaut {
  position: absolute;
  z-index: 0;
  inset: 205px 0 auto;
  height: 278px;
  opacity: 0.44;
}

.poster-astronaut .helmet {
  position: absolute;
  top: 10px;
  left: 138px;
  width: 150px;
  height: 150px;
  border: 12px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 24px -22px 0 rgba(0, 100, 255, 0.22);
}

.poster-astronaut .body {
  position: absolute;
  top: 138px;
  left: 168px;
  width: 118px;
  height: 136px;
  background: rgba(255, 255, 255, 0.32);
  border-radius: 46px 46px 28px 28px;
  transform: rotate(-14deg);
}

.poster-astronaut .planet {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.poster-astronaut .one {
  top: 54px;
  right: 42px;
  width: 48px;
  height: 48px;
}

.poster-astronaut .two {
  bottom: 28px;
  left: 50px;
  width: 78px;
  height: 78px;
}

.poster-start {
  width: fit-content;
  margin: 250px auto 18px;
  padding: 6px 14px;
  background: rgba(21, 105, 255, 0.7);
  border-radius: 999px;
  font-size: 14px;
}

.poster-start span {
  margin-right: 8px;
  opacity: 0.78;
}

.poster-person {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
}

.poster-avatar {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  color: white;
  background: linear-gradient(135deg, #1f2937, #334155);
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(0, 51, 153, 0.28);
}

.poster-person h3 {
  margin-bottom: 0;
  font-size: 40px;
  line-height: 1.1;
  text-shadow: 4px 4px 0 rgba(0, 87, 199, 0.35);
}

.poster-person p {
  margin: 4px 0 0;
  font-weight: 900;
}

.poster-center-image {
  position: absolute;
  z-index: 0;
  top: 242px;
  left: 72px;
  right: 72px;
  height: 240px;
  display: grid;
  place-items: center;
  opacity: 0.5;
}

.poster-center-image img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 74, 180, 0.28));
}

.poster-center-image .orbit {
  position: absolute;
  width: 168px;
  height: 168px;
  border: 12px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
}

.poster-center-image .figure {
  width: 126px;
  height: 154px;
  margin-top: 105px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 46px 46px 28px 28px;
  transform: rotate(-14deg);
}

.poster-slogan {
  margin: 20px 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 750;
}

.poster-progress {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.poster-progress strong {
  font-size: 38px;
  line-height: 1;
}

.poster-progress p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.poster-stamp {
  display: grid;
  justify-items: center;
  min-width: 104px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  padding: 10px;
}

.poster-stamp b {
  font-size: 18px;
}

.poster-stamp span {
  font-size: 13px;
}

.poster-stamp i {
  margin-top: -2px;
  color: #ef4444;
  font-family: cursive;
  font-size: 24px;
}

.poster-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.62);
}

.poster-club {
  display: flex;
  align-items: center;
  gap: 10px;
}

.poster-club > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #0f172a;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 900;
}

.poster-club strong {
  display: block;
  font-size: 20px;
}

.poster-club p,
.poster-qr small {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.poster-qr {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.poster-qr span {
  width: 58px;
  height: 58px;
  background:
    linear-gradient(90deg, #111827 10px, transparent 10px 18px, #111827 18px 24px, transparent 24px 34px, #111827 34px 40px, transparent 40px),
    linear-gradient(#111827 10px, transparent 10px 18px, #111827 18px 24px, transparent 24px 34px, #111827 34px 40px, transparent 40px),
    white;
  border: 5px solid white;
}

.poster-qr img {
  width: 72px;
  height: 72px;
  padding: 5px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
}

.poster-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.coach-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 56px;
}

.coach-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 22px;
  padding: clamp(28px, 5vw, 46px);
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 92, 59, 0.28), transparent 28%),
    linear-gradient(135deg, #111827, #263244);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.coach-hero h1 {
  margin-bottom: 16px;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 66px);
}

.coach-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.coach-hero .eyebrow {
  color: #ffd0c4;
}

.formula-card {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.formula-card strong {
  font-size: 22px;
}

.formula-card span {
  color: rgba(255, 255, 255, 0.8);
}

.coach-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.coach-stats article,
.coach-form,
.member-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.coach-stats article {
  padding: 22px;
}

.coach-stats span {
  color: var(--muted);
  font-weight: 750;
}

.coach-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 34px;
  line-height: 1.1;
}

.coach-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.coach-form,
.member-panel {
  overflow: hidden;
}

.panel-title.compact {
  padding: 22px 24px;
}

.panel-title.compact h2 {
  font-size: 24px;
}

.coach-form-body {
  display: grid;
  gap: 22px;
  padding: 24px;
}

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

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

.payment-upload {
  width: 150px;
}

.payment-preview {
  grid-template-columns: 150px;
}

.file-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  color: white;
  background: var(--ink);
  font-weight: 850;
}

.coach-submit {
  position: static;
  margin: 0;
}

.member-list {
  display: grid;
  gap: 16px;
  padding: 24px;
  max-height: 980px;
  overflow: auto;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #cfd5dd;
  border-radius: 8px;
  background: #fbfcfd;
}

.empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
}

.member-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.member-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.member-card h3 {
  margin-bottom: 4px;
}

.member-card-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-pill {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 850;
}

.status-pill.active {
  color: #166534;
  background: #dcfce7;
}

.status-pill.warning {
  color: #92400e;
  background: #fef3c7;
}

.status-pill.ended {
  color: #991b1b;
  background: #fee2e2;
}

.member-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0 0 16px;
}

.member-meta div {
  min-width: 0;
}

.member-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.member-meta dd {
  overflow: hidden;
  margin: 2px 0 0;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-line {
  height: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #eef2f7;
  border-radius: 999px;
}

.progress-line span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

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

.service-grid div {
  padding: 14px;
  background: #f8fafc;
  border-radius: 8px;
}

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

.service-grid strong {
  display: block;
  margin: 2px 0;
  font-size: 24px;
}

.member-note {
  margin: 14px 0 0;
  padding: 12px;
  color: var(--muted);
  background: #fff7ed;
  border-radius: 8px;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.button.danger {
  color: #991b1b;
}

.card-generator-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 56px;
}

.camp-cards-body .checkin-topbar {
  background: rgba(255, 253, 248, 0.92);
}

.generator-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: clamp(28px, 5vw, 46px);
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 20%, rgba(242, 92, 59, 0.16), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(46, 125, 91, 0.1), transparent 26%),
    linear-gradient(135deg, #fffdf8, #f2eadf);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.generator-intro h1 {
  margin-bottom: 16px;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 66px);
}

.generator-intro p {
  max-width: 760px;
  margin-bottom: 0;
  color: #4b5563;
  font-size: 18px;
}

.generator-intro .eyebrow {
  color: var(--accent);
}

.generator-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.generator-controls,
.camp-preview-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.avatar-dropzone {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 156px;
  border: 1px dashed #b8c3d1;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 22%, rgba(242, 92, 59, 0.08), transparent 30%),
    #fffdf8;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.avatar-dropzone.dragging {
  border-color: var(--accent);
  background: #fff7ed;
  transform: translateY(-2px);
}

.avatar-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.avatar-dropzone span {
  font-size: 34px;
  line-height: 1;
}

.avatar-dropzone strong {
  font-size: 18px;
}

.avatar-dropzone small,
.style-hint p {
  margin: 0;
  color: var(--muted);
}

.style-hint {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f3ea;
}

.style-hint strong {
  display: block;
  margin-bottom: 6px;
}

.camp-preview-panel {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(46, 125, 91, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.04), transparent),
    #fffdf8;
}

.camp-card {
  --camp-bg: #050b0b;
  --camp-accent: #0ff0bd;
  --camp-light: #d9fff5;
  position: relative;
  width: min(470px, 100%);
  min-height: 750px;
  overflow: hidden;
  padding: 34px 30px 24px;
  color: white;
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--camp-accent) 24%, transparent), transparent 22%),
    radial-gradient(circle at 20% 78%, color-mix(in srgb, var(--camp-accent) 20%, transparent), transparent 24%),
    linear-gradient(180deg, var(--camp-bg), #0b1118 58%, var(--camp-bg));
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.camp-card[data-theme="cosmic"] {
  --camp-bg: #071a46;
  --camp-accent: #31a8ff;
  --camp-light: #e8f7ff;
}

.camp-card[data-theme="aurora"] {
  --camp-bg: #160725;
  --camp-accent: #b76cff;
  --camp-light: #fff3c4;
}

.camp-card[data-theme="matrix"] {
  --camp-bg: #03120a;
  --camp-accent: #00e676;
  --camp-light: #d7ffe7;
}

.camp-stars,
.camp-circuit,
.camp-card > *:not(.camp-stars):not(.camp-circuit) {
  position: relative;
  z-index: 1;
}

.camp-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 9% 8%, var(--camp-light) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 7%, #ffd166 0 4px, transparent 5px),
    radial-gradient(circle at 82% 24%, var(--camp-accent) 0 3px, transparent 4px),
    radial-gradient(circle at 15% 32%, var(--camp-accent) 0 3px, transparent 4px),
    linear-gradient(180deg, transparent 0 70%, color-mix(in srgb, var(--camp-accent) 9%, transparent) 100%);
}

.camp-circuit {
  position: absolute;
  top: 78px;
  width: 130px;
  height: 110px;
  border-top: 2px solid var(--camp-accent);
  border-bottom: 2px solid var(--camp-accent);
  opacity: 0.72;
}

.camp-circuit.left {
  left: -36px;
  border-right: 2px solid var(--camp-accent);
}

.camp-circuit.right {
  right: -36px;
  border-left: 2px solid var(--camp-accent);
}

.camp-card-head {
  text-align: center;
}

.camp-card-head h2 {
  margin-bottom: 8px;
  color: var(--camp-light);
  font-size: 58px;
  line-height: 1;
  text-shadow: 0 0 18px var(--camp-accent), 5px 5px 0 rgba(0, 0, 0, 0.28);
}

.camp-card-head p {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 800;
}

.camp-avatar-ring {
  display: grid;
  place-items: center;
  width: 178px;
  height: 178px;
  margin: 0 auto 14px;
  border: 4px solid var(--camp-accent);
  border-radius: 999px;
  box-shadow: 0 0 22px var(--camp-accent), inset 0 0 20px var(--camp-accent);
}

.camp-avatar {
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  color: white;
  background-color: #172033;
  background-position: center;
  background-size: cover;
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 48px;
  font-weight: 900;
}

.camp-name {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 12px;
  padding: 10px 24px;
  border: 1px solid var(--camp-accent);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 0 18px color-mix(in srgb, var(--camp-accent) 30%, transparent);
}

.camp-success {
  margin-bottom: 18px;
  color: var(--camp-accent);
  text-align: center;
  font-size: 20px;
  font-weight: 900;
}

.camp-info-box {
  padding: 20px;
  border: 1px solid var(--camp-accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.camp-info-box h3 {
  margin-bottom: 8px;
  font-size: 25px;
  text-align: center;
}

.camp-info-box p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.camp-info-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.camp-info-box li {
  position: relative;
  padding-left: 34px;
  font-weight: 750;
}

.camp-info-box li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--camp-accent);
}

.camp-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.camp-meta-grid div {
  padding: 14px;
  border: 1px solid var(--camp-accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.camp-meta-grid strong,
.camp-meta-grid span {
  display: block;
}

.camp-meta-grid strong {
  font-size: 18px;
}

.camp-meta-grid span {
  color: var(--camp-accent);
  font-weight: 850;
}

.camp-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.camp-tags span {
  padding: 8px 10px;
  border: 1px solid var(--camp-accent);
  border-radius: 999px;
  color: var(--camp-accent);
  text-align: center;
  font-weight: 850;
}

.camp-bottom {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
}

.robot-mascot {
  position: relative;
  width: 96px;
  height: 96px;
}

.robot-mascot::before {
  content: "";
  position: absolute;
  inset: 18px 8px 6px;
  background: linear-gradient(145deg, #f8fafc, #8fa3b8);
  border-radius: 24px;
}

.robot-mascot::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 24px;
  width: 48px;
  height: 30px;
  background: #0f172a;
  border-radius: 12px;
  box-shadow: inset 12px 0 0 var(--camp-accent), inset -12px 0 0 var(--camp-accent);
}

.robot-mascot span {
  position: absolute;
  top: 6px;
  left: 26px;
  width: 44px;
  height: 28px;
  border: 4px solid #cbd5e1;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
}

.camp-bottom strong {
  display: block;
  color: var(--camp-accent);
  font-size: 26px;
  line-height: 1.1;
  text-shadow: 0 0 14px var(--camp-accent);
}

.camp-bottom p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.about-body {
  background: #f6f3ee;
}

.about-topbar {
  background: rgba(246, 243, 238, 0.92);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(34px, 6vw, 76px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 78% 12%, rgba(242, 92, 59, 0.14), transparent 28%),
    linear-gradient(135deg, #fffdf8, #f2eadf);
}

.about-hero-copy h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 82px);
}

.about-hero-copy > p {
  max-width: 760px;
  color: #4b5563;
  font-size: 20px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 36px 0 0;
}

.about-hero-stats div {
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.about-hero-stats dt {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.about-hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.about-portrait {
  margin: 0;
  position: relative;
}

.about-portrait img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-portrait figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 16px 18px;
  color: white;
  background: rgba(17, 24, 39, 0.72);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  font-weight: 850;
}

.about-section {
  padding: 88px clamp(20px, 5vw, 72px);
}

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

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

.origin-grid article,
.now-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.origin-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 28px;
}

.origin-grid p,
.now-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.story-section,
.now-section {
  background: #fffdf8;
}

.story-timeline {
  display: grid;
  gap: 20px;
  max-width: 1180px;
}

.story-timeline article {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.story-timeline img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.story-timeline span {
  color: var(--accent-dark);
  font-weight: 900;
}

.story-timeline h3 {
  margin-top: 8px;
  font-size: 28px;
}

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

.belief-band {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 92, 59, 0.24), transparent 28%),
    linear-gradient(135deg, #111827, #263244);
}

.belief-band .eyebrow {
  color: #ffd0c4;
}

.belief-band p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.now-grid article h3 {
  font-size: 25px;
}

.credential-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

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

.credential-section li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
  font-weight: 750;
}

.credential-section li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  color: var(--green);
  font-weight: 900;
}

.about-cta {
  padding: 88px clamp(20px, 5vw, 72px);
  color: white;
  background:
    linear-gradient(rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.78)),
    url("./assets/dongge-ai.png") center / cover;
}

.about-cta .eyebrow {
  color: #ffd0c4;
}

.about-cta h2,
.about-cta p {
  max-width: 860px;
}

.about-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.opc-body {
  background: #f6f3ee;
}

.opc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 780px;
  padding: 116px clamp(20px, 5vw, 72px) 72px;
  background:
    radial-gradient(circle at 80% 12%, rgba(242, 92, 59, 0.16), transparent 30%),
    radial-gradient(circle at 14% 80%, rgba(46, 125, 91, 0.12), transparent 28%),
    linear-gradient(135deg, #fffdf8, #f2eadf);
}

.opc-hero-copy h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 88px);
}

.opc-hero-copy > p,
.product-page-hero p,
.opc-cta p {
  max-width: 760px;
  color: #4b5563;
  font-size: 20px;
}

.opc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin: 36px 0 0;
}

.opc-stats div {
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.opc-stats dt {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.opc-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.opc-hero-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.opc-hero-card img {
  display: block;
  width: 100%;
  max-height: 580px;
  object-fit: cover;
}

.opc-hero-card figcaption {
  display: grid;
  gap: 6px;
  padding: 22px;
  color: white;
}

.opc-hero-card span {
  color: rgba(255, 255, 255, 0.72);
}

.opc-section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.opc-about-grid,
.product-lanes,
.featured-products,
.tool-grid,
.product-catalog {
  display: grid;
  gap: 18px;
}

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

.opc-about-grid article,
.product-lanes article,
.featured-products a,
.tool-grid a,
.catalog-card,
.admin-product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.opc-about-grid article,
.product-lanes article,
.featured-products a,
.tool-grid a {
  padding: 26px;
}

.opc-about-grid span,
.featured-products span,
.tool-grid span,
.catalog-card span,
.admin-product-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  color: var(--accent-dark);
  background: #ffe7df;
  border-radius: 999px;
  font-weight: 850;
  font-size: 13px;
}

.opc-about-grid p,
.product-lanes p,
.featured-products p,
.tool-grid p,
.catalog-card p,
.admin-product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.tool-grid a.tool-card-emphasis {
  background:
    linear-gradient(135deg, rgba(242, 92, 59, 0.08), rgba(46, 125, 91, 0.08)),
    white;
  border-color: rgba(242, 92, 59, 0.24);
}

.tool-grid a.coaching-system-card {
  grid-column: span 2;
  border-color: rgba(46, 125, 91, 0.28);
}

.tool-grid a.dong-claw-tool,
.dong-claw-cta {
  background:
    linear-gradient(135deg, #111827, #182235 52%, #2e7d5b);
  color: white;
}

.tool-grid a.dong-claw-tool span {
  color: #111827;
  background: rgba(255, 255, 255, 0.86);
}

.tool-grid a.dong-claw-tool p {
  color: rgba(255, 255, 255, 0.76);
}

.home-knowledge-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
  padding: 26px;
  color: white;
  background: linear-gradient(135deg, #111827, #182235 58%, #2e7d5b);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.16);
}

.home-knowledge-panel h3 {
  margin-bottom: 8px;
  font-size: 30px;
}

.home-knowledge-panel p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.home-knowledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.home-knowledge-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-knowledge-card,
.home-knowledge-empty {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.home-knowledge-card span {
  width: fit-content;
  padding: 4px 9px;
  color: #111827;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.home-knowledge-card strong,
.home-knowledge-empty strong {
  font-size: 18px;
}

.home-knowledge-card small,
.home-knowledge-empty p {
  color: rgba(255, 255, 255, 0.66);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent-dark);
  font-weight: 850;
}

.product-system,
.tools-section {
  background: #fffdf8;
}

.product-lanes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.product-lanes strong {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
}

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

.featured-products a,
.tool-grid a {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.featured-products a:hover,
.tool-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.opc-cta {
  padding: 88px clamp(20px, 5vw, 72px);
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 92, 59, 0.28), transparent 28%),
    linear-gradient(135deg, #111827, #263244);
}

.opc-cta .eyebrow {
  color: #ffd0c4;
}

.opc-cta h2 {
  max-width: 900px;
}

.opc-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.product-page-shell,
.admin-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 56px;
}

.product-page-hero {
  margin-bottom: 20px;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(46, 125, 91, 0.28), transparent 30%),
    linear-gradient(135deg, #111827, #263244);
  box-shadow: var(--shadow);
}

.product-page-hero .eyebrow {
  color: #ffd0c4;
}

.product-page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.product-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

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

.catalog-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 26px;
}

.catalog-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.catalog-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-card dd {
  margin: 0;
  font-weight: 850;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.admin-product-list {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.admin-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.admin-product-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.flow-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 56px;
}

.flow-hero {
  margin-bottom: 22px;
  padding: clamp(28px, 5vw, 46px);
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(49, 168, 255, 0.28), transparent 30%),
    linear-gradient(135deg, #111827, #263244);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flow-hero .eyebrow {
  color: #ffd0c4;
}

.flow-hero p {
  max-width: 880px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

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

.flow-steps article {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.flow-steps span {
  color: var(--accent);
  font-weight: 900;
}

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

.flow-map {
  margin-top: 42px;
}

.generic-checkin-shell {
  grid-template-columns: 310px minmax(0, 1fr);
}

.camp-checkin-poster {
  --poster-bg: #071a46;
  --poster-accent: #31a8ff;
  --poster-light: #e8f7ff;
  position: relative;
  width: min(390px, calc(100vw - 48px));
  min-height: 610px;
  overflow: hidden;
  padding: 30px 28px 24px;
  color: white;
  background:
    radial-gradient(circle at 75% 12%, color-mix(in srgb, var(--poster-light) 50%, transparent), transparent 20%),
    radial-gradient(circle at 26% 78%, color-mix(in srgb, var(--poster-accent) 28%, transparent), transparent 28%),
    linear-gradient(155deg, var(--poster-bg), var(--poster-accent), var(--poster-bg));
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.camp-checkin-poster[data-theme="neon"] {
  --poster-bg: #050b0b;
  --poster-accent: #0ff0bd;
  --poster-light: #d9fff5;
}

.camp-checkin-poster[data-theme="aurora"] {
  --poster-bg: #160725;
  --poster-accent: #b76cff;
  --poster-light: #fff3c4;
}

.camp-checkin-poster[data-theme="matrix"] {
  --poster-bg: #03120a;
  --poster-accent: #00e676;
  --poster-light: #d7ffe7;
}

.poster-kicker,
.poster-camp-name,
.camp-checkin-poster > h2,
.generic-day-card {
  position: relative;
  z-index: 1;
}

.poster-kicker {
  margin-bottom: 12px;
  color: var(--poster-light);
  font-weight: 850;
}

.camp-checkin-poster > h2 {
  margin-bottom: 10px;
  color: white;
  font-size: 60px;
  line-height: 1;
  text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
}

.poster-camp-name {
  margin-bottom: 58px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  font-weight: 850;
}

.poster-person.compact {
  grid-template-columns: 82px 1fr;
}

.poster-person.compact .poster-avatar {
  width: 82px;
  height: 82px;
  font-size: 28px;
}

.poster-person.compact h3 {
  font-size: 34px;
}

.generic-day-card {
  display: grid;
  gap: 10px;
  margin: 30px 0 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.generic-day-card strong {
  font-size: 38px;
  line-height: 1;
}

.generic-day-card span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.futuristic-checkin-body {
  color: #e5eefc;
  background:
    radial-gradient(circle at 80% 8%, rgba(96, 165, 250, 0.22), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(242, 92, 59, 0.16), transparent 28%),
    #07101d;
}

.futuristic-topbar {
  color: #e5eefc;
  background: rgba(7, 16, 29, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
}

.mission-checkin-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 56px;
}

.mission-brief {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72)),
    radial-gradient(circle at 78% 20%, rgba(49, 168, 255, 0.2), transparent 26%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.mission-orb {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  color: white;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #2563eb, #7c3aed);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 0 48px rgba(96, 165, 250, 0.42);
  font-size: 34px;
  font-weight: 900;
}

.mission-brief h1 {
  margin-bottom: 14px;
  color: white;
  font-size: clamp(34px, 5vw, 60px);
}

.mission-brief p {
  margin-bottom: 0;
  color: rgba(229, 238, 252, 0.76);
  font-size: 18px;
}

.mission-brief dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

.mission-brief dl div {
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mission-brief dt {
  overflow: hidden;
  color: white;
  font-size: 22px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mission-brief dd {
  margin: 4px 0 0;
  color: rgba(229, 238, 252, 0.62);
}

.mission-board {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.mission-panel-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.mission-panel-title h2 {
  margin-bottom: 0;
  color: white;
  font-size: 30px;
}

.mission-panel-title time {
  color: rgba(229, 238, 252, 0.72);
  font-size: 20px;
  font-weight: 900;
}

.mission-form {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.7fr 1.2fr;
  gap: 16px;
}

.mission-form .field > span,
.mission-form .upload-heading span {
  color: #e5eefc;
}

.mission-form .field input,
.mission-form .field select,
.mission-form .field textarea {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.26);
}

.mission-form .field input::placeholder,
.mission-form .field textarea::placeholder {
  color: rgba(229, 238, 252, 0.42);
}

.mission-form .field small,
.mission-form .upload-heading small {
  color: rgba(229, 238, 252, 0.56);
}

.mission-upload .upload-box {
  color: #e5eefc;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.32);
}

.mission-submit {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 4px -28px -28px;
  padding: 18px 28px;
  background: rgba(7, 16, 29, 0.72);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.mission-submit p {
  margin: 0;
  color: rgba(229, 238, 252, 0.66);
}

.mission-poster {
  --poster-bg: #08111f;
  --poster-accent: #7dd3fc;
  --poster-light: #e0f2fe;
  min-height: 650px;
  padding: 28px;
  background:
    radial-gradient(circle at 78% 15%, color-mix(in srgb, var(--poster-accent) 35%, transparent), transparent 23%),
    radial-gradient(circle at 24% 78%, rgba(255, 255, 255, 0.12), transparent 27%),
    linear-gradient(155deg, var(--poster-bg), #101827 62%, var(--poster-bg));
}

.mission-poster[data-theme="solar"] {
  --poster-bg: #221104;
  --poster-accent: #ff8a3d;
  --poster-light: #fff0d8;
}

.mission-poster-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 48%, color-mix(in srgb, var(--poster-accent) 22%, transparent) 49%, transparent 62%),
    radial-gradient(circle at 12% 18%, var(--poster-light) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 36%, var(--poster-accent) 0 3px, transparent 4px),
    radial-gradient(circle at 56% 82%, var(--poster-light) 0 2px, transparent 3px);
  opacity: 0.72;
}

.mission-poster-top,
.mission-poster-profile,
.mission-figure,
.mission-poster-footer {
  position: relative;
  z-index: 1;
}

.mission-poster-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--poster-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mission-poster > h2 {
  position: relative;
  z-index: 1;
  margin: 64px 0 8px;
  color: white;
  font-size: 54px;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: none;
}

.mission-poster .poster-camp-name {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
}

.mission-figure {
  height: 150px;
  margin-bottom: 12px;
}

.mission-helmet {
  position: absolute;
  right: 48px;
  top: 0;
  width: 126px;
  height: 126px;
  border: 8px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  box-shadow: 0 0 42px color-mix(in srgb, var(--poster-accent) 44%, transparent);
}

.mission-core {
  position: absolute;
  right: 82px;
  top: 98px;
  width: 92px;
  height: 104px;
  border-radius: 34px 34px 18px 18px;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(-12deg);
}

.mission-poster-profile {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}

.mission-poster-profile .poster-avatar {
  width: 72px;
  height: 72px;
  border-color: var(--poster-light);
  font-size: 24px;
}

.mission-poster-profile h3 {
  margin: 0;
  color: white;
  font-size: 32px;
}

.mission-poster-profile p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.56);
}

.mission-day-card {
  margin: 24px 0 18px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.mission-day-card > span {
  color: var(--poster-accent);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.mission-day-card strong {
  color: white;
  font-size: 58px;
}

.mission-day-card i {
  margin: 0 8px;
  color: var(--poster-accent);
  font-style: normal;
}

.mission-day-card em {
  color: rgba(255, 255, 255, 0.52);
  font-style: normal;
}

.mission-day-card small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.mission-poster .poster-slogan {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.8);
}

.mission-poster-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-poster-footer strong {
  color: var(--poster-light);
}

.mission-poster-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.mission-qr img {
  width: 76px;
  height: 76px;
}

.mission-qr small {
  color: rgba(255, 255, 255, 0.68);
}

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(96, 165, 250, 0.22), transparent 28%),
    radial-gradient(circle at 16% 84%, rgba(242, 92, 59, 0.18), transparent 28%),
    #07101d;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  width: min(1120px, 100%);
}

.auth-hero {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
}

.auth-hero h1 {
  max-width: 760px;
}

.auth-hero p {
  color: rgba(229, 238, 252, 0.76);
  font-size: 20px;
}

.auth-demo {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 18px;
  color: rgba(229, 238, 252, 0.84);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.auth-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.auth-card h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.auth-status {
  margin: 0;
  color: var(--muted);
}

.dashboard-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 56px;
}

.dashboard-hero {
  margin-bottom: 20px;
  padding: clamp(28px, 5vw, 46px);
  color: white;
  background:
    radial-gradient(circle at 80% 20%, rgba(46, 125, 91, 0.24), transparent 30%),
    linear-gradient(135deg, #111827, #263244);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dashboard-hero .eyebrow {
  color: #ffd0c4;
}

.dashboard-hero p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.dashboard-stats article,
.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.dashboard-stats article {
  padding: 18px;
}

.dashboard-stats span {
  color: var(--muted);
  font-weight: 800;
}

.dashboard-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  line-height: 1;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

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

.dashboard-grid.one {
  grid-template-columns: 1fr;
}

.dashboard-panel {
  overflow: hidden;
}

.security-panel {
  margin-bottom: 18px;
}

.password-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 24px 24px;
}

.password-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 4px;
}

.password-submit p {
  margin: 0;
  color: var(--muted);
}

.data-table-wrap {
  overflow: auto;
  max-height: 420px;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

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

.data-table th {
  color: var(--muted);
  background: #f8fafc;
  font-size: 13px;
}

.behavior-list,
.student-card-list {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.behavior-list article,
.student-product-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.behavior-list span {
  color: var(--accent-dark);
  font-weight: 900;
}

.student-product-card {
  align-items: center;
}

.student-product-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--accent-dark);
  background: #ffe7df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.student-product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.student-product-card dl {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 10px;
  margin: 0;
}

.student-product-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.student-product-card dd {
  margin: 0;
  font-weight: 900;
}

.dashboard-tools {
  padding: 24px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .pain-grid,
  .timeline,
  .feature-grid,
  .pricing,
  .proof-panel {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-copy {
    max-width: none;
  }

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

  .profile-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    column-gap: 24px;
    align-items: start;
  }

  .profile-card .student-avatar,
  .profile-card h1,
  .student-role {
    grid-column: 1;
  }

  .profile-section,
  .streak-card {
    grid-column: 2;
  }

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

  .coach-hero,
  .coach-layout,
  .generator-layout {
    grid-template-columns: 1fr;
  }

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

  .generator-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-hero,
  .belief-band,
  .credential-section {
    grid-template-columns: 1fr;
  }

  .about-hero-stats,
  .origin-grid,
  .now-grid {
    grid-template-columns: 1fr 1fr;
  }

  .auth-shell,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .password-form {
    grid-template-columns: 1fr;
  }

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

  .opc-hero,
  .admin-shell,
  .generic-checkin-shell,
  .mission-brief {
    grid-template-columns: 1fr;
  }

  .opc-about-grid,
  .product-lanes,
  .featured-products,
  .tool-grid,
  .home-knowledge-grid,
  .product-catalog,
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 780px;
    padding: 96px 18px 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 18, 28, 0.92) 0%, rgba(12, 18, 28, 0.78) 46%, rgba(12, 18, 28, 0.5) 100%);
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

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

  .hero-stats,
  .pain-grid,
  .timeline,
  .feature-grid,
  .pricing,
  .proof-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 18px;
  }

  .site-footer {
    flex-direction: column;
  }

  .checkin-topbar {
    position: static;
  }

  .topbar-actions span {
    display: none;
  }

  .checkin-shell {
    padding: 18px;
  }

  .profile-card {
    display: block;
    padding: 24px 20px;
  }

  .panel-title,
  .submit-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .panel-title,
  .checkin-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-grid.two,
  .metric-box,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .submit-bar {
    position: static;
    margin: 0 -18px -34px;
    padding: 18px;
  }

  .poster-modal {
    padding: 12px;
  }

  .success-poster {
    width: min(360px, calc(100vw - 24px));
    min-height: 600px;
    padding: 24px 22px 22px;
  }

  .poster-title-block h2 {
    font-size: 50px;
  }

  .poster-title-block p {
    font-size: 22px;
  }

  .poster-start {
    margin-top: 318px;
  }

  .poster-actions {
    flex-direction: column;
  }

  .coach-shell {
    padding: 18px;
  }

  .coach-hero {
    padding: 26px 20px;
  }

  .coach-stats,
  .form-grid.two.even,
  .form-grid.three,
  .member-meta,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .coach-form-body,
  .member-list {
    padding: 18px;
  }

  .member-card-head,
  .member-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .card-generator-shell {
    padding: 18px;
  }

  .generator-intro {
    padding: 26px 20px;
  }

  .camp-preview-panel {
    padding: 14px;
  }

  .camp-card {
    min-height: 700px;
    padding: 28px 18px 22px;
  }

  .camp-card-head h2 {
    font-size: 48px;
  }

  .camp-name {
    font-size: 24px;
  }

  .camp-meta-grid,
  .camp-tags,
  .camp-bottom {
    grid-template-columns: 1fr;
  }

  .robot-mascot {
    display: none;
  }

  .about-hero {
    min-height: auto;
    padding: 38px 18px;
  }

  .about-hero-stats,
  .origin-grid,
  .now-grid,
  .story-timeline article {
    grid-template-columns: 1fr;
  }

  .about-section,
  .about-cta {
    padding: 64px 18px;
  }

  .about-portrait figcaption {
    position: static;
    margin-top: 10px;
    color: var(--ink);
    background: white;
  }

  .opc-hero {
    min-height: auto;
    padding: 96px 18px 42px;
  }

  .opc-stats,
  .opc-about-grid,
  .product-lanes,
  .featured-products,
  .tool-grid,
  .home-knowledge-panel,
  .home-knowledge-grid,
  .product-catalog,
  .catalog-card dl,
  .admin-product-card {
    grid-template-columns: 1fr;
  }

  .tool-grid a.coaching-system-card {
    grid-column: auto;
  }

  .opc-section,
  .opc-cta {
    padding: 64px 18px;
  }

  .product-page-shell,
  .admin-shell,
  .flow-shell {
    padding: 18px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .camp-checkin-poster {
    width: min(360px, calc(100vw - 24px));
    min-height: 590px;
  }

  .mission-checkin-shell {
    padding: 18px;
  }

  .mission-brief {
    padding: 24px 20px;
  }

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

  .mission-panel-title,
  .mission-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .mission-form {
    padding: 20px;
  }

  .mission-submit {
    margin: 0 -20px -20px;
    padding: 18px 20px;
  }

  .mission-poster > h2 {
    font-size: 46px;
  }

  .mission-day-card strong {
    font-size: 48px;
  }

  .auth-body {
    padding: 18px;
  }

  .dashboard-shell {
    padding: 18px;
  }

  .dashboard-stats,
  .student-product-card dl {
    grid-template-columns: 1fr;
  }

  .password-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .student-product-card,
  .behavior-list article {
    flex-direction: column;
  }

  .behavior-list,
  .student-card-list,
.dashboard-tools {
    padding: 18px;
  }
}

.commerce-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 92, 59, 0.12), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(46, 125, 91, 0.12), transparent 30%),
    var(--paper);
}

.commerce-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 72px;
}

.commerce-hero {
  margin-bottom: 24px;
  padding: 42px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 234, 0.92)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.07);
}

.commerce-hero h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
}

.commerce-hero p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

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

.commerce-product-card,
.checkout-product,
.checkout-card,
.payment-panel,
.receipt-card,
.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
}

.commerce-product-card {
  overflow: hidden;
}

.commerce-product-image {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: white;
  background: linear-gradient(135deg, #111827, #f25c3b 58%, #2e7d5b);
  font-size: 28px;
  font-weight: 900;
}

.commerce-product-image.large {
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
}

.commerce-product-image img,
.qr-preview img,
.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commerce-product-body,
.checkout-product,
.checkout-card,
.payment-panel,
.receipt-card,
.service-card {
  padding: 26px;
}

.commerce-product-body > span,
.checkout-product > span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  color: var(--accent-dark);
  background: #ffe7df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.commerce-product-body h2,
.checkout-product h1 {
  margin-bottom: 12px;
}

.commerce-product-body p,
.checkout-product p,
.service-card p {
  color: var(--muted);
}

.commerce-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 10px;
}

.commerce-price-row strong,
.payment-panel .panel-title strong {
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 950;
}

.commerce-price-row small {
  color: var(--green);
  font-weight: 850;
}

.checkout-layout,
.shop-admin-grid,
.receipt-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.checkout-price-list,
.receipt-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.checkout-price-list div,
.receipt-list div,
.payment-summary article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-price-list dt,
.receipt-list dt,
.payment-summary span {
  color: var(--muted);
}

.checkout-price-list dd,
.receipt-list dd,
.payment-summary strong {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.payment-panel {
  margin-top: 18px;
}

.payment-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.payment-summary article {
  display: grid;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.qr-pay-box {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qr-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  color: var(--muted);
  background: white;
  border: 1px dashed #cfd6df;
  border-radius: 8px;
  text-align: center;
}

.qr-preview img {
  object-fit: contain;
  padding: 10px;
}

.service-qr-large {
  min-height: 300px;
  margin: 18px 0;
}

.receipt-shell {
  max-width: 1120px;
}

.receipt-card h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.shop-admin-shell .member-panel {
  margin-top: 18px;
}

.file-field input {
  padding: 13px;
  background: white;
}

.admin-product-thumb {
  display: grid;
  place-items: center;
  width: 92px;
  min-width: 92px;
  height: 92px;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #111827, #2e7d5b);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.commerce-order-table {
  overflow-x: auto;
}

.commerce-order-table table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

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

.commerce-order-table th {
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
}

.ima-body {
  background:
    radial-gradient(circle at 18% 10%, rgba(46, 125, 91, 0.15), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(242, 92, 59, 0.12), transparent 30%),
    var(--paper);
}

.ima-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px clamp(18px, 4vw, 56px) 72px;
}

.ima-hero {
  margin-bottom: 22px;
  padding: 44px;
  color: white;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(24, 34, 53, 0.94)),
    #111827;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.18);
}

.ima-hero h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.04;
}

.ima-hero p {
  max-width: 880px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.ima-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ima-channel-panel,
.ima-chat-panel,
.ima-admin-help {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.07);
}

.ima-channel-panel,
.ima-admin-help {
  padding: 24px;
}

.ima-admin-help p {
  color: var(--muted);
}

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

.ima-channel-card {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

.ima-channel-card.active {
  color: white;
  background: linear-gradient(135deg, #111827, #2e7d5b);
  border-color: transparent;
}

.ima-channel-card span {
  width: fit-content;
  padding: 4px 9px;
  color: var(--accent-dark);
  background: #ffe7df;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.ima-channel-card.active span {
  color: #111827;
  background: rgba(255, 255, 255, 0.88);
}

.ima-channel-card strong {
  font-size: 18px;
}

.ima-channel-card small {
  color: var(--muted);
  line-height: 1.6;
}

.ima-channel-card.active small {
  color: rgba(255, 255, 255, 0.72);
}

.ima-chat-panel {
  overflow: hidden;
}

.ima-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.ima-chat-head span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  color: var(--green);
  background: rgba(46, 125, 91, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.ima-chat-head h2 {
  margin-bottom: 6px;
}

.ima-chat-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.ima-frame-wrap {
  min-height: 640px;
  background: #f8fafc;
}

.ima-frame-wrap iframe {
  width: 100%;
  height: 720px;
  border: 0;
  background: white;
}

.ima-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 640px;
  padding: 36px;
  text-align: center;
}

.ima-empty strong {
  color: var(--ink);
  font-size: 42px;
  font-weight: 950;
  letter-spacing: 2px;
}

.ima-empty p {
  max-width: 560px;
  color: var(--muted);
}

.button.disabled {
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .commerce-shell {
    padding: 18px;
  }

  .commerce-hero,
  .commerce-product-body,
  .checkout-product,
  .checkout-card,
  .payment-panel,
  .receipt-card,
  .service-card {
    padding: 22px;
  }

  .commerce-grid,
  .checkout-layout,
  .shop-admin-grid,
  .receipt-shell,
  .payment-summary,
  .qr-pay-box,
  .ima-layout {
    grid-template-columns: 1fr;
  }

  .ima-shell {
    padding: 18px;
  }

  .ima-hero,
  .ima-channel-panel,
  .ima-chat-head {
    padding: 22px;
  }

  .ima-chat-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ima-frame-wrap,
  .ima-empty {
    min-height: 520px;
  }

  .ima-frame-wrap iframe {
    height: 620px;
  }
}

/* H5 mobile hardening: keep every page usable as a phone-first share page. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.wechat-share-cover {
  position: absolute;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

main,
section,
article,
aside,
header,
footer,
form,
fieldset,
.site-header,
.checkin-topbar,
.commerce-shell,
.ima-shell,
.dashboard-shell,
.product-page-shell,
.admin-shell,
.flow-shell,
.checkin-shell,
.coach-shell,
.card-generator-shell,
.mission-checkin-shell {
  min-width: 0;
}

.h5-mobile-bar {
  display: none;
}

.h5-share-toast {
  position: fixed;
  left: 50%;
  bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  max-width: min(320px, calc(100vw - 40px));
  padding: 11px 16px;
  color: #fff;
  background: rgba(31, 18, 12, 0.94);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(31, 18, 12, 0.24);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transform: translate(-50%, 10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.h5-share-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 760px) {
  body {
    min-width: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body.has-h5-mobile-bar {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: min(132px, 40vw);
    height: 30px;
  }

  .header-cta {
    min-width: 86px;
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
    font-size: 14px;
  }

  h1,
  h2,
  h3,
  .commerce-hero h1,
  .ima-hero h1,
  .product-page-hero h1,
  .dashboard-hero h1,
  .about-hero h1,
  .opc-hero-copy h1 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  h1,
  .opc-hero-copy h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  h3 {
    font-size: clamp(20px, 5.6vw, 24px);
  }

  .hero-actions,
  .section-actions,
  .dashboard-actions,
  .home-knowledge-actions,
  .poster-actions,
  .member-actions,
  .payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions .button,
  .section-actions .button,
  .dashboard-actions .button,
  .home-knowledge-actions .button,
  .poster-actions .button,
  .payment-methods .button,
  .full {
    width: 100%;
  }

  .button,
  .header-cta {
    text-align: center;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 8px;
    width: 100%;
  }

  .topbar-actions .button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .opc-hero,
  .hero,
  .about-hero,
  .commerce-hero,
  .ima-hero,
  .dashboard-hero,
  .product-page-hero,
  .generator-intro,
  .coach-hero,
  .mission-brief {
    padding-left: 16px;
    padding-right: 16px;
  }

  .opc-hero-card img,
  .about-portrait img,
  .commerce-product-image img,
  .admin-product-thumb img {
    width: 100%;
    height: auto;
  }

  .opc-hero-card img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

  .opc-hero-card figcaption {
    gap: 6px;
  }

  .opc-stats div,
  .hero-stats div,
  .dashboard-stats article,
  .payment-summary article {
    min-width: 0;
  }

  .opc-about-grid,
  .product-lanes,
  .featured-products,
  .tool-grid,
  .home-knowledge-panel,
  .home-knowledge-grid,
  .product-catalog,
  .flow-steps,
  .commerce-grid,
  .checkout-layout,
  .shop-admin-grid,
  .receipt-shell,
  .payment-summary,
  .qr-pay-box,
  .ima-layout,
  .dashboard-grid,
  .dashboard-stats,
  .form-grid,
  .form-grid.two,
  .form-grid.two.even,
  .form-grid.three,
  .metric-box,
  .preview-grid,
  .coach-stats,
  .member-meta,
  .service-grid,
  .mission-grid,
  .student-product-card dl {
    grid-template-columns: 1fr !important;
  }

  .product-page-shell,
  .admin-shell,
  .flow-shell,
  .commerce-shell,
  .ima-shell,
  .dashboard-shell,
  .checkin-shell,
  .coach-shell,
  .card-generator-shell,
  .mission-checkin-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .panel-title,
  .ima-chat-head,
  .member-card-head,
  .commerce-price-row,
  .checkout-price-list div,
  .receipt-list div,
  .payment-summary article,
  .submit-bar,
  .mission-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .commerce-price-row,
  .checkout-price-list div,
  .receipt-list div {
    gap: 6px;
  }

  .data-table-wrap,
  .commerce-order-table,
  .dashboard-panel,
  .checkin-panel,
  .member-list,
  .admin-product-list {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table,
  .commerce-order-table table {
    min-width: 720px;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }

  .poster-dialog,
  .success-poster,
  .camp-checkin-poster,
  .mission-poster,
  .camp-card {
    max-width: calc(100vw - 24px);
  }

  .h5-mobile-bar {
    position: fixed;
    z-index: 80;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: 12px;
    display: grid;
    grid-template-columns: repeat(var(--h5-actions, 2), minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.18);
    backdrop-filter: blur(16px);
  }

  .h5-mobile-bar a,
  .h5-mobile-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    color: white;
    background: var(--ink);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 850;
  }

  .h5-mobile-bar button {
    border: 0;
  }

  .h5-mobile-bar .h5-share {
    background: var(--accent);
  }

  .h5-share-toast {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-mark {
    width: min(120px, 38vw);
  }

  .header-cta {
    min-width: 76px;
    padding: 0 10px;
    font-size: 13px;
  }
}
