/* CheqSplit docs — aligned with app light theme (fewer accents, calm) */
:root {
  --bg-canvas: #d8dff0;
  --surface: #ffffff;
  --surface-soft: #e8ecf8;
  --border: #c5cde0;
  --text: #2d323f;
  --text-secondary: #5c6478;
  --text-muted: #8b92a8;
  --primary: #557dd8;
  --primary-hover: #6082d4;
  --shadow: 0 4px 24px rgba(45, 50, 63, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-canvas);
  min-height: 100vh;
  padding: 24px 18px 48px;
}

.site-shell {
  max-width: 720px;
  margin: 0 auto;
}

/* Header — same canvas as body so app icon background blends (no white “card”) */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 8px 4px 18px;
  margin-bottom: 12px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(197, 205, 224, 0.65);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.site-brand img {
  display: block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 0;
  object-fit: contain;
}

.site-brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.site-nav a:hover {
  color: var(--primary);
  background: var(--surface-soft);
}

.site-nav a[aria-current='page'] {
  color: var(--surface);
  background: var(--primary);
  cursor: default;
  border-color: var(--primary);
}

.site-nav a[aria-current='page']:hover {
  color: var(--surface);
  background: var(--primary);
}

/* Main card */
.site-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 32px;
}

.site-main h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.site-main h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.site-main p {
  margin-bottom: 14px;
  color: var(--text);
}

.site-main ul {
  margin: 0 0 16px 1.1rem;
}

.site-main li {
  margin-bottom: 10px;
}

.site-main a {
  color: var(--primary);
  font-weight: 600;
}

.site-main a:hover {
  color: var(--primary-hover);
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contact {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.contact p:last-child {
  margin-bottom: 0;
}

.highlight {
  background: #f5f0e0;
  border: 1px solid #e8dcc4;
  border-left: 4px solid #d4a84b;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.links {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  text-align: center;
  margin-top: 28px;
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Landing (index) */
.landing-cards {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.landing-card {
  display: block;
  padding: 18px 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.landing-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(85, 125, 216, 0.12);
}

.landing-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.landing-card span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
