/* Kitana web — Spatial Glass aesthetic for the marketing/legal pages */
:root {
  --bg: #0F0B1E;
  --bg-2: #1a1240;
  --fg: #FFFFFF;
  --fg-muted: rgba(255, 255, 255, 0.72);
  --fg-dim: rgba(255, 255, 255, 0.48);
  --accent: #B89BFF;
  --border: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 80% 0%, rgba(255, 180, 200, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(120, 180, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px 120px;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--fg);
}
.brand-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #ff64b3, #5a8eff, #ffc89b);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: var(--bg);
  letter-spacing: -0.5px;
}
.brand-name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.2px;
}
.nav { display: flex; gap: 24px; }
.nav a {
  color: var(--fg-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 120ms ease;
}
.nav a:hover { color: var(--fg); }

/* Headings */
h1 {
  font-size: 44px; font-weight: 800; letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #c8b8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.4px;
  margin-top: 44px; margin-bottom: 14px;
  color: var(--fg);
}
h3 {
  font-size: 16px; font-weight: 600;
  margin-top: 24px; margin-bottom: 8px;
  color: var(--fg);
}
.meta {
  color: var(--fg-dim);
  font-size: 13px;
  margin-bottom: 36px;
  letter-spacing: 0.2px;
}

/* Body text */
p { color: var(--fg-muted); margin-bottom: 14px; }
strong { color: var(--fg); font-weight: 600; }
em { color: var(--fg); font-style: italic; }
a { color: var(--accent); text-decoration: none; transition: opacity 120ms ease; }
a:hover { opacity: 0.8; text-decoration: underline; }
ul, ol { margin: 14px 0 14px 22px; color: var(--fg-muted); }
li { margin-bottom: 6px; }
code {
  background: var(--glass);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--border);
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
}
th { color: var(--fg); font-weight: 600; background: rgba(255,255,255,0.04); }
tr:last-child td { border-bottom: none; }

/* Hero (landing only) */
.hero {
  text-align: center;
  padding: 60px 0 40px;
}
.hero h1 {
  font-size: 56px;
}
.hero .subhead {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 0 40px rgba(184, 155, 255, 0.3);
}
.cta:hover { transform: translateY(-2px); }

/* Footer */
footer {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-dim);
}
footer a { color: var(--fg-muted); margin-left: 20px; }

/* Responsive */
@media (max-width: 600px) {
  .container { padding: 56px 20px 100px; }
  h1 { font-size: 34px; }
  .hero h1 { font-size: 42px; }
  .hero .subhead { font-size: 16px; }
  h2 { font-size: 19px; margin-top: 32px; }
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  footer a { margin-left: 0; margin-right: 16px; }
  table { font-size: 12px; }
  th, td { padding: 9px 11px; }
}
