.workspace-content:has(.companion-page) { max-width: none; padding: 0; }
.companion-page {
  --companion-muted: var(--light-text-color);
  --companion-accent: var(--link-color);
  --companion-line: var(--border-color);
  color: var(--text-color);
  container-type: inline-size;
}
.companion-page :where(a) { color: inherit; text-decoration: none; }
.companion-page a:hover { color: var(--companion-accent); }
.companion-page :where(a, button, summary):focus-visible { outline: 2px solid var(--companion-accent); outline-offset: 5px; }
.companion-page :where(button) { font: inherit; }
.companion-page :where(p) { line-height: 1.65; }
.companion-page :where(figure, h1, h2, h3, p) { margin: 0; }
.companion-page img { display: block; max-width: 100%; height: auto; }
.companion-hero { background: #151515; color: #f1efeb; overflow: hidden; }
.companion-hero-inner { padding: 58px clamp(24px, 5cqw, 80px) 28px; }
.companion-intro { max-width: 760px; animation: companion-enter .5s ease-out both; }
.companion-eyebrow { color: var(--companion-accent); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.companion-hero .companion-eyebrow { color: #eda866; }
.companion-intro h1 { font-size: clamp(52px, 7cqw, 90px); line-height: 1.08; letter-spacing: -.065em; font-weight: 650; }
.companion-intro h1 span { display: block; font-size: .58em; letter-spacing: -.04em; color: #cfccc7; margin-top: 8px; }
.companion-lead { max-width: 600px; color: #b9b6b1; margin-top: 24px; font-size: 17px; }
.companion-download { margin-top: 25px; scroll-margin-top: 24px; }
.companion-download-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 23px; border: 1px solid #c96723; border-radius: 9px; background: #b44d12; color: #fff !important; font-size: 14px; font-weight: 600; transition: background .18s, transform .18s; }
a.companion-download-button:hover { background: #c45a19; transform: translateY(-2px); }
.companion-download-button:disabled { background: #282522; border-color: #4c3b28; color: #d9b985 !important; cursor: default; }
.companion-release-info, .companion-requirements { font-size: 12px; color: #b9b6b1; margin-top: 8px; }
.companion-help-link { display: block; width: fit-content; margin-top: 18px; font-size: 13px; text-decoration: underline !important; text-underline-offset: 4px; }
.companion-preview { margin: 36px auto 0 !important; max-width: 1180px; animation: companion-enter .65s .12s ease-out both; }
.companion-preview img, .companion-style-preview img { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.companion-page figcaption { margin-top: 12px; font-size: 11px; color: var(--companion-muted); line-height: 1.6; }
.companion-preview figcaption { color: #a29f9a; }
.companion-section, .companion-style-section { padding: 64px clamp(24px, 5cqw, 80px); display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; border-bottom: 1px solid var(--companion-line); }
.companion-page h2 { font-size: clamp(30px, 3.6cqw, 44px); line-height: 1.15; letter-spacing: -.045em; font-weight: 550; }
.companion-section-intro > p:last-child { color: var(--companion-muted); font-size: 15px; margin-top: 20px; max-width: 260px; }
.companion-steps { list-style: none; margin: 0; padding: 0; }
.companion-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--companion-line); }
.companion-steps li:first-child { padding-top: 0; border-top: 0; }
.companion-steps li:last-child { padding-bottom: 0; }
.companion-step-number { color: var(--companion-accent); font-size: 12px; padding-top: 5px; }
.companion-steps h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 550; }
.companion-steps p { color: var(--companion-muted); font-size: 14px; margin-top: 10px; }
.companion-style-section { grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.companion-style-copy p:not(.companion-eyebrow) { font-size: 14px; color: var(--companion-muted); margin-top: 20px; }
.companion-style-copy strong { color: var(--text-color); font-weight: 500; }
.companion-beta-copy { font-size: 15px; color: var(--companion-muted); }
.companion-beta-copy p + p { margin-top: 16px; }
.companion-feedback-link { display: inline-block; margin-top: 24px; color: var(--companion-accent) !important; text-decoration: underline !important; text-underline-offset: 5px; }
.companion-faq, .companion-workflow { scroll-margin-top: 24px; }
.companion-questions { min-width: 0; }
.companion-questions details { border-bottom: 1px solid var(--companion-line); }
.companion-questions details:first-child { border-top: 1px solid var(--companion-line); }
.companion-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0; cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; }
.companion-questions summary::-webkit-details-marker { display: none; }
.companion-questions summary::after { content: "+"; font-size: 21px; font-weight: 300; color: var(--companion-muted); }
.companion-questions details[open] summary::after { content: "−"; }
.companion-questions details[open] > div { animation: companion-answer .2s ease-out; }
.companion-questions summary:hover { color: var(--companion-accent); }
.companion-questions p { font-size: 14px; color: var(--companion-muted); padding-bottom: 22px; }
.companion-questions a { color: var(--text-color); text-decoration: underline; text-underline-offset: 3px; }
@keyframes companion-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes companion-answer { from { opacity: 0; } to { opacity: 1; } }
@container (max-width: 750px) {
  .companion-hero-inner { padding-top: 36px; }
  .companion-section, .companion-style-section { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 40px; }
  .companion-section-intro > p:last-child { max-width: 380px; }
  .companion-style-copy { grid-row: 1; }
  .companion-lead { font-size: 15px; }
  .companion-intro h1 { font-size: clamp(42px, 9cqw, 62px); }
}
@media (prefers-reduced-motion: reduce) {
  .companion-page *, .companion-page *::before, .companion-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@container (min-width: 900px) {
  .companion-hero-inner { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 32px; min-height: min(700px, 100svh); padding-left: 40px; padding-right: 28px; }
  .companion-intro h1 { font-size: clamp(48px, 5cqw, 72px); }
  .companion-intro h1 span { font-size: .64em; line-height: 1.16; }
  .companion-lead { font-size: 15px; }
  .companion-preview { margin: 0 !important; }
}
