:root {
  --bg: #0B0B1E;
  --surface: #16162B;
  --surface-2: #1E1E36;
  --text: #F0F0F5;
  --text-muted: #8E8DA8;
  --accent: #A89CFF;
  --accent-deep: #7C6FD4;
  --border: #2A2A40;
  --max-width: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(168, 156, 255, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(124, 111, 212, 0.10), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 30, 0.7);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text);
  text-decoration: none;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
  transition: color 120ms ease;
}

nav a:hover { color: var(--accent); }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

h1 {
  font-size: 36px;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.005em;
  color: var(--text);
}

h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--text);
}

p { margin: 0 0 16px; color: var(--text); }

.muted {
  color: var(--text-muted);
  font-size: 15px;
}

.tagline {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 0 0 28px;
}

/* Founding-scripture pull quote — Joshua 1:8. Larger, accent-bordered block
   that anchors the landing page in the app's meditative thesis. */
.founding-verse {
  margin: 0 0 32px;
  padding: 20px 24px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
}
.founding-verse p {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 12px;
  color: var(--text);
}
.founding-verse cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 6px; color: var(--text); }

a { color: var(--accent); transition: color 120ms ease; }
a:hover { color: #C5BCFF; text-decoration: underline; }

strong { font-weight: 600; color: var(--text); }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
}

tbody tr:last-child td { border-bottom: 0; }

th {
  font-weight: 600;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(11, 11, 30, 0.7);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

.summary-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 0 0 1px rgba(168, 156, 255, 0.04), 0 8px 32px rgba(0, 0, 0, 0.25);
}

.summary-box h2 { color: var(--accent); }
.summary-box ul { margin: 8px 0 0; }
