/* StatTrak web site: the "Get started" page (start/index.html).
 * Tokens come from colors_and_type.css; the top bar and the tabs from main.css and apps.css. */

.start { margin-top: 36px; font-size: 17px; line-height: 1.5; }
.start a { color: var(--accent); text-decoration: none; }
.start a:hover { color: var(--accent-hover); text-decoration: underline; }
.start code {
  font-family: var(--font-mono); font-size: 0.8em; color: var(--fg1);
  background: var(--bg-card); border: 1px solid var(--stroke-1); border-radius: var(--r-xs, 2px);
  padding: 1px 5px; white-space: nowrap;
}
.start p { margin: 0 0 14px; }
.start .small { font-size: 15px; color: var(--fg2); }
.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 8px;
}

/* --- hero ----------------------------------------------------------------- */
.hero { display: flex; flex-direction: column; gap: 26px; padding-bottom: 36px; border-bottom: 1px solid var(--stroke-1); }
.hero__title {
  font-family: var(--font-stencil); font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: 52px; line-height: 1; letter-spacing: -0.005em; margin: 0 0 12px; max-width: 760px;
}
.hero__lead { font-size: 20px; color: var(--fg2); margin: 0; max-width: 640px; }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.start a.tool {
  display: flex; flex-direction: column; gap: 8px; padding: 20px;
  background: var(--bg-card); border: 1px solid var(--stroke-1); border-radius: var(--r-md);
  color: var(--fg1); text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.start a.tool:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.tool__icon {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,122,31,0.12); color: var(--accent);
}
.tool__name { font-family: var(--font-stencil); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 26px; line-height: 1.1; }
.tool__desc { color: var(--fg2); font-size: 16px; flex: 1; }
.tool__go { font-weight: 700; color: var(--accent); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }

.note {
  font-size: 15px; color: var(--fg2); padding: 12px 16px;
  border: 1px solid var(--stroke-1); border-left: 3px solid var(--st-info); border-radius: var(--r-sm);
  background: rgba(74,163,223,0.06);
}
.note b { color: var(--fg1); }

/* --- guide: contents on the left, sections on the right --------------------- */
.guide { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; margin-top: 36px; }
.toc { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.toc__title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg3); margin-bottom: 8px; }
.start .toc a { color: var(--fg2); padding: 6px 10px; border-left: 2px solid var(--stroke-1); font-size: 16px; }
.start .toc a:hover { color: var(--fg1); border-left-color: var(--accent); text-decoration: none; }
.guide__body { max-width: 780px; }

.sec { padding: 0 0 40px; margin: 0 0 40px; border-bottom: 1px solid var(--stroke-1); scroll-margin-top: 20px; }
.sec:last-child { border-bottom: 0; }
.sec__title {
  font-family: var(--font-stencil); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 34px; line-height: 1.05; margin: 0 0 16px;
}

.pic { margin: 6px 0 18px; }
.pic img, .steps-grid img, .pair img { display: block; width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--stroke-1); }
.pic--dark img { background: #000; }

.steps-grid { list-style: none; padding: 0; margin: 6px 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.steps-grid li { font-size: 16px; color: var(--fg2); }
.steps-grid li b { color: var(--fg1); }
.steps-grid img { margin-bottom: 10px; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 6px 0 18px; align-items: start; }

.list { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.list li::marker { color: var(--accent); font-weight: 700; }

.what-you-need { padding: 14px 18px 4px; margin: 0 0 18px; background: var(--bg-card); border: 1px solid var(--stroke-1); border-radius: var(--r-md); }

.prompt { position: relative; margin: 10px 0 6px; }
.prompt pre {
  margin: 0; padding: 16px 18px; padding-right: 90px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.55; color: var(--fg1);
  background: var(--bg-screen); border: 1px solid var(--stroke-2); border-radius: var(--r-md);
  white-space: pre-wrap;
}
.prompt__copy { position: absolute; top: 10px; right: 10px; padding: 6px 12px; font-size: 13px; min-height: 32px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--stroke-1); }
.table th { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg3); font-weight: 700; }
.table td:first-child { color: var(--fg1); width: 42%; }
.table td { color: var(--fg2); }

.foot { margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--stroke-1); font-size: 14px; color: var(--fg3); }
.foot a { color: var(--fg2); }

/* --- tablet and phone -------------------------------------------------------- */
@media (max-width: 960px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
  .toc__title { width: 100%; }
  .start .toc a { border: 1px solid var(--stroke-1); border-radius: var(--r-pill, 999px); padding: 4px 12px; font-size: 15px; }
}
@media (max-width: 700px) {
  .start { margin-top: 26px; }
  .hero__title { font-size: 36px; }
  .hero__lead { font-size: 18px; }
  .tools, .steps-grid, .pair { grid-template-columns: minmax(0, 1fr); }
  .sec__title { font-size: 28px; }
  .start code { white-space: normal; }
}
