@font-face { font-family: 'Onest'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/onest-latin-wght-normal.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; }
@font-face { font-family: 'Onest'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/onest-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800; src: url('/assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2'); }

html { color-scheme: dark; }
body { margin: 0; background: #14120F; }
a { color: #F6F1E8; }
a:hover { color: #F7A066; }
:focus-visible { outline: 2px solid #F07A2D; outline-offset: 3px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: #F07A2D; color: #14120F; font: 600 15px 'Onest', system-ui, sans-serif; text-decoration: none; }
.skip:focus { top: 16px; }

.nt-btn { transition: transform .15s ease, box-shadow .15s ease; }
.nt-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(240,122,45,.25); }
.nt-reveal { will-change: transform, opacity; }
.nt-shot { transition: transform .25s ease, box-shadow .25s ease; }
.nt-shot:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(0,0,0,.45); }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] .nt-plus { transform: rotate(45deg); }
.nt-plus { transition: transform .2s ease; }
@keyframes nt-caret { 50% { opacity: 0; } }
.nt-caret { animation: nt-caret 1s steps(1) infinite; }

/* Markdown note: rendered by default, .is-raw shows the file as written. */
.md-line { font-family: 'Onest', system-ui, sans-serif; line-height: 1.35; color: #1C1A17; transition: font-size .45s ease, color .45s ease; }
.md-h1 { font-size: 34px; font-weight: 750; }
.md-h2 { font-size: 22px; font-weight: 750; }
.md-p { font-size: 17px; font-weight: 450; color: #5C574F; }
.md-todo { font-size: 17px; font-weight: 450; }
.md-gap { height: 6px; }
.md-mk { display: inline-block; overflow: hidden; white-space: pre; vertical-align: bottom; max-width: 0; opacity: 0; color: #F07A2D; font-family: 'JetBrains Mono', monospace; font-weight: 500; transition: max-width .5s ease, opacity .4s ease; }
.md-box { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 18px; height: 18px; margin-right: 10px; border-radius: 5px; border: 1.5px solid #B8AFA2; color: #FFFFFF; font-size: 12px; vertical-align: -2px; overflow: hidden; transition: all .4s ease; }
.md-box.is-done { border-color: #F07A2D; background: #F07A2D; }
.md-line.is-done .md-text { text-decoration: line-through; }
.md-note.is-raw .md-line { font-family: 'JetBrains Mono', monospace; font-size: 15px; font-weight: 500; color: #3A352E; }
.md-note.is-raw .md-mk { max-width: 6em; opacity: 1; }
.md-note.is-raw .md-box { width: 0; margin-right: 0; border-width: 0; opacity: 0; }
.md-note.is-raw .md-line.is-done .md-text { text-decoration: none; }

/* Pro tour tabs */
.tw-tab { font: inherit; text-align: left; cursor: pointer; background: transparent; color: #F6F1E8; border: 1px solid #2A2621; border-radius: 16px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 6px; min-height: 44px; min-width: 0; transition: background .2s ease, border-color .2s ease; }
.tw-tab:hover { border-color: #3A352E; }
.tw-tab.is-active { background: #24201B; border-color: #4A433A; }

@media (max-width: 640px) {
  .tw-tab { padding: 12px 12px 10px; border-radius: 12px; }
  .tw-tab span:nth-child(2) { font-size: 15px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .nt-caret { animation: none; }
  .md-line, .md-mk, .md-box, .nt-btn, .nt-shot, .tw-tab { transition: none; }
}

@media (max-width: 560px) {
  .nt-navlink { display: none; }
}
@media (max-width: 560px) {
  #nt-stage { height: 440px !important; }
}
