:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: light-dark(#263b34, #e4eee7);
  background: light-dark(#f7f6f2, #14201b);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.page { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; border-bottom: 1px solid light-dark(#dddfd7, #384b40); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 25px; font-weight: 650; letter-spacing: -1px; }
.brand-mark { display: grid; place-items: center; background: light-dark(#2e5142, #355e4a); color: #fff; width: 32px; height: 32px; border-radius: 9px; font: italic 25px Georgia, serif; }
[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
.theme-picker { font-size: 12px; }
.theme-picker select { margin-inline-start: 6px; }
main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; min-height: 75vh; padding: 70px 0; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 650; color: light-dark(#607266, #adc3b4); }
h1 { font: normal clamp(44px, 5vw, 66px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -2px; margin: 24px 0; }
h1 em { color: light-dark(#587653, #a9cf9f); font-weight: normal; }
.description { color: light-dark(#657168, #b8c8bc); line-height: 1.8; font-size: 15px; max-width: 430px; }
.tagline { margin-top: 24px; font-size: 13px; line-height: 1.7; }
.docs-link { display: inline-flex; gap: 24px; align-items: center; margin-top: 20px; padding: 13px 19px; background: light-dark(#2e5142, #355e4a); color: white; border-radius: 7px; text-decoration: none; font-size: 13px; }
.docs-link:hover { background: light-dark(#244233, #284c3b); }
.workspace { padding: 28px; border: 1px solid light-dark(#dce0d5, #405348); background: light-dark(#fffefa, #1e2d25); border-radius: 14px; box-shadow: 0 12px 35px light-dark(#263b3406, #0003); }
.workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.small-label { color: light-dark(#7d857c, #adbbb0); font-size: 10px; }
h2 { font: normal 27px/1.25 Georgia, serif; letter-spacing: -.6px; margin: 28px 0 10px; }
.workspace-description { font-size: 13px; line-height: 1.7; color: light-dark(#747d72, #bac7bc); }
.steps { padding: 0; margin: 28px 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 15px; padding: 16px 0; border-top: 1px solid light-dark(#eceee6, #384b40); }
.step-number { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: light-dark(#eef1e8, #30463a); font-size: 11px; color: light-dark(#65785d, #c0d6ba); }
h3 { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.steps p { margin: 0; font-size: 12px; line-height: 1.6; color: light-dark(#747d72, #bac7bc); }
.connection { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: light-dark(#f1f3ec, #273a30); border-radius: 8px; padding: 16px; }
.connection-label { margin: 0 0 5px; font-size: 11px; font-weight: 600; }
#api-status { margin: 0; font-size: 11px; color: light-dark(#56634f, #c3d3c0); overflow-wrap: anywhere; }
#api-status[data-state="error"] { color: light-dark(#a2392c, #ffaea1); }
button, .theme-picker select { flex-shrink: 0; border: 1px solid light-dark(#cbd3c4, #536e5d); background: light-dark(#fffefa, #1e2d25); color: light-dark(#36503a, #d5e9d6); border-radius: 6px; padding: 9px 11px; font: inherit; font-size: 11px; cursor: pointer; }
button:hover { background: light-dark(#e6ebdf, #30463a); }
button:disabled { opacity: .6; cursor: wait; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid light-dark(#78956b, #b0d4a1); outline-offset: 4px; }
footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid light-dark(#dddfd7, #384b40); color: light-dark(#7b8479, #b0beb3); font-size: 11px; padding: 24px 0; }
@media (max-width: 850px) {
  main { grid-template-columns: 1fr; gap: 44px; padding: 44px 0; }
  .description { max-width: 560px; }
  h1 { font-size: 54px; }
}
@media (max-width: 480px) {
  .page { padding: 0 22px; }
  .header { padding: 22px 0; }
  h1 { font-size: 43px; }
  .workspace { padding: 22px 18px; }
  .workspace-heading { flex-wrap: wrap; }
  .connection { flex-wrap: wrap; }
}
