.hero-secondary { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin-top: 20px; }
.hero-secondary .text-link { color: #52617c; font-weight: 400; }
.access-note { font-size: 12px; color: #737c8e; line-height: 1.7; margin: 19px 0 0; }
.access-note a { color: #5265b6; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hero .hero-note { margin-top: 6px; }
.start-section { text-align: left; border-top: 1px solid var(--line); margin-top: 65px; padding-block: 85px 80px; }
.start-section > h2 { margin-bottom: 16px; }
.start-section > p { margin-bottom: 8px; }
.start-section .setup-note { color: #7a8395; font-size: 13px; }
.download-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 78px; margin-top: 49px; align-items: start; }
.download-layout h3 { font-size: 27px; line-height: 1.4; font-weight: 500; letter-spacing: -.5px; margin: 14px 0 15px; }
.download-layout p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.download-symbol { display: inline-block; color: var(--blue); font-size: 32px; line-height: 1; margin-bottom: 0; }
.download-project > .button { margin-top: 5px; }
.download-project a[data-i18n="macDownload"],
.download-project a[data-i18n="windowsDownload"] {
  width: min(100%, 21rem);
  justify-content: center;
  align-items: center;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 380px) {
  html #main .download-project a[data-i18n="macDownload"],
  html #main .download-project a[data-i18n="windowsDownload"] {
    padding-inline: 10px;
    font-size: .875rem;
  }
}
.download-project > .access-note { font-size: 12px; margin-top: 14px; }
.download-steps { list-style: none; counter-reset: download; padding: 0; margin: 28px 0; }
.download-steps li { counter-increment: download; position: relative; padding: 0 0 0 33px; margin-block: 18px; font-size: 14px; line-height: 1.85; color: #59667b; overflow-wrap: anywhere; }
.download-steps li::before { content: '0' counter(download); position: absolute; left: 0; color: var(--blue); font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.download-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.install-assistant { border-left: 1px solid var(--line); padding-left: 40px; scroll-margin-top: 110px; }
.install-assistant > .small-label { line-height: 32px; }
.prompt-label { display: block; font-size: 12px; color: #6f7b93; margin: 20px 0 9px; }
#install-prompt { display: block; width: 100%; min-height: 220px; resize: vertical; border: 1px solid #dee3ee; background: #f7f8fc; border-radius: 6px; padding: 16px 18px; font-family: var(--font); font-size: 13px; line-height: 1.85; color: #46536c; }
#install-prompt:focus-visible { outline: 3px solid #7692ff; outline-offset: 3px; }
.prompt-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 15px; }
.prompt-actions .button { min-height: 44px; font-size: 14px; padding: 10px 18px; }
#copy-status { font-size: 12px; color: #53659b; min-height: 20px; }
.start-section > .update-help { border-top: 1px solid var(--line); margin: 42px 0 0; padding-top: 24px; font-size: 13px; color: var(--muted); }
.update-help .text-link { font-size: 13px; margin-left: 8px; }
@media (max-width: 1050px) {
  .download-layout { gap: 36px; }
  .install-assistant { padding-left: 27px; }
}
@media (max-width: 800px) {
  .download-layout { grid-template-columns: 1fr; gap: 36px; }
  .install-assistant { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .start-section { margin-top: 40px; padding-block: 65px; }
  #install-prompt { min-height: 215px; }
}
@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .button { min-width: 230px; }
  .hero-secondary { gap: 16px; }
  .hero-secondary .text-link { font-size: 12px; }
  .hero .access-note { font-size: 11px; max-width: 290px; margin-inline: auto; }
}

/* October 2026: packaged releases and assistant-neutral setup. */
.download-project .preview-note { font-size: 12px; line-height: 1.7; }
.windows-download, .source-download { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; }
.windows-download h3 { margin-top: 0; }
.download-project .source-download p { font-size: 13px; }
.source-download .text-link { font-size: 13px; }
#install-prompt { min-height: 340px; }
.ai-connect { margin-top: 64px; padding-top: 45px; border-top: 1px solid #dbe3f2; }
.ai-connect-heading { max-width: 790px; }
.ai-connect h3 { font-size: 30px; line-height: 1.4; letter-spacing: -.6px; margin: 14px 0 18px; }
.ai-connect p { font-size: 15px; line-height: 1.85; color: var(--muted); }
.ai-clients { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 30px; }
.ai-clients article { padding: 26px; background: #fff; border: 1px solid #dce3f1; border-radius: 8px; }
.ai-clients h4 { font-size: 22px; line-height: 1.4; font-weight: 550; margin: 12px 0; }
.ai-clients p { font-size: 14px; margin: 0; }
.client-status { display: inline-block; font-size: 11px; color: #3f685f; background: #edf6f1; padding: 4px 8px; border-radius: 4px; }
.ai-clients .other-client { background: transparent; }
.ai-clients .other-client h4 { margin-top: 0; }
.ai-clients a { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--blue); line-height: 1.8; }
.ai-connect h3.ai-setup-title { margin-top: 40px; font-size: 23px; }
.ai-setup-steps { list-style: none; counter-reset: connect; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin: 24px 0; }
.ai-setup-steps li { counter-increment: connect; padding-left: 34px; position: relative; }
.ai-setup-steps li::before { content: '0' counter(connect); position: absolute; left: 0; top: 3px; font-size: 12px; color: var(--blue); }
.ai-setup-steps h4 { font-size: 17px; font-weight: 550; margin: 0 0 10px; }
.ai-setup-steps p { font-size: 14px; margin: 0; }
.ai-writing { border-top: 1px solid #dbe3f2; margin-top: 28px; padding-top: 20px; }
.ai-writing summary { cursor: pointer; font-weight: 550; font-size: 16px; }
.ai-writing p { max-width: 870px; margin: 18px 0; }
.publication-updates { grid-column: 1/-1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 45px; align-items: center; background: #fafbfe; }
.publication-updates img { width: 100%; height: auto; display: block; }
.publication-updates .image-trigger { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
@media (max-width: 900px) {
 .ai-clients { grid-template-columns: 1fr 1fr; }
 .ai-clients .other-client { grid-column: 1/-1; }
 .ai-setup-steps { gap: 20px; }
 .publication-updates { gap: 28px; }
}
@media (max-width: 720px) {
 .ai-connect { margin-top: 38px; padding-top: 32px; }
 .ai-connect h3 { font-size: 27px; }
 .ai-clients, .ai-setup-steps, .publication-updates { grid-template-columns: 1fr; }
 .ai-clients { gap: 14px; }
 .ai-clients article { padding: 23px; }
 .ai-setup-steps { gap: 22px; }
 .publication-updates { gap: 24px; }
 .ai-connect h3.ai-setup-title { font-size: 21px; }
 .download-project .button { white-space: normal; text-align: center; }
 #install-prompt { min-height: 280px; }
}
/* Match the existing midnight-blue AI section and preserve readable contrast. */
.ai-section .ai-connect { border-top-color: #3d4c69; }
.ai-section .ai-connect p { color: #bac7df; }
.ai-section .ai-clients article { background: #1c2947; border-color: #3b4c6d; }
.ai-section .ai-clients h4 { color: #f5f7fc; }
.ai-section .ai-clients .other-client { background: transparent; }
.ai-section .client-status { color: #c8d7f4; background: #2b3e63; }
.ai-section .ai-clients a, .ai-section .ai-connect .text-link { color: #b7c9ff; }
.ai-section .ai-setup-steps li::before { color: #b7c9ff; }
.ai-section .ai-writing { border-top-color: #3d4c69; }

/* The download content sets the desktop row height; long prompts stay inside it. */
@media (min-width: 801px) {
 .download-layout { align-items: stretch; }
 .download-layout .install-assistant {
  display: flex;
  flex-direction: column;
  contain: size;
  min-width: 0;
  min-height: 0;
 }
 .download-layout .install-assistant > :not(textarea) { flex: none; }
 .download-layout .install-assistant #install-prompt {
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  overflow-y: auto;
  resize: none;
 }
}
