:root {
  --primary: #4babf0;
  --primary-dark: #238bd3;
  --primary-soft: #e8f4fd;
  --ink: #142337;
  --muted: #587086;
  --light: #8aa0b0;
  --line: #d8eaf5;
  --soft: #f5f9fe;
  --white: #fff;
  --yellow: #ffc947;
  --green: #62c68a;
  --pink: #ff6b8a;
  --shadow: 0 14px 38px rgba(74, 171, 240, .14);
  --shadow-strong: 0 22px 60px rgba(39, 137, 205, .22);
  --radius: 8px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(216, 234, 245, .78);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(74, 171, 240, .12);
}

.brand img {
  width: 178px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-links a:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.nav-links .nav-cta {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 22px rgba(74, 171, 240, .26);
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #3aa0e8 0%, #5bb8f0 50%, #80cefa 100%);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::before {
  left: -120px;
  bottom: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 68%);
}

.hero-section::after {
  right: -90px;
  top: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%);
}

.hero-bg-dots {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .95) 0 2px, transparent 3px);
  background-size: 118px 92px;
  mask-image: linear-gradient(90deg, transparent 0 43%, #000 55%, #000 88%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 54px 0 56px;
}

.hero-kicker,
.section-kicker {
  width: fit-content;
  margin: 0 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-kicker {
  padding: 7px 16px;
  color: white;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .36);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 94px);
  line-height: 1.03;
  font-weight: 900;
}

.hero-copy h1 span {
  position: relative;
}

.hero-copy h1 span::after {
  content: none;
}

.hero-subtitle {
  margin: 24px 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.hero-note {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 34px;
}

.hero-stats div {
  min-width: 116px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
}

.hero-stats span {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  margin-top: 4px;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(74, 171, 240, .28);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.btn-light {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.btn-ghost-light {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .72);
  background: transparent;
}

.btn.full { width: 100%; }

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  min-height: 500px;
}

.hero-preview-card {
  position: absolute;
  top: 112px;
  width: min(360px, 56vw);
  aspect-ratio: 16 / 11.4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 26px 60px rgba(25, 83, 130, .18);
  opacity: .86;
  z-index: 1;
  transition: opacity .35s ease, transform .45s ease;
}

.hero-preview-left {
  left: 18px;
  transform: rotate(-7deg);
  transform-origin: 80% 55%;
}

.hero-preview-right {
  right: 18px;
  transform: rotate(7deg);
  transform-origin: 20% 55%;
}

.hero-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.98);
}

.hero-work-card {
  position: absolute;
  left: 50%;
  top: 60px;
  width: min(456px, 78vw);
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 78px rgba(25, 83, 130, .28);
  text-decoration: none;
  transform: translateX(-50%);
  z-index: 3;
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-work-card:hover {
  box-shadow: 0 34px 86px rgba(25, 83, 130, .34);
  transform: translateX(-50%) translateY(-3px);
}

.hero-work-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary-soft);
}

.hero-work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(18px) scale(1.02);
  transition: opacity .45s ease, transform .45s ease;
}

.hero-work-cover.is-ready img {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hero-work-info {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 94px;
  padding: 18px 18px 20px;
  color: var(--ink);
}

.hero-work-info strong,
.hero-work-info span {
  display: block;
}

.hero-work-info strong {
  font-size: 20px;
  line-height: 1.3;
}

.hero-work-info span {
  margin-top: 5px;
  color: var(--light);
  font-size: 14px;
  font-weight: 700;
}

.hero-work-info small {
  flex: none;
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 44px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
  z-index: 4;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, .48);
  transition: width .25s ease, background .25s ease;
}

.hero-dots button.active {
  width: 26px;
  background: #fff;
}

.section {
  padding: 92px 0;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  padding: 6px 15px;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.section h2,
.page-title h1,
.trial-layout h2,
.admin-top h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12;
  font-weight: 900;
}

.section-heading p,
.method-copy p,
.trial-layout p,
.page-title p,
.deploy-head p,
.admin-top p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.works-section {
  background: #fff;
}

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

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 171, 240, .58);
  box-shadow: var(--shadow-strong);
}

.work-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary-soft);
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.work-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.work-title-row h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}

.tag {
  flex: none;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 800;
}

.work-meta,
.work-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.work-meta {
  margin-top: 7px;
  font-size: 13px;
}

.work-desc {
  margin-top: 10px;
  font-size: 14px;
}

.work-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.reaction-row {
  display: flex;
  gap: 8px;
}

.icon-button {
  min-width: 44px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.icon-button:hover {
  color: #ef476f;
  border-color: rgba(239, 71, 111, .28);
  background: #fff7f9;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(239, 71, 111, .12);
}

.heart-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  transition: fill .2s ease, stroke .2s ease, transform .2s ease;
}

.icon-button.liked {
  color: #fff;
  border-color: #ff4d6d;
  background: linear-gradient(135deg, #ff6b8a, #ef476f);
  box-shadow: 0 12px 26px rgba(239, 71, 111, .24);
}

.icon-button.liked .heart-icon {
  fill: currentColor;
  stroke: currentColor;
  transform: scale(1.08);
}

.work-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  margin: 28px auto 0;
  display: inline-flex;
  color: var(--primary-dark);
  font-weight: 900;
}

.center-action { justify-content: center; }

.method-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 45%, rgba(75, 171, 240, .18), transparent 34%),
    linear-gradient(180deg, var(--soft), #fff 78%);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(520px, 1.16fr);
  gap: 52px;
  align-items: center;
}

.method-copy h2 {
  margin: 0 0 22px;
  color: #157de0;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.1;
  white-space: nowrap;
}

.method-subtitle {
  max-width: 430px;
  margin: 0;
}

.method-subtitle em {
  color: var(--primary-dark);
  font-style: normal;
  font-weight: 900;
}

.method-divider {
  width: 100%;
  height: 1px;
  margin: 30px 0 26px;
  background: var(--line);
}

.theory-foundation {
  max-width: 500px;
}

.theory-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.theory-header strong {
  color: var(--ink);
  font-size: 18px;
}

.theory-header span {
  color: var(--light);
  font-size: 14px;
  font-weight: 800;
}

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

.theorist {
  min-width: 0;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  text-align: center;
}

.avatar-wrap {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  overflow: hidden;
  border: 2px solid rgba(20, 35, 55, .1);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(74, 171, 240, .12);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72);
  transition: filter .25s ease, transform .25s ease;
}

.theorist strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.theorist small {
  display: block;
  margin-top: 4px;
  color: var(--light);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

.theorist.active .avatar-wrap,
.theorist:hover .avatar-wrap,
.theorist:focus-visible .avatar-wrap {
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 16px 34px rgba(35, 139, 211, .22), 0 0 0 4px rgba(74, 171, 240, .14);
}

.theorist.active .avatar-wrap img,
.theorist:hover .avatar-wrap img,
.theorist:focus-visible .avatar-wrap img {
  filter: saturate(1.08);
}

.theory-expand {
  display: none;
  min-height: 154px;
  margin-top: 20px;
  border: 1px solid rgba(74, 171, 240, .24);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 36px rgba(74, 171, 240, .12);
}

.theory-expand.visible {
  display: block;
}

.theory-expand h3 {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 16px;
}

.theory-expand p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.stream-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-left: 2px;
  background: var(--primary);
  vertical-align: -2px;
  animation: cursorBlink .9s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.method-orbit-card {
  min-height: 610px;
  display: grid;
  place-items: center;
}

.method-orbit {
  position: relative;
  width: min(610px, 88vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.92) 0 42%, transparent 43%),
    radial-gradient(circle, transparent 50%, rgba(74, 171, 240, .28) 50.4%, transparent 51.2%),
    radial-gradient(circle, transparent 64%, rgba(74, 171, 240, .16) 64.4%, transparent 65.2%),
    conic-gradient(from -82deg, rgba(74, 171, 240, .42), rgba(255, 255, 255, .18), rgba(74, 171, 240, .32), rgba(255, 255, 255, .2), rgba(74, 171, 240, .42));
  box-shadow: inset 0 0 0 1px rgba(74, 171, 240, .16), 0 28px 80px rgba(74, 171, 240, .14);
}

.method-node {
  position: absolute;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(74, 171, 240, .2);
  border-radius: 50%;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 42px rgba(74, 171, 240, .16), inset 0 0 0 8px rgba(232, 244, 253, .9);
  font-size: 30px;
  font-weight: 900;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.method-node span {
  display: block;
  margin-top: 3px;
  color: var(--light);
  font-size: 11px;
}

.method-node.active {
  color: #fff;
  background: linear-gradient(135deg, #157de0, var(--primary));
  transform: scale(1.08);
  box-shadow: 0 24px 58px rgba(35, 143, 211, .28), inset 0 0 0 8px rgba(255,255,255,.18);
}

.method-node.active span { color: rgba(255,255,255,.86); }
.method-node:nth-child(1) { left: calc(50% - 58px); top: -18px; }
.method-node:nth-child(2) { right: 4px; top: 154px; }
.method-node:nth-child(3) { right: 78px; bottom: 24px; }
.method-node:nth-child(4) { left: 78px; bottom: 24px; }
.method-node:nth-child(5) { left: 4px; top: 154px; }

.method-center {
  position: absolute;
  inset: 118px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(74, 171, 240, .2);
  border-radius: 50%;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 48px rgba(74, 171, 240, .12);
}

.method-center-image {
  flex: 0 0 145px;
  width: 76%;
  height: 145px;
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 14px;
  background: #f7fcff;
}

.method-center-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.method-center-copy {
  width: 82%;
  margin: 0 auto;
  padding: 16px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.method-center h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 29px;
  line-height: 1.18;
}

.method-center strong {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.2;
}

.method-ability-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.method-ability-row span {
  border: 1px solid rgba(74, 171, 240, .28);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 11px;
  font-weight: 800;
}

.method-center p {
  margin: 12px auto 0;
  max-width: 282px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 12px;
}

.courses-section {
  min-height: calc(100vh - 72px);
  padding: 56px 0 64px;
  background: #fff;
}

.courses-section .section-heading {
  margin-bottom: 34px;
}

.courses-section .section-kicker {
  margin-bottom: 20px;
}

.course-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.course-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.course-tab {
  min-height: 76px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font-size: 18px;
  font-weight: 900;
}

.course-tab:last-child { border-right: 0; }
.course-tab span { display: block; color: var(--light); font-size: 13px; margin-bottom: 4px; }
.course-tab.active { color: #fff; background: linear-gradient(135deg, #1b77f2, var(--primary)); }
.course-tab.active span { color: rgba(255,255,255,.86); }

.course-panel {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, .9fr) minmax(0, .95fr);
  gap: 26px;
  padding: 24px 28px 26px;
  align-items: stretch;
}

.course-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 14px 30px rgba(74, 171, 240, .08);
}

.course-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  box-sizing: border-box;
  background: #f8fcff;
}

.course-label {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  max-width: calc(100% - 28px);
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(20, 35, 55, .52);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 800;
}

.course-result-card,
.course-knowledge,
.course-abilities {
  min-width: 0;
}

.course-result-card,
.course-knowledge {
  border-right: 1px solid rgba(74, 171, 240, .18);
  padding-right: 30px;
}

.course-chip {
  width: fit-content;
  margin: 0 0 14px;
  border-radius: 999px;
  padding: 6px 13px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-weight: 900;
  font-size: 14px;
}

.knowledge-list {
  display: grid;
  gap: 14px;
  color: var(--ink);
}

.knowledge-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: var(--ink);
  line-height: 1.45;
}

.knowledge-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(74, 171, 240, .2);
  border-radius: 14px;
  color: #0b77ff;
  background: linear-gradient(180deg, #f4faff, #fff);
  box-shadow: 0 10px 22px rgba(74, 171, 240, .1);
}

.knowledge-icon svg,
.ability-grid i svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.54;
  font-size: 14px;
}

.module-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
}

.module-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0b77ff;
  box-shadow: inset 0 0 0 3px #dff0ff;
  transform: translateY(-50%);
}

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

.ability-grid span {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(74, 171, 240, .08);
}

.ability-grid i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(74, 171, 240, .18);
  border-radius: 12px;
  color: #0b77ff;
  background: linear-gradient(180deg, #eef8ff, #fff);
  box-shadow: 0 8px 18px rgba(74, 171, 240, .1);
  font-style: normal;
}

.ability-grid i svg {
  width: 20px;
  height: 20px;
}

.course-badge {
  --rank-text: var(--primary-dark);
  --rank-border: rgba(74, 171, 240, .34);
  --rank-glow: rgba(74, 171, 240, .12);
  --rank-start: #e0f2fe;
  --rank-mid: #38bdf8;
  --rank-end: #0369a1;
  --rank-ribbon: #0ea5e9;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--rank-border);
  border-radius: var(--radius);
  padding: 15px 16px;
  color: var(--rank-text);
  background: linear-gradient(135deg, color-mix(in srgb, var(--rank-start) 28%, #fff), #fff);
  box-shadow: 0 14px 30px var(--rank-glow);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 900;
  text-align: center;
}

.course-badge span {
  position: relative;
  width: 50px;
  height: 58px;
  flex: 0 0 50px;
  border-radius: 0;
  background:
    linear-gradient(160deg, transparent 0 40%, var(--rank-ribbon) 41% 100%) 9px 33px / 16px 23px no-repeat,
    linear-gradient(200deg, transparent 0 40%, var(--rank-ribbon) 41% 100%) 25px 33px / 16px 23px no-repeat;
}

.course-badge span::before,
.course-badge span::after {
  content: "";
  position: absolute;
}

.course-badge span::before {
  left: 6px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #fff9d9, var(--rank-start) 26%, var(--rank-mid) 62%, var(--rank-end));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.52), 0 9px 20px var(--rank-glow);
}

.course-badge span::after {
  left: 16px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: rgba(255,255,255,.82);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
}

.course-badge strong {
  min-width: 0;
  white-space: nowrap;
}

.course-badge.level-l1 {
  --rank-text: #0f766e;
  --rank-border: rgba(20, 184, 166, .32);
  --rank-glow: rgba(20, 184, 166, .2);
  --rank-start: #a7f3d0;
  --rank-mid: #14b8a6;
  --rank-end: #0f766e;
  --rank-ribbon: #0d9488;
}

.course-badge.level-l2 {
  --rank-text: #0369a1;
  --rank-border: rgba(56, 189, 248, .34);
  --rank-glow: rgba(56, 189, 248, .22);
  --rank-start: #bae6fd;
  --rank-mid: #38bdf8;
  --rank-end: #0369a1;
  --rank-ribbon: #0284c7;
}

.course-badge.level-l3 {
  --rank-text: #1d4ed8;
  --rank-border: rgba(59, 130, 246, .34);
  --rank-glow: rgba(59, 130, 246, .22);
  --rank-start: #bfdbfe;
  --rank-mid: #3b82f6;
  --rank-end: #1d4ed8;
  --rank-ribbon: #2563eb;
}

.course-badge.level-l4 {
  --rank-text: #6d28d9;
  --rank-border: rgba(139, 92, 246, .34);
  --rank-glow: rgba(139, 92, 246, .22);
  --rank-start: #ddd6fe;
  --rank-mid: #8b5cf6;
  --rank-end: #6d28d9;
  --rank-ribbon: #7c3aed;
}

.course-badge.level-l5 {
  --rank-text: #b45309;
  --rank-border: rgba(245, 158, 11, .34);
  --rank-glow: rgba(245, 158, 11, .24);
  --rank-start: #fde68a;
  --rank-mid: #f59e0b;
  --rank-end: #b45309;
  --rank-ribbon: #d97706;
}

.course-modules {
  grid-column: 1 / -1;
  margin-top: 2px;
  border-radius: var(--radius);
  padding: 24px;
  background: var(--soft);
}

.course-modules-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.course-modules-head strong {
  position: relative;
  padding-left: 18px;
  font-size: 20px;
}

.course-modules-head strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0b77ff;
  transform: translateY(-50%);
}

.course-modules-head span {
  color: var(--muted);
}

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

.module-card {
  min-width: 0;
  min-height: 256px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(74, 171, 240, .28);
  border-left: 4px solid #0b77ff;
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(74, 171, 240, .08);
}

.module-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  margin-bottom: 16px;
}

.module-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #0b77ff;
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 900;
}

.module-card h4 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.32;
  white-space: normal;
  overflow-wrap: anywhere;
}

.module-card-body {
  flex: 1;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.module-visual {
  width: 112px;
  height: 108px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(74, 171, 240, .22);
  border-radius: 16px;
  background: #f5fbff;
  box-shadow: 0 14px 28px rgba(74, 171, 240, .14);
}

.module-card-copy {
  min-width: 0;
  min-height: 108px;
  display: flex;
  flex-direction: column;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.module-card em {
  border: 1px solid rgba(74, 171, 240, .3);
  border-radius: var(--radius);
  padding: 5px 9px;
  color: #0b77ff;
  background: rgba(232,244,253,.8);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.trial-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(40px, 5vh, 58px) 0;
  color: #fff;
  background: linear-gradient(180deg, #43a9ea 0%, #67c3f3 100%);
  scroll-margin-top: -20px;
}

.trial-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trial-layout .trial-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 30px;
  padding: 0 30px;
  border: 2px solid rgba(255,255,255,.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.1);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.trial-layout h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.4vw, 68px);
  line-height: 1.18;
  font-weight: 900;
}

.trial-qr-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  margin-top: 54px;
}

.trial-divider {
  width: 1px;
  height: 118px;
  background: rgba(255,255,255,.35);
}

.trial-qr-card {
  width: 318px;
  min-height: 266px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
}

.trial-qr-card.primary {
  color: var(--ink);
  background: #fff;
}

.trial-qr-card.secondary {
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.trial-qr-tile {
  width: 144px;
  height: 144px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: #eef4fa;
  text-decoration: none;
}

.trial-qr-card.secondary .trial-qr-tile {
  background: rgba(255,255,255,.42);
}

.trial-qr-tile:focus-visible {
  outline: 3px solid rgba(255,255,255,.82);
  outline-offset: 4px;
}

.trial-qr-tile img {
  width: 122px;
  height: 122px;
  object-fit: contain;
}

.trial-qr-card strong {
  margin-top: 22px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.deploy-card,
.login-card,
.admin-editor,
.admin-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 50px 0;
  color: rgba(255,255,255,.72);
  background: #142337;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.footer-brand img {
  width: 260px;
  height: auto;
  display: block;
  border-radius: 6px;
}

.footer-separator {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,.32);
}

.footer-inner p {
  margin: 0;
  color: rgba(255,255,255,.42);
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.subpage {
  min-height: calc(100vh - 72px);
  padding: 32px 0 90px;
  background: linear-gradient(180deg, var(--soft), #fff 220px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-bottom: 22px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(74, 171, 240, .24);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  transition: color .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.back-link:hover {
  color: #fff;
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(35, 139, 211, .3);
  transform: translateX(-2px);
}

.page-title {
  max-width: 760px;
  margin: 28px 0 36px;
}

.page-title h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.toolbar.compact {
  margin-bottom: 14px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  background: #fff;
  font-weight: 800;
}

.filter-btn.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.search-input,
.field input,
.field textarea,
.field select,
.login-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.search-input {
  max-width: 320px;
}

.search-input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus,
.login-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74, 171, 240, .14);
}

.detail-shell {
  min-height: 360px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 34px;
  align-items: start;
}

.detail-media-col {
  display: grid;
  gap: 18px;
}

.detail-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-info h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.12;
}

.detail-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-story {
  position: sticky;
  top: 96px;
}

.detail-section {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.detail-section h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
}

.detail-section p {
  font-size: 16px;
}

.type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tech-list span {
  border: 1px solid rgba(74, 171, 240, .28);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 900;
}

.student-quote {
  margin-top: 24px;
  border: 1px solid rgba(74, 171, 240, .24);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: linear-gradient(135deg, #f4faff, #fff);
  box-shadow: 0 12px 30px rgba(74, 171, 240, .1);
}

.student-quote span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 900;
}

.student-quote p {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.75;
}

.detail-interactions {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.detail-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.detail-action-row .btn {
  min-width: 126px;
}

.detail-action-row .icon-button {
  min-width: 78px;
  min-height: 46px;
  border-radius: 999px;
  font-size: 15px;
}

.detail-action-row .heart-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.comment-box {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.comment-box > strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.comment-form {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 10px;
}

.comment-form input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  outline: none;
}

.comment-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74, 171, 240, .12);
}

.comment-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.comment-item {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
}

.comment-item strong {
  color: var(--ink);
}

.comment-item p {
  margin: 4px 0 0;
}

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

.deploy-hero {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin: 22px 0 22px;
}

.deploy-hero-copy h1 {
  white-space: nowrap;
}

.deploy-step-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.deploy-step-line strong {
  color: var(--primary-dark);
  font-weight: 900;
}

.deploy-step-line span {
  white-space: nowrap;
}

.deploy-video-button {
  min-height: 50px;
  padding: 0 24px;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(74, 171, 240, .34);
}

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

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 40, .64);
  backdrop-filter: blur(8px);
}

.video-modal-panel {
  position: relative;
  width: min(960px, 100%);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 80px rgba(20, 35, 55, .32);
}

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

.video-modal-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.video-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.video-modal video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
}

.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.tool-entry-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.tool-entry-card.primary:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 171, 240, .58);
  box-shadow: var(--shadow-strong);
}

.tool-entry-card.muted {
  color: var(--muted);
  background: linear-gradient(135deg, rgba(245, 249, 254, .92), #fff);
}

.tool-entry-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--primary-soft);
}

.tool-entry-icon img {
  width: 54px;
  height: 54px;
}

.tool-entry-icon.pending {
  color: var(--primary-dark);
  font-size: 42px;
  font-weight: 500;
}

.tool-entry-card span {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.tool-entry-card h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 30px;
}

.tool-entry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.tool-entry-card > strong {
  width: fit-content;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  background: var(--primary);
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(74, 171, 240, .18);
}

.tool-entry-card.muted > strong {
  color: var(--muted);
  background: var(--soft);
  box-shadow: none;
}

.study-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.study-tool-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.study-tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(74, 171, 240, .58);
  box-shadow: var(--shadow-strong);
}

.study-tool-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary-soft);
}

.study-tool-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(12, 28, 46, .16));
  pointer-events: none;
}

.study-tool-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease;
}

.study-tool-card:hover .study-tool-cover img {
  transform: scale(1.035);
}

.study-tool-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.study-tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.study-tool-meta strong {
  min-height: 34px;
  display: inline-flex;
  flex: none;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.study-tool-card h2 {
  margin: 15px 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.32;
}

.study-tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.deploy-card {
  padding: 20px;
}

.deploy-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.deploy-head img {
  width: 58px;
  height: 58px;
}

.deploy-head h2,
.result-card h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.deploy-head p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
}

.drop-zone {
  height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 0 18px;
  border: 2px dashed #acd6f5;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--soft);
  text-align: center;
}

.drop-zone strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.folder-meta {
  color: var(--muted);
  font-size: 13px;
}

.folder-meta:empty {
  display: none;
}

.drop-zone.has-file {
  height: 88px;
  border-color: var(--green);
  background: #f0fbf4;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.form-message {
  min-height: 22px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.form-message.error { color: #d33f49; }
.form-message.success { color: #16834b; }

.terminal {
  min-height: 230px;
  overflow: auto;
  border-radius: var(--radius);
  padding: 16px;
  color: #d7f3ff;
  background: #0f2032;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.terminal p {
  margin: 0 0 6px;
}

.deploy-result {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: #f0fbf4;
}

.deploy-result span {
  display: block;
  color: #16834b;
  font-weight: 900;
  margin-bottom: 6px;
}

.deploy-result a:not(.btn) {
  display: block;
  color: var(--primary-dark);
  word-break: break-all;
  margin-bottom: 14px;
}

.admin-page {
  min-height: 100vh;
  background: #f4f8fc;
}

.admin-shell {
  width: min(1500px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 60px;
}

.admin-login {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
}

.login-card {
  width: min(430px, 100%);
  padding: 30px;
}

.login-card img {
  width: 190px;
  margin-bottom: 18px;
}

.login-card h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

.login-card p {
  color: var(--muted);
  line-height: 1.7;
}

.login-card form {
  display: grid;
  gap: 12px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(74, 171, 240, .08);
}

.stat-card strong {
  display: block;
  font-size: 30px;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

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

.admin-list,
.admin-editor {
  padding: 18px;
}

.admin-table {
  overflow: auto;
}

.admin-row {
  display: grid;
  grid-template-columns: 1.2fr 120px 120px 116px;
  gap: 12px;
  align-items: center;
  min-width: 760px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
}

.admin-row.header {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--light);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.admin-row:not(.header) {
  cursor: pointer;
}

.admin-row:not(.header):hover,
.admin-row.active {
  background: var(--soft);
}

.admin-row strong {
  display: block;
}

.admin-row small {
  color: var(--muted);
}

.badge {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.badge.pending { color: #936a00; background: #fff4c7; }
.badge.approved { color: #127c48; background: #e9f9ef; }
.badge.rejected { color: #ad2632; background: #ffe9ec; }
.badge.listed { color: #176cab; background: var(--primary-soft); }
.badge.featured { color: #b05b00; background: #fff0da; }

.admin-editor h2 {
  margin: 0 0 16px;
}

.field textarea {
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}

.editor-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 36px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  text-align: center;
}

@media (max-width: 980px) {
  .menu-button { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { justify-content: center; }
  .hero-inner,
  .method-layout,
  .trial-layout,
  .detail-grid,
  .deploy-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .hero-inner { gap: 28px; }
  .hero-visual { min-height: 440px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card-grid { grid-template-columns: 1fr; }
  .deploy-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .course-tabs { grid-template-columns: 1fr; }
  .course-tab { border-right: 0; border-bottom: 1px solid var(--line); }
  .course-panel,
  .module-grid {
    grid-template-columns: 1fr;
  }
  .course-result-card,
  .course-knowledge {
    border-right: 0;
    padding-right: 0;
  }
  .detail-story {
    position: static;
  }
  .course-modules {
    grid-column: auto;
  }
  .module-card-body {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .module-visual {
    width: 150px;
    height: 112px;
  }
  .trial-qr-row {
    gap: 24px;
  }
  .field-grid, .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .study-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section-inner,
  .admin-shell {
    width: min(100% - 28px, var(--max));
  }
  .site-nav {
    padding: 0 14px;
  }
  .brand img { width: 150px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 52px; }
  .hero-stats, .hero-actions { display: grid; }
  .hero-stats div { min-width: 0; }
  .hero-visual { min-height: 430px; }
  .hero-carousel { min-height: 410px; }
  .deploy-step-line {
    display: grid;
    gap: 4px;
  }
  .deploy-video-button {
    width: 100%;
  }
  .video-modal {
    padding: 14px;
  }
  .hero-preview-card {
    top: 96px;
    width: 64%;
  }
  .hero-preview-left { left: -8px; }
  .hero-preview-right { right: -8px; }
  .hero-work-card {
    left: 50%;
    top: 38px;
    width: 88%;
  }
  .section { padding: 68px 0; }
  .trial-section {
    min-height: calc(100vh - 72px);
    padding: 46px 0 54px;
  }
  .trial-layout .trial-kicker {
    min-height: 40px;
    margin-bottom: 26px;
    padding: 0 22px;
    font-size: 16px;
  }
  .trial-layout h2 {
    font-size: 38px;
  }
  .trial-qr-row {
    flex-direction: column;
    gap: 18px;
    margin-top: 38px;
  }
  .trial-divider {
    width: 120px;
    height: 1px;
  }
  .trial-qr-card {
    width: min(100%, 310px);
    min-height: 252px;
    border-radius: 26px;
  }
  .trial-qr-card strong {
    font-size: 20px;
  }
  .works-grid,
  .study-tool-grid,
  .module-grid,
  .ability-grid,
  .field-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .method-orbit-card { min-height: 460px; }
  .method-node {
    width: 84px;
    height: 84px;
    font-size: 24px;
  }
  .method-node:nth-child(1) { left: calc(50% - 42px); top: -10px; }
  .method-node:nth-child(2) { right: -4px; top: 116px; }
  .method-node:nth-child(3) { right: 38px; bottom: 12px; }
  .method-node:nth-child(4) { left: 38px; bottom: 12px; }
  .method-node:nth-child(5) { left: -4px; top: 116px; }
  .method-center { inset: 38px; }
  .method-center h3 { font-size: 20px; }
  .method-center strong {
    margin-top: 5px;
    font-size: 12px;
  }
  .method-center p {
    margin-top: 7px;
    max-width: 154px;
    font-size: 10px;
    line-height: 1.28;
  }
  .method-copy h2 {
    font-size: 34px;
    white-space: nowrap;
  }
  .method-center-image {
    flex-basis: 92px;
    width: 72%;
    height: 92px;
    margin-top: 18px;
    border-radius: 12px;
  }
  .method-center-copy {
    width: 82%;
    padding-top: 8px;
  }
  .method-ability-row { display: none; }
  .course-panel { padding: 18px; }
  .detail-info,
  .detail-interactions {
    padding: 18px;
  }
  .comment-form {
    grid-template-columns: 1fr;
  }
  .course-modules { padding: 18px; }
  .module-card { padding: 18px; }
  .module-card-head {
    gap: 10px;
    margin-bottom: 14px;
  }
  .module-card h4 { font-size: 16px; }
  .module-card-body {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
  }
  .module-visual {
    width: 104px;
    height: 96px;
    border-radius: 14px;
  }
  .module-card ul {
    font-size: 14px;
    line-height: 1.48;
  }
  .module-tags { gap: 6px; margin-top: 10px; }
  .module-card em { font-size: 12px; padding: 4px 8px; }
  .toolbar, .admin-top, .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { align-items: center; text-align: center; }
  .footer-separator { display: none; }
  .search-input { max-width: none; }
  .comment-form { grid-template-columns: 1fr; }
}

[hidden] {
  display: none !important;
}
