:root {
  color-scheme: dark;
  --paper: #0f1113;
  --ink: #f0f1f3;
  --studio: #171a1e;
  --accent: #ff7a3d;
  --steel: #242930;
  --muted: #aeb7c2;
  --line: #323840;
  --studio-header: #111418;
  --studio-input: #13171b;
}

body { background: var(--paper); color: var(--ink); }
.nav { min-height: 74px; height: auto; padding-block: 14px; background: var(--studio-header); border-color: var(--line); flex-wrap: wrap; gap: 14px 25px; }
.nav nav { gap: 22px; }
.nav nav, .nav-sign, .nav-support, .nav-reviews { color: var(--muted); }
.nav nav a:hover, .nav-sign:hover, .nav-support:hover { color: var(--ink); }
.nav-support { margin-left: 0; }
.nav .brand img { width: 42px; height: 36px; }
.button.primary, .primary { background: var(--accent); border-color: var(--accent); color: #20130e; font-weight: 700; }
.button.primary:hover, .primary:hover { background: #ffa073; border-color: #ffa073; color: #20130e; }
.button.secondary, .secondary { background: var(--steel); border-color: var(--line); color: var(--ink); }
.button.secondary:hover, .secondary:hover { background: #303741; color: var(--ink); }
:is(a,button,input,select,textarea,summary):focus-visible { outline-color: var(--accent); }
.hero-copy > p, .hero-copy .hero-note, .section-intro > p,
.workflow-grid p, .preview-section p, .pricing-heading p,
.plan-description, .billing-note, .price span, .price-plan ul, .pricing-disclosure,
.availability, details p, .final-invite p, .footer > div, .preview-footnote, .preview-footnote a {
  color: var(--muted);
}
.studio-landing { padding-top: clamp(36px, 5vw, 72px); }
.studio-landing .hero-copy { max-width: none; text-align: left; margin: 0 0 30px; }
.studio-landing h1 { max-width: 12.5em; font-size: clamp(39px, 5.1vw, 68px); }
.studio-landing .hero-copy > p { margin: 16px 0 0; }
.studio-landing .actions { justify-content: flex-start; margin-top: 20px; }
.studio-landing .hero-note { margin-top: 12px; }
.studio-proof { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--studio); }
.studio-proof img { display: block; width: 100%; height: auto; }
.studio-proof figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.studio-proof a, .feature-directory, .recent-tools a:hover h3 { color: #ffad86; }
.intro-band, .feature-stage { background: var(--studio); border-color: var(--line); }
.intro-band .wrap > span, .intro-band .wrap > div { color: var(--muted); }
.workflow-grid article, details, .pricing, .faq, .footer, .final-invite { border-color: var(--line); }
.step-number { color: #ffad86; }
.recent-tools { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 28px 0 0; padding: 0; gap: 9px; }
.recent-tools li { min-width: 0; }
.recent-tools a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; min-height: 132px; padding: 14px 16px; background: var(--studio-header); border: 1px solid var(--line); border-radius: 7px; }
.recent-tools a:hover { border-color: #9c5a3a; }
.recent-tools h3 { font-size: 17px; }
.recent-tools p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.recent-tools small { margin-top: auto; padding-top: 5px; color: var(--muted); font-size: 12px; }
.feature-directory { display: inline-block; margin-top: 18px; text-decoration: underline; text-underline-offset: .25em; }
.price-plan, .annual, .preview-window, .preview-window-top { background: var(--studio); border-color: var(--line); color: var(--ink); }
.price-plan li:before, .annual-label { color: #ffad86; }
.annual-label { background: #312018; border-color: #76503c; }
.preview-window-top > span:last-child, summary:after { color: var(--muted); }
.skip, #toast { background: var(--studio); border-color: var(--line); color: var(--ink); }
.workspace-header, .ticket-message, .account-card, .subscription-status, .billing-choice,
.workspace-timeline, .community-card { background: var(--studio); border-color: var(--line); }
.support-layout aside > p, .ticket-message small, .account-card p, .policy p,
.page-intro > p:last-child, .community-card p, .stat span, .dashboard-meta,
#review-notice, #dashboard-notice { color: var(--muted); }
.support-email, .text-button, .eyebrow { color: #ffad86; }
.demo-label, .review-badge, .export-link, .command-panel button {
  background: #312018; border-color: #76503c; color: #ffad86;
}
.review-badge { color: #ffad86 !important; }
.top { background: var(--studio-header); border-color: var(--line); }
.monitor, .controls { background: var(--studio); border-color: var(--line); }
.screen { background: #111418; color: var(--muted); }
#cuts { background: var(--steel); }
.controls, .monitor { --quiet: var(--muted); --pale: var(--steel); }
.controls :is(select,button,.download), .controls input::file-selector-button {
  background: var(--steel); border-color: var(--line); color: var(--ink);
}
.controls :is(#analyse,#export):not(:disabled), .controls .download {
  background: var(--accent); border-color: var(--accent); color: #20130e;
}
.controls .hint + label, .foot, .heading p { --quiet: var(--muted); }
.tool, .connection, .intro + section .filters, #studio-dialog { border-color: var(--line); }
.tool, .connection, #studio-dialog { background: var(--studio); }
.tool-actions button, .launch-actions button, .endpoint button, .close,
.filters :is(input,select), .endpoint input { background: var(--steel); border-color: var(--line); }

@media (max-width: 800px) { .recent-tools { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) {
  .nav { padding-inline: 16px; gap: 10px 16px; }
  .studio-landing h1 { font-size: 41px; }
  .studio-landing .actions { gap: 8px; }
  .recent-tools { grid-template-columns: 1fr; }
  .recent-tools a { min-height: 0; }
}
