/* ============================================================
   Soon ISMS — "field manual" theme
   Paper & ink, one signal accent, checklist energy.
   Display: Fraunces · Body: IBM Plex Sans · Mono: IBM Plex Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,600&display=swap');

:root {
  --sh-ink: #1c2321;
  --sh-paper: #faf6ee;
  --sh-paper-2: #f2ecdf;
  --sh-pine: #14342b;
  --sh-pine-soft: #2c5d4f;
  --sh-signal: #e8590c;
  --sh-signal-soft: #fff0e6;
  --sh-ok: #0e7c56;
  --sh-line: #d9d0bd;
  --sh-display: "Fraunces", Georgia, serif;
}

/* ---------- Material palette hooks (light) ---------- */
[data-md-color-scheme="default"] {
  --md-primary-fg-color: var(--sh-pine);
  --md-primary-fg-color--dark: #0d241e;
  --md-accent-fg-color: var(--sh-signal);
  --md-default-bg-color: var(--sh-paper);
  --md-default-fg-color: var(--sh-ink);
  --md-default-fg-color--light: #4a544f;
  --md-typeset-a-color: var(--sh-pine-soft);
  --md-code-bg-color: var(--sh-paper-2);
  --md-footer-bg-color: var(--sh-pine);
}

/* ---------- Material palette hooks (dark) ---------- */
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #0f2620;
  --md-accent-fg-color: #ff7a33;
  --md-default-bg-color: #15191a;
  --md-typeset-a-color: #7fc8ac;
  --sh-ink: #e8e6df;
  --sh-paper: #15191a;
  --sh-paper-2: #1d2324;
  --sh-line: #333b3c;
  --sh-signal-soft: #2a1c12;
}

/* ---------- Global typography ---------- */
.md-typeset h1, .md-typeset h2, .md-typeset h3 {
  font-family: var(--sh-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--sh-ink);
}
.md-typeset h1 { font-size: 2.1rem; line-height: 1.12; }
.md-typeset h2 { margin-top: 2.2em; }
.md-header__topic, .md-header__title { font-family: var(--sh-display); font-weight: 600; }

/* Doc-id style codes */
.md-typeset code { border-radius: 3px; }

/* Tables: cleaner, register-friendly */
.md-typeset table:not([class]) { border: 1px solid var(--sh-line); box-shadow: none; }
.md-typeset table:not([class]) th {
  background: var(--sh-paper-2);
  color: var(--sh-ink);
  font-family: var(--sh-display);
  font-weight: 600;
}
.md-typeset table:not([class]) td { border-top: 1px solid var(--sh-line); }

/* Task-list checkboxes bigger (checklist policies) */
.md-typeset .task-list-item { margin: 0.5em 0; }
.md-typeset .task-list-control .task-list-indicator { transform: scale(1.25); }

/* ============================================================
   HOME PAGE
   ============================================================ */
.soon-home {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1rem 0.4rem 3rem;
  font-size: 0.78rem;
}

/* Hero */
.sh-hero { padding: 2.4rem 0 1.4rem; }
.sh-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sh-signal);
  margin: 0 0 0.9rem;
}
.sh-hero h1 {
  font-family: var(--sh-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.04;
  font-weight: 700;
  margin: 0 0 1.1rem;
  color: var(--sh-ink);
}
.sh-hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--sh-pine-soft);
}
[data-md-color-scheme="slate"] .sh-hero h1 em { color: #7fc8ac; }
.sh-lede {
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--md-default-fg-color--light);
  margin: 0 0 1rem;
}
.sh-stats {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  color: var(--md-default-fg-color--light);
  border-top: 1px solid var(--sh-line);
  display: inline-block;
  padding-top: 0.6rem;
}
.sh-stats b { color: var(--sh-ok); font-weight: 600; }

/* Cards — the three paths */
.sh-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.9rem;
  margin: 1.6rem 0 1.4rem;
}
.sh-card {
  position: relative;
  display: block;
  background: var(--md-default-bg-color);
  border: 1.5px solid var(--sh-line);
  border-left: 5px solid var(--sh-pine);
  border-radius: 6px;
  padding: 1.15rem 1.15rem 1rem;
  color: inherit !important;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.sh-card:hover {
  transform: translateY(-3px);
  border-left-color: var(--sh-signal);
  box-shadow: 0 10px 24px -14px rgba(28, 35, 33, 0.45);
}
.sh-card-check {
  position: absolute;
  top: 0.85rem; right: 0.95rem;
  font-size: 0.85rem;
  color: var(--sh-line);
  transition: color 0.18s ease;
}
.sh-card:hover .sh-card-check { color: var(--sh-ok); }
.sh-card-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--md-default-fg-color--light);
}
.sh-card h2 {
  font-family: var(--sh-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.4rem 0 0.4rem;
  color: var(--sh-ink);
}
.sh-card p {
  margin: 0 0 1.1rem;
  line-height: 1.5;
  color: var(--md-default-fg-color--light);
}
.sh-card-cta {
  font-weight: 600;
  font-size: 0.74rem;
  color: var(--sh-pine-soft);
}
.sh-card:hover .sh-card-cta { color: var(--sh-signal); }
[data-md-color-scheme="slate"] .sh-card-cta { color: #7fc8ac; }

/* Report strip */
.sh-report {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  background: var(--sh-signal-soft);
  border: 1.5px dashed var(--sh-signal);
  border-radius: 6px;
  padding: 0.95rem 1.15rem;
  margin: 0 0 2rem;
  line-height: 1.5;
}
.sh-report strong { display: block; font-family: var(--sh-display); font-size: 0.95rem; }
.sh-report-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sh-btn {
  display: inline-block;
  background: var(--sh-signal);
  color: #fff !important;
  border-radius: 4px;
  padding: 0.42rem 0.85rem;
  font-weight: 600;
  font-size: 0.72rem;
  text-decoration: none;
  transition: filter 0.15s ease;
}
.sh-btn:hover { filter: brightness(0.92); }
.sh-btn-ghost {
  background: transparent;
  color: var(--sh-signal) !important;
  border: 1.5px solid var(--sh-signal);
}

/* Who's who */
.sh-people h3 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--md-default-fg-color--light);
  margin: 0 0 0.7rem;
}
.sh-people ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.2rem;
  padding: 0;
}
.sh-people li {
  background: var(--sh-paper-2);
  border: 1px solid var(--sh-line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.68rem;
}
.sh-people li strong { margin-right: 0.4rem; color: var(--sh-ink); }
.sh-people li span { color: var(--md-default-fg-color--light); }

/* Footer links */
.sh-more {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  border-top: 1px solid var(--sh-line);
  padding-top: 1rem;
  font-size: 0.7rem;
}
.sh-more a { color: var(--md-default-fg-color--light) !important; text-decoration: none; }
.sh-more a:hover { color: var(--sh-signal) !important; }

/* Load-in animation, staggered */
@media (prefers-reduced-motion: no-preference) {
  .sh-hero, .sh-cards .sh-card, .sh-report, .sh-people, .sh-more {
    animation: sh-rise 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
  .sh-cards .sh-card:nth-child(1) { animation-delay: 0.08s; }
  .sh-cards .sh-card:nth-child(2) { animation-delay: 0.16s; }
  .sh-cards .sh-card:nth-child(3) { animation-delay: 0.24s; }
  .sh-report { animation-delay: 0.32s; }
  .sh-people { animation-delay: 0.4s; }
  .sh-more { animation-delay: 0.46s; }
}
@keyframes sh-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
