/* Public-site system. Keep dashboard tokens and application widgets untouched.
   Breakpoints: 1024 (laptop), 760 (stacked navigation), 480 (compact phone). */
@font-face {
  font-family: "Geist Site";
  src: url("/assets/fonts/geist-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist Site";
  src: url("/assets/fonts/geist-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
html:has(> .site-page) { background: #0b0c0e; }
.site-page {
  --site-bg: #0b0c0e;
  --site-surface: #111315;
  --site-raised: #191c20;
  --site-ink: #f0f1f3;
  --site-secondary: #a9afb9;
  --site-muted: #9198a3;
  --site-line: #282c32;
  --site-blue: #0156fd;
  --site-blue-hover: #2470ff;
  --site-blue-ink: #8db5ff;
  --site-positive: #93d4b7;
  --site-font: "Geist Site", "Segoe UI", sans-serif;
  --site-space-1: 4px;
  --site-space-2: 8px;
  --site-space-3: 12px;
  --site-space-4: 16px;
  --site-space-5: 24px;
  --site-space-6: 32px;
  --site-space-7: 48px;
  --site-section: clamp(64px, 8vw, 112px);
  --site-radius-control: 5px;
  --site-radius-panel: 10px;
  --site-shadow: 0 24px 72px #00000026;
  --site-body: 16px;
  --site-small: 13px;
  --site-heading: clamp(30px, 3.5vw, 44px);
  background: var(--site-bg);
  color: var(--site-ink);
}
.site-page .marketing-page,
.site-page .site-header,
.site-page .legal-page,
.site-page .site-auth { font-family: var(--site-font); }
.site-page .marketing-page { font-size: var(--site-body); line-height: 1.65; }
.site-page .marketing-page [hidden] { display: none !important; }
.site-page .marketing-page a,
.site-page .site-header a { text-decoration: none; }
.site-page :is(.marketing-page, .site-header, .legal-page, .site-auth) :focus-visible {
  outline: 2px solid var(--site-blue-ink);
  outline-offset: 5px;
}
.site-page .marketing-page ::selection { background: #174d9e; color: #fff; }
.m-shell { width: min(calc(100% - 96px), 1180px); margin-inline: auto; }
.site-page[data-site-view="landing"] .app-main { padding: 0; max-width: none; margin: 0; }
.site-page #view-landing { max-width: none; }
.site-page .site-header {
  height: 76px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--site-line);
  background: #0b0c0ef7;
  backdrop-filter: none;
}
.site-page .site-header .header-container {
  width: min(calc(100% - 96px), 1180px);
  max-width: none;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  gap: 32px;
}
.site-page .site-header .header-container::before { content: none; }
.site-lockup { display: block; width: 108px; height: auto; }
.site-page .site-header .header-brand { flex-shrink: 0; }
.site-page .site-header .brand-link { padding-block: 8px; }
.site-page .site-header .header-nav { gap: 28px; margin: 0 auto 0 20px; overflow: visible; }
.site-page .site-header .nav-link { font-size: 13px; font-weight: 400; color: var(--site-secondary); padding-block: 12px; white-space: nowrap; }
.site-page .site-header .nav-link:is(:hover, [aria-current]) { color: #fff; }
.site-page .site-header .header-actions { gap: 12px; margin: 0; }
.site-page .site-header .btn,
.site-page .site-auth .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 15px;
  font: 600 13px var(--site-font);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-control);
  background: var(--site-surface);
  box-shadow: none;
  color: var(--site-ink);
  transition: background 160ms, border-color 160ms;
}
.site-page .site-header .btn::after,
.site-page .site-auth .btn::after { content: none; }
.site-page .site-header .btn-secondary { border-color: transparent; background: transparent; color: var(--site-secondary); }
.site-page .site-header .btn:hover { background: var(--site-raised); border-color: #444a55; color: #fff; }
.site-page .site-header .btn-secondary:hover { border-color: transparent; }
.site-page .site-header .user-badge { font-size: 12px; max-width: 150px; }
.site-page .site-header .user-badge span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-menu-toggle { display: none; }
.m-kicker { margin: 0 0 18px; color: var(--site-blue-ink); font-size: 12px; font-weight: 600; letter-spacing: .035em; }
.m-hero { padding-top: 44px; }
.m-hero-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 60px; align-items: end; margin-bottom: 44px; }
.m-hero h1 { max-width: 760px; color: var(--site-ink); font-size: clamp(42px, 5vw, 66px); font-weight: 600; line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.m-hero-summary { padding-bottom: 3px; }
.m-hero-summary > p { max-width: 410px; color: var(--site-secondary); font-size: 16px; line-height: 1.65; }
.m-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
.m-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--site-radius-control); color: #fff; font: 600 13px var(--site-font); transition: background 160ms, border-color 160ms, transform 160ms; }
.m-button-primary { background: var(--site-blue); border-color: var(--site-blue); }
.m-button-primary:hover { color: #fff; background: var(--site-blue-hover); border-color: var(--site-blue-hover); }
.m-button:active { transform: translateY(1px); }
.m-button img { display: block; }
.m-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--site-ink); font-size: 13px; font-weight: 600; }
.m-text-link span { color: var(--site-secondary); transition: transform 160ms; }
.m-text-link:hover span { transform: translate(2px, -1px); color: #fff; }
.m-product-stage { border: 1px solid #343b48; border-top-color: #4e648c; border-radius: var(--site-radius-panel); background: var(--site-surface); box-shadow: var(--site-shadow); overflow: hidden; }
.m-workspace-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 24px; border-bottom: 1px solid var(--site-line); background: linear-gradient(100deg, #14223a 0%, #111722 45%, #111315 80%); }
.m-workspace-brand { display: inline-flex; align-items: center; gap: 12px; color: #dfe7f6; font-weight: 600; font-size: 13px; }
.m-example-label { color: var(--site-muted); font-size: 11px; line-height: 1.5; }
.m-workspace { display: grid; grid-template-columns: 1fr 1fr; }
.m-conversation { display: flex; flex-direction: column; min-width: 0; padding: 20px 28px 16px; border-right: 1px solid var(--site-line); }
.m-demo-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.m-example-avatar { display: grid; place-items: center; width: 32px; height: 32px; background: #252e3d; color: #b2c4e2; border-radius: 8px; font-size: 13px; }
.m-demo-heading strong { display: block; color: #d9dde4; font-size: 12px; font-weight: 600; }
.m-demo-heading div > span { color: var(--site-muted); font-size: 11px; }
.m-user-message { margin-left: 64px; padding: 12px 16px; background: #20242b; border-radius: 8px 8px 2px 8px; }
.m-user-message > span { font-size: 11px; color: #b4bbc7; }
.m-user-message p { margin-top: 4px; color: #eaedf2; font-size: 13px; line-height: 1.6; }
.m-fork-message { display: flex; gap: 14px; margin: 20px 0; }
.m-fork-message > img { margin-top: 3px; flex-shrink: 0; }
.m-fork-message p { max-width: 390px; font-size: 13px; line-height: 1.7; color: #c0c5ce; }
.m-draft-status { display: inline-flex; align-items: center; gap: 8px; color: var(--site-blue-ink); font-size: 11px; margin-top: 12px; }
.m-draft-status i, .m-status-dot { display: inline-block; width: 5px; height: 5px; background: currentColor; border-radius: 50%; vertical-align: middle; margin-right: 2px; }
.m-composer-example { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding: 10px 14px; border: 1px solid var(--site-line); border-radius: var(--site-radius-control); color: var(--site-muted); font-size: 12px; }
.m-composer-example > span:last-child { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; color: #c2c9d6; background: #252b34; }
.m-demo-footnote { font-size: 10px; color: var(--site-muted); text-align: center; margin-top: 10px; }
.m-inspector { min-width: 0; background: #14171b; }
.m-preview-tabs { display: flex; gap: 24px; padding: 0 24px; border-bottom: 1px solid var(--site-line); }
.m-preview-tabs button { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--site-muted); font: 400 12px var(--site-font); cursor: pointer; }
.m-preview-tabs button[aria-selected="true"] { color: #e8ecf3; border-bottom-color: #4d8aff; }
.m-preview-tabs button:hover { color: #fff; }
.m-preview-tabs button span { color: #9aafd1; background: #202c41; border-radius: 3px; padding: 0 5px; font-size: 10px; }
.m-preview-content { padding: 20px 24px; min-height: 300px; }
.m-preview-title h2 { font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.m-preview-title p { color: var(--site-muted); font-size: 12px; margin-top: 5px; }
.m-change-list { list-style: none; margin: 16px 0; }
.m-change-list li { display: flex; align-items: center; gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--site-line); }
.m-change-list li:first-child { padding-top: 0; }
.m-resource-symbol { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; font-size: 19px; line-height: 1; color: #b5c4de; }
.m-change-list strong { display: block; font-size: 12px; color: #d6dce6; font-weight: 600; }
.m-change-list div > span { display: block; color: var(--site-muted); font-size: 11px; }
.m-change-type { margin-left: auto; color: var(--site-positive); font-size: 10px; }
.m-review-button { display: flex; justify-content: space-between; gap: 24px; width: 100%; min-height: 40px; padding: 10px 14px; border: 1px solid #34496a; border-radius: var(--site-radius-control); background: #1b293f; color: #cfdef7; font: 600 12px var(--site-font); cursor: pointer; transition: background 160ms; }
.m-review-button:hover { background: #253957; }
.m-stage-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 11px; }
.m-stage-caption a { display: inline-flex; align-items: center; gap: 12px; color: #cbd2de; }
.m-stage-caption a:hover { color: #fff; }
.m-channel-tree { list-style: none; color: #bcc6d6; font-size: 12px; margin-top: 20px; }
.m-channel-tree > li { padding-block: 6px; }
.m-channel-tree ul { list-style: none; padding-left: 24px; margin-top: 6px; line-height: 2.2; color: var(--site-secondary); }
.m-tree-new { border-top: 1px solid var(--site-line); margin-top: 8px; }
.m-tree-new small { margin-left: 10px; color: var(--site-positive); font-size: 10px; }
.m-panel-note { margin-top: 20px; color: var(--site-muted); font-size: 12px; line-height: 1.7; }
.m-access-list { margin-top: 20px; }
.m-access-list > div { display: flex; gap: 16px; justify-content: space-between; padding-block: 13px; border-bottom: 1px solid var(--site-line); font-size: 12px; }
.m-access-list dt { color: #bec6d2; }
.m-access-list dd { color: var(--site-muted); text-align: right; }
.m-positive, .m-access-list .m-positive { color: var(--site-positive); }
.m-capability-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--site-line); padding-block: 8px; margin-top: 16px; }
.m-capability-rail a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; color: var(--site-secondary); font-size: 12px; border-right: 1px solid var(--site-line); }
.m-capability-rail a:first-child { padding-left: 0; }
.m-capability-rail a:last-child { border-right: 0; padding-right: 0; }
.m-capability-rail a > span { color: #697688; }
.m-capability-rail a:hover { color: #fff; }
.m-section { padding-block: var(--site-section); scroll-margin-top: 92px; }
.m-product-stage, .m-controls { scroll-margin-top: 92px; }
.m-section h2 { font-size: var(--site-heading); font-weight: 600; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.m-section-copy > p:not(.m-kicker) { font-size: 15px; line-height: 1.8; color: var(--site-secondary); margin-top: 24px; max-width: 440px; }
.m-section-copy > .m-text-link { margin-top: 24px; }
.m-moderation { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 96px; }
.m-check-list { list-style: none; margin-top: 24px; }
.m-check-list li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #c1c6ce; margin-block: 9px; }
.m-check-list li::before { content: ""; width: 7px; height: 4px; border-left: 1.5px solid var(--site-blue-ink); border-bottom: 1.5px solid var(--site-blue-ink); transform: rotate(-45deg); }
.m-case-example { border: 1px solid var(--site-line); border-radius: var(--site-radius-panel); background: var(--site-surface); overflow: hidden; box-shadow: var(--site-shadow); }
.m-case-example figcaption { display: flex; gap: 16px; justify-content: space-between; border-bottom: 1px solid var(--site-line); padding: 18px 24px; font-size: 12px; color: #c8cdd6; }
.m-case-heading { padding: 32px 28px 24px; display: flex; gap: 16px; align-items: center; }
.m-case-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; color: #d7b895; background: #28231f; border-radius: 8px; }
.m-case-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.m-case-heading p { color: #c7b9a6; font-size: 11px; }
.m-case-heading h3 { margin-top: 3px; font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
.m-case-facts { padding: 0 28px 20px; }
.m-case-facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--site-line); font-size: 12px; }
.m-case-facts dt { color: var(--site-muted); }
.m-case-facts dd { color: #d6d9df; }
.m-case-outcome { display: flex; gap: 14px; padding: 18px 28px; background: #161d1b; color: #a3b8ac; font-size: 12px; }
.m-case-outcome > span { color: var(--site-positive); }
.m-operations { border-block: 1px solid var(--site-line); background: #0e1012; }
.m-section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 96px; align-items: end; margin-bottom: 40px; }
.m-section-heading > p { color: var(--site-secondary); font-size: 15px; line-height: 1.8; max-width: 400px; }
.m-operations-grid { display: grid; grid-template-columns: 1.15fr 1fr; border-top: 1px solid #3c424c; }
.m-operations-grid > article { padding: 32px 40px 0 0; min-width: 0; }
.m-operations-grid > article + article { padding: 32px 0 0 40px; border-left: 1px solid var(--site-line); }
.m-operations-grid h3 { font-size: 23px; font-weight: 600; letter-spacing: -.035em; }
.m-operations-grid article > p { margin-top: 12px; max-width: 450px; color: var(--site-secondary); font-size: 14px; line-height: 1.8; }
.m-schedule-example { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding: 20px 0; border-block: 1px solid var(--site-line); }
.m-schedule-example > div { flex: 1; min-width: 0; }
.m-schedule-example span:not(.m-flow-arrow) { display: block; color: var(--site-blue-ink); font-size: 11px; margin-bottom: 8px; }
.m-schedule-example strong { display: block; color: #e0e4eb; font-weight: 400; font-size: 15px; }
.m-schedule-example small { display: block; color: var(--site-muted); font-size: 11px; margin-top: 4px; }
.m-flow-arrow { color: var(--site-blue-ink); font-size: 24px; margin-right: 12px; }
.m-reminder-message { display: flex; align-items: center; gap: 10px; padding-block: 18px; color: #c1c9d7; font-size: 13px; }
.m-control-list { margin-top: 24px; }
.m-control-list > div { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-block: 16px; border-bottom: 1px solid var(--site-line); font-size: 12px; }
.m-control-list dt { display: flex; align-items: center; gap: 10px; color: #c7cdd6; }
.m-control-list dt span { width: 16px; color: var(--site-muted); }
.m-control-list dd { color: var(--site-blue-ink); }
.m-operations-grid article > .m-small-copy { font-size: 11px; color: var(--site-muted); margin-top: 18px; }
.m-dashboard-shot { margin: 0; }
.m-dashboard-shot > img { display: block; width: 100%; height: auto; border: 1px solid var(--site-line); border-radius: var(--site-radius-panel); }
.m-dashboard-shot figcaption { display: flex; justify-content: space-between; gap: 16px; color: var(--site-muted); font-size: 11px; margin-top: 14px; }
.m-start { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 1px solid var(--site-line); }
.m-start-intro { position: relative; }
.m-brand-symbol { display: block; width: 68px; height: 66px; object-fit: contain; margin-bottom: 24px; }
.m-start-intro > p:not(.m-kicker) { margin-top: 24px; color: var(--site-secondary); font-size: 15px; max-width: 430px; }
.m-faq { padding-top: 4px; }
.m-faq > h3 { font-weight: 400; font-size: 17px; margin-bottom: 20px; }
.m-faq details { border-top: 1px solid var(--site-line); }
.m-faq details:last-child { border-bottom: 1px solid var(--site-line); }
.m-faq summary { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-block: 19px; cursor: pointer; font-size: 13px; color: #d5dae2; list-style: none; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; color: var(--site-muted); font-size: 20px; font-weight: 400; }
.m-faq details[open] summary::after { content: "−"; }
.m-faq details > p { padding: 0 28px 22px 0; color: var(--site-secondary); font-size: 13px; line-height: 1.8; }
.m-faq details a { color: var(--site-blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.m-footer { background: #090a0c; border-top: 1px solid var(--site-line); padding-block: 44px 24px; }
.m-footer-top { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 36px; }
.m-footer-top > p { color: var(--site-muted); font-size: 12px; max-width: 180px; line-height: 1.6; }
.m-footer-top > a > img { display: block; }
.m-footer-top nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.m-footer-top nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--site-secondary); }
.m-footer-top nav a:hover { color: #fff; }
.m-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 24px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 11px; }
.m-team-credit { display: inline-flex; gap: 12px; align-items: center; }
.m-team-credit img { object-fit: contain; opacity: .8; }

/* Supporting public routes use the same identity without changing policy copy
   or any Turnstile fields, action names or server authorization behavior. */
.site-page .legal-page { background: none; width: min(calc(100% - 48px), 860px); margin-inline: auto; padding-block: 64px; }
.site-page .legal-intro { max-width: none; padding: 0 0 40px; }
.site-page .legal-intro .eyebrow { color: var(--site-blue-ink); letter-spacing: .04em; }
.site-page .legal-intro h1 { font-size: 46px; font-weight: 600; letter-spacing: -.04em; }
.site-page .legal-page .section-container { padding: 32px 0; max-width: none; background: none; border-top: 1px solid var(--site-line); }
.site-page .legal-page .section-header { margin-bottom: 24px; }
.site-page .legal-page .legal-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.site-page .legal-card p { color: var(--site-secondary); font-size: 14px; line-height: 1.95; margin-block: 18px; }
.site-page .legal-card strong { color: var(--site-ink); font-weight: 600; }
.site-page .legal-card code { white-space: normal; overflow-wrap: anywhere; }
.site-page .legal-page .app-footer { border: 0; background: none; padding: 32px 0 0; }
.site-page .legal-page .footer-container { flex-wrap: wrap; gap: 24px; font-size: 12px; }
.site-page .site-auth { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.site-page .turnstile-login-card { width: min(100%, 440px); background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius-panel); padding: 36px; box-shadow: var(--site-shadow); }
.site-page .site-auth .brand-link { margin-bottom: 36px; }
.site-page .site-auth h1 { font-size: 28px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 12px; }
.site-page .site-auth p { color: var(--site-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.site-page .turnstile-login-widget { min-height: 65px; margin-bottom: 24px; }
.site-page .site-auth .btn-discord { width: 100%; min-height: 46px; background: var(--site-blue); border-color: var(--site-blue); }
.site-page .site-auth .btn-discord:hover { background: var(--site-blue-hover); }
.site-page .site-auth .btn:disabled { opacity: .6; cursor: wait; }
.site-page .turnstile-login-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--site-secondary); font-size: 12px; }
.site-auth-credit { color: var(--site-muted); border-top: 1px solid var(--site-line); margin-top: 24px; padding-top: 20px; font-size: 11px; }

@media (max-width: 1024px) {
  .m-shell, .site-page .site-header .header-container { width: calc(100% - 64px); }
  .site-page .site-header .header-container { gap: 20px; }
  .site-page .site-header .header-nav { gap: 18px; margin-left: 0; }
  .m-hero-intro { gap: 32px; grid-template-columns: 1.3fr 1fr; }
  .m-hero-summary .m-actions { gap: 10px 20px; }
  .m-hero h1 { font-size: 54px; }
  .m-hero-summary > p { font-size: 14px; }
  .m-conversation { padding: 24px; }
  .m-user-message { margin-left: 24px; }
  .m-moderation, .m-start { gap: 48px; }
  .m-section-heading { gap: 48px; }
  .m-footer-top > p { display: none; }
}
@media (max-width: 760px) {
  .m-shell, .site-page .site-header .header-container { width: calc(100% - 40px); }
  .site-page .site-header { height: 68px; }
  .site-page .site-header .header-container { gap: 16px; position: static; }
  .site-lockup { width: 96px; }
  .site-page .site-header .header-actions { margin-left: auto; gap: 6px; }
  .site-page .site-header .header-actions .btn { min-height: 40px; padding-inline: 10px; font-size: 12px; }
  .site-page .site-header .user-badge { display: none; }
  .site-page .site-header .header-nav { display: none; position: absolute; top: 67px; left: 0; right: 0; padding: 16px 20px 20px; margin: 0; border-bottom: 1px solid var(--site-line); background: var(--site-bg); }
  .site-page .site-header.is-menu-open .header-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-page .site-header .nav-link { padding: 12px 0; }
  .site-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; color: var(--site-ink); border: 1px solid var(--site-line); border-radius: 5px; flex-shrink: 0; cursor: pointer; }
  .site-menu-toggle span { width: 16px; height: 1px; background: currentColor; margin-inline: auto; transition: transform 160ms; }
  .is-menu-open .site-menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .is-menu-open .site-menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .m-hero { padding-top: 44px; }
  .m-hero-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .m-hero h1 { max-width: 640px; font-size: clamp(42px, 8vw, 60px); }
  .m-hero-summary > p { font-size: 15px; max-width: 500px; }
  .m-actions { margin-top: 20px; }
  .m-workspace { grid-template-columns: 1fr; }
  .m-workspace-bar { padding: 14px 18px; align-items: start; }
  .m-workspace-bar .m-example-label { max-width: 140px; text-align: right; font-size: 10px; }
  .m-conversation { border-right: 0; border-bottom: 1px solid var(--site-line); padding: 24px; }
  .m-demo-heading { margin-bottom: 20px; }
  .m-user-message { max-width: 420px; margin-left: auto; }
  .m-fork-message p { max-width: 500px; }
  .m-composer-example, .m-demo-footnote { display: none; }
  .m-fork-message { margin-bottom: 0; }
  .m-preview-content { min-height: 312px; }
  .m-stage-caption { padding: 14px 18px; flex-wrap: wrap; gap: 6px; }
  .m-capability-rail { grid-template-columns: 1fr 1fr; }
  .m-capability-rail a { padding: 14px 12px; }
  .m-capability-rail a:nth-child(2n) { border-right: 0; padding-right: 0; }
  .m-capability-rail a:nth-child(2n + 1) { padding-left: 0; }
  .m-moderation, .m-start, .m-section-heading { grid-template-columns: 1fr; gap: 32px; }
  .m-section-copy h2 { max-width: 520px; }
  .m-section-copy > p:not(.m-kicker), .m-section-heading > p { max-width: 520px; }
  .m-section-heading { gap: 20px; margin-bottom: 28px; }
  .m-operations-grid { grid-template-columns: 1fr; }
  .m-operations-grid > article { padding: 28px 0; }
  .m-operations-grid > article + article { border-left: 0; padding: 28px 0 0; border-top: 1px solid var(--site-line); }
  .m-dashboard-shot figcaption { flex-direction: column; gap: 4px; }
  .m-dashboard-shot { overflow-x: auto; padding-bottom: 4px; }
  .m-dashboard-shot > img { min-width: 680px; }
  .m-start { gap: 48px; }
  .m-start-intro h2 { max-width: 540px; }
  .m-footer-top { align-items: start; gap: 20px; padding-bottom: 24px; }
  .m-footer-top nav { width: 100%; gap: 8px 24px; margin-left: 0; }
  .m-footer-bottom { gap: 20px; }
  .m-footer-bottom > span:last-child { display: none; }
  .site-page .legal-page { padding-top: 40px; }
  .site-page .legal-intro h1 { font-size: 36px; }
}
@media (max-width: 480px) {
  .m-hero h1 { font-size: 44px; max-width: 380px; }
  .m-hero .m-kicker { font-size: 11px; }
  .site-page .site-header .header-container { gap: 10px; }
  .site-page .site-header .btn-secondary { padding-inline: 5px; }
  .m-conversation { padding: 20px 18px; }
  .m-user-message { margin-left: 24px; }
  .m-fork-message { gap: 12px; }
  .m-preview-tabs { padding-inline: 18px; }
  .m-preview-content { padding: 22px 18px; }
  .m-case-heading { padding: 24px 20px; }
  .m-case-facts { padding: 0 20px 20px; }
  .m-case-facts > div { grid-template-columns: 84px 1fr; gap: 12px; }
  .m-case-outcome, .m-case-example figcaption { padding-inline: 20px; }
  .m-capability-rail a { font-size: 11px; }
  .m-schedule-example { gap: 10px; }
  .m-schedule-example strong { font-size: 13px; }
  .m-flow-arrow { margin-right: 0; }
  .m-footer-bottom { align-items: start; flex-direction: column; }
  .site-page .turnstile-login-card { padding: 28px 20px; }
}
@media (max-width: 360px) {
  .site-page .site-header .site-lockup { width: 72px; }
  .site-page .site-header .header-actions .btn-secondary { padding-inline: 5px; }
  .site-page .site-header .header-actions .btn > span[aria-hidden] { display: none; }
  /* Leave 300px for the real Turnstile widget even on a 320px screen. */
  .site-page .site-auth { padding: 24px 0; }
  .site-page .turnstile-login-card { padding: 28px 10px; border: 0; border-radius: 0; background: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-page :is(.marketing-page, .site-header, .site-auth) *,
  .site-page :is(.marketing-page, .site-header, .site-auth) *::before,
  .site-page :is(.marketing-page, .site-header, .site-auth) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
