/* A shared rhythm for the customer journey, loaded after the legacy styles. */
:root {
  --journey-ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
.journey-skip-link { position: fixed; z-index: 10000; top: 10px; left: 12px; padding: 11px 16px; border: 1px solid #c184f0; border-radius: 9px; background: #160c20; color: #fff; font-weight: 700; text-decoration: none; transform: translateY(-160%); transition: transform 160ms ease; }
.journey-skip-link:focus { transform: translateY(0); }
.builder-services-hero { overflow: hidden; position: relative; background: radial-gradient(ellipse at 85% 35%, #34115480, transparent 65%); }
.builder-services-hero, .services-businesses, .services-simple, .secret-sparks { font-family: Avenir Next, Segoe UI, system-ui, sans-serif; }
.builder-services-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.builder-services-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.8rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; margin-block: 26px; }
.builder-services-hero h1 em { font-style: normal; color: #c589ff; }
.builder-services-hero .button { margin-top: 26px; }
.builder-services-hero small { color: #bfb2cc; }
.services-price-note { font-size: .9rem; color: #c9bdd4; line-height: 1.7; max-width: 50ch; margin: 20px 0 10px; }
.services-build-scene { position: relative; padding: clamp(24px, 3vw, 40px); border: 1px solid #69358a; border-radius: 28px; background: linear-gradient(150deg, #23112f, #0b080f); box-shadow: 0 30px 80px #0006; }
.services-scene-label { color: #cba3ec; font-family: monospace; font-size: .75rem; letter-spacing: .12em; margin-bottom: 28px; }
.services-build-step { display: flex; align-items: center; gap: 16px; border: 1px solid #4a315c; background: #160e20; border-radius: 14px; padding: 20px 16px; margin-block: 12px; }
.services-build-step > span { color: #bb80e8; font-family: monospace; }
.services-build-step strong { font-size: .95rem; flex: 1; }
.services-build-step .icon { color: #91e3bd; }
.services-build-scene > p { color: #bba9c8; font-size: .85rem; line-height: 1.7; margin-top: 24px; }
.services-industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.services-industry-card { border: 1px solid #37253f; border-radius: 20px; background: linear-gradient(135deg, #191021, #0c0910); padding: 30px; transition: transform 250ms var(--journey-ease), border-color 250ms ease, box-shadow 250ms ease; }
.services-industry-card > .icon { color: #c589ff; margin-bottom: 24px; }
.services-industry-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.services-industry-card p { color: #bcb0c5; line-height: 1.75; font-size: .95rem; }
.services-builder-invite { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.services-builder-invite p { color: #d3c7de; }
.services-simple { border-top: 1px solid #32233c; }
.services-simple-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.services-answer { padding: 24px 0; border-bottom: 1px solid #3a2943; }
.services-answer:first-child { border-top: 1px solid #3a2943; }
.services-answer summary { color: #eee3f5; font-size: 1.05rem; cursor: pointer; }
.services-answer p { color: #bcb0c5; margin-top: 18px; line-height: 1.8; }
.services-simple .text-link { display: inline-block; margin-top: 24px; }
.secret-sparks { max-width: 560px; margin: 24px auto 0; padding: 20px; text-align: center; }
.secret-sparks > summary { color: #b7a4c5; cursor: pointer; font-size: .85rem; }
.secret-sparks > summary span { color: #cf8fff; display: inline-block; }
.secret-sparks-panel { padding: 24px; margin-top: 18px; background: #130b1c; border: 1px solid #5a316f; border-radius: 20px; }
.secret-sparks-panel p { color: #c7b6d3; font-size: .9rem; line-height: 1.7; }
.spark-circuit { display: flex; align-items: center; justify-content: center; margin-block: 24px; }
.spark-circuit button { min-width: 60px; min-height: 60px; border-radius: 50%; border: 1px solid #80519c; color: #d5b8eb; background: #21102c; cursor: pointer; transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease; }
.spark-circuit button[aria-pressed='true'] { background: #59307a; color: #fff; box-shadow: 0 0 22px #b85bff66; transform: scale(1.08); }
.spark-wire { height: 2px; width: 36px; background: #57306e; }
.is-unlocked .spark-wire { background: #b879ef; box-shadow: 0 0 12px #b879ef; }
.spark-portal[hidden] { display: none !important; }
.spark-portal { margin-top: 16px; white-space: normal; }
@keyframes services-step-glow { 0%, 65%, 100% { border-color: #4a315c; transform: translateX(0); } 15%, 40% { border-color: #bc78ee; transform: translateX(4px); } }
@keyframes spark-wink { 0%, 70%, 100% { transform: scale(1) rotate(0); opacity: .7; } 85% { transform: scale(1.3) rotate(35deg); opacity: 1; } }
@keyframes journey-card-arrive { from { opacity: .35; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .journey-in-view .services-industry-card { animation: journey-card-arrive 550ms var(--journey-ease) calc(var(--step) * 65ms) backwards; }
  .journey-in-view .services-build-step { animation: services-step-glow 8s ease-in-out calc(var(--step) * 1.2s) 3; }
  .secret-sparks > summary span { animation: spark-wink 6s ease-in-out 3; }
  .services-industry-card:hover { transform: translateY(-6px); border-color: #9460b2; box-shadow: 0 14px 32px #0004; }
  .services-industry-card:hover > .icon { transform: rotate(-8deg) scale(1.12); transition: transform 220ms ease; }
}
@media (max-width: 860px) {
  .builder-services-layout, .services-simple-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builder-services-hero { padding-top: 44px; }
}
@media (max-width: 540px) {
  .services-industry-grid { grid-template-columns: 1fr; }
  .services-industry-card { padding: 24px; }
  .secret-sparks-panel { padding: 18px 12px; }
}
html { scroll-padding-top: 110px; }
body[data-journey-page] :is(a, button, summary, input, textarea, select):focus-visible {
  outline: 2px solid #d4a2ff;
  outline-offset: 5px;
}
body[data-journey-page] .button {
  transition: transform 180ms var(--journey-ease), box-shadow 180ms ease, background-color 180ms ease;
}
body[data-journey-page] .button:active { transform: translateY(1px) scale(.98); }
.is-landing .hero-copy h1 {
  font-size: clamp(2.75rem, 5.2vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  max-width: 12ch;
  text-wrap: balance;
}
.is-landing .hero-lede { max-width: 49ch; }
body[data-journey-page] .page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.08;
  text-wrap: balance;
}
body[data-journey-page] main :is(h1, h2) { text-wrap: balance; }
.is-landing .hero-layout { padding-block: clamp(48px, 7vw, 100px); }
.is-landing .hero-actions .text-link { display: none; }
.is-landing .hero-note { color: #c9bfd4; }
.is-landing .hero-logo-ghost { opacity: .1; }
.is-landing .section { padding-block: clamp(56px, 7vw, 96px); }
.is-landing .services-preview .feature-list { display: none; }
.is-landing .services-preview .service-card { padding: 28px; }
.is-landing .services-preview .service-card h3 { font-size: 1.4rem; }
.is-landing .services-preview .service-card p { min-height: 5.5em; }
.is-landing .services-preview .service-card .price-row { margin-top: auto; }
/* A price explanation on Home; the full feature catalog lives on Services. */
.is-landing .builder-pillars-section,
.is-landing .builder-stages-grid { display: none; }
.is-landing .custom-builder-invitation { padding-block: 64px; }
.is-landing .landing-reveal {
  transition-duration: 440ms;
  transition-delay: min(var(--reveal-delay, 0ms), 140ms);
}
.is-landing .landing-reveal:not(.is-visible) { transform: translateY(16px); }
.customer-process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); }
.customer-process .section-intro h2 { max-width: 17ch; }
.customer-process .section-intro .button { margin-top: 24px; }
.customer-process .journey-note { font-size: .85rem; color: #aaa0b8; margin-top: 16px; }
.customer-checkpoints { border-top: 1px solid #392847; }
.customer-checkpoints details { border-bottom: 1px solid #392847; padding: 24px 0; }
.customer-checkpoints summary { display: flex; align-items: baseline; gap: 20px; cursor: pointer; color: #c78bff; list-style: none; font-size: .85rem; }
.customer-checkpoints summary::-webkit-details-marker { display: none; }
.customer-checkpoints summary span { color: #f3edf8; font-size: 1.15rem; font-weight: 650; flex: 1; }
.customer-checkpoints summary::after { content: '+'; font-size: 1.25rem; }
.customer-checkpoints details[open] summary::after { content: '−'; }
.customer-checkpoints details p { color: #b6acbf; line-height: 1.8; margin: 16px 0 0 38px; max-width: 55ch; }
.service-page-nav { display: flex; flex-wrap: wrap; gap: 12px; padding-block: 12px 28px; }
.service-page-nav a { border: 1px solid #493255; border-radius: 999px; padding: 12px 20px; color: #e7d8f3; text-decoration: none; }
.service-page-nav a:hover { background: #23132f; }
.service-details { margin-block: 18px; border-block: 1px solid #392847; padding-block: 16px; }
.service-details summary { cursor: pointer; color: #d5a7f5; font-weight: 600; }
.service-details .feature-list { margin-top: 20px; }
[id^='website-'] { scroll-margin-top: 110px; }
/* Motion serves entry and feedback. Decorative loops run only in view. */
.journey-paused *, .journey-paused *::before, .journey-paused *::after { animation-play-state: paused !important; }
body[data-journey-page] :is(.logo-orbit-motion, .brand-mark, .hero-logo-ghost) { animation: none !important; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body[data-journey-page] .button:hover { transform: translateY(-2px); }
  .is-landing .services-preview .service-card { transition: transform 240ms var(--journey-ease), border-color 240ms ease; }
  .is-landing .services-preview .service-card:hover { transform: translateY(-4px); border-color: #9655c3; }
}
@media (max-width: 860px) {
  .is-landing .hero-copy h1 { max-width: 15ch; font-size: clamp(2.6rem, 9vw, 4rem); }
  .is-landing .hero-layout { padding-block: 40px; }
  .customer-process-grid { grid-template-columns: 1fr; }
  .is-landing .services-preview .service-card p { min-height: 0; }
  .service-page-nav { gap: 8px; }
  .service-page-nav a { padding: 10px 14px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body[data-journey-page] *, body[data-journey-page] *::before, body[data-journey-page] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  body[data-journey-page] :is(.landing-reveal, .reveal) { opacity: 1 !important; transform: none !important; }
}
