/* ReadyKitAI shared styles — used by every page.
   To change the brand color, edit the --accent values below. */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F3;
  --surface: #FFFFFF;
  --ink: #131416;
  --ink-2: #1F2124;
  --ink-3: #33363B;
  --ink-muted: #50545A;
  --ink-light: #767B83;
  --border: #E3E3DF;
  --border-strong: #C6C6C1;

  /* Hi-vis yellow: CTAs and highlights only. Text on it is always --ink. */
  --accent: #FFD60A;
  --accent-hover: #F5C800;
  --accent-soft: #FFF5BF;
  --accent-line: #E6C62E;
  --accent-text: #5C4A00;
  --accent-shadow: #9C8200;

  --emerald: #0B7A4B;
  --emerald-bright: #3DDC97;
  --emerald-soft: #E9F6EF;
  --emerald-border: #A8DBC2;
  --emerald-text: #0A5C3A;

  --red: #C62828;
  --red-soft: #FDF0EE;
  --red-border: #F2C1BA;
  --red-text: #8E1F17;

  --radius: 10px;
  --max-w: 1140px;

  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Barlow', -apple-system, sans-serif;
  --font-sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
code {
  font-family: var(--font-mono); font-size: 0.86em;
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: 1px 5px; border-radius: 4px;
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 14px; }
.brand {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
  display: flex; align-items: center; gap: 9px; color: var(--ink);
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; background: var(--accent); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 6px; font-size: 1.15rem; font-weight: 800;
}
.brand-ai { padding-left: 9px; border-left: 2px solid var(--ink); color: var(--ink-light); font-weight: 700; }
nav { display: flex; align-items: center; gap: 24px; font-size: 1rem; font-weight: 600; color: var(--ink-muted); }
nav a:not(.btn):hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 54px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; text-align: center; white-space: nowrap;
  border: 2px solid var(--ink); border-radius: 8px; cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(1px); box-shadow: 0 3px 0 var(--ink); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn-outline { background: var(--surface); color: var(--ink); }
.btn-outline:hover { background: var(--bg-alt); }
.btn-dark { background: var(--ink); color: #FFF; }
.btn-dark:hover { background: var(--ink-3); }
.btn-sm { min-height: 42px; padding: 6px 15px; font-size: 1.05rem; }
.btn-sm.btn-primary { box-shadow: 0 3px 0 var(--ink); }
.btn-block { width: 100%; white-space: normal; }
.section-dark .btn-primary, .card-dark .btn-primary, .on-dark .btn-primary {
  border-color: var(--accent); box-shadow: 0 4px 0 var(--accent-shadow);
}
.section-dark .btn-primary:hover, .card-dark .btn-primary:hover, .on-dark .btn-primary:hover { box-shadow: 0 3px 0 var(--accent-shadow); }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: var(--ink); }
h1 { font-size: clamp(2.9rem, 9.6vw, 5.2rem); line-height: 0.96; letter-spacing: -0.005em; margin-bottom: 20px; }
h2 { font-size: clamp(2.1rem, 5.4vw, 3.2rem); line-height: 1; margin-bottom: 14px; }
h3 { font-family: var(--font-body); font-size: 1.15rem; line-height: 1.3; font-weight: 700; margin-bottom: 8px; color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 11px; height: 11px; background: var(--accent); border: 2px solid var(--ink); flex-shrink: 0; }

.lead { font-size: clamp(1.12rem, 1.7vw, 1.28rem); color: var(--ink-muted); max-width: 640px; }

section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--ink); color: #F5F5F3; }
.section-dark h2, .section-dark h3 { color: #FFF; }
.section-dark .lead { color: #C9C9C5; }
.section-dark .eyebrow { color: #C9C9C5; }
.section-dark .eyebrow::before { border-color: var(--accent); }

/* ---------- Grids & Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius); padding: 28px; }
.card-dark { background: var(--ink); color: #F5F5F3; border-radius: var(--radius); padding: 28px; border: 2px solid var(--ink); }
.card-dark h2, .card-dark h3 { color: #FFF; }
.card-dark p, .card-dark li { color: #C9C9C5; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2;
  padding: 4px 9px; border-radius: 5px; background: var(--bg-alt); color: var(--ink);
  border: 1.5px solid var(--border-strong); margin-bottom: 12px;
}
.badge-amber { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-line); }
.badge-green { background: var(--emerald-soft); color: var(--emerald-text); border-color: var(--emerald-border); }
.badge-red { background: var(--red-soft); color: var(--red-text); border-color: var(--red-border); }

/* ---------- Voice note / draft boxes (examples page) ---------- */
.voice-note {
  background: var(--bg-alt); border-left: 4px solid var(--ink);
  padding: 13px 16px; border-radius: 0 8px 8px 0; margin-bottom: 16px; color: var(--ink); font-weight: 500;
}
.voice-label {
  display: block; font-family: var(--font-head); font-size: 0.88rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-light); margin-bottom: 2px;
}
.draft-box { background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: 9px; padding: 18px; line-height: 1.55; color: var(--ink); }
.fill-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--ink); border: 1.5px solid var(--accent-line);
  border-radius: 6px; padding: 7px 11px; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px;
  font-family: var(--font-mono);
}
.fill-bar::before {
  content: "!"; display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 3px; background: var(--ink); color: var(--accent);
  font-size: 0.72rem; font-weight: 800; flex-shrink: 0; font-family: var(--font-body);
}

/* ---------- Lists ---------- */
ul.clean-list, ul.x-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
ul.clean-list li, ul.x-list li { position: relative; padding-left: 30px; }
ul.clean-list li::before, ul.x-list li::before {
  position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; line-height: 1;
}
ul.clean-list li::before { content: "✓"; background: var(--emerald); color: #FFF; }
ul.x-list li::before { content: "✕"; background: var(--red); color: #FFF; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #C9C9C5; padding: 38px 0; font-size: 0.98rem; }
footer strong { color: #FFF; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { color: #FFF; }

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  nav .hide-mobile { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  nav { gap: 12px; font-size: 0.96rem; }
  .nav-inner { gap: 10px; }
  .brand { font-size: 1.22rem; gap: 6px; }
  .brand-ai { padding-left: 6px; }
  .brand-mark { width: 26px; height: 26px; font-size: 1rem; }
  nav .btn-sm { padding: 6px 10px; font-size: 0.98rem; }
  .card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
