/* askcharts.pro: the AskCharts sign-in page's look (dark, the moving chart behind, Instrument Sans) */
:root {
  --bg: #131722;
  --panel: #1e222d;
  --panel-2: #2a2e39;
  --line: #2a2e39;
  --grid: rgba(42, 46, 57, 0.55);
  --text: #d1d4dc;
  --muted: #787b86;
  --accent: #7c4dff; /* AskCharts purple, from the mark */
  --gold: #d4a514;
  --up: #089981;
  --down: #f23645;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

#chart { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(19, 23, 34, 0.93) 0%, rgba(19, 23, 34, 0.78) 55%, rgba(19, 23, 34, 0.45) 100%);
}
.top, .wrap, .foot { position: relative; z-index: 2; }

.top { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 16px 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.top-link { font-size: 15px; color: var(--muted); text-decoration: none; }
.top-link:hover { color: var(--text); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; }
.hero { text-align: center; max-width: 860px; margin: 6px auto 28px; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; margin: 0; font-weight: 700; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #a3a6af; margin: 16px auto 0; max-width: 640px; }

.video { position: relative; max-width: min(1080px, max(560px, calc((100vh - 400px) * 16 / 9))); margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 77, 255, 0.08); background: #0d1018; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(19, 23, 34, 0.72); backdrop-filter: blur(6px);
  color: var(--text); font: 600 16px var(--font-body); cursor: pointer; white-space: nowrap;
}
.play svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--accent); fill: #fff; }
.play em { font-style: normal; color: var(--muted); font-weight: 500; margin-left: 4px; }
.play:hover { background: rgba(30, 34, 45, 0.85); }
.play[hidden] { display: none; }

.get { display: flex; flex-direction: column; align-items: center; gap: 26px; margin: 40px auto 0; max-width: 820px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 17px;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { background: #6a3df0; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-quiet { background: rgba(30, 34, 45, 0.82); border: 1px solid var(--line); color: var(--text); }
.btn-quiet svg { fill: var(--gold); }
.btn-quiet:hover { background: var(--panel-2); }
/* only on touch screens (phones and tablets), where the install line can't be used */
.phone-note { display: none; margin: 0; max-width: 520px; text-align: center; font-size: 15px; line-height: 1.5; color: #a3a6af; }
@media (hover: none) and (pointer: coarse) { .phone-note { display: block; } }

.install { width: 100%; background: rgba(30, 34, 45, 0.82); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.tabs button { font: 500 14px var(--font-body); color: var(--muted); background: none; border: 0; padding: 6px 10px; border-radius: 6px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--text); background: var(--panel-2); }
.cmd { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 10px 10px 14px; }
.cmd[hidden] { display: none; }
.cmd code { flex: 1; font: 13.5px var(--font-mono); color: var(--text); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.copy { flex: none; font: 500 13px var(--font-body); color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.note { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 10px 2px 0; }

.foot { max-width: 820px; margin: 0 auto; padding: 24px 24px 40px; text-align: center; }
.foot p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0; }

@media (max-width: 640px) {
  .top { padding: 16px; }
  .wrap { padding: 8px 16px 28px; }
  .hero { margin: 16px auto 24px; }
  .video { border-radius: 10px; }
  .play { padding: 10px 16px 10px 12px; font-size: 14px; }
  .play svg { width: 28px; height: 28px; }
}
