/* ChristAIn public preview - RustVault's dark design system, so the preview and
   hermes.christianrust.com read as one product.

   Scoped to body.christain-page: only this page loads the file, the rest of the
   site keeps its light palette. Token values, backdrop, font stack, radii,
   shadows and component recipes come from rustvault/dashboard/dashboard.css
   (its dark theme), mapped onto this page's classes. */

:root {
  /* RustVault dark theme, verbatim. */
  --cream: #111816;
  --cream-deep: #18211d;
  --lime: #263a24;
  --lime-strong: #b9dc55;
  --sage: #233129;
  --charcoal: #16211c;
  --charcoal-soft: #c5d1c5;
  --on-dark: #edf3ea;
  --ink: #edf3ea;
  --muted: #9cad9e;
  --line: rgba(236, 243, 234, .14);
  --alert: #ef9a8a;
  --card: rgba(31, 45, 38, .82);
  --shadow: 0 24px 60px rgba(0, 0, 0, .25);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-ui: "Space Grotesk", "Segoe UI", sans-serif;
  color-scheme: dark;
}

body.christain-page {
  min-height: 100vh;
  background: radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--lime) 52%, transparent), transparent 28rem), var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
}

.christain-page :focus-visible {
  outline: 3px solid var(--lime-strong);
  outline-offset: 3px;
}

/* ------------------------------------------- site chrome (RustVault topbar) */

.christain-page .site-header {
  min-height: 78px;
  padding: 18px clamp(22px, 4vw, 62px);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.christain-page .brand { color: var(--ink); font-weight: 700; letter-spacing: -.04em; }

/* RustVault .topbar-button: a hairline pill on a card surface. */
.christain-page .site-header nav a,
.christain-page .nav-button,
.christain-page .menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.christain-page .site-header nav a:hover,
.christain-page .nav-button:hover,
.christain-page .menu-toggle:hover {
  border-color: var(--lime-strong);
  color: var(--ink);
}

/* RustVault .topbar-link: the charcoal call to action. */
.christain-page .contact-nav-button {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--on-dark);
}

.christain-page .contact-nav-button:hover {
  border-color: var(--lime-strong);
  background: var(--lime-strong);
  color: var(--charcoal);
}

/* RustVault .sidebar: charcoal, not a tinted glass panel. */
.christain-page .side-menu {
  border-right: 1px solid var(--line);
  background: var(--charcoal);
  color: var(--on-dark);
}

.christain-page .side-menu .eyebrow,
.christain-page .side-note { color: #93a08f; }

.christain-page .side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: #b2bfb0;
  font-size: 14px;
}

.christain-page .side-nav a:hover {
  background: rgba(217, 237, 154, .13);
  color: #f1f7e8;
}

.christain-page .tools-dropdown summary { color: var(--muted); font-size: 12px; }
.christain-page .tools-dropdown summary:hover { color: var(--ink); }

.christain-page .tools-dropdown-links {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.christain-page .tools-dropdown-links a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 12px;
}

.christain-page .tools-dropdown-links a:hover {
  background: var(--lime);
  color: var(--charcoal-soft);
}

/* ------------------------------------------------------------------- type -- */

.christain-page h1,
.christain-page h2,
.christain-page h3 {
  color: var(--ink);
  font-family: var(--font-ui);
}

/* RustVault .welcome-copy h1. */
.christain-page .hero-content h1,
.christain-page h1 {
  line-height: .98;
  letter-spacing: -.07em;
}

/* ChristAIn wordmark: the "AI" reads in the accent lime, as on the dashboard. */
.christain-page h1 .ai {
  color: var(--lime-strong);
}

/* RustVault .workspace-heading h2. */
.christain-page .section-heading h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -.06em;
}

/* RustVault .eyebrow: small caps in the UI face, not a monospace label. */
.christain-page .eyebrow,
.christain-page .card-number,
.christain-page .project-card p,
.christain-page .side-menu .nav-label,
.christain-page footer {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.christain-page .hero-copy {
  max-width: 46rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 19px);
}

.christain-page .hero-copy a,
.christain-page footer a,
.christain-page .side-note a { color: var(--lime-strong); }

.christain-page .hero-copy a:hover,
.christain-page footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------- buttons (RustVault pair) -- */

.christain-page .button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.christain-page .button:hover {
  border-color: var(--lime-strong);
  background: var(--card);
}

/* RustVault .primary-button. */
.christain-page .button.primary {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--on-dark);
}

.christain-page .button.primary:hover {
  border-color: var(--lime-strong);
  background: var(--lime-strong);
  color: var(--charcoal);
}

/* The hero copy and its heading are centred, so the action follows suit. */
.christain-page .hero-actions {
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

/* -------------------------------------------------- panels and file cards -- */

.christain-page .section {
  border: 0;
  padding-block: clamp(34px, 5vw, 70px);
}

/* RustVault .workspace-panel, used for the live-status block. */
.christain-page .section-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}

.christain-page .project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* RustVault .file-card. */
.christain-page .project-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: flex-start;
  min-height: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: 0 9px 20px rgba(24, 32, 29, .05);
  text-align: left;
}

.christain-page .project-card:hover {
  border-color: color-mix(in srgb, var(--lime-strong) 75%, var(--line));
}

/* RustVault .file-card-name, scaled up to a headline value. */
.christain-page .project-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -.05em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.christain-page #tile-model { font-size: clamp(20px, 2.2vw, 28px); }

/* A timestamp is not a headline: keep the tile value from wrapping. */
.christain-page #tile-last-activity { font-size: clamp(18px, 1.9vw, 26px); }

.christain-page .project-card p { margin: 0; }

.christain-page #status-tiles { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }

.christain-page footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.christain-page .footer-email { color: var(--lime-strong); letter-spacing: .06em; }

/* Six tiles: one column on a phone, two on a tablet, a tidy 3x2 on a desktop. */
@media (min-width: 560px) {
  .christain-page .project-grid,
  .christain-page #status-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 700px) {
  /* Keep the gap between the live-status cards and PUBLIC PREVIEW at ~48px
     on desktop instead of the full section padding. */
  .christain-page .section { padding-block: clamp(34px, 4vw, 48px); }
}

@media (min-width: 900px) {
  .christain-page .project-grid,
  .christain-page #status-tiles { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .christain-page .site-header { min-height: 67px; padding: 14px 18px; }
  .christain-page .section { padding-block: 31px; }
}
