/* Ri Marketing UI Kit — kit-specific styles (tokens imported via colors_and_type.css) */

/* reset the demo doc to Ri defaults */
html, body { margin: 0; padding: 0; background: var(--bg-page); color: var(--fg-primary); font-family: var(--font-sans); }
* { box-sizing: border-box; }

/* ================= BUTTONS ================= */
.ri-btn {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--dur-base) var(--ease-standard);
  line-height: 1;
}
.ri-btn--primary { background: var(--ri-purple-500); color: var(--ri-neutral-050); box-shadow: var(--shadow-sm); }
.ri-btn--primary:hover { background: var(--ri-purple-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.ri-btn--gold { background: var(--ri-gold-500); color: var(--ri-purple-900); box-shadow: var(--shadow-glow-gold); font-weight: 800; }
.ri-btn--gold:hover { background: var(--ri-gold-400); }
.ri-btn--ghost { background: transparent; color: var(--ri-purple-500); padding-left: 12px; padding-right: 12px; border-bottom: none; }
.ri-btn--ghost:hover { color: var(--ri-purple-700); }
.ri-btn--light { background: var(--ri-white); color: var(--ri-purple-500); box-shadow: var(--shadow-sm); }
.ri-btn--light:hover { background: var(--ri-neutral-100); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.ri-btn--ghost-on-dark { background: transparent; color: var(--ri-neutral-050); border: 1.5px solid rgba(255,255,255,0.25); }
.ri-btn--ghost-on-dark:hover { background: rgba(255,255,255,0.08); border-color: var(--ri-gold-400); color: var(--ri-gold-300); }
.ri-btn--lg { padding: 18px 34px; font-size: 15px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ri-gold-600);
  margin: 0;
}
.ri-dark .eyebrow { color: var(--ri-gold-400); }

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-lg);
  line-height: 1.35;
  color: var(--fg-secondary);
  margin: 0;
  text-wrap: pretty;
}
.ri-dark .lede { color: var(--ri-neutral-200); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ri-purple-900);
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "opsz" 144;
}
.ri-dark h1, .ri-dark h2, .ri-dark h3, .ri-dark h4 { color: var(--ri-neutral-050); }
h2 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-xl); font-weight: 600; }
p { margin: 0; text-wrap: pretty; line-height: 1.6; }

/* ================= HEADER ================= */
.ri-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(247, 247, 250, 0.92);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.ri-header__logo img { height: 34px; display: block; }
.ri-header__nav { display: flex; gap: 34px; }
.ri-header__nav a { font-size: 14px; color: var(--ri-neutral-600); font-weight: 500; text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
.ri-header__nav a:hover { color: var(--ri-purple-500); }
.ri-header__cta { display: flex; gap: 8px; align-items: center; }

/* ================= HERO ================= */
.ri-hero { position: relative; overflow: hidden; padding: 120px 48px 140px; }
.ri-hero__inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.ri-hero__title {
  font-size: clamp(3rem, 6.5vw, 5.25rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 20px 0 28px 0;
  max-width: 900px;
}
.ri-hero__title em { font-style: italic; color: var(--ri-gold-400); font-weight: 500; }
.ri-hero__lede { max-width: 640px; font-size: 22px; }
.ri-hero__ctas { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
/* Defensive: the markup is removed from Hero.jsx, but the supplied mark PNG has an
   opaque purple ground, so any older/stale bundle that still emits this must stay hidden. */
.ri-hero__art, .ri-hero__art img { display: none !important; }
.ri-hero__meta { margin-top: 36px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-on-dark-muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ================= FEATURE ================= */
.ri-feature { padding: 120px 48px; max-width: var(--page-max); margin: 0 auto; }
.ri-section-head { max-width: 780px; margin: 0 auto 64px auto; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.ri-section-head h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
.ri-feature__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ri-feature__card {
  background: var(--ri-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: all var(--dur-base) var(--ease-standard);
}
.ri-feature__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ri-feature__icon { color: var(--ri-purple-500); width: 32px; height: 32px; stroke-width: 1.5px; }
.ri-feature__eyebrow { margin-top: 4px; }
.ri-feature__card h4 { font-size: 22px; line-height: 1.25; }
.ri-feature__card { gap: 14px; }
.ri-feature__card p { font-size: 15px; color: var(--fg-secondary); }

/* ================= METRICS ================= */
.ri-metrics { background: var(--ri-neutral-100); padding: 100px 48px; }
.ri-metrics__inner { max-width: var(--page-max); margin: 0 auto; text-align: center; }
.ri-metrics__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.ri-metrics__stat { padding: 20px 0; }
.ri-metrics__n { font-family: var(--font-display); font-size: 68px; font-weight: 700; color: var(--ri-purple-900); line-height: 1; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
.ri-metrics__u { font-size: 26px; color: var(--ri-gold-600); vertical-align: top; margin-left: 3px; font-weight: 600; }
.ri-metrics__l { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-secondary); margin-top: 14px; line-height: 1.4; }

/* ================= TIMELINE ================= */
.ri-timeline { padding: 120px 48px; max-width: var(--page-max); margin: 0 auto; }
.ri-timeline__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.ri-timeline__list::before {
  content: ""; position: absolute; top: 40px; left: 40px; right: 40px; height: 1px;
  background: var(--border-default);
  z-index: 0;
}
.ri-timeline__node {
  background: var(--bg-page);
  padding: 0 8px;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.ri-timeline__num {
  font-family: var(--font-display); font-size: 40px; font-weight: 600;
  color: var(--ri-purple-500); line-height: 1;
  width: 80px; height: 80px;
  background: var(--ri-neutral-050); border: 1.5px solid var(--ri-purple-500);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-variation-settings: "opsz" 144;
}
.ri-timeline__node h4 { font-size: 22px; color: var(--ri-purple-900); }
.ri-timeline__node p { font-size: 14px; color: var(--fg-secondary); }

/* ================= CTA ================= */
.ri-cta { padding: 120px 48px; position: relative; overflow: hidden; }
.ri-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 195, 26, 0.18), transparent 45%);
  pointer-events: none;
}
.ri-cta__inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.ri-cta__h { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin: 16px 0 20px 0; }
.ri-cta__p { max-width: 640px; margin: 0 auto; }
.ri-cta__actions { display: flex; gap: 14px; justify-content: center; margin: 44px 0 28px 0; flex-wrap: wrap; }
.ri-cta__deadline { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-on-dark-muted); }
.ri-cta__deadline strong { color: var(--ri-gold-400); font-weight: 600; }

/* ================= FOOTER ================= */
.ri-footer { background: var(--ri-neutral-100); padding: 80px 48px 32px; border-top: 1px solid var(--border-subtle); }
.ri-footer__inner { max-width: var(--page-max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.ri-footer__brand img { height: 30px; width: auto; align-self: flex-start; margin-bottom: 16px; }
.ri-footer__brand p { font-size: 14px; color: var(--fg-secondary); max-width: 360px; }
.ri-footer__col { display: flex; flex-direction: column; gap: 10px; }
.ri-footer__col a { color: var(--ri-ink); font-size: 14px; text-decoration: none; font-weight: 500; }
.ri-footer__col a:hover { color: var(--ri-purple-500); }
.ri-footer__base {
  max-width: var(--page-max); margin: 60px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border-default);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px; color: var(--ri-neutral-600);
  letter-spacing: 0.04em;
}
