/* Header/footer rules extend only the dividers. The approved hero is unchanged. */
.header-shell {
  background:
    linear-gradient(var(--color-border), var(--color-border)) left bottom / 100% 1px no-repeat;
}
.header-shell .site-header {
  border-bottom: 0;
}
.site-footer {
  width: 100%;
  margin-inline: 0;
}
.experience-overview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
  padding-block: 92px 80px;
}
.overview-copy h2 {
  font-size: clamp(36px, 3.7vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1.14;
}
.overview-copy h2 > span {
  color: var(--color-fg-subtle);
}
.overview-copy > p {
  max-width: 380px;
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-fg-muted);
}
.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--color-accent);
  font-size: 12px;
  margin-top: 25px;
  padding-block: 7px;
}
.overview-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s;
}
.overview-link:hover .icon {
  transform: translateX(5px);
}
.overview-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
  font: 8px var(--font-mono);
  letter-spacing: 0.05em;
  color: var(--color-fg-subtle);
}
.overview-platforms > span + span {
  border-left: 1px solid var(--color-border-strong);
  padding-left: 13px;
}
.journey-hub {
  height: 470px;
  position: relative;
  min-width: 0;
}
.hub-grid {
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(var(--color-border-strong) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse, var(--color-shadow), transparent 68%);
}
.hub-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, var(--color-accent-wash), transparent 65%);
  animation: breathe 7s ease-in-out infinite;
}
.hub-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--color-accent);
}
.hub-wires {
  opacity: 0.2;
  stroke-width: 1;
}
.hub-pulses {
  stroke-width: 1.7;
  stroke-dasharray: 22 300;
}
.hub-pulses path {
  animation: hub-flow 6s linear infinite;
}
.hub-pulses path:nth-child(2n) {
  animation-delay: -3s;
}
.hub-center {
  --hub-logo-size: 76px;
  --hub-ring-gap: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.hub-center img {
  width: var(--hub-logo-size);
  height: var(--hub-logo-size);
}
.hub-center > span:not(.hub-center-ring) {
  font: 9px var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-top: 10px;
}
.hub-center > small {
  font: 5px var(--font-mono);
  letter-spacing: 0.09em;
  color: var(--color-fg-subtle);
  margin-top: 5px;
  white-space: nowrap;
}
.hub-center-ring {
  position: absolute;
  width: calc(var(--hub-logo-size) + var(--hub-ring-gap) * 2);
  height: calc(var(--hub-logo-size) + var(--hub-ring-gap) * 2);
  left: 50%;
  top: calc(var(--hub-logo-size) / 2);
  translate: -50% -50%;
  border: 1px dashed var(--color-accent-line);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 65s linear infinite;
}
.hub-piece {
  position: absolute;
  width: 190px;
  min-height: 154px;
  padding: 17px;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-surface), var(--color-bg-subtle));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--color-shadow) 18%, transparent);
  animation: float 8s ease-in-out infinite;
}
.hub-guides {
  top: 8px;
  left: 2px;
  transform: rotate(-7deg);
}
.hub-trophies {
  top: 18px;
  right: 0;
  transform: rotate(6deg);
  animation-delay: -2s;
}
.hub-sessions {
  bottom: 36px;
  left: 0;
  transform: rotate(5deg);
  animation-delay: -4s;
}
.hub-discover {
  bottom: 26px;
  right: 0;
  transform: rotate(-5deg);
  animation-delay: -6s;
}
.hub-piece-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--color-accent-muted);
}
.hub-piece-icon .icon {
  width: 16px;
  height: 16px;
}
.hub-piece-category {
  display: block;
  font: 7px var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--color-fg-subtle);
  margin: 3px 0 23px;
}
.hub-piece strong {
  display: block;
  font: 500 16px var(--font-display);
  letter-spacing: -0.04em;
}
.hub-piece-detail {
  display: block;
  font-size: 8px;
  color: var(--color-fg-muted);
  margin-top: 6px;
}
.hub-mini-route {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  position: relative;
}
.hub-mini-route::before {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline: 0;
  border-top: 1px solid var(--color-accent-line);
}
.hub-mini-route i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--color-accent-dim);
  border-radius: 50%;
  background: var(--color-surface);
  z-index: 1;
}
.hub-mini-route i:first-child {
  background: var(--color-accent);
}
.hub-trophy-row {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}
.hub-trophy-row .icon {
  width: 17px;
  height: 17px;
  color: var(--color-trophy-bronze);
}
.hub-trophy-row .icon:nth-child(2) {
  color: var(--color-trophy-silver);
}
.hub-trophy-row .icon:nth-child(3) {
  color: var(--color-trophy-gold);
}
.hub-trophy-row .icon:nth-child(4) {
  color: var(--color-trophy-platinum);
}
.hub-session-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 7px var(--font-mono);
  color: var(--color-fg-subtle);
  margin-top: 13px;
}
.hub-session-time span {
  color: var(--color-accent);
  border: 1px solid var(--color-accent-line);
  border-radius: 3px;
  padding: 4px 5px;
}
.hub-discover-stars {
  display: block;
  color: var(--color-accent);
  font-size: 16px;
  letter-spacing: 8px;
  margin-top: 10px;
  line-height: 1;
}
.hub-discover-stars span {
  opacity: 0.6;
}
.hub-caption {
  position: absolute;
  bottom: -10px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 6px var(--font-mono);
  letter-spacing: 0.09em;
  color: var(--color-fg-subtle);
  white-space: nowrap;
}
.hub-caption .live-dot {
  width: 4px;
  height: 4px;
}
@keyframes hub-flow {
  to {
    stroke-dashoffset: -322;
  }
}
/* Tighter companion layout: wider phone, useful conversation choices, less dead space. */
.next-chapters .companion-section {
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding-block: 25px 65px;
}
.next-chapters .companion-copy > p {
  max-width: 490px;
}
.next-chapters .companion-points {
  gap: 18px;
  margin-block: 25px;
}
.next-chapters .companion-scene {
  min-height: 600px;
}
.next-chapters .telegram-phone {
  width: 322px;
}
.next-chapters .phone-chat {
  min-height: 345px;
}
.next-chapters .phone-user {
  font-size: 12px;
}
.next-chapters .phone-nexo p {
  font-size: 12px;
  line-height: 1.8;
}
.next-chapters .phone-suggestion {
  font-size: 9px;
}
.next-chapters .phone-next {
  font-size: 10px;
}
.next-chapters .telegram-sticker {
  left: 8px;
  bottom: -15px;
}
.next-chapters .signal-label {
  left: -35px;
}
.companion-topics {
  margin: 28px 0 15px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.companion-topics legend {
  color: var(--color-fg-subtle);
  font: 8px var(--font-mono);
  letter-spacing: 0.1em;
  margin-bottom: 13px;
}
.companion-topics > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.companion-topics button {
  color: var(--color-fg-soft);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 10px;
}
.companion-topics button[aria-pressed="true"] {
  color: var(--color-accent);
  border-color: var(--color-accent-line);
  background: var(--color-accent-wash);
}
/* Onboarding now reads across the page, with an uninterrupted three-step path. */
.next-chapters .start-section {
  display: block;
  position: relative;
  border-top: 0;
  padding-block: 65px 75px;
}
.next-chapters .start-section::before,
.next-chapters .victory-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: var(--color-border);
}
.next-chapters .start-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0 40px;
  margin-bottom: 38px;
}
.next-chapters .start-heading .eyebrow {
  grid-column: 1 / -1;
}
.next-chapters .start-heading > p {
  margin: 0;
  padding-bottom: 4px;
}
.next-chapters .start-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: none;
}
.next-chapters .start-path::before {
  top: 19px;
  bottom: auto;
  left: 19px;
  width: calc(100% - 38px);
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--color-accent-line),
    var(--color-accent),
    var(--color-accent-line)
  );
}
.next-chapters .start-path > li {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 0;
}
.next-chapters .start-path h3 {
  font-size: 24px;
}
.next-chapters .start-path p {
  font-size: 12px;
  margin-top: 12px;
}
.next-chapters .start-path .chapter-micro {
  font-size: 7px;
}
.next-chapters .victory-section {
  border-top: 0;
}
@media (max-width: 1100px) {
  .site-footer .footer-top,
  .experience-overview {
    gap: 30px;
    padding-block: 75px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .overview-copy h2 {
    font-size: 39px;
  }
  .journey-hub {
    height: 440px;
  }
  .hub-piece {
    width: 164px;
    padding: 14px;
    min-height: 145px;
  }
  .hub-piece strong {
    font-size: 14px;
  }
  .hub-piece-detail {
    font-size: 7px;
  }
  .hub-piece-category {
    font-size: 6px;
  }
  .hub-piece-icon {
    right: 12px;
  }
  .hub-piece-icon .icon {
    width: 13px;
    height: 13px;
  }
  .hub-center {
    --hub-logo-size: 66px;
  }
  .hub-center {
    --hub-ring-gap: 17px;
  }
  .hub-sessions {
    bottom: 26px;
  }
  .hub-discover {
    bottom: 18px;
  }
  .hub-caption {
    bottom: -17px;
  }
  .next-chapters .companion-section {
    gap: 30px;
  }
  .next-chapters .telegram-phone {
    width: 300px;
  }
  .next-chapters .companion-scene {
    min-height: 580px;
  }
  .next-chapters .telegram-sticker {
    left: -8px;
    bottom: -15px;
  }
  .next-chapters .signal-label {
    display: none;
  }
  .next-chapters .start-path {
    gap: 28px;
  }
  .next-chapters .start-path h3 {
    font-size: 22px;
  }
  .next-chapters .start-heading > p {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .site-footer .footer-top,
  .experience-overview {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 60px;
  }
  .overview-copy h2 {
    font-size: 44px;
  }
  .overview-copy h2 > span > br {
    display: none;
  }
  .overview-copy > p {
    max-width: 490px;
    font-size: 12px;
  }
  .overview-platforms {
    margin-top: 22px;
  }
  .journey-hub {
    width: min(490px, 100%);
    margin-inline: auto;
    height: 440px;
  }
  .hub-piece {
    width: 182px;
    min-height: 148px;
  }
  .hub-piece strong {
    font-size: 15px;
  }
  .hub-piece-detail {
    font-size: 8px;
  }
  .hub-piece-category {
    font-size: 7px;
  }
  .hub-center {
    --hub-logo-size: 72px;
  }
  .hub-caption {
    bottom: -8px;
  }
  .next-chapters .companion-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 15px 50px;
  }
  .next-chapters .companion-copy > p {
    max-width: 100%;
  }
  .next-chapters .telegram-phone {
    width: 300px;
  }
  .next-chapters .companion-scene {
    min-height: 590px;
  }
  .next-chapters .telegram-sticker {
    left: 30px;
    bottom: -15px;
  }
  .next-chapters .start-section {
    padding-block: 50px 55px;
  }
  .next-chapters .start-heading {
    display: block;
    margin-bottom: 33px;
  }
  .next-chapters .start-heading > p {
    margin-top: 20px;
    font-size: 12px;
  }
  .next-chapters .start-path {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .next-chapters .start-path::before {
    top: 19px;
    bottom: 50px;
    left: 19px;
    width: 1px;
    height: auto;
    background: linear-gradient(
      var(--color-accent-line),
      var(--color-accent),
      var(--color-accent-line)
    );
  }
  .next-chapters .start-path > li {
    flex-direction: row;
    gap: 20px;
  }
  .next-chapters .start-path h3 {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .site-footer .footer-top,
  .experience-overview {
    gap: 38px;
  }
  .overview-copy h2 {
    font-size: 36px;
  }
  .overview-copy > p {
    font-size: 12px;
  }
  .overview-link {
    font-size: 11px;
  }
  .overview-platforms {
    gap: 9px;
    font-size: 7px;
  }
  .overview-platforms > span + span {
    padding-left: 9px;
  }
  .journey-hub {
    height: 396px;
  }
  .hub-piece {
    width: 145px;
    padding: 12px;
    min-height: 137px;
  }
  .hub-piece strong {
    font-size: 12px;
  }
  .hub-piece-detail {
    font-size: 7px;
  }
  .hub-piece-category {
    font-size: 5px;
    margin-bottom: 21px;
  }
  .hub-piece-icon {
    top: 11px;
    right: 11px;
  }
  .hub-piece-icon .icon {
    width: 12px;
    height: 12px;
  }
  .hub-trophy-row {
    gap: 11px;
  }
  .hub-trophy-row .icon {
    width: 14px;
    height: 14px;
  }
  .hub-center {
    --hub-logo-size: 59px;
  }
  .hub-center > span:not(.hub-center-ring) {
    font-size: 7px;
  }
  .hub-center > small {
    font-size: 4px;
  }
  .hub-center {
    --hub-ring-gap: 12px;
  }
  .hub-guides {
    left: 2px;
  }
  .hub-trophies {
    right: 2px;
  }
  .hub-sessions {
    left: 2px;
  }
  .hub-discover {
    right: 2px;
  }
  .hub-session-time {
    font-size: 6px;
  }
  .hub-caption {
    font-size: 5px;
    bottom: -10px;
  }
  .next-chapters .telegram-phone {
    width: 282px;
  }
  .next-chapters .companion-scene {
    min-height: 580px;
  }
  .next-chapters .telegram-sticker {
    left: 0;
    bottom: -15px;
  }
  .next-chapters .phone-user,
  .next-chapters .phone-nexo p {
    font-size: 11px;
  }
  .companion-topics button {
    font-size: 9px;
    padding: 8px 10px;
  }
  .companion-topics legend {
    font-size: 7px;
  }
  .next-chapters .start-path > li {
    gap: 17px;
  }
  .next-chapters .start-path h3 {
    font-size: 21px;
  }
  .next-chapters .start-path p {
    font-size: 11px;
  }
}
@media (max-width: 359px) {
  .hub-piece {
    width: 128px;
    padding: 10px;
  }
  .hub-piece strong {
    font-size: 11px;
  }
  .hub-piece-detail {
    font-size: 6px;
  }
  .hub-piece-category {
    font-size: 4px;
  }
  .hub-center-ring {
    display: none;
  }
  .hub-center {
    --hub-logo-size: 51px;
  }
  .next-chapters .telegram-phone {
    width: 258px;
  }
  .next-chapters .telegram-sticker {
    font-size: 6px;
  }
}

/* Product context and a compact, useful footer instead of isolated fragments. */
.overview-copy > p + p {
  margin-top: 15px;
}
.overview-copy > p > strong {
  font-weight: 500;
  color: var(--color-fg-soft);
}
.site-footer .footer-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 65px;
  padding-block: 48px 42px;
}
.footer-identity .brand {
  font-size: 26px;
}
.footer-identity > p {
  color: var(--color-fg-muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 17px;
}
.footer-signature {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font: 8px var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--color-fg-subtle);
}
.footer-signature .live-dot {
  width: 4px;
  height: 4px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 7px;
}
.footer-label {
  font: 9px var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--color-fg-subtle);
  margin-bottom: 9px;
}
.footer-links > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-fg-soft);
  font-size: 12px;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-links > a:hover {
  color: var(--color-accent);
}
.footer-links > a > span {
  color: var(--color-accent-muted);
}
.footer-links > .footer-back {
  color: var(--color-fg-muted);
}
.footer-meta-shell {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
}
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 17px;
}
.footer-meta > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-meta > div > span {
  color: var(--color-fg-muted);
  font-size: 10px;
  white-space: nowrap;
}
.footer-meta p {
  color: var(--color-fg-subtle);
  font-size: 10px;
}
.footer-meta button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--color-border-strong);
  border-radius: 5px;
  background: transparent;
  color: var(--color-fg-muted);
  font-size: 10px;
  white-space: nowrap;
}
.footer-meta button:hover {
  color: var(--color-accent);
  border-color: var(--color-accent-line);
}
@media (max-width: 1100px) {
  .site-footer .footer-content {
    gap: 40px;
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-meta > div {
    gap: 14px;
  }
  .footer-meta p {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  .site-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-block: 35px;
  }
  .footer-identity {
    grid-column: 1 / -1;
  }
  .footer-identity > p {
    font-size: 12px;
    margin-top: 12px;
  }
  .footer-signature {
    margin-top: 15px;
  }
  .footer-links {
    gap: 12px;
  }
  .footer-label {
    margin-bottom: 4px;
    font-size: 8px;
  }
  .footer-links > a {
    font-size: 11px;
  }
  .footer-meta {
    align-items: flex-start;
    gap: 16px;
  }
  .footer-meta > div {
    display: block;
  }
  .footer-meta p {
    max-width: 260px;
    line-height: 1.7;
    margin-top: 9px;
  }
  .footer-meta button {
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  .site-footer .footer-content {
    gap: 28px 18px;
  }
  .footer-identity .brand {
    font-size: 24px;
  }
  .footer-meta {
    flex-wrap: wrap;
  }
  .footer-meta > div {
    flex: 1;
    min-width: 155px;
  }
  .footer-meta p {
    font-size: 8px;
  }
  .footer-meta button {
    font-size: 8px;
    padding-inline: 8px;
  }
}

/* Product overview: goals and interests sit alongside progress and Nexo. */
.hub-goal-progress {
  display: block;
  margin-top: 12px;
  color: var(--color-accent);
  font: 15px var(--font-display);
}
.hub-goal-progress small {
  color: var(--color-fg-muted);
  font: 8px var(--font-mono);
}
.hub-goal-progress > i {
  display: block;
  height: 3px;
  margin-top: 7px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--color-accent) 66.67%, var(--color-border) 66.67%);
}
.hub-interest-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-size: 7px;
  color: var(--color-fg-muted);
}
.hub-interest-list i {
  margin-right: 7px;
  color: var(--color-accent);
  font: 7px var(--font-mono);
}
.hub-assistant {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  font-size: 7px;
  color: var(--color-accent);
}
.hub-assistant img {
  width: 25px;
  height: 25px;
}
.nexo-introduction {
  max-width: 640px;
  margin-top: 22px;
  color: var(--color-fg-muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Soft light follows the pointer; the normal cursor and controls stay intact. */
.cursor-glow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 650ms ease;
}
.cursor-glow.is-active {
  opacity: 1;
}
.cursor-glow > span {
  position: absolute;
  left: 0;
  top: 0;
  width: 240px;
  height: 240px;
  margin: -120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(170 226 84 / 0.11),
    rgb(125 183 48 / 0.045) 35%,
    transparent 68%
  );
  will-change: transform;
}
.cursor-glow > span + span {
  width: 320px;
  height: 320px;
  margin: -160px;
  background: radial-gradient(circle, rgb(67 167 129 / 0.065), transparent 65%);
}
.motion-paused .cursor-glow {
  display: none;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}
