/* =========================================================
   Chamelo · Creative Studio
   Apple-clean · all Inter · black/white + single gradient
   ========================================================= */

:root {
  /* core */
  --paper: #FFFFFF;
  --paper-alt: #F7F7F7;
  --line: #E5E5E5;
  --ink: #0A0A0A;
  --ink-mid: #555555;
  --ink-soft: #86868B;
  --ink-muted: #B0B0B0;

  /* the splash — one gradient, used sparingly */
  --gradient: linear-gradient(120deg, #6366F1 0%, #A855F7 35%, #EC4899 65%, #F59E0B 100%);
  --gradient-flat: #A855F7; /* fallback solid */

  /* type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  /* layout */
  --max: 1280px;
  --max-prose: 720px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 8px;
  --radius-pill: 980px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s, opacity 0.15s;
}
a:hover { opacity: 0.65; }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--paper-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}

/* utility */
.muted { color: var(--ink-soft); }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- TOP BAR ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  height: 18px;
  width: auto;
  display: block;
}
.brand__sep {
  color: var(--ink-muted);
  font-weight: 300;
  font-size: 14px;
}
.brand__suffix {
  font-weight: 500;
  color: var(--ink-mid);
  font-size: 14px;
  letter-spacing: -0.01em;
}

.topbar__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
}
.topbar__nav a {
  color: var(--ink);
  letter-spacing: -0.01em;
}

.status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--ink-mid);
  background: var(--paper);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .topbar__nav { display: none; }
}

/* ---------- HERO ---------- */

.hero {
  padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 36px;
}
.hero__title-line {
  display: block;
}
.hero__title-line--gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__deck {
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.45;
  color: var(--ink-mid);
  max-width: 58ch;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Buttons — pill style, Apple-flavored */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: all 0.18s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  opacity: 1;
}

/* Hero stats inline strip */
.hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__stat-num {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero__stat-label {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0;
}

/* ---------- SECTIONS ---------- */

.section {
  padding: clamp(80px, 11vw, 140px) 0;
  border-bottom: 1px solid var(--line);
}
.section--alt { background: var(--paper-alt); }

.section__head {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 6vw, 72px);
  padding: 0 var(--pad);
}
.section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.section__title {
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--ink);
}
.section__title br { display: block; }
.section__deck {
  color: var(--ink-mid);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  max-width: 60ch;
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* ---------- CARDS / GRIDS ---------- */

.cards,
.grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  gap: 14px;
}
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--padded { gap: 16px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.card__label {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.card__body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0;
  letter-spacing: -0.005em;
}

/* ---------- VOICE CARDS ---------- */

.voicecard {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: var(--radius);
}
.voicecard__label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.voicecard__example {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.voicecard__example:last-child { margin-bottom: 0; }
.voicecard--banned .voicecard__example {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  font-weight: 500;
}

/* ---------- PRODUCT LINEUP ---------- */

.lineup {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}
.lineup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.lineup__row--reverse .lineup__media { order: 2; }
.lineup__row--reverse .lineup__copy { order: 1; }

@media (max-width: 800px) {
  .lineup__row { grid-template-columns: 1fr; }
  .lineup__row--reverse .lineup__media { order: 0; }
  .lineup__row--reverse .lineup__copy { order: 1; }
}

.lineup__media {
  aspect-ratio: 4 / 3;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.lineup__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  position: relative;
  z-index: 1;
}
.lineup__media::before {
  /* subtle gradient glow corner */
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 70%;
  height: 70%;
  background: var(--gradient);
  opacity: 0.08;
  filter: blur(60px);
  border-radius: 50%;
  pointer-events: none;
}
.lineup__slot {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  position: relative;
  z-index: 1;
}

.lineup__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.lineup__headline {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--ink);
}
.lineup__body {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0 0 18px;
  max-width: 44ch;
  letter-spacing: -0.01em;
}
.lineup__hero {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- CAMPAIGNS ---------- */

.campaigns {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.campaign {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: block;
  transition: all 0.2s;
}
.campaign:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  opacity: 1;
}
.campaign--empty { cursor: not-allowed; }
.campaign--empty:hover { transform: none; }
.campaign__date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.campaign__title {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.campaign__body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-mid);
  margin: 0 0 20px;
  letter-spacing: -0.005em;
}
.campaign__status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- SYSTEM CARDS ---------- */

.syscard {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: var(--radius);
}
.syscard__label {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.syscard__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.syscard__list li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.005em;
}
.syscard__list li:last-child { border-bottom: none; }

/* ---------- FOOTER ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 64px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__logo {
  height: 20px;
  width: auto;
  display: block;
  filter: invert(1) brightness(2);
}
.footer__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  letter-spacing: -0.005em;
}
.footer__meta a {
  color: var(--paper);
}
.footer__rule {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--paper);
  margin: 36px 0 0;
}
