@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}

:root {
  --ink: #11152a;
  --text: #3f4868;
  --muted: #5e6b90;
  --primary: #4c38ff;
  --primary-hover: #3924e6;
  --line: #e2e6f3;
  --soft: #f5f6ff;
  --shell: 1200px;
  --radius: 14px;
  --shadow: 0 14px 50px #3849bd18;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,input,textarea,select {
  font: inherit;
}

button,a,input,textarea {
  -webkit-tap-highlight-color: transparent;
}

button,a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .44;
}

button {
  color: inherit;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img,svg {
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  line-height: 1.15;
}

button,input,textarea {
  border-radius: 0;
}

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid #7667ff;
  outline-offset: 4px;
}

input:focus-visible,textarea:focus-visible {
  outline-offset: 2px;
}

[hidden] {
  display: none!important;
}

::selection {
  background: #dcd8ff;
  color: #201460;
}

.shell {
  width: min(var(--shell),calc(100% - 64px));
  margin-inline: auto;
}

.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

main:focus {
  outline: none;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 23px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  transition: background .18s,box-shadow .18s,transform .18s;
  white-space: normal;
  text-align: center;
}

.button .icon {
  width: 18px;
  height: 18px;
}

.button-primary {
  background: linear-gradient(135deg,#4d37ff,#4735f2);
  color: #fff;
  box-shadow: 0 5px 12px #503bff20;
}

.button-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 7px 20px #4c38ff30;
  transform: translateY(-1px);
}

.button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--soft);
  border-color: #b8afff;
}

.button-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 3px 5px #0001;
}

.button-light:hover {
  background: #edeaff;
}

.button-small {
  min-height: 44px;
  font-size: 12px;
  padding: 10px 17px;
  border-radius: 9px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
}

.icon-button:hover {
  background: #efedff;
  color: var(--primary);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  color: #535fb0;
  line-height: 1.5;
}

.eyebrow-square {
  display: inline-block;
  width: 13px;
  height: 10px;
  border: 1px solid #5237ff;
  background: linear-gradient(135deg,#7959ff,#3c2cff);
  border-radius: 2px;
  box-shadow: inset 2px 0 #9887ff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 820;
  font-size: 24px;
  letter-spacing: -1px;
  line-height: 1;
  flex-shrink: 0;
}

.brand img {
  width: 38px;
  height: 40px;
}

.brand:hover {
  color: var(--ink);
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffed;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e7e9f4;
  transition: box-shadow .2s;
}

.site-header.is-scrolled {
  box-shadow: 0 3px 20px #1f245009;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 76px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-right: auto;
  margin-left: 20px;
}

.desktop-nav>a,.nav-dropdown>summary {
  font-size: 12px;
  font-weight: 500;
  color: #252b48;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.desktop-nav>a:hover,.nav-dropdown>summary:hover {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown>summary {
  list-style: none;
  cursor: pointer;
}

.nav-dropdown>summary::-webkit-details-marker,.mobile-menu>summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary>.icon {
  width: 12px;
  height: 12px;
}

.nav-dropdown[open] summary>.icon {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -18px;
  width: 250px;
  max-height: min(640px, calc(100dvh - 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 45px #1921501c;
  padding: 10px;
}

.dropdown-label {
  display: block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px 10px;
}

.nav-dropdown-panel>a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.nav-dropdown-panel>a:hover {
  background: #f5f4ff;
}

.mini-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.mini-icon>.icon {
  width: 17px;
  height: 17px;
}

.dropdown-arrow {
  margin-left: auto!important;
  width: 14px!important;
  height: 14px!important;
  color: var(--muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #505e85;
  font-size: 11px;
  min-height: 44px;
}

.header-search .icon {
  width: 17px;
  height: 17px;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu>summary {
  display: grid;
  place-items: center;
  list-style: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.mobile-menu>summary>.icon:last-child {
  display: none;
}

.mobile-menu[open]>summary>.icon:first-child {
  display: none;
}

.mobile-menu[open]>summary>.icon:last-child {
  display: block;
}

.mobile-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: min(340px,calc(100vw - 32px));
  max-height: calc(100dvh - 105px);
  overflow: auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 50px #17215525;
}

.mobile-menu-panel>a:not(.button) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
}

.mobile-menu-panel>a:not(.button):hover {
  background: var(--soft);
}

.mobile-menu-panel .button {
  margin-top: 12px;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% 42%,#efedff 0,transparent 54%),radial-gradient(ellipse at 46% 87%,#edf4ffb5 0,transparent 58%),linear-gradient(110deg,#fcfdff,#f8faff 62%,#f8f7ff);
}

.hero-grid {
  display: grid;
  grid-template-columns: .97fr 1.03fr;
  align-items: center;
  gap: 53px;
  padding-block: 62px 59px;
}

.hero-copy {
  padding-bottom: 4px;
}

.hero-copy>.eyebrow {
  margin-bottom: 23px;
}

.hero h1 {
  font-size: clamp(46px,5.04vw,68px);
  font-weight: 850;
  letter-spacing: -.054em;
  line-height: 1.045;
}

.hero h1>span {
  color: var(--primary);
  white-space: nowrap;
}

.hero-description {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  margin-top: 21px;
  letter-spacing: -.3px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 29px;
}

.watch-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #34416d;
  font-size: 12px;
  font-weight: 650;
  min-height: 48px;
}

.watch-link:hover {
  color: var(--primary);
}

.play-circle {
  width: 42px;
  height: 42px;
  border: 1px solid #c5bcff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: #fff;
  box-shadow: 0 3px 8px #6a57fb10;
}

.play-circle:before {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(135deg,#7662ff,#4431f7);
  border-radius: 50%;
}

.play-circle .icon {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  color: #fff;
  fill: currentColor;
  stroke: none;
}

.hero-benefits {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 66px 0 0;
  gap: 16px;
  white-space: nowrap;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #536087;
  font-size: 10px;
  line-height: 1.4;
}

.hero-benefits li+li {
  border-left: 1px solid #dce2f7;
  padding-left: 16px;
}

.hero-benefits .icon {
  width: 23px;
  height: 23px;
  color: #6651ff;
}

.hero-preview-wrap {
  position: relative;
  padding-top: 0;
  min-width: 0;
}

.preview-float {
  position: absolute;
  right: 40px;
  top: -24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 7px 22px #493b9020;
  font-size: 10px;
  font-weight: 550;
  color: #293556;
  white-space: nowrap;
}

.preview-float>span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  background: #21bc81;
  box-shadow: 0 2px 7px #29b88730;
  color: #fff;
}

.preview-float .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

/* Page organizer: real DOM, touch targets, no bitmap UI */
.workspace-preview {
  min-width: 0;
  background: #fff;
  border: 1px solid #e3e4f6;
  border-radius: 17px;
  padding: 18px 14px 13px;
  box-shadow: 0 12px 38px #3e4cc91a,0 2px 9px #6b67ad0d;
}

.workspace-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 5px 14px;
  min-width: 0;
}

.pdf-file-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 45px;
  flex-shrink: 0;
  border: 1px solid #eef0f6;
  border-radius: 8px;
  color: #ff3939;
  background: #fff;
}

.pdf-file-icon>.icon {
  width: 27px;
  height: 31px;
  fill: #ff3535;
  stroke: #ff3535;
  stroke-width: 1.5;
}

.pdf-file-icon:after {
  content: "";
  position: absolute;
  right: 8px;
  top: 9px;
  width: 7px;
  height: 8px;
  background: #ff9696;
  clip-path: polygon(0 0,100% 100%,0 100%);
}

.pdf-file-icon>b {
  position: absolute;
  left: 10px;
  top: 21px;
  font-size: 8px;
  font-weight: 750;
  color: #fff;
  line-height: 1;
}

.workspace-file-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.6;
}

.workspace-file-name strong {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.workspace-file-name>span {
  font-size: 10px;
  color: var(--muted);
}

.file-dot {
  padding-inline: 4px;
}

.preview-label {
  font-size: 9px;
}

.reset-preview {
  width: 36px;
  height: 40px;
}

.reset-preview>.icon {
  width: 16px;
  height: 16px;
}

.workspace-canvas {
  border: 1px solid #e9ebf3;
  border-radius: 9px;
  padding: 10px 10px 3px;
  background: linear-gradient(#fafbff,#f6f8fc);
}

.workspace-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}

.workspace-toolbar h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.25px;
}

.workspace-tools {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mini-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  font-size: 9px;
  font-weight: 550;
  padding: 7px 10px;
  border: 1px solid #e3e6f1;
  border-radius: 6px;
  background: #fff;
  color: #2b3556;
  transition: border-color .15s,background .15s;
}

.mini-button .icon {
  width: 14px;
  height: 14px;
}

.mini-button:hover {
  border-color: #b9b2fb;
  background: #f8f6ff;
}

.mini-button[data-demo-action=delete]:hover {
  color: #c5395a;
  background: #fff5f7;
  border-color: #ebbeca;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: 12px;
  row-gap: 11px;
}

.document-page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 6px;
  min-width: 0;
  color: var(--ink);
}

.document-page:focus-visible {
  outline-offset: 2px;
}

.paper-frame {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: .91;
  background: #fcfcfe;
  border: 1px solid #e7eaf1;
  border-radius: 5px;
  padding: 6px;
  box-shadow: 0 1px 3px #29398002;
  transition: border-color .15s,box-shadow .15s;
}

.document-page:hover .paper-frame {
  border-color: #b9b1ff;
  box-shadow: 0 2px 6px #6448f914;
}

.document-page.is-selected .paper-frame {
  border: 1.5px solid #6651ff;
  background: #f9f8ff;
  box-shadow: 0 0 0 2px #6e4cff07;
}

.paper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 14px 11px 9px;
  border: 1px solid #eff0f4;
  border-radius: 1px;
  background: #fff;
  text-align: left;
  overflow: hidden;
  transform: rotate(var(--page-rotation,0deg)) scale(var(--page-scale,1));
  transition: transform .22s;
}

.page-checkbox {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 16px;
  height: 16px;
  border: 1px solid #909cbd;
  border-radius: 4px;
  background: #fff;
  z-index: 1;
  display: grid;
  place-items: center;
}

.page-checkbox>.icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  opacity: 0;
}

.is-selected .page-checkbox {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.is-selected .page-checkbox>.icon {
  opacity: 1;
}

.page-number {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  padding-bottom: 1px;
}

.paper-overline {
  display: block;
  width: 25%;
  height: 4px;
  flex-shrink: 0;
  margin-bottom: 6px;
  border-top: 1px solid #adb8d4;
  border-bottom: 1px solid #e1e5ef;
}

.paper-title {
  display: block;
  font-size: 9px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.3px;
  max-width: 88%;
  margin-bottom: 9px;
  color: #253150;
}

.paper-1 .paper-title {
  font-size: 13px;
  max-width: 70%;
  letter-spacing: -.55px;
  margin-bottom: 7px;
  line-height: .97;
}

.paper-landscape {
  display: block;
  width: 100%;
  height: 39%;
  object-fit: cover;
  margin-bottom: 6px;
}

.paper-caption {
  font-size: 5.5px;
  font-weight: 650;
  line-height: 1.1;
  margin-bottom: 5px;
}

.paper-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-bottom: 9px;
}

.paper-lines i {
  display: block;
  height: 2px;
  background: #d9e0ed;
  border-radius: 1px;
  width: 100%;
  flex-shrink: 0;
}

.paper-lines i:nth-child(2n) {
  width: 88%;
}

.paper-lines i:nth-child(3n) {
  width: 94%;
}

.paper-lines i:last-child {
  width: 65%;
}

.paper-lines.short-lines {
  gap: 3px;
  margin-bottom: 5px;
}

.paper-lines.short-lines i {
  height: 1.5px;
}

.mini-chart {
  height: 42%;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 6px;
  border-bottom: 1px solid #bfc7df;
  padding: 0 4px;
  margin-top: 0;
  margin-bottom: 7px;
  background: repeating-linear-gradient(to top,transparent 0,transparent 12px,#f1f3f7 12px,#f1f3f7 13px);
}

.mini-chart>i {
  width: 14%;
  height: 24%;
  background: linear-gradient(90deg,#849bff,#6581e4);
}

.mini-chart>i:nth-child(2) {
  height: 43%;
}

.mini-chart>i:nth-child(3) {
  height: 62%;
}

.mini-chart>i:nth-child(4) {
  height: 83%;
}

.mini-chart>i:nth-child(5) {
  height: 99%;
  background: linear-gradient(90deg,#6481e9,#435fcc);
}

.mini-timeline,.mini-bullets {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0 0 0 12px;
  position: relative;
}

.mini-timeline:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 5px;
  width: 1px;
  background: #b6b2fc;
}

.mini-timeline>span,.mini-bullets>span {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-timeline>span:before,.mini-bullets>span:before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  background: #705bfb;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.mini-timeline i,.mini-bullets i {
  height: 2px;
  width: 100%;
  background: #d9e0ed;
}

.mini-timeline i+ i,.mini-bullets i+i {
  width: 75%;
}

.budget-chart {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 11px;
}

.mini-pie {
  display: block;
  width: 60%;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(#6f84ea 0deg 110deg,#fff 110deg 113deg,#6274d2 113deg 215deg,#fff 215deg 218deg,#d7d8f6 218deg 358deg,#fff 358deg);
  box-shadow: 0 0 0 1px #e0e3f4;
}

.budget-chart>.paper-lines {
  gap: 5px;
  margin: 0;
}

.workspace-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 0;
}

.selection-count {
  font-size: 11px;
  line-height: 1.3;
  color: #56648b;
}

.preview-extract {
  min-height: 39px;
  padding: 9px 14px;
  font-size: 10px;
  gap: 8px;
  border-radius: 8px;
}

.preview-extract>.icon {
  width: 15px;
  height: 15px;
}

.workspace-feedback {
  font-size: 11px;
  line-height: 1.5;
  padding: 10px 8px 1px;
  color: #605b94;
}

.preview-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  padding: 14px;
  border-radius: 9px;
  background: var(--soft);
}

.preview-notice .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.workspace-preview>noscript>.preview-notice {
  margin-top: 12px;
}

/* Tool discovery */
.tools-section {
  padding: 44px 0 28px;
  scroll-margin-top: 12px;
}

.tools-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.tools-heading .eyebrow {
  margin-bottom: 12px;
}

.tools-heading h2 {
  font-size: clamp(30px,3.2vw,43px);
  font-weight: 800;
  letter-spacing: -1.9px;
  line-height: 1.12;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  border: 1px solid #dce1f0;
  border-radius: 10px;
  min-width: 265px;
  height: 46px;
  padding: 0 14px;
  background: #fff;
  box-shadow: 0 2px 4px #e9ecf020;
  margin-bottom: 2px;
}

.search-field:focus-within {
  border-color: #9184ff;
  box-shadow: 0 0 0 3px #6b4fff10;
}

.search-field>.icon {
  color: #6472a1;
  width: 20px;
  height: 20px;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0!important;
  background: transparent;
  font-size: 12px;
  color: var(--ink);
  padding: 12px 0;
}

.search-field input::placeholder {
  color: #657195;
}

.search-field input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-field .icon-button {
  position: absolute;
  right: 2px;
  top: 1px;
  width: 42px;
  height: 42px;
}

.search-field:has(button:not([hidden])) input {
  padding-right: 30px;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 21px 0 17px;
  gap: 16px;
  min-height: 38px;
}

.tool-filters {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 38px;
  padding: 9px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #535f87;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.filter-button:hover {
  background: #f3f2ff;
  color: var(--primary);
}

.filter-button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 3px 5px #11152a12;
}

.filter-count {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.filter-count:empty {
  display: none;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 13px;
}

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  min-width: 0;
  min-height: 124px;
  padding: 23px 17px;
  border: 1px solid #e0e5f2;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: transform .18s,border-color .18s,box-shadow .18s;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: #b5aaff;
  box-shadow: 0 9px 22px #4c38ff0b;
}

.tool-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 49px;
  height: 51px;
  border-radius: 12px;
}

.tool-icon>.icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.65;
}

.tone-indigo {
  background: #eef0ff;
  color: #4132ff;
}

.tone-violet {
  background: #f3edff;
  color: #792cff;
}

.tone-orange {
  background: #fff1e8;
  color: #ff691a;
}

.tone-green {
  background: #e8faf2;
  color: #009e69;
}

.tone-blue {
  background: #eaf3ff;
  color: #3262ff;
}

.tool-card-copy {
  min-width: 0;
  padding-top: 5px;
}

.tool-card h3 {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -.35px;
  line-height: 1.3;
  padding-right: 7px;
}

.tool-card p {
  font-size: 10.5px;
  line-height: 1.55;
  color: #657195;
  margin-top: 6px;
}

.tool-card-arrow {
  position: absolute;
  right: 14px;
  top: 18px;
  width: 13px;
  height: 13px;
  color: #7080a8;
  transition: transform .18s;
}

.tool-card:hover .tool-card-arrow {
  color: var(--primary);
  transform: translateX(2px);
}

.more-tools {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 23px;
  min-height: 60px;
  border-radius: 12px;
  background: linear-gradient(110deg,#f0f1ff,#f2f3ff);
  margin-top: 14px;
  font-size: 12px;
}

.more-tools strong {
  font-weight: 750;
}

.more-tools a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 36px;
  font-weight: 650;
  line-height: 1.3;
}

.more-tools a+a {
  border-left: 1px solid #d9ddfa;
}

.more-tools .icon {
  width: 16px;
  height: 16px;
}

.more-tools a:hover {
  color: #2415c9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tools-empty {
  text-align: center;
  border: 1px dashed #d7dced;
  border-radius: 14px;
  padding: 40px 20px;
  background: #fcfcff;
}

.tools-empty>.tool-icon {
  margin: 0 auto 16px;
}

.tools-empty h3 {
  font-size: 21px;
}

.tools-empty p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.tools-empty>.button {
  margin-top: 20px;
  min-height: 44px;
}

.tools-section-full {
  padding-top: 24px;
  padding-bottom: 75px;
}

/* Steps and developer feature */
.workflow-section {
  background: linear-gradient(100deg,#f2f4ff,#f6f7ff 55%,#f2f4ff);
  padding: 43px 0 20px;
  margin-top: 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 39px;
}

.workflow-intro h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.workflow-intro h2 span {
  color: var(--primary);
}

.workflow-intro p {
  font-size: 14px;
  line-height: 1.5;
  color: #6977a4;
  margin-top: 13px;
  letter-spacing: -.2px;
}

.workflow-step {
  border-left: 1px solid #d9ddff;
  padding-left: 28px;
  min-width: 0;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 12px;
}

.step-heading>span:first-child {
  font-size: 20px;
  font-weight: 700;
  color: #7865cc;
  letter-spacing: -.8px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px #798bd10a;
  color: #6750ff;
}

.step-icon .icon {
  width: 26px;
  height: 26px;
}

.workflow-step h3 {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.4px;
  margin-bottom: 6px;
}

.workflow-step p {
  font-size: 12px;
  line-height: 1.6;
  color: #616f98;
}

.developer-banner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 36px;
  padding: 27px 35px 24px;
  border-radius: 17px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 35% 0,#2c3a52,transparent 70%),linear-gradient(110deg,#1f2c41,#172231);
  color: #fff;
  box-shadow: inset 0 1px #ffffff14;
}

.developer-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .08em;
  border: 1px solid #b1a9ff44;
  border-radius: 5px;
  padding: 3px 8px;
  background: linear-gradient(110deg,#7553c1,#536ccc);
  color: #fff;
  box-shadow: 0 3px 9px #0d18224d;
}

.developer-banner h2 {
  font-size: 30px;
  font-weight: 780;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin-top: 13px;
}

.developer-banner-copy>p {
  color: #bed0ea;
  font-size: 12px;
  margin: 9px 0 12px;
}

.developer-banner .button {
  min-height: 34px;
  font-size: 11px;
  border-radius: 7px;
  padding: 7px 12px;
}

.developer-banner .button>.icon {
  width: 14px;
  height: 14px;
}

.developer-banner-code {
  min-width: 0;
}

.code-window {
  border: 1px solid #67738a;
  border-radius: 10px;
  overflow: hidden;
  background: #131d2970;
  box-shadow: inset 0 0 16px #0000000b;
}

.code-window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #576176;
  height: 39px;
  background: #ffffff03;
}

.code-window-header>span {
  display: grid;
  place-items: center;
  height: 100%;
  width: 94px;
  border-right: 1px solid #576176;
  border-radius: 9px 9px 0 0;
  font-family: monospace;
  font-size: 12px;
  color: #a17fff;
}

.copy-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #a5b5d0;
  border-radius: 6px;
}

.copy-button:hover {
  background: #ffffff10;
  color: #fff;
}

.copy-button>.icon {
  width: 16px;
  height: 16px;
}

.code-window pre {
  margin: 0;
  padding: 24px 16px 24px 22px;
  font-size: 12px;
  font-family: "SFMono-Regular",Consolas,"Liberation Mono",monospace;
  line-height: 1.85;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #68748a transparent;
  tab-size: 4;
  color: #eff5ff;
}

.code-window code {
  font: inherit;
}

.code-line {
  display: block;
  counter-increment: code-line;
  white-space: pre;
}

.code-line:before {
  content: counter(code-line);
  display: inline-block;
  width: 24px;
  margin-right: 13px;
  color: #8593a7;
  font-size: 10px;
  user-select: none;
}

.code-keyword {
  color: #e887f9;
}

.code-type {
  color: #7cddff;
}

.code-method {
  color: #ffd670;
}

.code-number {
  color: #85ddec;
}

.developer-footnote {
  display: block;
  color: #b8c9e5;
  font-size: 10px;
  margin: 8px 3px 0;
}

.developer-footnote>span {
  padding: 0 7px;
  color: #889bc4;
}

/* Footer */
.site-footer {
  padding: 29px 0 19px;
  background: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3,1fr);
  gap: 40px;
  padding: 0 0 31px;
}

.footer-brand-block .brand {
  font-size: 23px;
  gap: 9px;
}

.footer-brand-block .brand>img {
  width: 36px;
  height: 38px;
}

.footer-brand-block>p {
  font-size: 12px;
  color: #657195;
  margin-top: 9px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding-top: 5px;
}

.footer-column h2 {
  font-size: 10px;
  font-weight: 650;
  margin-bottom: 5px;
  line-height: 1.5;
}

.footer-column a {
  font-size: 10px;
  color: #657195;
  line-height: 1.65;
  padding-block: 2px;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #e6e8f3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  font-size: 10px;
  color: #657195;
}

/* Page templates */
.page-intro {
  background: radial-gradient(ellipse at 80% 50%,#efedff88,transparent 70%),#f8faff;
  padding: 59px 0 48px;
  border-bottom: 1px solid #edf0f9;
}

.page-intro .eyebrow {
  margin-bottom: 16px;
}

.page-intro h1 {
  font-size: clamp(35px,4.7vw,60px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -2px;
  max-width: 850px;
}

.page-intro h1 span {
  color: var(--primary);
}

.page-intro p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
  max-width: 680px;
  margin-top: 18px;
}

.page-content {
  padding: 48px 0 66px;
}

.section-heading {
  font-size: 30px;
  letter-spacing: -1.2px;
  font-weight: 770;
  margin-bottom: 16px;
}

.prose {
  max-width: 680px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.prose p+p {
  margin-top: 16px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.info-card .tool-icon {
  margin-bottom: 20px;
}

.info-card h2,.info-card h3 {
  font-size: 19px;
  letter-spacing: -.6px;
  margin-bottom: 11px;
}

.info-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.info-card+.info-card {
  margin-top: 15px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid #e1e3f4;
  background: #f6f6ff;
  border-radius: 6px;
  color: #5d648d;
  font-size: 11px;
  font-weight: 550;
}

.badge .icon {
  width: 15px;
  height: 15px;
}

.workspace-page-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 38px;
  align-items: start;
}

.workspace-page-grid .workspace-preview {
  box-shadow: var(--shadow);
}

.workspace-page-grid .workspace-toolbar {
  margin-block: 4px 15px;
}

.workspace-page-grid .workspace-toolbar h2 {
  font-size: 14px;
}

.workspace-page-grid .mini-button {
  font-size: 11px;
  min-height: 44px;
}

.workspace-page-grid .paper-frame {
  aspect-ratio: .85;
}

.workspace-page-grid .paper {
  padding: 18px 15px 12px;
}

.workspace-page-grid .paper-title {
  font-size: 12px;
}

.workspace-page-grid .paper-1 .paper-title {
  font-size: 19px;
}

.workspace-page-grid .paper-caption {
  font-size: 8px;
}

.workspace-page-grid .paper-lines {
  gap: 7px;
}

.workspace-page-grid .mini-bullets,.workspace-page-grid .mini-timeline {
  gap: 18px;
  margin-top: 7px;
}

.workspace-page-grid .workspace-bottom {
  padding-block: 14px 4px;
}

.workspace-page-grid .preview-extract {
  font-size: 12px;
  min-height: 44px;
}

.workspace-page-grid .selection-count {
  font-size: 12px;
}

.workspace-instructions ol,.tool-steps {
  padding-left: 23px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.workspace-instructions li,.tool-steps li {
  padding-left: 6px;
  margin-bottom: 12px;
}

.workspace-instructions li::marker,.tool-steps li::marker {
  color: var(--primary);
  font-weight: 700;
}

.workspace-instructions .button {
  margin-top: 18px;
  font-size: 12px;
  width: 100%;
}

.workspace-instructions .preview-notice {
  margin-top: 22px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}

.breadcrumbs .icon {
  width: 12px;
  height: 12px;
}

.tool-intro-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.tool-intro-top>.tool-icon {
  width: 61px;
  height: 63px;
}

.tool-details-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.tool-details-actions>.button {
  font-size: 13px;
}

.related-tools {
  margin-top: 45px;
}

.related-tools .tool-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.api-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
}

.api-layout .code-window {
  background: #1c283b;
  color: white;
}

.api-layout .code-window pre {
  font-size: 12px;
}

.api-layout .code-window pre:has(>code:not(:has(.code-line))) {
  padding: 24px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.inline-code {
  background: #efedf9;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: .85em;
  color: #504296;
  overflow-wrap: anywhere;
}

.api-callout {
  margin-top: 25px;
}

.release-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.release-section {
  padding: 45px 0 55px;
  background: #f7f8fe;
}

.release-section h2 {
  margin-bottom: 24px;
}

.release-list .info-card {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 38px;
}

.contact-form {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 5px 24px #1e294904;
}

.contact-form h2 {
  font-size: 23px;
  letter-spacing: -.8px;
  margin-bottom: 8px;
}

.contact-form>p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-field.full-width {
  grid-column: 1/-1;
}

.form-field label {
  font-size: 12px;
  font-weight: 650;
}

.form-field input,.form-field textarea {
  width: 100%;
  border: 1px solid #dce1ef;
  border-radius: 8px;
  background: #fff;
  min-height: 46px;
  padding: 11px 13px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}

.form-field textarea {
  resize: vertical;
  min-height: 145px;
}

.form-field input::placeholder,.form-field textarea::placeholder {
  color: #8a94af;
}

.form-field .field-validation-error,.validation-summary-errors {
  color: #b5264e;
  font-size: 12px;
  line-height: 1.6;
}

.validation-summary-valid {
  display: none;
}

.form-submit {
  margin-top: 22px;
}

.form-submit .button {
  font-size: 13px;
}

.copy-output {
  margin-top: 22px;
}

.copy-output textarea {
  width: 100%;
  height: 180px;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 9px;
}

.contact-aside>p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 23px;
}

.contact-aside .info-card {
  background: #fbfbff;
}

/* Dialogs and feedback */
.selection-dialog {
  width: min(480px,calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  color: var(--ink);
  box-shadow: 0 30px 100px #11152830;
}

.selection-dialog::backdrop {
  background: #15172e73;
  backdrop-filter: blur(4px);
}

.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.selection-dialog .eyebrow {
  font-size: 10px;
  letter-spacing: .1em;
}

.selection-dialog h2 {
  font-size: 29px;
  font-weight: 780;
  letter-spacing: -1px;
  margin: 9px 0 12px;
}

.selection-dialog>p:not(.preview-notice) {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.selection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.selection-list>span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #d9d4ff;
  border-radius: 8px;
  font-size: 12px;
  color: #4f409e;
  background: #f6f4ff;
}

.selection-list .icon {
  width: 15px;
  height: 15px;
}

.selection-dialog>.button {
  width: 100%;
  margin-top: 20px;
  min-height: 46px;
  font-size: 13px;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border: 1px solid #353956;
  border-radius: 11px;
  background: var(--ink);
  box-shadow: 0 6px 28px #11152826;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  z-index: 100;
}

/* Responsive layouts */
@media(min-width:1500px) {
  .hero-grid {
    padding-block: 76px 70px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .hero-benefits {
    margin-top: 72px;
  }
}

@media(max-width:1199px) {
  .shell {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 20px;
  }
  .desktop-nav {
    gap: 18px;
    margin-left: 10px;
  }
  .header-actions {
    gap: 15px;
  }
  .header-search>span {
    display: none;
  }
  .hero-grid {
    gap: 30px;
    padding-block: 58px 50px;
  }
  .hero h1 {
    font-size: clamp(46px,5.2vw,62px);
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-benefits {
    gap: 10px;
    margin-top: 48px;
    flex-wrap: wrap;
  }
  .hero-benefits li {
    font-size: 9px;
    gap: 7px;
  }
  .hero-benefits li+li {
    padding-left: 10px;
  }
  .hero-benefits .icon {
    width: 20px;
    height: 20px;
  }
  .workspace-toolbar {
    flex-wrap: wrap;
  }
  .workspace-toolbar h2 {
    font-size: 11px;
  }
  .mini-button {
    padding: 7px 8px;
    gap: 5px;
  }
  .tool-grid {
    gap: 12px;
  }
  .tool-card {
    padding: 19px 14px;
    gap: 11px;
    min-height: 120px;
  }
  .tool-icon {
    width: 43px;
    height: 46px;
    border-radius: 10px;
  }
  .tool-card h3 {
    font-size: 11px;
  }
  .tool-card p {
    font-size: 10px;
  }
  .tool-card-arrow {
    right: 11px;
    top: 12px;
    width: 12px;
    height: 12px;
  }
  .tools-heading h2 {
    font-size: 36px;
  }
  .workflow-grid {
    gap: 22px;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
  .workflow-step {
    padding-left: 22px;
  }
  .workflow-intro h2 {
    font-size: 29px;
  }
  .workflow-intro p {
    font-size: 12px;
  }
  .developer-banner {
    gap: 28px;
    padding-inline: 30px;
  }
  .developer-banner h2 {
    font-size: 28px;
  }
  .code-window pre {
    font-size: 10.5px;
    padding-inline: 17px;
  }
  .code-line:before {
    width: 12px;
    margin-right: 10px;
  }
}

@media(max-width:1023px) {
  .desktop-nav {
    gap: 16px;
    margin-left: 0;
  }
  .desktop-nav>a,.nav-dropdown>summary {
    font-size: 11px;
  }
  .header-search {
    display: none;
  }
  .brand {
    font-size: 22px;
  }
  .header-workspace {
    font-size: 11px;
    padding-inline: 13px;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero-copy>.eyebrow {
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 15px;
  }
  .hero-actions>.button {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 12px;
  }
  .watch-link {
    font-size: 11px;
    gap: 9px;
  }
  .play-circle {
    width: 36px;
    height: 36px;
  }
  .hero-benefits {
    margin-top: 31px;
    gap: 12px;
    white-space: normal;
  }
  .hero-benefits li+li {
    padding-left: 0;
    border: 0;
  }
  .hero-benefits li {
    gap: 6px;
    font-size: 9px;
  }
  .workspace-preview {
    padding: 14px 10px 10px;
  }
  .workspace-file {
    gap: 8px;
  }
  .workspace-file-name strong {
    font-size: 11px;
  }
  .workspace-file-name>span {
    font-size: 9px;
  }
  .preview-label {
    font-size: 8px;
  }
  .pdf-file-icon {
    width: 32px;
    height: 37px;
  }
  .pdf-file-icon>b {
    top: 18px;
    left: 7px;
  }
  .pdf-file-icon:after {
    top: 5px;
    right: 5px;
  }
  .reset-preview {
    width: 30px;
  }
  .workspace-toolbar {
    gap: 6px;
    margin-bottom: 10px;
  }
  .workspace-tools {
    gap: 4px;
  }
  .mini-button {
    min-height: 33px;
    font-size: 8px;
    padding: 6px 8px;
  }
  .mini-button .icon {
    width: 12px;
    height: 12px;
  }
  .document-grid {
    column-gap: 8px;
    row-gap: 8px;
  }
  .paper-frame {
    padding: 4px;
    aspect-ratio: .85;
  }
  .paper {
    padding: 11px 8px 6px;
  }
  .paper-title {
    font-size: 7px;
    margin-bottom: 7px;
  }
  .paper-1 .paper-title {
    font-size: 10px;
  }
  .paper-overline {
    margin-bottom: 5px;
  }
  .paper-lines {
    gap: 3px;
    margin-bottom: 7px;
  }
  .paper-lines i {
    height: 1.5px;
  }
  .paper-caption {
    font-size: 4.5px;
  }
  .page-checkbox {
    width: 14px;
    height: 14px;
    right: 6px;
    top: 6px;
  }
  .page-number {
    font-size: 9px;
  }
  .mini-timeline,.mini-bullets {
    gap: 9px;
  }
  .mini-chart {
    gap: 3px;
  }
  .budget-chart {
    gap: 5px;
    margin-bottom: 7px;
  }
  .preview-float {
    right: 22px;
    font-size: 9px;
    padding: 9px 12px;
    top: -22px;
  }
  .workspace-bottom {
    padding: 10px 4px 0;
    gap: 7px;
  }
  .selection-count {
    font-size: 9px;
  }
  .preview-extract {
    min-height: 36px;
    font-size: 9px;
    padding: 8px 11px;
  }
  .tools-heading {
    gap: 24px;
  }
  .tools-heading h2 {
    font-size: 33px;
  }
  .search-field {
    min-width: 235px;
  }
  .tool-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .tool-card {
    min-height: 113px;
    padding: 20px 17px;
    gap: 13px;
  }
  .tool-card h3 {
    font-size: 12px;
  }
  .tool-card p {
    font-size: 10.5px;
  }
  .workflow-grid {
    gap: 20px;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
  .workflow-intro h2 {
    font-size: 27px;
  }
  .workflow-intro p {
    font-size: 12px;
  }
  .workflow-step {
    padding-left: 20px;
  }
  .step-heading {
    gap: 17px;
  }
  .workflow-step h3 {
    font-size: 13px;
  }
  .workflow-step p {
    font-size: 11px;
  }
  .step-icon {
    width: 41px;
    height: 43px;
  }
  .step-icon>.icon {
    width: 23px;
    height: 23px;
  }
  .developer-banner h2 {
    font-size: 27px;
  }
  .developer-banner {
    gap: 26px;
    padding: 25px;
  }
  .developer-banner-copy>p {
    font-size: 11px;
  }
  .code-window pre {
    font-size: 10px;
    padding-inline: 12px;
  }
  .code-line:before {
    width: 12px;
    margin-right: 6px;
  }
  .workspace-page-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
  }
  .info-card {
    padding: 22px;
  }
  .workspace-page-grid .paper-title {
    font-size: 10px;
  }
  .workspace-page-grid .paper-1 .paper-title {
    font-size: 15px;
  }
}

@media(max-width:850px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .header-inner {
    min-height: 72px;
  }
  .header-actions {
    gap: 12px;
  }
  .header-search {
    display: flex;
  }
  .header-workspace {
    font-size: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 50px 0 44px;
    max-width: 660px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero h1 {
    font-size: 66px;
    line-height: 1.04;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-actions {
    flex-wrap: nowrap;
    gap: 27px;
  }
  .hero-actions>.button {
    min-height: 52px;
    font-size: 14px;
    padding-inline: 22px;
  }
  .watch-link {
    font-size: 13px;
    gap: 12px;
  }
  .play-circle {
    width: 41px;
    height: 41px;
  }
  .hero-benefits {
    margin-top: 32px;
    gap: 18px;
  }
  .hero-benefits li {
    font-size: 11px;
    gap: 9px;
  }
  .hero-benefits li+li {
    border-left: 1px solid #dce2f7;
    padding-left: 18px;
  }
  .hero-benefits .icon {
    width: 22px;
    height: 22px;
  }
  .hero-preview-wrap {
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
  }
  .workspace-preview {
    padding: 18px 15px 14px;
    border-radius: 16px;
  }
  .workspace-file-name strong {
    font-size: 14px;
  }
  .workspace-file-name>span {
    font-size: 11px;
  }
  .preview-label {
    font-size: 10px;
  }
  .workspace-file {
    gap: 12px;
    padding-bottom: 16px;
  }
  .pdf-file-icon {
    width: 38px;
    height: 44px;
  }
  .pdf-file-icon>b {
    top: 21px;
    left: 10px;
  }
  .pdf-file-icon:after {
    top: 9px;
    right: 8px;
  }
  .reset-preview {
    width: 40px;
  }
  .workspace-toolbar h2 {
    font-size: 13px;
  }
  .workspace-tools {
    gap: 7px;
  }
  .mini-button {
    min-height: 44px;
    font-size: 11px;
    padding: 8px 12px;
    gap: 8px;
  }
  .mini-button .icon {
    width: 16px;
    height: 16px;
  }
  .workspace-canvas {
    padding: 12px 12px 7px;
  }
  .document-grid {
    column-gap: 14px;
    row-gap: 12px;
  }
  .paper-frame {
    padding: 7px;
    aspect-ratio: .91;
  }
  .paper {
    padding: 16px 13px 10px;
  }
  .paper-overline {
    margin-bottom: 7px;
  }
  .paper-title {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .paper-1 .paper-title {
    font-size: 15px;
  }
  .paper-caption {
    font-size: 6px;
  }
  .paper-lines {
    gap: 5px;
    margin-bottom: 10px;
  }
  .paper-lines i {
    height: 2px;
  }
  .page-checkbox {
    width: 19px;
    height: 19px;
    top: 8px;
    right: 8px;
  }
  .page-checkbox>.icon {
    width: 14px;
    height: 14px;
  }
  .page-number {
    font-size: 11px;
  }
  .mini-chart {
    gap: 6px;
  }
  .mini-bullets,.mini-timeline {
    gap: 14px;
  }
  .budget-chart {
    gap: 9px;
    margin-bottom: 12px;
  }
  .workspace-bottom {
    padding: 12px 7px 0;
  }
  .selection-count {
    font-size: 12px;
  }
  .preview-extract {
    min-height: 44px;
    font-size: 12px;
    padding: 10px 15px;
  }
  .preview-float {
    top: -25px;
    right: 30px;
    padding: 12px 16px;
    font-size: 11px;
  }
  .tools-heading h2 {
    font-size: 34px;
  }
  .tools-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .search-field {
    width: 100%;
    min-width: 0;
    height: 48px;
  }
  .search-field input {
    font-size: 14px;
  }
  .tool-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
  }
  .tool-card {
    min-height: 116px;
    padding: 24px 22px;
    gap: 16px;
  }
  .tool-card h3 {
    font-size: 13px;
  }
  .tool-card p {
    font-size: 12px;
    line-height: 1.5;
  }
  .tool-icon {
    width: 48px;
    height: 50px;
  }
  .tool-card-arrow {
    width: 14px;
    height: 14px;
    right: 15px;
    top: 17px;
  }
  .filter-button {
    min-height: 44px;
    font-size: 13px;
    padding: 10px 19px;
  }
  .filter-row {
    margin-top: 16px;
    gap: 10px;
  }
  .more-tools {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 20px;
    font-size: 13px;
  }
  .more-tools>strong {
    grid-column: 1 / -1;
  }
  .more-tools>* {
    min-height: 44px!important;
    display: flex;
    align-items: center;
    justify-content: flex-start!important;
  }
  .more-tools a+a {
    border: 0;
  }
  .workflow-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 30px 24px;
  }
  .workflow-intro {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
  }
  .workflow-intro h2 {
    font-size: 34px;
  }
  .workflow-intro p {
    font-size: 14px;
    margin: 0;
  }
  .workflow-step:first-of-type {
    border: 0;
  }
  .workflow-step {
    padding-left: 24px;
  }
  .workflow-step h3 {
    font-size: 15px;
  }
  .workflow-step p {
    font-size: 13px;
  }
  .step-heading {
    gap: 24px;
  }
  .developer-banner {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px;
  }
  .developer-banner h2 {
    font-size: 34px;
  }
  .developer-banner-copy>p {
    font-size: 14px;
  }
  .developer-banner .button {
    font-size: 12px;
    min-height: 44px;
    padding: 10px 15px;
  }
  .code-window pre {
    font-size: 13px;
    padding: 24px;
  }
  .code-line:before {
    margin-right: 12px;
  }
  .developer-footnote {
    font-size: 11px;
  }
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 25px;
  }
  .footer-column a {
    font-size: 11px;
    min-height: 34px;
    display: flex;
    align-items: center;
  }
  .footer-column h2 {
    font-size: 11px;
  }
  .footer-brand-block>p {
    font-size: 11px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .two-column,.api-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .workspace-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .workspace-page-grid .workspace-preview {
    max-width: 650px;
    margin-inline: auto;
    width: 100%;
  }
  .workspace-page-grid .paper-1 .paper-title {
    font-size: 19px;
  }
  .workspace-instructions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .workspace-instructions>.info-card {
    margin: 0;
  }
  .workspace-instructions>.preview-notice {
    grid-column: 1/-1;
    margin-top: 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .contact-aside>.info-card {
    margin: 0;
  }
  .release-list {
    grid-template-columns: 1fr;
  }
  .related-tools .tool-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:599px) {
  html {
    scroll-padding-top: 88px;
  }
  .shell {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 66px;
    gap: 10px;
  }
  .brand {
    font-size: 22px;
    gap: 7px;
    letter-spacing: -.85px;
  }
  .brand img {
    width: 32px;
    height: 36px;
  }
  .header-actions {
    gap: 9px;
  }
  .header-search {
    display: none;
  }
  .header-workspace {
    font-size: 10px;
    min-height: 40px;
    padding: 9px 11px;
    gap: 6px;
  }
  .header-workspace>.icon {
    width: 14px;
    height: 14px;
  }
  .mobile-menu>summary {
    width: 40px;
    height: 40px;
    border-color: #e7e8f4;
  }
  .mobile-menu>summary>.icon {
    width: 21px;
    height: 21px;
  }
  .hero-grid {
    gap: 46px;
    padding: 38px 0 32px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
    gap: 10px;
  }
  .eyebrow-square {
    width: 11px;
    height: 9px;
  }
  .hero-copy>.eyebrow {
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(42px,10.9vw,63px);
    letter-spacing: -.055em;
    line-height: 1.05;
  }
  .hero-description {
    font-size: 14px;
    margin-top: 19px;
    line-height: 1.75;
    letter-spacing: -.2px;
    max-width: 375px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    gap: 19px;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .hero-actions>.button {
    font-size: 12px;
    min-height: 48px;
    padding: 11px 16px;
    gap: 9px;
  }
  .watch-link {
    font-size: 11px;
    gap: 9px;
  }
  .play-circle {
    width: 35px;
    height: 35px;
  }
  .hero-benefits {
    gap: 12px;
    margin-top: 27px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .hero-benefits li {
    font-size: 9px;
    gap: 6px;
    align-items: flex-start;
    flex: 1;
    max-width: 120px;
    line-height: 1.55;
  }
  .hero-benefits li+li {
    padding-left: 0;
    border: 0;
  }
  .hero-benefits .icon {
    width: 18px;
    height: 20px;
    margin-top: 2px;
  }
  .hero-preview-wrap {
    max-width: 470px;
  }
  .workspace-preview {
    border-radius: 13px;
    padding: 14px 10px 10px;
    box-shadow: 0 9px 30px #3e4cc919;
  }
  .preview-float {
    top: -23px;
    right: 14px;
    padding: 9px 12px;
    font-size: 9px;
    gap: 8px;
    border-radius: 9px;
  }
  .preview-float>span {
    width: 22px;
    height: 22px;
  }
  .workspace-file {
    gap: 8px;
    padding: 2px 3px 12px;
  }
  .workspace-file-name strong {
    font-size: 11px;
    letter-spacing: -.2px;
  }
  .workspace-file-name>span {
    font-size: 9px;
  }
  .preview-label {
    font-size: 8px;
  }
  .pdf-file-icon {
    width: 32px;
    height: 38px;
  }
  .pdf-file-icon>.icon {
    width: 23px;
    height: 27px;
  }
  .pdf-file-icon>b {
    font-size: 7px;
    left: 8px;
    top: 19px;
  }
  .pdf-file-icon:after {
    right: 7px;
    top: 8px;
    width: 6px;
    height: 7px;
  }
  .reset-preview {
    width: 36px;
    height: 38px;
  }
  .workspace-canvas {
    padding: 10px 8px 5px;
  }
  .workspace-toolbar {
    gap: 7px;
    margin-bottom: 10px;
  }
  .workspace-toolbar h2 {
    font-size: 11px;
    line-height: 1.5;
    flex: 1;
    min-width: 105px;
  }
  .workspace-tools {
    gap: 5px;
  }
  .mini-button {
    min-height: 44px;
    padding: 8px;
    font-size: 9px;
    gap: 5px;
  }
  .mini-button>.icon {
    width: 14px;
    height: 14px;
  }
  .document-grid {
    gap: 10px 8px;
  }
  .paper-frame {
    padding: 4px;
    aspect-ratio: .80;
  }
  .paper {
    padding: 14px 7px 7px;
  }
  .paper-title {
    font-size: 7px;
    line-height: 1.08;
    letter-spacing: -.2px;
    margin-bottom: 8px;
  }
  .paper-1 .paper-title {
    font-size: 10px;
    letter-spacing: -.4px;
    margin-bottom: 7px;
  }
  .paper-caption {
    font-size: 4.8px;
    line-height: 1.1;
    margin-bottom: 6px;
  }
  .paper-overline {
    margin-bottom: 6px;
    height: 3px;
  }
  .paper-landscape {
    height: 34%;
  }
  .paper-lines {
    gap: 4px;
    margin-bottom: 7px;
  }
  .paper-lines i {
    height: 1.5px;
  }
  .paper-lines.short-lines {
    gap: 3px;
  }
  .paper-lines.short-lines i {
    height: 1px;
  }
  .mini-timeline,.mini-bullets {
    padding-left: 10px;
    gap: 11px;
  }
  .mini-timeline:before {
    left: 3px;
  }
  .mini-timeline>span:before,.mini-bullets>span:before {
    width: 6px;
    height: 6px;
    left: -10px;
  }
  .mini-timeline>span,.mini-bullets>span {
    gap: 3px;
  }
  .mini-chart {
    height: 39%;
    gap: 4px;
    padding-inline: 2px;
  }
  .budget-chart {
    gap: 5px;
    margin-bottom: 10px;
  }
  .budget-chart>.paper-lines {
    gap: 4px;
  }
  .page-checkbox {
    width: 16px;
    height: 16px;
    right: 5px;
    top: 5px;
    border-radius: 4px;
  }
  .page-checkbox>.icon {
    width: 12px;
    height: 12px;
  }
  .page-number {
    font-size: 9px;
  }
  .workspace-bottom {
    padding: 10px 4px 0;
    gap: 8px;
  }
  .selection-count {
    font-size: 10px;
  }
  .preview-extract {
    font-size: 10px;
    min-height: 44px;
    padding: 9px 11px;
    gap: 7px;
  }
  .preview-extract>.icon {
    width: 14px;
    height: 14px;
  }
  .workspace-feedback {
    font-size: 10px;
  }
  .tools-section {
    padding: 34px 0 26px;
  }
  .tools-heading {
    gap: 21px;
  }
  .tools-heading .eyebrow {
    margin-bottom: 12px;
  }
  .tools-heading h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1.45px;
    max-width: 360px;
  }
  .search-field {
    height: 48px;
    border-radius: 9px;
    padding-inline: 13px;
  }
  .search-field input {
    font-size: 13px;
  }
  .search-field .icon-button {
    top: 2px;
  }
  .filter-row {
    display: block;
    margin: 13px 0 16px;
  }
  .filter-count {
    display: block;
    margin: 7px 0 0;
    font-size: 11px;
  }
  .tool-filters {
    gap: 2px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .filter-button {
    font-size: 11px;
    min-height: 44px;
    padding: 10px 11px;
    border-radius: 8px;
  }
  .tool-grid {
    gap: 10px;
  }
  .tool-card {
    padding: 15px 12px;
    gap: 12px;
    min-height: 163px;
    flex-direction: column;
    border-radius: 10px;
  }
  .tool-card h3 {
    font-size: 12px;
    letter-spacing: -.3px;
    padding-right: 0;
  }
  .tool-card p {
    font-size: 11px;
    line-height: 1.55;
    margin-top: 6px;
  }
  .tool-icon {
    width: 41px;
    height: 43px;
    border-radius: 10px;
  }
  .tool-icon>.icon {
    width: 25px;
    height: 25px;
  }
  .tool-card-copy {
    padding: 0;
  }
  .tool-card-arrow {
    width: 14px;
    height: 14px;
    top: 20px;
    right: 13px;
  }
  .more-tools {
    padding: 12px 15px;
    margin-top: 12px;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    font-size: 10.5px;
    border-radius: 10px;
  }
  .more-tools>* {
    min-height: 44px!important;
  }
  .more-tools a {
    gap: 6px;
  }
  .more-tools .icon {
    width: 14px;
    height: 14px;
  }
  .workflow-section {
    padding: 32px 0 20px;
  }
  .workflow-grid {
    display: block;
    margin-bottom: 29px;
  }
  .workflow-intro {
    display: block;
    margin-bottom: 25px;
  }
  .workflow-intro h2 {
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -1.2px;
  }
  .workflow-intro p {
    font-size: 14px;
    margin-top: 12px;
    max-width: 310px;
  }
  .workflow-step {
    position: relative;
    margin: 0 0 0 20px;
    padding: 3px 0 27px 48px;
    border: 0;
    border-left: 1px solid #d7dafa;
    min-height: 111px;
  }
  .workflow-step:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
    min-height: 83px;
  }
  .step-heading {
    margin: 0;
    display: block;
  }
  .step-heading>span:first-child {
    position: absolute;
    right: 4px;
    top: 11px;
    font-size: 20px;
    font-weight: 700;
    color: #7865cc;
  }
  .step-icon {
    position: absolute;
    left: -21px;
    top: 0;
    width: 41px;
    height: 43px;
    border: 1px solid #eceaff;
    box-shadow: 0 2px 8px #6957d905;
    border-radius: 11px;
  }
  .step-icon>.icon {
    width: 23px;
    height: 23px;
  }
  .workflow-step h3 {
    font-size: 15px;
    padding-top: 6px;
    margin-bottom: 6px;
    padding-right: 38px;
  }
  .workflow-step p {
    font-size: 13px;
    max-width: 240px;
    padding-right: 30px;
  }
  .developer-banner {
    padding: 25px 21px;
    gap: 23px;
    border-radius: 14px;
  }
  .developer-label {
    font-size: 9px;
  }
  .developer-banner h2 {
    font-size: 29px;
    line-height: 1.09;
    letter-spacing: -1.1px;
    margin-top: 13px;
  }
  .developer-banner-copy>p {
    font-size: 12px;
    line-height: 1.65;
    margin: 12px 0 16px;
    max-width: 265px;
  }
  .developer-banner .button {
    min-height: 42px;
    font-size: 11px;
    padding: 10px 13px;
  }
  .code-window {
    border-radius: 9px;
  }
  .code-window-header {
    height: 37px;
  }
  .code-window-header>span {
    width: 74px;
    font-size: 11px;
  }
  .code-window pre {
    font-size: 10px;
    padding: 18px 10px;
    line-height: 1.9;
  }
  .code-line:before {
    width: 8px;
    font-size: 8px;
    margin-right: 8px;
  }
  .developer-footnote {
    font-size: 9px;
    margin: 9px 0 0;
  }
  .site-footer {
    padding: 28px 0 20px;
  }
  .footer-main {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px 18px;
    padding-bottom: 23px;
  }
  .footer-brand-block {
    grid-column: 1/-1;
  }
  .footer-brand-block .brand {
    font-size: 24px;
    gap: 8px;
  }
  .footer-brand-block .brand>img {
    width: 34px;
    height: 37px;
  }
  .footer-brand-block>p {
    font-size: 12px;
    margin-top: 9px;
  }
  .footer-column {
    padding-top: 0;
    gap: 0;
  }
  .footer-column h2 {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .footer-column a {
    font-size: 11px;
    min-height: 44px;
    padding: 9px 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
    padding-top: 18px;
    font-size: 10px;
    line-height: 1.7;
  }
  .page-intro {
    padding: 34px 0;
  }
  .page-intro h1 {
    font-size: 39px;
    letter-spacing: -1.6px;
  }
  .page-intro p {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 16px;
  }
  .page-content {
    padding: 29px 0 42px;
  }
  .section-heading {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .prose {
    font-size: 14px;
  }
  .info-card {
    padding: 23px;
  }
  .info-card h2,.info-card h3 {
    font-size: 19px;
  }
  .workspace-page-grid .workspace-preview {
    padding: 13px 10px 10px;
  }
  .workspace-page-grid .workspace-toolbar h2 {
    font-size: 12px;
  }
  .workspace-page-grid .mini-button {
    font-size: 9px;
    padding: 8px;
  }
  .workspace-page-grid .paper {
    padding: 14px 7px 7px;
  }
  .workspace-page-grid .paper-title {
    font-size: 8px;
  }
  .workspace-page-grid .paper-1 .paper-title {
    font-size: 11px;
  }
  .workspace-page-grid .paper-caption {
    font-size: 5px;
  }
  .workspace-page-grid .paper-lines {
    gap: 4px;
  }
  .workspace-page-grid .mini-timeline,.workspace-page-grid .mini-bullets {
    gap: 11px;
    margin-top: 0;
  }
  .workspace-page-grid .paper-frame {
    aspect-ratio: .8;
  }
  .workspace-page-grid .selection-count,.workspace-page-grid .preview-extract {
    font-size: 10px;
  }
  .workspace-instructions {
    display: block;
  }
  .workspace-instructions>.info-card+.info-card {
    margin-top: 16px;
  }
  .workspace-instructions>.preview-notice {
    margin-top: 18px;
  }
  .contact-aside {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 23px 19px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-field input,.form-field textarea {
    font-size: 16px;
  }
  .form-field label {
    font-size: 13px;
  }
  .form-submit .button {
    width: 100%;
  }
  .api-layout .code-window pre {
    font-size: 11px;
  }
  .related-tools .tool-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .selection-dialog {
    padding: 22px;
    border-radius: 16px;
  }
  .selection-dialog h2 {
    font-size: 27px;
  }
  .selection-dialog>p:not(.preview-notice) {
    font-size: 13px;
  }
  .dialog-heading .tool-icon {
    width: 46px;
    height: 48px;
  }
}

@media(max-width:359px) {
  .shell {
    width: calc(100% - 28px);
  }
  .header-workspace {
    font-size: 9px;
    padding: 8px;
  }
  .header-workspace>.icon {
    display: none;
  }
  .brand {
    font-size: 20px;
    gap: 5px;
  }
  .brand img {
    width: 29px;
    height: 32px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-actions>.button {
    font-size: 11px;
    padding-inline: 13px;
  }
  .watch-link {
    font-size: 10px;
    gap: 6px;
  }
  .play-circle {
    width: 31px;
    height: 31px;
  }
  .hero-benefits li {
    font-size: 8px;
    gap: 4px;
  }
  .hero-benefits {
    gap: 8px;
  }
  .workspace-toolbar {
    display: block;
  }
  .workspace-toolbar h2 {
    margin-bottom: 7px;
  }
  .workspace-tools {
    display: grid;
    grid-template-columns: repeat(3,1fr);
  }
  .mini-button {
    padding: 7px 6px;
  }
  .paper {
    padding: 15px 6px 6px;
  }
  .paper-1 .paper-title {
    font-size: 9px;
  }
  .paper-caption {
    font-size: 4px;
  }
  .paper-title {
    font-size: 6.5px;
  }
  .paper-lines {
    gap: 3px;
  }
  .preview-label {
    font-size: 7px;
  }
  .workspace-file-name strong {
    font-size: 10px;
  }
  .filter-button {
    font-size: 10px;
    padding-inline: 9px;
  }
  .tool-card {
    padding: 14px 11px;
    min-height: 169px;
  }
  .tool-card h3 {
    font-size: 11px;
  }
  .tool-card p {
    font-size: 10px;
  }
  .more-tools {
    padding-inline: 12px;
    font-size: 9.5px;
  }
  .code-window pre {
    font-size: 8.5px;
  }
  .developer-banner {
    padding-inline: 18px;
  }
  .footer-main {
    column-gap: 12px;
  }
}

@media(hover:none),(pointer:coarse) {
  .mini-button {
    min-height: 44px;
  }
  .filter-button {
    min-height: 44px;
  }
  .reset-preview {
    min-width: 44px;
    min-height: 44px;
  }
  .copy-button {
    min-height: 44px;
  }
  .code-window-header {
    min-height: 44px;
  }
  .icon-button {
    min-height: 44px;
    min-width: 44px;
  }
  .tool-card:hover,.button-primary:hover {
    transform: none;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation-duration: .01ms!important;
    transition-duration: .01ms!important;
    scroll-behavior: auto!important;
  }
}

@media print {
  .site-header,.site-footer,.hero-actions,.hero-benefits,.workspace-tools,.workspace-bottom,.preview-float,.tool-filters,.search-field,.copy-button,.toast {
    display: none!important;
  }
  .hero,.workflow-section {
    background: #fff;
  }
  .hero-grid {
    padding-top: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .workspace-preview {
    box-shadow: none;
  }
  .tool-grid {
    grid-template-columns: repeat(3,1fr);
  }
  .tool-card {
    break-inside: avoid;
  }
  .shell {
    width: 100%;
  }
  .developer-banner {
    break-inside: avoid;
  }
  .hero h1>span {
    white-space: normal;
  }
}

.no-js .tool-filters,.no-js .search-field,.no-js .workspace-tools,.no-js .preview-extract,.no-js .reset-preview,.no-js .copy-button {
  display: none;
}

.no-js .document-page {
  cursor: default;
}

/* Review groups and progressive enhancement. */
.selection-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.selection-group+.selection-group {
  margin-top: 8px;
}

.selection-group>strong {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}

.selection-item {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f9ff;
  font-size: 12px;
}

.form-field-full {
  grid-column: 1/-1;
}

.code-string {
  color: #a8d6bd;
}

.api-layout>.prose .button {
  margin-top: 8px;
}

.api-layout .developer-footnote {
  color: var(--muted);
}

.validation-summary-valid {
  display: none;
}

.validation-summary-errors {
  color: #a92746;
  background: #fff3f5;
  border-radius: 9px;
  padding: 10px 15px;
  font-size: 13px;
}

.info-card>ol {
  padding-left: 20px;
  font-size: 13px;
  color: var(--text);
}

.info-card>ol>li {
  margin-bottom: 12px;
}

.tool-intro-top {
  margin-bottom: 20px;
}

@media(hover:none),(pointer:coarse) {
  .mobile-menu>summary,.header-workspace {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Comfortable reading sizes for the tool directory. */
.tool-card h3 {
  font-size: 14px;
}

.tool-card p {
  font-size: 12px;
}

.footer-column a {
  font-size: 12px;
}

.footer-bottom {
  font-size: 11px;
}

.info-card>p+p {
  margin-top: 12px;
}

.info-card>a:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}

.api-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.api-callout>.icon {
  margin-top: 3px;
  color: var(--primary);
}

.api-callout>p {
  font-size: 13px;
}

.api-layout>* {
  min-width: 0;
}

.release-section {
  padding-inline: 26px;
  border-radius: 14px;
  margin-block: 40px;
}

.prose>ol {
  padding-left: 21px;
}

.prose>ol>li {
  padding-left: 6px;
  margin-bottom: 13px;
}

.prose>ol>li::marker {
  font-weight: 700;
  color: var(--primary);
}

@media(max-width:599px) {
  .tool-card h3 {
    font-size: 13px;
  }
  .tool-card p {
    font-size: 12px;
  }
  .tool-card {
    min-height: 175px;
  }
  .footer-column a {
    font-size: 11px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .release-section {
    padding-inline: 19px;
  }
  .api-layout .code-window pre {
    font-size: 10px;
  }
}

@media(max-width:359px) {
  .tool-card h3 {
    font-size: 12px;
  }
  .tool-card p {
    font-size: 11px;
  }
}

@media(max-width:850px) {
  .search-field input {
    font-size: 16px;
  }
}

@media(hover:none),(pointer:coarse) {
  .footer-column a,.developer-banner .button {
    min-height: 44px;
  }
}

/* More conversion tools remain reachable on short mobile screens. */
.mobile-menu-panel { max-height: calc(100dvh - 85px); overflow-y: auto; overscroll-behavior: contain; }

/* Only the badge distinguishes signature tools; card surfaces stay neutral. */
.tools-section .tool-card { align-items: center; }
.tools-section .tool-card-signature {
  min-height: 178px;
  padding-top: 64px;
  border-radius: 14px;
}
.tool-signature-badge {
  position: absolute; top: 15px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 5px 10px;
  border: 1px solid #8d71eb; border-radius: 999px;
  background: #fff; color: #4324ba;
  font-size: 10px; font-weight: 750; line-height: 1.4; letter-spacing: .6px;
  white-space: nowrap;
}
.tool-signature-badge .icon { width: 16px; height: 16px; flex-shrink: 0; color: #6342ea; }
.tool-card-signature .tool-card-arrow { top: 22px; width: 16px; height: 16px; }
.signature-elite-badge { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1px solid #17123f; border-radius: 999px; background: #17123f; color: #fff; font-size: 10px; font-weight: 750; line-height: 1.4; letter-spacing: 1.3px; white-space: nowrap; }
.signature-elite-badge .icon, .tool-signature-badge.signature-elite-badge .icon { width: 16px; height: 16px; color: #f5ca42; flex-shrink: 0; }
.tool-signature-badge.signature-elite-badge { padding: 6px 11px; font-size: 9px; letter-spacing: .8px; }
/* A quiet capability label, distinct from the existing signature tier badge. */
.acroform-ready { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 4px 8px; border: 1px solid #d4e8e1; border-radius: 6px; background: #f0f8f5; color: #376b59; font-size: 10px; font-weight: 650; line-height: 1.3; white-space: nowrap; vertical-align: middle; }
span.acroform-ready .icon { width: 13px; height: 13px; flex-shrink: 0; color: #376b59; }
.tool-card-copy > .acroform-ready { margin-top: 7px; padding: 3px 6px; font-size: 9px; gap: 4px; }
.tool-card-copy > .acroform-ready .icon { width: 11px; height: 11px; }
@media (max-width: 599px) {
  /* One readable column gives the badge and the full title room on phones. */
  .tools-section .tool-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tools-section .tool-card {
    flex-direction: row; align-items: center; gap: 16px;
    min-height: 122px; padding: 20px; border-radius: 14px;
  }
  .tools-section .tool-card-signature { min-height: 164px; padding-top: 62px; }
  .tools-section .tool-card-copy { padding-top: 0; }
  .tools-section .tool-card h3 { font-size: 15px; line-height: 1.35; }
  .tools-section .tool-card p { font-size: 13px; line-height: 1.55; }
  .tools-section .tool-icon { width: 49px; height: 51px; border-radius: 12px; }
  .tools-section .tool-icon > .icon { width: 27px; height: 27px; }
  .tool-signature-badge { left: 20px; }
  .tool-card-signature .tool-card-arrow { right: 18px; }
}

/* Group the featured tools without changing the site's card surfaces or palette. */
[data-tool-catalog] .filter-button { display: inline-flex; align-items: center; gap: 7px; }
[data-tool-catalog] .filter-button > .icon { width: 15px; height: 15px; }
[data-tool-catalog] .filter-row { margin-bottom: 28px; }
.tool-group + .tool-group { margin-top: 34px; }
.tool-group-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.tool-group-heading h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.4px; }
.tool-group-count { padding: 2px 9px; border: 1px solid #e8ebf5; border-radius: 999px; background: #f5f6fb; color: var(--muted); font-size: 11px; white-space: nowrap; }
.tool-group-rule { flex: 1; height: 1px; margin-left: 5px; background: var(--line); }
.tool-group .tool-card h4 { margin: 0; padding-right: 7px; font-size: 14px; font-weight: 750; letter-spacing: -.35px; line-height: 1.3; }
@media (max-width: 599px) {
  [data-tool-catalog] .tool-filters { justify-content: flex-start; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding: 4px 3px 8px; scrollbar-width: thin; }
  [data-tool-catalog] .filter-button { flex-shrink: 0; }
  [data-tool-catalog] .filter-row { margin-bottom: 24px; }
  .tool-group + .tool-group { margin-top: 28px; }
  .tool-group-heading { gap: 9px; margin-bottom: 13px; }
  .tool-group-heading h3 { font-size: 18px; }
  .tool-group .tool-card h4 { padding-right: 0; font-size: 15px; line-height: 1.35; }
}

/* Account link in the header (log in / dashboard). */
.header-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .18s, background .18s;
}
.header-account:hover {
  border-color: #c9c3ff;
  background: var(--soft);
}
.header-account .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}
@media (max-width: 560px) {
  .header-account {
    padding: 8px 10px;
  }
  .header-account span {
    display: none;
  }
}

/* NEW is limited to the three recently added free-tool cards. */
.tool-group .tool-card-title-with-new {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.tool-card-new-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid #242832;
  border-radius: 999px;
  background: #090c13;
  color: #fff;
  box-shadow: 0 4px 10px #090c1326;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .5px;
  white-space: nowrap;
}
.tool-card-new-badge svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  fill: #ffd166;
}

/* Navy and gold capability badge, limited to the Redact PDF card. */
.tools-section .tool-card-ai { padding-top: 54px; }
.tool-card-ai-label {
  position: absolute;
  top: 13px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #e9bb57;
  border-radius: 999px;
  background: linear-gradient(135deg, #202740, #111629);
  color: #ffd166;
  box-shadow: 0 3px 9px #11162920;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .35px;
  white-space: nowrap;
}
.tool-card-ai-label svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Catalog presentation only: Redact PDF and Face Blur. */
.tools-section .tool-card-privacy {
  min-height: 184px;
  padding: 58px 18px 20px;
  gap: 14px;
  border-radius: 16px;
}
.tools-section .tool-card-privacy > .tool-icon {
  width: 54px;
  height: 58px;
  border-radius: 16px;
}
.tools-section .tool-card-privacy > .tool-icon > .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.9;
}
.tool-card-privacy .tool-card-copy { padding-top: 0; }
.tool-group .tool-card-privacy h4 {
  font-size: 16px;
  line-height: 1.35;
  padding-right: 0;
}
.tools-section .tool-card-privacy p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.55;
}
.tool-card-privacy .tool-card-ai-label { top: 15px; left: 18px; }
.tool-card-privacy .tool-card-arrow { top: 24px; right: 18px; }
.tool-card-privacy .tool-card-capabilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
}
.tool-card-privacy .tool-card-capability {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid #d9ccfa;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5efff, #ede5ff);
  color: #57329e;
  box-shadow: inset 0 1px 0 #ffffffb3;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .55px;
  white-space: nowrap;
}
.tool-card-privacy .tool-card-capability > .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke-width: 1.8;
}
.tool-card-privacy .tool-card-capability-face {
  border-color: #bce5dc;
  background: linear-gradient(135deg, #edfdf7, #ddf6ed);
  color: #15614e;
}
.tool-card-privacy .tool-card-capability-pdf {
  border-color: #cbdcfb;
  background: linear-gradient(135deg, #f1f6ff, #e4edff);
  color: #31569e;
}
.tool-card-privacy:focus-visible {
  outline: 3px solid #7950d8;
  outline-offset: 3px;
}
@media (max-width: 599px) {
  .tools-section .tool-card-privacy {
    min-height: 184px;
    padding: 58px 18px 20px;
    gap: 14px;
  }
}
@media (max-width: 359px) {
  .tools-section .tool-card-privacy { gap: 12px; padding-inline: 16px; }
  .tools-section .tool-card-privacy > .tool-icon { width: 44px; height: 49px; border-radius: 13px; }
  .tool-group .tool-card-privacy h4 { font-size: 15px; }
  .tool-card-privacy .tool-card-ai-label { left: 16px; }
}
