/* =========================================================
   The Readiness Forum — Solution Partners landing page
   Builds on css/style.css (tokens, nav, .btn, chips, closing,
   FAQ, footer, reveal animations).
   ========================================================= */

.sp-page { background: var(--white); }

/* ---------- Nav: single CTA ---------- */
.sp-navcta {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1.2rem;
  border: 1.5px solid currentColor;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-ui);
  line-height: 1;
  transition: background-color .3s var(--ease-hover), color .3s var(--ease-hover), border-color .3s var(--ease-hover);
}
.sp-navcta:hover { background: var(--white); color: var(--ink-900); border-color: var(--white); }
.nav.is-scrolled .sp-navcta { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav.is-scrolled .sp-navcta:hover { background: #000; }

/* =========================================================
   HERO + FORM
   ========================================================= */
.sp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(120% 90% at 85% 100%, rgba(174, 217, 191, .95) 0%, rgba(174, 217, 191, 0) 55%),
    linear-gradient(115deg, var(--blue-deep) 0%, #4d70c8 45%, #7fae9f 78%, #a9d6c0 100%);
}

.sp-hero__inner {
  position: relative;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3rem)) var(--gutter) clamp(2.5rem, 6vh, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: min(100svh, 56rem);
}

.sp-pill {
  display: inline-block;
  margin: 0 0 clamp(1rem, 2.2vh, 1.4rem);
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--mark-blue);
  font-family: "K2D", var(--font-ui);
  font-weight: 700;
  font-size: clamp(.82rem, 1.05vw, .95rem);
  letter-spacing: .01em;
  line-height: 1;
}

.sp-hero__title {
  margin: 0;
  max-width: 14ch;
  font-family: "K2D", var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.sp-hero__sub {
  margin: clamp(1rem, 2vh, 1.4rem) 0 0;
  max-width: 34ch;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
}

.sp-ticks {
  display: grid;
  gap: .7rem;
  margin: clamp(1.5rem, 3.5vh, 2.2rem) 0 0;
  padding: 0;
  list-style: none;
}
.sp-ticks li {
  position: relative;
  padding-left: 2rem;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.sp-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .05em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.8 11 12 5.4' fill='none' stroke='%233a5ae8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}

.sp-hero__credits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 3rem;
  margin-top: clamp(2rem, 5vh, 3.25rem);
}
.sp-hero__credits .hosted__label { font-size: clamp(.82rem, 1vw, .95rem); opacity: .9; }
.sp-hero__credits .hosted__logo  { font-size: clamp(1.15rem, 1.7vw, 1.5rem); }

.sp-powered {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  letter-spacing: .02em;
  line-height: 1;
}

/* ---------- Form card ---------- */
.sp-formcard {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink-900);
  box-shadow: 0 40px 80px -40px rgba(10, 20, 50, .55);
}

.sp-formcard__title {
  margin: 0;
  font-family: "K2D", var(--font-ui);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.2;
}
.sp-formcard__sub {
  margin: .45rem 0 1.25rem;
  color: var(--ink-600);
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  line-height: 1.5;
}

.sp-form { display: flex; flex-direction: column; gap: .85rem; }

.sp-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .85rem;
}

.sp-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-label);
  color: var(--ink-700);
}
.sp-field__label em { font-style: normal; font-weight: 400; color: #8a909b; }

.sp-field input,
.sp-field select,
.sp-field textarea {
  width: 100%;
  min-width: 0;
  padding: .62rem .75rem;
  border: 1px solid rgba(20, 30, 45, .16);
  border-radius: 9px;
  background: var(--white);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--fs-input);               /* stops iOS zooming into the field */
  color: var(--ink-900);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.sp-field textarea { resize: vertical; min-height: 4.5rem; }

.sp-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.2rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' fill='none' stroke='%23414857' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .85rem center / 12px no-repeat;
}
.sp-field select:invalid { color: #8a909b; }
.sp-field select option { color: var(--ink-900); }

.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  outline: none;
  border-color: var(--mark-blue);
  box-shadow: 0 0 0 3px rgba(58, 90, 232, .15);
}

.sp-form__submit {
  justify-content: center;
  width: 100%;
  margin-top: .3rem;
  padding: .95rem 1.4rem;
}
.sp-form__submit:disabled { opacity: .7; cursor: progress; transform: none; }

.sp-form__note {
  margin: 0;
  color: #7a808b;
  font-family: var(--font-ui);
  font-size: var(--fs-caption);
  line-height: 1.45;
  text-align: center;
}

/* =========================================================
   SECTION SHELL
   ========================================================= */
.sp-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
  color: var(--ink-900);
  padding: clamp(3.5rem, 9vh, 5.5rem) 0;
}

.sp-inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sp-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../assest/images/readiness-bg-dot.webp") right top / cover no-repeat;
  opacity: .8;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 40%, #000 90%);
          mask-image: linear-gradient(to right, transparent 40%, #000 90%);
}

.sp-glow {
  position: absolute;
  z-index: 0;
  right: -12rem;
  top: -8rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 201, 162, .3) 0%, rgba(127, 179, 184, .12) 45%, transparent 70%);
  pointer-events: none;
}

.sp-title {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 0;
  font-family: "K2D", var(--font-ui);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: .002em;
  text-transform: uppercase;
}
.sp-title .ttl { min-width: 0; }
.sp-title__arrow { flex: none; object-fit: contain; margin-top: .12em; }

.sp-copy {
  margin: clamp(1rem, 2.4vh, 1.4rem) 0 0;
  max-width: 60ch;
  color: var(--ink-600);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* =========================================================
   ABOUT
   ========================================================= */
.sp-lede {
  margin: clamp(1.4rem, 3.4vh, 2.2rem) 0 0;
  max-width: 30ch;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--fs-lede);
  line-height: 1.32;
  letter-spacing: -0.011em;
}
.sp-accent { font-family: "K2D", var(--font-ui); color: #2C5BFD; }

.sp-chips { margin-top: clamp(1.75rem, 4vh, 2.5rem); }

/* =========================================================
   WHY — three reasons
   ========================================================= */
.sp-why { padding-top: 0; }

.sp-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1vw, .875rem);
  margin: clamp(1.75rem, 4vh, 2.4rem) 0 0;
  padding: 0;
  list-style: none;
}

.sp-reason {
  --r: 14px;
  padding: clamp(1.25rem, 2.2vw, 1.85rem);
  border: 1px solid rgba(20, 30, 45, .06);
  border-radius: 14px;
  transition: transform .4s var(--ease-hover), box-shadow .4s var(--ease-hover);
}
.sp-reason--ice   { background: linear-gradient(170deg, #f1fcfe 0%, #edf4fc 100%); }
.sp-reason--sage  { background: linear-gradient(170deg, #f8faf1 0%, #f4faf4 100%); }
.sp-reason--cream { background: linear-gradient(170deg, #fbf6ef 0%, #f9f9f2 100%); }

@media (hover: hover) {
  .sp-reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px -26px rgba(20, 35, 60, .35);
  }
}

.sp-reason__num {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--fs-caption);
  letter-spacing: .12em;
  color: var(--mark-blue);
}
.sp-reason__title {
  margin: clamp(1.5rem, 3vw, 2.4rem) 0 0;
  font-family: "K2D", var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: 1.22;
}
.sp-reason__text {
  margin: .6rem 0 0;
  color: var(--ink-600);
  font-family: var(--font-ui);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}

/* =========================================================
   FIT + BRIEF TEASER
   ========================================================= */
.sp-fit { padding-top: 0; }

.sp-fit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.sp-areas {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: clamp(1.25rem, 3vh, 1.75rem) 0 0;
  padding: 0;
  list-style: none;
}
.sp-areas li {
  padding: .6rem 1.1rem;
  border-radius: 1.4rem;  /* stays pill-shaped on one line, soft card when a long tag wraps on phones */
  background: linear-gradient(90deg, #e3f3e6 0%, #d6f3f1 100%);
  color: var(--ink-700);
  font-family: var(--font-ui);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}

.sp-brief {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(120deg, #3f66f0 0%, #5f8fd6 55%, #7fc0b0 100%);
}
.sp-brief::before {
  content: "";
  position: absolute;
  right: -7rem;
  top: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  pointer-events: none;
}

.sp-brief__kicker {
  position: relative;
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--fs-caption);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .9;
}
.sp-brief__title {
  position: relative;
  margin: .6rem 0 0;
  max-width: 20ch;
  font-family: "K2D", var(--font-ui);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.22;
}

.sp-brief__list {
  position: relative;
  display: grid;
  gap: .55rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.sp-brief__list li {
  position: relative;
  padding-left: 1.4rem;
  font-family: var(--font-ui);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
}
.sp-brief__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .55rem;
  height: .55rem;
  border-radius: 1.5px;
  background: var(--white);
}

.sp-brief .btn { position: relative; }

/* =========================================================
   FAQ / CLOSING tweaks
   ========================================================= */
.sp-faq { padding-top: clamp(3rem, 8vh, 5rem); padding-bottom: clamp(3.5rem, 9vh, 5.5rem); }

.sp-closing__sub { max-width: 34ch; font-size: var(--fs-lede); }

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.sp-sticky { display: none; }

@media (max-width: 860px) {
  .sp-sticky {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: var(--fs-ui);
    box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .55);
    opacity: 0;
    transform: translateY(140%);
    pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .sp-sticky.is-shown { opacity: 1; transform: none; pointer-events: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .sp-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 2rem;
  }
  .sp-hero__title { max-width: 16ch; }
  .sp-formcard { max-width: 34rem; }

  .sp-fit__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .sp-reasons { grid-template-columns: minmax(0, 1fr); }
  .sp-reason__title { margin-top: 1rem; }
}

@media (max-width: 620px) {
  .sp-hero__title { font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .sp-hero__credits { display: none; }   /* shown in the footer; keeps the form closer to the top */
  .sp-form__row { grid-template-columns: minmax(0, 1fr); }
  .sp-navcta { padding: .55rem 1rem; }
}
