@import url("../step-work/site/styles.css?v=stepsim-public-20260814i");

/*
 * StepSim public product system
 * Canonical visual reference: the shared HarbourLife tokens and the existing
 * StepSim workplace pages. The system stays deliberately light: lavender
 * canvas, warm ivory sections, white work surfaces, near-black ink and violet
 * actions. Product evidence, not decoration, is the visual anchor.
 */

html,
.product-site {
  overflow-x: hidden;
}

.product-site {
  background: #fff;
}

.product-site .shell {
  max-width: 1240px;
}

.product-site .nav {
  background: rgba(255, 255, 255, 0.93);
  border-color: var(--card-line-soft);
  box-shadow: 0 1px 0 rgba(42, 33, 70, 0.04);
}

.product-site .nav-inner {
  height: 76px;
}

.product-site .brand-logo {
  width: 132px;
  height: 38px;
}

.product-site .nav-links a {
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 550;
}

.product-site .nav-links a.is-active {
  color: var(--brand-press);
  background: var(--brand-soft);
}

.product-site .nav-links small {
  margin-left: 4px;
  color: var(--muted-2);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-site .btn {
  font-weight: 600;
}

.product-site .btn-primary {
  box-shadow: 0 10px 28px rgba(109, 40, 217, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.product-site .hero {
  isolation: isolate;
  padding: clamp(72px, 8vw, 108px) 0 clamp(76px, 8vw, 112px);
  background: linear-gradient(135deg, #fff 0%, var(--bg-page-soft) 48%, var(--pastel-mist) 100%);
}

.product-site .hero::before,
.product-site .hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(1px);
  content: "";
  pointer-events: none;
}

.product-site .hero::before {
  width: 520px;
  height: 520px;
  top: -260px;
  right: 4%;
  background: radial-gradient(circle, rgba(245, 210, 142, 0.42) 0%, transparent 67%);
}

.product-site .hero::after {
  width: 560px;
  height: 560px;
  right: -180px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 68%);
}

.product-site .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
}

.product-site .hero-eyebrow {
  padding: 6px 12px;
  color: var(--brand-press);
  background: var(--brand-soft);
  border-color: transparent;
  box-shadow: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-site .hero-title {
  max-width: 10.6em;
  margin-bottom: var(--s-6);
  font-size: clamp(3.15rem, 5vw, 4.7rem);
  font-weight: 650;
  letter-spacing: -0.048em;
  line-height: 0.99;
}

.product-site .hero-lead {
  max-width: 39em;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.62;
}

.product-site .hero-ctas {
  margin-bottom: var(--s-6);
}

.product-site .hero-note {
  max-width: 42em;
  margin-top: 0;
  padding-left: var(--s-4);
  color: var(--muted);
  border-left: 2px solid var(--brand-line);
  font-size: 0.86rem;
  line-height: 1.58;
}

.category-grid,
.scenario-grid,
.proof-grid,
.audience-grid,
.boundary-grid,
.method-grid {
  display: grid;
  gap: var(--s-6);
}

.product-site .section {
  position: relative;
  padding: clamp(72px, 8vw, 104px) 0;
}

.product-site .bg-page,
.product-site .bg-page-soft {
  background: var(--bg-page);
}

.product-site .section-head {
  max-width: 790px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.product-site .section-head--left {
  max-width: 780px;
}

.product-site .section-title {
  max-width: 19em;
  font-size: clamp(2.15rem, 3.55vw, 3.1rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.07;
}

.product-site .section-lead {
  max-width: 42em;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.64;
}

.product-site .section-eyebrow,
.product-site .card-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  padding: 5px 11px;
  color: var(--brand-press);
  background: var(--brand-soft);
  border: 0;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-transform: uppercase;
}

.category-card,
.scenario-card,
.proof-card,
.boundary-card,
.method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

.category-card,
.scenario-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover,
.scenario-card:hover {
  color: var(--ink);
  border-color: var(--brand-line);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.category-card h3,
.scenario-card h3,
.proof-card h3,
.boundary-card h3,
.method-card h3 {
  margin: var(--s-4) 0 var(--s-3);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.category-card p,
.scenario-card p,
.proof-card p,
.boundary-card p,
.method-card p {
  color: var(--ink-2);
  line-height: 1.63;
}

.category-card .text-link,
.scenario-card .text-link,
.proof-card .text-link {
  margin-top: auto;
  padding-top: var(--s-5);
  color: var(--brand-press);
  font-weight: 650;
}

.category-grid {
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
}

.category-card {
  min-height: 300px;
  justify-content: flex-start;
}

.category-card::after {
  position: absolute;
  right: 20px;
  bottom: 4px;
  color: rgba(139, 92, 246, 0.07);
  font-family: var(--mono);
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  content: "03";
  pointer-events: none;
}

.category-card:nth-child(1)::after { content: "01"; }
.category-card:nth-child(2)::after { content: "02"; }

.category-card--primary {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(139, 92, 246, 0.42), transparent 34%),
    linear-gradient(145deg, var(--ink) 0%, var(--bg-dark-2) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-card-lg);
}

.category-card--primary:hover,
.category-card--primary h3,
.category-card--primary .text-link {
  color: #fff;
}

.category-card--primary p {
  max-width: 42em;
  color: var(--on-dark-muted);
}

.category-card--primary::after {
  color: rgba(255, 255, 255, 0.08);
}

.category-card--secondary {
  background: var(--bg-page-soft);
}

.status-label {
  align-self: flex-start;
  padding: 5px 10px;
  color: var(--brand-press);
  background: var(--brand-soft);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.status-label--muted {
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--card-line);
}

.thesis-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 104px) 0;
  color: #fff;
  background: linear-gradient(135deg, var(--ink) 0%, var(--bg-dark-2) 100%);
}

.thesis-band::after {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  top: -280px;
  right: -120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34) 0%, transparent 68%);
  border-radius: 999px;
  content: "";
}

.thesis-band .section-eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
}

.thesis-band h2 {
  max-width: 15em;
  margin: var(--s-4) 0 var(--s-5);
  color: #fff;
  font-size: clamp(2.5rem, 4.6vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.thesis-band .section-lead {
  max-width: 46em;
  margin: 0;
  color: var(--on-dark-muted);
}

/* Product evidence frame */
.proof-console {
  position: relative;
  overflow: visible;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-window);
}

.proof-console::before {
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 24px;
  background: linear-gradient(145deg, var(--brand-soft), rgba(245, 210, 142, 0.42));
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: var(--r-xl);
  content: "";
  transform: rotate(1.4deg);
}

.proof-console__bar {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  border-radius: calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px) 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.proof-console__bar span:first-child::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--brand);
  border-radius: 999px;
  content: "";
}

.proof-console__body {
  padding: clamp(24px, 3vw, 34px);
}

.proof-console__body h3 {
  max-width: 15em;
  margin: 0 0 var(--s-6);
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.trace-row {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: var(--s-3);
  align-items: center;
  margin-top: var(--s-2);
  padding: 12px 14px;
  background: var(--bg-page-soft);
  border: 1px solid var(--card-line-soft);
  border-radius: var(--r-md);
  font-size: 0.84rem;
}

.trace-row span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trace-row strong {
  color: var(--ink);
  font-weight: 650;
}

.trace-row em {
  padding: 3px 7px;
  color: var(--brand-press);
  background: var(--brand-soft);
  border-radius: var(--r-pill);
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Consequential practice rail */
.method-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-3);
  margin: var(--s-10) 0 0;
  padding: 0;
  list-style: none;
}

.method-flow::before {
  position: absolute;
  z-index: 0;
  top: 24px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--brand-line);
  content: "";
}

.method-flow li {
  position: relative;
  z-index: 1;
  min-height: 136px;
  padding: var(--s-5) var(--s-4);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.method-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--s-5);
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 0 0 6px var(--brand-soft);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 700;
}

.method-flow strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.claims-note {
  position: relative;
  max-width: 980px;
  margin: var(--s-8) 0 0;
  padding: var(--s-5) var(--s-6) var(--s-5) var(--s-8);
  overflow: hidden;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  line-height: 1.62;
}

.claims-note::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
  content: "";
}

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

.scenario-card {
  min-height: 270px;
  padding-top: 36px;
}

.scenario-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-line) 50%, var(--mesh-warm-1) 100%);
  content: "";
}

.scenario-card:first-child {
  background: linear-gradient(145deg, #fff 0%, var(--pastel-mist) 100%);
  border-color: var(--brand-line);
}

.scenario-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-5);
}

.scenario-card__meta span {
  padding: 5px 9px;
  color: var(--muted);
  background: var(--bg-page-soft);
  border: 1px solid var(--card-line-soft);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 600;
}

.audience-grid,
.boundary-grid,
.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.method-card,
.boundary-card {
  min-height: 260px;
}

.method-card::after,
.boundary-card::after {
  position: absolute;
  width: 96px;
  height: 96px;
  right: -42px;
  bottom: -50px;
  background: var(--brand-soft);
  border-radius: 999px;
  content: "";
  opacity: 0.72;
}

.proof-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(40px, 7vw, 84px);
  align-items: center;
}

.proof-card {
  min-height: 330px;
  justify-content: center;
  padding: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.12), transparent 32%),
    #fff;
  box-shadow: var(--shadow-card-lg);
}

.proof-list,
.plain-list {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li,
.plain-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  line-height: 1.57;
}

.proof-list li::before,
.plain-list li::before {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  left: 0;
  top: 0.3em;
  color: var(--brand-press);
  background: var(--brand-soft);
  border-radius: 999px;
  content: "✓";
  font-size: 0.65rem;
  font-weight: 850;
}

.product-site .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-8);
}

.route-note {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.route-note .hero-title {
  max-width: none;
}

/* Page-specific composition */
.product-site--home #simulations,
.product-site--workplace #simulations,
.product-site--campus #pathway {
  background: var(--pastel-ivory);
}

.product-site--home #simulations .section-head,
.product-site--workplace #simulations .section-head,
.product-site--campus #pathway .section-head {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.product-site--home #simulations .section-lead,
.product-site--workplace #simulations .section-lead,
.product-site--campus #pathway .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.product-site--campus #pathway .scenario-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-site--campus #pathway .scenario-card {
  min-height: 245px;
}

.product-site--method .hero .shell {
  max-width: 980px;
  text-align: center;
}

.product-site--method .hero-title,
.product-site--method .hero-lead {
  margin-right: auto;
  margin-left: auto;
}

.product-site--method .hero-ctas {
  justify-content: center;
}

.product-site--method .thesis-band .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: end;
}

.product-site--method .thesis-band .section-eyebrow {
  grid-column: 1 / -1;
  justify-self: start;
  margin-bottom: calc(var(--s-4) * -1);
}

.product-site--method .thesis-band h2,
.product-site--method .thesis-band .section-lead {
  margin: 0;
}

.product-site--hire .hero::after {
  background: radial-gradient(circle, rgba(245, 168, 154, 0.22) 0%, transparent 68%);
}

.product-site .cta-section {
  isolation: isolate;
  padding: clamp(76px, 9vw, 116px) 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--bg-dark-2) 100%);
}

.product-site .cta-section::before {
  position: absolute;
  z-index: -1;
  width: 680px;
  height: 680px;
  left: 50%;
  bottom: -510px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.55) 0%, transparent 68%);
  border-radius: 999px;
  content: "";
  transform: translateX(-50%);
}

.product-site .cta-section h2 {
  max-width: 16em;
  margin-right: auto;
  margin-left: auto;
  font-weight: 650;
}

.product-site .footer {
  padding-top: var(--s-16);
}

@media (max-width: 1080px) {
  .product-site .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: var(--s-10);
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card--primary {
    grid-column: 1 / -1;
  }

  .method-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-flow::before {
    display: none;
  }
}

@media (max-width: 880px) {
  .product-site .nav-inner {
    height: auto;
    min-height: 104px;
    flex-wrap: wrap;
    align-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .product-site .nav-inner > nav {
    order: 2;
    flex-basis: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .product-site .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .product-site .nav-links::-webkit-scrollbar {
    display: none;
  }

  .product-site .hero-grid,
  .proof-grid,
  .product-site--method .thesis-band .shell {
    grid-template-columns: 1fr;
  }

  .product-site .hero-title {
    max-width: 12em;
  }

  .proof-console {
    max-width: 680px;
  }

  .product-site--method .thesis-band .section-eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .product-site--campus #pathway .scenario-grid,
  .audience-grid,
  .boundary-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .product-site .nav-inner {
    min-height: 104px;
  }

  .product-site .nav-links small {
    display: none;
  }

  .product-site .hero {
    padding: var(--s-12) 0 var(--s-16);
  }

  .product-site .hero-title {
    font-size: clamp(2.65rem, 12.5vw, 3.55rem);
    line-height: 1.01;
  }

  .product-site .hero-lead {
    font-size: 1rem;
  }

  .product-site .section {
    padding: var(--s-16) 0;
  }

  .category-grid,
  .scenario-grid,
  .product-site--campus #pathway .scenario-grid,
  .audience-grid,
  .boundary-grid,
  .method-grid,
  .method-flow {
    grid-template-columns: 1fr;
  }

  .category-card--primary {
    grid-column: auto;
  }

  .category-card,
  .scenario-card,
  .method-card,
  .boundary-card {
    min-height: 0;
  }

  .proof-console::before {
    inset: 12px -8px -12px 12px;
  }

  .trace-row {
    grid-template-columns: 70px 1fr;
  }

  .trace-row em {
    grid-column: 2;
    justify-self: start;
  }

  .method-flow li {
    min-height: 0;
  }

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

@media (max-width: 430px) {
  .product-site .shell {
    padding-right: 22px;
    padding-left: 22px;
  }

  .product-site .nav-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .product-site .nav-links {
    gap: 2px;
  }

  .product-site .nav-links a {
    padding: 6px 7px;
    font-size: 0.75rem;
  }

  .product-site .hero-ctas,
  .product-site .btn-row,
  .product-site .cta-section .btn-row {
    align-items: stretch;
    flex-direction: column;
  }

  .product-site .hero-ctas .btn,
  .product-site .btn-row .btn,
  .product-site .cta-section .btn {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .scenario-card,
  .btn {
    transition: none;
  }
}
