/* ==========================================================================
   Theme: Minimal Editorial Brutal, the default first impression.
   Monochrome, editorial, premium. Black, white, cream, gray. Strong grid,
   hairline rules against hard 2px borders, oversized numerals, no decoration
   that doesn't carry structure.
   ========================================================================== */

[data-theme="mono"] {
  --bg: #f4f1ea;
  --bg-soft: #ebe7dc;
  --surface: #fbfaf6;
  --ink: #131312;
  --muted: #57544c;
  --accent: #5f84c9;
  --accent-ink: #f8f6f0;
  --accent-2: #6f7f96;
  --line: #d9d4c6;
  --border-w: 1px;
  --radius: 0px;
  --radius-lg: 0px;
  --shadow: none;
  --shadow-strong: none;

  --font-display: "Inter", system-ui, sans-serif;
  --h-weight: 800;
  --h-tracking: -0.045em;
  --h-transform: none;
  --kicker-font: "IBM Plex Mono", monospace;
  --btn-radius: 0px;
  --tk-speed: 42;
}

/* Editorial pacing: a little more air everywhere */
[data-theme="mono"] .section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
[data-theme="mono"] .hero { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
[data-theme="mono"] .hero-title { font-size: clamp(2.3rem, 6vw, 4.3rem); line-height: 1.0; }
[data-theme="mono"] .hero-title em {
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
}

[data-theme="mono"] .kicker { color: var(--ink); font-size: 0.72rem; }
[data-theme="mono"] .kicker::before { content: "( "; color: var(--accent-2); }
[data-theme="mono"] .kicker::after { content: " )"; color: var(--accent-2); }

/* The brutalist edge: black slabs, hard hover offsets */
[data-theme="mono"] .btn {
  border: 2px solid var(--ink);
  font-weight: 700;
  letter-spacing: 0.01em;
}
[data-theme="mono"] .btn--primary { background: var(--ink); color: var(--bg); }
[data-theme="mono"] .btn--primary:hover {
  background: var(--ink); border-color: var(--ink); color: var(--bg);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--accent-2);
}
[data-theme="mono"] .btn--ghost:hover {
  background: var(--ink); color: var(--bg);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--accent-2);
}

[data-theme="mono"] .site-header { border-bottom: 2px solid var(--ink); }
[data-theme="mono"] .nav-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
[data-theme="mono"] .lang-btn { border: 1px solid var(--ink); }
[data-theme="mono"] .brand-name i { color: var(--accent-2); }

[data-theme="mono"] .hp {
  border: 1px solid var(--ink);
  background: transparent;
  font-family: var(--kicker-font);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero composition: framed window on a baseline grid, one black field */
[data-theme="mono"] .hero-art {
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 100% 2.6rem;
}
[data-theme="mono"] .ha-1 {
  opacity: 1; width: 38%; height: 46%;
  background: var(--ink);
  top: -4%; right: 0;
}
[data-theme="mono"] .ha-2 {
  opacity: 1; width: 30%; height: 2px;
  background: var(--ink);
  bottom: 10%; left: 0;
}
[data-theme="mono"] .ha-3 {
  opacity: 1;
  bottom: 1%; left: 0;
  font-family: var(--kicker-font);
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-2);
}
[data-theme="mono"] .ha-3::before { content: "Fig. 01 · PlainPages"; }
[data-theme="mono"] .win {
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 0 var(--bg-soft), 10px 10px 0 2px var(--ink);
}
[data-theme="mono"] .win-bar { border-bottom: 1px solid var(--line); }
[data-theme="mono"] .win-dots i { background: var(--ink); }
[data-theme="mono"] .win-dots i:nth-child(2) { background: var(--accent-2); }
[data-theme="mono"] .win-dots i:nth-child(3) { background: var(--line); }
[data-theme="mono"] .ha-chip { background: var(--ink); }
[data-theme="mono"] .ha-chip--alt { border: 1px solid var(--ink); }

/* Ticker: a restrained editorial news strip */
[data-theme="mono"] .ticker {
  background: var(--bg);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-block: 0.6rem;
}
[data-theme="mono"] .tk-item { color: var(--ink); font-size: 0.7rem; letter-spacing: 0.18em; }
[data-theme="mono"] .tk-sep { color: var(--accent-2); }
[data-theme="mono"] .tk-sep::before { content: "/"; }

/* Cards: hairline fields with a hard top rule, editorial numbering stays gray */
[data-theme="mono"] .svc-card, [data-theme="mono"] .why-card,
[data-theme="mono"] .step, [data-theme="mono"] .demo-card,
[data-theme="mono"] .price-card, [data-theme="mono"] .form {
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
}
[data-theme="mono"] .svc-card:hover,
[data-theme="mono"] .demo-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 0 var(--line);
  border-color: var(--ink);
  border-top-color: var(--ink);
}
[data-theme="mono"] .svc-icon { color: var(--ink); }

[data-theme="mono"] .why-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
  color: var(--line);
  -webkit-text-stroke: 1px var(--accent-2);
}
[data-theme="mono"] .step-num {
  border-radius: 0;
  border: 2px solid var(--ink);
  font-weight: 700;
}
[data-theme="mono"] .steps .step:nth-child(even) { background: var(--bg); }

[data-theme="mono"] .demo-status--prod { border-color: var(--ink); color: var(--ink); }
[data-theme="mono"] .dt-b { background: var(--accent-2); }

[data-theme="mono"] .price-card--featured {
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 0 var(--bg-soft), 8px 8px 0 2px var(--ink);
}
[data-theme="mono"] .price-badge { background: var(--ink); color: var(--bg); }
[data-theme="mono"] .price-list li::before { content: "·"; color: var(--accent-2); font-weight: 400; }

[data-theme="mono"] .field input, [data-theme="mono"] .field select, [data-theme="mono"] .field textarea {
  border: 1px solid var(--accent-2);
  border-radius: 0;
  background: var(--surface);
}
[data-theme="mono"] .field input:focus, [data-theme="mono"] .field select:focus, [data-theme="mono"] .field textarea:focus {
  border-color: var(--ink);
  box-shadow: 2px 2px 0 0 var(--ink);
}
[data-theme="mono"] .site-footer { border-top: 2px solid var(--ink); }

/* Panel: gallery-label energy */
[data-theme="mono"] .mode-panel { border: 2px solid var(--ink); }
[data-theme="mono"] .mp-dot--b { background: var(--accent-2); }
[data-theme="mono"] .mp-label { color: var(--ink); }
[data-theme="mono"] .mp-label::before { content: "· "; color: var(--accent-2); }
[data-theme="mono"] .car-btn { border: 2px solid var(--ink); }

/* Motion: arrives, never bounces */
[data-theme="mono"] .reveal {
  transform: translateY(10px);
  transition-duration: 0.45s;
  transition-timing-function: cubic-bezier(0.3, 0.9, 0.4, 1);
}

/* --------------------------------------------------------------------------
   Self-preview: always monochrome editorial, whatever theme is active
   -------------------------------------------------------------------------- */
.mode-card[data-mode="mono"] .mc-prev {
  background: #f4f1ea;
  border: 1.5px solid #131312;
  border-radius: 0;
  background-image: linear-gradient(to bottom, #e3dfd2 1px, transparent 1px);
  background-size: 100% 0.9rem;
}
.mode-card[data-mode="mono"] .mp-a {
  width: 1.7rem; height: 1.7rem;
  background: #131312;
  right: 0.6rem; top: 0.6rem;
}
.mode-card[data-mode="mono"] .mp-b {
  width: 2.6rem; height: 0.28rem;
  background: #131312;
  left: 0.6rem; top: 0.75rem;
}
.mode-card[data-mode="mono"] .mp-c {
  width: 1.7rem; height: 0.28rem;
  background: #8d887a;
  left: 0.6rem; top: 1.35rem;
}
.mode-card[data-mode="mono"] .mc-aa {
  font-family: "Inter", sans-serif;
  font-weight: 800; letter-spacing: -0.05em;
  color: #131312;
  left: 0.6rem; bottom: 0.5rem;
}
