main { width: min(1280px, calc(100% - 56px)); margin: 0 auto; }
.platform-opening { position: relative; min-height: 375px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); align-items: center; gap: 40px; padding: 54px clamp(20px, 5vw, 72px); overflow: hidden; background: #f5f4fa; }
.platform-opening::before, .platform-opening::after { position: absolute; z-index: 0; width: 300px; height: 300px; border-radius: 50%; content: ""; pointer-events: none; }
.platform-opening::before { top: -205px; right: 4%; background: #f4dddd; }
.platform-opening::after { right: 19%; bottom: -270px; width: 470px; height: 360px; border-radius: 48%; background: #ece9f7; transform: rotate(-20deg); }
.platform-opening-copy, .file-stack { position: relative; z-index: 1; }
.platform-opening-copy { max-width: 600px; }
.platform-kicker { margin: 0 0 10px; color: #69697a; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.platform-opening h1 { margin: 0; font-size: clamp(43px, 6vw, 70px); line-height: .99; letter-spacing: -.065em; }
.platform-opening-copy > p:not(.platform-kicker) { max-width: 57ch; margin: 18px 0 24px; color: #5d5d6c; font-size: 16px; }
.platform-primary { display: inline-flex; min-height: 44px; align-items: center; gap: 20px; padding: 0 16px; border-radius: 5px; color: #fff; background: var(--platform-red); font-size: 13px; font-weight: 750; text-decoration: none; }
.platform-primary:hover { background: #c93132; }
.file-stack { justify-self: center; width: min(100%, 330px); height: 242px; }
.stack-sheet { position: absolute; width: 190px; height: 226px; padding: 20px 17px; border: 1px solid #d9d8e3; border-radius: 8px; background: white; box-shadow: 0 12px 24px #26263816; }
.stack-sheet-back { top: 8px; left: 31px; transform: rotate(-10deg); color: #537abc; }
.stack-sheet-mid { top: 6px; left: 83px; transform: rotate(8deg); color: #78a45f; }
.stack-sheet-front { top: 13px; left: 73px; display: flex; flex-direction: column; justify-content: space-between; color: var(--platform-red); transform: rotate(-2deg); }
.stack-sheet span { display: block; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.stack-sheet i { display: block; width: 80%; height: 3px; margin-top: 13px; background: #e7e7ee; }
.stack-sheet i:nth-of-type(2) { width: 63%; }
.stack-sheet b { align-self: end; font-size: 42px; }
.stack-caption { position: absolute; right: 0; bottom: 7px; color: #707082; font-size: 10px; font-weight: 800; line-height: 1.55; letter-spacing: .12em; }
.tool-library { padding: 43px 0 0; }
.tool-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.tool-library-heading .platform-kicker { margin-bottom: 4px; }
.tool-library h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.05em; }
.tool-search { display: flex; width: min(100%, 270px); min-height: 42px; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #d5d5df; border-radius: 6px; background: white; }
.tool-search svg { width: 18px; height: 18px; fill: none; stroke: #707080; stroke-width: 1.7; }
.tool-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--platform-ink); background: transparent; font-size: 13px; }
.tool-search input:focus-visible { outline: 0; }
.tool-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 19px 0; }
.filter-chip { min-height: 31px; padding: 5px 13px; border: 1px solid #d9d9e2; border-radius: 99px; color: #555563; background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.filter-chip:hover { border-color: #9a8ce0; }
.filter-chip.is-active { border-color: #282832; color: white; background: #282832; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-entry { position: relative; min-height: 142px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 17px; border: 1px solid #dedee7; border-radius: 9px; background: #fff; text-decoration: none; transition: border-color .18s ease-out, transform .18s ease-out, box-shadow .18s ease-out; }
.tool-entry:hover { border-color: #b9b2e4; box-shadow: 0 8px 20px #2626380b; transform: translateY(-2px); }
.tool-entry[hidden] { display: none; }
.tool-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: #e9664e; }
.tool-entry-crop .tool-icon { background: #69a846; }
.tool-entry-enhance .tool-icon { background: #537fc5; }
.tool-entry-remove .tool-icon { background: #b76095; }
.tool-entry-convert .tool-icon { background: #3c7c82; font-size: 10px; font-weight: 800; }
.tool-entry-edit .tool-icon { background: #9a6840; font-size: 10px; font-weight: 800; }
.tool-entry-optimize .tool-icon { background: #536c98; font-size: 10px; font-weight: 800; }
.tool-entry-security .tool-icon { background: #765c9a; font-size: 10px; font-weight: 800; }
.tool-entry-intelligence .tool-icon { background: #56754c; font-size: 10px; font-weight: 800; }
.tool-entry-workflow .tool-icon { background: #657080; font-size: 10px; font-weight: 800; }
.tool-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.tool-copy { display: grid; gap: 5px; }
.tool-copy strong { font-size: 14px; letter-spacing: -.02em; }
.tool-copy > span { color: #666675; font-size: 11px; line-height: 1.45; }
.tool-arrow { position: absolute; top: 19px; right: 18px; color: #666675; font-size: 15px; }
.tool-empty { padding: 26px 0; color: #666675; }
.privacy-strip { display: flex; align-items: flex-start; gap: 13px; margin-top: 32px; padding: 16px 0; border-top: 1px solid #e2e2ea; color: #595968; }
.privacy-icon { color: #63744f; font-size: 22px; line-height: 1; }
.privacy-strip p { max-width: 85ch; margin: 0; font-size: 12px; }
.privacy-strip strong { color: #343440; }
@media (max-width: 900px) {
  main { width: min(100% - 36px, 720px); }
  .platform-opening { min-height: auto; grid-template-columns: 1fr minmax(190px, .65fr); padding: 45px 28px; }
  .file-stack { transform: scale(.82); transform-origin: center; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  main { width: calc(100% - 28px); }
  .platform-opening { display: block; padding: 38px 22px 25px; }
  .platform-opening-copy > p:not(.platform-kicker) { font-size: 14px; }
  .file-stack { width: 285px; height: 205px; margin: 24px auto 0; transform: scale(.78); transform-origin: top center; }
  .tool-library-heading { align-items: stretch; flex-direction: column; gap: 15px; }
  .tool-search { width: 100%; }
  .tool-grid { grid-template-columns: 1fr; gap: 9px; }
  .tool-entry { min-height: 112px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 16px; align-items: start; gap: 13px; padding: 16px; }
  .tool-copy { grid-column: 2; }
  .tool-icon { grid-row: 1; }
  .tool-arrow { position: static; grid-column: 3; grid-row: 1; }
  .privacy-strip { margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
