:root {
  --page: #f9fbff;
  --white: #fff;
  --ink: #16253a;
  --muted: #57667c;
  --faint: #5d6b80;
  --cobalt: #2549ed;
  --cobalt-hover: #1536cb;
  --cobalt-soft: #edf2ff;
  --sky: #f0f5ff;
  --line: #dae2ee;
  --line-strong: #c6d3e9;
  --navy: #162740;
  --navy-panel: #20334f;
  --on-dark: #f7f9ff;
  --dark-muted: #bdcbe2;
  --success: #176c52;
  --success-soft: #eaf6f0;
  --shadow: rgba(31, 59, 113, 0.11);
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --code: ui-monospace, SFMono-Regular, Consolas, monospace;
  --shell: 1280px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --motion-fast: 160ms;
  --motion-standard: 220ms;
  --motion-deck: 260ms;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection {
  background: var(--cobalt);
  color: var(--white);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 5px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
svg {
  display: block;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.04;
}
h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.9rem);
}
h3 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
p {
  text-wrap: pretty;
}
code {
  font-family: var(--code);
}
.shell {
  width: min(calc(100% - 112px), var(--shell));
  margin-inline: auto;
}
.section {
  padding-block: 112px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  z-index: 200;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--page);
}
.nav-shell {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.brand-mark {
  width: 31px;
  height: 31px;
  color: var(--cobalt);
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 600;
}
.main-nav > a:not(.button) {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
}
@media (hover: hover) and (pointer: fine) {
  .main-nav > a:not(.button):hover,
  .site-footer a:hover {
    color: var(--cobalt);
  }
}
.external-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
}
.button {
  min-height: 54px;
  padding: 15px 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--cobalt);
  border-radius: 8px;
  background: var(--cobalt);
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.3;
  transition:
    background 0.18s,
    transform 0.18s;
}
@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: var(--cobalt-hover);
  }
}
.button:active {
  transform: scale(0.98);
}
.button-small {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.875rem;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 25px;
  align-items: center;
  min-height: 688px;
  padding-top: 42px;
  padding-bottom: 52px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 30px;
}
.product-line {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.small-mark {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  border-radius: 5px;
  font-size: 1.25rem;
}
.hero h1 {
  font-size: clamp(4.2rem, 6.9vw, 6.3rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.02;
  white-space: normal;
  overflow-wrap: break-word;
}
.hero-description {
  max-width: 450px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover {
    color: var(--cobalt);
  }
}
.play-icon {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.hero-footnote {
  font-size: 0.875rem;
  color: var(--faint);
  margin-top: 21px;
}
.memory-visual {
  position: relative;
  height: 585px;
  min-width: 0;
}
.memory-grid {
  position: absolute;
  inset: 4px -25px 40px 0;
  background-image: radial-gradient(
    var(--line-strong) 0.8px,
    transparent 0.8px
  );
  background-size: 21px 21px;
  mask-image: radial-gradient(ellipse at 55% 50%, var(--ink), transparent 72%);
  opacity: 0.7;
}
.memory-trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 540px;
  stroke: var(--line-strong);
  stroke-width: 1.3;
}
.memory-trace circle {
  fill: var(--page);
  stroke: var(--cobalt);
}
.feedback-note {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 55px;
  top: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 0 6px 22px var(--shadow);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  transform: rotate(-3deg);
  line-height: 1.5;
}
.note-avatar {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  border-radius: 50%;
  font-size: 0.875rem;
}
.feedback-note > svg {
  width: 23px;
  height: 23px;
  margin-left: auto;
  stroke: var(--success);
  stroke-width: 1.8;
  flex-shrink: 0;
}
.lesson-sheet {
  position: absolute;
  left: 70px;
  right: 6px;
  top: 139px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  height: 355px;
}
.sheet-back {
  transform: rotate(7deg) translate(1px, -8px);
  background: var(--cobalt-soft);
}
.sheet-middle {
  transform: rotate(-4deg) translate(-9px, 0);
}
.sheet-front {
  z-index: 3;
  box-shadow: 0 18px 45px var(--shadow);
  transform: rotate(1.5deg);
  overflow: hidden;
}
.sheet-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding: 14px 21px;
  font-size: 0.875rem;
  font-weight: 700;
}
.sheet-symbol {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1.5px solid var(--cobalt);
  border-radius: 4px;
  color: var(--cobalt);
  font-size: 0.875rem;
}
.sheet-index {
  margin-left: auto;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}
.sheet-content {
  padding: 21px 26px;
}
.memory-kind {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cobalt);
}
.sheet-content h2 {
  font-size: 2.25rem;
  letter-spacing: -0.05em;
  line-height: 1.09;
  margin-top: 8px;
}
.sheet-content > p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 10px;
  max-width: 290px;
  line-height: 1.6;
}
.sheet-divider {
  height: 1px;
  background: var(--line);
  margin-top: 16px;
  margin-bottom: 12px;
}
.sheet-content .correction-text {
  font-size: 0.875rem;
  margin-top: 4px;
  max-width: none;
  line-height: 1.5;
}
.sheet-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  background: var(--cobalt-soft);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cobalt);
}
.sheet-footer svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.7;
}
.memory-recall {
  position: absolute;
  left: 0;
  bottom: 88px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px 12px 12px;
  background: var(--navy);
  color: var(--on-dark);
  border-radius: 8px;
  box-shadow: 0 7px 17px var(--shadow);
  font-size: 0.875rem;
  line-height: 1.6;
  transform: rotate(-2deg);
}
.recall-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--navy-panel);
  border-radius: 5px;
  font-size: 1.4rem;
  color: var(--dark-muted);
}
.memory-recall strong {
  font-weight: 600;
}
.scenario-picker {
  position: absolute;
  display: flex;
  justify-content: center;
  left: 70px;
  right: 0;
  bottom: 30px;
  gap: 4px;
}
.scenario-picker button {
  border: 0;
  background: transparent;
  padding: 8px 15px;
  min-height: 40px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.scenario-picker button[aria-selected="true"] {
  background: var(--cobalt-soft);
  color: var(--cobalt);
}
@media (hover: hover) and (pointer: fine) {
  .scenario-picker button:hover {
    color: var(--cobalt);
  }
}
.visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  bottom: 0;
  font-size: 0.875rem;
  color: var(--faint);
}
.agent-strip {
  display: flex;
  align-items: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 25px;
}
.agent-strip > p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  flex-shrink: 0;
}
.agent-strip strong {
  font-weight: 600;
  color: var(--ink);
}
.agent-names {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex: 1;
  flex-wrap: wrap;
}
.agent-names span {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.045em;
}
.agent-strip > a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  flex-shrink: 0;
}
.section-context {
  font-size: 0.875rem;
  color: var(--cobalt);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 100px;
  margin-bottom: 47px;
}
.section-intro > p {
  max-width: 415px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  padding-bottom: 3px;
}
.learning-workbench {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}
.learning-sidebar {
  padding: 35px 27px;
  display: flex;
  flex-direction: column;
}
.step-tabs {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.step-tabs button {
  display: flex;
  text-align: left;
  gap: 14px;
  align-items: flex-start;
  background: transparent;
  border: 1px solid transparent;
  padding: 19px 14px;
  border-radius: 7px;
}
.step-number {
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--faint);
}
.step-tabs strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  margin-top: 2px;
}
.step-tabs small {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 5px;
}
.step-tabs button[aria-selected="true"] {
  background: var(--cobalt-soft);
  border-color: var(--cobalt-soft);
}
.step-tabs button[aria-selected="true"] .step-number {
  color: var(--white);
  background: var(--cobalt);
  border-color: var(--cobalt);
}
.step-tabs button[aria-selected="true"] strong {
  color: var(--cobalt);
}
.demo-disclosure {
  font-size: 0.875rem;
  color: var(--faint);
  line-height: 1.7;
  margin-top: auto;
  padding: 30px 14px 0;
  max-width: 280px;
}
.learning-panel {
  background: var(--navy);
  color: var(--on-dark);
  min-width: 0;
}
.workbench-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 28px;
  border-bottom: 1px solid var(--navy-panel);
  font-size: 0.875rem;
  color: var(--dark-muted);
}
.workbench-header > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--on-dark);
}
.workspace-icon {
  font-size: 1rem;
}
.workbench-body {
  padding: 30px;
}
.demo-message {
  padding: 20px;
  background: var(--navy-panel);
  border-radius: 7px;
}
.demo-person {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-muted);
  display: block;
  margin-bottom: 8px;
}
.demo-message p {
  font-size: 1.04rem;
  line-height: 1.65;
  min-height: 81px;
}
.demo-response {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-block: 24px;
}
.response-symbol {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--dark-muted);
  border-radius: 6px;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.demo-response > div {
  padding-top: 1px;
}
.response-title {
  font-size: 0.875rem;
  font-weight: 700;
}
.demo-response > div > p:last-child {
  font-size: 0.875rem;
  color: var(--dark-muted);
  margin-top: 6px;
  line-height: 1.7;
  min-height: 60px;
}
.demo-code {
  font-family: var(--code);
  font-size: 0.875rem;
  line-height: 1.9;
  white-space: pre-wrap;
  margin: 0;
  padding: 17px 20px;
  border: 1px solid var(--navy-panel);
  border-radius: 7px;
  color: var(--dark-muted);
}
.demo-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.demo-bottom > span {
  font-size: 0.875rem;
  color: var(--dark-muted);
}
.demo-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 0;
  background: none;
  color: var(--on-dark);
  border: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.demo-next > span {
  font-size: 1.1rem;
}
.memory-section {
  background: var(--sky);
  border-block: 1px solid var(--line);
}
.memory-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.memory-explanation h2 {
  font-size: clamp(2.7rem, 4.7vw, 4.4rem);
}
.memory-explanation > p:not(.section-context) {
  max-width: 360px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 28px;
}
.memory-explanation > .text-link {
  margin-top: 24px;
}
.link-plus {
  font-size: 1.2rem;
}
.memory-pair {
  padding: 8px 12px 0;
}
.memory-record {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 25px 27px;
  background: var(--white);
}
.record-rule {
  margin-right: 45px;
  z-index: 2;
  box-shadow: 0 10px 28px var(--shadow);
}
.record-history {
  margin-left: 45px;
  margin-top: -5px;
  transform: rotate(2deg);
  padding-top: 29px;
}
.record-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--cobalt);
  font-weight: 600;
  margin-bottom: 15px;
}
.record-icon {
  font-size: 1.2rem;
  line-height: 1;
  width: 20px;
}
.memory-record h3 {
  font-size: 1.26rem;
}
.memory-record > p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 9px;
}
.memory-record blockquote {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 18px 0 0;
  padding: 12px 15px;
  background: var(--cobalt-soft);
  border-left: 2px solid var(--cobalt);
  border-radius: 0 5px 5px 0;
}
.record-history .record-header {
  color: var(--muted);
}
.record-history blockquote {
  background: var(--sky);
  border-color: var(--line-strong);
}
.working-memory {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 27px;
  color: var(--muted);
}
.working-memory svg {
  width: 27px;
  height: 27px;
  stroke: var(--cobalt);
  stroke-width: 1.4;
}
.working-memory p {
  font-size: 0.875rem;
  line-height: 1.7;
}
.working-memory strong {
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 600;
}
.principles-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
}
.principles-heading h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.4rem);
}
.principle-list article {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.principle-list article:first-child {
  padding-top: 0;
  border-top: 0;
}
.principle-list article:last-child {
  padding-bottom: 0;
}
.principle-icon {
  width: 35px;
  flex-shrink: 0;
  color: var(--cobalt);
  padding-top: 3px;
}
.principle-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.principle-list h3 {
  font-size: 1.1rem;
}
.principle-list p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 10px;
  max-width: 470px;
}
.tools-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.tools-workbench {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
}
.tool-tabs {
  display: flex;
  flex-direction: column;
  background: var(--page);
  padding: 16px;
}
.tool-tabs button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 17px;
  border: 1px solid transparent;
  background: none;
  border-radius: 6px;
  min-height: 48px;
  text-align: left;
  font-family: var(--code);
  font-size: 0.875rem;
}
.tool-tabs button > span {
  font-size: 0.875rem;
  font-family: var(--sans);
  color: var(--muted);
}
.tool-tabs button[aria-selected="true"] {
  background: var(--white);
  border-color: var(--line);
  color: var(--cobalt);
  box-shadow: 0 2px 4px var(--shadow);
}
.tool-panel {
  padding: 45px 47px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}
.tool-call-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: var(--cobalt-soft);
  border-radius: 10px;
  font-size: 2rem;
  color: var(--cobalt);
  margin-bottom: 24px;
}
.tool-panel h3 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.tool-panel > p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 14px;
  max-width: 420px;
}
.tool-example {
  border-left: 2px solid var(--cobalt);
  background: var(--cobalt-soft);
  border-radius: 0 6px 6px 0;
  margin-block: 24px 0;
  padding: 17px 20px;
  width: 100%;
}
.tool-example > span {
  font-size: 0.875rem;
  color: var(--cobalt);
  font-weight: 600;
  display: block;
  margin-bottom: 9px;
}
.tool-example code {
  display: block;
  font-size: 0.875rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.tool-panel .tool-note {
  font-size: 0.875rem;
  margin-top: 15px;
}
.tool-panel .text-link {
  margin-top: 19px;
}
.install-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}
.install-intro > p:not(.section-context) {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 340px;
  color: var(--muted);
  margin-top: 26px;
}
.install-requirements {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-block: 24px 15px;
}
.install-requirements > span {
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.875rem;
  color: var(--muted);
}
.install-workbench {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 30px var(--shadow);
}
.install-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 8px 25px 0;
}
.install-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 2px 16px;
  background: none;
  min-height: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
}
.install-tabs button[aria-selected="true"] {
  color: var(--cobalt);
  border-bottom-color: var(--cobalt);
}
.install-panel {
  padding: 30px;
}
.install-panel h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 11px;
}
.install-panel h3:not(:first-child) {
  margin-top: 25px;
}
.command-row {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 15px 12px 15px 16px;
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 0;
}
.command-row > code {
  font-size: 0.875rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 1;
}
.copy-button {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 9px;
  min-width: 52px;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--muted);
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .copy-button:hover {
    color: var(--cobalt);
    border-color: var(--cobalt);
  }
}
.install-help {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 19px;
}
.install-help code {
  font-size: 0.875rem;
}
.install-bottom {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--cobalt-soft);
  padding: 19px 29px;
  color: var(--muted);
}
.install-bottom p {
  font-size: 0.875rem;
  line-height: 1.75;
}
.install-check {
  color: var(--cobalt);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.5;
}
.copy-status {
  font-size: 0.875rem;
  color: var(--success);
  padding: 0 29px;
}
.copy-status:not(:empty) {
  padding-block: 12px;
}
.support-section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}
.support-section h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.3rem);
}
.support-intro {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 24px;
  max-width: 320px;
  line-height: 1.85;
}
.support-list article {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.support-list article:first-child {
  padding-top: 0;
}
.support-list h3 {
  font-size: 1.04rem;
  display: inline;
  margin-right: 12px;
}
.support-tag {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--cobalt);
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--cobalt-soft);
  vertical-align: middle;
}
.support-list p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 460px;
  margin-top: 10px;
}
.tag-muted {
  color: var(--muted);
  background: var(--sky);
}
.faq-section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  padding-top: 90px;
}
.faq-section h2 {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  list-style: none;
  padding-block: 20px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  color: var(--cobalt);
  font-weight: 400;
  font-size: 1.45rem;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted);
  padding: 0 35px 25px 0;
}
.faq-list details p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.faq-list code {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.closing-section {
  background: var(--cobalt);
  color: var(--white);
  overflow: hidden;
}
.closing-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  padding-block: 88px;
}
.closing-layout h2 {
  font-size: clamp(3rem, 5vw, 4.7rem);
  position: relative;
  z-index: 2;
}
.closing-layout > div {
  position: relative;
  z-index: 2;
}
.closing-layout p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--on-dark);
  margin-bottom: 25px;
}
.button-light {
  background: var(--white);
  color: var(--cobalt);
  border-color: var(--white);
}
@media (hover: hover) and (pointer: fine) {
  .button-light:hover {
    background: var(--cobalt-soft);
  }
}
.closing-mark {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -145px;
  top: 22px;
  stroke: var(--white);
  opacity: 0.12;
  stroke-width: 1.2;
  transform: rotate(20deg);
}
.site-footer {
  padding-block: 49px 43px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}
.site-footer .brand {
  font-size: 1.05rem;
}
.site-footer .brand-mark {
  width: 26px;
  height: 26px;
}
.site-footer p {
  font-size: 0.875rem;
  color: var(--faint);
  margin-top: 13px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 23px;
  max-width: 500px;
}
.site-footer nav > a {
  font-size: 0.875rem;
  min-height: 34px;
  display: flex;
  align-items: center;
}
.noscript-note {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 25px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 740px;
  }
  .hero h1 {
    font-size: 6.6rem;
  }
  .memory-visual {
    transform: scale(1.03);
    transform-origin: center right;
  }
}
@media (max-width: 1180px) {
  .shell {
    width: calc(100% - 72px);
  }
  .main-nav {
    gap: 23px;
  }
  .hero {
    gap: 8px;
    min-height: 640px;
  }
  .hero h1 {
    font-size: clamp(3.7rem, 7vw, 5.2rem);
  }
  .hero-description {
    max-width: 370px;
    font-size: 1rem;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .button {
    font-size: 0.875rem;
    padding-inline: 18px;
  }
  .hero-actions .text-link {
    font-size: 0.875rem;
  }
  .memory-visual {
    height: 540px;
  }
  .feedback-note {
    right: 15px;
    padding: 16px;
    font-size: 0.875rem;
  }
  .lesson-sheet {
    left: 47px;
    right: 0;
    top: 135px;
    height: 340px;
  }
  .sheet-content {
    padding: 19px 21px;
  }
  .sheet-content h2 {
    font-size: 2.05rem;
  }
  .sheet-heading {
    padding-inline: 17px;
  }
  .sheet-index {
    font-size: 0.875rem;
  }
  .memory-recall {
    bottom: 62px;
    font-size: 0.875rem;
  }
  .scenario-picker {
    left: 25px;
    bottom: 20px;
  }
  .visual-caption {
    font-size: 0.875rem;
    bottom: -7px;
  }
  .agent-strip {
    gap: 27px;
  }
  .agent-names {
    gap: 20px;
  }
  .agent-names span {
    font-size: 0.875rem;
  }
  .agent-strip > a {
    font-size: 0.875rem;
  }
  .section-intro {
    gap: 70px;
  }
  .memory-layout,
  .principles-section {
    gap: 70px;
  }
  .tool-panel {
    padding: 35px;
  }
  .install-section,
  .support-section,
  .faq-section {
    gap: 55px;
  }
  .tool-tabs button {
    font-size: 0.875rem;
  }
  .tool-tabs button span {
    font-size: 0.875rem;
  }
  .section {
    padding-block: 90px;
  }
  .command-row {
    padding-left: 12px;
  }
  .command-row > code {
    font-size: 0.875rem;
  }
  .install-panel {
    padding: 25px;
  }
  .install-tabs {
    gap: 17px;
    padding-inline: 25px;
  }
  .install-tabs button {
    font-size: 0.875rem;
  }
}
@media (max-width: 940px) {
  .main-nav {
    gap: 18px;
    font-size: 0.875rem;
  }
  .brand {
    font-size: 1.16rem;
  }
  .main-nav .button-small {
    font-size: 0.875rem;
    padding-inline: 14px;
  }
  .hero {
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 620px;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 7.05vw, 4.3rem);
  }
  .hero-description {
    font-size: 0.94rem;
    line-height: 1.8;
    max-width: 320px;
  }
  .product-line {
    font-size: 0.875rem;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  .hero-footnote {
    font-size: 0.875rem;
  }
  .memory-visual {
    height: 510px;
  }
  .lesson-sheet {
    left: 27px;
    top: 135px;
    height: 330px;
  }
  .feedback-note {
    left: -5px;
    top: 28px;
    right: 0;
    gap: 10px;
    padding: 14px 12px;
    font-size: 0.875rem;
  }
  .note-avatar {
    width: 29px;
    height: 29px;
    font-size: 0.875rem;
  }
  .sheet-heading {
    padding: 13px;
    gap: 6px;
    font-size: 0.875rem;
  }
  .sheet-index {
    font-size: 0.875rem;
  }
  .sheet-content {
    padding: 17px;
  }
  .sheet-content h2 {
    font-size: 1.85rem;
  }
  .sheet-content > p {
    font-size: 0.875rem;
  }
  .sheet-content .correction-text {
    font-size: 0.875rem;
  }
  .memory-kind {
    font-size: 0.875rem;
  }
  .sheet-footer {
    font-size: 0.875rem;
    padding-inline: 15px;
  }
  .memory-recall {
    left: -10px;
    bottom: 30px;
    font-size: 0.875rem;
    padding: 9px;
    gap: 9px;
  }
  .recall-icon {
    width: 25px;
    height: 25px;
  }
  .scenario-picker {
    bottom: -17px;
    left: 20px;
  }
  .scenario-picker button {
    font-size: 0.875rem;
    padding: 8px 11px;
  }
  .visual-caption {
    bottom: -42px;
  }
  .agent-strip {
    align-items: flex-start;
    gap: 22px;
  }
  .agent-strip > a {
    display: none;
  }
  .agent-names {
    gap: 15px 22px;
    justify-content: flex-start;
    padding-top: 7px;
  }
  .agent-names span {
    font-size: 0.88rem;
  }
  .section-intro {
    gap: 45px;
  }
  .section-intro > p {
    font-size: 0.9rem;
  }
  .learning-workbench {
    grid-template-columns: 0.8fr 1.2fr;
  }
  .learning-sidebar {
    padding: 24px 14px;
  }
  .step-tabs button {
    padding: 17px 9px;
    gap: 10px;
  }
  .step-tabs strong {
    font-size: 0.875rem;
  }
  .step-tabs small {
    font-size: 0.875rem;
  }
  .step-number {
    width: 24px;
    height: 24px;
    font-size: 0.875rem;
  }
  .demo-disclosure {
    font-size: 0.875rem;
    padding-inline: 9px;
  }
  .workbench-body {
    padding: 24px;
  }
  .demo-message {
    padding: 17px;
  }
  .demo-message p {
    font-size: 0.94rem;
    min-height: 100px;
  }
  .demo-response > div > p:last-child {
    min-height: 80px;
  }
  .demo-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .demo-bottom > span {
    font-size: 0.875rem;
  }
  .demo-next {
    font-size: 0.875rem;
  }
  .memory-layout {
    gap: 50px;
  }
  .memory-pair {
    padding-inline: 0;
  }
  .record-rule {
    margin-right: 25px;
  }
  .record-history {
    margin-left: 25px;
  }
  .memory-record {
    padding: 22px;
  }
  .memory-record h3 {
    font-size: 1.1rem;
  }
  .memory-record > p {
    font-size: 0.875rem;
  }
  .memory-record blockquote {
    font-size: 0.875rem;
    padding: 10px;
  }
  .principles-section {
    gap: 50px;
  }
  .principle-list article {
    gap: 20px;
  }
  .principle-list h3 {
    font-size: 0.97rem;
  }
  .principle-list p {
    font-size: 0.875rem;
  }
  .tools-workbench {
    grid-template-columns: 1fr 1fr;
  }
  .tool-tabs {
    padding: 10px;
  }
  .tool-tabs button {
    padding: 11px 10px;
    font-size: 0.875rem;
  }
  .tool-tabs button > span {
    display: none;
  }
  .tool-panel {
    padding: 30px;
  }
  .tool-panel h3 {
    font-size: 1.5rem;
  }
  .tool-panel > p {
    font-size: 0.875rem;
  }
  .tool-example {
    padding: 15px;
  }
  .tool-example code {
    font-size: 0.875rem;
  }
  .tool-panel .text-link {
    font-size: 0.875rem;
  }
  .install-section {
    gap: 35px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .install-intro > p:not(.section-context) {
    font-size: 0.875rem;
  }
  .install-tabs {
    padding-inline: 18px;
    gap: 14px;
  }
  .install-tabs button {
    font-size: 0.875rem;
  }
  .install-panel {
    padding: 22px;
  }
  .command-row {
    gap: 6px;
    padding: 10px;
  }
  .command-row > code {
    font-size: 0.875rem;
  }
  .copy-button {
    font-size: 0.875rem;
    min-width: 46px;
    padding: 7px;
  }
  .install-panel h3 {
    font-size: 0.875rem;
  }
  .install-help {
    font-size: 0.875rem;
  }
  .install-bottom {
    padding: 15px 22px;
  }
  .install-bottom p {
    font-size: 0.875rem;
  }
  .support-list h3 {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 7px;
  }
  .support-list p {
    font-size: 0.875rem;
  }
  .faq-list summary {
    font-size: 0.875rem;
  }
  .faq-list details p {
    font-size: 0.875rem;
  }
  .closing-layout {
    gap: 50px;
  }
  .site-footer {
    gap: 25px;
  }
  .site-footer nav {
    max-width: 320px;
    gap: 6px 18px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }
  .site-header {
    border-color: var(--line);
  }
  .nav-shell {
    height: 73px;
    gap: 15px;
  }
  .brand {
    font-size: 1.17rem;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--white);
    font-size: 0.875rem;
    padding: 7px 11px;
  }
  .menu-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.5;
  }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 73px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 24px;
    padding: 14px 20px;
    background: var(--page);
    border-bottom: 1px solid var(--line);
    font-size: 0.875rem;
  }
  .js-enabled .main-nav {
    display: none;
  }
  .js-enabled .main-nav.is-open {
    display: flex;
  }
  .main-nav .button-small {
    min-height: 40px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 72px 49px;
    min-height: 0;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .product-line {
    font-size: 0.875rem;
    margin-bottom: 23px;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 11.8vw, 5.6rem);
    letter-spacing: -0.075em;
    line-height: 1.04;
  }
  .hero-description {
    max-width: 460px;
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 23px;
  }
  .hero-actions {
    margin-top: 26px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .hero-actions .button {
    font-size: 0.875rem;
    padding-inline: 16px;
    min-height: 51px;
  }
  .hero-actions .text-link {
    font-size: 0.875rem;
  }
  .hero-footnote {
    font-size: 0.875rem;
    margin-top: 17px;
  }
  .memory-visual {
    width: min(100%, 490px);
    height: 535px;
    margin: 40px auto 0;
  }
  .feedback-note {
    left: 3px;
    right: 30px;
    top: 14px;
    font-size: 0.875rem;
    padding: 16px;
    gap: 14px;
  }
  .note-avatar {
    width: 33px;
    height: 33px;
    font-size: 0.875rem;
  }
  .lesson-sheet {
    left: 55px;
    right: 6px;
    top: 126px;
    height: 344px;
  }
  .sheet-heading {
    padding: 15px 20px;
    font-size: 0.875rem;
    gap: 8px;
  }
  .sheet-index {
    font-size: 0.875rem;
  }
  .sheet-content {
    padding: 19px 24px;
  }
  .sheet-content h2 {
    font-size: 2.15rem;
  }
  .sheet-content > p {
    font-size: 0.875rem;
  }
  .memory-kind {
    font-size: 0.875rem;
  }
  .sheet-content .correction-text {
    font-size: 0.875rem;
  }
  .sheet-footer {
    font-size: 0.875rem;
    padding: 11px 21px;
  }
  .memory-recall {
    left: 0;
    bottom: 54px;
    font-size: 0.875rem;
    padding: 10px 14px 10px 10px;
  }
  .recall-icon {
    width: 30px;
    height: 30px;
  }
  .scenario-picker {
    left: 50px;
    bottom: 8px;
  }
  .scenario-picker button {
    font-size: 0.875rem;
    padding: 9px 14px;
  }
  .visual-caption {
    font-size: 0.875rem;
    bottom: -18px;
  }
  .agent-strip {
    padding-block: 24px;
    gap: 25px;
  }
  .agent-strip > p {
    font-size: 0.875rem;
    padding-top: 3px;
  }
  .agent-names {
    gap: 13px 23px;
    justify-content: flex-start;
    padding-top: 0;
  }
  .agent-names span {
    font-size: 0.875rem;
  }
  .section {
    padding-block: 75px;
  }
  .section-context {
    font-size: 0.875rem;
    margin-bottom: 15px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 32px;
  }
  .section-intro > p {
    font-size: 0.91rem;
    max-width: 490px;
    line-height: 1.85;
  }
  .section-intro h2 {
    font-size: 2.7rem;
  }
  .learning-workbench {
    grid-template-columns: 1fr;
  }
  .learning-sidebar {
    padding: 17px 13px 12px;
  }
  .step-tabs {
    flex-direction: row;
    gap: 2px;
  }
  .step-tabs button {
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 12px 9px;
    align-items: flex-start;
    border-radius: 5px;
  }
  .step-tabs strong {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .step-tabs small {
    display: none;
  }
  .step-number {
    font-size: 0.875rem;
    width: 23px;
    height: 23px;
  }
  .demo-disclosure {
    max-width: none;
    font-size: 0.875rem;
    margin-top: 0;
    padding: 14px 10px 5px;
  }
  .workbench-header {
    padding: 17px 23px;
    font-size: 0.875rem;
  }
  .workbench-body {
    padding: 23px;
  }
  .demo-message p {
    font-size: 1rem;
    min-height: 85px;
  }
  .demo-response > div > p:last-child {
    font-size: 0.875rem;
    min-height: 65px;
  }
  .demo-code {
    font-size: 0.875rem;
  }
  .demo-bottom {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .demo-bottom > span {
    font-size: 0.875rem;
    max-width: 120px;
  }
  .demo-next {
    font-size: 0.875rem;
  }
  .memory-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .memory-explanation h2 {
    font-size: 3.4rem;
  }
  .memory-explanation > p:not(.section-context) {
    max-width: 450px;
    font-size: 0.94rem;
    margin-top: 22px;
  }
  .memory-explanation > .text-link {
    margin-top: 18px;
    font-size: 0.875rem;
  }
  .memory-pair {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
    padding: 0 8px;
  }
  .record-rule {
    margin-right: 38px;
  }
  .record-history {
    margin-left: 38px;
  }
  .memory-record {
    padding: 24px;
  }
  .memory-record h3 {
    font-size: 1.2rem;
  }
  .memory-record > p {
    font-size: 0.875rem;
  }
  .memory-record blockquote {
    font-size: 0.875rem;
    padding: 12px 15px;
  }
  .record-header {
    font-size: 0.875rem;
  }
  .working-memory {
    gap: 12px;
    margin-top: 22px;
  }
  .working-memory p {
    font-size: 0.875rem;
  }
  .principles-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .principles-heading h2 {
    font-size: 2.75rem;
  }
  .principle-list article {
    gap: 24px;
    padding-block: 24px;
  }
  .principle-list h3 {
    font-size: 1.02rem;
  }
  .principle-list p {
    font-size: 0.875rem;
    max-width: none;
  }
  .tools-workbench {
    grid-template-columns: 1fr;
  }
  .tool-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 13px;
  }
  .tool-tabs button {
    font-size: 0.875rem;
    padding: 10px 12px;
    min-height: 44px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .tool-panel {
    padding: 30px 26px;
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 410px;
  }
  .tool-panel h3 {
    font-size: 1.8rem;
  }
  .tool-panel > p {
    font-size: 0.875rem;
  }
  .tool-example code {
    font-size: 0.875rem;
  }
  .tool-panel .tool-note {
    font-size: 0.875rem;
  }
  .tool-panel .text-link {
    font-size: 0.875rem;
  }
  .tool-call-icon {
    margin-bottom: 19px;
  }
  .install-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .install-intro h2 {
    font-size: 3rem;
  }
  .install-intro > p:not(.section-context) {
    max-width: 460px;
    font-size: 0.94rem;
    margin-top: 23px;
  }
  .install-intro .text-link {
    font-size: 0.875rem;
  }
  .install-requirements {
    margin-block: 20px 10px;
  }
  .install-tabs {
    padding-inline: 22px;
    gap: 22px;
  }
  .install-tabs button {
    font-size: 0.875rem;
  }
  .install-panel {
    padding: 25px;
  }
  .install-panel h3 {
    font-size: 0.875rem;
  }
  .command-row {
    padding: 12px;
    gap: 10px;
  }
  .command-row > code {
    font-size: 0.875rem;
  }
  .copy-button {
    font-size: 0.875rem;
    min-width: 50px;
  }
  .install-help {
    font-size: 0.875rem;
  }
  .install-bottom {
    padding: 18px 25px;
  }
  .install-bottom p {
    font-size: 0.875rem;
  }
  .support-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .support-section h2 {
    font-size: 2.8rem;
  }
  .support-intro {
    max-width: 420px;
    font-size: 0.9rem;
    margin-top: 20px;
  }
  .support-list h3 {
    font-size: 1.02rem;
    display: inline;
  }
  .support-tag {
    font-size: 0.875rem;
  }
  .support-list p {
    font-size: 0.875rem;
    max-width: none;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-section h2 {
    font-size: 2.4rem;
  }
  .faq-list summary {
    font-size: 0.9rem;
    min-height: 72px;
  }
  .faq-list details p {
    font-size: 0.875rem;
    padding-right: 15px;
  }
  .closing-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 66px;
  }
  .closing-layout h2 {
    font-size: 3.8rem;
  }
  .closing-layout p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .closing-mark {
    width: 280px;
    height: 280px;
    right: -150px;
    top: 120px;
  }
  .closing-layout .button {
    font-size: 0.875rem;
  }
  .site-footer {
    padding-block: 36px;
    flex-direction: column;
    gap: 25px;
  }
  .site-footer nav {
    justify-content: flex-start;
    max-width: none;
    gap: 5px 22px;
  }
  .site-footer nav > a {
    font-size: 0.875rem;
    min-height: 40px;
  }
  .site-footer p {
    font-size: 0.875rem;
  }
  .js-enabled .hero-copy {
    animation: hero-enter 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  .js-enabled .memory-visual {
    animation: hero-enter 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
}
@media (max-width: 390px) {
  .shell {
    width: calc(100% - 36px);
  }
  .hero {
    padding-top: 65px;
  }
  .hero h1 {
    font-size: 3.55rem;
  }
  .hero-description {
    font-size: 0.93rem;
  }
  .hero-actions {
    gap: 11px;
  }
  .hero-actions .text-link {
    font-size: 0.875rem;
  }
  .hero-actions .button {
    font-size: 0.875rem;
    padding-inline: 13px;
  }
  .hero-footnote {
    font-size: 0.875rem;
  }
  .memory-visual {
    height: 510px;
  }
  .feedback-note {
    font-size: 0.875rem;
    right: 12px;
    padding: 14px;
    gap: 10px;
  }
  .lesson-sheet {
    left: 34px;
    right: 2px;
    top: 121px;
    height: 333px;
  }
  .sheet-content {
    padding: 17px 19px;
  }
  .sheet-content h2 {
    font-size: 1.96rem;
  }
  .sheet-heading {
    padding: 14px;
    font-size: 0.875rem;
  }
  .sheet-index {
    font-size: 0.875rem;
  }
  .sheet-content > p {
    font-size: 0.875rem;
  }
  .sheet-content .correction-text {
    font-size: 0.875rem;
  }
  .sheet-footer {
    font-size: 0.875rem;
    padding-inline: 16px;
  }
  .memory-recall {
    font-size: 0.875rem;
    bottom: 45px;
  }
  .scenario-picker {
    bottom: 1px;
    left: 20px;
  }
  .scenario-picker button {
    font-size: 0.875rem;
    padding-inline: 12px;
  }
  .visual-caption {
    bottom: -24px;
    font-size: 0.875rem;
  }
  .agent-strip {
    gap: 20px;
  }
  .agent-names {
    gap: 12px 15px;
  }
  .agent-names span {
    font-size: 0.875rem;
  }
  .section-intro h2 {
    font-size: 2.4rem;
  }
  .step-tabs strong {
    font-size: 0.875rem;
  }
  .step-tabs button {
    padding-inline: 7px;
  }
  .workbench-body {
    padding: 20px;
  }
  .demo-message p {
    font-size: 0.9rem;
  }
  .demo-bottom {
    gap: 8px;
  }
  .demo-next {
    font-size: 0.875rem;
  }
  .demo-bottom > span {
    font-size: 0.875rem;
    max-width: 90px;
  }
  .demo-code {
    font-size: 0.875rem;
    padding: 15px;
  }
  .memory-explanation h2 {
    font-size: 3rem;
  }
  .record-rule {
    margin-right: 23px;
  }
  .record-history {
    margin-left: 23px;
  }
  .memory-record {
    padding: 21px;
  }
  .memory-record h3 {
    font-size: 1.07rem;
  }
  .memory-record > p {
    font-size: 0.875rem;
  }
  .memory-record blockquote {
    font-size: 0.875rem;
  }
  .principles-heading h2 {
    font-size: 2.45rem;
  }
  .tool-tabs {
    padding: 10px;
  }
  .tool-tabs button {
    font-size: 0.875rem;
    padding-inline: 9px;
  }
  .install-tabs {
    padding-inline: 17px;
    gap: 17px;
  }
  .install-tabs button {
    font-size: 0.875rem;
  }
  .install-panel {
    padding: 21px;
  }
  .command-row {
    padding: 10px;
    gap: 8px;
  }
  .command-row > code {
    font-size: 0.875rem;
  }
  .install-bottom {
    padding-inline: 21px;
  }
  .support-list h3 {
    display: block;
    font-size: 0.96rem;
  }
  .closing-layout h2 {
    font-size: 3.3rem;
  }
}
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Direct manipulation controls keep native page scrolling and intentional tap feedback. */
a,
button,
summary {
  touch-action: manipulation;
}
button {
  user-select: none;
}

/* Metadata can be quiet without becoming illegible. */
.sheet-heading,
.sheet-index,
.memory-kind,
.sheet-footer,
.sheet-content > p,
.sheet-content .correction-text,
.hero-footnote,
.visual-caption,
.agent-strip > a,
.demo-disclosure,
.demo-person,
.demo-code,
.demo-bottom > span,
.tool-example > span,
.tool-panel .tool-note,
.install-requirements > span,
.support-tag,
.site-footer p,
.record-header,
.working-memory p,
.working-memory strong,
.workbench-header {
  font-size: 0.75rem;
}
/* Keep every changing memory record in normal flow so larger text cannot be clipped. */
.memory-visual {
  height: auto;
  min-height: 0;
}
.memory-example {
  position: relative;
  padding: 125px 6px 72px 70px;
}
.memory-example:focus-visible {
  outline-offset: 12px;
}
.lesson-sheet {
  height: auto;
  min-height: 0;
  top: 125px;
  bottom: 72px;
}
.sheet-front {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  overflow: visible;
}
.sheet-front .sheet-footer {
  position: static;
  border-radius: 0 0 9px 9px;
}
.sheet-heading {
  flex-wrap: wrap;
}
.sheet-content {
  padding-bottom: 20px;
}
.memory-recall {
  bottom: 0;
}
.scenario-picker {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 20px 0 0 70px;
  flex-wrap: wrap;
}
.scenario-picker button {
  font-size: 0.875rem;
  min-height: 44px;
}
.visual-caption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin-top: 10px;
}
.step-tabs strong {
  font-size: 0.875rem;
}
.step-tabs small {
  font-size: 0.875rem;
}
.demo-disclosure {
  max-width: none;
}
.demo-bottom {
  align-items: flex-start;
  flex-wrap: wrap;
}
.demo-bottom > span {
  font-size: 0.75rem;
  max-width: none;
  flex: 1 1 110px;
}
.demo-next {
  font-size: 0.875rem;
  white-space: normal;
  text-align: left;
  flex-shrink: 1;
}
.tool-tabs button {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.tool-tabs button > span {
  font-size: 0.75rem;
}
.command-row > code {
  font-size: 0.875rem;
}
.copy-button {
  font-size: 0.875rem;
  min-width: 66px;
}
.install-tabs {
  flex-wrap: wrap;
}
.install-tabs button {
  font-size: 0.875rem;
}
.install-panel h3,
.install-help,
.install-help code,
.install-bottom p {
  font-size: 0.875rem;
}
.tool-panel:focus-visible,
.learning-panel:focus-visible,
.learning-panel button:focus-visible,
.closing-section a:focus-visible {
  outline-color: var(--white);
}
.tool-panel:focus-visible {
  outline-color: var(--cobalt);
  outline-offset: -5px;
}
.learning-panel:focus-visible {
  outline-offset: -5px;
}
.closing-section a:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 5px;
  box-shadow: 0 0 0 3px var(--cobalt);
}
@media (max-width: 1180px) {
  .tool-tabs button {
    flex-wrap: wrap;
    gap: 3px;
  }
  .tool-tabs button > span {
    display: none;
  }
}
@media (max-width: 760px) {
  .memory-visual {
    height: auto;
    margin-top: 40px;
  }
  .memory-example {
    padding-left: 50px;
  }
  .lesson-sheet {
    left: 50px;
    right: 6px;
  }
  .sheet-front {
    left: auto;
    right: auto;
  }
  .scenario-picker {
    margin-left: 30px;
  }
  .sheet-content > p {
    max-width: none;
  }
  .step-tabs strong {
    font-size: 0.875rem;
  }
  .step-tabs button {
    padding-inline: 8px;
  }
  .demo-bottom {
    gap: 8px;
  }
  .tool-panel {
    min-height: 0;
  }
  .command-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .command-row > code {
    flex-basis: calc(100% - 78px);
  }
  .copy-button {
    margin-left: auto;
  }
  .install-tabs {
    gap: 10px 20px;
  }
  .support-list h3 {
    display: block;
  }
  .agent-strip {
    flex-wrap: wrap;
    gap: 16px;
  }
  .agent-strip > p {
    flex-basis: 100%;
  }
  .agent-strip > p br {
    display: none;
  }
  .agent-strip > p strong {
    margin-left: 5px;
  }
  .tool-tabs button {
    font-size: 0.875rem;
    word-break: normal;
  }
  .site-footer nav > a {
    min-height: 44px;
  }
}
@media (max-width: 390px) {
  .memory-example {
    padding-left: 32px;
    padding-right: 2px;
  }
  .lesson-sheet {
    left: 32px;
    right: 2px;
  }
  .sheet-front {
    left: auto;
    right: auto;
  }
  .sheet-heading {
    gap: 6px;
  }
  .sheet-index {
    margin-left: 0;
    flex-basis: 100%;
    padding-left: 27px;
  }
  .feedback-note {
    font-size: 0.875rem;
  }
  .memory-recall {
    font-size: 0.875rem;
  }
  .scenario-picker {
    margin-left: 0;
  }
  .step-tabs button {
    padding-inline: 7px;
  }
  .step-tabs strong {
    font-size: 0.875rem;
  }
  .tool-tabs {
    grid-template-columns: 1fr;
  }
  .install-tabs {
    padding-inline: 16px;
    gap: 5px 15px;
  }
  .install-tabs button {
    font-size: 0.875rem;
  }
}

/* The deck expresses layered project memory; only its outer transform follows the pointer. */
.memory-example {
  perspective: 1100px;
  perspective-origin: 55% 45%;
  transform-style: preserve-3d;
}
.memory-deck {
  position: relative;
  transform-style: preserve-3d;
  transform-origin: center 45%;
  transform: rotateX(4deg) rotateY(-6deg);
  transition: transform var(--motion-deck) var(--ease-out);
}
.memory-deck > .lesson-sheet {
  inset: 0;
  backface-visibility: hidden;
}
.memory-deck > .sheet-front {
  position: relative;
  inset: auto;
  transform: translateZ(24px) rotateZ(1.5deg);
}
.memory-deck > .sheet-middle {
  transform: translate3d(-8px, 0, -4px) rotateZ(-4deg);
}
.memory-deck > .sheet-back {
  transform: translate3d(1px, -8px, -28px) rotateZ(7deg);
}
.feedback-note {
  transform: translateZ(38px) rotateZ(-3deg);
}
.memory-recall {
  transform: translateZ(44px) rotateZ(-2deg);
}
.keyboard-input .memory-deck {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .memory-example {
    perspective: none;
    transform-style: flat;
  }
  .memory-deck {
    transform: none !important;
    transform-style: flat;
    transition: none;
  }
  .memory-deck > .sheet-front {
    transform: rotateZ(1.5deg);
  }
  .memory-deck > .sheet-middle {
    transform: translate(-8px, 0) rotateZ(-4deg);
  }
  .memory-deck > .sheet-back {
    transform: translate(1px, -8px) rotateZ(7deg);
  }
  .feedback-note {
    transform: rotateZ(-3deg);
  }
  .memory-recall {
    transform: rotateZ(-2deg);
  }
}
