:root {
  --ink: #171722;
  --ink-soft: #555563;
  --paper: #f7f6f2;
  --paper-bright: #fff;
  --line: rgba(23, 23, 34, 0.12);
  --line-strong: rgba(23, 23, 34, 0.2);
  --violet: #6d4aff;
  --violet-dark: #4930d9;
  --violet-soft: #eee9ff;
  --mint: #b9f1d2;
  --coral: #ff8b73;
  --yellow: #ffd66b;
  --blue: #79c6ff;
  --green: #16885c;
  --danger: #b42318;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 42px;
  --shadow-soft: 0 24px 70px rgba(28, 23, 61, 0.1);
  --shadow-card: 0 14px 34px rgba(28, 23, 61, 0.08);
  --max-width: 1180px;
  --font:
    "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(109, 74, 255, 0.4);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  padding: 14px 0;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  padding: 9px 0;
  background: rgba(247, 246, 242, 0.88);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 54px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
}

.brand > span:last-child {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.brand-copy {
  min-height: 48px;
  align-content: center;
}

.brand-name {
  display: grid;
  gap: 3px;
  line-height: 0.95;
  white-space: nowrap;
}

.brand-name > span {
  display: block;
}

.brand-logo {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  background: #fff;
}

.brand-logo img {
  position: absolute;
  top: -13px;
  left: -15px;
  width: 74px;
  height: 74px;
  max-width: none;
  display: block;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 7px;
  border-radius: 11px;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}

.brand-mark i {
  display: block;
  border-radius: 999px;
  background: #fff;
  transform: rotate(15deg);
}

.brand-mark i:nth-child(1) {
  height: 9px;
  background: var(--mint);
}

.brand-mark i:nth-child(2) {
  height: 18px;
  background: #fff;
}

.brand-mark i:nth-child(3) {
  height: 13px;
  background: #b8a9ff;
}

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

.site-nav > a {
  position: relative;
  color: #3d3d49;
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a::after {
  content: "";
  position: absolute;
  inset: auto 0 -5px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
}

.button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 14px;
}

.button-large {
  min-height: 56px;
  padding-inline: 26px;
}

.button-full {
  width: 100%;
  min-height: 54px;
}

.button-primary {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 12px 28px rgba(109, 74, 255, 0.24);
}

.button-primary:hover {
  background: var(--violet-dark);
  box-shadow: 0 16px 32px rgba(109, 74, 255, 0.3);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-dark:hover {
  background: #30303d;
}

.button-light {
  color: var(--ink);
  background: #fff;
}

.button-light:hover {
  background: var(--mint);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.48);
}

.button-ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.button[disabled] {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.hero {
  position: relative;
  padding: 144px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(23, 23, 34, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 34, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.65;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  top: 10%;
  left: -230px;
  background: radial-gradient(circle, rgba(185, 241, 210, 0.7), transparent 68%);
}

.hero-glow-two {
  width: 620px;
  height: 620px;
  top: 0;
  right: -220px;
  background: radial-gradient(circle, rgba(218, 208, 255, 0.78), transparent 67%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 58px;
}

.eyebrow,
.section-kicker,
.dialog-kicker {
  margin-bottom: 18px;
  color: var(--violet-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(109, 74, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #26a269;
  box-shadow: 0 0 0 5px rgba(38, 162, 105, 0.12);
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: var(--violet);
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
}

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

.hero-assurances {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  color: #666673;
  font-size: 13px;
}

.hero-assurances span {
  color: var(--green);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.visual-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  background: #eeeae7;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(23, 23, 34, 0.04);
  pointer-events: none;
}

.visual-frame img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 58% center;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 38px rgba(28, 23, 61, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
}

.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card small {
  color: var(--ink-soft);
  font-size: 10px;
}

.floating-card strong {
  font-size: 13px;
}

.floating-card-top {
  top: 34px;
  right: -26px;
}

.floating-card-bottom {
  bottom: 26px;
  left: -34px;
  animation-delay: -2.4s;
}

.mini-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-weight: 900;
}

.mini-icon-violet {
  color: #fff;
  background: var(--violet);
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack span {
  width: 31px;
  height: 31px;
  margin-left: -8px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #3e355b;
  background: var(--mint);
  font-size: 10px;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) {
  background: #d9d0ff;
}

.avatar-stack span:nth-child(3) {
  background: #ffd0c6;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.proof-strip {
  margin-top: 74px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  white-space: nowrap;
}

.proof-items {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 24px;
}

.proof-items span {
  font-size: 13px;
  font-weight: 700;
}

.proof-items b {
  margin-right: 8px;
  color: var(--violet);
  font-size: 10px;
}

.section {
  padding: 126px 0;
}

.split-heading,
.section-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 58px;
}

.split-heading h2,
.section-heading h2,
.path-copy h2,
.faq-shell h2,
.final-cta-card h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.split-heading > p,
.section-heading > p {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.idea-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.idea-rail article {
  position: relative;
  min-height: 292px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.idea-rail article:last-child {
  border-right: 0;
}

.idea-rail article > span {
  color: #8a8a95;
  font-size: 11px;
  font-weight: 800;
}

.idea-symbol {
  width: 66px;
  height: 66px;
  margin: 38px 0 30px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-size: 27px;
  font-weight: 800;
  transform: rotate(-5deg);
  transition: transform 180ms ease;
}

.idea-rail article:hover .idea-symbol {
  transform: rotate(3deg) scale(1.04);
}

.symbol-spark {
  background: var(--yellow);
}

.symbol-build {
  background: #d7ccff;
}

.symbol-test {
  background: var(--mint);
}

.symbol-launch {
  background: #ffd0c6;
}

.idea-rail h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.idea-rail p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.courses-section {
  background: #fff;
}

.section-heading {
  align-items: end;
}

.filter-row,
.project-toolbar {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.filter-tabs,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab,
.chip {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.filter-tab:hover,
.chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-tab.is-active,
.chip.is-active {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.filter-result,
.project-toolbar > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.course-sort-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.sort-control select {
  min-height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.sort-control select:focus-visible {
  border-color: var(--violet);
  outline: 3px solid rgba(109, 74, 255, 0.14);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.course-card.has-schedule {
  grid-column: 1 / -1;
}

.course-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-bright);
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(109, 74, 255, 0.25);
  box-shadow: var(--shadow-card);
}

.course-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -65px;
  right: -55px;
  border-radius: 50%;
  background: var(--course-soft);
}

.course-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.course-badges {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
}

.course-status {
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.course-status.is-planned {
  color: #715b18;
  background: #fff2ba;
}

.course-status.is-enrolling {
  color: #17672e;
  background: #dff5d8;
}

.course-status.is-sold-out {
  color: #a54024;
  background: #ffe4d8;
}

.course-status.is-ended {
  color: #62626e;
  background: #e8e8eb;
}

.course-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--ink);
  background: var(--course-color);
  font-size: 22px;
  font-weight: 900;
  box-shadow: inset 0 -4px 8px rgba(23, 23, 34, 0.07);
}

.course-level {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.course-card h3 {
  margin: 28px 0 10px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.course-desc {
  min-height: 52px;
  margin-bottom: 23px;
  color: var(--ink-soft);
  font-size: 14px;
}

.course-outcome {
  margin: 0 0 22px;
  padding: 15px 16px;
  border-radius: 15px;
  background: var(--course-soft);
  font-size: 13px;
}

.course-outcome strong {
  display: block;
  margin-bottom: 2px;
}

.course-meta {
  margin: 0;
  padding: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  border-bottom: 1px solid var(--line);
  list-style: none;
  color: #62626e;
  font-size: 12px;
}

.course-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-schedule {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.course-schedule > summary {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.course-schedule > summary::-webkit-details-marker {
  display: none;
}

.course-schedule[open] > summary {
  border-bottom: 1px solid var(--line);
}

.schedule-overview {
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--course-soft);
  font-size: 11px;
}

.schedule-overview span,
.schedule-overview b {
  display: block;
}

.schedule-overview b {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 10px;
}

.course-schedule[open] > summary span:last-child {
  transform: rotate(45deg);
}

.course-schedule > ol {
  margin: 0;
  padding: 5px 16px;
  list-style: none;
}

.course-schedule > ol > li {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  border-bottom: 1px dashed var(--line);
}

.course-schedule > ol > li:last-child {
  border-bottom: 0;
}

.schedule-index {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
}

.schedule-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.schedule-heading strong {
  font-size: 13px;
}

.schedule-heading span {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 11px;
}

.schedule-content ul {
  margin: 7px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.schedule-note {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper-soft);
  font-size: 11px;
  font-weight: 700;
}

.meta-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--course-color);
}

.course-footer {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.course-price small,
.course-price strong {
  display: block;
}

.course-price small {
  color: var(--ink-soft);
  font-size: 11px;
}

.course-price strong {
  font-size: 21px;
}

.course-actions {
  display: flex;
  gap: 8px;
}

.course-actions .button {
  min-height: 42px;
  padding-inline: 15px;
  font-size: 12px;
}

.projects-section {
  background: #eeece7;
}

.projects-heading {
  margin-bottom: 38px;
}

.project-search {
  margin-bottom: 24px;
}

.project-search > label {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 700;
}

.search-field {
  position: relative;
}

.search-field > span {
  position: absolute;
  top: 50%;
  left: 20px;
  z-index: 1;
  color: #73737f;
  font-size: 25px;
  transform: translateY(-52%);
}

.search-field input {
  width: 100%;
  min-height: 64px;
  padding: 0 100px 0 57px;
  border: 1px solid transparent;
  border-radius: 19px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 30px rgba(28, 23, 61, 0.04);
  font-size: 16px;
}

.search-field input::placeholder {
  color: #9696a0;
}

.search-field input:focus {
  border-color: var(--violet);
  outline: 3px solid rgba(109, 74, 255, 0.13);
}

.clear-search {
  position: absolute;
  top: 50%;
  right: 14px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding-inline: 13px;
  background: #f0eef8;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-50%);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  min-width: 0;
  border: 1px solid rgba(23, 23, 34, 0.06);
  border-radius: 25px;
  background: #fff;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.project-art {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
  background: var(--project-bg);
  overflow: hidden;
}

.project-art::before,
.project-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(23, 23, 34, 0.12);
  border-radius: 50%;
}

.project-art::before {
  width: 170px;
  height: 170px;
  top: -80px;
  right: -50px;
}

.project-art::after {
  width: 90px;
  height: 90px;
  bottom: -45px;
  left: -25px;
}

.project-device {
  position: relative;
  z-index: 1;
  width: 136px;
  min-height: 126px;
  padding: 12px;
  border: 6px solid var(--ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 8px 10px 0 rgba(23, 23, 34, 0.12);
  transform: rotate(var(--project-rotation));
  transition: transform 200ms ease;
}

.project-card:hover .project-device {
  transform: rotate(0) scale(1.03);
}

.device-top {
  height: 7px;
  margin-bottom: 11px;
  border-radius: 99px;
  background: var(--project-accent);
}

.device-symbol {
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: var(--project-soft);
  font-size: 28px;
  font-weight: 900;
}

.device-lines {
  margin-top: 9px;
  display: grid;
  gap: 5px;
}

.device-lines i {
  width: 100%;
  height: 5px;
  display: block;
  border-radius: 99px;
  background: #e9e7ed;
}

.device-lines i:last-child {
  width: 62%;
}

.project-body {
  padding: 21px 22px 22px;
}

.project-meta {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 11px;
}

.project-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--project-soft);
  color: var(--ink);
  font-weight: 800;
}

.project-card h3 {
  margin-bottom: 7px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.project-card p {
  min-height: 46px;
  margin-bottom: 17px;
  color: var(--ink-soft);
  font-size: 13px;
}

.text-button {
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--violet-dark);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.text-button:hover {
  color: var(--ink);
}

.empty-state {
  padding: 70px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-state > div {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #fff;
  font-size: 29px;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.path-section {
  background: var(--ink);
  color: #fff;
}

.path-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 100px;
}

.section-kicker.light {
  color: var(--mint);
}

.path-copy h2 {
  margin-bottom: 24px;
}

.path-copy > p:not(.section-kicker) {
  margin-bottom: 32px;
  color: #b8b8c3;
  font-size: 17px;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 113px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.timeline li {
  position: relative;
  min-height: 105px;
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 36px;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 108px;
  width: 11px;
  height: 11px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.timeline li > span {
  padding-top: 2px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
}

.timeline h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.timeline p {
  margin: 0;
  color: #a9a9b5;
  font-size: 14px;
}

.trial-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.trial-steps {
  padding: 42px;
  display: grid;
  gap: 28px;
}

.trial-steps > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 18px;
}

.trial-steps > div > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--violet-dark);
  background: var(--violet-soft);
  font-size: 13px;
  font-weight: 800;
}

.trial-steps p {
  margin: 0;
}

.trial-steps strong,
.trial-steps small {
  display: block;
}

.trial-steps strong {
  margin-bottom: 3px;
  font-size: 16px;
}

.trial-steps small {
  color: var(--ink-soft);
}

.trial-action {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--violet-soft);
}

.trial-action > p:first-child {
  margin-bottom: 12px;
}

.trial-action strong {
  margin-right: 10px;
  font-size: 42px;
  letter-spacing: -0.04em;
}

.trial-action span {
  color: #777384;
  font-size: 13px;
  text-decoration: line-through;
}

.trial-action > p:nth-child(2) {
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: 13px;
}

.faq-section {
  padding-top: 80px;
}

.faq-shell {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 90px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  font-size: 23px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 700px;
  margin: -4px 42px 24px 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.final-cta {
  padding-top: 40px;
}

.final-cta-card {
  position: relative;
  padding: 90px 30px;
  border-radius: var(--radius-xl);
  color: #fff;
  background: var(--violet);
  text-align: center;
  overflow: hidden;
}

.final-cta-card .section-kicker {
  margin-bottom: 24px;
}

.final-cta-card h2 {
  position: relative;
  margin-bottom: 34px;
}

.final-cta-card .button {
  position: relative;
}

.final-cta-card > p:last-child {
  position: relative;
  margin: 18px 0 0;
  color: #dfd8ff;
  font-size: 12px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.orbit-one {
  width: 380px;
  height: 380px;
  top: -210px;
  left: -120px;
}

.orbit-two {
  width: 480px;
  height: 480px;
  right: -170px;
  bottom: -270px;
}

.site-footer {
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr 1fr;
  gap: 44px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-grid a:not(.brand),
.footer-grid span {
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-grid a:not(.brand):hover {
  color: var(--ink);
}

.footer-label {
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #898993;
  font-size: 11px;
}

.dialog {
  width: min(calc(100% - 32px), 650px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 100px rgba(23, 23, 34, 0.3);
  overflow: auto;
}

.dialog::backdrop {
  background: rgba(20, 19, 27, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dialog[open] {
  animation: dialog-in 180ms ease-out;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}

.dialog-shell {
  position: relative;
  padding: 36px;
}

.dialog-shell-wide {
  padding: 38px;
}

.checkout-dialog {
  width: min(calc(100% - 32px), 940px);
}

.project-dialog {
  width: min(calc(100% - 32px), 820px);
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(239, 237, 244, 0.92);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  background: #e5e1ed;
}

.dialog-accent {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--violet-dark);
  background: var(--violet-soft);
  font-size: 23px;
}

.dialog-kicker {
  margin-bottom: 10px;
}

.dialog h2 {
  margin-bottom: 12px;
  padding-right: 35px;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.dialog-lede {
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 14px;
}

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

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

.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
}

.field-label {
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.field select:focus {
  border-color: var(--violet);
  outline: 3px solid rgba(109, 74, 255, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
  outline-color: rgba(180, 35, 24, 0.12);
}

.field-hint,
.field-error {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}

.field-hint {
  color: #777782;
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-weight: 700;
}

.choice-field,
.payment-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-card {
  position: relative;
  min-height: 68px;
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: var(--violet);
  background: var(--violet-soft);
  box-shadow: 0 0 0 2px rgba(109, 74, 255, 0.08);
}

.choice-card input {
  width: 17px;
  min-height: auto;
  height: 17px;
  padding: 0;
  accent-color: var(--violet);
}

.choice-card b,
.choice-card small {
  display: block;
}

.choice-card b {
  font-size: 13px;
}

.choice-card small {
  color: var(--ink-soft);
  font-size: 10px;
}

.class-choice-note,
.selected-class-card {
  display: flex;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-soft);
}

.class-choice-note {
  flex-direction: column;
  gap: 3px;
}

.class-choice-note b,
.selected-class-card b,
.selected-class-card small {
  display: block;
}

.class-choice-note b,
.selected-class-card b {
  font-size: 13px;
}

.class-choice-note span,
.selected-class-card small {
  color: var(--ink-soft);
  font-size: 11px;
}

.selected-class-card {
  align-items: center;
  background: var(--violet-soft);
}

.selected-class-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--violet);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
}

.check-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--violet);
}

.form-status {
  min-height: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.form-status.is-loading,
.form-status.is-success,
.form-status.is-error {
  min-height: 38px;
  padding: 9px 11px;
  border-radius: 10px;
}

.form-status.is-loading {
  color: #4930d9;
  background: var(--violet-soft);
}

.form-status.is-success {
  color: #0b6b45;
  background: #e5f7ed;
}

.form-status.is-error {
  color: var(--danger);
  background: #fff0ee;
}

.success-view {
  padding: 54px 22px 24px;
  text-align: center;
}

.success-view[hidden] {
  display: none;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #0f7049;
  background: var(--mint);
  font-size: 32px;
  font-weight: 900;
}

.success-view h2 {
  padding: 0;
}

.success-view > p:not(.dialog-kicker) {
  max-width: 500px;
  margin: 0 auto 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.code-row {
  margin-bottom: 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}

.code-row code {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.code-row button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  padding-inline: 12px;
  color: var(--violet-dark);
  background: var(--violet-soft);
  cursor: pointer;
  font-weight: 800;
}

.checkout-head {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.checkout-head h2 {
  margin: 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

.checkout-main {
  display: grid;
  align-content: start;
  gap: 24px;
}

.payment-field > legend {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
}

.payment-options {
  display: grid;
  gap: 9px;
}

.payment-options label {
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.payment-options label:has(input:checked) {
  border-color: var(--violet);
  background: #faf9ff;
}

.payment-options input {
  accent-color: var(--violet);
}

.payment-options b {
  font-size: 13px;
}

.payment-options small {
  color: var(--ink-soft);
  font-size: 10px;
}

.payment-panel {
  padding: 14px;
  display: grid;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-soft);
}

.payment-panel[hidden] {
  display: none;
}

.wechat-payment-panel {
  grid-template-columns: 1fr 190px;
}

.wechat-payment-panel > div {
  align-self: start;
}

.wechat-payment-panel b,
.wechat-payment-panel span,
.card-payment-panel b,
.card-payment-panel span {
  display: block;
}

.wechat-payment-panel b,
.card-payment-panel b {
  margin-bottom: 5px;
  font-size: 13px;
}

.wechat-payment-panel span,
.card-payment-panel span {
  color: var(--ink-soft);
  font-size: 11px;
}

.wechat-payment-panel img,
.success-payment-qr {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.card-payment-panel {
  grid-template-columns: auto 1fr;
}

.card-payment-panel p {
  margin: 0;
}

.pay-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.pay-wechat {
  background: #1aad19;
}

.pay-card {
  background: #4f46b5;
}

.order-card {
  align-self: start;
  padding: 22px;
  border-radius: 20px;
  background: var(--paper);
}

.order-label {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.order-course {
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}

.order-dot {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--violet-soft);
}

.order-course strong,
.order-course small {
  display: block;
}

.order-course strong {
  font-size: 13px;
}

.order-course small {
  color: var(--ink-soft);
  font-size: 10px;
}

.order-card dl {
  margin: 17px 0 20px;
}

.order-card dl > div {
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 12px;
}

.order-card dd {
  margin: 0;
}

.order-card .order-total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.order-total dd {
  font-size: 20px;
}

.secure-note {
  margin: 11px 0 0;
  color: #858590;
  font-size: 9px;
  text-align: center;
}

.success-payment-qr {
  max-width: 240px;
  margin: 0 auto 20px;
}

.receipt {
  max-width: 430px;
  margin: 0 auto 24px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
  background: var(--paper);
  font-size: 12px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dialog-shell-project {
  padding: 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
}

.project-detail-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
  background: var(--project-bg);
  overflow: hidden;
}

.project-detail-visual .project-device {
  width: 190px;
  min-height: 180px;
  padding: 17px;
  border-width: 8px;
  border-radius: 28px;
}

.project-detail-visual .device-symbol {
  height: 82px;
  font-size: 42px;
}

.project-detail-content {
  padding: 46px 38px;
}

.project-meta-line {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 11px;
}

.project-meta-line span:first-child {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--project-soft);
  font-weight: 800;
}

.project-detail-content > p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.detail-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-block h3 {
  margin-bottom: 6px;
  font-size: 12px;
}

.detail-block p,
.detail-block blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.detail-block blockquote {
  padding-left: 13px;
  border-left: 3px solid var(--project-accent);
}

.detail-actions {
  margin-top: 28px;
  display: flex;
  gap: 9px;
}

.detail-actions .button {
  min-height: 44px;
  padding-inline: 15px;
  font-size: 12px;
}

.toast-region {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 38px rgba(23, 23, 34, 0.26);
  font-size: 12px;
  animation: toast-in 180ms ease-out;
}

.toast::before {
  content: "✓";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--ink);
  background: var(--mint);
  font-size: 10px;
  font-weight: 900;
}

.toast.is-error::before {
  content: "!";
  background: #ffb7aa;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (max-width: 1020px) {
  .hero {
    padding-top: 118px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

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

  .hero h1 {
    max-width: 770px;
  }

  .visual-frame img {
    min-height: 460px;
  }

  .floating-card-top {
    right: 20px;
  }

  .floating-card-bottom {
    left: 20px;
  }

  .proof-strip {
    align-items: flex-start;
  }

  .proof-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .idea-rail {
    grid-template-columns: 1fr 1fr;
  }

  .idea-rail article:nth-child(2) {
    border-right: 0;
  }

  .idea-rail article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .path-shell {
    gap: 55px;
  }

  .trial-card {
    grid-template-columns: 1fr 0.72fr;
  }

  .faq-shell {
    gap: 55px;
  }

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

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .nav-shell {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    padding: 10px 0;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand strong {
    font-size: 13px;
    letter-spacing: 0;
  }

  .site-header .brand-copy {
    min-height: 40px;
  }

  .site-header .brand-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .site-header .brand-logo img {
    top: -11px;
    left: -13px;
    width: 62px;
    height: 62px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    place-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
  }

  .menu-button span:not(.sr-only) {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    padding: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

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

  .site-nav > a {
    padding: 11px 10px;
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 6px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(44px, 13vw, 64px);
  }

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

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-assurances {
    display: grid;
    gap: 7px;
  }

  .visual-frame {
    border-radius: 28px;
  }

  .visual-frame img {
    min-height: 390px;
    object-position: 64% center;
  }

  .floating-card {
    padding: 10px 12px;
  }

  .floating-card-top {
    top: 16px;
    right: 12px;
  }

  .floating-card-bottom {
    bottom: 16px;
    left: 12px;
  }

  .proof-strip {
    margin-top: 48px;
    align-items: stretch;
    flex-direction: column;
  }

  .proof-strip > p {
    white-space: normal;
  }

  .proof-items {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .proof-items span {
    font-size: 12px;
  }

  .section {
    padding: 86px 0;
  }

  .split-heading,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .split-heading h2,
  .section-heading h2,
  .path-copy h2,
  .faq-shell h2,
  .final-cta-card h2 {
    font-size: clamp(36px, 10.5vw, 50px);
  }

  .split-heading > p,
  .section-heading > p {
    font-size: 15px;
  }

  .idea-rail,
  .course-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .idea-rail article,
  .idea-rail article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .idea-rail article:last-child {
    border-bottom: 0;
  }

  .idea-symbol {
    margin: 26px 0 20px;
  }

  .filter-row,
  .project-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-sort-wrap,
  .sort-control {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .sort-control select {
    width: 100%;
  }

  .course-card {
    padding: 22px;
  }

  .course-desc {
    min-height: auto;
  }

  .course-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .course-actions {
    width: 100%;
  }

  .course-actions .button {
    flex: 1;
  }

  .course-schedule > ol > li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .schedule-overview {
    grid-template-columns: 1fr;
  }

  .schedule-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .project-art {
    height: 240px;
  }

  .project-card p {
    min-height: auto;
  }

  .path-shell,
  .faq-shell {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .timeline::before {
    left: 79px;
  }

  .timeline li {
    grid-template-columns: 66px 1fr;
    gap: 28px;
  }

  .timeline li::before {
    left: 74px;
  }

  .trial-card {
    grid-template-columns: 1fr;
  }

  .trial-steps,
  .trial-action {
    padding: 28px;
  }

  .trial-action .button {
    width: 100%;
  }

  .faq-section {
    padding-top: 40px;
  }

  .final-cta {
    padding-top: 20px;
  }

  .final-cta-card {
    padding: 70px 22px;
    border-radius: 30px;
  }

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

  .footer-brand,
  .footer-note {
    grid-column: 1 / -1;
  }

  .dialog-shell,
  .dialog-shell-wide {
    padding: 28px 20px;
  }

  .dialog h2 {
    font-size: 28px;
  }

  .field-grid,
  .choice-grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .wechat-payment-panel img {
    max-width: 260px;
    margin-inline: auto;
  }

  .order-card {
    order: -1;
  }

  .dialog-shell-project {
    display: block;
    padding: 0;
  }

  .project-detail-visual {
    min-height: 290px;
  }

  .project-detail-visual .project-device {
    width: 150px;
    min-height: 145px;
  }

  .project-detail-content {
    padding: 30px 22px;
  }

  .detail-actions,
  .success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .toast-region {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

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

  .eyebrow {
    font-size: 10px;
  }

  .visual-frame img {
    min-height: 340px;
  }

  .floating-card-top {
    display: none;
  }

  .floating-card-bottom {
    right: 12px;
    left: 12px;
    justify-content: center;
  }

  .proof-items {
    grid-template-columns: 1fr;
  }

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

  .trial-steps > div {
    grid-template-columns: 42px 1fr;
    gap: 13px;
  }

  .trial-steps > div > span {
    width: 42px;
    height: 42px;
  }

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

  .footer-brand,
  .footer-note {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
