/* Vobz — shared styles for the public legal / subscription site (GitLab Pages). */
:root {
  --bg: #0f1115;
  --surface: #171a21;
  --surface-2: #1e222b;
  --text: #e7e9ee;
  --muted: #9aa3b2;
  --brand: #6c8cff;
  --brand-2: #9a6cff;
  --border: #272c37;
  --radius: 14px;
  --max: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai",
    Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header / nav */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand .dot {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
nav.site a { color: var(--muted); margin-left: 18px; font-size: 14px; }
nav.site a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero h1 {
  font-size: clamp(32px, 6vw, 52px); margin: 0 0 14px; letter-spacing: -0.5px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto 28px; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; }
.btn-primary:hover { opacity: 0.92; text-decoration: none; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); text-decoration: none; }

/* Cards / pricing */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0; }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.card.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.card h3 { margin: 0 0 6px; font-size: 20px; }
.price { font-size: 34px; font-weight: 800; margin: 8px 0 4px; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 18px 0; }
.card li { padding: 6px 0 6px 26px; position: relative; color: var(--text); }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.card li.no { color: var(--muted); }
.card li.no::before { content: "—"; color: var(--muted); }

/* Legal article */
article.legal { padding: 40px 0 80px; }
article.legal h1 { font-size: 30px; margin-bottom: 4px; }
article.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
article.legal h2 { font-size: 20px; margin: 34px 0 10px; }
article.legal h3 { font-size: 16px; margin: 22px 0 6px; }
article.legal p, article.legal li { color: #cdd2dc; }
article.legal ul { padding-left: 20px; }
article.legal .note {
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3px solid var(--brand); border-radius: 8px;
  padding: 12px 16px; margin: 18px 0; color: var(--muted); font-size: 14px;
}
table.tos { width: 100%; border-collapse: collapse; margin: 16px 0; }
table.tos th, table.tos td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; font-size: 14px; }
table.tos th { background: var(--surface-2); }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; }
footer.site a { color: var(--muted); }
footer.site nav a { margin-right: 16px; }
