/*
 * Steward web — self-contained styles for the public homepage and the staff
 * dashboard. Deliberately independent of the Jumpstart Tailwind build so these
 * pages render correctly without a compile step.
 *
 * Design system (from the Steward proposal): warm cream, deep forest, editorial
 * serif headings, rounded corners, soft shadows, generous whitespace. Avoids
 * clutter and corporate styling.
 */

:root {
  --forest: #16351F;
  --forest-dark: #0E2817;
  --forest-soft: #1F4429;
  --cream: #F6F1E8;
  --warm-white: #FCFAF5;
  --sage: #829078;
  --tan: #CBBCA5;
  --clay: #B96F58;
  --charcoal: #262722;
  --muted: #72736C;
  --border: #DDD5C8;
}

* { box-sizing: border-box; }

body.steward-web {
  margin: 0;
  background-color: var(--warm-white);
  color: var(--charcoal);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

.steward-serif { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; }

a { color: var(--forest); text-decoration: none; }

/* --- Top bar --------------------------------------------------------------- */

.web-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
}
.web-brand { display: flex; align-items: baseline; gap: 0.55rem; }
.web-brand-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--forest);
}
.web-brand-mark .dot { color: var(--tan); }
.web-brand-word {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.web-nav { display: flex; align-items: center; gap: 0.5rem; }
.web-nav form { margin: 0; }

/* --- Buttons --------------------------------------------------------------- */

.btn-forest, .btn-ghost, .btn-cream {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.1rem;
  border-radius: 0.6rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.btn-forest { background-color: var(--forest); color: var(--cream); }
.btn-forest:hover { background-color: var(--forest-soft); color: var(--cream); }
.btn-ghost { background-color: transparent; color: var(--forest); border-color: var(--border); }
.btn-ghost:hover { background-color: var(--cream); }
.btn-cream { background-color: var(--cream); color: var(--forest); }
.btn-cream:hover { background-color: #fff; }

/* --- Layout shell ---------------------------------------------------------- */

.web-main { max-width: 1120px; margin: 0 auto; padding: 1rem 2rem 4rem; }

/* --- Dashboard ------------------------------------------------------------- */

.dash-hero {
  background-color: var(--forest);
  color: var(--cream);
  border-radius: 1.25rem;
  padding: 2.75rem 3rem;
  margin-bottom: 2rem;
}
.dash-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 0.75rem;
}
.dash-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 2.9rem;
  line-height: 1.05;
  margin: 0 0 0.6rem;
}
.dash-hero p { color: rgba(246, 241, 232, 0.75); margin: 0; max-width: 42ch; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.dash-stat {
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 24px rgba(22, 53, 31, 0.05);
}
.dash-stat .label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}
.dash-stat .value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--charcoal);
  margin: 0;
}

.dash-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.dash-card {
  display: block;
  background-color: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 8px 24px rgba(22, 53, 31, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.dash-card:hover {
  border-color: var(--sage);
  box-shadow: 0 12px 30px rgba(22, 53, 31, 0.08);
  transform: translateY(-2px);
}
.dash-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
  color: var(--forest);
}
.dash-card .arrow { color: var(--sage); font-size: 1.1rem; }
.dash-card p { color: var(--muted); font-size: 0.9rem; margin: 0.35rem 0 0; }

.dash-cta { margin-top: 2.5rem; }

.dash-app-note {
  background-color: var(--cream);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}
.dash-app-note p { margin: 0.25rem 0; }
.dash-app-note .muted { color: var(--muted); font-size: 0.9rem; }

/* --- Public landing -------------------------------------------------------- */

.landing {
  min-height: 100dvh;
  background-color: var(--forest);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1.5rem;
  text-align: center;
}
.landing-logo { width: min(320px, 70vw); height: auto; }
.landing-soon {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--tan);
}
.landing-email {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}
.landing-email:hover { color: var(--tan); }

@media (max-width: 640px) {
  .dash-hero { padding: 2rem 1.5rem; }
  .dash-hero h1 { font-size: 2.2rem; }
  .web-main, .web-topbar { padding-left: 1.25rem; padding-right: 1.25rem; }
}
