/*
 * ZHMIKA NEXT · Unified Design System v1.
 * All public pages load this AFTER site.css, optional legacy theme, and
 * next-home.css. Future pages use these tokens and component classes.
 * Responsive first, no external fonts/images/scripts.
 */
:root {
  --next-color-violet: #6657f1;
  --next-color-violet-2: #8a8dff;
  --next-color-night: #0e1830;
  --next-color-text: #1d2940;
  --next-color-muted: #53647d;
  --next-color-border: #dfe6f5;
  --next-color-paper: #ffffff;
  --next-shadow-card: 0 22px 65px rgba(29,45,95,.10);
  --next-round-lg: 25px;
}
body.next-design-home {
  --accent:var(--next-color-violet);
  --accent-dark:#5148d7;
  --ink:var(--next-color-text);
  --ink-soft:var(--next-color-muted);
  --night:var(--next-color-night);
  --surface:var(--next-color-paper);
  --soft:#f7f9ff;
  --line:var(--next-color-border);
  --radius:var(--next-round-lg);
  --shadow:var(--next-shadow-card);
  --container:1320px;
  color:var(--next-color-text);
  background:#fbfcff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:16px;
  font-weight:500;
  line-height:1.65;
  -webkit-font-smoothing:auto;
  text-rendering:optimizeLegibility;
}
.next-design-home :is(button,input,textarea,select,summary) {font:inherit}
.next-design-home :is(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid #7266f5;
  outline-offset:3px;
}
.next-design-home .container {width:min(1320px,calc(100% - 72px))}
.next-design-home .skip-link {
  position:fixed;z-index:150;top:-140px;left:20px;
  padding:12px 20px;background:#fff;color:#2b3761;
  border-radius:12px;border:1px solid #8e8bfb;
  box-shadow:0 10px 20px #09132b24;
}
.next-design-home .skip-link:focus{top:16px}

/* Header: shared on all public pages, including 404. */
.next-design-home .site-header {
  position:sticky;top:0;z-index:95;
  background:rgba(251,252,255,.93);
  backdrop-filter:blur(22px) saturate(145%);
  -webkit-backdrop-filter:blur(22px) saturate(145%);
  border-bottom:1px solid #e4e9f7;
  box-shadow:0 9px 35px rgba(25,42,87,.035);
}
.next-design-home .next-site-nav {
  display:flex;align-items:center;justify-content:space-between;
  gap:25px;min-height:78px;
}
.next-design-home .next-brand{
  display:inline-flex;align-items:center;gap:10px;
  font-size:27px;font-weight:850;letter-spacing:-.075em;
  white-space:nowrap;color:#16213b;flex:none;
}
.next-brand-icon {display:block;width:38px;height:38px;flex:none;border-radius:10px;box-shadow:0 6px 16px #5e62d526}
.next-design-home .brand-dot{color:#675df3}
.next-design-home .next-desktop-nav {
  display:flex;align-items:center;gap:28px;
  margin-left:auto;
}
.next-design-home .next-desktop-nav>a{
  position:relative;white-space:nowrap;
  font-size:14px;font-weight:680;letter-spacing:-.01em;
  color:#485a76;line-height:1.2;padding:29px 0;
  transition:color .18s;
}
.next-design-home .next-desktop-nav>a:is(:hover,.is-active){color:#5147cf}
.next-design-home .next-desktop-nav>a:after {
  position:absolute;content:'';height:2px;background:#7465ef;
  bottom:18px;left:0;right:100%;border-radius:4px;
  transition:right .18s;
}
.next-design-home .next-desktop-nav>a:is(:hover,.is-active):after {right:0}
.next-nav-beta {
  position:relative;top:-1px;margin-left:2px;
  font-size:10px;font-weight:800;color:#6656d4;
  background:#efeaff;border:1px solid #e2ddff;
  padding:3px 6px;border-radius:99px;
}
.next-nav-actions {display:flex;align-items:center;gap:12px;flex:none}
.next-design-home .next-nav-cta {
  display:inline-flex;align-items:center;justify-content:center;gap:20px;
  min-height:44px;border-radius:999px;
  padding:11px 22px;
  background:linear-gradient(110deg,#6254e8,#858bfa);
  box-shadow:0 12px 26px #6a6bf13c;
  color:#fff;font-size:14px;font-weight:800;
  transition:transform .2s,box-shadow .2s;
}
.next-design-home .next-nav-cta:hover {
  color:#fff;transform:translateY(-2px);
  box-shadow:0 15px 35px #6a6bf15c;
}
.next-mobile-menu {display:none;position:relative}
.next-mobile-menu summary {
  cursor:pointer;list-style:none;
  display:flex;align-items:center;gap:8px;
  padding:11px 12px;border-radius:12px;border:1px solid #dce3f3;
  font-size:13px;font-weight:720;background:#fff;color:#354563;
}
.next-mobile-menu summary::-webkit-details-marker{display:none}
.next-menu-lines{display:grid;gap:3px;flex:none}
.next-menu-lines i {display:block;width:17px;height:2px;border-radius:2px;background:#6558e8}
.next-mobile-links{
  position:absolute;top:calc(100% + 13px);right:0;z-index:105;
  width:min(340px,calc(100vw - 34px));
  display:grid;gap:3px;
  padding:12px;border-radius:18px;
  background:#fff;border:1px solid #dee5f4;
  box-shadow:0 25px 60px #1827522e;
}
.next-mobile-links>a{
  display:flex;align-items:center;justify-content:space-between;
  padding:13px 14px;border-radius:10px;
  font-size:15px;font-weight:690;color:#243450;
}
.next-mobile-links>a:hover{color:#6457e9;background:#f3f1ff}
.next-mobile-links>a span {color:#857aea}
.next-design-home .next-page-inner,.next-design-home .page-shell{min-width:0}

/* Interior hero for every PDF / image tool page. */
.next-design-home .tool-page,.next-design-home .video-page {
  position:relative;
  padding:28px 0 76px;
  isolation:isolate;
  background:radial-gradient(ellipse at 83% 2%,#e1e8ff 0,transparent 44%),
    radial-gradient(ellipse at 16% 19%,#eafaf5 0,transparent 36%),
    linear-gradient(180deg,#fbfcff 0,#fff 570px,#f9fbff 100%);
}
.next-design-home .tool-page:before,.next-design-home .video-page:before{
  position:absolute;inset:0 0 auto;height:370px;z-index:-1;
  content:'';pointer-events:none;opacity:.30;
  background-image:linear-gradient(#8d9cc01e 1px,transparent 1px),
    linear-gradient(90deg,#8d9cc01e 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom,black,transparent);
}
.next-design-home .tool-page>.container.narrow,
.next-design-home .video-page>.container.narrow {max-width:1120px}
.next-design-home .breadcrumbs{
  display:flex;flex-wrap:wrap;align-items:center;
  gap:10px;margin:7px 0 16px;
  font-size:13px;color:#6f7e96;font-weight:650;
}
.next-design-home .breadcrumbs a {color:#586980}
.next-design-home .breadcrumbs a:hover {color:#6256e9}
.next-design-home .tool-page-heading,.next-design-home .video-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,.52fr);
  grid-template-rows:auto auto 1fr;
  align-items:center;
  column-gap:25px;
  text-align:left;
  padding:27px 10px 28px 0;
  min-height:282px;
}
.next-design-home .tool-page-heading>.pill,
.next-design-home .video-heading>.pill {
  grid-column:1;grid-row:1;justify-self:start;
  font-size:12px;font-weight:760;letter-spacing:0;
  background:#f0efff;color:#5b4ddc;border:1px solid #dbd6ff;
  padding:8px 13px;line-height:1.35;
}
.next-design-home .tool-page h1,.next-design-home .video-page h1{
  grid-column:1;grid-row:2;
  font-size:clamp(36px,4vw,57px);
  letter-spacing:-.06em;line-height:1.08;
  font-weight:835;color:#192640;
  text-wrap:balance;
  margin:18px 0 10px;
}
.next-design-home .tool-page-heading>p,.next-design-home .video-heading>p {
  grid-column:1;grid-row:3;
  margin:0;max-width:650px;
  color:#4d607c;font-size:17px;font-weight:540;line-height:1.75;
}
.next-tool-visual {
  position:relative;
  min-height:250px;
  grid-column:2;
  grid-row:1/span 3;
  display:flex;align-items:center;justify-content:center;
  isolation:isolate;
}
.next-tool-glow{
  z-index:-2;position:absolute;inset:5%;
  background:radial-gradient(ellipse,#9b9aff68 0,transparent 68%),
    radial-gradient(ellipse at 15% 75%,#75e4d245,transparent 60%);
  filter:blur(21px);
}
.next-tool-visual>img{
  position:relative;z-index:1;display:block;
  max-width:100%;height:auto;
  width: min(330px, 100%);
  filter:drop-shadow(0 12px 20px #4e59a326);
  animation:next-floating-art 8s ease-in-out infinite;
}
.next-tool-orbit{
  position:absolute;z-index:-1;
  border:1.5px dashed #8e9afc6b;border-radius:50%;
  transform:rotate(-26deg);
  pointer-events:none;
}
.next-tool-orbit-first {width:360px;max-width:100%;height:170px}
.next-tool-orbit-second {width:260px;max-width:88%;height:230px;transform:rotate(35deg);border-color:#6ecccb60}
@keyframes next-floating-art{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-9px)}
}

/* Reusable user journey rail. */
.next-workflow-track {
  max-width:900px;margin:4px auto 24px;
  padding:15px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:13px;
  border:1px solid #dfe6f5;border-radius:16px;
  background:linear-gradient(112deg,#fff,#fbfcff);
  box-shadow:0 8px 26px #3853890b;
}
.next-workflow-step {
  display:flex;align-items:center;gap:11px;
  color:#455775;font-size:13px;font-weight:735;line-height:1.35;
  white-space:nowrap;
}
.next-workflow-number{
  width:31px;height:31px;flex:none;display:grid;place-items:center;
  border:1px solid #dcdcfb;background:#efefff;color:#635ae2;
  border-radius:10px;font-size:12px;font-weight:850;
}
.next-workflow-step:first-child .next-workflow-number{
  background:linear-gradient(125deg,#6559f3,#858cf9);color:white;
  box-shadow:0 5px 14px #685ef42b;
}
.next-workflow-connector{
  flex:1;min-width:14px;max-width:100px;height:1px;
  background:linear-gradient(90deg,#d7ddf3,#bec7fa);
}

/* Work card. Keep every existing form and its JS selectors untouched. */
.next-design-home .tool-page .processor-card,
.next-design-home .video-page .processor-card {
  width:min(100%,900px);margin:0 auto 21px;padding:34px;
  border-radius:25px;border:1px solid #e0e6f7;
  background:#fff;
  box-shadow:0 29px 72px #233a8315,0 3px 11px #6672bf0c;
  position:relative;overflow:hidden;
}
.next-design-home .tool-page .processor-card:before,
.next-design-home .video-page .processor-card:before{
  position:absolute;content:'';top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#6657ef,#9c93ff 48%,#70e1d0);
}
.next-design-home .processor-top{
  gap:17px;margin-bottom:24px;align-items:center;
}
.next-design-home .processor-icon{
  width:57px;height:60px;flex:none;
  border:1px solid #d9d9fa;border-radius:16px;
  background:linear-gradient(145deg,#f4f2ff,#e8ebff);
  box-shadow:0 7px 16px #5c62ba18;
  color:#6253d9;font-size:14px;font-weight:840;
}
.next-design-home .processor-top strong{
  display:block;font-size:20px;font-weight:780;line-height:1.3;
}
.next-design-home .processor-top div>span {
  display:block;margin-top:4px;
  font-size:14px;font-weight:540;color:#63728b;
}
.next-design-home .upload-zone{
  padding:44px 20px;min-height:250px;gap:13px;
  border:2px dashed #bec8e2;
  border-radius:20px;
  background:radial-gradient(ellipse at 51% 1%,#f0efff 0,transparent 53%),
     linear-gradient(150deg,#fbfcff,#f4f8ff);
  transition:border-color .2s,background .2s,box-shadow .2s;
}
.next-design-home .upload-zone:is(:hover,.dragover,.dragging){
  border-color:#6657ef;background:#f3f3ff;
  box-shadow:inset 0 0 25px #8078f012;
}
.next-design-home .upload-icon {
  height:63px;width:63px;border-radius:17px;
  font-size:30px;background:linear-gradient(135deg,#6856ed,#929cff);
  color:white;box-shadow:0 10px 24px #6e67ec4d;
}
.next-design-home .upload-zone strong{
  font-size:20px;line-height:1.35;font-weight:790;color:#263651;
}
.next-design-home .upload-zone>span:not(.button):not(.upload-icon){
  font-size:14px;max-width:600px;line-height:1.65;font-weight:530;color:#5c6d86;
}
.next-design-home .button{
  border-radius:999px;min-height:49px;
  padding:12px 21px;font-size:14px;font-weight:770;
  gap:14px;line-height:1.25;
  transition:transform .19s,box-shadow .19s,background .19s;
}
.next-design-home .button:hover{transform:translateY(-2px)}
.next-design-home .button-primary{
  color:#fff;border-color:#6459f1;
  background:linear-gradient(112deg,#6052ec,#888cfb);
  box-shadow:0 12px 23px #6c64ed2a;
}
.next-design-home .button-primary:hover{
  background:linear-gradient(112deg,#4d43d4,#736fe8);
  box-shadow:0 14px 29px #6c64ed48;
}
.next-design-home .button-primary:disabled {opacity:.63;cursor:not-allowed;transform:none}
.next-design-home .button-outline{
  color:#5148d7;background:#fff;border:1px solid #d7d8f4;
  box-shadow:0 5px 16px #6368ba10;
}
.next-design-home .field-label {
  font-size:15px;font-weight:760;color:#283852;
  margin:20px 0 9px;
}
.next-design-home .field-input {
  border-radius:13px;min-height:51px;
  border:1.5px solid #cbd4e8;
  padding:13px 16px;background:white;
  font-size:15px;font-weight:535;color:#293a58;
}
.next-design-home .field-input:focus {
  outline:3px solid #d8d6ff;
  border-color:#7164ed;outline-offset:1px;
}
.next-design-home .field-help,
.next-design-home .file-summary,
.next-design-home .process-status {
  font-size:14px;line-height:1.75;font-weight:530;color:#53667f;
}
.next-design-home .file-summary {padding:9px 4px;margin:13px 0}
.next-design-home .process-status {margin:15px 0 0}
.next-design-home .process-status.error {color:#b93444;font-weight:650}
.next-design-home .pages-editor-title{font-size:21px}
.next-design-home .pages-list-label,
.next-design-home .pages-check,
.next-design-home .ordered-filename{font-size:14px}
.next-design-home .tool-explanation{
  width:min(100%,900px);margin:0 auto;
  padding:36px 6px 52px;
}
.next-design-home .tool-explanation h2 {
  margin:30px 0 13px;font-size:26px;
  letter-spacing:-.045em;font-weight:790;line-height:1.22;
}
.next-design-home .tool-explanation p,
.next-design-home .tool-explanation li{
  font-size:15px;font-weight:530;
  line-height:1.85;color:#4e607b;
}
.next-design-home .tool-explanation li{margin-bottom:9px}
.next-design-home .tool-explanation details{
  margin:0 0 10px;padding:0;
  background:#fff;border:1px solid #e0e7f4;
  border-radius:14px;overflow:hidden;
  box-shadow:0 6px 20px #32476e08;
}
.next-design-home .tool-explanation summary {
  position:relative;padding:18px 43px 18px 18px;
  font-size:15px;font-weight:740;
  color:#2c3c59;cursor:pointer;list-style:none;
}
.next-design-home .tool-explanation summary::-webkit-details-marker {display:none}
.next-design-home .tool-explanation summary:after{
  content:'+';position:absolute;right:17px;top:50%;
  transform:translateY(-50%);font-size:21px;line-height:1;color:#7366e6;
}
.next-design-home .tool-explanation details[open] summary:after{content:'−'}
.next-design-home .tool-explanation details p {padding:0 18px 18px;margin:0}
.next-design-home .tool-explanation summary:hover{background:#f8f8ff}
.next-design-home .ad-slot {width:min(100%,900px);margin-left:auto;margin-right:auto}
.next-design-home .ad-slot-inner{border-radius:18px;background:#f5f7ff}

/* Video pages use the same hero and work card; never imply live availability. */
.next-design-home .video-page .video-heading{min-height:268px}
.next-design-home .video-page .video-heading>p{max-width:610px}
.next-design-home .video-page .video-preview-notice {
  margin:0 auto 25px;width:min(100%,900px);
  border:1px solid #dbe1f6;
  border-left:4px solid #806df0;
  padding:18px 22px;border-radius:15px;
  background:linear-gradient(112deg,#f9f8ff,#f3f7ff);
  color:#465673;box-shadow:0 6px 19px #2838680b;
  font-size:14px;line-height:1.75;
}
.next-design-home .video-preview-notice strong{color:#30295f;font-size:16px}
.next-design-home .video-preview-notice p{margin:7px 0 0}
.next-design-home .video-page .processor-card h2 {font-size:24px;margin:0 0 18px}
.next-design-home .video-page .processor-card .field-input {margin:0}
.next-design-home .video-providers-nav{
  width:min(100%,900px);margin:0 auto;
  border-top:1px solid #e7eaf5;
  padding-top:32px;
}
.next-design-home .video-providers-nav h2{font-size:25px}
.next-design-home .video-providers-grid a{
  border-radius:14px;border-color:#dfe6f5;
  background:#fff;font-size:14px;font-weight:680;
}
.next-design-home .video-providers-grid a:hover{border-color:#8a80e9;background:#fafaff}
.next-design-home .video-job-preview{margin-top:20px}
.next-design-home .video-rights-confirmation{
  border-radius:15px;background:#f5f7ff;border-color:#d5dcf5;
}
.next-design-home .video-restrictions li{font-size:15px}

/* Related options — clearly grouped in the same design family. */
.next-design-home .related-tools{
  border-top:1px solid #e6ebf7;
  padding:55px 0 68px;
  background:linear-gradient(180deg,#f7f9ff,#fff);
}
.next-design-home .related-tools .container.narrow{max-width:1120px}
.next-design-home .related-tools h2{font-size:30px;letter-spacing:-.05em}
.next-design-home .related-tools>.container>p{font-size:15px;color:#576984}
.next-design-home .related-tools-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}
.next-design-home .related-tool {
  border-radius:18px;border-color:#e0e6f7;
  padding:21px 23px;
  box-shadow:0 7px 24px #1f346310;
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.next-design-home .related-tool:hover{
  transform:translateY(-3px);border-color:#a59df7;
  box-shadow:0 15px 40px #3e4ab71b;
}
.next-design-home .related-tool strong{
  font-size:17px;font-weight:765;line-height:1.38;
}
.next-design-home .related-tool span{
  font-size:14px;line-height:1.64;color:#536580;
}
.next-design-home .related-tool small {
  font-size:13px;color:#6055df;font-weight:740;
}

/* 404 is designed, not abandoned. */
.next-design-home .error-page{
  position:relative;text-align:center;
  min-height:63vh;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:86px 16px 100px;
  background:radial-gradient(ellipse at 50% 36%,#e8ecff 0,transparent 55%);
}
.next-design-home .error-page:before{
  content:'✧';display:grid;place-items:center;
  width:88px;height:88px;border:1px solid #d7d6ff;
  border-radius:28px;
  background:linear-gradient(135deg,#fcfdff,#ecebff);
  color:#6658f1;font-size:50px;line-height:1;
  box-shadow:0 18px 35px #7067ce20;margin:0 auto 27px;
}
.next-design-home .error-page .section-eyebrow{
  font-size:14px;text-transform:none;letter-spacing:0;color:#645ad9;
}
.next-design-home .error-page h1{
  font-size:clamp(36px,5.2vw,58px);
  font-weight:830;line-height:1.1;margin:8px 0 17px;
}
.next-design-home .error-page>p:not(.section-eyebrow){
  color:#556783;font-size:17px;line-height:1.72;margin:0 0 26px;
}

/* The dark, memorable footer — SAME on every public page. */
.next-design-home .next-footer{
  color:#fff;position:relative;isolation:isolate;overflow:hidden;
  background:radial-gradient(ellipse at 76% -25%,#5169ad85,transparent 52%),
    linear-gradient(112deg,#101c34 2%,#151e3a 55%,#11152e);
  border-top:1px solid #182444;
}
.next-design-home .next-footer:before{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(#7488ca0e 1px,transparent 1px),
    linear-gradient(90deg,#7488ca0e 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,black,transparent 84%);
}
.next-footer-glow{
  position:absolute;z-index:-1;inset:auto -10% 30% 58%;
  height:430px;pointer-events:none;opacity:.42;
  background:url('../img/next-orbit.svg') center/contain no-repeat;
}
.next-footer-cta{
  position:relative;overflow:hidden;isolation:isolate;
  display:flex;align-items:center;justify-content:space-between;gap:35px;
  padding:68px 0 60px;
  border-bottom:1px solid #ffffff27;
}
.next-footer-cta:before{
  position:absolute;content:'';z-index:-1;left:18%;top:-170px;
  height:430px;width:650px;pointer-events:none;
  background:radial-gradient(ellipse,#7f7cff1c 0,transparent 70%);
}
.next-footer-eyebrow {
  display:block;color:#a8adff;font-size:13px;
  font-weight:760;letter-spacing:.02em;
  margin:0 0 14px;
}
.next-design-home .next-footer-cta h2{
  margin:0 0 14px;
  color:#fff;font-size:clamp(37px,4.2vw,64px);
  line-height:1.075;letter-spacing:-.061em;font-weight:820;
}
.next-footer-cta h2 em{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:700;font-style:italic;
  background:linear-gradient(120deg,#aabaff,#c0b4ff 57%,#9ae5db);
  background-clip:text;-webkit-background-clip:text;color:transparent;
}
.next-design-home .next-footer-cta p{
  margin:0;max-width:530px;font-size:16px;line-height:1.72;
  color:#bfcae0;font-weight:520;
}
.next-footer-button{
  display:inline-flex;align-items:center;justify-content:center;gap:24px;
  flex:none;white-space:nowrap;min-height:57px;
  border-radius:100px;padding:17px 25px;
  background:linear-gradient(110deg,#7664f4,#9ca6ff);
  box-shadow:0 14px 35px #7869ed55;
  font-weight:790;font-size:15px;color:#fff;
  transition:transform .2s,box-shadow .2s;
}
.next-footer-button:hover{color:#fff;transform:translateY(-3px);box-shadow:0 16px 38px #8171ff80}
.next-footer-button span{font-size:18px}
.next-footer-grid{
  display:grid;grid-template-columns:1.65fr 1fr 1fr 1fr;
  gap:46px;padding:57px 0 53px;
}
.next-footer-brand{
  display:inline-flex;align-items:center;gap:12px;
  color:white;font-size:31px;font-weight:850;
  letter-spacing:-.07em;line-height:1;
}
.next-footer-brand img{display:block;box-shadow:0 8px 25px #555db937;border-radius:12px}
.next-footer-brand span span{color:#a7a5ff}
.next-footer-brand:hover{color:white}
.next-design-home .next-footer-about>p {
  margin:19px 0 21px;
  max-width:320px;font-size:14px;line-height:1.78;
  color:#c0cce1;font-weight:530;
}
.next-footer-tag{
  display:inline-flex;align-items:center;gap:9px;
  padding:9px 12px;border:1px solid #6e85af50;border-radius:100px;
  background:#ffffff08;color:#d2e3f2;font-weight:680;font-size:12px;
}
.next-footer-tag i{width:7px;height:7px;border-radius:50%;background:#7bdec3;box-shadow:0 0 0 4px #7bdec31e}
.next-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.next-footer-col h3{
  margin:5px 0 8px;font-size:14px;
  font-weight:780;color:#fff;letter-spacing:0;
}
.next-footer-col a {
  color:#bbc8df;font-size:14px;font-weight:540;line-height:1.4;
  transition:color .18s,transform .18s;
}
.next-footer-col a:hover{color:#fff;transform:translateX(3px)}
.next-footer-beta{margin-left:5px;font-size:10px;color:#c3b3ff}
.next-footer-bottom{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:18px;
  border-top:1px solid #ffffff20;
  padding:23px 0 28px;
}
.next-footer-bottom>span{color:#acbbd4;font-size:12px;font-weight:540}
.next-footer-bottom>span span{color:#c1aeff;font-weight:800}
.next-footer-up{font-size:13px;font-weight:750;color:#d8e0f6}
.next-footer-up:hover{color:#fff}
.next-design-home .next-footer .next-footer-cta-copy p,
.next-design-home .next-footer .next-footer-about>p{color:#c0cce1}

/* Tablet */
@media(max-width:1140px) {
  .next-design-home .container{width:calc(100% - 54px)}
  .next-design-home .next-desktop-nav{gap:17px}
  .next-design-home .next-desktop-nav>a{font-size:13px}
  .next-design-home .next-nav-cta{gap:9px;padding:11px 17px}
  .next-footer-grid{gap:25px;grid-template-columns:1.4fr 1fr 1fr 1fr}
}
@media(max-width:960px) {
  .next-design-home .next-desktop-nav{display:none}
  .next-mobile-menu{display:block}
  .next-design-home .next-site-nav{min-height:73px}
  .next-design-home .tool-page-heading,.next-design-home .video-heading{
    grid-template-columns:minmax(0,1fr) minmax(220px,.45fr);
  }
  .next-design-home .tool-page h1,.next-design-home .video-page h1{font-size:clamp(33px,4.4vw,50px)}
  .next-tool-visual>img{max-width:100%}
  .next-footer-grid{grid-template-columns:repeat(3,1fr);gap:36px 24px}
  .next-footer-about{grid-column:1/-1}
  .next-footer-cta h2{font-size:clamp(35px,5vw,58px)}
}
@media(max-width:720px) {
  .next-design-home .container{width:calc(100% - 36px)}
  .next-design-home .tool-page,.next-design-home .video-page{padding-top:20px}
  .next-design-home .tool-page-heading,.next-design-home .video-heading{
    grid-template-columns:1fr;grid-template-rows:auto auto auto auto;
    padding:22px 0 18px;gap:0;
  }
  .next-design-home .tool-page-heading>.pill,.next-design-home .video-heading>.pill{grid-column:1;grid-row:1}
  .next-design-home .tool-page h1,.next-design-home .video-page h1{
    grid-column:1;grid-row:2;
    font-size:clamp(34px,7.5vw,45px);margin:16px 0 13px;
  }
  .next-design-home .tool-page-heading>p,.next-design-home .video-heading>p{
    grid-column:1;grid-row:3;font-size:16px;line-height:1.72;
  }
  .next-tool-visual{
    grid-column:1;grid-row:4;min-height:200px;max-height:225px;
    width:100%;overflow:hidden;margin-top:9px;
  }
  .next-tool-visual>img{width:250px}
  .next-workflow-track{margin-bottom:19px;padding:13px 12px;gap:9px}
  .next-workflow-step{font-size:13px;white-space:normal;gap:7px}
  .next-workflow-number{width:27px;height:27px;font-size:11px;border-radius:8px}
  .next-workflow-connector{min-width:5px}
  .next-design-home .tool-page .processor-card,
  .next-design-home .video-page .processor-card{padding:23px 19px;border-radius:20px}
  .next-design-home .upload-zone{padding:30px 15px;min-height:220px}
  .next-design-home .processor-top strong{font-size:18px}
  .next-design-home .tool-explanation{padding:25px 1px 38px}
  .next-design-home .tool-explanation h2{font-size:24px}
  .next-design-home .related-tools-grid{grid-template-columns:1fr}
  .next-design-home .related-tools{padding:37px 0 50px}
  .next-footer-cta{align-items:flex-start;flex-direction:column;padding:47px 0 41px;gap:24px}
  .next-footer-cta h2{font-size:clamp(34px,8vw,52px)}
  .next-footer-button{min-height:50px;font-size:14px;padding:14px 20px}
  .next-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 19px;padding:39px 0}
  .next-footer-about{grid-column:1/-1}
  .next-footer-bottom{align-items:flex-start;flex-direction:column;gap:8px;padding:20px 0 26px}
  .next-footer-glow{opacity:.26;inset:auto -38% 42% 35%}
}
@media(max-width:470px) {
  .next-design-home .container{width:calc(100% - 32px)}
  .next-design-home .next-site-nav{gap:8px;min-height:68px}
  .next-design-home .next-brand{font-size:24px;gap:7px}
  .next-brand-icon{width:33px;height:33px}
  .next-design-home .next-nav-cta{min-height:42px;padding:9px 13px;font-size:12px;gap:5px}
  .next-mobile-menu summary{padding:10px 9px;font-size:12px}
  .next-design-home .breadcrumbs{font-size:12px;gap:7px}
  .next-design-home .tool-page h1,.next-design-home .video-page h1{font-size:35px}
  .next-workflow-track{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;padding:12px 10px}
  .next-workflow-connector{display:none}
  .next-workflow-step{align-items:center;flex-direction:column;text-align:center;font-size:13px;gap:8px}
  .next-workflow-number{width:30px;height:30px}
  .next-design-home .processor-top{gap:12px}
  .next-design-home .processor-icon{width:49px;height:52px}
  .next-design-home .upload-zone strong{font-size:18px}
  .next-design-home .tool-page .processor-card,
  .next-design-home .video-page .processor-card{padding:20px 16px}
  .next-design-home .field-help,.next-design-home .process-status{font-size:13px}
  .next-design-home .video-page .video-preview-notice{padding:15px 16px}
  .next-design-home .error-page{min-height:58vh;padding:66px 14px}
  .next-footer-cta h2{font-size:37px}
  .next-footer-grid{gap:29px 16px}
  .next-footer-col a{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  .next-tool-visual>img{animation:none}
  .next-design-home *{scroll-behavior:auto!important;transition-duration:.01ms!important}
}


/* Cabinet shortcut exists only when AccountPolicy enables local QA. */
.next-design-home .next-account-link {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:10px 14px;
  color:#4d43cf;font-size:14px;font-weight:760;
  border:1px solid #dcdcf7;background:#fff;border-radius:99px;
  white-space:nowrap;
}
.next-design-home .next-account-link:hover{background:#f2f1ff;color:#5145ca}
@media(max-width:470px) {
  .next-design-home .next-account-link{min-height:40px;padding:9px 11px;font-size:12px}
  .next-design-home .next-site-nav:has(.next-account-link) .next-nav-cta{display:none}
}

/* Distinct real format and provider visual marks. */
.next-design-home .tool-symbol{display:grid;place-items:center;overflow:hidden}
.next-design-home .tool-symbol img{display:block;width:44px;height:44px;object-fit:contain}
.next-design-home .processor-icon img{display:block;width:39px;height:39px;object-fit:contain}
.next-design-home .video-heading .pill{display:inline-flex;align-items:center;gap:9px}
.next-design-home .video-heading .pill img{width:27px;height:27px;object-fit:contain}
.next-design-home .video-providers-grid a{display:flex;align-items:center;gap:10px}
.next-design-home .video-providers-grid img{flex:none;width:23px;height:23px;object-fit:contain}
.next-design-home .video-providers-grid a>span:last-child{margin-left:auto}
.next-design-home .tool-page .ad-slot,.next-design-home .video-page .ad-slot{margin:20px auto;max-width:900px}
.next-design-home .tool-page .ad-slot-inner,.next-design-home .video-page .ad-slot-inner{border-radius:18px}
@media(max-width:650px){.next-ad-placeholder{padding:16px;gap:12px}.next-design-home .tool-symbol img{width:37px;height:37px}}

/* Text to DOCX stays legible on narrow devices, with no network transfer. */
.next-design-home .next-text-tool .next-text-input{display:block;width:100%;min-height:250px;resize:vertical;border:1.5px solid #cbd4e8;border-radius:16px;background:#fcfdff;padding:18px 19px;color:#293951;font:500 16px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.next-design-home .next-text-tool .next-text-input:focus{outline:3px solid #d8d6ff;border-color:#7467eb}
.next-design-home .next-text-tool .processor-card .field-input{width:100%;margin-bottom:19px}
@media(max-width:600px){.next-design-home .next-text-tool .next-text-input{font-size:15px;padding:14px;min-height:210px}}
