:root {
  --purple-950: #24123b;
  --purple-900: #33155c;
  --purple-700: #6231a6;
  --purple-500: #8557d7;
  --green-700: #287a4f;
  --green-500: #48b978;
  --lime-300: #b9ef72;
  --cream: #fffaf0;
  --paper: #ffffff;
  --ink: #1b1724;
  --muted: #6c6475;
  --navy: #0b2d64;
  --line: rgba(36, 18, 59, 0.13);
  --shadow: 0 24px 70px rgba(36, 18, 59, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(185, 239, 114, 0.24), transparent 32%),
    radial-gradient(circle at 90% 16%, rgba(133, 87, 215, 0.18), transparent 35%),
    linear-gradient(180deg, #fffdf8 0%, #f8f4ff 48%, #fffdf8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: var(--max-width);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(36, 18, 59, 0.08);
}

.brand {
  display: flex;
  align-items: center;
}

.image-brand img {
  display: block;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Logo sizing note:
   The full JKLM logo is tall, so size it by height.
   The wordmark is wide, so size it by width. */
.image-brand.logo-full img {
  height: 68px;
  width: auto;
  max-width: 128px;
}

.image-brand.logo-wordmark img,
.image-brand:not(.logo-full) img {
  width: 210px;
  max-width: 42vw;
}

.nav-links,
.header-actions,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--purple-700);
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--purple-700), var(--green-500));
  box-shadow: 0 16px 35px rgba(98, 49, 166, 0.24);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.primary-button.small {
  min-height: 42px;
  padding-inline: 16px;
}

.secondary-button {
  color: var(--purple-900);
  background: white;
  border-color: var(--line);
  box-shadow: 0 12px 26px rgba(36, 18, 59, 0.08);
}

.secondary-button.muted {
  background: rgba(255,255,255,0.58);
}

.ghost-button {
  min-height: 42px;
  color: var(--purple-900);
  background: rgba(98, 49, 166, 0.08);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 22px;
}

.section.compact {
  padding-top: 50px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 78px);
}

.eyebrow {
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 950;
  margin: 0 0 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  margin-bottom: 28px;
  color: var(--purple-950);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--purple-950);
  margin-bottom: 18px;
}

h3 {
  color: var(--purple-950);
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.hero-lede,
.wide-text,
.section-heading + p,
.pilot-card p,
.portal-callout p,
.feature-card p,
.role-tabs p,
.timeline p,
.microcopy,
.floating-card span,
.plan-description,
.billing-note,
.pricing-footnote,
.scenario-grid p,
.pricing-research-note p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  font-size: 1.18rem;
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.microcopy {
  font-size: 0.98rem;
  max-width: 560px;
}

.hero-panel {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-orbit {
  position: absolute;
  top: 0;
  left: 12%;
  width: 130px;
  height: 130px;
  border-radius: 36px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(36, 18, 59, 0.12);
  display: grid;
  place-items: center;
  transform: rotate(-6deg);
}

.mascot-orbit img {
  width: 96px;
  mix-blend-mode: multiply;
}

.dashboard-card,
.feature-card,
.role-tabs article,
.pilot-card,
.portal-callout,
.timeline li,
.pricing-card,
.scenario-grid article,
.pricing-research-note {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.main-card {
  width: min(100%, 460px);
  padding: 32px;
  border-radius: var(--radius-xl);
}

.card-topline,
.metric-row,
.portal-callout,
.pricing-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-topline {
  color: var(--muted);
  font-weight: 750;
  margin-bottom: 30px;
}

.status-pill {
  color: var(--green-700);
  background: rgba(72, 185, 120, 0.16);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.main-card h2 {
  margin-bottom: 6px;
}

.progress-bar {
  width: 100%;
  height: 13px;
  border-radius: 999px;
  background: rgba(98, 49, 166, 0.11);
  overflow: hidden;
  margin: 28px 0;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-500), var(--green-500));
}

.metric-row div {
  flex: 1;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(248, 244, 255, 0.9);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  font-size: 1.8rem;
  color: var(--purple-900);
}

.metric-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  width: 210px;
  padding: 18px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(36, 18, 59, 0.14);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  margin-bottom: 4px;
  color: var(--purple-950);
}

.card-one {
  top: 88px;
  right: 0;
}

.card-two {
  left: 0;
  bottom: 112px;
}

.card-three {
  right: 24px;
  bottom: 20px;
}

.logo-strip {
  padding-top: 0;
  padding-bottom: 34px;
  text-align: center;
}

.logo-strip img {
  display: block;
  margin: 0 auto;
  height: auto;
  mix-blend-mode: multiply;
}

.logo-strip img.logo-wordmark {
  width: min(720px, 88vw);
}

.logo-strip img.logo-full,
.logo-strip img:not(.logo-wordmark) {
  width: min(530px, 86vw);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.wide-text {
  font-size: 1.18rem;
  max-width: 930px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.icon-dot {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  margin-bottom: 26px;
  background: linear-gradient(135deg, var(--purple-700), var(--green-500));
}

.roles-section {
  padding-top: 54px;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.role-tabs article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.timeline {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.timeline li {
  position: relative;
  padding: 24px 26px 24px 86px;
  border-radius: var(--radius-lg);
  counter-increment: steps;
}

.timeline li::before {
  content: counter(steps);
  position: absolute;
  left: 26px;
  top: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--purple-700);
  font-weight: 900;
}

.timeline span {
  display: block;
  color: var(--purple-950);
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.pilot-section {
  padding-bottom: 46px;
}

.pilot-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 42px;
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 10% 10%, rgba(185, 239, 114, 0.26), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 255, 0.95));
}

.pilot-form {
  display: grid;
  gap: 14px;
}

.pilot-form label {
  display: grid;
  gap: 7px;
  color: var(--purple-950);
  font-weight: 800;
  font-size: 0.92rem;
}

.pilot-form input,
.pilot-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: white;
}

.pilot-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  margin-top: 4px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 900;
  color: var(--purple-700);
}

.hidden {
  display: none;
}

.portal-callout {
  margin-bottom: 72px;
  padding: 32px;
  border-radius: var(--radius-xl);
}

.portal-callout h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

/* Pricing */
.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: center;
  padding-bottom: 46px;
}

.pricing-hero-copy h1 {
  max-width: 900px;
}

.pricing-mascot {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 48px;
  padding: 28px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.pricing-mascot img {
  display: block;
  width: 100%;
  mix-blend-mode: multiply;
}

.pricing-topline {
  align-items: flex-end;
  margin-bottom: 28px;
}

.pricing-topline > div:first-child {
  max-width: 790px;
}

.billing-toggle {
  display: inline-flex;
  padding: 6px;
  background: rgba(36, 18, 59, 0.09);
  border-radius: 999px;
  gap: 4px;
  white-space: nowrap;
}

.billing-toggle button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--purple-900);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  padding: 12px 18px;
}

.billing-toggle button.active {
  background: white;
  box-shadow: 0 8px 24px rgba(36,18,59,0.12);
}

.billing-toggle span {
  margin-left: 6px;
  color: var(--green-700);
  font-size: 0.78rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-xl);
  min-height: 620px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(72, 185, 120, 0.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 239, 114, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(36, 18, 59, 0.17);
}

.pricing-card.featured {
  border-width: 1px;
  border-color: var(--line);
  transform: none;
  background: rgba(255, 255, 255, 0.82);
}

.plan-ribbon {
  display: none;
}

.plan-label {
  color: var(--green-700);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.pricing-card h3 {
  min-height: 58px;
}

.pricing-card .plan-description {
  min-height: 112px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: var(--purple-950);
  margin: 20px 0 4px;
  min-height: 76px;
}

.currency {
  font-size: 1.9rem;
  font-weight: 950;
}

.price {
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.period {
  color: var(--muted);
  font-weight: 850;
}

.price-row-custom {
  align-items: center;
}

.custom-price {
  font-size: clamp(2.45rem, 3.5vw, 3.55rem);
  letter-spacing: -0.065em;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 680;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--green-500);
  font-size: 0.78rem;
  font-weight: 950;
}

.plan-button {
  margin-top: auto;
  width: 100%;
}

.pricing-footnote {
  margin: 24px 0 0;
  font-size: 0.94rem;
}

.scenario-fit {
  padding-top: 50px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.scenario-grid article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.scenario-grid span {
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pricing-research-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: 34px;
  margin-bottom: 72px;
}

.pricing-research-note img {
  width: 100%;
  mix-blend-mode: multiply;
}

.pricing-research-note img.logo-wordmark {
  width: min(360px, 100%);
  justify-self: center;
}

/* Simple pages */
.simple-page {
  max-width: 860px;
}

.simple-card {
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.simple-card p,
.simple-card li {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 22px 46px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--purple-950);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 1150px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero,
  .pilot-card,
  .pricing-hero,
  .pricing-research-note {
    grid-template-columns: 1fr;
  }

  .pricing-mascot {
    width: 240px;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-panel {
    min-height: 520px;
  }

  .feature-grid,
  .role-tabs,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-callout,
  .card-topline,
  .metric-row,
  .pricing-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-row div {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 650px) {
  .site-header {
    margin: 10px;
  }

  .image-brand.logo-full img {
    height: 54px;
    max-width: 102px;
  }

  .image-brand.logo-wordmark img,
  .image-brand:not(.logo-full) img {
    width: 142px;
    max-width: 58vw;
  }

  .ghost-button {
    display: none;
  }

  .section {
    padding: 72px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.4rem);
  }

  .feature-grid,
  .role-tabs,
  .pricing-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: block;
    min-height: auto;
  }

  .mascot-orbit {
    position: static;
    margin-bottom: 14px;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .main-card {
    width: 100%;
  }

  .pilot-card,
  .simple-card,
  .pricing-card,
  .pricing-research-note {
    padding: 24px;
  }

  .timeline li {
    padding-left: 24px;
  }

  .timeline li::before {
    position: static;
    margin-bottom: 12px;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    flex: 1;
    padding-inline: 10px;
  }
}
