/* PracticalOps template tokens â€” default theme (v2 design system).
   Apps copy this file to src/tokens.css. Brand values from config.json are
   injected at boot as inline custom properties on :root, overriding these. */

:root {
  --paper: #FAF7F2;
  --cream: #F3EEE4;
  --ink: #101D2C;
  --ink-2: #46586B;
  --night: #0B1620;
  --accent: #E8762C;
  --accent-deep: #B95417;   /* accent TEXT on light backgrounds (AA) */
  --accent-ink: #A34B12;    /* small accent text on cream (AA 4.5+) */
  --teal: #15B097;
  --teal-deep: #0E7A69;
  --line: #E3DCCE;
  --line-dark: #23354A;
  --paper-dim: #9FB0C2;     /* body text on dark (AA) */
  --white: #FFFFFF;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Fraunces", Georgia, serif;

  --radius: 10px;
  --radius-card: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

.po-app {
  color: var(--ink-2);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.po-app h1, .po-app h2, .po-app h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -.025em;
}

.po-acc {
  color: var(--accent-deep);
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
}

.po-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .9em 1.75em;
  border: 0;
  border-radius: var(--radius);
  color: var(--paper);
  background: var(--accent);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s var(--ease), background .15s var(--ease);
}

.po-btn:hover, .po-btn:focus-visible { background: var(--accent-deep); transform: translateY(-2px); }

.po-badge-demo {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .3em .9em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-ink);
  background: var(--cream);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.po-app :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .po-app *, .po-app *::before, .po-app *::after {
    animation: none !important;
    transition: none !important;
  }
}
