/* Direction: Staffroom Press — warm teacher-desk paper, deep ink serif display,
   chalkboard-green accent, a dark slate band carrying the bundle offer. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f8f4ec;
  --surface: #fffdf8;
  --surface-2: #efe8db;
  --border: #ddd2bf;
  --border-strong: #b9a989;
  --ink: #1d1b16;
  --muted: #5c564a;
  --accent: #1f5e52;
  --accent-hover: #184b41;
  --accent-ink: #fdfbf6;
  --accent-text: #185045;
  --accent-strong: #123a32;
  --accent-soft: #dceae4;
  --accent-border: #a9c7bd;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dde6d7;
  --success-strong: #116d34;
  --warning: #a8661a;
  --warning-ink: #ffffff;
  --warning-soft: #eee3d3;
  --warning-strong: #8f5616;
  --danger: #9b3324;
  --danger-ink: #ffffff;
  --danger-soft: #edddd4;
  --danger-strong: #9b3324;
  --chart-1: #1f5e52;
  --chart-2: #1673a3;
  --chart-3: #573889;
  --chart-4: #9e4065;
  --chart-5: #753c00;
  --chart-6: #637103;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.025em;
  --eyebrow-tracking: 0.14em;
  --radius-card: 16px;
  --radius-btn: 999px;
  --radius-input: 12px;
  --shadow-card: 0 20px 44px -30px rgba(29, 27, 22, 0.5);
  --card-pad: 1.6rem;
  --x-slate: #14201d;
  --x-slate-2: #1e2d29;
  --x-on-photo: #fdfbf6;
  --x-chalk: rgba(253, 251, 246, 0.74);
  --x-rule: rgba(253, 251, 246, 0.16);
  --gradient-paper: linear-gradient(180deg, #f8f4ec 0%, #efe8db 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --canvas: #040d0b;
  --surface: #1d2523;
  --surface-2: #111917;
  --border: #272f2d;
  --border-strong: #4f5654;
  --ink: #f8f4ec;
  --muted: #969892;
  --accent: #1f5e52;
  --accent-hover: #41766c;
  --accent-ink: #ffffff;
  --accent-text: #6b958e;
  --accent-strong: #5e8c84;
  --accent-soft: #0a1f1b;
  --accent-border: #10312b;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #082616;
  --success-strong: #499c68;
  --warning: #a8661a;
  --warning-ink: #ffffff;
  --warning-soft: #28210e;
  --warning-strong: #b57d3d;
  --danger: #9b3324;
  --danger-ink: #ffffff;
  --danger-soft: #251511;
  --danger-strong: #b76d63;
  --chart-1: #3e7b6e;
  --chart-2: #2092cd;
  --chart-3: #8a6dc3;
  --chart-4: #bf5e82;
  --chart-5: #b86a20;
  --chart-6: #7f8f23;
}

/* Staffroom Press — paper grid, ruled notes, book shadows, FAQ marker */

.paper-grid {
  background-image:
    linear-gradient(to right, rgba(29, 27, 22, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29, 27, 22, 0.055) 1px, transparent 1px);
  background-size: 30px 30px;
}

.rule-note {
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    var(--border) 31px,
    var(--border) 32px
  );
}

.marker {
  background: linear-gradient(
    to bottom,
    transparent 56%,
    var(--accent-soft) 56%,
    var(--accent-soft) 95%,
    transparent 95%
  );
  padding-inline: 0.1em;
}

.book-shadow {
  box-shadow: -16px 20px 38px -22px rgba(20, 32, 29, 0.62);
}

.tilt-left {
  transform: rotate(-2.6deg);
}

.tilt-right {
  transform: rotate(2.4deg);
}

.slate-rule {
  border-color: var(--x-rule);
}

details.faq summary {
  list-style: none;
  cursor: pointer;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary .faq-sign {
  transition: transform 0.2s ease;
}

details.faq[open] summary .faq-sign {
  transform: rotate(45deg);
}

html.reduced-motion .tilt-left,
html.reduced-motion .tilt-right {
  transform: none;
}
