/* ==========================================================================
   Shared styles for KryonSolutions privacy / support pages
   ========================================================================== */

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

:root {
  --bg: #ffffff;
  --bg-card: #f5f5f5;
  --bg-card-hover: #ebebeb;
  --text: #171717;
  --text-muted: #525252;
  --text-subtle: #737373;
  --text-faint: #a3a3a3;
  --divider: #e5e5e5;
  --accent: #6B5CE7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171717;
    --bg-card: #262626;
    --bg-card-hover: #303030;
    --text: #fafafa;
    --text-muted: #d4d4d4;
    --text-subtle: #a3a3a3;
    --text-faint: #737373;
    --divider: #404040;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

/* --------------------------------------------------------------------------
   Hub layout (index.html — landing & per-app mini-hubs)
   -------------------------------------------------------------------------- */

.hub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.hub-container {
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.hub-icon { font-size: 56px; margin-bottom: 16px; }
.hub-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.hub-subtitle { color: var(--text-subtle); font-size: 16px; margin-bottom: 40px; }

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.link-card:hover { background: var(--bg-card-hover); text-decoration: none; }
.link-icon { font-size: 24px; flex-shrink: 0; }
.link-text { text-align: left; flex: 1; }
.link-title { font-size: 16px; font-weight: 600; color: var(--text); display: block; }
.link-desc { font-size: 13px; color: var(--text-subtle); display: block; margin-top: 2px; }

.back-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--text-subtle);
  font-size: 14px;
}

.footer {
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   Document layout (PrivacyPolicy.html, Support.html)
   -------------------------------------------------------------------------- */

.doc {
  padding: 40px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.doc h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.doc h2 { font-size: 20px; font-weight: 600; margin-top: 32px; margin-bottom: 12px; }
.doc p { margin-bottom: 16px; color: var(--text-muted); }
.doc ul { margin-bottom: 16px; padding-left: 24px; color: var(--text-muted); }
.doc li { margin-bottom: 8px; }

.subtitle { color: var(--text-subtle); font-size: 14px; margin-bottom: 32px; }
.divider { border: none; border-top: 1px solid var(--divider); margin: 32px 0; }

.lang-switch { text-align: right; margin-bottom: 16px; }
.lang-switch a { color: var(--text-muted); font-size: 14px; }

.contact-box {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.contact-box a { font-weight: 600; }

.breadcrumb {
  font-size: 13px;
  color: var(--text-subtle);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-subtle); }
