/* Traders Window — site */

@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url(../fonts/chakra-petch-latin-600-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: "Chakra Petch"; font-weight: 700; font-display: swap; src: url(../fonts/chakra-petch-latin-700-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: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-400-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: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-500-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: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-600-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: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-500-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: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-600-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; }

:root {
  --ink: #0d0d0d;
  --surface: #16181b;
  --paper: #e6eaee;
  --muted: #8a94a0;
  --faint: #3a4048;
  --cyan: #00f0ff;
  --up: #00ff9c;
  --down: #ff3b6b;
  --amber: #ffc45c;

  --display: "Chakra Petch", "Avenir Next Condensed", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --measure: 66ch;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 17px/1.6 var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--ink); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c4cbd3; max-width: 38ch; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.35em; }
.muted { color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px;
  font: 600 1rem/1 var(--body); text-decoration: none;
  color: var(--ink); background: var(--cyan);
  border: 1px solid var(--cyan);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 24px -8px rgba(0, 240, 255, 0.6); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--faint); }
.btn.ghost:hover { border-color: var(--muted); box-shadow: none; }
.btn-note { font-size: 0.88rem; color: var(--muted); }

/* ================= menu bar (the site nav) ================= */
/* The fake desktop's menu bar is the real navigation. */
.menubar {
  position: sticky; top: 0; z-index: 30;
  height: 44px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(13, 13, 13, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--paper); text-decoration: none; font: 700 1rem/1 var(--display); letter-spacing: 0.01em; }
.brand img { width: 22px; height: 22px; }
.menubar nav { display: flex; gap: 20px; }
.menubar nav a { color: #b8c0c9; text-decoration: none; }
.menubar nav a:hover, .menubar nav a[aria-current="page"] { color: var(--paper); }
.menubar .tray { margin-left: auto; display: flex; align-items: center; gap: 16px; color: var(--muted); font-family: var(--mono); font-size: 0.82rem; }
.menubar .tray .dl { font-family: var(--body); font-weight: 600; color: var(--ink); background: var(--cyan); padding: 6px 12px; border-radius: 7px; text-decoration: none; }
@media (max-width: 760px) {
  .menubar nav { display: none; }
  .menubar .clock { display: none; }
}

/* ================= hero: a trader's desktop ================= */
.desk {
  position: relative;
  min-height: min(100svh - 44px, 860px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.desk canvas.chart { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.desk::after {
  /* scrim so the headline reads over the chart */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.7) 42%, rgba(13, 13, 13, 0.15) 75%),
    linear-gradient(0deg, rgba(13, 13, 13, 0.9) 0%, transparent 40%);
}
.desk .copy {
  position: absolute; left: var(--gutter); bottom: clamp(40px, 9vh, 96px);
  max-width: 640px;
  display: grid; gap: 22px;
}
.desk h1 { text-wrap: balance; }
.desk .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }

/* the floating demo widget */
.demo {
  position: absolute; top: 40px; right: max(var(--gutter), 4%);
  width: 250px;
  touch-action: none; cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.demo:active { cursor: grabbing; }
.demo .w {
  padding: 8px 10px 7px 11px;
  border-radius: 13px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(0, 240, 255, 0.06), transparent 60%), rgba(13, 13, 13, 0.94);
  border: 1px solid rgba(0, 240, 255, 0.32);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  font-variant-numeric: tabular-nums;
}
.demo .top { display: flex; align-items: center; gap: 7px; height: 16px; }
.demo .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.demo .dot.live { background: var(--up); box-shadow: 0 0 6px var(--up); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.45; } }
.demo .pair { font: 700 12px/1 system-ui, sans-serif; letter-spacing: 0.06em; color: var(--cyan); text-shadow: 0 0 8px rgba(0, 240, 255, 0.45); }
.demo .pair small { font-size: 10px; color: var(--muted); letter-spacing: 0.04em; text-shadow: none; margin-left: 2px; }
.demo .src { margin-left: auto; font: 500 8.5px/1 var(--mono); color: #5b636d; }
.demo .row1 { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-top: 4px; }
.demo .price { font: 600 22px/28px var(--mono); letter-spacing: -0.02em; transition: color 500ms ease, text-shadow 500ms ease; }
.demo .price.tick-up { color: var(--up); text-shadow: 0 0 12px rgba(0, 255, 156, 0.55); transition: none; }
.demo .price.tick-down { color: var(--down); text-shadow: 0 0 12px rgba(255, 59, 107, 0.55); transition: none; }
.demo .chg { font: 600 10.5px/1 var(--mono); padding: 3px 4px; border-radius: 5px; background: rgba(255, 255, 255, 0.04); color: var(--muted); }
.demo .chg.up { color: var(--up); background: rgba(0, 255, 156, 0.1); }
.demo .chg.down { color: var(--down); background: rgba(255, 59, 107, 0.1); }
.demo canvas { display: block; width: 100%; height: 20px; margin-top: 2px; }
.demo .stats { margin-top: 5px; font: 500 9px/1.25 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; }
.demo .stats b { color: var(--paper); font-weight: 600; }
.demo .hint { margin-top: 10px; font-size: 0.8rem; color: #b3bbc4; text-align: right; text-shadow: 0 1px 8px #000, 0 0 2px #000; }
.desk.flash-up .demo .w { animation: flashUp 500ms ease-out; }
.desk.flash-down .demo .w { animation: flashDown 500ms ease-out; }
@keyframes flashUp { from { background-color: rgba(0, 255, 156, 0.2); } }
@keyframes flashDown { from { background-color: rgba(255, 59, 107, 0.22); } }

@media (max-width: 760px) {
  .desk { min-height: 640px; }
  .demo { right: 50%; transform: translateX(50%); top: 28px; }
  .demo.moved { transform: none; }
  .desk .copy { right: var(--gutter); }
  .desk::after { background: linear-gradient(0deg, rgba(13, 13, 13, 0.96) 0%, rgba(13, 13, 13, 0.75) 55%, rgba(13, 13, 13, 0.3) 100%); }
}

/* ================= sections ================= */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.section-head { display: grid; gap: 14px; max-width: 58ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: #c4cbd3; font-size: 1.08rem; }

/* ---------- read the widget ---------- */
.anatomy { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.specimen { position: sticky; top: 84px; margin: 0; }
.specimen .frame { position: relative; }
.specimen .hl {
  position: absolute; pointer-events: none;
  border: 1.5px solid var(--cyan); border-radius: 5px;
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.15), 0 0 24px rgba(0, 240, 255, 0.35);
  opacity: 0; transition: opacity 160ms ease, left 200ms ease, top 200ms ease, width 200ms ease, height 200ms ease;
}
.specimen .hl.on { opacity: 1; }
.specimen figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; }
.legend li { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.legend button {
  width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 16px; align-items: baseline;
  padding: 14px 8px; margin: 0 -8px;
  background: none; border: 0; border-radius: 8px; color: inherit; font: inherit;
}
.legend button:hover, .legend button.on { background: rgba(0, 240, 255, 0.05); }
.legend .key { font: 600 0.95rem/1.3 var(--mono); color: var(--cyan); }
.legend .def b { display: block; font-weight: 600; margin-bottom: 2px; }
.legend .def span { color: #b3bbc4; font-size: 0.95rem; }
.legend .def a { font-size: 0.9rem; }
@media (max-width: 820px) {
  .anatomy { grid-template-columns: 1fr; }
  .specimen { position: relative; top: 0; max-width: 360px; }
}

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 128px); }
.feature.flip { grid-template-columns: minmax(260px, 380px) 1fr; }
.feature.flip .text { order: 2; }
.feature .text { display: grid; gap: 16px; max-width: 54ch; }
.feature .text p { color: #c4cbd3; }
.feature ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { padding-left: 22px; position: relative; color: #c4cbd3; }
.feature li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--cyan); }
.feature .shots { position: relative; }
.feature .shots img + img { position: absolute; width: 72%; right: -8%; bottom: -14%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)); }
.shot { filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.75)); }
.pulse { animation: pulse 1.1s ease-in-out infinite; border-radius: 14px; }
@keyframes pulse { 50% { filter: drop-shadow(0 0 18px rgba(0, 255, 156, 0.55)) drop-shadow(0 24px 48px rgba(0, 0, 0, 0.75)); } }
@media (max-width: 820px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .feature .shots { max-width: 340px; }
}

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px 40px; margin-top: clamp(56px, 8vw, 96px); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.principles h3 { font-size: 1.05rem; margin-bottom: 6px; }
.principles p { color: #b3bbc4; font-size: 0.95rem; }

/* ---------- install ---------- */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: 14px; }
.steps li::before { content: counter(s); font: 700 1.4rem/1.2 var(--display); color: var(--cyan); }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: #b3bbc4; }
.dl-card { display: grid; gap: 16px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.06); }
.dl-card .req { font-size: 0.9rem; color: var(--muted); }
.why { font-size: 0.92rem; color: #b3bbc4; border-left: 2px solid var(--amber); padding-left: 14px; }
@media (max-width: 820px) { .install { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--body); color: var(--muted); transition: transform 150ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: #c4cbd3; max-width: 64ch; }
.faq details > div > * + * { margin-top: 0.8em; }

/* ---------- learn ---------- */
.article { padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.article header { display: grid; gap: 16px; margin-bottom: 40px; max-width: var(--measure); }
.article header p { color: #c4cbd3; font-size: 1.12rem; }
.crumbs { font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.callout { padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.06); }
.callout img { margin-top: 12px; max-width: 280px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cards a { display: grid; gap: 6px; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.06); color: var(--paper); text-decoration: none; }
.cards a:hover { border-color: rgba(0, 240, 255, 0.4); }
.cards a span { color: #b3bbc4; font-size: 0.95rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }

/* ---------- footer ---------- */
.foot { padding: 56px 0 64px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 0.9rem; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: 0.95rem; font-family: var(--body); font-weight: 600; color: var(--paper); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { color: #b3bbc4; text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot .legal { margin-top: 40px; font-size: 0.82rem; max-width: 80ch; }
.coffee { display: inline-flex; gap: 8px; align-items: center; color: var(--amber) !important; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= install guide ================= */
.guide { list-style: none; margin: 0; padding: 0; counter-reset: g; display: grid; gap: clamp(48px, 7vw, 88px); }
.guide > li {
  counter-increment: g;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(28px, 5vw, 64px); align-items: center;
}
.guide .step-text { display: grid; gap: 12px; max-width: 54ch; }
.guide .step-text h2 { font-size: 1.55rem; display: flex; gap: 14px; align-items: baseline; }
.guide .step-text h2::before { content: counter(g); font: 700 1.55rem/1 var(--display); color: var(--cyan); min-width: 1.2ch; }
.guide .step-text p { color: #c4cbd3; }
.guide > li:not(:has(figure)) { grid-template-columns: 1fr; }
.illo { margin: 0; display: grid; justify-items: center; }
@media (max-width: 820px) { .guide > li { grid-template-columns: 1fr; } .illo { justify-items: start; } }

/* macOS-style pieces (illustrations, not screenshots) */
.alert {
  width: 260px; padding: 20px 16px 16px; border-radius: 14px;
  background: #2a2a2d; border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
  display: grid; justify-items: center; gap: 10px; text-align: center;
  font: 400 12px/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; color: #e8e8ea;
}
.alert b { font-size: 13px; font-weight: 700; }
.alert p { color: #c8c8cc; font-size: 11.5px; }
.mbtn {
  width: 100%; padding: 6px 10px; border-radius: 7px;
  background: #505055; color: #fff; font: 500 12.5px/1.2 -apple-system, BlinkMacSystemFont, sans-serif; text-align: center;
}
.mbtn.primary { background: #0a84ff; }
.mbtn.small { width: auto; padding: 4px 10px; font-size: 11.5px; white-space: nowrap; }
.target { position: relative; box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--cyan), 0 0 22px rgba(0, 240, 255, 0.55); }
.target::after {
  content: "Click"; position: absolute; top: 50%; left: calc(100% + 12px); transform: translateY(-50%);
  font: 600 11px/1 var(--body); color: var(--ink); background: var(--cyan); padding: 4px 7px; border-radius: 5px; white-space: nowrap;
}
.alert .target::after { left: auto; right: calc(100% + 14px); }

.dmg { width: min(380px, 100%); border-radius: 12px; overflow: hidden; background: #1f1f22; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); }
.dmg-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: #2b2b2f; font: 600 12px/1 -apple-system, sans-serif; color: #cfcfd3; }
.dmg-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dmg-bar i:nth-child(2) { background: #febc2e; } .dmg-bar i:nth-child(3) { background: #28c840; }
.dmg-bar span { margin-left: 8px; }
.dmg-body { display: flex; align-items: center; justify-content: space-around; padding: 28px 18px 30px; }
.dmg-item { display: grid; justify-items: center; gap: 8px; font: 500 12px/1.2 -apple-system, sans-serif; color: #e0e0e4; }
.dmg-item img { width: 64px; height: 64px; }
.folder { width: 64px; height: 52px; margin: 6px 0; border-radius: 6px; background: linear-gradient(#6cc0ff, #3a9df0); position: relative; }
.folder::before { content: ""; position: absolute; left: 4px; top: -7px; width: 26px; height: 10px; border-radius: 4px 4px 0 0; background: #5aaef7; }
.dmg-arrow { width: 90px; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5)); }

.settings-win { width: min(420px, 100%); display: grid; grid-template-columns: 130px 1fr; border-radius: 12px; overflow: hidden; background: #1e1e21; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85); font: 400 11.5px/1.35 -apple-system, BlinkMacSystemFont, sans-serif; color: #e6e6ea; }
.sw-side { display: grid; align-content: start; gap: 2px; padding: 14px 8px; background: #252528; color: #b5b5ba; }
.sw-side span { padding: 5px 8px; border-radius: 6px; }
.sw-side .on { background: #0a84ff; color: #fff; }
.sw-main { display: grid; align-content: start; gap: 10px; padding: 16px 14px 20px; }
.sw-h { font-size: 13px; }
.sw-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 8px; background: #2a2a2e; }
.sw-pop { color: #9a9aa0; white-space: nowrap; }
.settings-win .target::after { left: auto; right: 0; top: calc(100% + 10px); transform: none; }

.guide-notes { margin-top: clamp(64px, 9vw, 112px); padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
pre { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.08); overflow-x: auto; }
code { font: 500 0.9rem/1.5 var(--mono); color: var(--paper); }
kbd { font: 600 0.9rem/1 var(--mono); padding: 2px 6px; border-radius: 5px; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 520px) { .target::after { display: none; } }
.alert.left { justify-items: start; text-align: left; position: relative; }
.alert .gk { width: 56px; height: 56px; }
.alert .q { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #3a3a3e; color: #cfcfd3; font: 600 12px/1 -apple-system, sans-serif; }
.alert.left .target::after { right: auto; left: calc(100% + 12px); }
.sw-block { display: grid; gap: 0; border-radius: 8px; background: #2a2a2e; }
.sw-block .sw-row.plain { background: none; }
.sw-block p { padding: 0 10px 10px; color: #9a9aa0; font-size: 10.5px; }

/* ================= phone alerts guide ================= */
.ntfy-ic { width: 52px; height: 52px; flex: none; }
.store-card, .notif {
  display: flex; align-items: center; gap: 14px; width: min(360px, 100%);
  padding: 14px 16px; border-radius: 18px; background: #1c1c1f; border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
  font: 400 13px/1.35 -apple-system, BlinkMacSystemFont, sans-serif; color: #e8e8ea;
}
.store-card > div, .notif > div { display: grid; flex: 1; min-width: 0; }
.store-card b { font-size: 16px; }
.store-card span, .notif span { color: #b8b8be; }
.store-card small, .notif small { color: #8a8a90; font-size: 12px; }
.store-card .get { flex: none; padding: 6px 16px; border-radius: 999px; background: #2c2c30; color: #0a84ff; font-weight: 700; }
.notif { border-radius: 22px; background: rgba(40, 40, 44, 0.95); }
.notif b { font-size: 14px; }
.notif small { align-self: flex-start; }
.phone-card {
  display: grid; gap: 10px; width: 260px; padding: 18px 16px; border-radius: 18px;
  background: #1c1c1f; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
  font: 400 13px/1.35 -apple-system, BlinkMacSystemFont, sans-serif; color: #e8e8ea;
}
.phone-card b { font-size: 15px; }
.phone-card .field { padding: 9px 10px; border-radius: 9px; background: #2a2a2e; font-family: var(--mono); font-size: 12.5px; }
.phone-card .hintline { color: #8a8a90; font-size: 12px; }
.phone-card .mbtn { padding: 8px 10px; }
.phone-card .target::after { left: auto; right: 0; top: calc(100% + 10px); transform: none; }

/* ================= buy me a coffee ================= */
.menubar .tray .coffee-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 7px;
  font: 500 0.85rem/1 var(--body); color: var(--amber); text-decoration: none;
  border: 1px solid rgba(255, 196, 92, 0.3);
}
.menubar .tray .coffee-link:hover { border-color: var(--amber); background: rgba(255, 196, 92, 0.08); }
@media (max-width: 760px) { .menubar .tray .coffee-link .t { display: none; } }

.support .why { max-width: 66ch; margin-bottom: 32px; }
.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.coin-card { display: grid; gap: 14px; justify-items: center; padding: 22px 20px; border-radius: 16px; background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.07); }
.coin-head { display: flex; align-items: baseline; gap: 10px; justify-self: stretch; }
.coin-head b { font: 700 1.25rem/1 var(--display); color: var(--cyan); }
.coin-head span { color: var(--muted); font-size: 0.9rem; }
.coin-card .qr { width: 180px; height: 180px; border-radius: 10px; }
.coin-card .addr { font: 500 0.82rem/1.45 var(--mono); word-break: break-all; text-align: center; color: var(--paper); user-select: all; -webkit-user-select: all; }
.coin-card .copy { width: 100%; justify-content: center; padding: 10px 14px; }

/* ================= licenses ================= */
.licenses .lic-table { max-height: 70vh; overflow: auto; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; }
.licenses .lic-table table { font-size: 0.85rem; }
.licenses .lic-table thead th { position: sticky; top: 0; background: var(--surface); }
.licenses pre.lic { white-space: pre-wrap; font-size: 0.8rem; line-height: 1.5; color: #b3bbc4; }
.licenses td a { color: var(--paper); }
