/* AI Algo site styles. Dark trading-terminal look, light mode supported. */
:root {
  --bg: #0b0e14; --bg2: #11151e; --card: #151a25; --line: #232a38;
  --text: #e6e9ef; --muted: #9aa3b5; --dim: #6b7487;
  --accent: #2fd08a; --accent2: #38bdf8; --warn: #f5b942; --red: #f0566b;
  --radius: 12px; --max: 1120px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f8fb; --bg2: #eef1f6; --card: #ffffff; --line: #dde2ea;
    --text: #141821; --muted: #4c5566; --dim: #6b7487;
    --accent: #0f9d63; --accent2: #0b7fbf; --warn: #a86b00; --red: #c42840;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* header */
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { font-weight: 800; letter-spacing: .5px; color: var(--text); font-size: 19px; }
.brand span { color: var(--accent); }
nav.main { display: flex; gap: 20px; flex-wrap: wrap; }
nav.main a { color: var(--muted); font-size: 15px; }
nav.main a:hover, nav.main a.on { color: var(--text); text-decoration: none; }
@media (max-width: 640px) {
  header.site .wrap { height: auto; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; padding-bottom: 8px; }
  nav.main { flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 16px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
  nav.main a { font-size: 14px; white-space: nowrap; } .brand { font-size: 17px; }
  .hero { padding: 48px 0 40px; } section { padding: 48px 0; } .lead { font-size: 17px; }
}

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero { padding: 80px 0 56px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -.5px; }
h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 0 28px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 16px;
  border: 1px solid var(--line); color: var(--text); background: var(--card); cursor: pointer; }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #04130b; }
.btn.primary:hover { filter: brightness(1.08); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* grids and cards */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.card .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); margin-bottom: 10px; }
.card .tag.soon { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; border-color: var(--accent); }

ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
ul.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
ul.checks li b { color: var(--text); }

/* split rows */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* screenshot slot */
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.shot.empty { display: grid; place-items: center; min-height: 280px; color: var(--dim); font-size: 14px; padding: 24px; text-align: center; }

/* pricing */
.price { font-size: 48px; font-weight: 800; letter-spacing: -1px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.pricecard { max-width: 520px; margin: 0 auto; text-align: left; }

/* tables */
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; }
.ok { color: var(--accent); font-weight: 700; }
.no { color: var(--red); font-weight: 700; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

/* albums */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.album { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.album img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.album .meta { padding: 12px 14px; }
.album .meta b { display: block; font-size: 15px; line-height: 1.3; }
.album .meta span { font-size: 13px; color: var(--dim); }
.album .links { display: flex; gap: 12px; padding: 0 14px 14px; font-size: 14px; }

/* notes, legal */
.note { border-left: 3px solid var(--warn); background: color-mix(in srgb, var(--warn) 8%, transparent);
  padding: 12px 16px; border-radius: 6px; color: var(--muted); font-size: 14px; }
.legal { max-width: 800px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--dim); font-size: 14px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
footer.site .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site .disc { margin-top: 20px; font-size: 12.5px; line-height: 1.55; max-width: 900px; }
