/* The problem, by career stage: an "I'm..." tab row, then the chosen stage's worries, each answered by
   what Orbiteer does (rows from /pitch.css). Phones: the tab row scrolls sideways. */
.stg-tabs {
  display: flex; gap: 10px; margin-bottom: clamp(26px, 3vw, 40px); padding: 6px; border-radius: 999px;
  background: var(--sheet); border: 1px solid var(--line); width: fit-content; max-width: 100%;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.stg-tabs::-webkit-scrollbar { display: none; }
.stg-tab {
  flex: none; display: inline-flex; align-items: center; gap: 10px; scroll-snap-align: start;
  padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid transparent; background: transparent;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ash); cursor: pointer; white-space: nowrap;
  transition: color .25s, background-color .25s, border-color .25s;
}
.stg-tab:hover { color: var(--bone); background: rgba(255, 255, 255, .03); }
.stg-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.stg-tab[aria-selected="true"] { color: var(--bone); background: var(--raised); border-color: rgba(0, 175, 255, .45); box-shadow: 0 8px 26px -12px rgba(0, 175, 255, .6); }
.stg-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(120% 120% at 30% 20%, #16314f 0%, #0B1220 60%); border: 1px solid rgba(124, 200, 255, .22);
}
.stg-mark svg { width: 36px; height: 36px; transition: transform .6s var(--ease); }
.stg-tab[aria-selected="true"] .stg-mark svg { transform: rotate(-12deg) scale(1.06); }

.stg-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 12px; }
.stg-panel:not([hidden]) { animation: stg-in .5s var(--ease) both; }
@keyframes stg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stg-head { margin: 0 0 clamp(22px, 2.4vw, 32px); max-width: 22em; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.stg-cols { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.15fr); gap: clamp(16px, 2vw, 28px); margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--mist); }
.stg-cols span:last-child { grid-column: 3; color: var(--accent-soft); }
.stg-list .pain-q { font-size: clamp(18px, 1.6vw, 21px); color: var(--ash); }
.stg-list .pain-a b { display: block; margin-bottom: 4px; font-weight: 600; color: var(--bone); }
.stg-list .pain-a { color: var(--ash); font-size: 16px; }

.stg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(28px, 3vw, 44px); }
.stg-trust { margin: 0; max-width: 40em; font-size: 15px; line-height: 1.55; color: var(--ash); }

@media (max-width: 760px) {
  .stg-tabs { border-radius: 22px; margin-inline: -4px; }
  .stg-tab { font-size: 14px; padding-right: 14px; }
  .stg-mark { width: 32px; height: 32px; }
  .stg-mark svg { width: 30px; height: 30px; }
  .stg-cols { display: none; }
  .stg-foot .btn { width: 100%; justify-content: space-between; }
}

/* Wide screens: the four tabs share the row evenly, labels may wrap. */
@media (min-width: 961px) {
  .stg-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: auto; border-radius: 26px; overflow: visible; }
  .stg-tab { white-space: normal; text-align: left; line-height: 1.3; border-radius: 20px; padding-block: 8px; }
}
