/* Product editorial: the real interface is the main visual, with a quiet
   selection rail. Load after base.css, world.css, gallery.css and demo.css. */
.products.section {
  padding: 112px max(5%, calc((100% - 1440px) / 2)) 120px;
  background: #faf7f2;
  color: #1c1b22;
}

.products > .section-label {
  align-items: center;
  gap: 20px;
  color: #686472;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-feature-settings: "case";
}

.products > .section-label > span { display: block; }

.products > .product-tabs {
  display: flex;
  align-items: stretch;
  gap: clamp(28px, 5vw, 80px);
  margin: 16px 0 64px;
  border-bottom: 1px solid #c9c4bc;
}

.products > .product-tabs > button {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 72px;
  padding: 14px 0 22px;
  border-bottom: 2px solid transparent;
  color: #686472;
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  transition: color 180ms cubic-bezier(.2,.7,.2,1), border-color 180ms cubic-bezier(.2,.7,.2,1);
}

.products > .product-tabs > button[aria-selected="true"] {
  color: #1c1b22;
  border-bottom-color: #ff5a28;
}

.products > .product-tabs > button > span {
  flex: none;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid #b5b0a9;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.products .product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  align-items: end;
  gap: 48px 8%;
  margin: 0 0 56px;
}

.products .product-heading > div { min-width: 0; }

.products .product-logo {
  display: block;
  width: 176px;
  height: auto;
  margin: 0 0 28px;
}

.products .product-heading h2,
.products .coming h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.products .product-heading p {
  max-width: 46ch;
  margin-top: 24px;
  color: #686472;
  font-size: 18px;
  line-height: 1.65;
}

.products .product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: 100%;
  max-width: 320px;
  justify-self: end;
}

.products .product-actions > .secondary {
  min-width: 0;
  min-height: 58px;
  padding: 15px 0;
  border: 0;
  border-top: 1px solid #c9c4bc;
  border-radius: 0;
  color: #1c1b22;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  transition: padding 180ms cubic-bezier(.2,.7,.2,1);
}

.products .product-actions > .secondary:hover { padding-inline: 8px; }
.products .product-actions > .secondary > span { font-size: 22px; }

.products .product-actions > small {
  margin-top: 12px;
  color: #686472;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.products .product-workspace.workspace-explorer {
  grid-template-columns: minmax(160px, 184px) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  min-width: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  scroll-margin-top: calc(var(--header) + 24px);
}

.products .workspace-explorer > .explorer-rail {
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #1c1b22;
}

.products .workspace-explorer .explorer-rail > h3 {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid #c9c4bc;
  color: #686472;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}

.products .workspace-explorer .screen-tabs.explorer-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.products .workspace-explorer .explorer-tabs button {
  position: relative;
  gap: 4px;
  min-height: 70px;
  padding: 14px 12px 14px 18px;
  border: 0;
  border-bottom: 1px solid #e0dbd3;
  border-radius: 0;
  background: transparent;
  color: #686472;
  transition: color 180ms cubic-bezier(.2,.7,.2,1), background-color 180ms cubic-bezier(.2,.7,.2,1);
}

.products .workspace-explorer .explorer-tabs button::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 3px;
  height: 24px;
  background: transparent;
  transform: translateY(-50%);
}

.products .workspace-explorer .explorer-tabs button:hover { background: #eeebe5; }
.products .workspace-explorer .explorer-tabs button[aria-selected="true"] { background: #eeebe5; color: #1c1b22; }
.products .workspace-explorer .explorer-tabs button[aria-selected="true"]::before { background: #ff5a28; }
.products .workspace-explorer .explorer-tabs button:focus-visible { outline-color: #c93b14; outline-offset: -3px; }

.products .workspace-explorer .explorer-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.products .workspace-explorer .explorer-hint {
  color: #686472;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
}

.products .workspace-explorer > .product-gallery { padding: 0; background: transparent; }
.products .screen-frame { border: 1px solid #403d48; border-radius: 4px; box-shadow: none; }

.products .screen-bar {
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 10px 16px;
  color: #b4afbd;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .04em;
}

.products .screen-frame > img { width: 100%; height: auto; object-fit: contain; }

.products .screen-frame > .screen-enlarge {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid #403d48;
  color: #f5f1ea;
  font-size: 13px;
}

.products .workspace-explorer .screen-meta {
  align-items: start;
  gap: 12px 24px;
  margin-top: 16px;
}

.products .workspace-explorer .screen-meta .screen-caption {
  flex: 1 1 240px;
  max-width: 50ch;
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.products .workspace-explorer .screen-demo-link {
  flex: 0 1 auto;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  border-bottom: 1px solid #aaa49c;
  font-size: 14px;
  font-weight: 500;
}

.products .coming {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px 8%;
  max-width: none;
  padding: 0;
}

.products .coming > img { grid-column: 1; width: 220px; height: auto; margin: 0 0 8px; }
.products .coming > .soon { grid-column: 2; justify-self: start; align-self: end; margin-bottom: 8px; }
.products .coming h2 { grid-column: 1; }
.products .coming p { grid-column: 2; align-self: end; max-width: 38ch; font-size: 18px; line-height: 1.65; color: #686472; }

.products .exe-archive { max-width: none; margin-top: 64px; padding-top: 32px; border-top: 1px solid #c9c4bc; }
.products .archive-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 8%; max-width: none; margin-bottom: 32px; }
.products .archive-heading h3 { max-width: 26ch; margin: 0; font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.products .archive-heading p { max-width: 60ch; font-size: 16px; line-height: 1.65; }
.products .exe-tabs { flex-wrap: nowrap; gap: 32px; margin: 0 0 24px; border-bottom: 1px solid #c9c4bc; }
.products .exe-tabs button { flex: none; min-height: 52px; font-size: 15px; }
.products .exe-tabs button[aria-selected="true"] { border-bottom-color: #ff5a28; }
.products .exe-archive > .screen-caption { max-width: 60ch; font-size: 14px; }

@media (max-width: 1000px) {
  .products.section { padding-block: 88px; }
  .products > .product-tabs { margin-bottom: 48px; }
  .products .product-heading { grid-template-columns: minmax(0, 1fr) minmax(220px, .6fr); gap: 36px; }
  .products .product-heading h2,
  .products .coming h2 { font-size: clamp(38px, 5.5vw, 54px); }
  .products .product-workspace.workspace-explorer { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .products .workspace-explorer .explorer-rail > h3 { margin-bottom: 8px; }
  .products .workspace-explorer .screen-tabs.explorer-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .products .workspace-explorer .explorer-tabs button { min-height: 56px; padding: 12px; }
  .products .workspace-explorer .explorer-name { font-size: 14px; }
  .products .workspace-explorer .explorer-hint { display: none; }
  .products .coming { gap: 24px 6%; }
}

@media (max-width: 600px) {
  .products.section { padding: 64px 6% 72px; }
  .products > .section-label { font-size: 11px; }
  .products > .product-tabs { gap: 24px; margin: 12px 0 40px; }
  .products > .product-tabs > button { display: block; min-height: 76px; padding: 10px 0 16px; font-size: 19px; line-height: 1.25; }
  .products > .product-tabs > button > span { display: block; width: fit-content; margin-top: 8px; font-size: 10px; }
  .products .product-heading { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 40px; }
  .products .product-logo { width: 160px; margin-bottom: 24px; }
  .products .product-heading h2,
  .products .coming h2 { max-width: 16ch; font-size: clamp(36px, 9vw, 48px); line-height: 1.05; }
  .products .product-heading p { margin-top: 20px; font-size: 16px; }
  .products .product-actions { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .products .product-actions > .secondary { min-height: 52px; padding-block: 12px; font-size: 14px; gap: 8px; }
  .products .product-actions > .secondary > span { font-size: 18px; }
  .products .product-actions > small { margin-top: 4px; font-size: 11px; }
  .products .product-workspace.workspace-explorer { gap: 20px; }
  .products .workspace-explorer .screen-tabs.explorer-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products .workspace-explorer .explorer-tabs button { min-height: 52px; padding: 10px 8px 10px 12px; }
  .products .workspace-explorer .explorer-name { font-size: 13px; }
  .products .screen-bar { min-height: 36px; padding: 10px; font-size: 9px; }
  .products .screen-frame > .screen-enlarge { min-height: 44px; padding: 8px 12px; font-size: 12px; }
  .products .workspace-explorer .screen-meta { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 8px; }
  .products .workspace-explorer .screen-meta .screen-caption { flex: none; padding-top: 8px; font-size: 13px; }
  .products .workspace-explorer .screen-demo-link { flex: none; align-self: start; gap: 24px; font-size: 13px; }
  .products .coming { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .products .coming > img { width: 200px; margin: 0; }
  .products .coming > .soon { grid-column: 1; margin: 0; }
  .products .coming h2 { grid-column: 1; }
  .products .coming p { grid-column: 1; max-width: 40ch; font-size: 16px; }
  .products .exe-archive { margin-top: 40px; padding-top: 24px; }
  .products .archive-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 24px; }
  .products .archive-heading h3 { font-size: 26px; }
  .products .archive-heading p { font-size: 14px; }
  .products .exe-tabs { gap: 24px; margin-bottom: 20px; }
  .products .exe-tabs button { font-size: 13px; }
  .products .exe-archive > .screen-caption { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .products > .product-tabs > button,
  .products .product-actions > .secondary,
  .products .workspace-explorer .explorer-tabs button { transition: none; }
}
