/* tknz Stocks — shared site styles. No build step. */
:root {
  --bg: #000000;
  --card: #111214;
  --border: #2a2c31;
  --text: #ffffff;
  --muted: #b4b6bd;
  --lime: #b4ff69;
  --warn-bg: #2a2410;
  --warn-border: #6b5a12;
  --radius: 16px;
  --max: 68rem;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lime); text-underline-offset: 0.18em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin-top: 2.2em; }
h3 { font-size: 1.1rem; margin-top: 1.6em; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.35em; }
strong { font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--card); padding: 0.1em 0.35em; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--lime);
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }

/* Header / nav */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.wordmark {
  color: var(--text);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}
.wordmark .dot { color: var(--lime); }
.wordmark .product { font-weight: 400; color: var(--muted); font-size: 1rem; margin-left: 0.35rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }
.site-nav li + li { margin-top: 0; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 0.25rem 0; }
.site-nav a:hover { color: var(--lime); }
.site-nav a[aria-current="page"] { color: var(--lime); border-bottom: 2px solid var(--lime); }

main { padding: 2.5rem 0 4rem; }

/* Hero */
.hero { display: grid; gap: 2rem; align-items: center; }
.hero-mark { width: 9rem; border-radius: 28px; border: 1px solid var(--border); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.badge {
  display: inline-block;
  border: 1px solid var(--lime);
  color: var(--lime);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
}
@media (min-width: 48rem) {
  .hero { grid-template-columns: auto 1fr; gap: 3rem; }
  .hero-mark { width: 12rem; }
}

/* Cards / notices */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.card > :last-child { margin-bottom: 0; }
.notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.notice > :last-child { margin-bottom: 0; }
.features { display: grid; gap: 1rem; padding: 0; list-style: none; }
.features li + li { margin-top: 0; }
@media (min-width: 40rem) { .features { grid-template-columns: repeat(2, 1fr); } }

/* Screenshots */
.shots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1.25rem;
}
.shots li + li { margin-top: 0; }
.shots figure { margin: 0; }
.shots img { border-radius: 18px; border: 1px solid var(--border); width: 100%; }
.shots figcaption { margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.shots figcaption strong { color: var(--text); display: block; }
.fine { font-size: 0.9rem; color: var(--muted); }

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style-position: outside;
}
.faq details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.faq details > :last-child { margin-bottom: 1rem; }

/* Tables (privacy) */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.25rem; }
table { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: 0.92rem; }
caption { text-align: left; color: var(--muted); padding-bottom: 0.5rem; }
th, td { border: 1px solid var(--border); padding: 0.6rem 0.75rem; vertical-align: top; text-align: left; }
thead th { background: var(--card); font-weight: 600; }
tbody th { font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.92rem; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer li + li { margin-top: 0; }
.site-footer a { color: var(--text); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Let long URLs and tokens wrap inside cards and body text on narrow screens. */
.card, .card p, main p, main li { overflow-wrap: anywhere; }
