.get-started { margin: 24px 0; } .get-started-question { margin: 0 0 16px; padding: 16px; border: 1px solid var(--rp-c-divider); border-radius: 12px; } .get-started-question legend { display: flex; align-items: center; gap: 8px; padding: 0 8px; font-weight: 600; } /* Each question fades in as the previous one is answered. */ .get-started-question { animation: get-started-question-in 0.3s ease-out; } /* The unanswered question is the one to act on next. */ .get-started-question-pending { border-color: var(--rp-c-brand); } .get-started-choose { flex: none; white-space: nowrap; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--rp-c-brand) 15%, transparent); color: var(--rp-c-brand); font-size: 12px; font-weight: 600; } @keyframes get-started-question-in { from { opacity: 0; transform: translateY(6px); } } @media (prefers-reduced-motion: reduce) { .get-started-question { animation: none; } } .get-started-path .get-started-question { animation: none; } .get-started-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; } .get-started-question { container-type: inline-size; } /* Options with a description need room for two lines of text. When three of them would be squeezed side by side, list them one per row instead. */ @container (width < 640px) { .get-started-options:has(small) { grid-template-columns: 1fr; } } .get-started-options label { position: relative; cursor: pointer; } .get-started-options input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } /* Options are filled cards with a radio dot, so they read as choices rather than empty text fields. */ .get-started-options span { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; height: 100%; min-height: 44px; padding: 11px 14px 11px 40px; border: 1px solid transparent; border-radius: 10px; background: var(--rp-c-bg-soft); color: var(--rp-c-text-1); transition: border-color 0.15s, background-color 0.15s; } .get-started-options span::before { content: ""; position: absolute; top: 14px; left: 14px; box-sizing: border-box; width: 16px; height: 16px; border: 1.5px solid var(--rp-c-text-3); border-radius: 50%; transition: border-color 0.15s, border-width 0.15s; } /* Titles are short labels: keep their line height tight and balance the lines when one wraps, so "project" does not sit alone. */ .get-started-options strong { font-size: 15px; font-weight: 600; line-height: 1.45; text-wrap: balance; } .get-started-options small { color: var(--rp-c-text-2); font-size: 13px; line-height: 1.5; } .get-started-options label:hover span { background: var(--rp-c-bg-mute); } .get-started-options label:hover span::before { border-color: var(--rp-c-brand); } /* One frame for the chosen option: a brand border, a tinted fill and a filled radio dot. */ .get-started-options input:checked + span { border-color: var(--rp-c-brand); background: color-mix(in srgb, var(--rp-c-brand) 10%, var(--rp-c-bg)); } .get-started-options input:checked + span::before { border: 5px solid var(--rp-c-brand); } .get-started-options input:checked + span strong { color: var(--rp-c-brand); } /* Keyboard focus is a soft halo hugging the card, not a separate ring. */ .get-started-options input:focus-visible + span { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rp-c-brand) 30%, transparent); } @media (prefers-reduced-motion: reduce) { .get-started-options span, .get-started-options span::before { transition: none; } } .get-started-status { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--rp-c-brand) 10%, transparent); color: var(--rp-c-text-1); } .get-started-status-text { display: flex; flex-direction: column; gap: 2px; margin: 0; line-height: 1.5; } .get-started-status strong { color: var(--rp-c-brand); } .get-started-status-text span { color: var(--rp-c-text-2); font-size: 14px; } .get-started-status-arrow { flex: none; margin-top: 2px; color: var(--rp-c-brand); animation: get-started-status-nudge 1.6s ease-in-out infinite; } @keyframes get-started-status-nudge { 50% { transform: translateY(-3px); } } @media (prefers-reduced-motion: reduce) { .get-started-status-arrow { animation: none; } } .get-started-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; } /* Steps have no wrapper, so only the first step heading would get the Rspress `h2:first-of-type::before` divider. Draw the divider above each step label and hide the heading's own divider. */ .get-started-step-label { margin: 3rem 0 4px; padding-top: 3rem; border-top: 1px solid var(--rp-c-divider-light); color: var(--rp-c-text-2); font-size: 14px; font-weight: 600; } .rp-doc .get-started-step-label + h2 { margin-top: 0; } .rp-doc .get-started-step-label + h2::before { display: none; } /* The model picker sits inside a step, not among the gating questions. */ .get-started-llm-picker { margin-top: 16px; } /* Model names are long and full of hyphens, such as "Doubao-Seed-2.1 Turbo". Give each card room for the name on one line, and do not balance the lines: balancing splits the name at every hyphen. */ .get-started-llm-picker .get-started-options { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); } .get-started-llm-picker .get-started-options strong { text-wrap: pretty; } .get-started-path-index p { margin-bottom: 4px; } .get-started-path-index ul { margin-top: 0; }