/* Product details, documentation, and footer. Load after the base styles. */
#tools {
  padding-top: clamp(76px, 8vw, 128px);
  --lower-ink: #eeeae2;
  --lower-muted: #bcc1c9;
  --lower-line: #dfe5ef20;
  --lower-accent: #b9abd2;
}
#tools > .section-heading { margin-bottom: 34px; }
#tools > .section-heading h2 { color: var(--lower-ink); font-size: clamp(31px, 3.1vw, 43px); line-height: 1.12; letter-spacing: -1.3px; }
#tools > .section-heading h2 > span { color: inherit; }
#tools > .section-heading p { max-width: 650px; color: var(--lower-muted); font-size: 14px; line-height: 1.8; }
#tools .renpy-feature.renpy-feature-v4 {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 4vw, 66px);
  align-items: center;
  padding: clamp(28px, 3.8vw, 54px);
  background: #252a35;
  border: 1px solid var(--lower-line);
  border-radius: 10px;
  box-shadow: none;
}
#tools .renpy-feature::before { display: none; }
#tools .renpy-product { color: #bdc3cd; font-size: 10px; font-weight: 600; letter-spacing: 1.35px; }
#tools .renpy-mark { color: #c4b5dc; border: 1px solid #cfbbef24; background: transparent; border-radius: 6px; }
#tools .renpy-version { color: #c0b7cd; border: 0; padding: 0 0 0 5px; font-size: 11px; }
#tools .renpy-copy h3 { color: var(--lower-ink); margin: 25px 0 17px; font-size: clamp(32px, 3vw, 40px); font-weight: 600; line-height: 1.12; letter-spacing: -1.3px; }
#tools .renpy-copy h3 > span { color: inherit; }
#tools .renpy-description { max-width: 405px; font-size: 14px; line-height: 1.85; color: var(--lower-muted); }
#tools .renpy-features { flex-direction: column; gap: 8px; margin: 23px 0 29px; }
#tools .renpy-features li { padding: 0; border: 0; border-radius: 0; background: transparent; color: #d6d7dc; font-size: 12px; line-height: 1.65; white-space: normal; }
#tools .renpy-features li > span { display: none; }
#tools .renpy-features li::before { content: ""; flex: 0 0 4px; width: 4px; height: 4px; border-radius: 50%; margin-right: 4px; background: #a99abd; }
#tools .renpy-actions { gap: 17px; }
#tools .renpy-actions .primary {
  background: #c4b5dc;
  color: #211d28;
  border: 1px solid #c4b5dc;
  border-radius: 5px;
  box-shadow: none;
  min-height: 46px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  gap: 25px;
}
#tools .renpy-actions .primary::after { display: none; }
#tools .renpy-actions .primary:hover { background: #d2c5e6; border-color: #d2c5e6; transform: translateY(-1px); }
#tools .renpy-actions .button-arrow { background: transparent; color: inherit; }
#tools .renpy-actions .text-link { font-size: 12px; color: #c7b9dc; }
#tools .renpy-actions .text-link:hover { color: #eeeae2; }
#tools .renpy-compatibility { margin-top: 23px; color: #aeb5c0; font-size: 11px; }
#tools .renpy-compatibility .live-dot { display: none; }
#tools .renpy-window { background: #151820; border-color: #dfe5ef24; border-radius: 7px; box-shadow: 0 12px 28px #0a0d142b; }
#tools .renpy-window-bar { background: #2d333f; border-color: #dfe5ef1a; color: #d9dbe0; font-size: 11px; padding: 12px 15px; }
#tools .renpy-window-bar i { background: #ada0c3; width: 5px; height: 5px; }
#tools .renpy-window-bar > span:last-child { color: #acb4c1; font-size: 9px; letter-spacing: 1px; }
#tools .renpy-preview-link img { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; object-fit: contain; }
#tools .renpy-preview-footer { padding: 12px 15px; background: #2a303b; border-color: #dfe5ef1a; color: #d3c7e4; font-size: 11px; }
#tools .renpy-preview-link:hover .renpy-preview-footer { background: #343a46; }
#tools .renpy-interface figcaption { margin-top: 12px; color: #b1b8c5; font-size: 10px; }
#tools .renpy-interface figcaption > span:last-child { color: #9da7b8; }

#tools .hub-preview {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 4vw, 66px);
  padding: clamp(28px, 3.8vw, 54px);
  margin-top: 22px;
  border: 1px solid var(--lower-line);
  border-radius: 10px;
  background: #20252f;
  box-shadow: none;
}
#tools .hub-preview::before { display: none; }
#tools .wip-badge { background: transparent; border: 0; padding: 0; color: #c1b89f; font-size: 9px; letter-spacing: 1.2px; font-weight: 550; }
#tools .wip-badge > span { width: 4px; height: 4px; background: #bca77c; box-shadow: none; }
#tools .hub-preview-brand { margin-top: 27px; color: #bbc2cd; font-size: 10px; letter-spacing: 1.3px; gap: 11px; }
#tools .hub-preview-brand img { width: 33px; height: 33px; border-radius: 7px; }
#tools .hub-preview h3 { color: var(--lower-ink); margin: 20px 0 17px; font-size: clamp(32px, 3vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -1.3px; }
#tools .hub-preview h3 > span { color: inherit; }
#tools .hub-preview-copy > p { max-width: 410px; color: var(--lower-muted); font-size: 14px; line-height: 1.85; }
#tools .hub-feature-list { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 19px 0 0; list-style: none; color: #ccd1d8; font-size: 11px; }
#tools .hub-feature-list li { display: flex; align-items: center; gap: 8px; }
#tools .hub-feature-list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #8797ad; }
#tools .wip-note { margin-top: 23px; padding-top: 20px; border-top: 1px solid #dfe5ef18; color: #a9b0bd; line-height: 1.8; font-size: 11px; }
#tools .wip-note > span:first-child { display: none; }
#tools .wip-note strong { color: #c3bdaf; font-weight: 400; }
#tools .hub-blueprint { transform: none; animation: none; border: 1px solid #dfe5ef26; border-radius: 7px; background: #191e28; box-shadow: 0 12px 28px #0a0d142b; }
#tools .blueprint-top { background: #2b323e; color: #ced3dd; border-color: #dfe5ef1c; height: 42px; font-size: 9px; letter-spacing: .8px; }
#tools .blueprint-top > span:last-child { font-size: 8px; color: #acb6c6; letter-spacing: .5px; }
#tools .blueprint-top i { background: #727d8f; width: 4px; height: 4px; }
#tools .blueprint-body { min-height: 280px; }
#tools .blueprint-sidebar { background: #1c212b; border-color: #dfe5ef18; width: 49px; flex-shrink: 0; }
#tools .blueprint-sidebar b { background: #9a5763; border-radius: 5px; font-size: 12px; width: 23px; height: 23px; }
#tools .blueprint-sidebar i { border-color: #8c97ab55; width: 11px; height: 11px; }
#tools .blueprint-sidebar i:first-of-type { background: #b6a5cc35; border-color: #b6a5ccaa; }
#tools .blueprint-main { padding: 24px; }
#tools .blueprint-heading { color: #e5e3de; font-size: 17px; font-weight: 550; }
#tools .blueprint-heading small { border: 1px solid #c8cdd620; color: #b2bccd; font-size: 9px; padding: 2px 6px; border-radius: 3px; }
#tools .blueprint-search { width: 54%; height: 6px; margin: 12px 0 22px; background: #64708650; border-radius: 2px; }
#tools .blueprint-games > div { background: #394152; border-color: #dfe5ef15; border-radius: 4px; }
#tools .blueprint-games > div:nth-child(2) { background: #34444b; }
#tools .blueprint-games > div:nth-child(3) { background: #463f4e; }
#tools .blueprint-games span { color: #aebbd161; }
#tools .blueprint-games i { background: #b5c0d17a; }
#tools .blueprint-task { color: #aab4c4; font-size: 10px; margin-top: 19px; }
#tools .blueprint-task .live-dot { background: #839f90; box-shadow: none; width: 4px; height: 4px; }
#tools .blueprint-scan { display: none; }
#tools .blueprint-library { display: grid; gap: 8px; }
#tools .blueprint-library > div { display: flex; gap: 11px; align-items: center; padding: 10px 12px; border: 1px solid #dfe5ef14; border-radius: 4px; background: #242c38; }
#tools .blueprint-library .blueprint-cover { flex: 0 0 33px; width: 33px; height: 37px; display: grid; place-items: center; background: #42475c; border-radius: 3px; color: #d1c5e2; font-size: 14px; }
#tools .blueprint-library > div:nth-child(2) .blueprint-cover { background: #354b4c; color: #bbd1cf; }
#tools .blueprint-library > div:nth-child(3) .blueprint-cover { background: #4d424c; color: #d1bbc7; }
#tools .blueprint-library strong { display: block; color: #d7dce5; font-size: 11px; font-weight: 500; }
#tools .blueprint-library small { display: block; color: #9faec4; font-size: 9px; margin-top: 2px; }
#tools .blueprint-library b { font-size: 12px; margin-left: auto; color: #a5a1ba; font-weight: 400; }

#help.help-section { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(45px, 7vw, 104px); padding-top: clamp(76px, 8vw, 128px); }
#help .help-intro h2 { color: #eeeae2; font-size: clamp(31px, 3vw, 40px); line-height: 1.15; letter-spacing: -1.2px; font-weight: 550; }
#help .help-intro h2 > span { color: inherit; }
#help .help-intro p { color: #b8c0cc; font-size: 14px; max-width: 330px; margin: 20px 0 25px; line-height: 1.85; }
#help .help-intro .text-link { color: #c5b7d8; font-size: 12px; }
#help .faq { border-top: 1px solid #dfe5ef26; }
#help details { border-bottom: 1px solid #dfe5ef26; }
#help summary { padding: 23px 0; gap: 18px; font-size: 14px; line-height: 1.55; font-weight: 450; color: #e0e1e3; }
#help summary:hover, #help details[open] summary { color: #f4eee4; }
#help .faq-number { font-family: Consolas, monospace; font-size: 10px; color: #929cae; }
#help .faq-plus { font-size: 22px; font-weight: 250; color: #b8a7cf; }
#help details > div { padding: 0 0 25px 32px; color: #b6bfcd; font-size: 13px; line-height: 1.9; max-width: 690px; }
#help details a { color: #c5b6dc; }
#help code { background: #2c323f; color: #d2c5e3; font-size: 12px; }
.closing.wrap {
  margin-top: clamp(75px, 8vw, 120px);
  padding: 37px 0;
  border: 0;
  border-top: 1px solid #dfe5ef29;
  border-bottom: 1px solid #dfe5ef29;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.closing .closing-glow, .closing .closing-mark { display: none; }
.closing .eyebrow { font-size: 10px; letter-spacing: 1.25px; color: #9da8b9; }
.closing h2 { margin-top: 11px; color: #e9e6df; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.2; font-weight: 500; letter-spacing: -.8px; }
.closing h2 > span { color: inherit; }
.closing h2 br { display: none; }
.closing .closing-description { color: #aeb9c9; font-size: 13px; line-height: 1.75; margin-top: 10px; max-width: 530px; }
.closing .primary { flex-shrink: 0; margin: 0; padding: 12px 17px; border: 1px solid #c4b5dc40; border-radius: 5px; color: #d7c9e8; background: #252a35; box-shadow: none; font-size: 12px; }
.closing .primary:hover { background: #2e3340; transform: translateY(-1px); }
.closing .primary::after { display: none; }
.closing .button-arrow { background: transparent; }
.footer.wrap { padding-block: 34px 42px; color: #9ca8bb; gap: 24px; }
.footer .brand { color: #dededc; }
.footer .brand-dot, .footer .brand-lab { color: #b7a6ce; }
.footer .brand-lab { border-color: #b7a6ce30; background: transparent; }
.footer p, .footer > a:last-child { font-size: 11px; }
.footer > a:last-child:hover { color: #ddd1eb; }

@media (max-width: 1000px) {
  #tools .renpy-feature.renpy-feature-v4, #tools .hub-preview { gap: 32px; padding: 32px; }
  #tools .renpy-copy h3, #tools .hub-preview h3 { font-size: 33px; }
  #tools .renpy-description, #tools .hub-preview-copy > p { font-size: 13px; }
  #tools .blueprint-main { padding: 20px 15px; }
}
@media (max-width: 850px) {
  #tools .renpy-feature.renpy-feature-v4, #tools .hub-preview { grid-template-columns: 1fr; gap: 29px; }
  #tools .renpy-description, #tools .hub-preview-copy > p { max-width: 560px; }
  #tools .renpy-features { flex-direction: row; gap: 9px 20px; }
  #tools .renpy-actions { flex-direction: row; align-items: center; gap: 23px; }
  #tools .renpy-interface, #tools .hub-blueprint { width: 100%; max-width: 650px; justify-self: start; }
  #tools .hub-feature-list { gap: 8px 18px; }
  #tools .hub-blueprint { animation: none; transform: none; }
  #help.help-section { grid-template-columns: 1fr; gap: 31px; }
  #help .help-intro p { max-width: 560px; }
}
@media (max-width: 600px) {
  #tools > .section-heading { margin-bottom: 25px; }
  #tools > .section-heading h2 > span { display: inline; }
  #tools > .section-heading p { font-size: 13px; }
  #tools .renpy-feature.renpy-feature-v4, #tools .hub-preview { padding: 25px 20px; border-radius: 7px; gap: 27px; }
  #tools .renpy-copy h3, #tools .hub-preview h3 { font-size: 31px; letter-spacing: -.9px; }
  #tools .renpy-product { gap: 8px; letter-spacing: .9px; font-size: 9px; }
  #tools .renpy-mark { width: 27px; height: 27px; font-size: 15px; }
  #tools .renpy-version { font-size: 10px; }
  #tools .renpy-features { flex-direction: column; gap: 7px; margin-block: 19px 25px; }
  #tools .renpy-features li { font-size: 12px; }
  #tools .renpy-actions { flex-direction: column; align-items: flex-start; gap: 17px; }
  #tools .renpy-compatibility { margin-top: 21px; font-size: 10px; }
  #tools .renpy-window-bar, #tools .renpy-preview-footer { padding-inline: 11px; font-size: 10px; }
  #tools .renpy-window-bar > span:last-child { font-size: 8px; letter-spacing: .5px; }
  #tools .renpy-interface figcaption { flex-direction: column; gap: 2px; font-size: 10px; }
  #tools .hub-preview { margin-top: 15px; }
  #tools .wip-badge { font-size: 8px; letter-spacing: .8px; }
  #tools .hub-feature-list { gap: 8px 14px; font-size: 10px; }
  #tools .blueprint-top { gap: 8px; padding-inline: 12px; font-size: 8px; }
  #tools .blueprint-top > span:last-child { font-size: 7px; letter-spacing: .3px; }
  #tools .blueprint-sidebar { width: 37px; }
  #tools .blueprint-sidebar b { width: 20px; height: 20px; font-size: 11px; }
  #tools .blueprint-main { padding: 19px 12px; }
  #tools .blueprint-heading { font-size: 15px; }
  #tools .blueprint-library > div { padding: 9px; gap: 9px; }
  #tools .blueprint-library .blueprint-cover { flex-basis: 27px; width: 27px; height: 33px; font-size: 12px; }
  #tools .blueprint-library strong { font-size: 10px; }
  #tools .blueprint-library small { font-size: 8px; }
  #tools .blueprint-task { font-size: 9px; gap: 5px; }
  #help .help-intro h2 { font-size: 31px; }
  #help .help-intro p { font-size: 13px; }
  #help summary { font-size: 13px; gap: 12px; padding-block: 22px; }
  #help .faq-number { font-size: 9px; }
  #help details > div { font-size: 12px; padding-left: 25px; }
  .closing.wrap { padding-block: 29px; gap: 23px; }
  .closing h2 { font-size: 27px; }
  .closing .closing-description { font-size: 12px; }
  .footer.wrap { padding-block: 28px 30px; gap: 20px; }
  .footer p { border-color: #dfe5ef18; padding-top: 21px; }
}
