:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #696969;
  --soft: #f7f7f5;
  --line: #e7e7e3;
  --line-dark: #d9d9d4;
  --accent: #0f0f0f;
  --green: #1f8f5f;
  --orange: #c16b2e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.12);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(180deg, rgba(17, 17, 17, 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
  letter-spacing: 0;
}

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

p,
h1,
h2,
h3,
li,
a,
span {
  overflow-wrap: anywhere;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 44px;
  border-bottom: 1px solid rgba(231, 231, 227, 0.9);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 15px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #111 url("/brand-logo.svg") center / cover no-repeat;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.brand-mark svg {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  color: #3c3c3c;
}

.nav-links a,
.text-link {
  transition: color 160ms ease;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.language-switcher button {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
}

.language-switcher button.active {
  background: #111;
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 680;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button svg {
  width: 16px;
  height: 16px;
}

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

.button-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.button-dark:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

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

.button-large {
  min-height: 48px;
  padding: 0 20px;
  font-size: 15px;
}

.text-link {
  font-size: 14px;
  font-weight: 640;
}

.text-link-large {
  font-size: 15px;
}

main {
  overflow: hidden;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(620px, 1.16fr);
  gap: 56px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 64px 44px 34px;
}

.hero {
  min-height: min(780px, calc(100vh - 72px));
  align-items: center;
}

.hero-copy {
  min-width: 0;
  max-width: 560px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 6vw, 92px);
  line-height: 0.94;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 500px;
  margin: 24px 0 30px;
  color: #242424;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 560;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 22px;
}

.hero-proof span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #3d3d3d;
  font-size: 12px;
  font-weight: 720;
}

.feature-list {
  display: grid;
  gap: 8px;
  padding: 10px 0 8px;
}

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

.hero-summary article {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-summary b {
  font-size: 15px;
}

.hero-summary span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.feature-line {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

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

.line-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #444;
  background: #fff;
}

.line-icon svg {
  width: 17px;
  height: 17px;
}

.feature-line h2 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.35;
}

.feature-line p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.system-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-frame {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #dcdcd8;
  border-radius: 8px;
  background: #fbfbfa;
  box-shadow: var(--shadow);
}

.product-shot {
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.product-scene {
  position: relative;
}

.scene-stage {
  position: relative;
  min-height: 584px;
  padding: 28px 24px 152px;
  border: 1px solid #dcdcd8;
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 20%, rgba(77, 179, 137, 0.16), transparent 28%),
    radial-gradient(circle at 84% 68%, rgba(17, 17, 17, 0.1), transparent 26%),
    linear-gradient(135deg, #fbfbf7 0%, #eef3ef 54%, #f7f4ec 100%);
  box-shadow: 0 34px 90px rgba(17, 17, 17, 0.16);
  overflow: hidden;
}

.scene-stage::before {
  content: "";
  position: absolute;
  inset: 28px 34px 128px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px) 0 0 / 34px 34px;
  transform: rotate(-2deg);
}

.scene-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: #111;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.scene-titlebar {
  display: grid;
  grid-template-columns: 12px 12px 12px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #181818;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.scene-titlebar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f45f56;
}

.scene-titlebar span:nth-child(2) {
  background: #f3bd4f;
}

.scene-titlebar span:nth-child(3) {
  background: #57c26b;
}

.scene-titlebar b {
  justify-self: center;
  padding-right: 48px;
  font-weight: 650;
}

.product-shot img,
.scene-window img {
  display: block;
  width: 100%;
  height: auto;
}

.product-shot > img {
  border: 1px solid #dcdcd8;
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
}

.scene-keyboard {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  display: grid;
  width: min(560px, calc(100% - 78px));
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(16px);
  transform: translateX(-50%) perspective(700px) rotateX(10deg);
}

.scene-keyboard span {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #eceee9);
  color: #3f3f3f;
  font-size: 11px;
  font-weight: 760;
  box-shadow: inset 0 -2px 0 rgba(17, 17, 17, 0.06);
}

.scene-keyboard .key-active {
  border-color: rgba(77, 179, 137, 0.64);
  background: #4db389;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(77, 179, 137, 0.14), inset 0 -2px 0 rgba(17, 17, 17, 0.12);
}

.scene-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 4px;
  min-width: 126px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(16px);
}

.scene-card strong {
  font-size: 22px;
  line-height: 1;
}

.scene-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.scene-card-left {
  left: 8px;
  bottom: 132px;
}

.scene-card-right {
  right: 2px;
  top: 86px;
}

.scene-cursor {
  position: absolute;
  z-index: 4;
  right: 96px;
  bottom: 156px;
  width: 8px;
  height: 62px;
  border-radius: 999px;
  background: #4db389;
  box-shadow: 0 0 0 10px rgba(77, 179, 137, 0.14);
  animation: blink 1.25s steps(2, start) infinite;
}

.product-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.window-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: #5b5b5b;
  background: #f6f6f4;
  font-size: 12px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.red { background: #ff5f57; }
.yellow { background: #febc2e; margin-left: -2px; }
.green { background: #28c840; margin-left: -2px; }

.window-bar strong {
  justify-self: start;
  margin-left: 8px;
  font-weight: 650;
}

.window-tools {
  display: flex;
  gap: 6px;
}

.window-tools span {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 5px;
  background: #fff;
}

.app-preview {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) 174px;
  min-height: 590px;
  background: #fff;
}

.preview-sidebar,
.preview-inspector {
  background: #f8f8f6;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
}

.preview-sidebar p {
  margin: 14px 0 6px;
  color: #8a8a86;
  font-size: 11px;
  font-weight: 760;
}

.preview-sidebar p:first-child {
  margin-top: 0;
}

.preview-sidebar span {
  padding: 7px 8px;
  border-radius: 6px;
  color: #555;
  font-size: 12px;
  font-weight: 560;
}

.preview-sidebar span.active {
  background: #eeeeeb;
  color: #171717;
}

.account-mini {
  margin-top: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.account-mini strong,
.account-mini small {
  display: block;
}

.account-mini strong {
  font-size: 12px;
}

.account-mini small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.preview-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 24px;
}

.preview-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.preview-title h3,
.preview-inspector h3 {
  margin: 0;
  font-size: 14px;
}

.preview-title p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, auto auto);
  gap: 2px 8px;
  align-items: baseline;
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.metric-row strong {
  color: var(--ink);
  font-size: 16px;
}

.typing-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.block-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.typing-block p {
  margin: 0;
  font-size: 22px;
  line-height: 1.7;
  font-weight: 680;
}

.input-block {
  min-height: 142px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
}

.input-block span {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.caret {
  width: 2px;
  height: 34px;
  border-radius: 999px;
  background: var(--orange);
  animation: blink 1.15s steps(2, start) infinite;
}

.lab-panel {
  margin-top: auto;
  padding: 14px;
  border: 1px solid #d4e4e1;
  border-radius: 8px;
  background: #fbfefd;
}

.lab-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
}

.lab-head span {
  color: var(--green);
  font-weight: 760;
}

.chart {
  position: relative;
  min-height: 108px;
  overflow: hidden;
  border: 1px solid #dfe9e6;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(31, 143, 95, 0.1) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(180deg, rgba(31, 143, 95, 0.1) 1px, transparent 1px) 0 0 / 38px 38px,
    #f8fffc;
}

.chart svg {
  position: absolute;
  inset: 24px 10px 12px;
  width: calc(100% - 20px);
  height: 70px;
  color: #248666;
}

.chart svg path {
  stroke-width: 2;
}

.bar {
  position: absolute;
  left: 16px;
  height: 6px;
  border-radius: 999px;
}

.bar.one {
  top: 18px;
  width: 38%;
  background: #20b486;
}

.bar.two {
  top: 34px;
  width: 32%;
  background: #6a8dff;
}

.key-signal {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 44px;
  border: 1px solid #cae1db;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.76);
}

.key-signal span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9ba7a2;
}

.preview-inspector {
  padding: 24px 16px;
  border-left: 1px solid var(--line);
}

.preview-inspector h3 {
  margin: 0 0 12px;
}

.preview-inspector h3:not(:first-child) {
  margin-top: 28px;
}

.preview-inspector dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.preview-inspector dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.preview-inspector dt {
  color: var(--muted);
}

.preview-inspector dd {
  margin: 0;
  font-weight: 700;
}

.preview-inspector button {
  width: 100%;
  min-height: 34px;
  margin-top: 12px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.preview-inspector button:disabled {
  color: #aaa;
  background: #eeeeeb;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1272px;
  margin: 0 auto;
  padding: 16px 44px 88px;
}

.feature-strip article {
  padding: 28px 28px 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.feature-strip article:first-child {
  border-radius: 8px 0 0 8px;
}

.feature-strip article:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 8px 0;
}

.feature-strip svg {
  width: 25px;
  height: 25px;
  margin-bottom: 26px;
}

.feature-strip h2,
.pricing h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.feature-strip p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.feature-strip a {
  font-size: 14px;
  font-weight: 720;
}

.conversion-panel,
.outcome-section,
.decision-section,
.final-cta {
  max-width: 1184px;
  margin: 0 auto;
  padding-left: 44px;
  padding-right: 44px;
}

.conversion-panel {
  padding-top: 24px;
  padding-bottom: 62px;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.12;
  font-weight: 760;
}

.section-heading p:not(.section-kicker),
.final-cta p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.pain-grid,
.outcome-grid,
.decision-grid {
  display: grid;
  gap: 14px;
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.pain-grid article,
.outcome-grid article,
.decision-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.pain-grid article {
  padding: 18px;
}

.pain-grid strong {
  display: block;
  font-size: 16px;
}

.pain-grid p,
.outcome-grid p,
.decision-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.outcome-section {
  padding-top: 58px;
  padding-bottom: 68px;
  border-top: 1px solid var(--line);
}

.outcome-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.outcome-grid article {
  padding: 18px;
  background: #fff;
}

.outcome-grid span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.outcome-grid h3,
.decision-grid h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.28;
}

.decision-section {
  padding-top: 0;
  padding-bottom: 64px;
}

.decision-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.decision-grid article {
  padding: 18px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1184px;
  margin: 0 auto 92px;
  padding: 0 44px;
}

.plan-note {
  margin: -12px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.beta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 40px;
  max-width: 1184px;
  margin: 0 auto 88px;
  padding: 34px 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.beta-band h2 {
  margin: 0;
  font-size: 34px;
}

.beta-band p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.beta-band ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #3d3d3d;
  line-height: 1.65;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1184px;
  margin: 0 auto 88px;
  padding: 30px 44px;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(77, 179, 137, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.78);
}

.privacy-band h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.privacy-band p:not(.section-kicker) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.privacy-band ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #3d3d3d;
  font-size: 14px;
  line-height: 1.65;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 364px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.price-card.featured {
  border-color: #111;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
}

.recommend {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 720;
}

.price {
  margin: 22px 0 24px;
  font-size: 38px;
  line-height: 1;
  font-weight: 760;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 80px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.final-cta div {
  max-width: 740px;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: #4e4e4e;
  font-size: 14px;
}

.price-card li {
  position: relative;
  padding-left: 22px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 10px;
  height: 6px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg);
}

.price-card .button {
  margin-top: auto;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  max-width: 1184px;
  margin: 0 auto;
  padding: 34px 44px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer span {
  margin-left: auto;
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 17, 17, 0.34);
  backdrop-filter: blur(10px);
}

.checkout-overlay[hidden] {
  display: none;
}

.has-checkout-dialog {
  overflow: hidden;
}

.checkout-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.checkout-dialog h2 {
  margin: 4px 0 10px;
  font-size: 30px;
  line-height: 1.12;
}

.checkout-summary,
.checkout-help {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-field {
  display: grid;
  gap: 8px;
  margin: 22px 0 12px;
  font-weight: 700;
}

.checkout-field input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.checkout-field input:focus {
  border-color: #111;
  outline: 3px solid rgba(17, 17, 17, 0.08);
}

.checkout-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fff4ee;
  color: #9b3f16;
  font-size: 14px;
  line-height: 1.55;
}

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.checkout-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.checkout-close:hover {
  background: var(--soft);
  color: var(--ink);
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.55fr);
  gap: 52px;
  max-width: 1184px;
  margin: 0 auto;
  padding: 82px 44px 66px;
  align-items: center;
}

.download-copy h1 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 78px);
  line-height: 0.98;
  font-weight: 760;
}

.download-copy p:not(.eyebrow) {
  max-width: 710px;
  margin: 24px 0 0;
  color: #2b2b2b;
  font-size: 21px;
  line-height: 1.62;
}

.release-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.release-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.release-card-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 640;
}

.release-card h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.release-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: #111 !important;
  text-transform: uppercase;
}

.release-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.release-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.release-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.release-meta dd {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 760;
}

.release-download {
  width: 100%;
}

.release-download.is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.checksum-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px dashed var(--line-dark);
  border-radius: 8px;
  background: #fbfbfa;
}

.checksum-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.checksum-box code {
  overflow-wrap: anywhere;
  color: #202020;
  font-size: 12px;
  line-height: 1.6;
}

.download-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 44px 76px;
}

.download-section > div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.download-section h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

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

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: #3d3d3d;
  line-height: 1.72;
}

.lesson-hero,
.lesson-section {
  max-width: 1184px;
  margin: 0 auto;
  padding-left: 44px;
  padding-right: 44px;
}

.lesson-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
  gap: 48px;
  align-items: end;
  padding-top: 76px;
  padding-bottom: 64px;
}

.lesson-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 760;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
}

.lesson-lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: #2b2b2b;
  font-size: 21px;
  line-height: 1.6;
  font-weight: 520;
}

.lesson-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.lesson-summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.lesson-summary h2,
.lesson-section h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

.lesson-summary ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: #3f3f3f;
  line-height: 1.65;
}

.lesson-section {
  padding-top: 66px;
  padding-bottom: 66px;
  border-top: 1px solid var(--line);
}

.lesson-section > p,
.two-column p {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.path-grid,
.level-table,
.ability-loop,
.handbook-steps,
.practice-plan {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

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

.path-grid article,
.ability-loop article,
.handbook-steps article,
.practice-plan article,
.practice-plan a,
.level-table div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.path-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
}

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

.ability-loop span,
.handbook-steps b {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #111;
  font-size: 12px;
  font-weight: 780;
  background: #fbfbfa;
}

.ability-loop h3,
.handbook-steps h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.ability-loop p,
.handbook-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.path-grid h3 {
  margin: 14px 0 10px;
  font-size: 20px;
}

.path-grid p,
.practice-plan p,
.level-table p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1fr);
  gap: 42px;
  align-items: start;
}

.number-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: #3b3b3b;
  line-height: 1.7;
}

.software-shot {
  margin: 0;
}

.asset-figure {
  margin: 0;
}

.lesson-section > .asset-figure,
.step-screenshot {
  margin-top: 30px;
}

.asset-figure img,
.asset-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfa;
}

.screenshot-image {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

.compact-frame {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.tutorial-preview {
  grid-template-columns: 132px minmax(0, 1fr) 140px;
  min-height: 468px;
}

.tutorial-preview .preview-main {
  padding: 18px;
}

.tutorial-preview .typing-block p {
  font-size: 18px;
}

.tutorial-preview .input-block {
  min-height: 104px;
}

.software-shot figcaption,
.asset-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.level-table {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.level-table strong,
.level-table span,
.practice-plan b,
.practice-plan span {
  display: block;
}

.level-table strong {
  font-size: 16px;
}

.level-table span,
.practice-plan b {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
}

.practice-plan {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.practice-plan article,
.practice-plan a {
  display: block;
  padding: 18px;
}

.practice-plan a {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.practice-plan a:hover {
  transform: translateY(-2px);
  border-color: var(--line-dark);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.practice-plan span {
  margin-bottom: 10px;
  font-weight: 720;
}

.scheme-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.scheme-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.72fr) minmax(260px, 0.58fr) auto;
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.scheme-list h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.scheme-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.scheme-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #3f3f3f;
  font-size: 14px;
  line-height: 1.65;
}

.scheme-list a {
  align-self: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 760;
}

.timeline-list,
.day-detail {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

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

.timeline-list article,
.day-detail article,
.practice-copy {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
}

.timeline-list h3,
.day-detail h3,
.practice-copy h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.timeline-list p,
.practice-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.day-detail ol,
.day-detail ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: #3f3f3f;
  font-size: 14px;
  line-height: 1.7;
}

.practice-copy {
  margin-top: 18px;
  background: #fbfbfa;
}

.beginner-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 18px;
  margin-top: 30px;
}

.beginner-guide article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.beginner-guide h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

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

.beginner-guide ol,
.beginner-guide ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #3f3f3f;
  font-size: 15px;
  line-height: 1.75;
}

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

.term-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.term-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.term-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.visual-section > p {
  max-width: 820px;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.visual-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.visual-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.visual-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.code-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.code-flow span,
.pipeline-visual span,
.decompose-visual span,
.candidate-depth span,
.scheme-map a,
.regional-map article {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfa;
  text-align: center;
  color: #454545;
  font-size: 13px;
  line-height: 1.4;
}

.code-flow strong,
.scheme-map strong,
.regional-map strong {
  color: var(--ink);
  font-size: 18px;
}

.code-flow i,
.decompose-visual i {
  display: block;
  height: 1px;
  background: var(--line-dark);
  position: relative;
}

.code-flow i::after,
.decompose-visual i::after {
  content: "";
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  transform: rotate(45deg);
}

.mini-trainer {
  display: grid;
  gap: 10px;
}

.mini-trainer div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfa;
  font-size: 14px;
}

.mini-trainer b {
  color: var(--muted);
}

.mini-trainer span {
  font-weight: 760;
}

.decompose-visual {
  display: grid;
  grid-template-columns: 1fr 24px repeat(2, 1fr) 24px repeat(4, 1fr);
  gap: 8px;
  align-items: center;
}

.decompose-visual span:first-child {
  color: var(--ink);
  font-size: 30px;
  font-weight: 760;
}

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

.candidate-depth span {
  min-height: 110px;
}

.candidate-depth .active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.mini-bars {
  display: grid;
  gap: 14px;
}

.mini-bars div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
}

.mini-bars span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111 var(--w), #ececea var(--w));
}

.keyboard-map {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
}

.keyboard-map span {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfbfa;
  font-size: 12px;
  font-weight: 760;
}

.keyboard-map .hot {
  border-color: #111;
  background: #111;
  color: #fff;
}

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

.pipeline-visual span {
  position: relative;
  min-height: 96px;
}

.pipeline-visual span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 12px;
  height: 1px;
  background: var(--line-dark);
}

.pipeline-visual small {
  color: var(--muted);
  font-weight: 640;
}

.code-sample {
  min-height: 150px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.scheme-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.scheme-map a {
  min-height: 124px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.scheme-map a:hover {
  transform: translateY(-2px);
  border-color: var(--line-dark);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.scheme-map span,
.regional-map span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
}

.regional-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.regional-map article {
  align-content: center;
  min-height: 190px;
}

.regional-map p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.tutorial-card {
  display: block;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tutorial-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-dark);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.tutorial-card.primary {
  border-color: #111;
}

.tutorial-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.tutorial-card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.tutorial-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.source-list a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.course-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.course-nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 720;
}

.course-nav a:hover {
  border-color: var(--line-dark);
  background: #fbfbfa;
}

.trainer-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.trainer-flow article,
.metric-explain article,
.scheme-course,
.trainer-panel,
.decision-card,
.data-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trainer-flow article {
  min-height: 160px;
  padding: 18px;
}

.trainer-flow b,
.scheme-course .tag,
.decision-card b,
.data-card b {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.trainer-flow h3,
.scheme-course h3,
.trainer-panel h3,
.decision-card h3,
.data-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.trainer-flow p,
.scheme-course p,
.trainer-panel p,
.decision-card p,
.data-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.course-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.decision-card,
.data-card {
  min-height: 190px;
  padding: 20px;
}

.decision-card ul,
.data-card ul,
.trainer-panel ol,
.trainer-panel ul,
.scheme-course ol,
.scheme-course ul {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: #3f3f3f;
  font-size: 14px;
  line-height: 1.68;
}

.scheme-course {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 22px;
  align-items: start;
  margin-top: 18px;
  padding: 24px;
}

.scheme-course:first-of-type {
  margin-top: 30px;
}

.scheme-visual {
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    #fbfbfa;
}

.scheme-visual svg {
  width: 100%;
  height: 174px;
  color: #111;
}

.scheme-visual p {
  margin-top: 10px;
  color: #555;
  font-size: 13px;
}

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

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

.handbook-steps ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: #3f3f3f;
  font-size: 13px;
  line-height: 1.65;
}

.trainer-panel {
  padding: 22px;
}

.metric-explain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.metric-explain article {
  padding: 20px;
}

.metric-explain strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

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

.step-screenshot {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 180px;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

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

.trainer-annotations article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trainer-annotations b {
  font-size: 15px;
}

.trainer-annotations span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.step-screenshot aside {
  padding: 16px;
  background: #f8f8f6;
}

.step-screenshot aside span,
.step-screenshot aside b {
  display: block;
}

.step-screenshot aside b {
  margin-bottom: 12px;
  font-size: 13px;
}

.step-screenshot aside span {
  margin-top: 8px;
  padding: 8px;
  border-radius: 6px;
  color: #555;
  font-size: 12px;
  font-weight: 650;
}

.step-screenshot aside span.active {
  background: #111;
  color: #fff;
}

.step-screenshot .shot-main {
  padding: 22px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.step-screenshot .target-text {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 22px;
  line-height: 1.75;
  font-weight: 700;
}

.step-screenshot .input-line {
  margin-top: 14px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--muted);
}

.step-screenshot .inspect {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fbfbfa;
}

.step-screenshot .inspect div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.step-screenshot .inspect strong {
  font-size: 15px;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-content: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
}

.not-found .brand {
  margin: 0 auto 20px;
}

.not-found h1 {
  margin: 0;
  font-size: 52px;
}

.not-found p {
  margin: 0 0 12px;
  color: var(--muted);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: auto;
  }

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

  .product-frame {
    max-width: 980px;
  }

  .scene-stage {
    max-width: 980px;
  }
}

@media (max-width: 840px) {
  .site-header {
    min-height: 66px;
    padding: 0 18px;
  }

  .header-actions .text-link {
    display: none;
  }

  .button {
    padding: 0 12px;
  }

  .section-grid {
    width: 100%;
    padding: 50px 18px 32px;
  }

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

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

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar,
  .preview-inspector {
    display: none;
  }

  .preview-main {
    padding: 18px;
  }

  .preview-title {
    grid-template-columns: 1fr;
  }

  .typing-block p {
    font-size: 18px;
  }

  .feature-strip,
  .pricing,
  .beta-band,
  .privacy-band {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature-strip {
    padding-bottom: 64px;
  }

  .feature-strip article,
  .feature-strip article:first-child,
  .feature-strip article:last-child {
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .feature-strip article + article {
    margin-top: 14px;
  }

  .pricing {
    margin-bottom: 60px;
  }

  .beta-band {
    margin-bottom: 60px;
  }

  .privacy-band {
    margin: 0 18px 60px;
  }

  .conversion-panel,
  .outcome-section,
  .decision-section,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .conversion-panel,
  .outcome-section,
  .decision-section {
    padding-bottom: 60px;
  }

  .pain-grid,
  .outcome-grid,
  .decision-grid,
  .hero-summary,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: start;
  }

  .site-footer {
    display: grid;
    padding: 30px 18px 42px;
  }

  .site-footer span {
    margin-left: 0;
  }

  .lesson-hero,
  .lesson-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lesson-hero,
  .two-column,
  .download-hero,
  .download-section {
    grid-template-columns: 1fr;
  }

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

  .download-hero {
    padding: 54px 18px 34px;
  }

  .download-section {
    padding: 0 18px 60px;
  }

  .release-meta {
    grid-template-columns: 1fr;
  }

  .lesson-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .path-grid,
  .level-table,
  .ability-loop,
  .handbook-steps,
  .practice-plan,
  .tutorial-grid,
  .timeline-list,
  .day-detail,
  .visual-grid,
  .scheme-map,
  .regional-map,
  .trainer-flow,
  .course-matrix,
  .trainer-panels,
  .metric-explain,
  .scheme-course,
  .step-screenshot,
  .trainer-annotations {
    grid-template-columns: 1fr;
  }

  .code-flow,
  .decompose-visual,
  .candidate-depth,
  .pipeline-visual {
    grid-template-columns: 1fr;
  }

  .code-flow i,
  .decompose-visual i,
  .pipeline-visual span::after {
    display: none;
  }

  .keyboard-map {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .scheme-list article {
    grid-template-columns: 1fr;
  }

  .scheme-list a {
    white-space: normal;
  }

  .beginner-guide,
  .term-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-preview {
    grid-template-columns: 1fr;
  }

  .tutorial-preview .preview-sidebar,
  .tutorial-preview .preview-inspector {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 14px;
  }

  .header-actions .button {
    min-height: 34px;
    font-size: 12px;
  }

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

  .hero-lede {
    margin-top: 18px;
    max-width: calc(100vw - 36px);
    word-break: break-all;
    line-break: anywhere;
  }

  .feature-line h2,
  .feature-line p,
  .system-note {
    max-width: calc(100vw - 78px);
    word-break: break-all;
    line-break: anywhere;
  }

  .feature-line {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .product-frame {
    border-radius: 8px;
  }

  .scene-stage {
    min-height: 430px;
    padding: 14px 12px 122px;
    border-radius: 12px;
  }

  .scene-stage::before {
    inset: 18px 18px 102px;
    border-radius: 18px;
  }

  .scene-titlebar {
    min-height: 28px;
    grid-template-columns: 9px 9px 9px 1fr;
    gap: 6px;
    padding: 0 10px;
  }

  .scene-titlebar span {
    width: 8px;
    height: 8px;
  }

  .scene-titlebar b {
    padding-right: 34px;
    font-size: 11px;
  }

  .scene-window {
    border-radius: 12px;
  }

  .scene-keyboard {
    bottom: 22px;
    width: calc(100% - 28px);
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    padding: 10px;
    border-radius: 12px;
  }

  .scene-keyboard span {
    min-height: 26px;
    border-radius: 6px;
    font-size: 10px;
  }

  .scene-card {
    display: none;
  }

  .scene-cursor {
    right: 36px;
    bottom: 126px;
    height: 42px;
  }

  .window-tools {
    display: none;
  }

  .header-actions {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 40;
    display: flex;
  }

  .header-actions > :not(.language-switcher) {
    display: none;
  }

  .language-switcher {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
  }

  .site-header > .language-switcher {
    display: none;
  }

  .metric-row {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .metric-row span {
    display: none;
  }

  .input-block {
    min-height: 110px;
  }
}

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