@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}


@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.bitcoin-book {
  --book-background: #0b0b0d;
  --book-panel: #151518;
  --book-panel-2: #1c1b1d;
  --book-text: #fbfaf7;
  --book-muted: #c2bdb6;
  --book-border: #343136;
  --book-gold: #ffb56b;
  --book-blue: #a5d2e4;
  --shell: min(77rem, calc(100% - 5rem));
  --book-display: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background: var(--book-background);
  color: var(--book-text);
}

.bitcoin-book :focus-visible { outline: 2px solid var(--book-gold); outline-offset: 4px; }
.bitcoin-book > .skip-link:focus { background: var(--book-gold); color: #1d130a; }
.book-header a, .book-footer a, .book-home main a, .book-main a { color: var(--book-gold); }

.book-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-block-end: 1px solid #ffffff18;
  background: #0b0b0dfa;
  backdrop-filter: blur(16px);
}

.book-nav-layout {
  position: relative;
  display: grid;
  min-height: 4.9rem;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: .4rem 1.5rem;
}

.bitcoin-book .book-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .66rem;
  color: var(--book-text);
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 760;
  letter-spacing: -.035em;
}

.book-brand .brand-mark {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  padding: 0;
  border: 1px solid #feba842a;
  border-radius: .63rem;
  background: #ffb56b;
  color: #17110c;
  line-height: 1;
}

.book-nav, .book-nav-aux {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: clamp(.65rem, 2.2vw, 1.65rem);
}

.book-nav { justify-content: center; }
.book-nav-aux { gap: .8rem; }

.book-live-quote {
  inline-size: 16rem;
  max-inline-size: 100%;
  text-align: center;
  line-height: 1.1;
}

.book-live-quote iframe {
  display: block;
  inline-size: 100%;
  block-size: 4.3rem;
  border: 0;
}

.book-live-quote > a { color: var(--book-muted); font-size: .72rem; }

.book-nav > a, .book-nav summary, .book-nav-aux summary, .book-support {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .18rem;
  font-size: .94rem;
  font-weight: 630;
  color: var(--book-text);
  text-decoration: none;
  white-space: nowrap;
}

.book-nav > a[aria-current], .book-nav > a:hover, .book-nav summary:hover, .book-nav-aux summary:hover {
  color: var(--book-gold);
}
.book-nav > a[aria-current] { border-bottom: 2px solid var(--book-gold); }
.book-nav summary, .book-nav-aux summary { list-style: none; cursor: pointer; gap: .45rem; }
.book-nav summary::-webkit-details-marker, .book-nav-aux summary::-webkit-details-marker { display: none; }
.book-nav summary::after { content: ""; width: .38rem; height: .38rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-.13rem); }
.book-dropdown:not(.book-language) { position: relative; }
.book-dropdown:not([open]) > .book-nav-panel { display: none; }

.book-nav-panel {
  position: absolute;
  z-index: 2;
  inset-block-start: calc(100% + .25rem);
  inset-inline-start: -.7rem;
  display: grid;
  gap: .13rem;
  min-width: 12.2rem;
  width: max-content;
  max-width: min(21rem, calc(100vw - 2rem));
  padding: .44rem;
  background: #1c1b20;
  border: 1px solid #5a4d44;
  border-radius: .9rem;
  box-shadow: 0 1.2rem 3rem #0009;
  animation: book-panel-enter .18s ease-out both;
}

.book-nav-panel a {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 2.75rem;
  padding: .48rem .65rem;
  border-radius: .49rem;
  color: var(--book-text);
  font-size: .91rem;
  text-decoration: none;
}

.book-nav-panel a[aria-current], .book-nav-panel a:hover { background: #423029; color: #ffe0bd; }
.book-nav small, .book-support small, .book-tool small, .book-footer nav small, .book-button small { font-size: .77rem; }
.book-support {
  padding-inline: .78rem;
  border: 1px solid #72593e;
  border-radius: .55rem;
  color: #ffe1c3;
}
.book-support:hover { background: #302317; color: #fff0dc; }
.book-globe { display: inline-block; width: .95rem; height: .95rem; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.book-globe::before { content: ""; position: absolute; inset: 0 .22rem; border-inline: 1px solid currentColor; border-radius: 50%; }
.book-globe::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 46%; border-block-start: 1px solid currentColor; }
.book-search-icon {
  position: relative;
  display: inline-block;
  flex: none;
  inline-size: 1.08rem;
  block-size: 1.08rem;
}
.book-search-icon::before, .book-search-icon::after { content: ""; position: absolute; }
.book-search-icon::before {
  inset: 0 .27rem .27rem 0;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}
.book-search-icon::after {
  inset: .72rem auto auto .64rem;
  inline-size: .46rem;
  border-block-start: 1.6px solid currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.book-languages {
  inset-inline: auto 0;
  inset-block-start: calc(100% + .38rem);
  width: min(33rem,calc(100vw - 2rem));
  max-width: none;
  grid-template-columns: repeat(3,minmax(0,1fr));
  max-height: min(65vh,34rem);
  overflow: auto;
}
.book-languages a { width: 100%; overflow-wrap: anywhere; }
.book-languages bdi { unicode-bidi: isolate; }
.book-languages .book-language-directory {
  grid-column: 1 / -1;
  position: sticky;
  inset-block-end: 0;
  margin-block-start: .3rem;
  border-block-start: 1px solid var(--book-border);
  background: var(--book-panel-2);
  color: var(--book-gold);
  gap: .6rem;
  font-weight: 650;
}

.book-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(33rem, 53vw, 45.5rem);
  border-block-end: 1px solid var(--book-border);
  overflow: hidden;
}

.book-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #0b0b0d;
}
.book-hero-media picture { position: absolute; inset: 0 0 0 auto; width: min(83%, 90rem); height: 100%; }
.book-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; animation: book-hero-focus 3.8s cubic-bezier(.22,1,.31,1) both; }
.book-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,#0b0b0d 10%,#0b0b0def 30%,#0b0b0d92 50%,transparent 77%),linear-gradient(0deg,#0b0b0df5 0%,transparent 20%);
}

[dir="rtl"] .book-hero-media picture { inset-inline: auto 0; }
[dir="rtl"] .book-hero-media::after { transform: scaleX(-1); }
[dir="rtl"] .book-hero-media img { object-position: 61% center; }
.book-hero-content { padding-block: clamp(3.85rem,8vw,8.7rem); }
.book-hero h1,
.book-page-heading h1 {
  max-inline-size: 17ch;
  color: var(--book-text);
  font-family: var(--book-display);
  font-size: clamp(3.2rem,6.45vw,6.8rem);
  font-weight: 740;
  letter-spacing: -.065em;
  line-height: 1.03;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.book-hero h1 { animation: book-rise .68s .05s cubic-bezier(.21,.7,.32,1) both; }
.book-hero p, .book-page-heading p {
  max-inline-size: 34rem;
  margin-block-start: 1.15rem;
  color: #e1dcd5;
  font-size: clamp(1.03rem,1.65vw,1.23rem);
  line-height: 1.64;
}
.book-hero p { animation: book-rise .7s .13s cubic-bezier(.21,.7,.32,1) both; }
.book-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .64rem; margin-block-start: 1.55rem; }
.book-hero .book-actions { animation: book-rise .7s .2s cubic-bezier(.21,.7,.32,1) both; }

.book-button {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  justify-content: center;
  max-inline-size: 100%;
  min-height: 3rem;
  padding: .68rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .58rem;
  font-size: .94rem;
  text-decoration: none;
  font-weight: 720;
  line-height: 1.23;
  transition: background .18s, border-color .18s, transform .18s;
}

.bitcoin-book .book-button-primary { background: #ffb56b; color: #17110c; }
.bitcoin-book .book-button-primary:hover { background: #ffd2a0; color: #17110c; }
.bitcoin-book .book-button-outline { color: var(--book-text); background: #1b191c; border-color: #867260; }
.bitcoin-book .book-button-outline:hover { background: #35271e; border-color: #d4975e; }

.book-tools { padding-block: clamp(1.95rem,5vw,3.7rem); scroll-margin-block-start: 6.5rem; }
.book-tools h2 { color: var(--book-muted); font-size: 1rem; font-weight: 660; }
.book-tool-grid, .book-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-block-start: .85rem; gap: .8rem; }

.book-tool {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: .3rem;
  min-width: 0;
  min-height: 8.2rem;
  padding: 1rem;
  border: 1px solid var(--book-border);
  border-radius: .78rem;
  background: #131316;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.bitcoin-book .book-tool:hover { border-color: #bf8053; background: #221914; }
.book-tool > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; color: var(--book-muted); font-size: .94rem; }
.book-tool > bdi { color: var(--book-text); font-size: clamp(1.5rem,3.1vw,2.55rem); line-height: 1.15; font-weight: 700; letter-spacing: -.045em; overflow-wrap: anywhere; }
.book-tool > small { color: var(--book-muted); }

.book-editorial { padding-block: clamp(1.8rem,4vw,3rem) clamp(3rem,7vw,6rem); }
.book-editorial-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; justify-content: space-between; }
.book-editorial-head h2 { font: 720 clamp(2.05rem,4.5vw,4.25rem)/1.07 var(--book-display); letter-spacing: -.05em; }
.book-text-link { font-size: .96rem; font-weight: 690; }
.book-feature {
  min-width: 0;
  padding: clamp(1rem,2.7vw,1.85rem);
  border: 1px solid var(--book-border);
  border-radius: .78rem;
  border-block-start-color: #a76640;
  background: linear-gradient(140deg,#201918,#151518 75%);
}
.book-feature h3 { font-size: clamp(1.15rem,1.9vw,1.42rem); line-height: 1.24; }
.book-feature p { margin-block-start: .72rem; color: var(--book-muted); line-height: 1.69; }
.book-read-next { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; margin-block-start: 1.4rem; }
.book-next-link { display: flex; align-items: center; padding: 1rem 1.15rem; border: 1px solid #6b5547; border-radius: .65rem; background: #1a1718; line-height: 1.35; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.book-next-link:hover { border-color: var(--book-gold); }

.book-main { padding-block: clamp(2.3rem,6vw,5.5rem) clamp(3.25rem,7vw,6.25rem); }
.book-page-heading { margin-block-end: clamp(1.6rem,5vw,3.9rem); }
.book-page-heading h1 { max-inline-size: 24ch; font-size: clamp(2.3rem,5vw,5rem); }
.book-legacy > main.book-language-list { background: var(--book-panel); color: var(--book-text); }
.book-language-list .book-page-heading { margin-block-end: clamp(1rem,3vw,2rem); }
.book-language-filter {
  position: relative;
  margin-block: 1.15rem;
  max-inline-size: 30rem;
}
.book-language-filter > .book-search-icon {
  position: absolute;
  inset-inline-start: .82rem;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--book-gold);
  pointer-events: none;
}
.book-language-filter input[type="search"] {
  inline-size: 100%;
  min-block-size: 2.75rem;
  padding: .6rem .8rem;
  padding-inline-start: 2.45rem;
  scroll-margin-block-start: 12rem;
  border: 1px solid var(--book-border);
  border-radius: .45rem;
  background: var(--book-background);
  color: var(--book-text);
  font: inherit;
}
.book-language-options {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(12.5rem,100%),1fr));
  gap: .5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.book-language-options li {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .2rem;
  min-inline-size: 0;
  overflow-wrap: anywhere;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 2.75rem;
}
.book-language-options li > :is(a, button) {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-inline-size: 0;
  min-block-size: 2.75rem;
  padding: .55rem .7rem;
  border: 1px solid var(--book-border);
  border-radius: .45rem;
  background: var(--book-background);
  color: var(--book-muted);
  font: inherit;
  text-align: start;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.book-language-options li > a { color: var(--book-gold); background: var(--book-panel-2); }
.book-language-options li > a.book-language-auto {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .24rem;
  color: var(--book-text);
}
.book-language-auto small { color: var(--book-gold); font-size: .78rem; line-height: 1.3; }
.book-language-options li > button:enabled { cursor: pointer; }
.book-language-options li > :is(a, button:enabled):hover { text-decoration: underline; border-color: #876950; }
.book-language-dialog {
  width: min(28rem, calc(100% - 2rem));
  margin: auto;
  padding: clamp(1rem, 4vw, 1.7rem);
  border: 1px solid #72593e;
  border-radius: .85rem;
  background: var(--book-panel);
  color: var(--book-text);
  overflow-wrap: anywhere;
}
.book-language-dialog::backdrop { background: #000b; }
.book-language-dialog h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
.book-language-dialog p { margin-block: .65rem 1.2rem; color: var(--book-muted); }
.book-language-dialog form { display: flex; flex-wrap: wrap; gap: .55rem; }
.book-guide-layout { display: grid; grid-template-columns: minmax(11rem,17rem) minmax(0,49rem); gap: clamp(1rem,5vw,4rem); align-items: start; }
.book-index {
  position: sticky;
  inset-block-start: 6.2rem;
  padding: .68rem;
  background: var(--book-panel);
  border: 1px solid var(--book-border);
  border-radius: .8rem;
}
.book-index ul, .book-sources ul { display: grid; gap: .24rem; margin: 0; padding: 0; list-style: none; }
.book-index a { display: flex; align-items: center; min-height: 2.75rem; padding: .6rem; border-radius: .4rem; text-decoration: none; color: var(--book-muted); line-height: 1.34; }
.book-index a:hover, .book-index a:focus-visible { color: var(--book-gold); background: #28201c; }
.book-chapter { scroll-margin-block-start: 6rem; margin-block-end: clamp(1.6rem,4.5vw,3.6rem); }
.book-chapter h2, .book-sources h2 { font: 700 clamp(1.45rem,3vw,2.45rem)/1.15 var(--book-display); letter-spacing: -.035em; }
.book-chapter p { margin-block-start: .85rem; color: #e5ddd6; font-size: 1.06rem; line-height: 1.82; }
.book-sources { margin-block: 2.2rem; padding: 1rem 1.25rem; border: 1px solid var(--book-border); border-radius: .7rem; background: var(--book-panel); }
.book-sources a { display: inline-flex; align-items: center; min-height: 2.6rem; }
.book-sources h2 { margin-block-end: .5rem; font-size: 1.25rem; }
.book-reader { max-inline-size: 55rem; }
.book-reader .book-sources li > a { padding-block: .25rem; }
.book-price-editorial { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; margin-block-start: clamp(2rem,6vw,4.8rem); }
.book-price-editorial .book-chapter { margin: 0; }
.book-price-editorial h2 { font-size: clamp(1.25rem,2.5vw,1.9rem); }
.book-price-heading { margin-block-end: clamp(1.2rem,3.5vw,2.6rem); }
.book-price-heading h1 { max-inline-size: 28ch; text-wrap: balance; }

.book-market {
  --market-line: #ffb56b;
  --market-area: #ffb56b28;
  --market-grid: #423a36;
  --market-label: #c6b7aa;
  --market-crosshair: #f1a467;
  --ink: var(--book-text);
  --rule: var(--book-border);
  --surface: #131316;
  --muted: var(--book-muted);
  --deep: #33251d;
  gap: 1rem;
}

.book-market .market-card, .book-market .market-panel { border-radius: .9rem; }
.book-market .market-panel {
  background: radial-gradient(ellipse at 0% 0%, #241c1a, transparent 60%), var(--surface);
}
.book-market .market-price { min-block-size: 1.13em; }
.book-market .market-meta { min-block-size: 1.25em; }
.book-market .market-periods { background: #211d1c; }
.book-market .market-periods button { color: var(--book-muted); }
.book-market .market-periods button[aria-pressed="true"] { color: #1a130e; background: #ffbb76; border-color: #ffbb76; }
.book-market .market-field input, .book-market .address-form input { background: #1e1d22; border-color: #64544b; color: var(--book-text); }
.book-market .market-field input { padding-inline: .7rem; }
.book-market .market-field input[aria-invalid="true"] { border-color: #ff9b8d; }
.book-market .market-range dd, .book-market .market-price { unicode-bidi: plaintext; }
.book-market .market-change[data-direction="up"] { color: #92ddb1; }
.book-market .market-change[data-direction="down"] { color: #ff9b8d; }
.book-market .market-chart-help, .book-market .market-updated,
.book-market .market-history-meta { color: var(--book-muted); font-size: .875rem; }
.book-market .market-chart-help { margin-block-start: .45rem; }
.book-market .market-history-meta { min-block-size: 1.35em; margin-block-start: .25rem; overflow-wrap: anywhere; }
.book-market #market-status { color: #ffe0b1; }
.book-market #market-convert-status { color: #ffb6a9; }
.book-market .market-actions, .book-market-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .75rem;
}
.book-market .market-actions .book-button { min-height: 2.75rem; padding: .5rem .72rem; font-size: .875rem; }
.book-market .market-actions .book-button:disabled { opacity: .65; cursor: progress; }
.book-market .market-periods button:focus-visible, .book-market canvas:focus-visible { outline-color: #ffd6a4; }
.book-market-links { margin-block-start: 1rem; }
.book-market-links a { min-height: 2.75rem; text-align: center; }

.book-footer {
  padding-block: clamp(1.8rem,5vw,3.9rem);
  border-block-start: 1px solid var(--book-border);
  background: #101013;
}

.book-footer-grid { display: grid; grid-template-columns: minmax(12rem,1.5fr) repeat(2,minmax(0,1fr)); gap: 1.4rem 2.2rem; }
.book-footer p { margin-block-start: .62rem; max-inline-size: 28rem; color: var(--book-muted); }
.book-footer nav { display: grid; align-content: start; gap: .15rem; }
.book-footer nav a { display: inline-flex; align-items: center; gap: .35rem; width: fit-content; min-height: 2.55rem; font-size: .94rem; color: #edcfb6; }
.book-footer-payment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin-block-start: clamp(1rem,3vw,2rem);
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--book-border);
}
.book-footer-payment-title { font-weight: 680; }
.book-footer-payment select {
  appearance: none;
  max-inline-size: 100%;
  min-block-size: 2.75rem;
  padding: .5rem 2.35rem .5rem .8rem;
  border: 1px solid #685245;
  border-radius: .48rem;
  color: var(--book-text);
  background: linear-gradient(45deg,transparent 50%,#edcfb6 50%) right 1.08rem center / .32rem .32rem no-repeat,
    linear-gradient(135deg,#edcfb6 50%,transparent 50%) right .76rem center / .32rem .32rem no-repeat,
    #211c1b;
  font: inherit;
  font-size: .9rem;
}
.book-footer a.book-footer-payment-address {
  color: #edcfb6;
  min-inline-size: 0;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .875rem;
}

.book-legacy { background: #101013; }
.book-legacy > main {
  color: #101a2a;
  background: #f6f7fa;
  border-block-start: 3px solid #ba7546;
}
.book-legacy > main:not(.support-main) { min-height: 37vh; }
.book-legacy > main.site-shell {
  margin-block: clamp(.8rem,2.5vw,2rem);
  padding-inline: clamp(.9rem,3vw,2.35rem);
  border-radius: .9rem;
}
.book-legacy > main:not(.site-shell) { min-height: 50vh; }
.book-legacy > main a:focus-visible { outline-color: #914315; }
.book-legacy.support-page > main { background: #f7f7fa; }
.book-legacy .article h1, .book-legacy .services-intro h1, .book-legacy .support-intro h1 { font-family: var(--book-display); font-weight: 720; }

@keyframes book-rise { from { transform: translateY(16px); opacity: .58; } to { transform: translateY(0); opacity: 1; } }
@keyframes book-hero-focus { from { transform: scale(1.055); opacity: .76; } to { transform: scale(1); opacity: 1; } }
@keyframes book-panel-enter { from { opacity: .66; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .book-reveal { animation: book-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}

:where(html[dir="rtl"], html[lang^="ja"], html[lang^="ko"], html[lang^="zh"], html[lang="th"], html[lang="hi"], html[lang="ta"], html[lang="te"], html[lang="bn"], html[lang="mr"]) .book-hero h1,
:where(html[dir="rtl"], html[lang^="ja"], html[lang^="ko"], html[lang^="zh"], html[lang="th"], html[lang="hi"], html[lang="ta"], html[lang="te"], html[lang="bn"], html[lang="mr"]) .book-page-heading h1 {
  letter-spacing: normal;
  line-height: 1.2;
  max-inline-size: 27ch;
}

@media(max-width: 1060px) {
  .bitcoin-book { --shell: calc(100% - 2.65rem); }
  .book-nav-layout { grid-template-columns: auto minmax(0,1fr) auto; gap: .35rem .95rem; }
  .book-nav-aux { grid-column: 3; grid-row: 1; }
  .book-live-quote { grid-column: 1 / -1; grid-row: 2; }
  .book-chapter, .book-tools { scroll-margin-block-start: 12rem; }
}

@media(max-width: 790px) {
  .bitcoin-book { --shell: calc(100% - 1.65rem); }
  .book-nav-layout { grid-template-columns: minmax(0,1fr) auto; padding-block: .45rem .25rem; min-height: 0; }
  .book-nav-aux { grid-row: 1; grid-column: 2; gap: .55rem; }
  .book-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; flex-wrap: wrap; gap: .16rem .65rem; }
  .book-live-quote { grid-row: 3; }
  .book-nav > a, .book-nav summary, .book-nav-aux summary, .book-support { font-size: .875rem; }
  .book-nav .book-dropdown .book-nav-panel { inset-inline: auto 0; }
  .book-index { position: static; }
  .book-guide-layout { grid-template-columns: minmax(0,1fr); }
  .book-chapter, .book-tools, .book-language-filter input[type="search"] { scroll-margin-block-start: 17rem; }
}

@media(max-width: 690px) {
  .book-hero { min-height: 0; align-items: start; background: #0b0b0d; }
  .book-hero-media picture { inset: 0; width: 100%; height: 100%; }
  .book-hero-media img { object-position: 66% 44%; }
  .book-hero-media::after, [dir="rtl"] .book-hero-media::after { background: linear-gradient(0deg,#0b0b0d 0%,#0b0b0de8 32%,#0b0b0d74 49%,#0b0b0d22 70%); }
  .book-hero-content { padding-block: clamp(12.2rem,45vw,19rem) 2.3rem; }
  .book-hero h1 { font-size: clamp(2.35rem,9.3vw,4rem); max-inline-size: 20ch; }
  .book-page-heading h1 { font-size: clamp(2rem,7vw,3.55rem); }
  .book-feature-grid, .book-price-editorial { grid-template-columns: minmax(0,1fr); }
  .book-legacy > main.site-shell { margin-block: .6rem; }
}

@media(max-width: 455px) {
  .book-brand .brand-mark { width: 1.8rem; height: 1.8rem; font-size: 1.08rem; }
  .bitcoin-book .book-brand { font-size: 1.03rem; gap: .42rem; }
  .book-support { padding-inline: .43rem; white-space: normal; }
  .book-support small { display: none; }
  .book-nav > a, .book-nav summary { max-inline-size: 100%; white-space: normal; overflow-wrap: anywhere; }
  .book-nav { column-gap: .22rem; }
  .book-nav > a, .book-nav summary { font-size: .81rem; }
  .book-nav-layout { gap: .15rem .52rem; }
  .book-languages { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .book-tool-grid, .book-read-next { grid-template-columns: 1fr; gap: .57rem; }
  .book-tool { min-height: auto; }
  .book-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .95rem .65rem; }
  .book-footer-grid > div { grid-column: 1 / -1; }
  .book-footer-payment-address { flex-basis: 100%; }
  .book-language-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .book-language-options li > :is(a, button) { padding-inline: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bitcoin-book *, .bitcoin-book *::before, .bitcoin-book *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.book-nav .book-nav-panel { max-block-size: min(55vh,32rem); overflow: auto; }
@media(max-width: 790px) {
  .book-nav .book-dropdown { position: static; }
}

.book-hero h1 {
  max-inline-size: min(42rem, 100%);
  font-size: clamp(3rem, 6vw, 6rem);
}
.book-hero h1 span {
  display: block;
  color: #ffbc82;
  font-size: .82em;
  line-height: 1.1;
}
@media(max-width: 690px) {
  .book-hero h1 { font-size: clamp(2.45rem, 9.65vw, 4rem); }
}

.book-legacy {
  --serif: var(--book-display);
  --accent: #8a431e;
  --accent-dark: #6f3518;
  --green: #803d21;
  --deep: #53321e;
  --rule: #e8ded4;
  --tool-accent: #8a431e;
  --tool-soft: #f8efe7;
  --onboarding-accent: #8a431e;
  --onboarding-panel: #f8efe7;
  --edu-accent: #8a431e;
  --edu-tint: #f8efe7;
}

.book-legacy > main, .book-legacy.support-page > main { background: #faf8f5; }
.book-legacy .lookup-hero h1, .book-legacy .report-top h2 { font-weight: 720; }
.book-legacy .button-outline { border-color: #d7c3b0; }
.book-legacy .button-outline:hover { background: #f5e8dc; }
