/* Service / product pages — aligned with index.html (home) theme */

:root {
  --izeni-blue: #0067f7;
  --izeni-heading: #0f172a;
  --izeni-text: #334155;
  --izeni-body: #334155;
  --izeni-surface: #f3f4f6;
  --izeni-dark: #0f172a;
  --izeni-hero-gradient: linear-gradient(90deg, #edf9ff 0%, #ffffff 100%);
}

/* —— Hero: bundled .hero + home fluid subtitle —— */
.service-page .hero.service-page__hero {
  height: auto !important;
  min-height: 36rem;
  padding: 4rem 0;
  background: var(--izeni-hero-gradient) !important;
  background-image: var(--izeni-hero-gradient) !important;
  background-size: auto !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
}
/* Soft shaded blob centered behind the hero illustration (Figma "Ellipse 1") */
.service-page .hero.service-page__hero::before {
  content: "";
  position: absolute;
  left: 74%;
  top: 50%;
  width: 500px;
  aspect-ratio: 531 / 526;
  transform: translate(-50%, -50%) rotate(-63.54deg);
  background: url(/static/marketing/img/marks/hero-ellipse.svg) no-repeat center / contain;
  z-index: 0;
  pointer-events: none;
}
.service-page .hero.service-page__hero .ss-container {
  position: relative;
  z-index: 1;
}
@media only screen and (max-width: 768px) {
  .service-page .hero.service-page__hero::before {
    display: none;
  }
}
.service-page__supertitle {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
  line-height: 1;
  color: #0d489b;
}
.service-page__hero-subhead {
  margin: 0.25rem 0 1.75rem;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: #334155;
  max-width: 40rem;
  letter-spacing: -0.25px;
}
@media (min-width: 320px) {
  .service-page__hero-subhead {
    font-size: calc(20px + (30 - 20) * ((100vw - 320px) / (1440 - 320)));
  }
}
@media (min-width: 1440px) {
  .service-page__hero-subhead {
    font-size: 30px;
  }
}
/* Hero layout + type — Figma launch frames (2025:412 et al.) */
.service-page .hero__content {
  gap: 80px;
  align-items: center;
}
.service-page .hero__info {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}
.service-page .hero__title {
  font-size: 61.04px;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: -1.2208px;
  color: #1e293b;
  margin: 0 0 16px;
}
.service-page .hero__subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: #334155;
  margin: 0 0 30px;
  max-width: none;
}
.service-page .hero__subtitle:last-of-type {
  margin-bottom: 0;
}
.service-page .home__hero__buttons {
  margin: 24px 0 32px;
}
.service-page__heroVisual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-page__heroIcon {
  font-size: 7rem;
  color: var(--izeni-blue);
  opacity: 0.85;
  font-variation-settings: "wght" 300;
}
.service-page__heroImage {
  display: block;
  width: 520px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Service-page buttons — #0852c5 pill, matches homepage + Figma */
.service-page .ss-button.primary {
  background-color: #0852c5;
  border: none;
  color: #edf9ff;
  box-shadow: 0 1px 2px 0 rgba(105, 81, 255, 0.05);
}
.service-page .ss-button.primary.xl {
  font-size: 20px;
  font-weight: 600;
  padding: 16px 48px;
  border-radius: 56px;
}
.service-page .ss-button.primary:not(:disabled):hover {
  background-color: #0743a3;
  color: #edf9ff;
}
.service-page .ss-button.rounded {
  border-radius: 56px;
}
.service-page .ss-button.outlined {
  border: 1px solid #0852c5;
  color: #0852c5;
  background: transparent;
}
.service-page .ss-button.outlined.xl {
  font-size: 20px;
  font-weight: 600;
  padding: 16px 48px;
  border-radius: 56px;
}
.service-page .ss-button.outlined:not(:disabled):hover {
  background: rgba(8, 82, 197, 0.08);
}

/* —— At a glance: reuses .home__points from bundled CSS —— */
.service-page__glance.home__points .service-page__glanceIcon {
  font-size: 3rem;
  color: var(--izeni-blue);
  margin-bottom: 0.75rem;
  font-variation-settings: "wght" 400;
}
.service-page__glance.home__points .home__points__point__description {
  font-weight: 400;
}
/* Wider gap between the Best for / Timeline / Investment columns; tighter band */
.service-page__glance .home__points__content {
  gap: 6rem;
  padding-top: 56px;
  padding-bottom: 88px;
}
/* Glance band's lower wave spills into the white section below it */
.service-page__glance.home__points .ss-wave-svg:last-child .ss-wave-svg__path {
  fill: #ffffff;
}
/* Upper wave is filled with the SAME left-to-right gradient as the hero
   (#edf9ff -> #fff) so it blends seamlessly across the full width. */
.service-page__glance.home__points .ss-wave-svg:first-child .ss-wave-svg__path {
  fill: url(#heroWaveGrad);
}

/* —— Wave dividers between body sections —— */
.service-page__wave {
  display: block;
  line-height: 0;
  margin-bottom: -1px;
}
.service-page__wave .ss-wave-svg {
  display: block;
}
.service-page__wave--to-white .ss-wave-svg__path {
  fill: #ffffff;
}
.service-page__wave--to-muted .ss-wave-svg__path {
  fill: var(--izeni-surface);
}

/* —— Sections —— */
.service-page__section {
  padding: 4rem 0;
}
.service-page__section--muted {
  background-color: var(--izeni-surface);
}
.service-page__section h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--izeni-text);
  margin: 0 0 1rem;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
@media (min-width: 320px) {
  .service-page__section h2 {
    font-size: calc(30px + (39 - 30) * ((100vw - 320px) / (1440 - 320)));
    line-height: 1.4;
    letter-spacing: -0.782px;
  }
}
@media (min-width: 1440px) {
  .service-page__section h2 {
    font-size: 39px;
  }
}
.service-page__section p {
  font-size: 18px;
  color: var(--izeni-body);
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: 52rem;
}

.service-page__list {
  list-style: disc;
  padding: 0 0 0 1.875rem;
  margin: 0;
  max-width: 768px;
}
.service-page__list li {
  position: static;
  padding-left: 0;
  margin-bottom: 14px;
  font-size: 20px;
  color: var(--izeni-heading);
  line-height: 1.4;
}
.service-page__list li::before {
  content: none;
}

/* "What you get" — tighter top (it sits just below the dark-band wave) */
.service-page__section:has(.service-page__outcomes-grid) {
  padding-top: 0.5rem;
}
/* "What you get" — text column + supporting image (Figma launch frames) */
.service-page__outcomes-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.service-page__outcomes-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 716px;
}
.service-page__outcomes-media {
  flex: 0 0 clamp(340px, 45%, 550px);
  margin: 0;
}
.service-page__outcomes-media img {
  display: block;
  width: 100%;
  aspect-ratio: 550 / 576;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .service-page__outcomes-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }
  .service-page__outcomes-media {
    flex-basis: auto;
    max-width: 100%;
  }
}

/* "What you get" — plain bulleted list (Figma: white section, 20px disc) */
.service-page__outcomes {
  list-style: disc;
  padding: 0 0 0 1.875rem;
  margin: 0;
  max-width: none;
}
.service-page__outcomes li {
  display: list-item;
  font-size: 20px;
  font-weight: 400;
  color: var(--izeni-heading);
  line-height: 1.4;
  margin-bottom: 16px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.service-page__outcomes li:last-child {
  margin-bottom: 0;
}
.service-page__outcomes .material-symbols-outlined {
  display: none;
}

/* ===================================================================
   Figma launch-frame sections (cards, dark bands, two-column)
   =================================================================== */

/* —— Centered card-grid sections (lose hours / what we can build) —— */
.service-page__section--cards .ss-container {
  max-width: 1180px;
  text-align: center;
}
.service-page__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  margin: 0 0 16px;
  border-radius: 36px;
  background: #ffe5e1;
  color: #e3391f;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
.service-page__section--cards h2 {
  text-align: center;
  color: #111827;
  font-size: 39px;
  line-height: 1.4;
  letter-spacing: -0.782px;
  margin: 0 auto 16px;
  max-width: 60rem;
}
.service-page__section--cards .service-page__cards-lead {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #374151;
  line-height: 1.4;
  margin: 0 auto 48px;
  max-width: 58rem;
}
.service-page__cards {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1077px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
}
.service-page__cards.is-2col {
  grid-template-columns: repeat(2, minmax(0, 359px));
  justify-content: center;
}
.service-page__cards li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px;
  max-width: 359px;
  background: none;
  border: none;
  box-shadow: none;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  line-height: 1.4;
}
.service-page__cards li .material-symbols-outlined {
  background: #0067f6;
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0;
}
.service-page__cards li strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.4;
}
/* Who-this-is-for: plain blue icon (no square), single line of copy */
.service-page__cards--plain li {
  gap: 12px;
}
.service-page__cards--plain li .material-symbols-outlined {
  background: none;
  color: #0067f6;
  width: auto;
  height: auto;
  font-size: 64px;
}

/* —— Dark bands (how it works / common questions) —— */
.service-page__section--dark {
  background: var(--izeni-dark);
}
.service-page__section--dark .ss-container {
  text-align: center;
}
.service-page__section--dark h2 {
  color: #ffffff;
  text-align: center;
  font-size: 39px;
  line-height: 1.4;
  letter-spacing: -0.782px;
}
.service-page__wave--to-dark .ss-wave-svg__path {
  fill: var(--izeni-dark);
}
/* A wave leaving a dark band: back it with dark so its transparent
   upper area reads as the dark section above it. */
.service-page__wave--from-dark {
  background: var(--izeni-dark);
}
/* A wave entering a dark band from a muted section: back it with the muted
   colour so its transparent upper area matches the section above (no sliver). */
.service-page__wave--from-muted {
  background: var(--izeni-surface);
}

/* How-it-works horizontal numbered step cards */
.service-page__steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1077px;
  display: flex;
  align-items: stretch;
  counter-reset: step;
}
.service-page__steps li {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  padding: 32px;
  margin: 0;
  border: none;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}
.service-page__steps li::before {
  counter-increment: step;
  content: counter(step);
  position: static;
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: #0067f6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
  margin: 0;
}
.service-page__steps strong {
  display: block;
  color: #ffffff;
  font-weight: 500;
  font-size: 18px;
  margin: 0;
}
.service-page__steps .service-page__timeline-note {
  color: #d1d5db;
  font-style: italic;
  font-size: 14px;
  margin: 0;
}
.service-page__steps .service-page__timeline-note a {
  color: #b5e6ff;
}
/* Price strip inside the dark how-it-works band */
.service-page__section--dark .service-page__price-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 16px auto 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.service-page__section--dark .service-page__price {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.service-page__section--dark .service-page__price-note {
  color: #ffffff;
  font-size: 16px;
  margin: 0;
}

/* Common questions accordion on the dark band */
.service-page__faq {
  max-width: 768px;
  margin: 2rem auto 0;
  text-align: left;
}
.service-page__section--dark details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  max-width: none;
  padding: 0.75rem 0;
}
.service-page__section--dark details summary {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.service-page__section--dark details summary::-webkit-details-marker {
  display: none;
}
.service-page__section--dark details summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: -4px;
}
.service-page__section--dark details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.service-page__section--dark details p {
  color: #f3f4f6;
  font-size: 16px;
  margin: 0.5rem 0 0;
}
/* Links in the dark FAQ band: bold white (blue/purple defaults don't read) */
.service-page__section--dark details a,
.service-page__section--dark details a:visited,
.service-page__section--dark details a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* —— "What's included" two-column (heading + accent left, list right) —— */
.service-page__section:has(.service-page__included-grid) {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.service-page__included-grid {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.service-page__included-head {
  flex: 0 0 auto;
  max-width: 310px;
}
.service-page__included-head h2 {
  margin: 0;
}
/* Curved arrow pointing from the heading to the list (Figma) */
.service-page__included-arrow {
  flex: 0 0 72px;
  width: 72px;
  height: auto;
  align-self: center;
}
.service-page__included-grid .service-page__list {
  flex: 0 1 auto;
  margin: 0;
}
@media (max-width: 900px) {
  .service-page__included-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .service-page__steps {
    flex-direction: column;
    max-width: 32rem;
  }
  .service-page__cards {
    grid-template-columns: 1fr;
  }
  .service-page__cards.is-2col {
    grid-template-columns: 1fr;
  }
}

/* —— Timeline —— */
.service-page__timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  max-width: 40rem;
  counter-reset: step;
}
.service-page__timeline li {
  position: relative;
  padding: 0 0 1.75rem 3.25rem;
  margin: 0;
  font-size: 18px;
  color: var(--izeni-body);
  line-height: 1.5;
  border-left: 2px solid #e2e8f0;
  margin-left: 1.1rem;
}
.service-page__timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.service-page__timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.35rem;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--izeni-blue);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #ffffff;
}
.service-page__section--muted .service-page__timeline li::before {
  box-shadow: 0 0 0 4px var(--izeni-surface);
}
.service-page__timeline strong {
  display: block;
  color: var(--izeni-text);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.service-page__timeline-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: #64748b;
  font-weight: 400;
}

/* —— AI Fit Finder band (ai-workflow-audit funnel) —— */
.service-page__prep {
  padding: 4rem 0;
  background-color: var(--izeni-surface);
}
.service-page__prep .ss-container {
  max-width: 52rem;
}
.service-page__prep h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--izeni-text);
  margin: 0 0 0.75rem;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.service-page__prep-lead {
  font-size: 1.125rem;
  color: var(--izeni-body);
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: 42rem;
}
.service-page__prep-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  max-width: 40rem;
}
.service-page__prep-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--izeni-body);
  line-height: 1.5;
}
.service-page__prep-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--izeni-blue);
  font-weight: 700;
}
.service-page__prep-disclaimer {
  font-size: 0.875rem;
  color: #64748b;
  margin: 1rem 0 0;
  max-width: 40rem;
  line-height: 1.5;
}
.service-page__hero-ctaHint {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  max-width: 32rem;
}
.service-page__hero-funnelNote {
  font-weight: 500;
  color: var(--izeni-text);
}
.service-page__section-lead {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--izeni-text);
  margin: 0 0 0.5rem;
  max-width: 52rem;
}
.service-page__funnel {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 40rem;
}
.service-page__funnel-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--izeni-body);
}
.service-page__funnel-step.is-active {
  border-color: var(--izeni-blue);
  background: #f0f7ff;
}
.service-page__funnel-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--izeni-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.service-page__section--muted details {
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 0;
  max-width: 52rem;
}
.service-page__section--muted details summary {
  font-weight: 600;
  color: var(--izeni-text);
  cursor: pointer;
  list-style: none;
}
.service-page__section--muted details summary::-webkit-details-marker {
  display: none;
}
.service-page__section--muted details p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}
.service-page__sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  border-radius: 0;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.15);
}
@media only screen and (max-width: 768px) {
  .service-page__sticky-cta {
    display: block;
  }
  .service-page__funnel {
    flex-direction: column;
    align-items: stretch;
  }
}
.service-page__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.service-page__price-block {
  background-color: #ffffff;
  padding: 2rem 2.25rem;
  border-radius: 12px;
  max-width: 36rem;
  margin: 0.5rem 0 0;
  border-left: 4px solid var(--izeni-blue);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.service-page__section--muted .service-page__price-block {
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--izeni-blue);
}
.service-page__price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--izeni-text);
  margin: 0 0 0.25rem;
}
.service-page__price-note {
  font-size: 1rem;
  color: var(--izeni-body);
  margin: 0;
  line-height: 1.5;
}

/* —— Closing CTA band (white background, lives in the related slot) —— */
.service-page__related {
  padding: 6rem 0;
  background: #ffffff;
  text-align: center;
}
.service-page__related .ss-container {
  max-width: 64rem;
}
.service-page__related h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--izeni-text);
  margin: 0 0 1.25rem;
  letter-spacing: -0.25px;
  line-height: 1.2;
}
@media (min-width: 320px) {
  .service-page__related h2 {
    font-size: calc(24px + (40 - 24) * ((100vw - 320px) / (1440 - 320)));
  }
}
@media (min-width: 1440px) {
  .service-page__related h2 {
    font-size: 40px;
  }
}
.service-page__related p {
  margin: 0 auto 2.5rem;
  font-size: 18px;
  max-width: 48rem;
  line-height: 1.5;
}
@media (min-width: 320px) {
  .service-page__related p {
    font-size: calc(18px + (24 - 18) * ((100vw - 320px) / (1440 - 320)));
  }
}
@media (min-width: 1440px) {
  .service-page__related p {
    font-size: 24px;
  }
}
.service-page__related .ss-button.outlined {
  border-color: var(--izeni-blue);
  color: var(--izeni-blue);
}
.service-page__related .ss-button.outlined:hover {
  background: rgba(59, 130, 246, 0.08);
}

@media only screen and (max-width: 1024px) {
  .service-page .hero.service-page__hero {
    min-height: 32rem;
  }
}

@media only screen and (max-width: 900px) {
  .service-page__heroVisual {
    min-height: 120px;
  }
  .service-page__heroIcon {
    font-size: 4.5rem;
  }
  .service-page .hero__heroImage {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 768px) {
  .service-page .hero.service-page__hero {
    min-height: 0;
    padding: 2rem 0;
  }
  .service-page .hero__heroImage {
    display: none;
  }
  .service-page__section {
    padding: 2.5rem 0;
  }
  .service-page__related {
    padding: 3rem 1rem;
  }
}
