/* The site-wide layer of "the cutting room" look (2026-11-15), loaded right after landing.css on every marketing page.
   The site is always dark now (ThemeScript sets data-theme="dark"): near-black ground, bone type, one gold main
   button, the display face for headings in place of the handwritten one, and no wallpaper grid. The homepage adds its
   own sections on top (home3.css). */

:root[data-theme="dark"] {
  --ground: #0b0b0c;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --ink: #efe8dc;
  --ink-2: #c9c2b6;
  --muted: #8d877d;
  --line: #26262a;
  --line-hi: #34343a;
  --accent-text: #e2b45a;
  --commit: #e2b45a;
  --commit-hi: #ecc26c;
  --commit-ink: #17130a;
  --grid-line: transparent;
  --hand: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --site-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --site-mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme="dark"] body { background: var(--ground); color: var(--ink); }
/* The light/dark switch is gone: the site is one look. */
.theme-switch { display: none !important; }

/* Headings in the display face, tighter, like the homepage. */
:root[data-theme="dark"] main h1,
:root[data-theme="dark"] main h2 { font-family: var(--site-display); font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
:root[data-theme="dark"] main h1 { line-height: 1; }
:root[data-theme="dark"] main h3 { letter-spacing: -.02em; }

/* The one main button: gold, rounded, a soft glow. */
:root[data-theme="dark"] .btn-primary {
  background: var(--commit); color: var(--commit-ink) !important; border-radius: 999px; font-weight: 700;
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--commit) 70%, transparent);
}
:root[data-theme="dark"] .btn-primary:hover { background: var(--commit-hi); color: var(--commit-ink) !important; }
:root[data-theme="dark"] .btn-dark { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-hi); }

/* The header: glass over the dark. */
:root[data-theme="dark"] .site-head, :root[data-theme="dark"] header.head { background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }

/* Notes, cards and boxes: quiet dark panels with a hairline, not pastel paper. */
:root[data-theme="dark"] .note, :root[data-theme="dark"] .card, :root[data-theme="dark"] .kind-note, :root[data-theme="dark"] .home-note {
  box-shadow: none; outline: 1px solid var(--line);
}

/* Small labels read as a slate, the homepage's monospace caps. */
:root[data-theme="dark"] .eyebrow, :root[data-theme="dark"] .kicker, :root[data-theme="dark"] .pay-way-tag {
  font-family: var(--site-mono); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--muted);
}

/* Links in running text: the gold. */
:root[data-theme="dark"] main p a:not(.btn), :root[data-theme="dark"] main li a:not(.btn), :root[data-theme="dark"] main dd a { color: var(--accent-text); }

/* A whisper of film grain, as on the homepage. */
:root[data-theme="dark"] body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* The recommended plan stands out on the dark: a gold frame, a soft glow and a gold ribbon (2026-11-15: "the
   highlighting effect is almost not there"). */
:root[data-theme="dark"] .plans-4 .plan-pick {
  border: 2px solid var(--commit) !important; border-top-width: 2px !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--commit) 12%, var(--surface)) 0%, var(--surface) 55%) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--commit) 14%, transparent), 0 30px 60px -28px color-mix(in srgb, var(--commit) 55%, transparent) !important;
}
:root[data-theme="dark"] .plan-ribbon { background: var(--commit) !important; color: var(--commit-ink) !important; font-weight: 800; letter-spacing: .08em; }
:root[data-theme="dark"] .plan-pick .plan-mins { background: color-mix(in srgb, var(--commit) 18%, var(--surface-2)) !important; }
:root[data-theme="dark"] .plan-pick .btn { background: var(--commit) !important; color: var(--commit-ink) !important; }
/* Highlighted words in the plan lists: gold and bold, so they read as highlights. */
:root[data-theme="dark"] .plan b, :root[data-theme="dark"] .plan strong { color: var(--commit); }
