@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #16151C;
  --ink-2: #4A4857;
  --muted: #8A8797;
  --line: #ECE6DC;
  --accent: #FF5B2E;
  --accent-ink: #FFFFFF;
  --accent-soft: #FFE8DF;
  --violet: #5B4BFF;
  --violet-soft: #ECEAFF;
  --green: #12A36E;
  --green-soft: #DDF5EB;
  --amber: #E9A400;
  --amber-soft: #FFF3D1;
  --pink: #E0428F;
  --pink-soft: #FCE3EF;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22, 21, 28, .05), 0 8px 24px rgba(22, 21, 28, .06);
  --shadow-lg: 0 24px 60px rgba(22, 21, 28, .14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(255, 91, 46, .32); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: var(--accent-soft); color: #B33A14;
}
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500;
  transition: all .25s ease; z-index: 100; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #B4231A; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.spinner.dark { border-color: rgba(22,21,28,.15); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* platform colours */
.pf-instagram { background: var(--pink-soft); color: #A31F5E; }
.pf-facebook { background: #E3ECFF; color: #1F4FB8; }
.pf-tiktok { background: #E6E6EA; color: #16151C; }
.pf-linkedin { background: #DDEEFA; color: #0A5B95; }
.pf-x, .pf-twitter { background: #ECECEC; color: #222; }
.pf-youtube { background: #FFE2E0; color: #B4231A; }
.pf-pinterest { background: #FFE4E6; color: #B5122B; }
.pf-threads { background: #EFEFEF; color: #222; }
.pf-other { background: var(--violet-soft); color: #3B2FC4; }

.goal-Sales { background: var(--accent-soft); color: #B33A14; }
.goal-Trust { background: var(--green-soft); color: #0B7A52; }
.goal-Awareness { background: var(--violet-soft); color: #3B2FC4; }
.goal-Engagement { background: var(--amber-soft); color: #8A6100; }
.goal-Community { background: var(--pink-soft); color: #A31F5E; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
