/* Mascot — mascot.help
   Restrained dark UI. One accent. No purple AI gradients. */

:root {
  --bg: #0a0a0b;
  --bg-elev: #121214;
  --bg-soft: #18181b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --accent: #e8c547; /* warm gold — one accent */
  --accent-dim: rgba(232, 197, 71, 0.14);
  --ok: #6ee7b7;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #111;
  font-size: 0.85rem;
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { border-color: rgba(255,255,255,0.18); background: var(--bg-soft); }
.btn-primary {
  background: var(--accent);
  color: #111;
  border-color: transparent;
}
.btn-primary:hover { background: #f0d36a; color: #111; }
.btn-ghost { background: transparent; }

/* Hero */
.hero {
  padding: 5.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .nav-links .hide-sm { display: none; }
}
.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 650;
  margin: 0 0 1.25rem;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 34rem;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-note {
  margin-top: 1.25rem;
  color: var(--faint);
  font-size: 0.85rem;
}

/* Character card — OUR mascot, not customer embeds */
.char {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.char-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: radial-gradient(circle at 35% 30%, #f5e6a3, var(--accent) 45%, #b89620);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 12px 40px rgba(232, 197, 71, 0.18);
  position: relative;
}
.avatar::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  background: #0a0a0b;
  border-radius: 50%;
  top: 22px; left: 16px;
  box-shadow: 14px 0 0 #0a0a0b;
}
.char-meta strong { display: block; font-size: 1rem; letter-spacing: -0.02em; }
.char-meta span { color: var(--faint); font-size: 0.82rem; }
.bubble {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px;
  padding: 0.9rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
}
.bubble.me {
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
  background: var(--accent-dim);
  border-color: rgba(232, 197, 71, 0.25);
  color: #f5f0d8;
  max-width: 90%;
}
.char-hint {
  margin-top: auto;
  color: var(--faint);
  font-size: 0.78rem;
}

/* Sections */
section { padding: 4.5rem 0; }
.section-label {
  color: var(--faint);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  font-weight: 650;
}
.sub {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 2rem;
}

/* How */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.step-n {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}
.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Dual Shopify */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 760px) { .dual { grid-template-columns: 1fr; } }
.face {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.face .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
  color: var(--muted);
}
.face.admin .tag {
  color: var(--accent);
  border-color: rgba(232, 197, 71, 0.35);
  background: var(--accent-dim);
}
.face h3 { margin: 0 0 0.5rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.face p { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
.face ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.face li {
  color: var(--text);
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
}
.face li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feat {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.feat h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.feat p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Snippet */
.snippet-block {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.snippet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.8rem;
}
.snippet-block pre {
  margin: 0;
  padding: 1.25rem 1.35rem 1.5rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
  color: #d4d4d8;
}
.snippet-block .c { color: var(--faint); }
.snippet-block .s { color: var(--accent); }
.snippet-block .k { color: #c4b5fd; } /* tiny violet only for code token — not a page gradient */

/* Brands teaser */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}
.brand-chip {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 10px;
  padding: 0.85rem 0.9rem;
  font-size: 0.88rem;
}
.brand-chip span {
  display: block;
  color: var(--faint);
  font-size: 0.72rem;
  margin-top: 0.2rem;
}

/* CTA */
.cta {
  text-align: center;
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--line);
}
.cta h2 { margin-bottom: 0.6rem; }
.cta p { color: var(--muted); margin: 0 auto 1.5rem; max-width: 28rem; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--faint);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
footer a:hover { color: var(--muted); }

/* Brands page */
.page-hero { padding: 3rem 0 1.5rem; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.filters button {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.filters button.active,
.filters button:hover {
  color: #111;
  background: var(--accent);
  border-color: transparent;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding-bottom: 4rem;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}
.card-head strong { letter-spacing: -0.02em; }
.card .cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.card .mascot { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.traits em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}
.card p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.card .hyp { color: var(--faint); font-size: 0.82rem; border-top: 1px solid var(--line); padding-top: 0.65rem; margin-top: 0.2rem; }
