:root {
  --ink: #17231d;
  --muted: #647168;
  --paper: #eef2ea;
  --line: #cbd7cb;
  --panel: #fbfaf5;
  --accent: #2c7d5d;
  --sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Microsoft YaHei', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-icon {
  display: block;
  width: 1em;
  height: 1em;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  min-height: 72px;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  column-gap: clamp(24px, 3vw, 52px);
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgb(238 242 234 / 94%);
  backdrop-filter: blur(14px);
}

.site-edition-switch,
.sn-edition-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 38%);
}

.site-edition-control {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--line);
}

.site-edition-control > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.site-edition-switch button,
.sn-edition-switch button {
  padding: 5px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.site-edition-switch button.is-active {
  background: #193f31;
  color: #fff;
}

html[data-site-edition='breeding'] {
  --paper: #f2efe3;
  --panel: #fbf8eb;
  --accent: #2d7350;
}

html[data-site-edition='breeding'] body {
  background:
    linear-gradient(90deg, rgb(45 115 80 / 4%) 1px, transparent 1px),
    linear-gradient(rgb(45 115 80 / 4%) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

html[data-site-edition='breeding'] .hero h1 {
  letter-spacing: -0.055em;
}

html[data-site-edition='breeding'] .product {
  border-color: #496649;
  box-shadow: 0 40px 100px rgb(53 69 38 / 24%);
}

html[data-site-edition='breeding'] .sn-app {
  background:
    linear-gradient(90deg, rgb(145 213 165 / 4%) 1px, transparent 1px),
    linear-gradient(rgb(145 213 165 / 4%) 1px, transparent 1px),
    #0c1412;
  background-size: 38px 38px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.brand img {
  width: 28px;
  height: 28px;
}
nav {
  display: flex;
  gap: 28px;
  justify-self: center;
  color: var(--muted);
  font-size: 14px;
}
nav a:hover,
footer a:hover,
.text-link:hover {
  color: var(--ink);
}
.topbar > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button-dark {
  border-color: #193f31;
  background: #193f31;
  color: white;
}
.button-dark:hover {
  background: #285944;
}
.button-light {
  background: transparent;
}
.button-light:hover {
  background: rgb(255 255 255 / 8%);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}

.hero {
  display: grid;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 132px) 5vw 100px;
  place-items: center;
}
.hero-copy {
  max-width: 920px;
  text-align: center;
}
.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.95;
}
.hero-copy > p:not(.eyebrow) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 25px);
  letter-spacing: -0.02em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.product {
  width: min(1180px, 100%);
  margin-top: clamp(70px, 9vw, 118px);
  overflow: hidden;
  border: 1px solid #262626;
  border-radius: 18px;
  background: #121417;
  box-shadow: 0 40px 100px rgb(0 0 0 / 20%);
  color: #eef1f3;
}

/* Product demo mirrors the current Shennong Studio workbench. */
.sn-app {
  display: grid;
  height: 650px;
  min-height: 0;
  grid-template-columns: 224px minmax(420px, 1fr) 310px;
  background: #0b1118;
  color: #e4edf3;
  font-family: 'Avenir Next', 'Segoe UI Variable', 'Segoe UI', sans-serif;
}
.sn-sidebar {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  border-right: 1px solid #1b2934;
  background: linear-gradient(180deg, #101922 0%, #0d151d 100%);
}
.sn-drag-space {
  height: 42px;
  flex: 0 0 auto;
}
.sn-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 16px 14px;
}
.sn-brand > strong {
  font-size: 15px;
  font-weight: 650;
}
.sn-brand-mark {
  position: relative;
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.sn-brand-mark img {
  width: 29px;
  height: 29px;
}

.sn-edition-switch {
  margin: 0 12px 7px;
  border-color: #22382e;
  border-radius: 7px;
  background: #0a1210;
}

.sn-edition-switch button {
  padding: 4px 8px;
  border-radius: 5px;
  color: #657c71;
  font-size: 10px;
}

.sn-edition-switch button.is-active {
  background: #1c3328;
  color: #91d5a5;
}
.sn-brand-mark i {
  font-size: 21px;
  font-style: normal;
  line-height: 1;
}
.sn-brand-mark b {
  position: absolute;
  font-size: 9px;
}
.sn-app .mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 0 12px 10px;
  padding: 3px;
  border: 1px solid #223440;
  border-radius: 8px;
  background: #0a121a;
  box-shadow: inset 0 1px 4px rgb(0 0 0 / 28%);
}
.sn-app .mode-switch button {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #637886;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}
.sn-app .mode-switch button.is-active {
  background: #1a2b34;
  box-shadow: 0 1px 4px rgb(0 0 0 / 30%);
  color: #70d6c1;
}
.sn-rail-action {
  display: flex;
  height: 34px;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  margin: 0 12px 3px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9babb4;
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.sn-rail-action:hover {
  background: #15222b;
  color: #cbd7dd;
}
.sn-rail-action > span {
  color: #7ec8ba;
  font-size: 15px;
}
.sn-rail-action b {
  font-weight: 600;
}
.sn-rail-action kbd {
  margin-left: auto;
  color: #77918f;
  font-family: 'Cascadia Code', monospace;
  font-size: 8px;
  font-weight: 400;
}
.sn-new-task {
  color: #d9e4e8;
}
.sn-rail-label {
  margin: 16px 19px 8px;
  color: #617584;
  font-family: 'Cascadia Code', monospace;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.sn-app .demo-sidebar {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
  border: 0;
  background: transparent;
}
.sn-project-heading {
  display: grid;
  height: 30px;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 0 7px;
  color: #8da0ab;
  font-size: 9px;
}
.sn-project-heading strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sn-project-heading small {
  margin: 0;
  color: #526875;
  font-size: 8px;
  letter-spacing: 0;
}
.sn-app .demo-sidebar button {
  display: grid;
  min-width: 0;
  height: 31px;
  grid-template-columns: 10px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 0 8px 0 27px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8295a1;
  font-size: 9px;
  text-align: left;
  cursor: pointer;
}
.sn-app .demo-sidebar button i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #405461;
}
.sn-app .demo-sidebar button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sn-app .demo-sidebar button:hover,
.sn-app .demo-sidebar button.is-active {
  background: #182630;
  color: #d5dfe4;
}
.sn-app .demo-sidebar button.is-active i {
  background: #70d6c1;
  box-shadow: 0 0 8px rgb(112 214 193 / 35%);
}
.sn-sidebar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 11px 14px 14px;
  border-top: 1px solid #1b2934;
}
.sn-sidebar-footer button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #7f919d;
  font-size: 9px;
}
.sn-sidebar-footer small {
  color: #4f6471;
  font-size: 8px;
}
.sn-workspace {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: #0b1118;
}
.sn-workspace-header {
  display: flex;
  height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 24px;
  border-bottom: 1px solid #1b2934;
  background: #0b1118;
}
.sn-workspace-header > strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sn-window-tools {
  display: flex;
  align-items: center;
  gap: 3px;
}
.sn-window-tools button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #7f8b93;
  font-size: 14px;
  cursor: pointer;
}
.sn-window-tools button:hover,
.sn-window-tools button.is-active {
  border-color: #35454c;
  background: #1c252b;
  color: #d4dde1;
}
.sn-window-tools i {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-radius: 50%;
  background: #34434c;
}
.sn-workspace-stage {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}
.sn-app .demo-conversation {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 0;
}
.sn-message-scroll {
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.sn-message-list {
  position: relative;
  width: min(650px, calc(100% - 42px));
  margin: 0 auto;
  padding: 48px 0 36px 40px;
}
.sn-activity-track {
  position: absolute;
  top: 53px;
  bottom: 46px;
  left: 11px;
  width: 1px;
  background: linear-gradient(#285e58, #273642 70%, transparent);
}
.sn-message {
  position: relative;
  margin-bottom: 30px;
}
.sn-message > small {
  display: block;
  margin-bottom: 7px;
  color: #6f8292;
  font-size: 9px;
}
.sn-message p {
  margin: 0;
  color: #cbd6dc;
  font-size: 12px;
  line-height: 1.6;
}
.sn-message-user > p {
  color: #eef3f5;
  font-size: 15px;
  line-height: 1.5;
}
.sn-track-node {
  position: absolute;
  top: 5px;
  left: -35px;
  width: 11px;
  height: 11px;
  border: 3px solid #0b1118;
  border-radius: 50%;
  background: #7aa9d6;
  box-shadow: 0 0 0 1px #476985;
}
.sn-message-agent .sn-track-node {
  background: #70d6c1;
  box-shadow: 0 0 0 1px #447b72;
}
.sn-app .demo-steps {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
  color: #9babb4;
  font-size: 10px;
}
.sn-app .demo-steps li {
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid #263640;
  border-radius: 7px;
  background: #101922;
}
.sn-app .demo-steps li::before {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border: 1px solid #37645c;
  background: #17332e;
  color: #70d6c1;
  content: '✓';
  font-size: 8px;
}
.sn-app .result {
  display: grid;
  width: min(420px, 100%);
  min-height: 51px;
  grid-template-columns: 27px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #2d404b;
  border-radius: 8px;
  background: #121d26;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.sn-app .result > span {
  display: grid;
  width: 27px;
  height: 27px;
  grid-column: auto;
  place-items: center;
  border-radius: 6px;
  background: #20312f;
  color: #70d6c1;
  font-size: 13px;
}
.sn-app .result strong {
  margin: 0;
  font-size: 11px;
}
.sn-app .result small {
  color: #6f8292;
  font-size: 8px;
}
.sn-app .result b {
  color: #6f8292;
  font-size: 10px;
}
.sn-app .demo-gate {
  margin: 12px 0 0 40px;
  padding: 14px;
  border: 1px solid #2d404b;
  border-radius: 10px;
  background: #101922;
}
.sn-app .demo-gate p {
  margin: 0 0 10px;
  color: #cbd6dc;
  font-size: 10px;
}
.sn-app .demo-gate .button {
  min-height: 32px;
  padding: 0 11px;
  font-size: 9px;
}
.sn-app .composer {
  display: block;
  width: min(680px, calc(100% - 36px));
  margin: 10px auto 16px;
  padding: 10px 11px 8px;
  border: 1px solid #303b43;
  border-radius: 15px;
  background: #151b20;
  box-shadow: 0 16px 42px rgb(0 0 0 / 24%);
}
.sn-app .composer input {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #e4edf3;
  font-size: 12px;
}
.sn-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 7px;
}
.sn-composer-actions > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #8a959c;
}
.sn-composer-actions > span:nth-child(2) {
  margin-left: auto;
}
.sn-composer-actions small {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sn-composer-actions button {
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 8px 8px 8px 3px;
  background: #70d6c1;
  color: #0b1b1a;
  font-size: 14px;
}
.demo-terminal {
  min-height: 112px;
  border-top: 1px solid #273642;
  background: #0d141b;
  color: #9eafb9;
}
.demo-terminal > div {
  display: flex;
  height: 32px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-bottom: 1px solid #1b2934;
  font-size: 9px;
}
.demo-terminal > div small {
  color: #526875;
}
.demo-terminal > div button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #75848c;
}
.demo-terminal code {
  display: block;
  padding: 17px;
  font-family: 'Cascadia Code', monospace;
  font-size: 9px;
}
.demo-terminal code i {
  display: inline-block;
  width: 6px;
  height: 11px;
  background: #70d6c1;
  vertical-align: -2px;
}
.sn-app .demo-preview {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  padding: 0;
  border-left: 1px solid #1b2934;
  background: #0e161f;
  color: #dce6eb;
}
.sn-inspector-tabs {
  display: flex;
  height: 52px;
  align-items: flex-end;
  gap: 4px;
  padding: 0 12px;
  border-bottom: 1px solid #1b2934;
}
.sn-inspector-tabs button {
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #687b88;
  font-size: 9px;
}
.sn-inspector-tabs button.is-active {
  border-color: #70d6c1;
  color: #dce6eb;
}
.sn-app .preview-heading {
  display: grid;
  min-height: 54px;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #1b2934;
}
.sn-app .preview-heading > span {
  color: #70d6c1;
}
.sn-app .preview-heading strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sn-app .preview-heading small {
  color: #526875;
  font-size: 7px;
}
.sn-app .preview-heading button {
  border: 0;
  background: transparent;
  color: #71838e;
  font-size: 11px;
}
.sn-file-path {
  overflow: hidden;
  padding: 8px 11px;
  border: 0;
  border-bottom: 1px solid #1b2934;
  background: #101922;
  color: #526875;
  font-size: 7px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sn-preview-viewport {
  min-height: 0;
  flex: 1;
  overflow: hidden;
  padding: 18px;
  background: #121c26;
}
.sn-app .preview-document {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 26px 22px;
  border: 1px solid #dddcd6;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 30px rgb(0 0 0 / 18%);
  color: #202020;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}
.sn-app .preview-document b {
  margin-bottom: 12px;
  font-size: 15px;
}
.sn-app .preview-document span {
  height: 7px;
  border-radius: 999px;
  background: #e4e5e1;
}
.sn-app .preview-document span.short {
  width: 62%;
}
.sn-app .preview-document em {
  margin-top: 20px;
  color: #777;
  font-size: 8px;
  font-style: normal;
}
.sn-app .demo-preview.is-open .preview-document {
  box-shadow:
    0 0 0 2px rgb(112 214 193 / 44%),
    0 12px 34px rgb(0 0 0 / 20%);
}
.sn-app.is-inspector-closed {
  grid-template-columns: 224px minmax(420px, 1fr);
}
.sn-app.is-inspector-closed .demo-preview {
  display: none;
}

.case-study {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 10vw, 150px) 5vw clamp(110px, 13vw, 190px);
  background:
    radial-gradient(circle at 86% 5%, rgb(120 171 115 / 14%), transparent 28%),
    #10251b;
  color: #f4f4e9;
}

.case-study::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgb(207 224 203 / 18%);
  content: '';
}

.case-study-heading {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1280px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: end;
  margin: 0 auto;
}

.case-study .eyebrow {
  color: #a8cbb8;
}

.case-study-heading h2 {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 610;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.case-study-heading > p {
  margin: 0 0 6px;
  color: #bfd0c5;
  font-size: 15px;
  line-height: 1.8;
}

.case-facts {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1280px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(52px, 7vw, 92px) auto 0;
  border-top: 1px solid rgb(207 224 203 / 22%);
  border-bottom: 1px solid rgb(207 224 203 / 22%);
}

.case-facts div {
  display: grid;
  min-height: 132px;
  align-content: center;
  gap: 9px;
  padding: 22px clamp(18px, 2.6vw, 38px);
}

.case-facts div + div {
  border-left: 1px solid rgb(207 224 203 / 22%);
}

.case-facts strong {
  color: #d9ed45;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 630;
  letter-spacing: -0.055em;
}

.case-facts span {
  color: #a9bdb1;
  font-size: 13px;
}

.case-steps {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1280px;
  gap: clamp(80px, 10vw, 140px);
  margin: clamp(90px, 11vw, 150px) auto 0;
}

.case-step {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.case-step:nth-child(even) .case-image {
  order: 2;
}

.case-step:nth-child(even) .case-copy {
  order: 1;
}

.case-image {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgb(215 233 221 / 28%);
  border-radius: 22px;
  background: #07130e;
  box-shadow: 0 34px 90px rgb(0 0 0 / 36%);
}

.case-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 260ms ease;
}

.case-image span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(8 27 19 / 82%);
  color: #eef7f1;
  font-size: 11px;
  font-weight: 650;
  backdrop-filter: blur(10px);
}

.case-image:hover img {
  transform: scale(1.012);
}

.case-copy {
  position: relative;
  padding-left: 34px;
}

.case-copy::before {
  position: absolute;
  top: 5px;
  bottom: 4px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: #d9ed45;
  content: '';
}

.case-copy > b {
  color: #a8cbb8;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.case-copy h3 {
  margin: 18px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 590;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.case-copy p {
  margin: 22px 0 0;
  color: #c6d5cc;
  font-size: 15px;
  line-height: 1.8;
}

.case-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 1.15em;
  color: #9fb4a8;
  font-size: 13px;
  line-height: 1.55;
}

.intro,
.docs-section,
.releases,
.download,
.contact {
  padding: clamp(82px, 10vw, 150px) 5vw;
  border-top: 1px solid var(--line);
}
.section-heading {
  max-width: 760px;
}
.section-heading h2,
.download h2 {
  margin: 14px 0 0;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}
.section-heading > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.plain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.plain-grid article {
  min-height: 210px;
  padding: 24px 26px 30px 0;
  border-bottom: 1px solid var(--line);
}
.plain-grid article + article {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.plain-grid span {
  color: var(--muted);
  font-size: 11px;
}
.plain-grid h3 {
  margin: 48px 0 10px;
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.035em;
}
.plain-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.docs-section {
  background: var(--panel);
}
.releases {
  background: #e5eee4;
}
.release-list {
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.release-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  padding: 34px 0 40px;
  border-bottom: 1px solid var(--line);
}
.release-row header {
  display: grid;
  align-content: start;
  gap: 7px;
}
.release-row time,
.release-row header span {
  color: var(--muted);
  font-size: 12px;
}
.release-row header strong {
  font-size: 26px;
  font-weight: 570;
  letter-spacing: -0.035em;
}
.release-row.is-current header strong {
  color: #126452;
}
.release-row h3 {
  margin: 0 0 16px;
  font-size: 23px;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.release-row ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.15em;
  color: #4f6055;
  line-height: 1.65;
}
.section-more {
  margin-top: 28px;
  color: #315d4b;
}
.release-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}
.release-platforms span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}
.docs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.docs-list a {
  display: grid;
  min-height: 116px;
  grid-template-columns: 1fr auto;
  align-content: center;
  padding: 22px 28px 22px 0;
  border-bottom: 1px solid var(--line);
}
.docs-list a:nth-child(2n) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.docs-list span {
  font-size: 18px;
  font-weight: 550;
}
.docs-list small {
  align-self: end;
  margin-top: 8px;
  color: var(--muted);
}
.docs-list b {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 22px;
  font-weight: 400;
  transition: transform 140ms ease;
}
.docs-list a:hover b {
  transform: translateX(4px);
}
.download {
  display: grid;
  grid-template-columns: minmax(200px, 0.6fr) minmax(340px, 1.4fr);
  gap: 8vw;
  background: var(--paper);
}
.download > div > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}
.downloads {
  display: grid;
  align-content: start;
}
.download-link {
  display: grid;
  min-height: 86px;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.download-link:first-child {
  border-top: 1px solid var(--line);
}
.download-link strong {
  display: block;
  font-size: 18px;
  font-weight: 550;
}
.download-link small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.download-link b {
  font-size: 24px;
  font-weight: 400;
  transition: transform 140ms ease;
}
.download-link:hover b {
  transform: translateX(4px);
}
.download-other {
  margin-top: 22px;
}
.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: 9vw;
  background: #e0eae0;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.contact-form .full,
.form-footer {
  grid-column: 1 / -1;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #c7c7c1;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}
.contact-form textarea {
  min-height: 130px;
}
.form-footer {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.form-footer small {
  color: var(--muted);
}
.honeypot {
  position: absolute;
  left: -9999px;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 5vw 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
footer div {
  display: flex;
  gap: 24px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 7vw;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 80px 5vw 140px;
}
.docs-nav {
  position: sticky;
  top: 106px;
  align-self: start;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.docs-nav strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
}
.docs-nav a:hover {
  color: var(--ink);
}
.docs-content h1 {
  margin: 0 0 20px;
  font-size: clamp(48px, 6vw, 78px);
  letter-spacing: -0.06em;
  line-height: 1;
}
.docs-content > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.doc-block {
  padding: 78px 0 12px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 72px;
}
.doc-block h2 {
  margin: 0 0 22px;
  font-size: 32px;
  letter-spacing: -0.04em;
}
.doc-block h3 {
  margin: 34px 0 10px;
  font-size: 17px;
}
.doc-block p,
.doc-block li {
  color: #4f6055;
  line-height: 1.75;
}
.doc-block ol,
.doc-block ul {
  padding-left: 22px;
}
.doc-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 2px solid var(--ink);
  background: var(--panel);
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.7;
}

.versions-page {
  width: min(1260px, 100%);
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 5vw 140px;
}

.versions-hero {
  max-width: 820px;
}

.versions-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.versions-hero > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.version-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 58px 0 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.version-tabs button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
}

.version-tabs button.is-active {
  border-color: #6f9c82;
  background: #d7e8da;
  color: #1c5f46;
}

.version-list {
  border-top: 0;
}

.version-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(28px, 6vw, 80px);
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.version-row > div:first-child {
  display: grid;
  gap: 6px;
}

.version-row > div:first-child strong {
  color: #1e6249;
  font-size: 28px;
  font-weight: 580;
  letter-spacing: -0.04em;
}

.version-row time,
.version-row > div:first-child span,
.version-history-label {
  color: var(--muted);
  font-size: 12px;
}

.version-row > div:first-child span {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #d7e8da;
  color: #27694f;
}

.version-row h2 {
  margin: 0 0 13px;
  font-size: 22px;
  font-weight: 570;
  letter-spacing: -0.03em;
}

.version-row ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.1em;
  color: #4f6055;
  line-height: 1.65;
}

.version-row > .button {
  min-width: 150px;
  white-space: nowrap;
}

.version-history-label {
  padding-top: 13px;
}

@media (max-width: 980px) {
  .case-study-heading,
  .case-step {
    grid-template-columns: 1fr;
  }
  .case-study-heading {
    align-items: start;
  }
  .case-study-heading > p {
    max-width: 680px;
  }
  .case-step:nth-child(even) .case-image,
  .case-step:nth-child(even) .case-copy {
    order: initial;
  }
  .case-copy {
    max-width: 720px;
  }
  .sn-app,
  .sn-app.is-inspector-closed {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sn-app .demo-preview {
    display: none;
  }
  .product-body {
    grid-template-columns: 190px 1fr;
  }
  .demo-preview {
    display: none;
  }
  .contact {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .case-study::before {
    display: none;
  }
  .case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-facts div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgb(207 224 203 / 22%);
  }
  .case-facts div:nth-child(4) {
    border-top: 1px solid rgb(207 224 203 / 22%);
  }
  .case-copy {
    padding-left: 24px;
  }
  .case-image {
    border-radius: 14px;
  }
  .topbar {
    grid-template-columns: 1fr auto;
  }
  .topbar nav {
    display: none;
  }
  .site-edition-switch {
    display: none;
  }
  .site-edition-control {
    display: none;
  }
  .topbar > .button {
    min-height: 38px;
    padding: 0 14px;
  }
  .hero {
    padding-top: 72px;
  }
  .hero h1 {
    font-size: clamp(37px, 10vw, 42px);
    letter-spacing: -0.055em;
    white-space: nowrap;
  }
  .product {
    border-radius: 12px;
  }
  .sn-app,
  .sn-app.is-inspector-closed {
    height: 660px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .sn-sidebar {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
    border-right: 0;
    border-bottom: 1px solid #1b2934;
  }
  .sn-drag-space,
  .sn-brand,
  .sn-rail-action,
  .sn-rail-label,
  .sn-project-heading,
  .sn-sidebar-footer {
    display: none;
  }
  .sn-app .mode-switch {
    align-self: start;
    margin: 0;
  }
  .sn-app .mode-switch button {
    padding: 7px 4px;
    font-size: 0;
  }
  .sn-app .mode-switch button span {
    font-size: 11px;
  }
  .sn-app .demo-sidebar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 0;
  }
  .sn-app .demo-sidebar button {
    height: 34px;
    grid-template-columns: 1fr;
    padding: 0 4px;
    font-size: 8px;
    text-align: center;
  }
  .sn-app .demo-sidebar button i {
    display: none;
  }
  .sn-workspace-header {
    padding-left: 16px;
  }
  .sn-window-tools i {
    display: none;
  }
  .sn-message-list {
    width: calc(100% - 24px);
    padding: 32px 0 24px 34px;
  }
  .sn-app .composer {
    width: calc(100% - 24px);
    margin-bottom: 12px;
  }
  .sn-composer-actions > span:nth-child(2) small:last-child {
    display: none;
  }
  .product-body {
    min-height: 520px;
    grid-template-columns: 1fr;
  }
  .demo-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid #272b30;
  }
  .demo-sidebar .new-task,
  .demo-sidebar small {
    display: none;
  }
  .demo-sidebar button {
    padding: 9px 6px;
    text-align: center;
    font-size: 11px;
  }
  .conversation {
    padding: 28px 20px;
  }
  .plain-grid,
  .docs-list,
  .release-row,
  .download,
  .contact-form {
    grid-template-columns: 1fr;
  }
  .version-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .version-row > .button {
    width: fit-content;
  }
  .plain-grid article + article,
  .docs-list a:nth-child(2n) {
    padding-left: 0;
    border-left: 0;
  }
  .docs-list a {
    padding-right: 0;
  }
  .release-row {
    gap: 24px;
  }
  .contact-form .full,
  .form-footer {
    grid-column: auto;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .docs-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }
  .docs-nav strong {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .download-link b,
  .docs-list b {
    transition: none;
  }
  #site-gate-form.is-wrong {
    animation: none;
  }
}

/* Soft access gate: hide product pages until credentials are accepted. */
html.site-gated,
html.site-gated body {
  min-height: 100%;
  background: var(--paper, #eef2ea);
}
html.site-gated body > *:not(#site-gate) {
  display: none !important;
}
#site-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper, #eef2ea);
}
#site-gate-form {
  display: grid;
  width: min(100%, 320px);
  gap: 14px;
}
#site-gate-form h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: center;
}
#site-gate-form label {
  display: grid;
  gap: 6px;
}
#site-gate-form label span {
  color: var(--muted, #647168);
  font-size: 13px;
  font-weight: 600;
}
#site-gate-form input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line, #cbd7cb);
  border-radius: 10px;
  background: var(--panel, #fbfaf5);
  color: var(--ink, #17231d);
  outline: none;
}
#site-gate-form input:focus {
  border-color: var(--accent, #2c7d5d);
}
#site-gate-form button {
  height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: var(--ink, #17231d);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}
#site-gate-form button:hover {
  opacity: 0.92;
}
#site-gate-form.is-wrong {
  animation: site-gate-shake 0.32s ease;
}
@keyframes site-gate-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}
