/* Scrumlo marketing design system — bold, vibrant-gradient premium (Figma/Pitch energy).
   Shared by every static landing + alternative page. One file, consistent everywhere. */

@font-face {
  font-family: "Inter Variable";
  src: url("/fonts/inter.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --iris-50: #eef1ff;
  --iris-100: #e0e5ff;
  --iris-200: #c7cdfe;
  --iris-300: #a5acfb;
  --iris-400: #828bf6;
  --iris-500: #6366f1;
  --iris-600: #5249e6;
  --iris-700: #463bcb;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --ink: #0b1020;
  --mut: #475569;
  --soft: #6b7794;
  --line: #e7e9f5;
  --grad: linear-gradient(110deg, var(--iris-600), var(--violet) 55%, var(--pink));
  --shadow-sm: 0 1px 2px rgba(15, 18, 40, 0.06), 0 8px 24px -16px rgba(15, 18, 40, 0.25);
  --shadow-md: 0 24px 60px -32px rgba(70, 59, 203, 0.45), 0 8px 24px -18px rgba(15, 18, 40, 0.25);
  --shadow-glow: 0 16px 40px -12px rgba(99, 102, 241, 0.55);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter Variable", ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fbfbfe;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* vibrant gradient-mesh bloom behind the top of the page */
body::before {
  content: "";
  position: fixed;
  inset: -20% -20% auto -20%;
  height: 80vh;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 0%, rgba(99, 102, 241, 0.28), transparent 70%),
    radial-gradient(38% 48% at 80% 8%, rgba(236, 72, 153, 0.20), transparent 70%),
    radial-gradient(50% 55% at 50% 0%, rgba(139, 92, 246, 0.22), transparent 72%);
  filter: saturate(1.1);
  pointer-events: none;
}

.wrap { max-width: 66rem; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 46rem; margin: 0 auto; padding: 0 1.5rem; }

/* sticky glass nav */
nav.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.wrap > nav.top {
  margin: 0 -1.5rem;
  padding: 0.9rem 1.5rem;
  background: rgba(251, 251, 254, 0.72);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(231, 233, 245, 0.8);
}
.logo { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.logo .mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 10px;
  background: var(--grad);
  box-shadow: var(--shadow-glow);
}
.logo .word { font-size: 15px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink); }
.oss-pill {
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7);
  border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 600; color: var(--soft);
}

/* hero */
.hero { padding: 3.5rem 0 1.5rem; animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem; border-radius: 999px;
  background: linear-gradient(var(--iris-50), #fff) padding-box,
              var(--grad) border-box;
  border: 1.5px solid transparent;
  color: var(--iris-700); font-size: 0.78rem; font-weight: 700; padding: 0.4rem 0.9rem;
  box-shadow: var(--shadow-sm);
}
h1 {
  margin-top: 1.4rem; font-size: clamp(2.6rem, 6vw, 4.1rem); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.035em; color: var(--ink);
}
h1 .accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { margin-top: 1.4rem; max-width: 38rem; font-size: 1.15rem; color: var(--mut); }

/* buttons */
.cta {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--grad); background-size: 160% 160%; background-position: 0% 50%;
  color: #fff; font-weight: 700; font-size: 1rem; padding: 0.85rem 1.7rem; border-radius: 0.9rem;
  text-decoration: none; box-shadow: var(--shadow-glow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-position 0.4s ease;
}
.cta:hover {
  transform: translateY(-2px); background-position: 100% 50%;
  box-shadow: 0 22px 48px -12px rgba(99, 102, 241, 0.65);
}
.cta:active { transform: translateY(0); }
.cta.ghost {
  background: #fff; color: var(--iris-700); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cta.ghost:hover { background: var(--iris-50); }

/* content rhythm */
.narrow { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.05s; }
h2 { font-size: clamp(1.4rem, 3vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; margin: 3rem 0 0.9rem; color: var(--ink); }
p, li { color: var(--mut); font-size: 1rem; }
ul, ol { padding-left: 1.2rem; display: grid; gap: 0.55rem; }
strong { color: var(--ink); font-weight: 700; }
a { color: var(--iris-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 1.3rem;
  padding: 1.6rem 1.8rem; margin-top: 1rem; box-shadow: var(--shadow-md);
}
.card h2 { margin-top: 0.2rem; }

/* premium comparison table */
table.cmp {
  width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 1.2rem;
  font-size: 0.95rem; background: #fff; border: 1px solid var(--line);
  border-radius: 1.1rem; overflow: hidden; box-shadow: var(--shadow-md);
}
table.cmp th, table.cmp td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid #f0f1f9; vertical-align: top; }
table.cmp thead th { background: #f7f8fe; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--soft); font-weight: 700; }
table.cmp thead th:nth-child(2) { color: var(--iris-700); }
table.cmp td:nth-child(2), table.cmp th:nth-child(2) {
  background: linear-gradient(rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
}
table.cmp td.s { color: var(--ink); font-weight: 600; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
.note { font-size: 0.8rem; color: var(--soft); margin-top: 0.8rem; }

/* dark conversion wedge with gradient glow */
.wedge {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: #0b1020; padding: 4rem 1.5rem; margin-top: 4rem; border-radius: 1.5rem;
}
.wrap + .wedge, main + .wedge { margin-left: auto; margin-right: auto; max-width: 66rem; }
.wedge::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 120%;
  background:
    radial-gradient(40% 60% at 30% 0%, rgba(99, 102, 241, 0.5), transparent 70%),
    radial-gradient(40% 60% at 75% 10%, rgba(236, 72, 153, 0.35), transparent 70%);
  pointer-events: none;
}
.wedge h2 { position: relative; margin: 0 auto; max-width: 40rem; font-size: clamp(1.6rem, 4vw, 2.1rem); color: #fff; }
.wedge .accent { background: linear-gradient(110deg, var(--iris-300), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wedge p { position: relative; color: #c7cde8; max-width: 38rem; margin: 1.1rem auto 0; }
.wedge .cta { position: relative; background: #fff; color: var(--ink); margin-top: 2rem; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.6); }
.wedge .cta:hover { background: #f1f5f9; transform: translateY(-2px); }

.faq h3 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.25rem; color: var(--ink); }

footer { padding: 3rem 1.5rem 4rem; text-align: center; font-size: 0.82rem; color: var(--soft); }
footer nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.1rem; justify-content: center; }
footer a { color: var(--soft); font-weight: 600; }
footer a:hover { color: var(--iris-600); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .narrow { animation: none; }
  .cta { transition: none; }
}
