:root {
  --ink: #343434;
  --muted: #656b73;
  --blue: #5174b4;
  --blue-dark: #36588f;
  --teal: #749a96;
  --rust: #b56152;
  --sage: #dde3c0;
  --line: #e2e7eb;
  --surface: #f6f8fa;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }
button { font: inherit; cursor: pointer; }
button, a, video { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible, video:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
.container { width: min(1020px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: -70px; left: 12px; z-index: 60; background: #fff; padding: 10px; }
.skip-link:focus { top: 12px; }
.site-nav { height: 60px; position: sticky; top: 0; z-index: 20; background: #ffffffed; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 750; letter-spacing: -.5px; }
.brand-symbol { display: flex; align-items: center; gap: 3px; transform: rotate(-8deg); }
.brand-symbol i { display: block; width: 5px; height: 16px; border-radius: 2px; background: var(--teal); }
.brand-symbol i:nth-child(2) { height: 22px; background: var(--sage); }
.brand-symbol i:nth-child(3) { height: 12px; background: var(--rust); }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }
.paper-header { padding: 23px 0 22px; text-align: center; }
.hero-wordmark { font-family: 'Avenir Next', Avenir, 'Segoe UI', Arial, sans-serif; display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--blue); font-size: 64px; font-weight: 800; line-height: 1.1; letter-spacing: -4px; }
.context-mark { display: flex; align-items: center; gap: 5px; transform: rotate(-8deg); margin-top: 7px; }
.context-mark i { display: block; height: 28px; width: 9px; border-radius: 4px; background: var(--teal); }
.context-mark i:nth-child(2) { height: 42px; background: var(--sage); }
.context-mark i:nth-child(3) { height: 22px; background: var(--rust); }
h1 { font-size: clamp(28px, 3.1vw, 36px); font-weight: 750; line-height: 1.2; letter-spacing: -.8px; max-width: 1000px; margin: 13px auto 0; text-wrap: balance; }
.hero-meta { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 22px; }
.authors { font-size: 15px; font-weight: 500; }
.review-status { border: 1px solid var(--line); border-radius: 99px; padding: 3px 12px; color: var(--muted); font-size: 12px; }
.tldr-section { padding-top: 13px; padding-bottom: 36px; }
.tldr-box { display: flex; align-items: flex-start; gap: 18px; padding: 18px 22px; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; background: #f3f6fa; }
.tldr-tag { flex-shrink: 0; padding: 3px 10px; margin-top: 3px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2px; line-height: 1.8; }
.tldr-box p { font-size: 15px; line-height: 1.8; }
.paper-figure { margin-top: 28px; padding: 20px 22px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 22px #283b5010; }
.paper-figure img { width: 100%; }
.paper-figure figcaption { margin-top: 13px; padding: 14px 0 17px; border-top: 1px solid #edf0f2; font-size: 12px; color: var(--muted); text-align: center; }
.paper-figure figcaption strong { color: var(--ink); font-weight: 550; }
.section-band { background: #f6f8f9; border-block: 1px solid #e9edf0; }
.page-section { padding-block: 65px; }
.section-heading { margin-bottom: 30px; }
h2 { position: relative; font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: -.6px; padding-left: 16px; }
h2::before { content: ''; position: absolute; top: .2em; left: 0; width: 4px; height: .86em; border-radius: 3px; background: var(--blue); }
.section-heading > p { margin-top: 12px; font-size: 15px; color: var(--muted); max-width: 820px; }
h3 { font-size: 18px; font-weight: 650; line-height: 1.4; }
.problem-figure { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.problem-figure img { width: 100%; }
.task-description { margin-bottom: 23px; }
.task-description h3 { font-size: 18px; }
.task-description p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.video-card { overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.video-top { padding: 10px 14px; font-size: 13px; display: flex; align-items: center; }
.outcome { font-weight: 550; display: inline-flex; align-items: center; gap: 8px; }
.outcome::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.success { color: #557d72; }
.failure { color: #a56252; }
video { display: block; width: 100%; aspect-ratio: 4 / 3; background: #202424; object-fit: contain; }
.playback-bar { display: flex; align-items: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.text-button { padding: 5px 13px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--blue-dark); font-size: 12px; }
.text-button:hover { border-color: #b8c7df; background: #f6f8fb; }
footer { border-top: 1px solid var(--line); padding-block: 24px; background: #f9fafb; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; color: var(--muted); }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .nav-links { gap: 17px; }
  .nav-links a { font-size: 12px; }
  .nav-links a:first-child { display: none; }
  .paper-header { padding-top: 30px; }
  .hero-wordmark { font-size: 58px; }
  h1 { font-size: 32px; }
  .tldr-box { padding: 17px 19px; gap: 14px; }
  .tldr-box p { font-size: 14px; }
  .paper-figure { padding: 16px 16px 0; }
  .page-section { padding-block: 48px; }
  .tldr-section { padding-bottom: 30px; }
  h2 { font-size: 27px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .site-nav { height: 55px; }
  .brand { font-size: 18px; gap: 8px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; }
  .nav-links a:nth-child(2) { display: none; }
  .paper-header { padding: 26px 0 23px; }
  .hero-wordmark { font-size: 53px; gap: 13px; }
  .context-mark { transform: scale(.85) rotate(-8deg); transform-origin: center left; margin-right: -5px; }
  h1 { font-size: 27px; line-height: 1.2; letter-spacing: -.5px; margin-top: 13px; }
  .hero-meta { flex-direction: column; gap: 7px; margin-top: 18px; }
  .authors { font-size: 14px; }
  .review-status { font-size: 11px; }
  .tldr-section { padding-top: 9px; }
  .tldr-box { display: block; padding: 15px 17px; border-left-width: 3px; }
  .tldr-tag { display: inline-block; margin: 0 0 7px; font-size: 10px; }
  .tldr-box p { font-size: 13px; line-height: 1.75; }
  .paper-figure { margin-top: 21px; padding: 11px 11px 0; border-radius: 9px; }
  .paper-figure figcaption { font-size: 11px; padding-block: 12px; margin-top: 12px; }
  .paper-figure figcaption strong { display: block; }
  h2 { font-size: 25px; padding-left: 13px; }
  h2::before { width: 3px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p { font-size: 13px; }
  .problem-figure { padding: 10px; }
  .task-description h3 { font-size: 17px; }
  .task-description p { font-size: 13px; }
  .video-grid { grid-template-columns: 1fr; gap: 22px; }
  .video-top { font-size: 12px; }
  .footer-content { align-items: start; font-size: 10px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.method-section .paper-figure { margin-top: 0; }
.method-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 28px; }
.method-stages article { padding-left: 17px; border-left: 3px solid #c58e7c; }
.method-stages article:last-child { border-color: #91b4a3; }
.method-stages h3 { font-size: 18px; }
.method-stages p { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--muted); }
@media (max-width: 520px) {
  .method-stages h3 { font-size: 17px; }
}

.motivation-focus .problem-figure { padding: 17px 34px; }
.problem-canvas { position: relative; width: 100%; isolation: isolate; }
.problem-canvas > img { width: 100%; }
.problem-spotlight-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.problem-spotlight { position: absolute; inset: 0; opacity: 0; transition: opacity .13s ease; pointer-events: none; }
.problem-spotlight > svg { display: block; width: 100%; height: 100%; }
.motivation-focus[data-active-point] .problem-spotlight { opacity: 1; }
.problem-hotspot { position: absolute; border: 0; border-radius: 0; padding: 0; background: transparent; z-index: 2; }
.problem-hotspot:focus-visible { outline: none; }
.problem-hotspot:focus-visible .problem-badge { outline: 2px solid var(--blue); outline-offset: 3px; }
.problem-badge { position: absolute; top: 50%; transform: translateY(-50%); width: 25px; height: 25px; border: 1px solid #b2c3df; border-radius: 50%; display: grid; place-items: center; color: var(--blue-dark); background: #fff; font-size: 12px; font-weight: 650; line-height: 1; }
.left-region .problem-badge { left: -30px; }
.right-region .problem-badge { right: -30px; }
.problem-hotspot.is-active .problem-badge { color: #fff; background: var(--blue); border-color: var(--blue); }
.motivation-callouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.motivation-callouts > li { min-width: 0; }
.motivation-callout { display: flex; align-items: start; gap: 9px; width: 100%; min-height: 100%; padding: 12px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; }
.motivation-callout.is-active { border-color: #c5d3e7; background: #eaf0f8; }
.callout-number { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; color: var(--blue-dark); background: #e2e9f3; font-size: 11px; font-weight: 650; line-height: 1; margin-top: 2px; }
.motivation-callout.is-active .callout-number { color: white; background: var(--blue); }
.callout-copy { display: block; min-width: 0; }
.callout-phase { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.callout-copy strong { display: block; font-size: 14px; line-height: 1.45; font-weight: 650; }
.callout-description { display: block; margin-top: 7px; font-size: 13px; line-height: 1.7; color: var(--muted); }
@media (max-width: 760px) {
  .method-stages { gap: 26px; }
  .motivation-callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
}
@media (max-width: 520px) {
  .method-stages { grid-template-columns: 1fr; gap: 28px; }
  .method-stages p { font-size: 13px; }
  .motivation-focus .problem-figure { padding: 13px 24px; }
  .problem-badge { width: 18px; height: 18px; font-size: 10px; }
  .left-region .problem-badge { left: -21px; }
  .right-region .problem-badge { right: -21px; }
  .motivation-callouts { gap: 6px; margin-top: 16px; }
  .motivation-callout { padding: 9px 5px; gap: 7px; }
  .callout-number { width: 19px; height: 19px; font-size: 10px; }
  .callout-phase { font-size: 10px; }
  .callout-copy strong { font-size: 13px; }
  .callout-description { font-size: 12px; }
}

.real-robot-figure { margin: 0 0 28px; }
.video-task + .video-task { margin-top: 39px; padding-top: 36px; border-top: 1px solid var(--line); }
.video-note { margin-top: 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
@media (max-width: 520px) {
  .video-task + .video-task { margin-top: 31px; padding-top: 29px; }
}
