/* CoachRetreat – shared styles */

:root {
  --bg: #0f172a;
  --bg-alt: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent-dark: #0ea5e9;
  --border: rgb(148 163 184 / 0.35);
  --radius: 12px;
  --shadow: 0 18px 40px rgb(15 23 42 / 0.8);
  --max-width: 960px;
  --transition: 160ms ease;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #1e293b 0, #020617 55%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header / navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgb(15 23 42 / 0.96),
    rgb(15 23 42 / 0.85),
    transparent
  );
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(
    from 210deg,
    #0ea5e9,
    #22c55e,
    #a855f7,
    #0ea5e9
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgb(15 23 42 / 0.9),
    0 10px 26px rgb(8 47 73 / 0.9);
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 0, #f9fafb 0, #020617 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #020617;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.nav a:hover {
  background: rgb(15 23 42 / 0.9);
  border-color: var(--border);
  color: var(--text);
  transform: translateY(-1px);
}

.nav .primary-link {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #020617;
  border: none;
  box-shadow: 0 10px 30px rgb(56 189 248 / 0.45);
}

.nav .primary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgb(37 99 235 / 0.7);
}

/* Main layout */

.main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 18px 36px;
}

/* Generic blocks */

.hero {
  margin-bottom: 24px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgb(56 189 248 / 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgb(37 99 235 / 0.22), transparent 55%),
    rgb(15 23 42 / 0.93);
  box-shadow: var(--shadow);
}

.hero-title {
  margin: 0 0 6px;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
}

.hero-title span {
  background: linear-gradient(120deg, #e5e7eb, #38bdf8);
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-meta {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Content sections */

.section {
  margin-top: 24px;
}

.section-title {
  font-size: 1rem;
  margin: 0 0 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5f5;
}

.section-intro {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 14px 14px 12px;
  background: rgb(15 23 42 / 0.96);
  box-shadow: 0 12px 30px rgb(15 23 42 / 0.85);
  margin-bottom: 12px;
}

.card h2,
.card h3,
.card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.card p {
  margin: 0 0 6px;
  font-size: 0.94rem;
  color: var(--muted);
}

.card ul {
  margin: 4px 0 4px 18px;
  padding: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.card li {
  margin-bottom: 3px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 14px 18px 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.recommendations-table {
  width: 100%;
  border-collapse: collapse;
}

.recommendations-table th,
.recommendations-table td {
  padding: 0.75rem 0.5rem;
  vertical-align: top;
}

/* Line between rows, but not after the last one */
.recommendations-table tbody tr:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
