:root {
  color-scheme: light;
  --platform-ink: #11152e;
  --platform-muted: #68738f;
  --platform-ground: #f8f9fc;
  --platform-paper: #fff;
  --platform-line: #e8ebf4;
  --platform-red: #ff3158;
  --platform-warm: #ff774e;
  --platform-blue: #2979ff;
  --platform-purple: #a44cf6;
  --platform-green: #13a875;
  font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  display: grid;
  min-width: 0;
  min-height: 100vh;
  grid-template-columns: 248px minmax(0, 1fr);
  grid-template-rows: 70px minmax(0, 1fr) auto;
  margin: 0;
  color: var(--platform-ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
}
body, button, input, textarea, select { font-family: "Segoe UI", Arial, sans-serif; }
button, input, textarea, select { font-size: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 3px solid #9e71f5;
  outline-offset: 3px;
}

.platform-sidebar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  height: 100vh;
  min-height: 540px;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1 / 4;
  padding: 20px 14px 16px;
  border-right: 1px solid #edf0f6;
  background: #fff;
  overflow-y: auto;
}
.sidebar-brand { min-height: 43px; margin: 0 8px 28px; color: var(--platform-ink); }
.platform-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--platform-ink);
  font-size: 21px;
  font-weight: 820;
  letter-spacing: -1.2px;
  text-decoration: none;
  white-space: nowrap;
}
.platform-brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: linear-gradient(135deg, #f41470 0%, #ff4259 58%, #ff7845 100%);
  font-size: 17px;
  letter-spacing: 0;
}
.platform-brand > span:last-child { color: var(--platform-ink); }
.platform-brand > span:last-child > span { color: var(--platform-red); }
.sidebar-nav { display: grid; gap: 3px; }
.sidebar-label {
  margin: 2px 10px 7px;
  color: #8790a6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sidebar-link {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 8px 11px;
  border-radius: 12px;
  color: #26304c;
  font-size: 13px;
  font-weight: 640;
  text-decoration: none;
  transition: background-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}
.sidebar-link:hover { color: #ed2451; background: #fff5f6; }
.sidebar-link.is-active { color: #ed244e; background: #ffeaee; }
.sidebar-icon { width: 20px; flex: 0 0 20px; color: #586580; font-size: 18px; line-height: 1; text-align: center; }
.sidebar-link.is-active .sidebar-icon { color: var(--platform-red); }
.sidebar-bottom { display: grid; gap: 8px; margin-top: auto; padding: 16px 4px 2px; border-top: 1px solid #f0f1f6; }
.sidebar-cta {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-radius: 12px;
  color: #11152e;
  background: linear-gradient(110deg, #f41470 0%, #ff4259 55%, #ff7845 100%);
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}
.sidebar-cta:hover { box-shadow: 0 6px 14px #f4147033; }
.sidebar-bottom p { margin: 0; padding: 0 8px; color: #7a8499; font-size: 10px; line-height: 1.5; }

.platform-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  min-width: 0;
  min-height: 70px;
  align-items: center;
  gap: 20px;
  grid-column: 2;
  grid-row: 1;
  padding: 0 clamp(18px, 2.5vw, 38px);
  border-bottom: 1px solid #eef0f6;
  background: #fff;
}
.platform-nav { display: flex; min-width: 0; align-items: center; gap: clamp(13px, 1.5vw, 25px); }
.platform-nav a {
  position: relative;
  display: inline-flex;
  min-height: 70px;
  align-items: center;
  color: #323b57;
  font-size: 12px;
  font-weight: 690;
  text-decoration: none;
  white-space: nowrap;
}
.platform-nav a:hover, .platform-nav a[aria-current="page"] { color: #e92851; }
.platform-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--platform-red);
  content: "";
}
.platform-account { display: flex; align-items: center; gap: 12px; margin-left: auto; white-space: nowrap; }
.platform-account a { font-size: 12px; font-weight: 700; text-decoration: none; }
.platform-account .account-status { max-width: 190px; overflow: hidden; color: #9d344b; font-size: 11px; text-overflow: ellipsis; }
.platform-account form { margin: 0; }
.platform-account > a.account-login { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.platform-account .account-login { padding: 9px 13px; border: 1px solid #edf0f6; border-radius: 12px; }
.platform-account .account-login:hover { border-color: #ffc1cc; }
.platform-account .account-signup {
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  color: #11152e;
  background: linear-gradient(110deg, #f41470 0%, #ff4259 55%, #ff7845 100%);
  cursor: pointer;
}
.platform-account .account-signup:hover { box-shadow: 0 6px 14px #f4147033; }
.platform-search-link { display: grid; width: 36px; height: 36px; place-items: center; border: 0 !important; }
.platform-search-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.platform-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--platform-line);
  border-radius: 12px;
  color: var(--platform-ink);
  background: #fff;
  cursor: pointer;
}
.platform-menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.platform-sidebar-backdrop { display: none; }

body > main { min-width: 0; grid-column: 2; grid-row: 2; }
body > footer.platform-footer { grid-column: 2; grid-row: 3; }
.platform-footer {
  margin: 48px 0 0;
  padding: 38px clamp(18px, 3vw, 48px) 18px;
  color: #dce1f0;
  background: #171a35;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(105px, 1fr)) minmax(150px, 1.2fr);
  gap: 22px;
  max-width: 1500px;
  margin: 0 auto;
}
.footer-column h2 { margin: 0 0 13px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.footer-column a { display: block; width: fit-content; margin: 8px 0; color: #c1c8de; font-size: 11px; text-decoration: none; }
.footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-aside { color: #c1c8de; font-size: 12px; }
.footer-aside .platform-brand { color: #fff; }
.footer-aside .platform-brand > span:last-child { color: #fff; }
.footer-aside .platform-brand > span:last-child > span { color: #ff7186; }
.footer-aside p { max-width: 30ch; margin: 12px 0 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1500px;
  margin: 30px auto 0;
  padding-top: 14px;
  border-top: 1px solid #373b57;
  color: #bdc4da;
  font-size: 10px;
}
.footer-bottom a { color: inherit; }
.footer-credit { display: grid; gap: 4px; }
.footer-credit strong { color: #fff; }
.footer-visitor-count { align-self: center; white-space: nowrap; }
.footer-visitor-count strong { color: #fff; font-weight: 750; }

.platform-opening {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
  align-items: center;
  gap: 24px;
  margin: 22px auto 0;
  padding: clamp(28px, 4vw, 60px);
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(112deg, #fff1ed 0%, #fff5f1 49%, #f2f1ff 100%);
  box-shadow: 0 14px 38px #222d4b0c;
}
.platform-opening::before, .platform-opening::after { position: absolute; z-index: 0; border-radius: 50%; content: ""; pointer-events: none; }
.platform-opening::before { top: -185px; right: 6%; width: 340px; height: 340px; background: #ffb99d35; }
.platform-opening::after { right: 22%; bottom: -270px; width: 470px; height: 360px; background: #a58df51c; transform: rotate(-20deg); }
.platform-opening-copy { position: relative; z-index: 1; max-width: 620px; }
.platform-kicker { margin: 0 0 13px; color: #53607c; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.platform-opening h1 { max-width: 12ch; margin: 0; color: #11152e; font-size: clamp(44px, 5vw, 70px); font-weight: 820; line-height: .99; letter-spacing: -.06em; }
.platform-opening h1 span { color: #ff4567; background: linear-gradient(100deg, #e62589 5%, #ff5364 54%, #ff8148 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.platform-opening-copy > p:not(.platform-kicker) { max-width: 58ch; margin: 18px 0 23px; color: #586480; font-size: 15px; }
.platform-primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-radius: 14px;
  color: #11152e;
  background: linear-gradient(110deg, #f41470 0%, #ff4259 55%, #ff7845 100%);
  box-shadow: 0 9px 18px #f414702b;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.platform-primary:hover { box-shadow: 0 12px 22px #f4147038; transform: translateY(-2px); }
.platform-hero-art { position: relative; z-index: 1; width: 100%; max-width: 450px; justify-self: center; filter: drop-shadow(0 18px 18px #31395918); }
.tool-library { max-width: 1600px; margin: 0 auto; padding: 36px 0 0; }
.tool-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.tool-library-heading .platform-kicker { margin: 0 0 5px; }
.tool-library h2 { margin: 0; color: var(--platform-ink); font-size: clamp(24px, 2.7vw, 32px); font-weight: 780; letter-spacing: -.045em; }
.tool-search {
  display: flex;
  width: min(100%, 520px);
  min-height: 48px;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid #e5e9f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 17px #2834510a;
}
.tool-search svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: #343e5b; stroke-width: 1.8; }
.tool-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--platform-ink); background: transparent; font-size: 13px; }
.tool-search input::placeholder { color: #8590a9; opacity: 1; }
.tool-search input:focus-visible { outline: 0; }
.tool-filters { display: flex; gap: 8px; margin: 18px 0; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
.filter-chip { min-height: 36px; flex: 0 0 auto; padding: 6px 14px; border: 1px solid #e7eaf2; border-radius: 999px; color: #515d78; background: #fff; font-size: 11px; font-weight: 720; cursor: pointer; transition: border-color 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out; }
.filter-chip:hover { border-color: #ff9cac; color: #da264d; }
.filter-chip.is-active { border-color: #ffe0e5; color: #e62b52; background: #fff0f2; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 13px; }
.tool-entry {
  position: relative;
  min-height: 164px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e9ecf4;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 3px 12px #202b4908;
  text-decoration: none;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}
.tool-entry:hover { border-color: #f7c7d0; box-shadow: 0 12px 24px #202b4914; transform: translateY(-3px); }
.tool-entry[hidden] { display: none; }
.tool-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(140deg, #ff5c50, #f52272); }
.tool-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.tool-entry-organize .tool-icon { background: linear-gradient(140deg, #a44cf6, #6d4df5); }
.tool-entry-optimize .tool-icon { background: linear-gradient(140deg, #2f96ff, #3b67ef); }
.tool-entry-convert .tool-icon { background: linear-gradient(140deg, #13c98a, #13a875); }
.tool-entry-edit .tool-icon { background: linear-gradient(140deg, #ffad32, #ff774e); }
.tool-entry-security .tool-icon { background: linear-gradient(140deg, #ff667b, #df3b73); }
.tool-entry-intelligence .tool-icon { background: linear-gradient(140deg, #be58eb, #7351e8); }
.tool-entry-workflow .tool-icon { background: linear-gradient(140deg, #f5a53c, #ef684c); }
.tool-entry-image .tool-icon { background: linear-gradient(140deg, #338fff, #654df1); }
.tool-operation-merge .tool-icon { background: linear-gradient(140deg, #ff5c50, #f52272); }
.tool-operation-split .tool-icon { background: linear-gradient(140deg, #a44cf6, #6d4df5); }
.tool-operation-organize .tool-icon { background: linear-gradient(140deg, #338fff, #4d71f6); }
.tool-operation-rotate .tool-icon { background: linear-gradient(140deg, #13c98a, #13a875); }
.tool-operation-crop .tool-icon { background: linear-gradient(140deg, #ffb234, #ff7845); }
.tool-operation-page-numbers .tool-icon { background: linear-gradient(140deg, #c955ea, #ed52b6); }
.tool-operation-compress .tool-icon { background: linear-gradient(140deg, #338fff, #2463e8); }
.tool-operation-edit .tool-icon, .tool-operation-watermark .tool-icon { background: linear-gradient(140deg, #ffad32, #ff774e); }
.tool-operation-sign .tool-icon, .tool-operation-pdf-forms .tool-icon { background: linear-gradient(140deg, #9a59ef, #6751e9); }
.tool-operation-image .tool-icon { background: linear-gradient(140deg, #338fff, #654df1); }
.tool-copy { display: grid; align-content: start; gap: 5px; padding-right: 18px; }
.tool-copy strong { color: var(--platform-ink); font-size: 13px; font-weight: 780; letter-spacing: -.015em; }
.tool-copy > span { color: #68738f; font-size: 11px; line-height: 1.45; }
.tool-arrow { position: absolute; right: 13px; bottom: 13px; color: #56627f; font-size: 16px; }
.tool-empty { padding: 26px 0; color: #68738f; }
.privacy-strip { display: flex; max-width: 1600px; align-items: flex-start; gap: 13px; margin: 27px auto 0; padding: 15px 17px; border: 1px solid #e9edf6; border-radius: 14px; color: #68738f; background: #fbfcff; }
.privacy-icon { color: #17865f; font-size: 22px; line-height: 1; }
.privacy-strip p { max-width: 85ch; margin: 0; font-size: 11px; }
.privacy-strip strong { color: #26304c; }

.workflow-main { width: min(1500px, calc(100% - 56px)); margin: 0 auto; }
.workflow-opening {
  position: relative;
  min-height: 230px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: 32px clamp(22px, 4vw, 48px);
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(112deg, #fff2ee, #fff7f3 52%, #f2f2ff);
}
.workflow-opening h1 { max-width: 18ch; color: #11152e; font-size: clamp(35px, 4vw, 54px); font-weight: 810; line-height: 1.02; letter-spacing: -.055em; }
.workflow-opening p { max-width: 68ch; color: #586480; font-size: 14px; }
.workflow-local-note { justify-self: end; padding: 9px 13px; border: 1px solid #e7e9f2; border-radius: 999px; color: #3f4a67 !important; background: #fff; font-size: 11px; }
.workflow-panel { margin: 22px auto 0; padding: clamp(20px, 3vw, 34px); border: 1px solid #e7eaf2; border-radius: 20px; background: #fff; box-shadow: 0 7px 24px #202b4908; }
.workflow-panel h2 { margin: 0 0 7px; color: #11152e; font-size: 22px; font-weight: 780; letter-spacing: -.04em; }
.workflow-panel > p { color: #68738f; font-size: 13px; }
.workflow-controls { gap: 14px; }
.workflow-field > span { color: #343e5b; font-size: 12px; font-weight: 720; }
.workflow-field input, .workflow-field textarea, .workflow-field select, .workflow-form-fields input[type="text"] {
  min-height: 44px;
  border: 1px solid #e0e5ef;
  border-radius: 12px;
  color: #202945;
  background: #fff;
}
.workflow-field textarea { min-height: 110px; }
.workflow-field small { color: #727e98; }
.workflow-upload { padding: 24px; border: 1px dashed #c9d2e5; border-radius: 16px; background: #fafbff; transition: border-color 180ms ease-out, background-color 180ms ease-out; }
.workflow-upload:focus-within, .workflow-upload:hover { border-color: #a88af1; background: #f8f7ff; }
.workflow-upload label { min-height: 42px; padding: 0 16px; border: 0; border-radius: 12px; color: #11152e; background: linear-gradient(110deg, #f41470 0%, #ff4259 55%, #ff7845 100%); font-size: 12px; font-weight: 740; }
.workflow-file-list { color: #46516c; }
.workflow-actions { gap: 9px; }
.workflow-button { min-height: 46px; padding: 0 18px; border-radius: 12px; color: #11152e; background: linear-gradient(110deg, #f41470 0%, #ff4259 55%, #ff7845 100%); font-size: 13px; }
.workflow-button:hover:not(:disabled) { box-shadow: 0 8px 18px #f4147028; }
.workflow-button:disabled { color: #78829a; background: #e9ecf3; }
.workflow-button-secondary { border: 1px solid #e2e6f0; color: #384360; background: #fff; }
.workflow-button-secondary:hover:not(:disabled) { background: #f8f9fc; }
.workflow-status { color: #52607b !important; }
.workflow-status.is-error { color: #b42344 !important; }
.workflow-result { border-color: #e8ebf4; }
.workflow-result a { color: #db2851; }
.workflow-service-note { border: 1px solid #f3d7a7; border-radius: 12px; color: #5e4e2d; background: #fff9ed; }
.workflow-signature { border: 1px solid #dce2ee; border-radius: 12px; }
.workflow-faq { gap: 32px; margin: 42px 0; }
.workflow-faq h2 { color: #11152e; font-size: 24px; }
.workflow-faq p { color: #68738f; }
.workflow-back { color: #d82950; }
.workflow-form-fields label { color: #3e4864; }
.workflow-form-fields label:has(input[type="checkbox"]) input { accent-color: var(--platform-red); }

.account-page {
  min-height: 70vh;
  padding: 54px 20px;
  background: radial-gradient(ellipse at 30% 15%, #fff0ef 0, transparent 38%), #f8f9fc;
}
.account-card { border: 1px solid #e7eaf2; border-radius: 20px; box-shadow: 0 16px 42px #202b4910; }
.account-card h1 { color: #11152e; font-size: 30px; font-weight: 800; }
.account-card > p { color: #68738f; }
.account-card label { color: #34405e; }
.account-card input { border: 1px solid #e0e5ef; border-radius: 12px; }
.account-card input:focus { border-color: #a88af1; }
.account-submit { border-radius: 12px; background: linear-gradient(110deg, #f41470 0%, #ff4259 55%, #ff7845 100%); }
.account-submit:hover { background: linear-gradient(110deg, #de0e66 0%, #ed354d 55%, #f56c40 100%); }
.account-alert { border-radius: 12px; }
.account-note a, .account-links a { color: #db2851; }

.site-header, .site-footer { width: auto; }
.site-header { display: none; }
main:not(.account-page) { width: min(1600px, calc(100% - 48px)); margin: 0 auto; }
.opening {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 22px auto 20px;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(112deg, #fff1ed 0%, #fff7f3 52%, #f1f1ff 100%);
}
.opening::after { position: absolute; right: 4%; bottom: -175px; width: 310px; height: 310px; border-radius: 50%; background: #a58df51a; content: ""; pointer-events: none; }
.opening h1 { max-width: 16ch; color: #11152e; font-size: clamp(38px, 4vw, 58px); font-weight: 820; line-height: 1.02; letter-spacing: -.055em; }
.opening p:not(.local-note):not(.privacy-note):not(.output-stamp) { max-width: 66ch; color: #586480; font-size: 14px; }
.opening .local-note, .opening .privacy-note, .opening .output-stamp {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border: 1px solid #e7e9f2;
  border-radius: 999px;
  color: #3f4a67;
  background: #fff;
  font-size: 11px;
}
.merge-illustration { position: relative; z-index: 1; width: min(38%, 340px); flex: 0 0 auto; }
.merge-illustration img { display: block; width: 100%; filter: drop-shadow(0 15px 17px #29365b19); }
.opening h1 span { color: #ff4567; background: linear-gradient(100deg, #e62589 5%, #ff5364 54%, #ff8148 100%); background-clip: text; -webkit-text-fill-color: transparent; }
.section-label, .eyebrow { color: #697592; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.station-heading, .editor-heading { border-bottom: 1px solid #eef0f6; }
.station-heading h2, .editor-heading h2 { color: #11152e; font-size: 22px; font-weight: 780; }
.workbench, .studio, .cutout-station { border: 1px solid #e7eaf2; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px #202b4909; }
.workbench { grid-template-columns: minmax(0, 1fr) 320px; min-height: 460px; background: #fff; }
.tray, .proofing-space, .specimen-stage, .image-mat { border-radius: 14px; }
.tray { min-height: 410px; margin: 16px; padding: 18px; border: 1px dashed #cbd4e6; background: #fafbff; }
.tray.is-dragging { border-color: #8d73eb; background: #f6f4ff; }
.tray-label { color: #78839d; font-size: 10px; }
.empty-stack { margin: 56px auto 22px; }
.empty-title { color: #202945; font-size: 19px; font-weight: 760; }
.empty-copy { color: #68738f; }
.paper-glyph span { border-color: #9aa8c3; border-radius: 8px; box-shadow: 0 7px 15px #29365b15; }
.paper-glyph span:nth-child(3)::after { background: #dbe1ef; box-shadow: 0 8px 0 #dbe1ef, 0 16px 0 #dbe1ef, 0 24px 0 #dbe1ef; }
.button { min-height: 44px; padding: 10px 15px; border-radius: 12px; font-size: 12px; }
.button-blue, .button-red, .button-orange, .button-ink, .button-green {
  color: #11152e;
  background: linear-gradient(110deg, #f41470 0%, #ff4259 55%, #ff7845 100%);
}
.button-blue:hover:not(:disabled), .button-red:hover:not(:disabled), .button-orange:hover:not(:disabled), .button-ink:hover:not(:disabled), .button-green:hover:not(:disabled) { box-shadow: 0 8px 18px #f4147028; }
.button-red:disabled, .button-orange:disabled, .button-ink:disabled { color: #78829a; background: #e9ecf3; }
.button-outline, .button-quiet, .button-paper { border-color: #e1e6f0; border-radius: 12px; color: #3c4763; background: #fff; }
.binding-rail, .control-rail, .process-column, .removal-rail { border-color: #edf0f6; background: #fff; }
.binding-rail { border-radius: 0 20px 20px 0; }
.binding-rail h3, .removal-rail h2, .process-column h2 { color: #161a34; }
.binding-spine { border-radius: 999px; background: linear-gradient(90deg, #f41470, #ff7845); }
.binding-spine::before, .binding-spine::after { background: #ff5364; }
.merge-summary { border-color: #e8ebf4; }
.merge-summary div, .document-row, .document-row:last-child { border-color: #e8ebf4; }
.merge-summary dt, .document-name span, .rail-copy, .rail-footnote, .document-footer p { color: #68738f; }
.merge-summary dd, .document-name strong { color: #202945; }
.document-row { min-height: 76px; margin: 0 3px; padding: 10px 12px; border: 1px solid #e7eaf2; border-radius: 13px; background: #fff; }
.document-row + .document-row { margin-top: 8px; }
.page-number { color: #ea3158; }
.order-controls button, .remove-button { border-color: #e2e6ef; border-radius: 9px; background: #fff; }
.order-controls button:hover:not(:disabled), .remove-button:hover { border-color: #ff9cac; background: #fff4f6; }
.document-footer { border-color: #edf0f6; }
.result-sheet { border-color: #e8ebf4; }
.steps-section, .answers-section, .how-section, .method-section, .questions-section { border-color: #e8ebf4; }
.steps li, .method-list li, .faq-list details, .faq-list details:last-child { border-color: #e8ebf4; }
.steps h3, .method-list h3, .faq-list summary { color: #202945; }
.steps p, .method-list p, .faq-list p { color: #68738f; }
.studio, .cutout-station { overflow: hidden; }
.studio-topline, .station-header, .studio-foot, .station-footer { border-color: #e8ebf4; color: #74809b; }
.studio-body, .station-body { min-height: 0; background: #fff; }
.specimen-column, .compare-stage { border-color: #e8ebf4; }
.specimen-stage, .source-mat { background: #f2f5fb; }
.image-mat { min-height: 320px; }
.empty-title { color: #202945; }
.empty-note, .empty-copy, .empty-cutout p, figcaption, .process-copy, .rail-copy { color: #68738f; }
.settings-line, .notice, .privacy-warning, .result-block, .rail-divider { border-color: #e8ebf4; }
.settings-line strong, .notice strong, .privacy-warning strong { color: #27314d; }
.settings-line, .notice p, .privacy-warning p, .api-state, .rail-footnote { color: #68738f; }
.warning-symbol, .notice-mark { border-color: #ff986d; color: #ba5039; }
.api-state.is-error, .document-footer p.is-error { color: #b42344; }
.result-preview, .output-preview { border-radius: 10px; }

.account-page { width: 100%; }
.platform-sidebar-backdrop.is-visible { display: none; }

@media (max-width: 1250px) and (min-width: 761px) {
  body { grid-template-columns: 76px minmax(0, 1fr); }
  .platform-sidebar { align-items: center; padding-inline: 8px; }
  .sidebar-brand { margin-inline: 0; }
  .sidebar-brand > span:last-child, .sidebar-label, .sidebar-link-label, .sidebar-bottom p { display: none; }
  .sidebar-nav { width: 100%; }
  .sidebar-link { justify-content: center; padding-inline: 7px; }
  .sidebar-icon { flex-basis: auto; }
  .sidebar-bottom { width: 100%; }
  .sidebar-cta { justify-content: center; padding: 0; font-size: 0; }
  .sidebar-cta span { font-size: 18px; }
  .platform-nav { gap: 12px; }
  .platform-nav a { font-size: 11px; }
  .platform-header { gap: 12px; padding-inline: 16px; }
  .platform-account { gap: 6px; }
  .platform-account .account-status { display: none; }
  .platform-account .account-login, .platform-account .account-signup { padding-inline: 10px; }
  .footer-columns { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  .footer-aside { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .platform-nav {
    position: relative;
    inset: auto;
    display: flex;
    min-height: 0;
    flex: 1 1 0;
    align-items: center;
    gap: 10px;
    padding: 0;
    overflow-x: auto;
    border: 0;
    background: transparent;
    scrollbar-width: none;
  }
  .platform-nav::-webkit-scrollbar { display: none; }
  .platform-nav a { font-size: 10px; }
  .platform-account { flex: 0 0 auto; gap: 4px; }
  .platform-account .account-status { min-width: 0; max-width: 82px; }
  .platform-search-link { width: 32px; }
  .platform-account .account-login { padding: 8px; }
  .platform-account .account-signup { padding: 9px 10px; }
  .platform-opening { min-height: 300px; }
  .workflow-main { width: min(100% - 36px, 760px); }
  .workflow-opening { grid-template-columns: 1fr; }
  .workflow-local-note { justify-self: start; }
  .workbench { grid-template-columns: 1fr; }
  .binding-rail { border-top: 1px solid #edf0f6; border-left: 0; border-radius: 0 0 20px 20px; }
  .studio-body, .station-body { grid-template-columns: 1fr; }
  .specimen-column, .compare-stage { border-right: 0; border-bottom: 1px solid #e8ebf4; }
  .steps-section, .answers-section, .how-section, .method-section, .questions-section { grid-template-columns: 1fr; gap: 26px; padding: 58px 0; }
}
@media (max-width: 760px) {
  body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 62px minmax(0, 1fr) auto; }
  .platform-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    width: min(290px, calc(100vw - 58px));
    height: 100dvh;
    min-height: 0;
    align-items: stretch;
    grid-column: auto;
    grid-row: auto;
    padding: 18px 14px;
    box-shadow: 14px 0 35px #11152e20;
    transform: translateX(-110%);
    transition: transform 220ms cubic-bezier(.2, .8, .2, 1);
  }
  .platform-sidebar.is-open { transform: translateX(0); }
  .sidebar-brand { margin: 0 8px 28px; }
  .sidebar-brand > span:last-child, .sidebar-label, .sidebar-link-label, .sidebar-bottom p { display: inline; }
  .sidebar-label { display: block; }
  .sidebar-link { justify-content: flex-start; padding-inline: 11px; }
  .sidebar-icon { flex-basis: 20px; }
  .sidebar-bottom { width: auto; }
  .sidebar-cta { justify-content: space-between; padding-inline: 13px; font-size: 12px; }
  .sidebar-cta span { font-size: 12px; }
  .platform-sidebar-backdrop.is-visible { position: fixed; inset: 0; z-index: 29; display: block; width: 100%; height: 100%; border: 0; background: #12172a55; }
  body.sidebar-open { overflow: hidden; }
  .platform-header { min-height: 62px; grid-column: 1; grid-row: 1; gap: 10px; padding-inline: 13px; }
  .platform-menu-toggle { display: grid; order: 0; }
  .platform-nav { flex: 1 1 auto; gap: 14px; overflow: auto; scrollbar-width: none; }
  .platform-nav::-webkit-scrollbar { display: none; }
  .platform-nav a { min-height: 62px; font-size: 10px; }
  .platform-account { gap: 4px; }
  .platform-account .account-login, .platform-account .account-signup { padding: 8px 9px; font-size: 10px; }
  .platform-account .account-status { display: none; }
  body > main { grid-column: 1; grid-row: 2; }
  body > footer.platform-footer { grid-column: 1; grid-row: 3; }
  main:not(.account-page) { width: calc(100% - 28px); }
  .platform-opening { grid-template-columns: 1fr; gap: 0; margin-top: 14px; padding: 29px 22px 18px; border-radius: 19px; }
  .platform-opening-copy, .platform-opening h1, .platform-opening-copy > p { width: 100%; min-width: 0; max-width: 100%; }
  .platform-opening h1 { font-size: clamp(34px, 8.5vw, 42px); overflow-wrap: anywhere; }
  .platform-opening-copy > p:not(.platform-kicker) { font-size: 13px; overflow-wrap: anywhere; }
  .platform-hero-art { width: min(88%, 350px); margin-top: 8px; }
  .tool-library { padding-top: 27px; }
  .tool-library-heading { align-items: stretch; flex-direction: column; gap: 14px; }
  .tool-search { width: 100%; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .tool-entry { min-height: 148px; padding: 13px; border-radius: 14px; }
  .tool-copy strong { font-size: 12px; }
  .tool-copy > span { font-size: 10px; }
  .workflow-main { width: calc(100% - 28px); }
  .workflow-opening { margin-top: 14px; padding: 28px 21px; }
  .workflow-panel { margin-top: 14px; }
  .workflow-controls, .workflow-faq { grid-template-columns: 1fr; }
  .opening { align-items: flex-start; flex-direction: column; margin-top: 14px; padding: 28px 21px; }
  .opening h1 { font-size: clamp(37px, 9vw, 55px); }
  .opening .local-note, .opening .privacy-note, .opening .output-stamp { align-self: flex-start; }
  .merge-illustration { width: min(78%, 290px); align-self: center; }
  .workbench { min-height: 0; }
  .tray { min-height: 370px; margin: 10px; padding: 14px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 22px; }
  .footer-aside { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .platform-footer { margin-top: 34px; padding: 30px 20px 17px; }
  .account-page { min-height: calc(100vh - 62px); }
}
@media (max-width: 520px) {
  .platform-nav { display: none; }
  .platform-account { margin-left: auto; }
  .platform-search-link { width: 32px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-entry { min-height: 105px; grid-template-columns: 38px minmax(0, 1fr) 18px; grid-template-rows: 1fr; align-items: start; }
  .tool-icon { grid-row: 1; }
  .tool-copy { grid-column: 2; grid-row: 1; }
  .tool-arrow { top: 14px; right: 13px; bottom: auto; }
  .tool-entry .tool-copy > span { max-width: 48ch; }
  .privacy-strip { margin-top: 22px; }
  .workflow-actions { flex-direction: column; }
  .workflow-actions .workflow-button { width: 100%; justify-content: center; }
  .document-row { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; }
  .remove-button { grid-column: 3; grid-row: 1; }
  .order-controls { grid-column: 2; }
  .document-name { grid-column: 2; grid-row: 1; padding-right: 38px; }
  .document-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding: 10px 12px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .image-mat { min-height: 260px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(110px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
