/* ===== SECTION ===== */
.q-links {
    --purple: #29182d;
    --muted: #808099;
    --dashed: #d4c2e4;
    --text: #111111;
    
    width: 100%;
    color: var(--color-black);
    box-sizing: border-box;
}

.q-links__inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns:100%;
    align-items: start;
    column-gap: 0;
    border-left:1px solid var(--color-line);
    border-right:1px solid var(--color-line);
}

/* ===== LEFT COLUMN ===== */
.q-links__intro {
    padding-right: 55px;
}

.q-links__title {
    position: relative;
    display: inline-block;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    font-family:var(--font-display);
}

.q-links__title strong {
    display: inline;
    font-weight: 400;
    background-image: linear-gradient(var(--accent-cover,var(--color-white)), var(--accent-cover,var(--color-white))), radial-gradient(circle, var(--accent-dot,var(--color-violet)) .032em, transparent .037em);
    background-size: calc(100% - var(--accent-reveal)) .12em, .15em .08em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-position: 100% 100%,.02em 100%;
    background-repeat: no-repeat,repeat-x;
    padding-bottom: .1em;
    transition: --accent-reveal 1.1s cubic-bezier(.65,0,.35,1);
}

.q-links__description p{
    max-width: 400px;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

/* ===== RIGHT COLUMN ===== */
.find-way__content {
    min-width: 0;
}

/* ===== TOGGLE ===== */
.find-way__switch-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 39px;
    white-space: nowrap;
}

.find-way__switch-label {
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: color 180ms ease;
}

.find-way__switch-label.is-active {
    color: #242126;
}

.find-way__switch {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: var(--purple);
    cursor: pointer;
    align-items: center;
}

.find-way__switch-knob {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 220ms ease;
}

.find-way__switch[aria-checked="true"]
.find-way__switch-knob {
    transform: translateX(20px);
}

.find-way__switch:focus-visible {
    outline: 2px solid #a76cff;
    outline-offset: 4px;
}

/* ===== BUTTON GROUPS ===== */
.find-way__buttons {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
}

.find-way__pill {
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px dashed var(--dashed);
    border-radius: 9px;
    background: #fff;
    color: #a3a1b7;
    font-family: inherit;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

/* Active group: solid, dark outline */
.find-way__pill.is-current {
    border: 1px solid var(--purple);
    color: #111;
}

/* Hover */
.find-way__pill:hover {
    border-color: #a76cff;
    color: #211427;
}

/* Optional click feedback */
.find-way__pill.is-selected {
    background: #f7f2fb;
    border-color: #a76cff;
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
  .find-way__inner {
    padding: 50px 30px;
    grid-template-columns: 40% 60%;
  }

  .find-way__intro {
    padding-right: 25px;
  }

  .find-way__switch-row {
    gap: 9px;
    margin-bottom: 28px;
  }

  .find-way__switch-label {
    font-size: 12px;
  }

  .find-way__pill {
    padding: 0 10px;
    font-size: 10px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 620px) {
  .find-way__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 42px 22px;
  }

  .find-way__intro {
    padding-right: 0;
  }

  .find-way__title {
    font-size: 36px;
  }

  .find-way__description {
    margin-top: 20px;
    font-size: 15px;
  }

  .find-way__switch-row {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
  }

  .find-way__buttons {
    gap: 8px;
  }

  .find-way__pill {
    min-height: 36px;
    padding: 0 11px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .find-way *,
  .find-way *::before,
  .find-way *::after {
    transition: none !important;
  }
}
/* Tooltip container */
.find-way__pill {
  position: relative;
}

/* Tooltip label */
.find-way__pill::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);

  padding: 7px 10px;
  border-radius: 6px;
  background: #29182d;
  color: #fff;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

/* Tooltip arrow */
.find-way__pill::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translate(-50%, 4px);

  border: 6px solid transparent;
  border-top-color: #29182d;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;

  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

/* Show tooltip on hover and keyboard focus */
.find-way__pill:hover::before,
.find-way__pill:hover::after,
.find-way__pill:focus-visible::before,
.find-way__pill:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Keep the tooltip visible above nearby buttons */
.find-way__pill:hover,
.find-way__pill:focus-visible {
  z-index: 10;
}
@media (min-width: 60rem){
    .q-links__inner{padding:4rem;grid-template-columns: 43% 57%;}
}










