:root {
  --font-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bg: #14171b;
  --bg-sidebar: #1a1e23;
  --bg-activitybar: #1a1e23;
  --bg-tabbar: #1a1e23;
  --bg-tab: #1a1e23;
  --bg-tab-active: #14171b;
  --bg-raised: #22272e;
  --bg-input: #0f1215;
  --bg-hover: #252b32;
  --bg-selected: #30363e;
  --bg-overlay: #22272e;
  --fg: #e6e9ed;
  --fg-dim: #b0b8c1;
  --fg-3: #929ba5;
  --border: #2f353d;
  --border-strong: #454d57;
  --accent: #d91f3b;
  --accent-hover: #c21a34;
  --accent-text: #ff7a8c;
  --on-accent: #ffffff;
  --error: #ff8f80;
  --error-bg: rgba(255, 143, 128, 0.11);
  --warning: #e8b95a;
  --warning-bg: rgba(232, 185, 90, 0.12);
  --ok: #63d297;
  --ok-bg: rgba(99, 210, 151, 0.12);
  --info: #7ab8ff;
  --badge-bg: #22272e;
  --badge-fg: #b0b8c1;
  --banner-bg: rgba(176, 184, 193, 0.12);
  --banner-border: #ee2f4b;
  --shadow: rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f5f7;
  --bg-sidebar: #fbfbfc;
  --bg-activitybar: #fbfbfc;
  --bg-tabbar: #fbfbfc;
  --bg-tab: #fbfbfc;
  --bg-tab-active: #f4f5f7;
  --bg-raised: #ffffff;
  --bg-input: #ffffff;
  --bg-hover: #eceef1;
  --bg-selected: #e0e3e7;
  --bg-overlay: #ffffff;
  --fg: #171b20;
  --fg-dim: #48515b;
  --fg-3: #606974;
  --border: #d8dce1;
  --border-strong: #b4bbc3;
  --accent: #d91f3b;
  --accent-hover: #c21a34;
  --accent-text: #c9142f;
  --on-accent: #ffffff;
  --error: #c4281c;
  --error-bg: rgba(196, 40, 28, 0.08);
  --warning: #8a5f00;
  --warning-bg: rgba(138, 95, 0, 0.1);
  --ok: #177a44;
  --ok-bg: rgba(23, 122, 68, 0.1);
  --info: #1a5fb8;
  --badge-bg: #eceef1;
  --badge-fg: #48515b;
  --banner-bg: rgba(72, 81, 91, 0.08);
  --banner-border: #ee2f4b;
  --shadow: rgba(20, 30, 45, 0.16);
  color-scheme: light;
}
/* Landing, pricing, project list and pairing page. Tokens are scoped to .site
   and prefixed, so the editor's tokens and components nested here stay untouched. */

.site {
  --site-app: var(--bg);
  --site-panel: var(--bg-sidebar);
  --site-raised: var(--bg-raised);
  --site-input: var(--bg-input);
  --site-hover: #2a313a;
  --site-border: var(--border);
  --site-border-strong: var(--border-strong);
  --site-fg: var(--fg);
  --site-fg2: var(--fg-dim);
  --site-fg3: var(--fg-3);
  --site-accent: var(--accent);
  --site-accent-text: var(--accent-text);
  --site-on-accent: var(--on-accent);
  --site-err: var(--error);
  --site-ok: var(--ok);
  --site-ok-bg: var(--ok-bg);
  --site-shadow: 0 12px 32px var(--shadow);
  --site-mono: var(--font-mono);

  /* body is overflow:hidden for the editor, so the page is its own scroller. */
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--site-app);
  color: var(--site-fg);
  font-size: 14px;
  line-height: 1.5;
  user-select: text;
  -webkit-user-select: text;
  scroll-behavior: smooth;
}

[data-theme="light"] .site {
  --site-hover: var(--bg-hover);
}

@media (prefers-reduced-motion: reduce) {
  .site { scroll-behavior: auto; }
}

.site :focus-visible { outline: 2px solid var(--site-accent-text); outline-offset: 2px; }

.site small {
  display: block;
  margin-top: 10px;
  color: var(--site-fg3);
  font-size: 12px;
}

.site-box a,
.site-note a { color: var(--site-accent-text); }

.site-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 40px;
}

.site-narrow { padding-bottom: 48px; }

.site-spacer { flex: 1; }

/* Holds the place of an action that isn't known yet, before /auth/me answers. */
.site-placeholder { visibility: hidden; }

.site-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-dim { color: var(--site-fg2); }

/* buttons */

.site-btn,
.site .cloud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background: var(--site-raised);
  border: 1px solid var(--site-border-strong);
  color: var(--site-fg);
}

.site-btn:hover { background: var(--site-hover); }

.site-btn.primary,
.site .cloud-btn {
  background: var(--site-accent);
  border-color: var(--site-accent);
  color: var(--site-on-accent);
}

.site-btn.primary:hover,
.site .cloud-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.site-btn.lg,
.site .cloud-btn-lg {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 600;
}

.site-btn:disabled,
.site .cloud-btn:disabled { opacity: 0.6; cursor: default; }

/* Grey, not a washed-out accent. */
.site-btn.primary:disabled,
.site .cloud-btn:disabled {
  opacity: 1;
  background: var(--site-raised);
  border-color: var(--site-border);
  color: var(--site-fg3);
}

/* nav */

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  min-height: 64px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--site-fg);
  text-decoration: none;
}

.site-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--site-accent);
  color: var(--site-on-accent);
  display: grid;
  place-items: center;
  font: 600 12px/1 var(--site-mono);
  letter-spacing: -0.04em;
}

.site-links {
  display: flex;
  gap: 22px;
  margin-left: 16px;
}

.site-links a { color: var(--site-fg2); text-decoration: none; white-space: nowrap; }

.site-links a:hover,
.site-links a.on { color: var(--site-fg); }

.site-links a.on { font-weight: 500; }

.site-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--site-fg3);
  font-size: 13px;
}

.site-lang button {
  background: none;
  border: 0;
  padding: 4px;
  font: inherit;
  color: var(--site-fg2);
  cursor: pointer;
  border-radius: 4px;
}

.site-lang button[aria-pressed="true"] { color: var(--site-fg); font-weight: 600; }

.site-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: 0;
  border-radius: 4px;
  color: var(--site-fg2);
  cursor: pointer;
}

.site-theme:hover { background: var(--site-hover); color: var(--site-fg); }

/* Shows the theme a click switches to. */
.site-theme-sun { display: flex; }
.site-theme-moon { display: none; }
[data-theme="light"] .site-theme-sun { display: none; }
[data-theme="light"] .site-theme-moon { display: flex; }

/* landing */

.site-note {
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--site-panel);
  border: 1px solid var(--site-border);
  color: var(--site-fg2);
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  padding-block: 40px 44px;
}

.site-hero h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.site-lead {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--site-fg2);
  max-width: 520px;
}

.site-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-trust {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--site-fg2);
  max-width: 480px;
}

.site-trust svg {
  flex: none;
  color: var(--site-ok);
  margin-top: 1px;
}

.site-shot-wrap { position: relative; min-width: 0; }

/* An example of the assistant over the shot; it moves below the shot on phones. */
.site-ai-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: min(320px, calc(100% - 32px));
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--site-border-strong);
  border-radius: 10px;
  background: var(--site-raised);
  box-shadow: var(--site-shadow);
  font-size: 12.5px;
  line-height: 1.4;
}

.site-ai-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}

.site-ai-card-head .ai-spark { color: var(--site-accent-text); }

.site-ai-card-head span { margin-left: auto; font-weight: 400; color: var(--site-fg3); }

.site-ai-card p { margin: 0; }

.site-ai-card .site-ai-card-prompt {
  margin-bottom: 6px;
  padding-left: 8px;
  border-left: 2px solid var(--site-border-strong);
  color: var(--site-fg2);
}

.site-hero-feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 32px;
  list-style: none;
  margin: 0;
  padding: 22px 0 32px;
  border-top: 1px solid var(--site-border);
}

.site-hero-feats li { display: flex; gap: 10px; min-width: 0; }

.site-hero-feats svg { flex: none; margin-top: 2px; color: var(--site-accent-text); }

.site-hero-feats h2 { margin: 0 0 2px; font-size: 14px; line-height: 1.4; font-weight: 600; }

.site-hero-feats p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--site-fg2); }

.site-shot {
  border-radius: 10px;
  border: 1px solid var(--site-border-strong);
  overflow: hidden;
  box-shadow: var(--site-shadow);
  background: var(--site-panel);
  aspect-ratio: 1440 / 900;
}

.site-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* The screenshot follows the page theme. */
.site-shot .site-shot-dark,
[data-theme="dark"] .site-shot .site-shot-light { display: none; }

[data-theme="dark"] .site-shot .site-shot-dark { display: block; }

.site-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--site-border);
  scroll-margin-top: 16px;
}

.site-flow > div { padding: 22px 28px 24px 0; }

.site-flow > div + div { padding-left: 28px; border-left: 1px solid var(--site-border); }

.site-flow i { font: 500 13px var(--site-mono); color: var(--site-accent-text); }

.site-flow h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 6px 0 4px;
}

.site-flow p { margin: 0; color: var(--site-fg2); }

.site-sec { padding-block: 56px 8px; scroll-margin-top: 8px; }

.site-sec > h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

.site-sec-lead {
  margin: 0 0 24px;
  color: var(--site-fg2);
  font-size: 15px;
  max-width: 640px;
}

.site-inst {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-box {
  background: var(--site-panel);
  border: 1px solid var(--site-border);
  border-radius: 10px;
  padding: 20px;
}

.site-box h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.site-box > p { margin: 0 0 12px; color: var(--site-fg2); }

.site-ai {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  background: var(--site-panel);
}

.site-ai h2 {
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 600;
}

.site-ai p { margin: 0 0 8px; color: var(--site-fg2); }

.site-ai a { color: var(--site-accent-text); }

.site-ai ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.site-ai li {
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid var(--site-border);
  font-size: 13px;
}

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 56px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--site-border);
  color: var(--site-fg3);
  font-size: 13px;
}

.site-foot a,
.site-foot button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--site-fg2);
  text-decoration: none;
  cursor: pointer;
}

.site-foot-links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* copy command */

.site .cloud-cmd-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 6px 6px 6px 12px;
  border-radius: 6px;
  background: var(--site-input);
  border: 1px solid var(--site-border);
  font: 400 13px/1.5 var(--site-mono);
  color: var(--site-fg);
  overflow: visible;
}

.site .cloud-cmd-copy code {
  flex: 1;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}

.cloud-copy-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  border-radius: 5px;
  color: var(--site-fg2);
  cursor: pointer;
}

.cloud-copy-btn:hover { background: var(--site-hover); color: var(--site-fg); }

/* project list */

.site-page-head { padding-block: 28px 18px; }

.site-page-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.site-page-head p { margin: 4px 0 0; color: var(--site-fg2); }
.site-page-head a { color: var(--site-accent-text); }

.site-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--site-panel);
}

.site-table th,
.site-table td {
  padding: 12px 16px;
  text-align: left;
  border-top: 1px solid var(--site-border);
  overflow-wrap: anywhere;
}

.site-table thead th {
  border-top: 0;
  padding-block: 9px;
  font-size: 12px;
  font-weight: 400;
  color: var(--site-fg3);
  background: var(--site-raised);
}

.site-table tbody th { font-weight: 600; }

.site-table td:last-child { width: 90px; text-align: right; }

.site-connect { margin-top: 16px; }

/* pricing */

.pricing-head { padding-block: 32px 28px; }

.pricing-head h1 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.pricing-head p {
  margin: 0;
  color: var(--site-fg2);
  font-size: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  padding-bottom: 48px;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-plan {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--site-panel);
  border: 1px solid var(--site-border);
  border-radius: 10px;
}

.pricing-plan-featured { border-color: var(--site-accent); }

.pricing-plan h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.pricing-price {
  margin: 10px 0 2px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.pricing-price small {
  display: inline;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--site-fg2);
  letter-spacing: 0;
}

.pricing-sub {
  margin: 0 0 18px;
  color: var(--site-fg2);
  font-size: 13px;
}

.pricing-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.pricing-features li { display: flex; gap: 8px; }

.pricing-features svg {
  flex: none;
  margin-top: 3px;
  color: var(--site-ok);
}

.pricing-action { margin-top: auto; }

.pricing-action .site-btn { width: 100%; }

.pricing-action .cloud-pair-done { margin: 0 0 10px; }

.pricing-current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  border: 1px dashed var(--site-border-strong);
  border-radius: 8px;
  color: var(--site-fg2);
  font-weight: 500;
}

.pricing-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  margin-top: 14px;
  color: var(--site-fg2);
  font-size: 13px;
}

.pricing-faq h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
}

.pricing-faq h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-faq p { margin: 0 0 16px; color: var(--site-fg2); }

/* pairing page and the sign-in form */

/* The footer stays at the bottom and the card centers between it and the nav. */
.site-login-page { display: flex; flex-direction: column; }

.site-login-page > .site-wrap { width: 100%; flex: none; }

.site-login-page > .site-login {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 24px 0;
}

.site-login .cloud-signin h2:first-child { margin-top: 0; }

.cloud-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
}

.cloud-card {
  width: 100%;
  max-width: 520px;
  /* Centered when it fits, top-aligned and scrollable when it does not. */
  margin-block: auto;
  flex: none;
  background: var(--site-panel);
  border: 1px solid var(--site-border);
  border-radius: 10px;
  padding: 28px 32px;
}

.cloud-card h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
}

.cloud-card h2,
.cloud-signin h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.cloud-sub,
.site .cloud-signin p:not(.cloud-pair-done) { color: var(--site-fg2); margin-top: 0; }

.cloud-card p { color: var(--site-fg2); }

.site .cloud-dim { color: var(--site-fg3); font-size: 13px; }

.site .cloud-error { color: var(--site-err); }

.site .cloud-pair-done { color: var(--site-ok); }

.cloud-pair-code {
  margin: 12px 0 6px;
  padding: 12px;
  text-align: center;
  font: 600 24px var(--site-mono);
  letter-spacing: 0.12em;
  background: var(--site-input);
  border: 1px solid var(--site-border-strong);
  border-radius: 8px;
  color: var(--site-fg);
  user-select: all;
  -webkit-user-select: all;
}

.site .cloud-pair-codehint { margin-top: 0; text-align: center; }

.cloud-pair-primary { margin: 16px 0; }

.cloud-pair-secondary {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--site-border);
}

.cloud-pair-secondary h2 { margin-top: 0; }

.cloud-signin { margin-bottom: 8px; }

.cloud-pair-create {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cloud-pair-create input {
  flex: 1 1 180px;
  min-width: 0;
  min-height: 34px;
  padding: 0 10px;
  font: inherit;
  background: var(--site-input);
  color: var(--site-fg);
  border: 1px solid var(--site-border-strong);
  border-radius: 6px;
}

.cloud-pair-create input::placeholder { color: var(--site-fg3); }

.cloud-projects {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cloud-projects li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--site-border);
  overflow-wrap: anywhere;
}

.cloud-projects li:last-child { border-bottom: 0; }

/* sign-in dialog */

.site-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  padding: 16px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.55);
}

.site-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: 24px;
  background: var(--site-raised);
  border: 1px solid var(--site-border-strong);
  border-radius: 10px;
  box-shadow: var(--site-shadow);
}

.site-dialog .cloud-signin { margin: 0; }

.site-dialog h2 { margin: 0 36px 8px 0; font-size: 18px; }

.site-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  border-radius: 6px;
  color: var(--site-fg2);
  cursor: pointer;
}

.site-dialog-close:hover { background: var(--site-hover); }

@media (max-width: 960px) {
  .site-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-hero-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .site-wrap { padding-inline: 16px; }
  .site-nav {
    gap: 0 8px;
    padding-top: 6px;
    min-height: 0;
  }
  .site-brand { min-height: 44px; }
  /* Brand, language and theme fill the first row. Links start the second, and sign-in
     drops to its own row, right aligned, when it does not fit beside them. */
  .site-links {
    order: 5;
    flex: 1 0 calc(100% - 140px);
    margin: 0 0 0 -8px;
    gap: 4px;
  }
  .site-theme ~ * { order: 6; }
  .site-theme + * { margin-left: auto; }
  .site-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
  }
  .site-lang button { min-width: 44px; min-height: 44px; }
  .site-theme { width: 44px; height: 44px; }
  .site-btn,
  .site .cloud-btn,
  .cloud-pair-create input,
  .cloud-copy-btn,
  .site-dialog-close { min-height: 44px; }
  .cloud-copy-btn,
  .site-dialog-close { width: 44px; height: 44px; }
  .site-dialog-close { top: 6px; right: 6px; }
  .site-hero { padding-block: 18px 28px; }
  .site-hero h1 { font-size: 32px; }
  .site-lead { font-size: 16px; margin-bottom: 18px; }
  .site-cta .site-btn { flex: 1 1 100%; }
  .site-flow { grid-template-columns: minmax(0, 1fr); }
  .site-flow > div,
  .site-flow > div + div { padding: 16px 0; border-left: 0; }
  .site-flow > div + div { border-top: 1px solid var(--site-border); }
  .site-ai-card { position: static; width: auto; margin-top: 10px; }
  .site-hero-feats,
  .site-inst,
  .site-ai,
  .pricing-plans { grid-template-columns: minmax(0, 1fr); }
  .site-ai ul { justify-content: flex-start; }
  .site-foot a,
  .site-foot button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .site-box a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .pricing-head h1 { font-size: 28px; }
  .cloud-card { padding: 20px; }
  .cloud-pair-create .cloud-btn { flex: 1 1 100%; }
  .site-table td > .site-dim[aria-hidden="true"] { display: none; }
  .site-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .site-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    padding: 12px 14px;
    border-top: 1px solid var(--site-border);
  }
  .site-table tbody th,
  .site-table tbody td { padding: 0; border: 0; }
  .site-table td:last-child {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    width: auto;
  }
}
/* Static pages only, appended to styles-site.css by scripts/build-site.mjs. The
   editor's body rules are absent here, so the document itself scrolls. */

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
}

.site { height: auto; overflow: visible; font-size: 15px; line-height: 1.6; }

.site-lang a {
  padding: 4px;
  border-radius: 4px;
  color: var(--site-fg2);
  text-decoration: none;
}

.site-lang a[aria-current="true"] { color: var(--site-fg); font-weight: 600; }

.cloud-copy-btn[hidden] { display: none; }
.cloud-copy-btn .sp-done { display: none; }
.cloud-copy-btn[data-copied] .sp-idle { display: none; }
.cloud-copy-btn[data-copied] .sp-done { display: inline; }

.sp-crumbs {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 13px;
  color: var(--site-fg3);
}

.sp-crumbs li + li::before { content: "/"; margin-right: 8px; }

.sp-crumbs a { color: var(--site-fg2); }

.sp-article { max-width: 760px; padding-bottom: 8px; }

.sp-article h1 {
  margin: 20px 0 14px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.sp-answer { margin: 0 0 12px; font-size: 18px; color: var(--site-fg); }

.sp-article h2 {
  margin: 36px 0 10px;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sp-article h3 { margin: 18px 0 4px; font-size: 16px; font-weight: 600; }

.sp-article p,
.sp-article li { color: var(--site-fg2); }

.sp-article p { margin: 0 0 12px; }

.sp-article ul,
.sp-article ol { margin: 0 0 14px; padding-left: 22px; }

.sp-article li { margin-bottom: 6px; }

.sp-article a,
.sp-home-prose a { color: var(--site-accent-text); }

.sp-article code,
.sp-home-prose code {
  font: 400 0.9em var(--site-mono);
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--site-input);
  overflow-wrap: anywhere;
}

.sp-article pre {
  margin: 0 0 14px;
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid var(--site-border);
  border-radius: 8px;
  background: var(--site-input);
  color: var(--site-fg);
}

.sp-article pre code { padding: 0; background: none; font-size: 13px; overflow-wrap: normal; }

.sp-table-wrap { margin: 0 0 14px; overflow-x: auto; }

.sp-article .site-table { font-size: 14px; }

.sp-article .site-table td:last-child { width: auto; text-align: left; }

.sp-article a.site-btn:not(.primary) { color: var(--site-fg); }

.sp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }

.sp-home-prose { max-width: 760px; }

.sp-home-prose p { color: var(--site-fg2); margin: 0 0 12px; }

.sp-guides {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-guides a { color: var(--site-accent-text); }

@media (max-width: 760px) {
  .sp-article h1 { font-size: 29px; }
  .site-lang a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  /* styles-site.css reflows .site-table into cards; comparison tables stay tables. */
  .sp-article .site-table thead { position: static; width: auto; height: auto; clip-path: none; }
  .sp-article .site-table tbody tr { display: table-row; padding: 0; }
  .sp-article .site-table tbody th,
  .sp-article .site-table tbody td { padding: 10px 12px; border-top: 1px solid var(--site-border); }
}
