:root {
  color-scheme: dark;
  --ink: #0a0f15;
  --ink-raised: #101720;
  --surface: #151e29;
  --surface-2: #1b2633;
  --line: #2c3948;
  --line-soft: rgba(153, 174, 204, 0.17);
  --paper: #eef2f7;
  --muted: #a9b4c5;
  --blue: #82a8ff;
  --blue-deep: #244784;
  --green: #22c55e;
  --orange: #f97316;
  --purple: #8b5cf6;
  --yellow: #facc15;
  --red: #fb7185;
  --page: min(1180px, calc(100vw - 40px));
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(130, 168, 255, .028) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(130, 168, 255, .022) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(130, 168, 255, .14);
  background: rgba(10, 15, 21, .86);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: var(--page);
  height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -.03em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #0d2a5e;
  background: var(--blue);
  border-radius: 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -.08em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 9px 12px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 620;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); background: var(--surface); }
.site-nav .nav-status { color: var(--blue); border: 1px solid var(--line); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.hero {
  width: var(--page);
  min-height: 720px;
  margin: auto;
  padding: 88px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--blue);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); }

h1, h2, h3 { margin-top: 0; text-wrap: balance; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .97;
  letter-spacing: -.065em;
  font-weight: 790;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.05em;
}
h3 { margin-bottom: 9px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.55;
}

.hero-actions, .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button {
  min-height: 50px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #102856;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 13px;
  font-weight: 760;
  text-decoration: none;
}
.button:hover { filter: brightness(1.07); transform: translateY(-1px); }
.button.secondary { color: var(--paper); background: transparent; border-color: var(--line); }

.microcopy { margin-top: 18px; color: #7f8b9c; font-size: 14px; }

.log-demo {
  position: relative;
  padding: 24px;
  background: linear-gradient(150deg, #151e29, #0d141c 72%);
  border: 1px solid #344253;
  border-radius: 28px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.log-demo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 49px, rgba(130,168,255,.055) 50px);
}

.log-head, .exercise-head, .set-row, .log-footer { position: relative; }
.log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}
.log-title { font-size: 16px; font-weight: 750; }
.timer { color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; }
.exercise-head { margin: 24px 0 16px; display: flex; align-items: end; justify-content: space-between; }
.exercise-head strong { font-size: 25px; letter-spacing: -.03em; }
.exercise-head span { color: var(--muted); font-size: 13px; }
.set-labels, .set-row {
  display: grid;
  grid-template-columns: 52px 1fr 1fr 36px;
  align-items: center;
  gap: 10px;
}
.set-labels { margin-bottom: 8px; color: #8290a4; font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.set-row { min-height: 64px; border-top: 1px solid var(--line-soft); }
.set-row:first-of-type { border-top-color: var(--line); }
.set-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
}
.set-number.complete { color: var(--green); border-color: rgba(34,197,94,.55); background: rgba(34,197,94,.1); }
.set-row.above .set-number.complete { color: #8B5CF6; border-color: #8B5CF6; background: transparent; }
.set-row.above .check[aria-pressed="true"] { background: #8B5CF6; }
.metric { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 16px; font-weight: 700; }
.metric small { color: #778498; font-size: 11px; font-weight: 500; }
.check {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #08150d;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  font-weight: 900;
  cursor: pointer;
}
.check[aria-pressed="false"] { color: var(--muted); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.progression-note {
  position: relative;
  margin: 14px 0 0;
  padding: 12px 14px;
  color: #bcd0ff;
  background: rgba(52, 91, 169, .18);
  border: 1px solid rgba(130, 168, 255, .33);
  border-radius: 11px;
  font-size: 13px;
}
.log-footer { margin-top: 21px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.log-footer strong { color: var(--yellow); }

.proof-strip { border-block: 1px solid var(--line-soft); background: rgba(16, 23, 32, .72); }
.proof-inner {
  width: var(--page);
  margin: auto;
  padding: 25px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-item { min-height: 60px; padding: 0 28px; border-left: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; border-left: 0; }
.proof-item strong { display: block; color: var(--paper); font-size: 19px; }
.proof-item span { color: var(--muted); font-size: 14px; }

.section { width: var(--page); margin: auto; padding: 112px 0; }
.section-heading { max-width: 760px; margin-bottom: 58px; }
.section-heading p { max-width: 660px; margin: 0; color: var(--muted); font-size: 19px; }

.notebook-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.flow-list { border-top: 1px solid var(--line); }
.flow-item { padding: 24px 0; display: grid; grid-template-columns: 42px 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.flow-number { color: var(--blue); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; font-weight: 800; }
.flow-item p { margin: 7px 0 0; color: var(--muted); font-size: 15px; }

.phone-stage { position: relative; min-height: 610px; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(130,168,255,.2); border-radius: 50%; box-shadow: 0 0 90px rgba(80,120,210,.1); }
.phone {
  position: relative;
  z-index: 2;
  width: min(330px, 78vw);
  padding: 11px;
  background: #030507;
  border: 1px solid #455363;
  border-radius: 48px;
  box-shadow: 0 32px 90px rgba(0,0,0,.55);
  transform: rotate(2.5deg);
}
.phone img { width: 100%; border-radius: 38px; }
.screen-note { position: absolute; z-index: 3; right: 0; bottom: 62px; width: 210px; padding: 15px 17px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.screen-note b { display: block; margin-bottom: 2px; font-size: 14px; }
.screen-note span { color: var(--muted); font-size: 12px; }

.feature-ledger { border-top: 1px solid var(--line); }
.feature-row {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 38px minmax(200px, .75fr) minmax(0, 1.4fr) 24px;
  align-items: start;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.feature-row:hover { background: linear-gradient(90deg, transparent, rgba(130,168,255,.04), transparent); }
.feature-icon { color: var(--blue); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; }
.feature-row h3 { margin: 0; }
.feature-row p { margin: 0; color: var(--muted); }
.feature-arrow { color: #637287; }

.analytics { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.muscle-visual { position: relative; min-height: 680px; display: grid; place-items: center; overflow: hidden; }
.muscle-visual img { max-height: 650px; filter: saturate(.82) contrast(1.05); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.measure-callout { position: absolute; padding: 10px 12px; background: rgba(16,23,32,.92); border: 1px solid var(--line); border-radius: 10px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; }
.measure-callout.one { top: 31%; left: 3%; }
.measure-callout.two { top: 47%; right: 2%; }
.measure-callout.three { bottom: 25%; left: 8%; }
.measure-callout b { display: block; color: var(--green); font-size: 17px; }

.stat-lines { margin-top: 38px; }
.stat-line { margin-top: 24px; }
.stat-line-head { margin-bottom: 9px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.stat-line-head strong { color: var(--green); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.stat-line { margin-bottom: 18px; }
.stat-meta { margin-bottom: 7px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.stat-meta strong { color: var(--paper); }
.bar { height: 7px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--blue); border-radius: inherit; }

.data-section { background: var(--paper); color: #131a24; }
.data-section .section { padding-block: 100px; }
.data-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.data-section .eyebrow { color: #315fae; }
.data-section .eyebrow::before { background: #315fae; }
.data-section p { color: #536174; }
.privacy-points { border-top: 1px solid #cbd3df; }
.privacy-point { padding: 19px 0; display: grid; grid-template-columns: 30px 1fr; gap: 12px; border-bottom: 1px solid #cbd3df; }
.privacy-point span:first-child { color: #315fae; font-weight: 800; }

.cta-block { width: var(--page); margin: 100px auto; padding: clamp(34px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; background: linear-gradient(140deg, #19283d, #111821); border: 1px solid #3a4c63; border-radius: 24px; }
.cta-block h2 { margin-bottom: 12px; font-size: clamp(34px, 4vw, 52px); }
.cta-block p { max-width: 650px; margin: 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { width: var(--page); margin: auto; padding: 50px 0 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-copy { max-width: 390px; color: var(--muted); font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: var(--paper); }
.footer-bottom { margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #778498; border-top: 1px solid var(--line-soft); font-size: 12px; }

.page-hero { width: var(--page); margin: auto; padding: 92px 0 66px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; font-size: clamp(50px, 7vw, 84px); }
.page-hero > p:not(.eyebrow) { max-width: 760px; margin: 0; color: var(--muted); font-size: 21px; }

.manual-layout { width: var(--page); margin: auto; padding: 64px 0 120px; display: grid; grid-template-columns: 250px minmax(0, 760px); gap: clamp(50px, 8vw, 110px); align-items: start; }
.toc { position: sticky; top: 110px; }
.toc-title { margin-bottom: 12px; color: #78879a; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.toc a { padding: 8px 0; display: block; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; font-size: 14px; text-decoration: none; }
.toc a:hover { color: var(--paper); border-color: var(--blue); }

.manual-content section { padding: 6px 0 56px; scroll-margin-top: 110px; }
.manual-content h2 { font-size: clamp(32px, 4vw, 48px); }
.manual-content h3 { margin-top: 34px; }
.manual-content p, .manual-content li { color: var(--muted); }
.manual-content strong { color: var(--paper); }
.manual-content ul, .manual-content ol { padding-left: 22px; }
.manual-content li + li { margin-top: 9px; }
.note { margin: 24px 0; padding: 18px 20px; color: #cbd8f5; background: rgba(130,168,255,.08); border-left: 3px solid var(--blue); }
.warning { border-left-color: var(--orange); background: rgba(249,115,22,.08); color: #ffd1b8; }
.step-list { counter-reset: steps; list-style: none; padding-left: 0 !important; }
.step-list li { position: relative; min-height: 46px; padding: 0 0 24px 52px; border-left: 1px solid var(--line); margin-left: 17px; }
.step-list li::before { counter-increment: steps; content: counter(steps); position: absolute; top: -2px; left: -18px; width: 35px; height: 35px; display: grid; place-items: center; color: #102856; background: var(--blue); border-radius: 50%; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; font-weight: 850; }
.step-list li:last-child { border-left-color: transparent; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; padding: 21px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--paper); background: none; border: 0; text-align: left; font-weight: 720; cursor: pointer; }
.faq-question span:last-child { color: var(--blue); font-size: 24px; transition: transform .2s ease; }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { padding: 0 36px 22px 0; color: var(--muted); }
.faq-answer[hidden] { display: none; }

.policy-meta { width: var(--page); margin: 0 auto -20px; padding-top: 34px; color: #748297; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; }
.contact-panel { margin-top: 32px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-panel p:last-child { margin-bottom: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: #bad0ff; background: rgba(130,168,255,.1); border: 1px solid rgba(130,168,255,.28); border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pill::before { content: ""; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px rgba(130,168,255,.1); }

:focus-visible { outline: 3px solid rgba(130, 168, 255, .9); outline-offset: 3px; }

@media (max-width: 900px) {
  :root { --page: min(calc(100% - 32px), 720px); }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; padding: 14px 16px 18px; display: none; flex-direction: column; align-items: stretch; background: #0b1118; border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 68px; }
  .hero-visual { max-width: 620px; }
  .proof-inner { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .proof-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .notebook-flow, .analytics, .data-grid { grid-template-columns: 1fr; }
  .notebook-flow .phone-stage { order: -1; }
  .phone-stage::before { width: min(420px, 100%); }
  .feature-row { grid-template-columns: 32px 1fr 24px; }
  .feature-row p { grid-column: 2 / 4; }
  .cta-block { grid-template-columns: 1fr; }
  .manual-layout { grid-template-columns: 1fr; }
  .toc { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .toc a { display: inline-block; margin: 0 8px 8px 0; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .site-nav { top: 68px; }
  .hero { padding: 52px 0 60px; gap: 46px; }
  h1 { font-size: clamp(46px, 15vw, 64px); }
  .hero-copy > p:not(.eyebrow) { font-size: 18px; }
  .log-demo { padding: 18px 15px; border-radius: 21px; }
  .set-labels, .set-row { grid-template-columns: 44px 1fr 1fr 32px; gap: 5px; }
  .metric { font-size: 14px; }
  .proof-inner { grid-template-columns: 1fr; }
  .proof-item, .proof-item:nth-child(3) { padding: 13px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 40px; }
  .phone-stage { min-height: 530px; }
  .screen-note { right: -4px; bottom: 34px; }
  .feature-row { gap: 12px; }
  .muscle-visual { min-height: 560px; }
  .measure-callout { font-size: 10px; }
  .cta-block { margin-block: 70px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .page-hero { padding-top: 66px; }
  .page-hero > p:not(.eyebrow) { font-size: 18px; }
  .manual-layout { padding-top: 42px; }
}

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

/* The handbook keeps the app's palette and uses real screens as the visual reference. */
.guide-search-label { display: block; margin-bottom: 7px; font-size: 13px; color: var(--muted); }
.guide-search { width: 100%; min-height: 44px; padding: 10px 12px; margin-bottom: 16px; color: var(--paper); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.guide-search::placeholder { color: var(--muted); }
.toc { max-height: calc(100vh - 130px); overflow-y: auto; overscroll-behavior: contain; padding-right: 12px; }
.guide-meta { margin: 0 0 12px; font-size: 12px; font-family: ui-monospace, Menlo, monospace; color: var(--blue) !important; }
.guide-intro { font-size: 15px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.manual-content section[hidden], .toc a[hidden], #guide-no-results[hidden] { display: none; }
.guide-shots { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin: 30px 0; }
.guide-shots figure { flex: 0 1 250px; min-width: 0; margin: 0; }
.screenshot-link { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--ink); }
.screenshot-link img { width: 100%; height: auto; }
.guide-shots figcaption { padding-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.guide-table-wrap { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; }
.guide-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
.guide-table th, .guide-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-table thead { background: var(--surface); color: var(--paper); }
.guide-table tbody th { color: var(--blue); min-width: 75px; font-weight: 700; }
.guide-table td { color: var(--muted); }
.guide-table tbody tr:last-child > * { border-bottom: 0; }
.status-green { color: var(--green) !important; }
.status-orange { color: var(--orange) !important; }
.status-purple { color: #b595ff !important; }
.status-gold { color: var(--yellow) !important; }
.guide-fixes dt { margin-top: 24px; font-weight: 700; }
.guide-fixes dd { margin: 8px 0 0; color: var(--muted); }
.screenshot-viewer { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 14px; color: var(--paper); background: var(--ink-raised); border: 1px solid var(--line); border-radius: 16px; }
.screenshot-viewer::backdrop { background: rgba(0,0,0,.85); }
.screenshot-viewer button { display: block; margin: 0 0 12px auto; padding: 10px 18px; color: var(--paper); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.screenshot-viewer img { width: auto; max-height: calc(100dvh - 110px); margin: auto; }
@media (max-width: 900px) {
  .toc { max-height: none; overflow: visible; padding-right: 0; }
  .guide-search { display: block; max-width: 360px; }
}
@media (max-width: 620px) {
  .guide-shots { gap: 16px; }
  .guide-shots figure { flex-basis: min(250px, 100%); }
  .guide-table { font-size: 13px; }
  .guide-table th, .guide-table td { padding: 10px; }
}
@media print {
  :root { color-scheme: light; --ink: #fff; --ink-raised: #fff; --paper: #101829; --muted: #344766; --line: #cad5e4; --surface: #eef4ff; --blue: #245bb3; }
  body { background: white; color: #101829; font-size: 11pt; }
  .site-header, .site-footer, .toc, .screenshot-viewer, .skip-link { display: none; }
  .page-hero { padding: 0 0 20px; }
  .page-hero h1 { font-size: 30pt; }
  .manual-layout { display: block; padding: 20px 0; }
  .manual-content section { padding-bottom: 20px; }
  .guide-shots, tr { break-inside: avoid; }
  .guide-shots figure { flex-basis: 160px; }
  .guide-table-wrap { overflow: visible; }
}
.handbook .page-hero { padding-block: 48px 38px; }
.handbook .page-hero h1 { font-size: clamp(40px, 5vw, 64px); }
.handbook .page-hero > p:not(.eyebrow) { font-size: 18px; }
.guide-contents summary { display: none; }
@media (max-width: 900px) {
  .guide-contents summary { display: list-item; padding: 12px 0; color: var(--blue); cursor: pointer; font-weight: 700; }
  .guide-contents[open] summary { margin-bottom: 12px; }
}

.brand-icon { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
