/*
Theme Name: Skopio
Theme URI: https://skopio.ai
Author: Skopio
Description: Marketing theme for skopio.ai — a 1:1 port of the Next.js landing, token-faithful to DESIGN.md (warm-light cream canvas, near-monochrome, one orange accent, Geist). Drive everything from the --color-* tokens; never hardcode hex. Managed by the Skopio agent over the wordpress-mcp plugin.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
*/

/* ── Tokens (ported verbatim from apps/web/app/globals.css @theme) ─────────── */
:root {
  --color-bg: #f7f4ee;
  --color-surface: #ffffff;
  --color-surface-2: #f1ede5;
  --color-elevated: #e9e4d9;
  --color-line: #e6e1d6;
  --color-line-2: #d6d0c2;
  --color-ink: #1a1613;
  --color-muted: #6c665d;
  --color-faint: #9a9389;
  --color-accent: #f2580f;
  --color-accent-hover: #ff6a22;
  --color-accent-fg: #ffffff;
  --color-accent-soft: rgba(242, 88, 15, 0.10);
  --color-success: #15a34a;
  --color-success-soft: rgba(21, 163, 74, 0.12);
  --color-danger: #d23b30;
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* quiet warm wash at the top — depth without decoration */
body::before {
  content: ""; position: fixed; inset: 0 0 auto 0; height: 420px; z-index: -1;
  background: radial-gradient(55% 100% at 50% -10%, rgba(242, 88, 15, 0.05), transparent 72%);
}
::selection { background: var(--color-accent-soft); }
a { color: inherit; }

/* ── Shared primitives (subset needed by the marketing pages) ──────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 9px; font-weight: 540; font-size: 14px;
  background: var(--color-accent); color: var(--color-accent-fg);
  border: 0; cursor: pointer; letter-spacing: -0.01em; text-decoration: none;
  transition: background .12s ease, transform .06s ease, opacity .12s ease;
}
.btn:hover { background: var(--color-accent-hover); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: var(--color-surface-2); color: var(--color-ink); border: 1px solid var(--color-line); }
.btn-ghost:hover { background: var(--color-elevated); }

.card {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(26, 22, 19, 0.04), 0 1px 3px rgba(26, 22, 19, 0.05);
}
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px;
  border-radius: 7px; font-size: 12px; font-weight: 530; letter-spacing: -0.01em;
}
.pill-off { background: var(--color-surface-2); color: var(--color-muted); border: 1px solid var(--color-line); }

/* ── Marketing pages (ported from globals.css .mk-*) ───────────────────────── */
.mk-page { min-height: 100vh; display: flex; flex-direction: column; }
.mk-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; max-width: 1040px; width: 100%; margin: 0 auto;
}
.mk-nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.mk-link { color: var(--color-muted); text-decoration: none; font-weight: 500; }
.mk-link:hover { color: var(--color-ink); }

.mk-hero { flex: 1; display: grid; place-items: center; padding: 52px 24px 72px; }
.mk-hero-grid { width: 100%; max-width: 960px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.mk-h1 { font-size: clamp(36px, 5.6vw, 54px); font-weight: 680; letter-spacing: -0.035em; line-height: 1.03; margin: 0 0 18px; }
.mk-lede { color: var(--color-muted); font-size: 17px; line-height: 1.55; max-width: 440px; margin: 0; }
.mk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mk-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.mk-list li span { line-height: 1.45; }
.mk-check {
  flex-shrink: 0; margin-top: 1px; width: 18px; height: 18px; border-radius: 999px;
  background: var(--color-accent-soft); display: inline-flex; align-items: center; justify-content: center;
}

/* proof band — numbered steps */
.mk-band { border-top: 1px solid var(--color-line); background: var(--color-surface); }
.mk-band-inner { max-width: 1040px; margin: 0 auto; padding: 56px 24px 64px; }
.mk-band h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 660; letter-spacing: -0.025em; margin: 0; }
.mk-band-lede { color: var(--color-muted); font-size: 16px; line-height: 1.55; margin: 8px 0 0; max-width: 540px; }
.mk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.mk-step-n { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--color-accent); letter-spacing: 0.02em; margin-bottom: 12px; }
.mk-step h3 { font-size: 16.5px; font-weight: 620; letter-spacing: -0.01em; margin: 0 0 7px; }
.mk-step p { color: var(--color-muted); font-size: 14.5px; line-height: 1.58; margin: 0; }

/* closing CTA strip */
.mk-cta { max-width: 1040px; margin: 0 auto; padding: 56px 24px 72px; width: 100%; }
.mk-cta .card { padding: 40px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.mk-cta h2 { font-size: 24px; font-weight: 660; letter-spacing: -0.025em; margin: 0; }
.mk-cta p { color: var(--color-muted); font-size: 15px; line-height: 1.5; margin: 6px 0 0; }
.mk-cta-actions { display: flex; gap: 10px; }

/* sign-in / get-started panel (static CTA to the app) */
.mk-panel { padding: 28px; }
.mk-panel h2 { font-size: 20px; font-weight: 660; letter-spacing: -0.02em; margin: 0 0 6px; }
.mk-panel p { color: var(--color-muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 20px; }
.mk-panel .btn { width: 100%; }
.mk-panel-note { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--color-muted); }
.mk-panel-note a { color: var(--color-accent); font-weight: 540; text-decoration: none; }

.mk-foot { text-align: center; color: var(--color-faint); font-size: 13px; padding: 8px 24px 32px; }

/* brand lockup */
.mk-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.mk-brand svg { display: block; filter: drop-shadow(0 1px 3px rgba(26,22,19,0.18)); }
.mk-brand-word { font-weight: 680; font-size: 19.7px; letter-spacing: -0.02em; color: var(--color-ink); }
.mk-brand-word i { color: var(--color-accent); font-weight: 600; font-style: normal; }

/* long-form page content (agent-authored pages/posts render on-brand) */
.mk-prose { max-width: 660px; margin: 0 auto; padding: 40px 24px 72px; }
.mk-prose h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 680; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 18px; }
.mk-prose h2 { font-size: clamp(22px, 3vw, 27px); font-weight: 660; letter-spacing: -0.02em; line-height: 1.18; margin: 40px 0 10px; }
.mk-prose h3 { font-size: 18px; font-weight: 620; letter-spacing: -0.01em; margin: 28px 0 8px; }
.mk-prose p, .mk-prose li { color: var(--color-muted); font-size: 16px; line-height: 1.62; }
.mk-prose a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 860px) {
  .mk-hero-grid { grid-template-columns: 1fr; gap: 30px; max-width: 460px; }
  .mk-hero { padding: 28px 20px 48px; }
  .mk-steps { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 520px) {
  .mk-nav-hide-sm { display: none; }
}
